Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33fe8b615815503aada03d5ced23786186fa4554 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-ssh12590045281360314291.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-ssh8288740516350044015.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-ssh4264320668021829602.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-ssh16991492659620279546.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-ssh8630419977181617463.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 Running on prd-ubuntu20.04-docker-8c-8g-2869 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 33fe8b615815503aada03d5ced23786186fa4554 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 Commit message: "Merge pull request #1491 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.17" > git rev-list --no-walk 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-04T01:14:43.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-04T01:14:43.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-04T01:14:43.198Z] ========================================================= [2023-08-04T01:14:43.198Z] EdgeX Global Pipelines Version Info [2023-08-04T01:14:43.198Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:14:44.283Z] ------------------- [2023-08-04T01:14:44.283Z] stable info: [2023-08-04T01:14:44.283Z] ------------------- [2023-08-04T01:14:44.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-04T01:14:44.283Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T01:14:44.283Z] Message: update stable to v1.0.250 [2023-08-04T01:14:44.544Z] ------------------- [2023-08-04T01:14:44.544Z] experimental info: [2023-08-04T01:14:44.544Z] ------------------- [2023-08-04T01:14:44.544Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-04T01:14:44.544Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T01:14:44.544Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-04T01:14:44.695Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-04T01:14:44.711Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-04T01:14:44.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-04T01:14:44.743Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-04T01:14:44.756Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-04T01:14:44.768Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-04T01:14:44.783Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-04T01:14:44.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-04T01:14:44.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-04T01:14:44.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-04T01:14:44.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-04T01:14:44.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-04T01:14:44.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-04T01:14:44.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-04T01:14:44.945Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T01:14:44.957Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T01:14:44.975Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T01:14:44.993Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T01:14:45.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-04T01:14:45.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-04T01:14:45.033Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-04T01:14:45.049Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-04T01:14:45.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-04T01:14:45.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-04T01:14:45.092Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-04T01:14:45.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-04T01:14:45.129Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-04T01:14:45.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-04T01:14:45.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-04T01:14:45.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-04T01:14:45.187Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo [2023-08-04T01:14:45.200Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33fe8b6 [Pipeline] echo [2023-08-04T01:14:45.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T01:14:45.265Z] provisioning config files... [2023-08-04T01:14:45.277Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15624109658310906177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:14:45.578Z] ---> docker-login.sh [2023-08-04T01:14:45.578Z] nexus3.edgexfoundry.org:10001 [2023-08-04T01:14:45.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:14:45.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:14:45.838Z] Configure a credential helper to remove this warning. See [2023-08-04T01:14:45.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:14:45.838Z] [2023-08-04T01:14:45.838Z] Login Succeeded [2023-08-04T01:14:45.838Z] nexus3.edgexfoundry.org:10002 [2023-08-04T01:14:45.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:14:45.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:14:45.838Z] Configure a credential helper to remove this warning. See [2023-08-04T01:14:45.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:14:45.838Z] [2023-08-04T01:14:45.838Z] Login Succeeded [2023-08-04T01:14:45.838Z] nexus3.edgexfoundry.org:10003 [2023-08-04T01:14:46.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:14:46.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:14:46.102Z] Configure a credential helper to remove this warning. See [2023-08-04T01:14:46.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:14:46.102Z] [2023-08-04T01:14:46.102Z] Login Succeeded [2023-08-04T01:14:46.102Z] nexus3.edgexfoundry.org:10004 [2023-08-04T01:14:46.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:14:46.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:14:46.102Z] Configure a credential helper to remove this warning. See [2023-08-04T01:14:46.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:14:46.102Z] [2023-08-04T01:14:46.102Z] Login Succeeded [2023-08-04T01:14:46.102Z] docker.io [2023-08-04T01:14:46.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:14:46.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:14:46.362Z] Configure a credential helper to remove this warning. See [2023-08-04T01:14:46.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:14:46.362Z] [2023-08-04T01:14:46.362Z] Login Succeeded [2023-08-04T01:14:46.362Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T01:14:46.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-04T01:14:46.729Z] + git rev-list -1 --merges 33fe8b615815503aada03d5ced23786186fa4554~1..33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo [2023-08-04T01:14:46.777Z] -----------> git rev-list -1 --merges 33fe8b615815503aada03d5ced23786186fa4554~1..33fe8b615815503aada03d5ced23786186fa4554 33fe8b615815503aada03d5ced23786186fa4554 [2023-08-04T01:14:46.777Z] 33fe8b615815503aada03d5ced23786186fa4554 [false] [Pipeline] sh [2023-08-04T01:14:47.069Z] + git log --format=format:%s -1 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo [2023-08-04T01:14:47.082Z] ========================================================= [2023-08-04T01:14:47.083Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-04T01:14:47.083Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T01:14:47.415Z] + git log --format=format:%s -1 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo [2023-08-04T01:14:47.462Z] [semverPrep] GIT_COMMIT: 33fe8b615815503aada03d5ced23786186fa4554, Commit Message: Merge pull request #1491 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.17 [Pipeline] echo [2023-08-04T01:14:47.472Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-04T01:14:47.842Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T01:14:47.842Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-04T01:14:47.842Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-04T01:14:47.842Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-04T01:14:47.842Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-04T01:14:47.842Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-04T01:14:47.842Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:14:48.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T01:14:48.263Z] [2023-08-04T01:14:48.263Z] 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-04T01:14:48.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T01:14:48.570Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-04T01:14:48.570Z] b85a868b505f: Pulling fs layer [2023-08-04T01:14:48.570Z] e2be974225ed: Pulling fs layer [2023-08-04T01:14:48.570Z] 339a4e72a1f5: Pulling fs layer [2023-08-04T01:14:48.570Z] 988bab9f4d93: Pulling fs layer [2023-08-04T01:14:48.570Z] 1469e6f7b9e6: Pulling fs layer [2023-08-04T01:14:48.570Z] eaf3925da568: Pulling fs layer [2023-08-04T01:14:48.570Z] bab4dde63d76: Pulling fs layer [2023-08-04T01:14:48.570Z] bde34c3a00c8: Pulling fs layer [2023-08-04T01:14:48.570Z] b352a97aabf1: Pulling fs layer [2023-08-04T01:14:48.570Z] 4872d77fe225: Pulling fs layer [2023-08-04T01:14:48.570Z] 5851b861e8e6: Pulling fs layer [2023-08-04T01:14:48.570Z] eaf3925da568: Waiting [2023-08-04T01:14:48.570Z] bab4dde63d76: Waiting [2023-08-04T01:14:48.570Z] bde34c3a00c8: Waiting [2023-08-04T01:14:48.570Z] b352a97aabf1: Waiting [2023-08-04T01:14:48.570Z] 4872d77fe225: Waiting [2023-08-04T01:14:48.570Z] 5851b861e8e6: Waiting [2023-08-04T01:14:48.570Z] 988bab9f4d93: Waiting [2023-08-04T01:14:48.570Z] 1469e6f7b9e6: Waiting [2023-08-04T01:14:48.570Z] e2be974225ed: Download complete [2023-08-04T01:14:48.570Z] 988bab9f4d93: Verifying Checksum [2023-08-04T01:14:48.570Z] 988bab9f4d93: Download complete [2023-08-04T01:14:48.570Z] 1469e6f7b9e6: Verifying Checksum [2023-08-04T01:14:48.570Z] 1469e6f7b9e6: Download complete [2023-08-04T01:14:48.570Z] eaf3925da568: Verifying Checksum [2023-08-04T01:14:48.570Z] eaf3925da568: Download complete [2023-08-04T01:14:48.570Z] 339a4e72a1f5: Verifying Checksum [2023-08-04T01:14:48.570Z] 339a4e72a1f5: Download complete [2023-08-04T01:14:48.830Z] bde34c3a00c8: Download complete [2023-08-04T01:14:48.830Z] b352a97aabf1: Download complete [2023-08-04T01:14:48.830Z] 4872d77fe225: Verifying Checksum [2023-08-04T01:14:48.830Z] 4872d77fe225: Download complete [2023-08-04T01:14:48.830Z] 5851b861e8e6: Download complete [2023-08-04T01:14:48.830Z] b85a868b505f: Verifying Checksum [2023-08-04T01:14:48.830Z] b85a868b505f: Download complete [2023-08-04T01:14:49.088Z] bab4dde63d76: Verifying Checksum [2023-08-04T01:14:49.088Z] bab4dde63d76: Download complete [2023-08-04T01:14:50.022Z] b85a868b505f: Pull complete [2023-08-04T01:14:50.280Z] e2be974225ed: Pull complete [2023-08-04T01:14:50.874Z] 339a4e72a1f5: Pull complete [2023-08-04T01:14:50.874Z] 988bab9f4d93: Pull complete [2023-08-04T01:14:51.134Z] 1469e6f7b9e6: Pull complete [2023-08-04T01:14:51.134Z] eaf3925da568: Pull complete [2023-08-04T01:14:53.041Z] bab4dde63d76: Pull complete [2023-08-04T01:14:53.041Z] bde34c3a00c8: Pull complete [2023-08-04T01:14:53.041Z] b352a97aabf1: Pull complete [2023-08-04T01:14:53.041Z] 4872d77fe225: Pull complete [2023-08-04T01:14:53.041Z] 5851b861e8e6: Pull complete [2023-08-04T01:14:53.041Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-04T01:14:53.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T01:14:53.300Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:14:53.407Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:14:53.399Z] $ 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-04T01:14:56.082Z] $ docker top 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 -eo pid,comm [2023-08-04T01:14:56.195Z] 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-04T01:14:56.195Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T01:14:56.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T01:14:56.236Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T01:14:56.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T01:14:56.308Z] $ docker exec 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent [2023-08-04T01:14:56.458Z] SSH_AUTH_SOCK=/tmp/ssh-6aik9WDKII4p/agent.32 [2023-08-04T01:14:56.458Z] SSH_AGENT_PID=38 [2023-08-04T01:14:56.465Z] Running ssh-add (command line suppressed) [2023-08-04T01:14:56.532Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_930325753365040291.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_930325753365040291.key) [2023-08-04T01:14:56.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T01:14:56.875Z] + git tag --points-at HEAD [Pipeline] } [2023-08-04T01:14:56.853Z] $ docker exec --env ******** --env ******** 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent -k [2023-08-04T01:14:56.950Z] unset SSH_AUTH_SOCK; [2023-08-04T01:14:56.951Z] unset SSH_AGENT_PID; [2023-08-04T01:14:56.951Z] echo Agent pid 38 killed; [2023-08-04T01:14:57.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-04T01:14:57.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T01:14:57.021Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T01:14:57.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T01:14:57.118Z] $ docker exec 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent [2023-08-04T01:14:57.261Z] SSH_AUTH_SOCK=/tmp/ssh-WhwRN2YUVLer/agent.70 [2023-08-04T01:14:57.261Z] SSH_AGENT_PID=76 [2023-08-04T01:14:57.267Z] Running ssh-add (command line suppressed) [2023-08-04T01:14:57.351Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12581433534387151323.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12581433534387151323.key) [2023-08-04T01:14:57.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T01:14:57.688Z] + git semver init [2023-08-04T01:14:57.948Z] 2023-08-04 01:14:57,842 [run_init] DEBUG init version:0.0.0 force:False [2023-08-04T01:14:57.948Z] 2023-08-04 01:14:57,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-04T01:14:57.948Z] 2023-08-04 01:14:57,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-04T01:14:57.948Z] 2023-08-04 01:14:57,843 [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-04T01:14:59.333Z] 2023-08-04 01:14:58,932 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-04T01:14:59.333Z] 2023-08-04 01:14:58,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-04T01:14:59.333Z] 2023-08-04 01:14:58,932 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:14:59.333Z] 2023-08-04 01:14:58,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:14:59.333Z] 3.1.0-dev.10 [Pipeline] } [2023-08-04T01:14:59.305Z] $ docker exec --env ******** --env ******** 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent -k [2023-08-04T01:14:59.401Z] unset SSH_AUTH_SOCK; [2023-08-04T01:14:59.401Z] unset SSH_AGENT_PID; [2023-08-04T01:14:59.401Z] echo Agent pid 76 killed; [2023-08-04T01:14:59.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T01:14:59.751Z] + git semver [Pipeline] } [2023-08-04T01:14:59.987Z] $ docker stop --time=1 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 [2023-08-04T01:15:01.267Z] $ docker rm -f --volumes 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T01:15:01.661Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-04T01:15:01.883Z] Stashed 1 file(s) [Pipeline] echo [2023-08-04T01:15:01.886Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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-04T01:15:02.035Z] provisioning config files... [2023-08-04T01:15:02.047Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11106760896373003429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:15:02.344Z] ---> docker-login.sh [2023-08-04T01:15:02.344Z] nexus3.edgexfoundry.org:10001 [2023-08-04T01:15:02.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:15:02.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:15:02.344Z] Configure a credential helper to remove this warning. See [2023-08-04T01:15:02.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:15:02.344Z] [2023-08-04T01:15:02.344Z] Login Succeeded [2023-08-04T01:15:02.344Z] nexus3.edgexfoundry.org:10002 [2023-08-04T01:15:02.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:15:02.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:15:02.344Z] Configure a credential helper to remove this warning. See [2023-08-04T01:15:02.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:15:02.344Z] [2023-08-04T01:15:02.344Z] Login Succeeded [2023-08-04T01:15:02.344Z] nexus3.edgexfoundry.org:10003 [2023-08-04T01:15:02.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:15:02.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:15:02.606Z] Configure a credential helper to remove this warning. See [2023-08-04T01:15:02.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:15:02.606Z] [2023-08-04T01:15:02.606Z] Login Succeeded [2023-08-04T01:15:02.606Z] nexus3.edgexfoundry.org:10004 [2023-08-04T01:15:02.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:15:02.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:15:02.606Z] Configure a credential helper to remove this warning. See [2023-08-04T01:15:02.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:15:02.606Z] [2023-08-04T01:15:02.606Z] Login Succeeded [2023-08-04T01:15:02.606Z] docker.io [2023-08-04T01:15:02.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:15:03.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:15:03.175Z] Configure a credential helper to remove this warning. See [2023-08-04T01:15:03.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:15:03.175Z] [2023-08-04T01:15:03.175Z] Login Succeeded [2023-08-04T01:15:03.175Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T01:15:03.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T01:15:03.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T01:15:03.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T01:15:03.267Z] ========================================================= [2023-08-04T01:15:03.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-04T01:15:03.267Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:15:03.580Z] + 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-04T01:15:03.580Z] Sending build context to Docker daemon 11.03MB [2023-08-04T01:15:03.580Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T01:15:03.580Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-04T01:15:03.580Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-04T01:15:03.580Z] 4db1b89c0bd1: Pulling fs layer [2023-08-04T01:15:03.580Z] 6911f1a30b25: Pulling fs layer [2023-08-04T01:15:03.580Z] e194b8c5c2a9: Pulling fs layer [2023-08-04T01:15:03.580Z] 6863d3e3a2b1: Pulling fs layer [2023-08-04T01:15:03.580Z] ec0bb842ea78: Pulling fs layer [2023-08-04T01:15:03.580Z] 40a00589a448: Pulling fs layer [2023-08-04T01:15:03.580Z] 6c08303d61cc: Pulling fs layer [2023-08-04T01:15:03.580Z] 798269fcf238: Pulling fs layer [2023-08-04T01:15:03.580Z] ec0bb842ea78: Waiting [2023-08-04T01:15:03.580Z] 40a00589a448: Waiting [2023-08-04T01:15:03.580Z] 6863d3e3a2b1: Waiting [2023-08-04T01:15:03.580Z] 6c08303d61cc: Waiting [2023-08-04T01:15:03.839Z] 6911f1a30b25: Download complete [2023-08-04T01:15:03.839Z] 6863d3e3a2b1: Verifying Checksum [2023-08-04T01:15:03.839Z] 6863d3e3a2b1: Download complete [2023-08-04T01:15:03.839Z] ec0bb842ea78: Verifying Checksum [2023-08-04T01:15:03.839Z] ec0bb842ea78: Download complete [2023-08-04T01:15:03.839Z] 4db1b89c0bd1: Verifying Checksum [2023-08-04T01:15:03.839Z] 4db1b89c0bd1: Download complete [2023-08-04T01:15:03.839Z] 40a00589a448: Verifying Checksum [2023-08-04T01:15:03.839Z] 40a00589a448: Download complete [2023-08-04T01:15:03.839Z] 4db1b89c0bd1: Pull complete [2023-08-04T01:15:04.101Z] 6911f1a30b25: Pull complete [2023-08-04T01:15:04.101Z] 798269fcf238: Verifying Checksum [2023-08-04T01:15:04.101Z] 798269fcf238: Download complete [2023-08-04T01:15:04.360Z] e194b8c5c2a9: Verifying Checksum [2023-08-04T01:15:04.360Z] e194b8c5c2a9: Download complete [2023-08-04T01:15:04.618Z] 6c08303d61cc: Verifying Checksum [2023-08-04T01:15:04.618Z] 6c08303d61cc: Download complete [2023-08-04T01:15:07.906Z] e194b8c5c2a9: Pull complete [2023-08-04T01:15:07.906Z] 6863d3e3a2b1: Pull complete [2023-08-04T01:15:07.906Z] ec0bb842ea78: Pull complete [2023-08-04T01:15:07.906Z] 40a00589a448: Pull complete [2023-08-04T01:15:09.805Z] 6c08303d61cc: Pull complete [2023-08-04T01:15:11.182Z] 798269fcf238: Pull complete [2023-08-04T01:15:11.182Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-04T01:15:11.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T01:15:11.182Z] ---> ec979cd7f677 [2023-08-04T01:15:11.182Z] Step 3/10 : ARG MAKE=make build [2023-08-04T01:15:16.464Z] ---> Running in 8acb1b8e5900 [2023-08-04T01:15:16.464Z] Removing intermediate container 8acb1b8e5900 [2023-08-04T01:15:16.464Z] ---> ef8f52322cb5 [2023-08-04T01:15:16.464Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-04T01:15:16.464Z] ---> Running in ab52b108118a [2023-08-04T01:15:16.464Z] Removing intermediate container ab52b108118a [2023-08-04T01:15:16.464Z] ---> a79b629a734f [2023-08-04T01:15:16.464Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T01:15:16.464Z] ---> Running in 4b969b350174 [2023-08-04T01:15:16.464Z] Removing intermediate container 4b969b350174 [2023-08-04T01:15:16.464Z] ---> f885b8499ea9 [2023-08-04T01:15:16.464Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-04T01:15:16.464Z] ---> Running in 7cf97a7bc94a [2023-08-04T01:15:16.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T01:15:16.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T01:15:16.983Z] OK: 265 MiB in 53 packages [2023-08-04T01:15:16.987Z] Still waiting to schedule task [2023-08-04T01:15:16.987Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2872’ [2023-08-04T01:15:17.551Z] Removing intermediate container 7cf97a7bc94a [2023-08-04T01:15:17.552Z] ---> 8766171d843b [2023-08-04T01:15:17.552Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-04T01:15:17.552Z] ---> 8479bac71757 [2023-08-04T01:15:17.552Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T01:15:17.552Z] ---> Running in 005fd7f414ca [2023-08-04T01:15:49.833Z] Removing intermediate container 005fd7f414ca [2023-08-04T01:15:49.833Z] ---> f99d11aee6aa [2023-08-04T01:15:49.833Z] Step 9/10 : COPY . . [2023-08-04T01:15:49.833Z] ---> e554351adc82 [2023-08-04T01:15:49.833Z] Step 10/10 : RUN ${MAKE} [2023-08-04T01:15:49.833Z] ---> Running in 7d0b1c8f0c43 [2023-08-04T01:15:49.833Z] noop [2023-08-04T01:15:49.833Z] Removing intermediate container 7d0b1c8f0c43 [2023-08-04T01:15:49.833Z] ---> 7f1ab3ee3b25 [2023-08-04T01:15:49.833Z] Successfully built 7f1ab3ee3b25 [2023-08-04T01:15:49.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:15:50.136Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T01:15:50.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:15:50.201Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:15:50.191Z] $ 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-04T01:15:50.566Z] $ docker top 594cce857cdd82c86e125560e4a40641e260898fb26e058e65d148e4e3ac21fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T01:15:50.947Z] + go version [2023-08-04T01:15:50.947Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-04T01:15:50.919Z] $ docker stop --time=1 594cce857cdd82c86e125560e4a40641e260898fb26e058e65d148e4e3ac21fd [2023-08-04T01:15:52.195Z] $ docker rm -f --volumes 594cce857cdd82c86e125560e4a40641e260898fb26e058e65d148e4e3ac21fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:15:52.656Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T01:15:52.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:15:52.741Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:15:52.732Z] $ 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-04T01:15:53.042Z] $ docker top abea18177cf5e251788fb3154c0af876a1132a715b0a007755efba265d86df3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T01:15:53.421Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-04T01:15:53.716Z] + make test [2023-08-04T01:15:53.716Z] go test -race -coverprofile=coverage.out ./... [2023-08-04T01:16:00.276Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-04T01:16:15.149Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-08-04T01:16:15.149Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-04T01:16:15.149Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 86.0% of statements [2023-08-04T01:16:15.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-04T01:16:15.149Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.080s coverage: 71.8% of statements [2023-08-04T01:16:15.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-04T01:16:15.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-04T01:16:15.979Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-04T01:16:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 14.3% of statements [2023-08-04T01:16:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.210s coverage: 43.8% of statements [2023-08-04T01:16:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements [2023-08-04T01:16:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.127s coverage: 89.2% of statements [2023-08-04T01:16:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-08-04T01:16:39.814Z] GO111MODULE=on go vet ./... [2023-08-04T01:16:41.186Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T01:16:41.186Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T01:16:41.186Z] ./bin/test-attribution-txt.sh [2023-08-04T01:16:41.186Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T01:16:41.186Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T01:16:41.186Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T01:16:41.186Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T01:16:41.186Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T01:16:41.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T01:16:41.175Z] $ docker stop --time=1 abea18177cf5e251788fb3154c0af876a1132a715b0a007755efba265d86df3f [2023-08-04T01:16:45.787Z] $ docker rm -f --volumes abea18177cf5e251788fb3154c0af876a1132a715b0a007755efba265d86df3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T01:16:46.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T01:16:46.452Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-04T01:16:46.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T01:16:47.260Z] + ls -al . [2023-08-04T01:16:47.260Z] total 304 [2023-08-04T01:16:47.260Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 01:15 . [2023-08-04T01:16:47.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:14 .. [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:14 .dockerignore [2023-08-04T01:16:47.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:14 .git [2023-08-04T01:16:47.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:14 .github [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 01:14 .gitignore [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 01:14 .golangci.yml [2023-08-04T01:16:47.260Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:14 .semver [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 01:14 CHANGELOG.md [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:14 GOVERNANCE.md [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 01:14 Jenkinsfile [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 01:14 LICENSE [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 01:14 Makefile [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 01:14 OWNERS.md [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 01:14 README.md [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 01:15 VERSION [2023-08-04T01:16:47.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:14 bin [2023-08-04T01:16:47.260Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 01:16 coverage.out [2023-08-04T01:16:47.260Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 01:14 example [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 01:14 go.mod [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 01:14 go.sum [2023-08-04T01:16:47.260Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:14 internal [2023-08-04T01:16:47.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:14 openapi [2023-08-04T01:16:47.260Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 01:14 pkg [2023-08-04T01:16:47.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:14 snap [2023-08-04T01:16:47.260Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:16:47.561Z] + 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=33fe8b615815503aada03d5ced23786186fa4554 --label arch=amd64 --label version=3.1.0-dev.10 . [2023-08-04T01:16:47.562Z] Sending build context to Docker daemon 11.15MB [2023-08-04T01:16:47.562Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T01:16:47.562Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-04T01:16:47.562Z] ---> 7f1ab3ee3b25 [2023-08-04T01:16:47.562Z] Step 3/23 : ARG MAKE=make build [2023-08-04T01:16:47.821Z] ---> Running in e1ea104bc834 [2023-08-04T01:16:48.079Z] Removing intermediate container e1ea104bc834 [2023-08-04T01:16:48.079Z] ---> 49069a3eab94 [2023-08-04T01:16:48.079Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-04T01:16:48.079Z] ---> Running in f228383f437e [2023-08-04T01:16:48.079Z] Removing intermediate container f228383f437e [2023-08-04T01:16:48.079Z] ---> a60fc4b886b1 [2023-08-04T01:16:48.079Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T01:16:48.079Z] ---> Running in aac8c963d80e [2023-08-04T01:16:48.079Z] Removing intermediate container aac8c963d80e [2023-08-04T01:16:48.079Z] ---> 3932272a8bfa [2023-08-04T01:16:48.079Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-04T01:16:48.079Z] ---> Running in 56bbf17a4c15 [2023-08-04T01:16:48.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T01:16:48.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T01:16:48.853Z] OK: 265 MiB in 53 packages [2023-08-04T01:16:49.111Z] Removing intermediate container 56bbf17a4c15 [2023-08-04T01:16:49.111Z] ---> d0deed859745 [2023-08-04T01:16:49.111Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-04T01:16:49.369Z] ---> 4a84739b2d29 [2023-08-04T01:16:49.369Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T01:16:49.369Z] ---> Running in d3bb6c1e2b1b [2023-08-04T01:16:49.934Z] Removing intermediate container d3bb6c1e2b1b [2023-08-04T01:16:49.934Z] ---> 26125090b490 [2023-08-04T01:16:49.934Z] Step 9/23 : COPY . . [2023-08-04T01:16:50.502Z] ---> 8db5e572a038 [2023-08-04T01:16:50.502Z] Step 10/23 : RUN ${MAKE} [2023-08-04T01:16:50.502Z] ---> Running in 19ff12e1ef63 [2023-08-04T01:16:50.771Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-04T01:17:17.588Z] Removing intermediate container 19ff12e1ef63 [2023-08-04T01:17:17.588Z] ---> 0e889bcbc8b6 [2023-08-04T01:17:17.588Z] Step 11/23 : FROM alpine:3.17 [2023-08-04T01:17:17.588Z] 3.17: Pulling from library/alpine [2023-08-04T01:17:17.588Z] 4db1b89c0bd1: Already exists [2023-08-04T01:17:17.588Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T01:17:17.588Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T01:17:17.588Z] ---> 1f73a9d63274 [2023-08-04T01:17:17.588Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-04T01:17:17.588Z] ---> Running in 191ee30710df [2023-08-04T01:17:17.588Z] Removing intermediate container 191ee30710df [2023-08-04T01:17:17.588Z] ---> 1d25f42889f9 [2023-08-04T01:17:17.588Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-04T01:17:17.588Z] ---> Running in 0d849c210ca3 [2023-08-04T01:17:17.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T01:17:17.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T01:17:17.588Z] OK: 7 MiB in 15 packages [2023-08-04T01:17:17.588Z] Removing intermediate container 0d849c210ca3 [2023-08-04T01:17:17.588Z] ---> 98cd69c7c10b [2023-08-04T01:17:17.588Z] Step 14/23 : WORKDIR / [2023-08-04T01:17:17.588Z] ---> Running in 9fec0da92d11 [2023-08-04T01:17:17.588Z] Removing intermediate container 9fec0da92d11 [2023-08-04T01:17:17.588Z] ---> 3b42ea525c05 [2023-08-04T01:17:17.588Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-04T01:17:17.588Z] ---> 80cb04303016 [2023-08-04T01:17:17.588Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-04T01:17:17.588Z] ---> 8e7306a2dd92 [2023-08-04T01:17:17.588Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-04T01:17:17.588Z] ---> 8f6d0e982a31 [2023-08-04T01:17:17.588Z] Step 18/23 : EXPOSE 59999 [2023-08-04T01:17:17.588Z] ---> Running in 79a321965657 [2023-08-04T01:17:17.588Z] Removing intermediate container 79a321965657 [2023-08-04T01:17:17.588Z] ---> cbc54bcacc1e [2023-08-04T01:17:17.588Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-04T01:17:17.588Z] ---> Running in f90fff003928 [2023-08-04T01:17:17.588Z] Removing intermediate container f90fff003928 [2023-08-04T01:17:17.588Z] ---> 10c46b6d5184 [2023-08-04T01:17:17.588Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T01:17:17.588Z] ---> Running in 17a180e42c26 [2023-08-04T01:17:17.588Z] Removing intermediate container 17a180e42c26 [2023-08-04T01:17:17.588Z] ---> 6892b61240f6 [2023-08-04T01:17:17.588Z] Step 21/23 : LABEL arch=amd64 [2023-08-04T01:17:17.588Z] ---> Running in ee408ecb9d2a [2023-08-04T01:17:17.588Z] Removing intermediate container ee408ecb9d2a [2023-08-04T01:17:17.588Z] ---> 8d5bdfb67569 [2023-08-04T01:17:17.588Z] Step 22/23 : LABEL git_sha=33fe8b615815503aada03d5ced23786186fa4554 [2023-08-04T01:17:17.588Z] ---> Running in 8154fc065e5c [2023-08-04T01:17:17.588Z] Removing intermediate container 8154fc065e5c [2023-08-04T01:17:17.588Z] ---> 239e3894d1ef [2023-08-04T01:17:17.588Z] Step 23/23 : LABEL version=3.1.0-dev.10 [2023-08-04T01:17:17.588Z] ---> Running in 07d43e9b0251 [2023-08-04T01:17:17.588Z] Removing intermediate container 07d43e9b0251 [2023-08-04T01:17:17.588Z] ---> cebc7e2076f3 [2023-08-04T01:17:17.588Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T01:17:17.588Z] Successfully built cebc7e2076f3 [2023-08-04T01:17:17.588Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:17:18.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T01:17:18.030Z] [2023-08-04T01:17:18.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:17:18.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T01:17:18.326Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-04T01:17:18.326Z] 5eb5b503b376: Pulling fs layer [2023-08-04T01:17:18.326Z] 5c69ac0246d0: Pulling fs layer [2023-08-04T01:17:18.326Z] ec43610c2a17: Pulling fs layer [2023-08-04T01:17:18.326Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-04T01:17:18.326Z] 33b1e0a273af: Pulling fs layer [2023-08-04T01:17:18.326Z] 5d3b04190fa2: Pulling fs layer [2023-08-04T01:17:18.326Z] 2f39f015ded8: Pulling fs layer [2023-08-04T01:17:18.326Z] 33b1e0a273af: Waiting [2023-08-04T01:17:18.326Z] 5d3b04190fa2: Waiting [2023-08-04T01:17:18.326Z] 2f39f015ded8: Waiting [2023-08-04T01:17:18.326Z] 3a2ae6a8a46f: Waiting [2023-08-04T01:17:18.326Z] 5c69ac0246d0: Download complete [2023-08-04T01:17:18.326Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-04T01:17:18.326Z] 3a2ae6a8a46f: Download complete [2023-08-04T01:17:18.326Z] 33b1e0a273af: Verifying Checksum [2023-08-04T01:17:18.326Z] 33b1e0a273af: Download complete [2023-08-04T01:17:18.326Z] 5d3b04190fa2: Verifying Checksum [2023-08-04T01:17:18.326Z] 5d3b04190fa2: Download complete [2023-08-04T01:17:18.326Z] ec43610c2a17: Verifying Checksum [2023-08-04T01:17:18.326Z] ec43610c2a17: Download complete [2023-08-04T01:17:18.585Z] 5eb5b503b376: Verifying Checksum [2023-08-04T01:17:18.585Z] 5eb5b503b376: Download complete [2023-08-04T01:17:19.151Z] 2f39f015ded8: Verifying Checksum [2023-08-04T01:17:19.151Z] 2f39f015ded8: Download complete [2023-08-04T01:17:19.719Z] 5eb5b503b376: Pull complete [2023-08-04T01:17:19.719Z] 5c69ac0246d0: Pull complete [2023-08-04T01:17:20.286Z] ec43610c2a17: Pull complete [2023-08-04T01:17:20.286Z] 3a2ae6a8a46f: Pull complete [2023-08-04T01:17:20.286Z] 33b1e0a273af: Pull complete [2023-08-04T01:17:20.545Z] 5d3b04190fa2: Pull complete [2023-08-04T01:17:24.735Z] 2f39f015ded8: Pull complete [2023-08-04T01:17:24.735Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-04T01:17:24.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T01:17:24.735Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:17:24.813Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:17:24.810Z] $ 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-04T01:17:29.694Z] $ docker top d67173a5b5ec5b85f93cafde718f62d3fd7dffd40b627582907c61befb1f0504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:17:30.134Z] ---> job-cost.sh [2023-08-04T01:17:30.134Z] lf-activate-venv: SKIPPING [2023-08-04T01:17:30.134Z] INFO: No Stack... [2023-08-04T01:17:30.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T01:17:30.960Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T01:17:31.246Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-04T01:17:31.246Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T01:17:31.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [2023-08-04T01:17:31.262Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] did not exist. Created. [2023-08-04T01:17:31.263Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T01:17:31.562Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-04T01:17:31.598Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T01:17:31.604Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T01:17:31.588Z] $ docker stop --time=1 d67173a5b5ec5b85f93cafde718f62d3fd7dffd40b627582907c61befb1f0504 [2023-08-04T01:17:32.732Z] $ docker rm -f --volumes d67173a5b5ec5b85f93cafde718f62d3fd7dffd40b627582907c61befb1f0504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-04T01:18:50.969Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2874 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-04T01:18:50.981Z] Running in /w/workspace/device-sdk-go/239 [Pipeline] { [Pipeline] checkout [2023-08-04T01:18:51.005Z] The recommended git tool is: git [2023-08-04T01:18:56.185Z] using credential edgex-jenkins-ssh [2023-08-04T01:18:56.199Z] Cloning the remote Git repository [2023-08-04T01:18:56.243Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T01:18:56.333Z] > git init /w/workspace/device-sdk-go/239 # timeout=10 [2023-08-04T01:18:56.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T01:18:56.496Z] > git --version # timeout=10 [2023-08-04T01:18:56.520Z] > git --version # 'git version 2.25.1' [2023-08-04T01:18:56.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T01:18:56.688Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T01:18:58.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-04T01:18:58.301Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T01:18:59.188Z] Avoid second fetch [2023-08-04T01:18:59.189Z] Checking out Revision 33fe8b615815503aada03d5ced23786186fa4554 (main) [2023-08-04T01:18:59.204Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T01:18:59.272Z] > git checkout -f 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 [2023-08-04T01:18:59.815Z] Commit message: "Merge pull request #1491 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.17" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T01:19:00.737Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-04T01:19:00.737Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T01:19:00.737Z] Dload Upload Total Spent Left Speed [2023-08-04T01:19:00.737Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-08-04T01:19:01.346Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-04T01:19:01.683Z] + sudo tee /etc/docker/daemon.new [2023-08-04T01:19:01.683Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-04T01:19:01.683Z] { [2023-08-04T01:19:01.683Z] "registry-mirrors": [ [2023-08-04T01:19:01.683Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-04T01:19:01.683Z] ], [2023-08-04T01:19:01.683Z] "bip": "10.250.0.254/24", [2023-08-04T01:19:01.683Z] "hosts": [ [2023-08-04T01:19:01.683Z] "tcp://0.0.0.0:5555", [2023-08-04T01:19:01.683Z] "unix:///var/run/docker.sock" [2023-08-04T01:19:01.683Z] ], [2023-08-04T01:19:01.683Z] "mtu": 1458, [2023-08-04T01:19:01.683Z] "selinux-enabled": true, [2023-08-04T01:19:01.683Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-04T01:19:01.683Z] } [Pipeline] sh [2023-08-04T01:19:02.023Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-04T01:19:02.352Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T01:19:20.646Z] provisioning config files... [2023-08-04T01:19:20.670Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/239@tmp/config5685627775371886690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:19:21.017Z] ---> docker-login.sh [2023-08-04T01:19:21.017Z] nexus3.edgexfoundry.org:10001 [2023-08-04T01:19:21.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:19:21.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:19:21.608Z] Configure a credential helper to remove this warning. See [2023-08-04T01:19:21.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:19:21.608Z] [2023-08-04T01:19:21.608Z] Login Succeeded [2023-08-04T01:19:21.608Z] nexus3.edgexfoundry.org:10002 [2023-08-04T01:19:21.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:19:21.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:19:21.876Z] Configure a credential helper to remove this warning. See [2023-08-04T01:19:21.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:19:21.876Z] [2023-08-04T01:19:21.876Z] Login Succeeded [2023-08-04T01:19:21.876Z] nexus3.edgexfoundry.org:10003 [2023-08-04T01:19:22.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:19:22.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:19:22.417Z] Configure a credential helper to remove this warning. See [2023-08-04T01:19:22.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:19:22.417Z] [2023-08-04T01:19:22.417Z] Login Succeeded [2023-08-04T01:19:22.417Z] nexus3.edgexfoundry.org:10004 [2023-08-04T01:19:22.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:19:22.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:19:22.687Z] Configure a credential helper to remove this warning. See [2023-08-04T01:19:22.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:19:22.687Z] [2023-08-04T01:19:22.687Z] Login Succeeded [2023-08-04T01:19:22.687Z] docker.io [2023-08-04T01:19:22.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T01:19:23.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T01:19:23.226Z] Configure a credential helper to remove this warning. See [2023-08-04T01:19:23.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T01:19:23.226Z] [2023-08-04T01:19:23.226Z] Login Succeeded [2023-08-04T01:19:23.226Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T01:19:23.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T01:19:23.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T01:19:23.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T01:19:23.515Z] ========================================================= [2023-08-04T01:19:23.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-04T01:19:23.515Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:19:23.873Z] + 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-04T01:19:24.143Z] Sending build context to Docker daemon 5.885MB [2023-08-04T01:19:24.143Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T01:19:24.143Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-04T01:19:24.411Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-04T01:19:24.411Z] edb6bdbacee9: Pulling fs layer [2023-08-04T01:19:24.411Z] 5f9638ab2659: Pulling fs layer [2023-08-04T01:19:24.411Z] 8d51d6327a98: Pulling fs layer [2023-08-04T01:19:24.411Z] 8b374f2dd631: Pulling fs layer [2023-08-04T01:19:24.411Z] ec14aa9079de: Pulling fs layer [2023-08-04T01:19:24.412Z] 2f466654f4bb: Pulling fs layer [2023-08-04T01:19:24.412Z] 554e91adad29: Pulling fs layer [2023-08-04T01:19:24.412Z] 8b374f2dd631: Waiting [2023-08-04T01:19:24.412Z] ec14aa9079de: Waiting [2023-08-04T01:19:24.412Z] 2f466654f4bb: Waiting [2023-08-04T01:19:24.412Z] 554e91adad29: Waiting [2023-08-04T01:19:24.412Z] 5f9638ab2659: Verifying Checksum [2023-08-04T01:19:24.412Z] 5f9638ab2659: Download complete [2023-08-04T01:19:24.412Z] 8b374f2dd631: Verifying Checksum [2023-08-04T01:19:24.412Z] 8b374f2dd631: Download complete [2023-08-04T01:19:24.412Z] ec14aa9079de: Verifying Checksum [2023-08-04T01:19:24.412Z] ec14aa9079de: Download complete [2023-08-04T01:19:24.412Z] edb6bdbacee9: Verifying Checksum [2023-08-04T01:19:25.841Z] edb6bdbacee9: Pull complete [2023-08-04T01:19:25.841Z] 554e91adad29: Verifying Checksum [2023-08-04T01:19:25.841Z] 554e91adad29: Download complete [2023-08-04T01:19:26.113Z] 5f9638ab2659: Pull complete [2023-08-04T01:19:27.084Z] 2f466654f4bb: Verifying Checksum [2023-08-04T01:19:27.084Z] 2f466654f4bb: Download complete [2023-08-04T01:19:27.084Z] 8d51d6327a98: Verifying Checksum [2023-08-04T01:19:27.084Z] 8d51d6327a98: Download complete [2023-08-04T01:19:39.414Z] 8d51d6327a98: Pull complete [2023-08-04T01:19:39.414Z] 8b374f2dd631: Pull complete [2023-08-04T01:19:39.414Z] ec14aa9079de: Pull complete [2023-08-04T01:19:46.061Z] 2f466654f4bb: Pull complete [2023-08-04T01:19:48.012Z] 554e91adad29: Pull complete [2023-08-04T01:19:48.012Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-04T01:19:48.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T01:19:48.012Z] ---> 1e15ea492957 [2023-08-04T01:19:48.012Z] Step 3/10 : ARG MAKE=make build [2023-08-04T01:19:49.964Z] ---> Running in 8543695af7e9 [2023-08-04T01:19:49.964Z] Removing intermediate container 8543695af7e9 [2023-08-04T01:19:49.964Z] ---> ea295830f2f9 [2023-08-04T01:19:49.964Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-04T01:19:49.964Z] ---> Running in db1febca0561 [2023-08-04T01:19:50.231Z] Removing intermediate container db1febca0561 [2023-08-04T01:19:50.231Z] ---> 18eb25cde044 [2023-08-04T01:19:50.231Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T01:19:50.497Z] ---> Running in b4fd1461c2a2 [2023-08-04T01:19:50.765Z] Removing intermediate container b4fd1461c2a2 [2023-08-04T01:19:50.765Z] ---> c09d944ea7c0 [2023-08-04T01:19:50.765Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-04T01:19:50.765Z] ---> Running in 25c0918fc40f [2023-08-04T01:19:51.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T01:19:52.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T01:19:53.270Z] OK: 263 MiB in 53 packages [2023-08-04T01:19:54.259Z] Removing intermediate container 25c0918fc40f [2023-08-04T01:19:54.259Z] ---> 4797858f96cf [2023-08-04T01:19:54.259Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-04T01:19:54.534Z] ---> 65c29c37ee2b [2023-08-04T01:19:54.534Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T01:19:54.802Z] ---> Running in 4a10c340f240 [2023-08-04T01:21:02.694Z] Removing intermediate container 4a10c340f240 [2023-08-04T01:21:02.694Z] ---> 658f7cb4112f [2023-08-04T01:21:02.694Z] Step 9/10 : COPY . . [2023-08-04T01:21:02.694Z] ---> 73dcd21c206d [2023-08-04T01:21:02.694Z] Step 10/10 : RUN ${MAKE} [2023-08-04T01:21:02.694Z] ---> Running in 1517c11153e9 [2023-08-04T01:21:02.694Z] noop [2023-08-04T01:21:02.694Z] Removing intermediate container 1517c11153e9 [2023-08-04T01:21:02.694Z] ---> 9953453e55e2 [2023-08-04T01:21:02.694Z] Successfully built 9953453e55e2 [2023-08-04T01:21:02.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:21:03.047Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T01:21:03.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:21:03.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-2874 does not seem to be running inside a container [2023-08-04T01:21:03.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/239 -v /w/workspace/device-sdk-go/239:/w/workspace/device-sdk-go/239:rw,z -v /w/workspace/device-sdk-go/239@tmp:/w/workspace/device-sdk-go/239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-04T01:21:04.486Z] $ docker top aea83c3892d856a73bee9ab9445a00eb6f0ac137455d346fb2c02cd48fb7270c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T01:21:05.305Z] + go version [2023-08-04T01:21:05.305Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-04T01:21:05.319Z] $ docker stop --time=1 aea83c3892d856a73bee9ab9445a00eb6f0ac137455d346fb2c02cd48fb7270c [2023-08-04T01:21:08.040Z] $ docker rm -f --volumes aea83c3892d856a73bee9ab9445a00eb6f0ac137455d346fb2c02cd48fb7270c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:21:08.587Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T01:21:08.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:21:08.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-2874 does not seem to be running inside a container [2023-08-04T01:21:08.825Z] $ 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/239 -v /w/workspace/device-sdk-go/239:/w/workspace/device-sdk-go/239:rw,z -v /w/workspace/device-sdk-go/239@tmp:/w/workspace/device-sdk-go/239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-04T01:21:09.974Z] $ docker top f34783d0e0321831b54311c0c74a9ba72e13e6279bab31037b4aea31dd8f963e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T01:21:10.490Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/239 [Pipeline] fileExists [Pipeline] sh [2023-08-04T01:21:10.817Z] + make test [2023-08-04T01:21:10.817Z] go test -race -coverprofile=coverage.out ./... [2023-08-04T01:21:57.670Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-04T01:24:19.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-04T01:24:19.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-04T01:24:19.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-04T01:24:19.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-04T01:24:19.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-04T01:24:20.763Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.213s coverage: 27.6% of statements [2023-08-04T01:24:27.409Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.302s coverage: 80.2% of statements [2023-08-04T01:24:39.725Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-04T01:24:39.725Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-04T01:24:39.725Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.349s coverage: 86.0% of statements [2023-08-04T01:24:46.381Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-04T01:24:46.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.509s coverage: 71.8% of statements [2023-08-04T01:24:50.640Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.286s coverage: 14.3% of statements [2023-08-04T01:24:53.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-04T01:24:53.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-04T01:24:53.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.534s coverage: 43.8% of statements [2023-08-04T01:24:53.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.454s coverage: 68.5% of statements [2023-08-04T01:24:57.755Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.424s coverage: 89.2% of statements [2023-08-04T01:24:59.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-04T01:24:59.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 5.5% of statements [2023-08-04T01:24:59.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-04T01:24:59.743Z] GO111MODULE=on go vet ./... [2023-08-04T01:27:36.508Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T01:27:36.508Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T01:27:36.508Z] ./bin/test-attribution-txt.sh [2023-08-04T01:27:36.509Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T01:27:36.509Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T01:27:36.509Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T01:27:36.509Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T01:27:36.509Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T01:27:36.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T01:27:36.538Z] $ docker stop --time=1 f34783d0e0321831b54311c0c74a9ba72e13e6279bab31037b4aea31dd8f963e [2023-08-04T01:27:38.470Z] $ docker rm -f --volumes f34783d0e0321831b54311c0c74a9ba72e13e6279bab31037b4aea31dd8f963e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T01:27:40.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T01:27:40.093Z] Warning: overwriting stash ‘coverage-report’ [2023-08-04T01:27:40.622Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T01:27:40.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T01:27:41.302Z] + ls -al . [2023-08-04T01:27:41.302Z] total 300 [2023-08-04T01:27:41.302Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 01:21 . [2023-08-04T01:27:41.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:18 .. [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:18 .dockerignore [2023-08-04T01:27:41.302Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:18 .git [2023-08-04T01:27:41.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:18 .github [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 01:18 .gitignore [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 01:18 .golangci.yml [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 01:18 CHANGELOG.md [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:18 GOVERNANCE.md [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 01:18 Jenkinsfile [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 01:18 LICENSE [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 01:18 Makefile [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 01:18 OWNERS.md [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 01:18 README.md [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 01:15 VERSION [2023-08-04T01:27:41.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:18 bin [2023-08-04T01:27:41.302Z] -rw-r--r-- 1 jenkins jenkins 120273 Aug 4 01:24 coverage.out [2023-08-04T01:27:41.302Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 01:18 example [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 01:18 go.mod [2023-08-04T01:27:41.302Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 01:18 go.sum [2023-08-04T01:27:41.303Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:18 internal [2023-08-04T01:27:41.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:18 openapi [2023-08-04T01:27:41.303Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 01:18 pkg [2023-08-04T01:27:41.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:18 snap [2023-08-04T01:27:41.303Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:27:41.642Z] + 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=33fe8b615815503aada03d5ced23786186fa4554 --label arch=arm64 --label version=3.1.0-dev.10 . [2023-08-04T01:27:41.908Z] Sending build context to Docker daemon 6.006MB [2023-08-04T01:27:42.178Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T01:27:42.178Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-04T01:27:42.178Z] ---> 9953453e55e2 [2023-08-04T01:27:42.178Z] Step 3/23 : ARG MAKE=make build [2023-08-04T01:27:42.178Z] ---> Running in ca5ec027ec18 [2023-08-04T01:27:42.446Z] Removing intermediate container ca5ec027ec18 [2023-08-04T01:27:42.446Z] ---> 3bbfbf5518cd [2023-08-04T01:27:42.446Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-04T01:27:42.446Z] ---> Running in b35e0a328a46 [2023-08-04T01:27:43.029Z] Removing intermediate container b35e0a328a46 [2023-08-04T01:27:43.029Z] ---> 36c10fcf3b68 [2023-08-04T01:27:43.029Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T01:27:43.029Z] ---> Running in 2f839bdb92c5 [2023-08-04T01:27:43.297Z] Removing intermediate container 2f839bdb92c5 [2023-08-04T01:27:43.297Z] ---> e2a3a374a505 [2023-08-04T01:27:43.297Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-04T01:27:43.297Z] ---> Running in 3d9ed318d22b [2023-08-04T01:27:44.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T01:27:44.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T01:27:45.798Z] OK: 263 MiB in 53 packages [2023-08-04T01:27:46.764Z] Removing intermediate container 3d9ed318d22b [2023-08-04T01:27:46.764Z] ---> 618ad7a38c32 [2023-08-04T01:27:46.764Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-04T01:27:47.348Z] ---> 231cf2322f2b [2023-08-04T01:27:47.348Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T01:27:47.348Z] ---> Running in 1ee4e745b9e2 [2023-08-04T01:27:49.296Z] Removing intermediate container 1ee4e745b9e2 [2023-08-04T01:27:49.296Z] ---> f3b833a362c2 [2023-08-04T01:27:49.296Z] Step 9/23 : COPY . . [2023-08-04T01:27:50.275Z] ---> f93938157a26 [2023-08-04T01:27:50.275Z] Step 10/23 : RUN ${MAKE} [2023-08-04T01:27:50.544Z] ---> Running in 07b15bc6c7b3 [2023-08-04T01:27:51.504Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-04T01:30:13.337Z] Removing intermediate container 07b15bc6c7b3 [2023-08-04T01:30:13.337Z] ---> 5279ed3f9c96 [2023-08-04T01:30:13.337Z] Step 11/23 : FROM alpine:3.17 [2023-08-04T01:30:13.337Z] 3.17: Pulling from library/alpine [2023-08-04T01:30:13.337Z] edb6bdbacee9: Already exists [2023-08-04T01:30:13.337Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T01:30:13.337Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T01:30:13.337Z] ---> 779605e5fbc0 [2023-08-04T01:30:13.337Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-04T01:30:13.337Z] ---> Running in 6549f9ddb6ae [2023-08-04T01:30:13.337Z] Removing intermediate container 6549f9ddb6ae [2023-08-04T01:30:13.337Z] ---> 9a71dfb0c0a4 [2023-08-04T01:30:13.337Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-04T01:30:13.337Z] ---> Running in 32c7f0c593be [2023-08-04T01:30:13.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T01:30:13.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T01:30:13.337Z] OK: 7 MiB in 15 packages [2023-08-04T01:30:13.338Z] Removing intermediate container 32c7f0c593be [2023-08-04T01:30:13.338Z] ---> 5bb4e332884a [2023-08-04T01:30:13.338Z] Step 14/23 : WORKDIR / [2023-08-04T01:30:13.338Z] ---> Running in 13364ac8eee8 [2023-08-04T01:30:13.338Z] Removing intermediate container 13364ac8eee8 [2023-08-04T01:30:13.338Z] ---> 35c3a0a81903 [2023-08-04T01:30:13.338Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-04T01:30:13.604Z] ---> e50b4750f16f [2023-08-04T01:30:13.604Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-04T01:30:15.545Z] ---> c8f589e1ea42 [2023-08-04T01:30:15.545Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-04T01:30:15.545Z] ---> 433ec3895b3d [2023-08-04T01:30:15.545Z] Step 18/23 : EXPOSE 59999 [2023-08-04T01:30:15.812Z] ---> Running in c3a38e08b690 [2023-08-04T01:30:16.079Z] Removing intermediate container c3a38e08b690 [2023-08-04T01:30:16.079Z] ---> e9e68c990a13 [2023-08-04T01:30:16.079Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-04T01:30:16.079Z] ---> Running in aa705f4c09e9 [2023-08-04T01:30:16.345Z] Removing intermediate container aa705f4c09e9 [2023-08-04T01:30:16.346Z] ---> 6bb9c1aaa50f [2023-08-04T01:30:16.346Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T01:30:16.346Z] ---> Running in 08fcab96a7e4 [2023-08-04T01:30:16.613Z] Removing intermediate container 08fcab96a7e4 [2023-08-04T01:30:16.613Z] ---> 2ab62bfbf6c1 [2023-08-04T01:30:16.613Z] Step 21/23 : LABEL arch=arm64 [2023-08-04T01:30:16.613Z] ---> Running in a0d3fc6ea63d [2023-08-04T01:30:16.879Z] Removing intermediate container a0d3fc6ea63d [2023-08-04T01:30:16.879Z] ---> 320394e8c527 [2023-08-04T01:30:16.879Z] Step 22/23 : LABEL git_sha=33fe8b615815503aada03d5ced23786186fa4554 [2023-08-04T01:30:17.148Z] ---> Running in d5bdcd2df08d [2023-08-04T01:30:17.148Z] Removing intermediate container d5bdcd2df08d [2023-08-04T01:30:17.148Z] ---> 35583cacb971 [2023-08-04T01:30:17.148Z] Step 23/23 : LABEL version=3.1.0-dev.10 [2023-08-04T01:30:17.417Z] ---> Running in 729bae97b026 [2023-08-04T01:30:17.686Z] Removing intermediate container 729bae97b026 [2023-08-04T01:30:17.686Z] ---> 1370c7cc8633 [2023-08-04T01:30:17.686Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T01:30:17.686Z] Successfully built 1370c7cc8633 [2023-08-04T01:30:17.686Z] 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-04T01:30:18.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T01:30:18.137Z] [2023-08-04T01:30:18.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:30:18.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T01:30:18.481Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-04T01:30:18.481Z] 8998bd30e6a1: Pulling fs layer [2023-08-04T01:30:18.481Z] 04944245beec: Pulling fs layer [2023-08-04T01:30:18.481Z] 699f458cf7ca: Pulling fs layer [2023-08-04T01:30:18.481Z] 765212b225bb: Pulling fs layer [2023-08-04T01:30:18.481Z] f23df028b6ca: Pulling fs layer [2023-08-04T01:30:18.481Z] d65c8cfc05b1: Pulling fs layer [2023-08-04T01:30:18.481Z] 2437ff75d9bd: Pulling fs layer [2023-08-04T01:30:18.481Z] f23df028b6ca: Waiting [2023-08-04T01:30:18.481Z] d65c8cfc05b1: Waiting [2023-08-04T01:30:18.481Z] 2437ff75d9bd: Waiting [2023-08-04T01:30:18.481Z] 765212b225bb: Waiting [2023-08-04T01:30:18.749Z] 04944245beec: Verifying Checksum [2023-08-04T01:30:18.749Z] 04944245beec: Download complete [2023-08-04T01:30:18.749Z] 765212b225bb: Verifying Checksum [2023-08-04T01:30:18.749Z] 765212b225bb: Download complete [2023-08-04T01:30:18.749Z] f23df028b6ca: Verifying Checksum [2023-08-04T01:30:18.749Z] f23df028b6ca: Download complete [2023-08-04T01:30:18.749Z] d65c8cfc05b1: Verifying Checksum [2023-08-04T01:30:18.749Z] d65c8cfc05b1: Download complete [2023-08-04T01:30:18.749Z] 699f458cf7ca: Download complete [2023-08-04T01:30:19.331Z] 8998bd30e6a1: Verifying Checksum [2023-08-04T01:30:19.331Z] 8998bd30e6a1: Download complete [2023-08-04T01:30:21.277Z] 2437ff75d9bd: Verifying Checksum [2023-08-04T01:30:21.277Z] 2437ff75d9bd: Download complete [2023-08-04T01:30:23.221Z] 8998bd30e6a1: Pull complete [2023-08-04T01:30:23.803Z] 04944245beec: Pull complete [2023-08-04T01:30:25.206Z] 699f458cf7ca: Pull complete [2023-08-04T01:30:25.206Z] 765212b225bb: Pull complete [2023-08-04T01:30:25.788Z] f23df028b6ca: Pull complete [2023-08-04T01:30:26.053Z] d65c8cfc05b1: Pull complete [2023-08-04T01:30:41.053Z] 2437ff75d9bd: Pull complete [2023-08-04T01:30:41.053Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-04T01:30:41.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T01:30:41.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:30:41.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-2874 does not seem to be running inside a container [2023-08-04T01:30:41.308Z] $ 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/239 -v /w/workspace/device-sdk-go/239:/w/workspace/device-sdk-go/239:rw,z -v /w/workspace/device-sdk-go/239@tmp:/w/workspace/device-sdk-go/239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-04T01:30:43.854Z] $ docker top e9aae19da7b28b935dbbabf314223c25d0c325d33f2c1e2ced47cfda2d89e116 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:30:44.377Z] ---> job-cost.sh [2023-08-04T01:30:44.642Z] lf-activate-venv: SKIPPING [2023-08-04T01:30:44.642Z] INFO: No Stack... [2023-08-04T01:30:45.222Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-04T01:30:45.802Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T01:30:46.121Z] + cat /w/workspace/device-sdk-go/239/archives/cost.csv [2023-08-04T01:30:46.121Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T01:30:46.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [2023-08-04T01:30:46.429Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] did not exist. Created. [2023-08-04T01:30:46.429Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T01:30:46.758Z] /w/workspace/device-sdk-go/239@tmp/durable-73758ef4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-04T01:30:47.088Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-04T01:30:47.104Z] Warning: overwriting stash ‘stack-cost’ [2023-08-04T01:30:47.185Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T01:30:47.191Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T01:30:47.201Z] $ docker stop --time=1 e9aae19da7b28b935dbbabf314223c25d0c325d33f2c1e2ced47cfda2d89e116 [2023-08-04T01:30:48.687Z] $ docker rm -f --volumes e9aae19da7b28b935dbbabf314223c25d0c325d33f2c1e2ced47cfda2d89e116 [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-04T01:30:49.161Z] provisioning config files... [2023-08-04T01:30:49.168Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6364890732479866808tmp [Pipeline] { [Pipeline] sh [2023-08-04T01:30:49.468Z] + set +x [2023-08-04T01:30:49.468Z] + + bash -scurl -- -s [2023-08-04T01:30:49.468Z] https://codecov.io/bash [2023-08-04T01:30:49.468Z] [2023-08-04T01:30:49.468Z] _____ _ [2023-08-04T01:30:49.468Z] / ____| | | [2023-08-04T01:30:49.468Z] | | ___ __| | ___ ___ _____ __ [2023-08-04T01:30:49.468Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-04T01:30:49.468Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-04T01:30:49.468Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-04T01:30:49.468Z] Bash-1.0.6 [2023-08-04T01:30:49.468Z] [2023-08-04T01:30:49.468Z] [2023-08-04T01:30:49.468Z] ==> git version 2.25.1 found [2023-08-04T01:30:49.468Z] ==> 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-04T01:30:49.468Z] Release-Date: 2020-01-08 [2023-08-04T01:30:49.468Z] 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-04T01:30:49.468Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-04T01:30:49.468Z] ==> Jenkins CI detected. [2023-08-04T01:30:49.468Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-04T01:30:49.468Z] project root: . [2023-08-04T01:30:49.468Z] --> token set from env [2023-08-04T01:30:49.468Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-04T01:30:49.468Z] ==> Running gcov in . (disable via -X gcov) [2023-08-04T01:30:49.468Z] ==> Python coveragepy not found [2023-08-04T01:30:49.468Z] ==> Searching for coverage reports in: [2023-08-04T01:30:49.468Z] + . [2023-08-04T01:30:49.468Z] -> Found 1 reports [2023-08-04T01:30:49.468Z] ==> Detecting git/mercurial file structure [2023-08-04T01:30:49.728Z] ==> Reading reports [2023-08-04T01:30:49.728Z] + ./coverage.out bytes=120273 [2023-08-04T01:30:49.728Z] ==> Appending adjustments [2023-08-04T01:30:49.728Z] https://docs.codecov.io/docs/fixing-reports [2023-08-04T01:30:49.986Z] + Found adjustments [2023-08-04T01:30:49.986Z] ==> Gzipping contents [2023-08-04T01:30:49.986Z] 20K /tmp/codecov.7Qwws2.gz [2023-08-04T01:30:49.986Z] ==> Uploading reports [2023-08-04T01:30:49.986Z] url: https://codecov.io [2023-08-04T01:30:49.986Z] query: branch=main&commit=33fe8b615815503aada03d5ced23786186fa4554&build=239&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F239%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-04T01:30:49.986Z] -> Pinging Codecov [2023-08-04T01:30:49.986Z] 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=33fe8b615815503aada03d5ced23786186fa4554&build=239&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F239%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-04T01:30:49.986Z] -> Uploading to [2023-08-04T01:30:49.986Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-04/7E55EF52A471D76F132DFD9A03CDDE97/33fe8b615815503aada03d5ced23786186fa4554/d46a23b1-a8d6-49ce-8469-382ca6187194.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T013049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e60da175e72e565926c0944608e935ca6f722c1c422d5283c044c4ca53f5b39 [2023-08-04T01:30:49.986Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T01:30:49.986Z] Dload Upload Total Spent Left Speed [2023-08-04T01:30:50.245Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16435 0 0 100 16435 0 85598 --:--:-- --:--:-- --:--:-- 85155 100 16435 0 0 100 16435 0 85155 --:--:-- --:--:-- --:--:-- 85155 [2023-08-04T01:30:50.245Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] } [2023-08-04T01:30:50.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-04T01:30:50.476Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-04T01:30:50.486Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:30:50.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T01:30:50.781Z] [2023-08-04T01:30:50.781Z] 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-04T01:30:51.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T01:30:51.079Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-04T01:30:51.079Z] df9b9388f04a: Pulling fs layer [2023-08-04T01:30:51.079Z] 52dc419b0ee2: Pulling fs layer [2023-08-04T01:30:51.079Z] 25bc292e5bac: Pulling fs layer [2023-08-04T01:30:51.079Z] 114826534d7a: Pulling fs layer [2023-08-04T01:30:51.079Z] 4657fd5d0bcf: Pulling fs layer [2023-08-04T01:30:51.079Z] 6ad1cebc031e: Pulling fs layer [2023-08-04T01:30:51.079Z] 8a3aa393b2d8: Pulling fs layer [2023-08-04T01:30:51.079Z] 4657fd5d0bcf: Waiting [2023-08-04T01:30:51.079Z] 6ad1cebc031e: Waiting [2023-08-04T01:30:51.079Z] 8a3aa393b2d8: Waiting [2023-08-04T01:30:51.079Z] 114826534d7a: Waiting [2023-08-04T01:30:51.079Z] 25bc292e5bac: Verifying Checksum [2023-08-04T01:30:51.079Z] 25bc292e5bac: Download complete [2023-08-04T01:30:51.079Z] 52dc419b0ee2: Verifying Checksum [2023-08-04T01:30:51.079Z] 52dc419b0ee2: Download complete [2023-08-04T01:30:51.079Z] 4657fd5d0bcf: Verifying Checksum [2023-08-04T01:30:51.079Z] 4657fd5d0bcf: Download complete [2023-08-04T01:30:51.079Z] df9b9388f04a: Download complete [2023-08-04T01:30:51.336Z] 6ad1cebc031e: Verifying Checksum [2023-08-04T01:30:51.336Z] 6ad1cebc031e: Download complete [2023-08-04T01:30:51.336Z] df9b9388f04a: Pull complete [2023-08-04T01:30:51.336Z] 52dc419b0ee2: Pull complete [2023-08-04T01:30:51.336Z] 25bc292e5bac: Pull complete [2023-08-04T01:30:51.917Z] 114826534d7a: Verifying Checksum [2023-08-04T01:30:51.917Z] 114826534d7a: Download complete [2023-08-04T01:30:51.917Z] 8a3aa393b2d8: Verifying Checksum [2023-08-04T01:30:55.191Z] 114826534d7a: Pull complete [2023-08-04T01:30:55.191Z] 4657fd5d0bcf: Pull complete [2023-08-04T01:30:55.191Z] 6ad1cebc031e: Pull complete [2023-08-04T01:30:58.471Z] 8a3aa393b2d8: Pull complete [2023-08-04T01:30:58.471Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-04T01:30:58.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T01:30:58.471Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:30:58.562Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:30:58.575Z] $ 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-04T01:31:03.790Z] $ docker top 4988c3a621bd1c4c35a8ebbe2c1e769313cce19f89a9cdcbdcc50a1abaf898c6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-04T01:31:03.874Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-04T01:31:04.150Z] + set -o pipefail [2023-08-04T01:31:04.150Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-04T01:31:14.120Z] [2023-08-04T01:31:14.120Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-04T01:31:14.120Z] [2023-08-04T01:31:14.120Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ebda8e04-568e-4af8-aaf9-78c5c2d9ad4b [2023-08-04T01:31:14.120Z] [2023-08-04T01:31:14.120Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-04T01:31:14.120Z] [2023-08-04T01:31:15.056Z] [2023-08-04T01:31:15.056Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-04T01:31:15.056Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-04T01:31:15.056Z] More details here: https://snyk.co/ue1NS [2023-08-04T01:31:15.056Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-04T01:31:15.056Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-04T01:31:15.054Z] $ docker stop --time=1 4988c3a621bd1c4c35a8ebbe2c1e769313cce19f89a9cdcbdcc50a1abaf898c6 [2023-08-04T01:31:19.661Z] $ docker rm -f --volumes 4988c3a621bd1c4c35a8ebbe2c1e769313cce19f89a9cdcbdcc50a1abaf898c6 [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-04T01:31:20.087Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T01:31:20.101Z] provisioning config files... [2023-08-04T01:31:20.109Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13479921366616028908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:31:20.400Z] --> edgex-publish-swagger.sh [2023-08-04T01:31:20.400Z] === Publish openapi/v3 API === [2023-08-04T01:31:20.400Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-04T01:31:20.400Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-04T01:31:20.400Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T01:31:20.400Z] Dload Upload Total Spent Left Speed [2023-08-04T01:31:20.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 45702 --:--:-- --:--:-- --:--:-- 45702 [2023-08-04T01:31:20.968Z] [2023-08-04T01:31:20.968Z] [Pipeline] } [2023-08-04T01:31:20.976Z] 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-04T01:31:21.386Z] + git log --format=format:%s -1 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] sh [2023-08-04T01:31:21.675Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T01:31:21.675Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:31:21.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T01:31:21.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:31:22.033Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:31:22.050Z] $ 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-04T01:31:22.674Z] $ docker top 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 -eo pid,comm [2023-08-04T01:31:22.740Z] 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-04T01:31:22.740Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T01:31:22.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T01:31:22.781Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T01:31:22.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T01:31:22.894Z] $ docker exec 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 ssh-agent [2023-08-04T01:31:23.045Z] SSH_AUTH_SOCK=/tmp/ssh-VXQWJIhZuTDI/agent.34 [2023-08-04T01:31:23.046Z] SSH_AGENT_PID=40 [2023-08-04T01:31:23.050Z] Running ssh-add (command line suppressed) [2023-08-04T01:31:23.146Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10961200966449284104.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10961200966449284104.key) [2023-08-04T01:31:23.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T01:31:23.463Z] + git semver tag [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,630 [run_tag] DEBUG tag force:False [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,630 [check_head_tag] DEBUG check head tag [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,631 [execute] INFO git cat-file --batch-check [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,637 [execute] INFO git cat-file --batch [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,652 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,652 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-04T01:31:23.722Z] 2023-08-04 01:31:23,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:23.722Z] 3.1.0-dev.10 [Pipeline] } [2023-08-04T01:31:23.719Z] $ docker exec --env ******** --env ******** 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 ssh-agent -k [2023-08-04T01:31:23.828Z] unset SSH_AUTH_SOCK; [2023-08-04T01:31:23.829Z] unset SSH_AGENT_PID; [2023-08-04T01:31:23.829Z] echo Agent pid 40 killed; [2023-08-04T01:31:23.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T01:31:24.150Z] + git semver [Pipeline] } [2023-08-04T01:31:24.406Z] $ docker stop --time=1 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 [2023-08-04T01:31:25.696Z] $ docker rm -f --volumes 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:31:26.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T01:31:26.082Z] [2023-08-04T01:31:26.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:31:26.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T01:31:26.378Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-04T01:31:26.378Z] ab5ef0e58194: Pulling fs layer [2023-08-04T01:31:26.378Z] 9712f1f96733: Pulling fs layer [2023-08-04T01:31:26.378Z] 63f879dbbcfc: Pulling fs layer [2023-08-04T01:31:26.378Z] 0d9ebad4ef96: Pulling fs layer [2023-08-04T01:31:26.378Z] e9a5061849ea: Pulling fs layer [2023-08-04T01:31:26.378Z] d747dcd14b5f: Pulling fs layer [2023-08-04T01:31:26.378Z] 2de7ff778b66: Pulling fs layer [2023-08-04T01:31:26.378Z] e9a5061849ea: Waiting [2023-08-04T01:31:26.378Z] d747dcd14b5f: Waiting [2023-08-04T01:31:26.378Z] 2de7ff778b66: Waiting [2023-08-04T01:31:26.378Z] 0d9ebad4ef96: Waiting [2023-08-04T01:31:26.378Z] 9712f1f96733: Download complete [2023-08-04T01:31:26.945Z] 63f879dbbcfc: Verifying Checksum [2023-08-04T01:31:26.945Z] 63f879dbbcfc: Download complete [2023-08-04T01:31:26.945Z] e9a5061849ea: Verifying Checksum [2023-08-04T01:31:26.945Z] e9a5061849ea: Download complete [2023-08-04T01:31:26.945Z] d747dcd14b5f: Verifying Checksum [2023-08-04T01:31:26.945Z] d747dcd14b5f: Download complete [2023-08-04T01:31:26.945Z] 0d9ebad4ef96: Verifying Checksum [2023-08-04T01:31:26.945Z] 0d9ebad4ef96: Download complete [2023-08-04T01:31:27.204Z] ab5ef0e58194: Verifying Checksum [2023-08-04T01:31:27.204Z] ab5ef0e58194: Download complete [2023-08-04T01:31:27.204Z] 2de7ff778b66: Verifying Checksum [2023-08-04T01:31:27.204Z] 2de7ff778b66: Download complete [2023-08-04T01:31:29.731Z] ab5ef0e58194: Pull complete [2023-08-04T01:31:29.731Z] 9712f1f96733: Pull complete [2023-08-04T01:31:30.301Z] 63f879dbbcfc: Pull complete [2023-08-04T01:31:33.583Z] 0d9ebad4ef96: Pull complete [2023-08-04T01:31:33.842Z] e9a5061849ea: Pull complete [2023-08-04T01:31:33.842Z] d747dcd14b5f: Pull complete [2023-08-04T01:31:34.773Z] 2de7ff778b66: Pull complete [2023-08-04T01:31:34.773Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-04T01:31:34.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T01:31:34.773Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:31:34.851Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:31:34.867Z] $ 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-04T01:31:41.530Z] $ docker top 3204b41093af3bedea2cefd50dd49cb5cb2a7b7c235550d2301b84a9e1948ffc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-04T01:31:41.603Z] provisioning config files... [2023-08-04T01:31:41.609Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4062258808767470166tmp [2023-08-04T01:31:41.617Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12035084430664837216tmp [2023-08-04T01:31:41.625Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3458448062829822690tmp [Pipeline] { [Pipeline] echo [2023-08-04T01:31:41.639Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:31:41.917Z] ---> sigul-configuration.sh [2023-08-04T01:31:41.917Z] gpg: directory `/root/.gnupg' created [2023-08-04T01:31:41.917Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-04T01:31:41.917Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-04T01:31:41.917Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-04T01:31:41.917Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-04T01:31:41.917Z] gpg: CAST5 encrypted data [2023-08-04T01:31:41.917Z] gpg: encrypted with 1 passphrase [2023-08-04T01:31:41.917Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-04T01:31:42.198Z] + mkdir /home/jenkins [2023-08-04T01:31:42.198Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-04T01:31:42.483Z] + 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-04T01:31:42.492Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:31:42.770Z] ---> sigul-install.sh [2023-08-04T01:31:42.770Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-04T01:31:43.052Z] + git tag --list [2023-08-04T01:31:43.052Z] 0.7.1 [2023-08-04T01:31:43.052Z] delhi-tag [2023-08-04T01:31:43.052Z] v1.0.0 [2023-08-04T01:31:43.052Z] v1.1.0 [2023-08-04T01:31:43.052Z] v1.1.1 [2023-08-04T01:31:43.052Z] v1.1.2 [2023-08-04T01:31:43.052Z] v1.2.0 [2023-08-04T01:31:43.052Z] v1.2.1 [2023-08-04T01:31:43.052Z] v1.2.2 [2023-08-04T01:31:43.052Z] v1.2.3 [2023-08-04T01:31:43.052Z] v1.3.0 [2023-08-04T01:31:43.052Z] v1.4.0 [2023-08-04T01:31:43.052Z] v2.0.0 [2023-08-04T01:31:43.052Z] v2.1.0 [2023-08-04T01:31:43.052Z] v2.1.1 [2023-08-04T01:31:43.052Z] v2.2.0 [2023-08-04T01:31:43.052Z] v2.3.0 [2023-08-04T01:31:43.052Z] v2.3.1 [2023-08-04T01:31:43.052Z] v3.0 [2023-08-04T01:31:43.052Z] v3.0.0 [2023-08-04T01:31:43.052Z] v3.0.1-dev.1 [2023-08-04T01:31:43.052Z] v3.1.0-dev.1 [2023-08-04T01:31:43.052Z] v3.1.0-dev.10 [2023-08-04T01:31:43.052Z] v3.1.0-dev.2 [2023-08-04T01:31:43.052Z] v3.1.0-dev.3 [2023-08-04T01:31:43.052Z] v3.1.0-dev.4 [2023-08-04T01:31:43.052Z] v3.1.0-dev.5 [2023-08-04T01:31:43.052Z] v3.1.0-dev.6 [2023-08-04T01:31:43.052Z] v3.1.0-dev.7 [2023-08-04T01:31:43.052Z] v3.1.0-dev.8 [2023-08-04T01:31:43.052Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-04T01:31:43.336Z] + lftools sign git-tag v3.1.0-dev.10 [2023-08-04T01:31:43.904Z] Signing Git tag with Sigul... [2023-08-04T01:31:43.904Z] Signing v3.1.0-dev.10 [Pipeline] echo [2023-08-04T01:31:44.480Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:31:44.777Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-04T01:31:44.784Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-04T01:31:44.788Z] $ docker stop --time=1 3204b41093af3bedea2cefd50dd49cb5cb2a7b7c235550d2301b84a9e1948ffc [2023-08-04T01:31:46.102Z] $ docker rm -f --volumes 3204b41093af3bedea2cefd50dd49cb5cb2a7b7c235550d2301b84a9e1948ffc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-04T01:31:46.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T01:31:46.526Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:31:46.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T01:31:46.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:31:46.897Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:31:46.914Z] $ 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-04T01:31:47.247Z] $ docker top 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 -eo pid,comm [2023-08-04T01:31:47.308Z] 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-04T01:31:47.308Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T01:31:47.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T01:31:47.345Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T01:31:47.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T01:31:47.446Z] $ docker exec 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 ssh-agent [2023-08-04T01:31:47.562Z] SSH_AUTH_SOCK=/tmp/ssh-eSiJ1PHvwd9X/agent.31 [2023-08-04T01:31:47.562Z] SSH_AGENT_PID=37 [2023-08-04T01:31:47.566Z] Running ssh-add (command line suppressed) [2023-08-04T01:31:47.645Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11675014594984984962.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11675014594984984962.key) [2023-08-04T01:31:47.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T01:31:47.958Z] + git semver bump pre [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,113 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,113 [bump_version] DEBUG bumped version:3.1.0-dev.11 [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,113 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,114 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,116 [execute] INFO git cat-file --batch-check [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,116 [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-04T01:31:48.216Z] 2023-08-04 01:31:48,121 [execute] INFO git cat-file --batch [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T01:31:48.216Z] 2023-08-04 01:31:48,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:48.216Z] 3.1.0-dev.11 [Pipeline] } [2023-08-04T01:31:48.211Z] $ docker exec --env ******** --env ******** 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 ssh-agent -k [2023-08-04T01:31:48.308Z] unset SSH_AUTH_SOCK; [2023-08-04T01:31:48.308Z] unset SSH_AGENT_PID; [2023-08-04T01:31:48.308Z] echo Agent pid 37 killed; [2023-08-04T01:31:48.330Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T01:31:48.637Z] + git semver [Pipeline] } [2023-08-04T01:31:48.896Z] $ docker stop --time=1 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 [2023-08-04T01:31:50.129Z] $ docker rm -f --volumes 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T01:31:50.470Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T01:31:50.470Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:31:50.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T01:31:50.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:31:50.847Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:31:50.866Z] $ 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-04T01:31:51.180Z] $ docker top 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 -eo pid,comm [2023-08-04T01:31:51.236Z] 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-04T01:31:51.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T01:31:51.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T01:31:51.272Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T01:31:51.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T01:31:51.377Z] $ docker exec 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 ssh-agent [2023-08-04T01:31:51.492Z] SSH_AUTH_SOCK=/tmp/ssh-7mfemR8aQc9L/agent.33 [2023-08-04T01:31:51.492Z] SSH_AGENT_PID=39 [2023-08-04T01:31:51.497Z] Running ssh-add (command line suppressed) [2023-08-04T01:31:51.587Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1719201542875746930.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1719201542875746930.key) [2023-08-04T01:31:51.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T01:31:51.897Z] + git semver push [2023-08-04T01:31:52.156Z] 2023-08-04 01:31:52,042 [run_push] DEBUG push [2023-08-04T01:31:52.156Z] 2023-08-04 01:31:52,043 [execute] INFO git cat-file --batch-check [2023-08-04T01:31:52.156Z] 2023-08-04 01:31:52,043 [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-04T01:31:52.156Z] 2023-08-04 01:31:52,047 [execute] INFO git rev-list 4b364ca0dbd47f3779c00e4b9fe195c949e072d8 -- [2023-08-04T01:31:52.156Z] 2023-08-04 01:31:52,047 [execute] DEBUG Popen(['git', 'rev-list', '4b364ca0dbd47f3779c00e4b9fe195c949e072d8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-04T01:31:52.156Z] 2023-08-04 01:31:52,060 [execute] INFO git fetch -v origin [2023-08-04T01:31:52.156Z] 2023-08-04 01:31:52,061 [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-04T01:31:52.723Z] 2023-08-04 01:31:52,606 [run_push] DEBUG no remote changes detected [2023-08-04T01:31:52.723Z] 2023-08-04 01:31:52,606 [execute] INFO git push origin semver [2023-08-04T01:31:52.723Z] 2023-08-04 01:31:52,607 [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-04T01:31:53.660Z] 2023-08-04 01:31:53,407 [run_push] DEBUG push all version tags [2023-08-04T01:31:53.660Z] 2023-08-04 01:31:53,407 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-04T01:31:53.660Z] 2023-08-04 01:31:53,408 [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-04T01:31:54.596Z] 2023-08-04 01:31:54,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T01:31:54.596Z] 3.1.0-dev.11 [Pipeline] } [2023-08-04T01:31:54.592Z] $ docker exec --env ******** --env ******** 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 ssh-agent -k [2023-08-04T01:31:54.678Z] unset SSH_AUTH_SOCK; [2023-08-04T01:31:54.678Z] unset SSH_AGENT_PID; [2023-08-04T01:31:54.678Z] echo Agent pid 39 killed; [2023-08-04T01:31:54.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T01:31:55.017Z] + git semver [Pipeline] } [2023-08-04T01:31:55.276Z] $ docker stop --time=1 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 [2023-08-04T01:31:56.522Z] $ docker rm -f --volumes 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 [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-04T01:31:57.220Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-04T01:31:57.220Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-04T01:31:57.220Z] total 16 [2023-08-04T01:31:57.220Z] drwxr-xr-x 3 root root 4096 Aug 4 01:17 . [2023-08-04T01:31:57.220Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:31 .. [2023-08-04T01:31:57.220Z] drwxr-xr-x 2 root root 4096 Aug 4 01:17 cost [2023-08-04T01:31:57.220Z] -rw-r--r-- 1 root root 86 Aug 4 01:17 cost.csv [2023-08-04T01:31:57.220Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-04T01:31:57.220Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-04T01:31:57.220Z] total 16 [2023-08-04T01:31:57.220Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:17 . [2023-08-04T01:31:57.220Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:31 .. [2023-08-04T01:31:57.220Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 01:17 cost [2023-08-04T01:31:57.220Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 4 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:31:57.572Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:31:58.426Z] ---> package-listing.sh [2023-08-04T01:31:58.426Z] ++ facter osfamily [2023-08-04T01:31:58.426Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-04T01:31:58.685Z] + OS_FAMILY=debian [2023-08-04T01:31:58.685Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-04T01:31:58.685Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-04T01:31:58.685Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-04T01:31:58.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-04T01:31:58.685Z] + PACKAGES=/tmp/packages_start.txt [2023-08-04T01:31:58.685Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-04T01:31:58.685Z] + PACKAGES=/tmp/packages_end.txt [2023-08-04T01:31:58.685Z] + case "${OS_FAMILY}" in [2023-08-04T01:31:58.685Z] + dpkg -l [2023-08-04T01:31:58.685Z] + grep '^ii' [2023-08-04T01:31:58.685Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-04T01:31:58.685Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-04T01:31:58.685Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-04T01:31:58.685Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-04T01:31:58.685Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-04T01:31:58.685Z] + 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-04T01:31:58.695Z] 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-04T01:31:58.972Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T01:31:59.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T01:31:59.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T01:31:59.588Z] prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container [2023-08-04T01:31:59.605Z] $ 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-04T01:31:59.831Z] $ docker top 4b2f0a26719f1782b79ddb4adaf64c562d8916c4cff1580a5e4c630f09f10d22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T01:32:00.176Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-04T01:32:00.460Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-04T01:32:00.743Z] + ls /var/log/sa-host [2023-08-04T01:32:00.743Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T01:32:00.897Z] provisioning config files... [2023-08-04T01:32:00.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7560831186321683886tmp [Pipeline] { [Pipeline] echo [2023-08-04T01:32:00.921Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:32:01.198Z] ---> create-netrc.sh [Pipeline] } [2023-08-04T01:32:01.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:32:01.530Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-04T01:32:01.538Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:32:01.820Z] ---> sudo-logs.sh [2023-08-04T01:32:01.820Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-04T01:32:01.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:32:02.125Z] ---> job-cost.sh [2023-08-04T01:32:02.125Z] lf-activate-venv: SKIPPING [2023-08-04T01:32:02.125Z] DEBUG: total: 0.2199999988079071 [2023-08-04T01:32:02.125Z] INFO: Retrieving Stack Cost... [2023-08-04T01:32:02.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T01:32:02.951Z] INFO: Archiving Costs [Pipeline] echo [2023-08-04T01:32:02.961Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T01:32:03.243Z] ---> logs-deploy.sh [2023-08-04T01:32:03.243Z] lf-activate-venv: SKIPPING [2023-08-04T01:32:03.243Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/239 [2023-08-04T01:32:03.244Z] INFO: archiving workspace using pattern(s): [2023-08-04T01:32:04.179Z] Archives upload complete. [2023-08-04T01:32:04.438Z] INFO: archiving logs to Nexus