Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b107614ee9e0a121be0cc16184ca73267025663e 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-ssh5675108570923934689.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18250215687109088979.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9886826317439940338.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15667006594634469817.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-ssh906909173525208746.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8016 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 b107614ee9e0a121be0cc16184ca73267025663e (main) Commit message: "Merge pull request #1519 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.44" > 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 b107614ee9e0a121be0cc16184ca73267025663e # timeout=10 > git rev-list --no-walk afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T06:56:45.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T06:56:45.259Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T06:56:45.278Z] ========================================================= [2023-09-27T06:56:45.278Z] EdgeX Global Pipelines Version Info [2023-09-27T06:56:45.278Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T06:56:46.002Z] ------------------- [2023-09-27T06:56:46.002Z] stable info: [2023-09-27T06:56:46.002Z] ------------------- [2023-09-27T06:56:46.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T06:56:46.002Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T06:56:46.002Z] Message: update stable to v1.0.254 [2023-09-27T06:56:46.574Z] ------------------- [2023-09-27T06:56:46.574Z] experimental info: [2023-09-27T06:56:46.574Z] ------------------- [2023-09-27T06:56:46.574Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T06:56:46.574Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T06:56:46.574Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T06:56:46.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-27T06:56:46.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-27T06:56:46.762Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T06:56:46.776Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T06:56:46.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T06:56:46.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T06:56:46.824Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T06:56:46.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-27T06:56:46.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T06:56:46.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T06:56:46.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T06:56:46.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-27T06:56:46.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T06:56:46.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T06:56:46.934Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T06:56:46.950Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T06:56:46.967Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T06:56:46.982Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T06:56:46.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T06:56:47.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T06:56:47.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-27T06:56:47.041Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-27T06:56:47.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T06:56:47.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T06:56:47.096Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T06:56:47.108Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T06:56:47.120Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T06:56:47.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-27T06:56:47.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-27T06:56:47.158Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-27T06:56:47.172Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo [2023-09-27T06:56:47.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b107614 [Pipeline] echo [2023-09-27T06:56:47.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T06:56:47.252Z] provisioning config files... [2023-09-27T06:56:47.270Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15980951584019839488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T06:56:47.581Z] ---> docker-login.sh [2023-09-27T06:56:47.581Z] nexus3.edgexfoundry.org:10001 [2023-09-27T06:56:47.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:56:47.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:56:47.842Z] Configure a credential helper to remove this warning. See [2023-09-27T06:56:47.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:56:47.842Z] [2023-09-27T06:56:47.842Z] Login Succeeded [2023-09-27T06:56:47.842Z] nexus3.edgexfoundry.org:10002 [2023-09-27T06:56:47.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:56:48.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:56:48.103Z] Configure a credential helper to remove this warning. See [2023-09-27T06:56:48.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:56:48.103Z] [2023-09-27T06:56:48.103Z] Login Succeeded [2023-09-27T06:56:48.103Z] nexus3.edgexfoundry.org:10003 [2023-09-27T06:56:48.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:56:48.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:56:48.103Z] Configure a credential helper to remove this warning. See [2023-09-27T06:56:48.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:56:48.103Z] [2023-09-27T06:56:48.103Z] Login Succeeded [2023-09-27T06:56:48.103Z] nexus3.edgexfoundry.org:10004 [2023-09-27T06:56:48.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:56:48.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:56:48.103Z] Configure a credential helper to remove this warning. See [2023-09-27T06:56:48.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:56:48.103Z] [2023-09-27T06:56:48.103Z] Login Succeeded [2023-09-27T06:56:48.103Z] docker.io [2023-09-27T06:56:48.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:56:48.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:56:48.624Z] Configure a credential helper to remove this warning. See [2023-09-27T06:56:48.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:56:48.624Z] [2023-09-27T06:56:48.624Z] Login Succeeded [2023-09-27T06:56:48.624Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T06:56:48.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T06:56:48.988Z] + git rev-list -1 --merges b107614ee9e0a121be0cc16184ca73267025663e~1..b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo [2023-09-27T06:56:49.030Z] -----------> git rev-list -1 --merges b107614ee9e0a121be0cc16184ca73267025663e~1..b107614ee9e0a121be0cc16184ca73267025663e b107614ee9e0a121be0cc16184ca73267025663e [2023-09-27T06:56:49.030Z] b107614ee9e0a121be0cc16184ca73267025663e [false] [Pipeline] sh [2023-09-27T06:56:49.320Z] + git log --format=format:%s -1 b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo [2023-09-27T06:56:49.349Z] ========================================================= [2023-09-27T06:56:49.349Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T06:56:49.349Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T06:56:49.667Z] + git log --format=format:%s -1 b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo [2023-09-27T06:56:49.677Z] [semverPrep] GIT_COMMIT: b107614ee9e0a121be0cc16184ca73267025663e, Commit Message: Merge pull request #1519 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.44 [Pipeline] echo [2023-09-27T06:56:49.686Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T06:56:50.066Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T06:56:50.066Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T06:56:50.066Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T06:56:50.066Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T06:56:50.066Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T06:56:50.066Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T06:56:50.066Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:56:50.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T06:56:50.491Z] [2023-09-27T06:56:50.491Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:56:50.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T06:56:50.798Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T06:56:50.798Z] b85a868b505f: Pulling fs layer [2023-09-27T06:56:50.798Z] e2be974225ed: Pulling fs layer [2023-09-27T06:56:50.798Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T06:56:50.798Z] 988bab9f4d93: Pulling fs layer [2023-09-27T06:56:50.798Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T06:56:50.798Z] eaf3925da568: Pulling fs layer [2023-09-27T06:56:50.798Z] bab4dde63d76: Pulling fs layer [2023-09-27T06:56:50.798Z] bde34c3a00c8: Pulling fs layer [2023-09-27T06:56:50.798Z] b352a97aabf1: Pulling fs layer [2023-09-27T06:56:50.798Z] 4872d77fe225: Pulling fs layer [2023-09-27T06:56:50.798Z] 5851b861e8e6: Pulling fs layer [2023-09-27T06:56:50.798Z] bab4dde63d76: Waiting [2023-09-27T06:56:50.798Z] bde34c3a00c8: Waiting [2023-09-27T06:56:50.798Z] b352a97aabf1: Waiting [2023-09-27T06:56:50.798Z] 4872d77fe225: Waiting [2023-09-27T06:56:50.798Z] 5851b861e8e6: Waiting [2023-09-27T06:56:50.798Z] 1469e6f7b9e6: Waiting [2023-09-27T06:56:50.798Z] eaf3925da568: Waiting [2023-09-27T06:56:50.798Z] e2be974225ed: Verifying Checksum [2023-09-27T06:56:50.798Z] e2be974225ed: Download complete [2023-09-27T06:56:50.798Z] 988bab9f4d93: Verifying Checksum [2023-09-27T06:56:50.798Z] 988bab9f4d93: Download complete [2023-09-27T06:56:51.057Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T06:56:51.057Z] 339a4e72a1f5: Download complete [2023-09-27T06:56:51.057Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T06:56:51.057Z] 1469e6f7b9e6: Download complete [2023-09-27T06:56:51.057Z] eaf3925da568: Verifying Checksum [2023-09-27T06:56:51.057Z] eaf3925da568: Download complete [2023-09-27T06:56:51.057Z] bde34c3a00c8: Download complete [2023-09-27T06:56:51.057Z] b352a97aabf1: Verifying Checksum [2023-09-27T06:56:51.057Z] b352a97aabf1: Download complete [2023-09-27T06:56:51.057Z] 4872d77fe225: Verifying Checksum [2023-09-27T06:56:51.057Z] 4872d77fe225: Download complete [2023-09-27T06:56:51.057Z] 5851b861e8e6: Verifying Checksum [2023-09-27T06:56:51.057Z] 5851b861e8e6: Download complete [2023-09-27T06:56:51.057Z] b85a868b505f: Verifying Checksum [2023-09-27T06:56:51.057Z] b85a868b505f: Download complete [2023-09-27T06:56:51.316Z] bab4dde63d76: Verifying Checksum [2023-09-27T06:56:51.316Z] bab4dde63d76: Download complete [2023-09-27T06:56:52.253Z] b85a868b505f: Pull complete [2023-09-27T06:56:52.516Z] e2be974225ed: Pull complete [2023-09-27T06:56:53.090Z] 339a4e72a1f5: Pull complete [2023-09-27T06:56:53.090Z] 988bab9f4d93: Pull complete [2023-09-27T06:56:53.351Z] 1469e6f7b9e6: Pull complete [2023-09-27T06:56:53.613Z] eaf3925da568: Pull complete [2023-09-27T06:56:55.523Z] bab4dde63d76: Pull complete [2023-09-27T06:56:55.523Z] bde34c3a00c8: Pull complete [2023-09-27T06:56:55.523Z] b352a97aabf1: Pull complete [2023-09-27T06:56:55.523Z] 4872d77fe225: Pull complete [2023-09-27T06:56:55.523Z] 5851b861e8e6: Pull complete [2023-09-27T06:56:55.523Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T06:56:55.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T06:56:55.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T06:56:55.630Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T06:56:55.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T06:56:57.931Z] $ docker top a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 -eo pid,comm [2023-09-27T06:56:57.983Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-27T06:56:57.983Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T06:56:58.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T06:56:58.025Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T06:56:58.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T06:56:58.153Z] $ docker exec a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent [2023-09-27T06:56:58.274Z] SSH_AUTH_SOCK=/tmp/ssh-5Qx8OKhRlUQ9/agent.32 [2023-09-27T06:56:58.274Z] SSH_AGENT_PID=38 [2023-09-27T06:56:58.282Z] Running ssh-add (command line suppressed) [2023-09-27T06:56:58.385Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9719942837998424110.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9719942837998424110.key) [2023-09-27T06:56:58.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T06:56:58.689Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T06:56:58.713Z] $ docker exec --env ******** --env ******** a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent -k [2023-09-27T06:56:58.825Z] unset SSH_AUTH_SOCK; [2023-09-27T06:56:58.826Z] unset SSH_AGENT_PID; [2023-09-27T06:56:58.826Z] echo Agent pid 38 killed; [2023-09-27T06:56:58.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T06:56:58.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T06:56:58.866Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T06:56:58.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T06:56:58.982Z] $ docker exec a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent [2023-09-27T06:56:59.103Z] SSH_AUTH_SOCK=/tmp/ssh-PgQAT6CFz36v/agent.70 [2023-09-27T06:56:59.103Z] SSH_AGENT_PID=76 [2023-09-27T06:56:59.111Z] Running ssh-add (command line suppressed) [2023-09-27T06:56:59.216Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6483927497381026377.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6483927497381026377.key) [2023-09-27T06:56:59.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T06:56:59.517Z] + git semver init [2023-09-27T06:56:59.776Z] 2023-09-27 06:56:59,693 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T06:56:59.776Z] 2023-09-27 06:56:59,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-27T06:56:59.776Z] 2023-09-27 06:56:59,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-27T06:56:59.776Z] 2023-09-27 06:56:59,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-27T06:57:00.715Z] 2023-09-27 06:57:00,696 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-27T06:57:00.715Z] 2023-09-27 06:57:00,697 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-27T06:57:00.715Z] 2023-09-27 06:57:00,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T06:57:00.715Z] 2023-09-27 06:57:00,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T06:57:00.715Z] 3.1.0-dev.31 [Pipeline] } [2023-09-27T06:57:00.728Z] $ docker exec --env ******** --env ******** a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent -k [2023-09-27T06:57:00.840Z] unset SSH_AUTH_SOCK; [2023-09-27T06:57:00.840Z] unset SSH_AGENT_PID; [2023-09-27T06:57:00.841Z] echo Agent pid 76 killed; [2023-09-27T06:57:00.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T06:57:01.154Z] + git semver [Pipeline] } [2023-09-27T06:57:01.432Z] $ docker stop --time=1 a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 [2023-09-27T06:57:02.724Z] $ docker rm -f --volumes a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T06:57:03.063Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T06:57:03.278Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T06:57:03.281Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.31 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T06:57:03.455Z] provisioning config files... [2023-09-27T06:57:03.465Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11562112622667288674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T06:57:03.766Z] ---> docker-login.sh [2023-09-27T06:57:03.766Z] nexus3.edgexfoundry.org:10001 [2023-09-27T06:57:03.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:57:03.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:57:03.766Z] Configure a credential helper to remove this warning. See [2023-09-27T06:57:03.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:57:03.766Z] [2023-09-27T06:57:03.766Z] Login Succeeded [2023-09-27T06:57:03.766Z] nexus3.edgexfoundry.org:10002 [2023-09-27T06:57:03.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:57:03.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:57:03.766Z] Configure a credential helper to remove this warning. See [2023-09-27T06:57:03.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:57:03.766Z] [2023-09-27T06:57:03.766Z] Login Succeeded [2023-09-27T06:57:03.766Z] nexus3.edgexfoundry.org:10003 [2023-09-27T06:57:04.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:57:04.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:57:04.027Z] Configure a credential helper to remove this warning. See [2023-09-27T06:57:04.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:57:04.027Z] [2023-09-27T06:57:04.027Z] Login Succeeded [2023-09-27T06:57:04.027Z] nexus3.edgexfoundry.org:10004 [2023-09-27T06:57:04.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:57:04.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:57:04.027Z] Configure a credential helper to remove this warning. See [2023-09-27T06:57:04.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:57:04.027Z] [2023-09-27T06:57:04.027Z] Login Succeeded [2023-09-27T06:57:04.027Z] docker.io [2023-09-27T06:57:04.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:57:04.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:57:04.546Z] Configure a credential helper to remove this warning. See [2023-09-27T06:57:04.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:57:04.546Z] [2023-09-27T06:57:04.546Z] Login Succeeded [2023-09-27T06:57:04.546Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T06:57:04.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T06:57:04.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T06:57:04.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T06:57:04.638Z] ========================================================= [2023-09-27T06:57:04.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T06:57:04.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:57:04.940Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T06:57:04.941Z] Sending build context to Docker daemon 11.18MB [2023-09-27T06:57:04.941Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T06:57:04.941Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T06:57:04.941Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T06:57:04.941Z] 7264a8db6415: Pulling fs layer [2023-09-27T06:57:04.941Z] c4d48a809fc2: Pulling fs layer [2023-09-27T06:57:04.941Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T06:57:04.941Z] ad3a456e5733: Pulling fs layer [2023-09-27T06:57:04.941Z] 33e27b845d1e: Pulling fs layer [2023-09-27T06:57:04.941Z] c68163c4e522: Pulling fs layer [2023-09-27T06:57:04.941Z] 50da416c3ac9: Pulling fs layer [2023-09-27T06:57:04.941Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T06:57:04.941Z] c68163c4e522: Waiting [2023-09-27T06:57:04.941Z] 23d2d4c4bb30: Waiting [2023-09-27T06:57:04.941Z] 50da416c3ac9: Waiting [2023-09-27T06:57:04.941Z] ad3a456e5733: Waiting [2023-09-27T06:57:04.941Z] 33e27b845d1e: Waiting [2023-09-27T06:57:05.200Z] c4d48a809fc2: Verifying Checksum [2023-09-27T06:57:05.200Z] c4d48a809fc2: Download complete [2023-09-27T06:57:05.200Z] ad3a456e5733: Download complete [2023-09-27T06:57:05.200Z] 33e27b845d1e: Verifying Checksum [2023-09-27T06:57:05.200Z] 33e27b845d1e: Download complete [2023-09-27T06:57:05.200Z] 7264a8db6415: Verifying Checksum [2023-09-27T06:57:05.200Z] 7264a8db6415: Download complete [2023-09-27T06:57:05.200Z] c68163c4e522: Verifying Checksum [2023-09-27T06:57:05.200Z] c68163c4e522: Download complete [2023-09-27T06:57:05.200Z] 7264a8db6415: Pull complete [2023-09-27T06:57:05.460Z] c4d48a809fc2: Pull complete [2023-09-27T06:57:05.460Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T06:57:05.720Z] 4f1c88b9dad5: Verifying Checksum [2023-09-27T06:57:05.720Z] 4f1c88b9dad5: Download complete [2023-09-27T06:57:05.978Z] 50da416c3ac9: Verifying Checksum [2023-09-27T06:57:05.978Z] 50da416c3ac9: Download complete [2023-09-27T06:57:09.271Z] 4f1c88b9dad5: Pull complete [2023-09-27T06:57:09.271Z] ad3a456e5733: Pull complete [2023-09-27T06:57:09.271Z] 33e27b845d1e: Pull complete [2023-09-27T06:57:09.271Z] c68163c4e522: Pull complete [2023-09-27T06:57:11.799Z] 50da416c3ac9: Pull complete [2023-09-27T06:57:12.058Z] 23d2d4c4bb30: Pull complete [2023-09-27T06:57:12.315Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T06:57:12.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T06:57:12.315Z] ---> 0786185ac409 [2023-09-27T06:57:12.315Z] Step 3/10 : ARG MAKE=make build [2023-09-27T06:57:15.614Z] ---> Running in cc425f6e6b48 [2023-09-27T06:57:15.614Z] Removing intermediate container cc425f6e6b48 [2023-09-27T06:57:15.614Z] ---> c9bf83e52ec7 [2023-09-27T06:57:15.614Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T06:57:15.614Z] ---> Running in e6645d5b6e92 [2023-09-27T06:57:15.874Z] Removing intermediate container e6645d5b6e92 [2023-09-27T06:57:15.874Z] ---> 8ff65cff416f [2023-09-27T06:57:15.874Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T06:57:15.874Z] ---> Running in 3467f864eb9c [2023-09-27T06:57:15.874Z] Removing intermediate container 3467f864eb9c [2023-09-27T06:57:15.874Z] ---> 8005d594fa1f [2023-09-27T06:57:15.874Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T06:57:15.874Z] ---> Running in 7559a4871d64 [2023-09-27T06:57:16.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T06:57:16.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T06:57:16.390Z] OK: 264 MiB in 52 packages [2023-09-27T06:57:16.650Z] Removing intermediate container 7559a4871d64 [2023-09-27T06:57:16.650Z] ---> 954b7a3b5d17 [2023-09-27T06:57:16.650Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T06:57:16.909Z] ---> 5c80dbaff350 [2023-09-27T06:57:16.909Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T06:57:16.909Z] ---> Running in 5baf1010a2f6 [2023-09-27T06:57:18.405Z] Still waiting to schedule task [2023-09-27T06:57:18.405Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-27T06:58:13.164Z] Removing intermediate container 5baf1010a2f6 [2023-09-27T06:58:13.164Z] ---> d510668055b4 [2023-09-27T06:58:13.164Z] Step 9/10 : COPY . . [2023-09-27T06:58:13.164Z] ---> 0dc91e61456f [2023-09-27T06:58:13.164Z] Step 10/10 : RUN ${MAKE} [2023-09-27T06:58:13.164Z] ---> Running in 9d67a2d966a3 [2023-09-27T06:58:13.164Z] noop [2023-09-27T06:58:13.164Z] Removing intermediate container 9d67a2d966a3 [2023-09-27T06:58:13.164Z] ---> 83897f001477 [2023-09-27T06:58:13.164Z] Successfully built 83897f001477 [2023-09-27T06:58:13.164Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:58:13.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T06:58:13.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T06:58:13.549Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T06:58:13.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T06:58:13.903Z] $ docker top 3abc57eef0f6304f3fe142ad7c16a3ed00000a42433d1945b49b0ebdf81546d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T06:58:14.239Z] + go version [2023-09-27T06:58:14.239Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T06:58:14.253Z] $ docker stop --time=1 3abc57eef0f6304f3fe142ad7c16a3ed00000a42433d1945b49b0ebdf81546d4 [2023-09-27T06:58:15.486Z] $ docker rm -f --volumes 3abc57eef0f6304f3fe142ad7c16a3ed00000a42433d1945b49b0ebdf81546d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:58:15.886Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T06:58:15.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T06:58:15.961Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T06:58:15.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T06:58:16.322Z] $ docker top 6f75f98e4d4a1cf5fd77dbd5ff9144563b148d95ffd4b822933b6825a140fa55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T06:58:16.665Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-27T06:58:16.962Z] + make test [2023-09-27T06:58:16.962Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T06:58:23.523Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T06:58:38.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T06:58:39.329Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements [2023-09-27T06:58:39.329Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.044s coverage: 80.2% of statements [2023-09-27T06:58:39.587Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements [2023-09-27T06:58:39.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T06:58:40.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T06:58:40.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T06:58:40.526Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements [2023-09-27T06:58:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T06:58:44.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.076s coverage: 14.4% of statements [2023-09-27T06:58:44.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.850s coverage: 45.9% of statements [2023-09-27T06:58:44.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.082s coverage: 68.5% of statements [2023-09-27T06:58:44.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements [2023-09-27T06:58:44.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements [2023-09-27T06:58:47.710Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8017 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-27T06:58:47.723Z] Running in /w/workspace/device-sdk-go/260 [Pipeline] { [Pipeline] checkout [2023-09-27T06:58:47.760Z] The recommended git tool is: git [2023-09-27T06:58:52.694Z] using credential edgex-jenkins-ssh [2023-09-27T06:58:52.708Z] Cloning the remote Git repository [2023-09-27T06:58:52.752Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T06:58:52.842Z] > git init /w/workspace/device-sdk-go/260 # timeout=10 [2023-09-27T06:58:52.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T06:58:52.986Z] > git --version # timeout=10 [2023-09-27T06:58:53.008Z] > git --version # 'git version 2.25.1' [2023-09-27T06:58:53.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T06:58:53.147Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T06:58:54.786Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-27T06:58:54.804Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T06:58:55.572Z] Avoid second fetch [2023-09-27T06:58:55.573Z] Checking out Revision b107614ee9e0a121be0cc16184ca73267025663e (main) [2023-09-27T06:58:56.109Z] Commit message: "Merge pull request #1519 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.44" [2023-09-27T06:58:55.590Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T06:58:55.660Z] > git checkout -f b107614ee9e0a121be0cc16184ca73267025663e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T06:58:57.173Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T06:58:57.173Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T06:58:57.173Z] Dload Upload Total Spent Left Speed [2023-09-27T06:58:57.173Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-09-27T06:58:57.817Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-27T06:58:58.153Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-09-27T06:58:58.153Z] sudo tee /etc/docker/daemon.new [2023-09-27T06:58:58.153Z] { [2023-09-27T06:58:58.153Z] "registry-mirrors": [ [2023-09-27T06:58:58.153Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T06:58:58.153Z] ], [2023-09-27T06:58:58.153Z] "bip": "10.250.0.254/24", [2023-09-27T06:58:58.153Z] "hosts": [ [2023-09-27T06:58:58.153Z] "tcp://0.0.0.0:5555", [2023-09-27T06:58:58.153Z] "unix:///var/run/docker.sock" [2023-09-27T06:58:58.153Z] ], [2023-09-27T06:58:58.153Z] "mtu": 1458, [2023-09-27T06:58:58.153Z] "selinux-enabled": true, [2023-09-27T06:58:58.153Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T06:58:58.153Z] } [Pipeline] sh [2023-09-27T06:58:58.483Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T06:58:58.822Z] + sudo service docker restart [2023-09-27T06:59:06.010Z] GO111MODULE=on go vet ./... [2023-09-27T06:59:08.613Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T06:59:08.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T06:59:08.613Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T06:59:08.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T06:59:08.640Z] $ docker stop --time=1 6f75f98e4d4a1cf5fd77dbd5ff9144563b148d95ffd4b822933b6825a140fa55 [2023-09-27T06:59:12.234Z] $ docker rm -f --volumes 6f75f98e4d4a1cf5fd77dbd5ff9144563b148d95ffd4b822933b6825a140fa55 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T06:59:12.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T06:59:12.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T06:59:13.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T06:59:13.662Z] + ls -al . [2023-09-27T06:59:13.663Z] total 304 [2023-09-27T06:59:13.663Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 06:58 . [2023-09-27T06:59:13.663Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:56 .. [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:56 .dockerignore [2023-09-27T06:59:13.663Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:58 .git [2023-09-27T06:59:13.663Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:56 .github [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 06:56 .gitignore [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:56 .golangci.yml [2023-09-27T06:59:13.663Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:57 .semver [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 06:56 CHANGELOG.md [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:56 GOVERNANCE.md [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 06:56 Jenkinsfile [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:56 LICENSE [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 06:56 Makefile [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:56 OWNERS.md [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 06:56 README.md [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 06:57 VERSION [2023-09-27T06:59:13.663Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:56 bin [2023-09-27T06:59:13.663Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 27 06:58 coverage.out [2023-09-27T06:59:13.663Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:56 example [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 06:56 go.mod [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 06:56 go.sum [2023-09-27T06:59:13.663Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:56 internal [2023-09-27T06:59:13.663Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:56 openapi [2023-09-27T06:59:13.663Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:56 pkg [2023-09-27T06:59:13.663Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:56 snap [2023-09-27T06:59:13.663Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:59:14.081Z] + 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=b107614ee9e0a121be0cc16184ca73267025663e --label arch=amd64 --label version=3.1.0-dev.31 . [2023-09-27T06:59:14.081Z] Sending build context to Docker daemon 11.3MB [2023-09-27T06:59:14.081Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T06:59:14.081Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T06:59:14.081Z] ---> 83897f001477 [2023-09-27T06:59:14.081Z] Step 3/23 : ARG MAKE=make build [2023-09-27T06:59:14.340Z] ---> Running in 9d10e840d11d [2023-09-27T06:59:14.340Z] Removing intermediate container 9d10e840d11d [2023-09-27T06:59:14.340Z] ---> 4024f5e5fc1d [2023-09-27T06:59:14.340Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T06:59:14.340Z] ---> Running in fac4db35d1b7 [2023-09-27T06:59:14.340Z] Removing intermediate container fac4db35d1b7 [2023-09-27T06:59:14.340Z] ---> 2e4c7b1eaca1 [2023-09-27T06:59:14.340Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T06:59:14.597Z] ---> Running in 54c7fd566252 [2023-09-27T06:59:14.597Z] Removing intermediate container 54c7fd566252 [2023-09-27T06:59:14.597Z] ---> 51700e8853e3 [2023-09-27T06:59:14.597Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T06:59:14.597Z] ---> Running in 09cd075ec7a8 [2023-09-27T06:59:14.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T06:59:14.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T06:59:15.116Z] OK: 264 MiB in 52 packages [2023-09-27T06:59:15.375Z] Removing intermediate container 09cd075ec7a8 [2023-09-27T06:59:15.375Z] ---> 0975b0363698 [2023-09-27T06:59:15.375Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T06:59:15.633Z] ---> a6eddc6a33db [2023-09-27T06:59:15.633Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T06:59:15.633Z] ---> Running in 069080601f36 [2023-09-27T06:59:16.199Z] Removing intermediate container 069080601f36 [2023-09-27T06:59:16.199Z] ---> c226124c6d1d [2023-09-27T06:59:16.199Z] Step 9/23 : COPY . . [2023-09-27T06:59:16.766Z] ---> 2a02f67a8662 [2023-09-27T06:59:16.766Z] Step 10/23 : RUN ${MAKE} [2023-09-27T06:59:16.766Z] ---> Running in 03ec5a7c6e8f [2023-09-27T06:59:17.031Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.31" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T06:59:17.066Z] provisioning config files... [2023-09-27T06:59:17.093Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/260@tmp/config4231962022374510754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T06:59:17.438Z] ---> docker-login.sh [2023-09-27T06:59:17.438Z] nexus3.edgexfoundry.org:10001 [2023-09-27T06:59:17.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:59:17.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:59:17.974Z] Configure a credential helper to remove this warning. See [2023-09-27T06:59:17.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:59:17.974Z] [2023-09-27T06:59:17.974Z] Login Succeeded [2023-09-27T06:59:17.974Z] nexus3.edgexfoundry.org:10002 [2023-09-27T06:59:18.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:59:18.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:59:18.242Z] Configure a credential helper to remove this warning. See [2023-09-27T06:59:18.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:59:18.242Z] [2023-09-27T06:59:18.242Z] Login Succeeded [2023-09-27T06:59:18.242Z] nexus3.edgexfoundry.org:10003 [2023-09-27T06:59:18.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:59:18.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:59:18.790Z] Configure a credential helper to remove this warning. See [2023-09-27T06:59:18.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:59:18.790Z] [2023-09-27T06:59:18.790Z] Login Succeeded [2023-09-27T06:59:18.790Z] nexus3.edgexfoundry.org:10004 [2023-09-27T06:59:19.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:59:19.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:59:19.060Z] Configure a credential helper to remove this warning. See [2023-09-27T06:59:19.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:59:19.060Z] [2023-09-27T06:59:19.060Z] Login Succeeded [2023-09-27T06:59:19.060Z] docker.io [2023-09-27T06:59:19.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T06:59:19.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T06:59:19.594Z] Configure a credential helper to remove this warning. See [2023-09-27T06:59:19.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T06:59:19.594Z] [2023-09-27T06:59:19.594Z] Login Succeeded [2023-09-27T06:59:19.594Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T06:59:19.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T06:59:19.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T06:59:19.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T06:59:19.877Z] ========================================================= [2023-09-27T06:59:19.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T06:59:19.877Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:59:20.212Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T06:59:20.479Z] Sending build context to Docker daemon 5.972MB [2023-09-27T06:59:20.479Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T06:59:20.479Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T06:59:20.766Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T06:59:20.766Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T06:59:20.766Z] 5d54e960e981: Pulling fs layer [2023-09-27T06:59:20.766Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T06:59:20.766Z] f0e02332f6b5: Pulling fs layer [2023-09-27T06:59:20.766Z] cefa15bbcfad: Pulling fs layer [2023-09-27T06:59:20.766Z] 17808c966233: Pulling fs layer [2023-09-27T06:59:20.766Z] f4c1fc716caa: Pulling fs layer [2023-09-27T06:59:20.766Z] f0e02332f6b5: Waiting [2023-09-27T06:59:20.766Z] cefa15bbcfad: Waiting [2023-09-27T06:59:20.766Z] 17808c966233: Waiting [2023-09-27T06:59:20.766Z] f4c1fc716caa: Waiting [2023-09-27T06:59:20.766Z] 5d54e960e981: Verifying Checksum [2023-09-27T06:59:20.766Z] 5d54e960e981: Download complete [2023-09-27T06:59:20.766Z] f0e02332f6b5: Verifying Checksum [2023-09-27T06:59:20.766Z] f0e02332f6b5: Download complete [2023-09-27T06:59:20.766Z] cefa15bbcfad: Verifying Checksum [2023-09-27T06:59:20.766Z] cefa15bbcfad: Download complete [2023-09-27T06:59:20.766Z] 9fda8d8052c6: Verifying Checksum [2023-09-27T06:59:20.766Z] 9fda8d8052c6: Download complete [2023-09-27T06:59:21.363Z] f4c1fc716caa: Verifying Checksum [2023-09-27T06:59:21.363Z] f4c1fc716caa: Download complete [2023-09-27T06:59:21.633Z] 9fda8d8052c6: Pull complete [2023-09-27T06:59:22.224Z] 5d54e960e981: Pull complete [2023-09-27T06:59:22.514Z] c4a7e357bf2a: Download complete [2023-09-27T06:59:23.484Z] 17808c966233: Verifying Checksum [2023-09-27T06:59:23.484Z] 17808c966233: Download complete [2023-09-27T06:59:33.584Z] c4a7e357bf2a: Pull complete [2023-09-27T06:59:33.584Z] f0e02332f6b5: Pull complete [2023-09-27T06:59:33.584Z] cefa15bbcfad: Pull complete [2023-09-27T06:59:35.133Z] Removing intermediate container 03ec5a7c6e8f [2023-09-27T06:59:35.133Z] ---> b6dcd384c68d [2023-09-27T06:59:35.133Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T06:59:35.133Z] 3.18: Pulling from library/alpine [2023-09-27T06:59:35.133Z] 7264a8db6415: Already exists [2023-09-27T06:59:35.133Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T06:59:35.133Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T06:59:35.133Z] ---> 7e01a0d0a1dc [2023-09-27T06:59:35.133Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T06:59:35.133Z] ---> Running in 263139cf61b5 [2023-09-27T06:59:35.133Z] Removing intermediate container 263139cf61b5 [2023-09-27T06:59:35.133Z] ---> 0dc8fe908bd9 [2023-09-27T06:59:35.133Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T06:59:35.133Z] ---> Running in bdcccaf04f66 [2023-09-27T06:59:35.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T06:59:35.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T06:59:35.909Z] OK: 7 MiB in 15 packages [2023-09-27T06:59:36.166Z] Removing intermediate container bdcccaf04f66 [2023-09-27T06:59:36.166Z] ---> 9966a8ce4070 [2023-09-27T06:59:36.166Z] Step 14/23 : WORKDIR / [2023-09-27T06:59:36.166Z] ---> Running in 5eb158a8b327 [2023-09-27T06:59:36.423Z] Removing intermediate container 5eb158a8b327 [2023-09-27T06:59:36.423Z] ---> 9ba57b7e9586 [2023-09-27T06:59:36.423Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T06:59:36.423Z] ---> d6f20f3886f5 [2023-09-27T06:59:36.423Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T06:59:37.358Z] ---> 118c9a500e9a [2023-09-27T06:59:37.358Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T06:59:37.358Z] ---> 3036b06f9fdf [2023-09-27T06:59:37.358Z] Step 18/23 : EXPOSE 59999 [2023-09-27T06:59:37.358Z] ---> Running in cafb2deb6443 [2023-09-27T06:59:37.358Z] Removing intermediate container cafb2deb6443 [2023-09-27T06:59:37.358Z] ---> 7127bb93a4ed [2023-09-27T06:59:37.358Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T06:59:37.358Z] ---> Running in 1daa74e055d7 [2023-09-27T06:59:37.616Z] Removing intermediate container 1daa74e055d7 [2023-09-27T06:59:37.616Z] ---> 7074c8bedfb0 [2023-09-27T06:59:37.616Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T06:59:37.616Z] ---> Running in 0f011f010bf4 [2023-09-27T06:59:37.616Z] Removing intermediate container 0f011f010bf4 [2023-09-27T06:59:37.616Z] ---> 0c57daccc994 [2023-09-27T06:59:37.616Z] Step 21/23 : LABEL arch=amd64 [2023-09-27T06:59:37.616Z] ---> Running in 16d69d3820c0 [2023-09-27T06:59:37.616Z] Removing intermediate container 16d69d3820c0 [2023-09-27T06:59:37.616Z] ---> fccf6858f974 [2023-09-27T06:59:37.616Z] Step 22/23 : LABEL git_sha=b107614ee9e0a121be0cc16184ca73267025663e [2023-09-27T06:59:37.616Z] ---> Running in f2930a8002f5 [2023-09-27T06:59:37.874Z] Removing intermediate container f2930a8002f5 [2023-09-27T06:59:37.875Z] ---> c1af67053832 [2023-09-27T06:59:37.875Z] Step 23/23 : LABEL version=3.1.0-dev.31 [2023-09-27T06:59:37.875Z] ---> Running in b72cb52e2200 [2023-09-27T06:59:37.875Z] Removing intermediate container b72cb52e2200 [2023-09-27T06:59:37.875Z] ---> d6696d54aba2 [2023-09-27T06:59:37.875Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T06:59:37.875Z] Successfully built d6696d54aba2 [2023-09-27T06:59:37.875Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:59:38.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T06:59:38.297Z] [2023-09-27T06:59:38.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T06:59:38.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T06:59:38.592Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T06:59:38.592Z] 5eb5b503b376: Pulling fs layer [2023-09-27T06:59:38.592Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T06:59:38.592Z] ec43610c2a17: Pulling fs layer [2023-09-27T06:59:38.592Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T06:59:38.592Z] 33b1e0a273af: Pulling fs layer [2023-09-27T06:59:38.592Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T06:59:38.592Z] 2f39f015ded8: Pulling fs layer [2023-09-27T06:59:38.592Z] 5d3b04190fa2: Waiting [2023-09-27T06:59:38.592Z] 3a2ae6a8a46f: Waiting [2023-09-27T06:59:38.592Z] 33b1e0a273af: Waiting [2023-09-27T06:59:38.592Z] 2f39f015ded8: Waiting [2023-09-27T06:59:38.592Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T06:59:38.592Z] 5c69ac0246d0: Download complete [2023-09-27T06:59:38.592Z] 3a2ae6a8a46f: Download complete [2023-09-27T06:59:38.592Z] 33b1e0a273af: Verifying Checksum [2023-09-27T06:59:38.592Z] 33b1e0a273af: Download complete [2023-09-27T06:59:38.592Z] ec43610c2a17: Verifying Checksum [2023-09-27T06:59:38.592Z] ec43610c2a17: Download complete [2023-09-27T06:59:38.592Z] 5d3b04190fa2: Download complete [2023-09-27T06:59:38.850Z] 5eb5b503b376: Verifying Checksum [2023-09-27T06:59:38.850Z] 5eb5b503b376: Download complete [2023-09-27T06:59:39.589Z] 2f39f015ded8: Download complete [2023-09-27T06:59:40.154Z] 5eb5b503b376: Pull complete [2023-09-27T06:59:40.154Z] 5c69ac0246d0: Pull complete [2023-09-27T06:59:40.364Z] 17808c966233: Pull complete [2023-09-27T06:59:40.718Z] ec43610c2a17: Pull complete [2023-09-27T06:59:40.718Z] 3a2ae6a8a46f: Pull complete [2023-09-27T06:59:40.976Z] 33b1e0a273af: Pull complete [2023-09-27T06:59:40.976Z] 5d3b04190fa2: Pull complete [2023-09-27T06:59:42.391Z] f4c1fc716caa: Pull complete [2023-09-27T06:59:42.391Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T06:59:42.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T06:59:42.391Z] ---> ea914061e18c [2023-09-27T06:59:42.391Z] Step 3/10 : ARG MAKE=make build [2023-09-27T06:59:44.345Z] ---> Running in bd2a93ab819b [2023-09-27T06:59:44.345Z] Removing intermediate container bd2a93ab819b [2023-09-27T06:59:44.345Z] ---> 01875a7daa55 [2023-09-27T06:59:44.345Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T06:59:44.345Z] ---> Running in 571eae06afcd [2023-09-27T06:59:44.614Z] Removing intermediate container 571eae06afcd [2023-09-27T06:59:44.614Z] ---> 6918355de42a [2023-09-27T06:59:44.614Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T06:59:44.614Z] ---> Running in d1f25e3954af [2023-09-27T06:59:44.891Z] Removing intermediate container d1f25e3954af [2023-09-27T06:59:44.891Z] ---> d813ef7b8612 [2023-09-27T06:59:44.891Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T06:59:45.158Z] 2f39f015ded8: Pull complete [2023-09-27T06:59:45.158Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T06:59:45.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T06:59:45.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T06:59:45.158Z] ---> Running in 921e5dde4d8c [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T06:59:45.233Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T06:59:45.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T06:59:46.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T06:59:46.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T06:59:47.794Z] OK: 266 MiB in 52 packages [2023-09-27T06:59:48.389Z] Removing intermediate container 921e5dde4d8c [2023-09-27T06:59:48.389Z] ---> 647b54c9ff35 [2023-09-27T06:59:48.389Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T06:59:48.974Z] ---> 7f8e23a2a670 [2023-09-27T06:59:48.974Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T06:59:48.974Z] ---> Running in 2b6f44327edc [2023-09-27T06:59:49.073Z] $ docker top aa1f1332635de30691c1a1bde308c9f6aca495ce4e76e9c1d2a79bf9d5dcb2b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T06:59:49.468Z] ---> job-cost.sh [2023-09-27T06:59:49.468Z] lf-activate-venv: SKIPPING [2023-09-27T06:59:49.468Z] INFO: No Stack... [2023-09-27T06:59:49.727Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T06:59:49.987Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T06:59:50.278Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-27T06:59:50.278Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T06:59:50.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [2023-09-27T06:59:50.300Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] did not exist. Created. [2023-09-27T06:59:50.300Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T06:59:50.609Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T06:59:50.639Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T06:59:50.645Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T06:59:50.666Z] $ docker stop --time=1 aa1f1332635de30691c1a1bde308c9f6aca495ce4e76e9c1d2a79bf9d5dcb2b8 [2023-09-27T06:59:51.814Z] $ docker rm -f --volumes aa1f1332635de30691c1a1bde308c9f6aca495ce4e76e9c1d2a79bf9d5dcb2b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T07:00:58.566Z] Removing intermediate container 2b6f44327edc [2023-09-27T07:00:58.566Z] ---> 510c1c5f0e8a [2023-09-27T07:00:58.566Z] Step 9/10 : COPY . . [2023-09-27T07:00:58.566Z] ---> f11be5cca59f [2023-09-27T07:00:58.566Z] Step 10/10 : RUN ${MAKE} [2023-09-27T07:00:58.566Z] ---> Running in 648c7723b409 [2023-09-27T07:00:58.566Z] noop [2023-09-27T07:00:58.566Z] Removing intermediate container 648c7723b409 [2023-09-27T07:00:58.566Z] ---> f52aa856ff1a [2023-09-27T07:00:58.566Z] Successfully built f52aa856ff1a [2023-09-27T07:00:58.566Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:00:58.913Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T07:00:58.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:00:59.112Z] prd-ubuntu20.04-docker-arm64-4c-16g-8017 does not seem to be running inside a container [2023-09-27T07:00:59.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/260 -v /w/workspace/device-sdk-go/260:/w/workspace/device-sdk-go/260:rw,z -v /w/workspace/device-sdk-go/260@tmp:/w/workspace/device-sdk-go/260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T07:01:00.309Z] $ docker top 9905ae3472e0dd19c18a130fea57820ea73e5df47de76c06beab62b0d03e6b0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T07:01:01.123Z] + go version [2023-09-27T07:01:01.123Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T07:01:01.142Z] $ docker stop --time=1 9905ae3472e0dd19c18a130fea57820ea73e5df47de76c06beab62b0d03e6b0a [2023-09-27T07:01:02.745Z] $ docker rm -f --volumes 9905ae3472e0dd19c18a130fea57820ea73e5df47de76c06beab62b0d03e6b0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:01:03.289Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T07:01:03.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:01:03.459Z] prd-ubuntu20.04-docker-arm64-4c-16g-8017 does not seem to be running inside a container [2023-09-27T07:01:03.521Z] $ 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/260 -v /w/workspace/device-sdk-go/260:/w/workspace/device-sdk-go/260:rw,z -v /w/workspace/device-sdk-go/260@tmp:/w/workspace/device-sdk-go/260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T07:01:04.583Z] $ docker top 6e5129764fbdfb6656cf0b54ee6333ad9533913c0c73fec046a55c1ee1f97e79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T07:01:05.072Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/260 [Pipeline] fileExists [Pipeline] sh [2023-09-27T07:01:05.714Z] + make test [2023-09-27T07:01:05.714Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T07:01:38.426Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T07:03:15.045Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T07:03:15.045Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T07:03:15.045Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T07:03:15.045Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T07:03:15.045Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T07:03:15.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.225s coverage: 27.6% of statements [2023-09-27T07:03:16.990Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.235s coverage: 80.2% of statements [2023-09-27T07:03:29.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T07:03:29.293Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T07:03:29.293Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.351s coverage: 86.0% of statements [2023-09-27T07:03:33.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T07:03:35.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.636s coverage: 71.8% of statements [2023-09-27T07:03:38.846Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T07:03:38.846Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T07:03:38.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.268s coverage: 14.4% of statements [2023-09-27T07:03:38.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.871s coverage: 45.9% of statements [2023-09-27T07:03:40.254Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.427s coverage: 68.5% of statements [2023-09-27T07:03:42.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.417s coverage: 89.2% of statements [2023-09-27T07:03:43.098Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T07:03:44.500Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.218s coverage: 5.5% of statements [2023-09-27T07:03:45.084Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T07:03:45.084Z] GO111MODULE=on go vet ./... [2023-09-27T07:05:36.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T07:05:36.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T07:05:36.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T07:05:36.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T07:05:36.744Z] $ docker stop --time=1 6e5129764fbdfb6656cf0b54ee6333ad9533913c0c73fec046a55c1ee1f97e79 [2023-09-27T07:05:38.574Z] $ docker rm -f --volumes 6e5129764fbdfb6656cf0b54ee6333ad9533913c0c73fec046a55c1ee1f97e79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T07:05:40.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T07:05:40.199Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T07:05:40.698Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T07:05:41.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T07:05:41.397Z] + ls -al . [2023-09-27T07:05:41.397Z] total 300 [2023-09-27T07:05:41.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 07:01 . [2023-09-27T07:05:41.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:58 .. [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:58 .dockerignore [2023-09-27T07:05:41.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:58 .git [2023-09-27T07:05:41.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:58 .github [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 06:58 .gitignore [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:58 .golangci.yml [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 06:58 CHANGELOG.md [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:58 GOVERNANCE.md [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 06:58 Jenkinsfile [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:58 LICENSE [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 06:58 Makefile [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:58 OWNERS.md [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 06:58 README.md [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 06:57 VERSION [2023-09-27T07:05:41.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:58 bin [2023-09-27T07:05:41.397Z] -rw-r--r-- 1 jenkins jenkins 121387 Sep 27 07:03 coverage.out [2023-09-27T07:05:41.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:58 example [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 06:58 go.mod [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 06:58 go.sum [2023-09-27T07:05:41.397Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:58 internal [2023-09-27T07:05:41.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:58 openapi [2023-09-27T07:05:41.397Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:58 pkg [2023-09-27T07:05:41.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:58 snap [2023-09-27T07:05:41.397Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:05:41.727Z] + 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=b107614ee9e0a121be0cc16184ca73267025663e --label arch=arm64 --label version=3.1.0-dev.31 . [2023-09-27T07:05:41.996Z] Sending build context to Docker daemon 6.095MB [2023-09-27T07:05:41.996Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T07:05:41.996Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T07:05:41.996Z] ---> f52aa856ff1a [2023-09-27T07:05:41.996Z] Step 3/23 : ARG MAKE=make build [2023-09-27T07:05:42.263Z] ---> Running in 3fca239f4991 [2023-09-27T07:05:42.532Z] Removing intermediate container 3fca239f4991 [2023-09-27T07:05:42.532Z] ---> 4854337cbcae [2023-09-27T07:05:42.532Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T07:05:42.532Z] ---> Running in da73c569de5a [2023-09-27T07:05:42.800Z] Removing intermediate container da73c569de5a [2023-09-27T07:05:42.800Z] ---> 4882acadde8f [2023-09-27T07:05:42.800Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T07:05:43.068Z] ---> Running in e16c0fd11306 [2023-09-27T07:05:43.336Z] Removing intermediate container e16c0fd11306 [2023-09-27T07:05:43.336Z] ---> 4af968759579 [2023-09-27T07:05:43.336Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T07:05:43.336Z] ---> Running in 7fae6e669d01 [2023-09-27T07:05:44.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T07:05:44.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T07:05:45.834Z] OK: 266 MiB in 52 packages [2023-09-27T07:05:46.796Z] Removing intermediate container 7fae6e669d01 [2023-09-27T07:05:46.796Z] ---> d08c4cbcda1f [2023-09-27T07:05:46.796Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T07:05:47.383Z] ---> f352937a3fa5 [2023-09-27T07:05:47.383Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T07:05:47.383Z] ---> Running in 821e1d064a28 [2023-09-27T07:05:49.331Z] Removing intermediate container 821e1d064a28 [2023-09-27T07:05:49.331Z] ---> b587c6a3a877 [2023-09-27T07:05:49.331Z] Step 9/23 : COPY . . [2023-09-27T07:05:50.292Z] ---> fc3466714f98 [2023-09-27T07:05:50.292Z] Step 10/23 : RUN ${MAKE} [2023-09-27T07:05:50.292Z] ---> Running in 246ff5f3e239 [2023-09-27T07:05:51.254Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.31" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-27T07:07:31.466Z] Removing intermediate container 246ff5f3e239 [2023-09-27T07:07:31.466Z] ---> 852a9118f975 [2023-09-27T07:07:31.466Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T07:07:31.466Z] 3.18: Pulling from library/alpine [2023-09-27T07:07:31.466Z] 9fda8d8052c6: Already exists [2023-09-27T07:07:31.733Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T07:07:31.733Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T07:07:31.733Z] ---> f6648c04cd6c [2023-09-27T07:07:31.733Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T07:07:31.733Z] ---> Running in f41e3b66d854 [2023-09-27T07:07:32.001Z] Removing intermediate container f41e3b66d854 [2023-09-27T07:07:32.001Z] ---> aa43cd3eba0a [2023-09-27T07:07:32.001Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T07:07:32.269Z] ---> Running in 475c97f3b36a [2023-09-27T07:07:33.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T07:07:33.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T07:07:34.461Z] OK: 8 MiB in 15 packages [2023-09-27T07:07:35.418Z] Removing intermediate container 475c97f3b36a [2023-09-27T07:07:35.418Z] ---> 91a668e170e3 [2023-09-27T07:07:35.418Z] Step 14/23 : WORKDIR / [2023-09-27T07:07:35.418Z] ---> Running in 6e8056d3b768 [2023-09-27T07:07:35.686Z] Removing intermediate container 6e8056d3b768 [2023-09-27T07:07:35.686Z] ---> ba9406b75104 [2023-09-27T07:07:35.686Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T07:07:36.270Z] ---> 19b0efb04ea5 [2023-09-27T07:07:36.270Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T07:07:37.712Z] ---> ad2506f147d7 [2023-09-27T07:07:37.712Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T07:07:37.978Z] ---> 69a59a802bab [2023-09-27T07:07:37.978Z] Step 18/23 : EXPOSE 59999 [2023-09-27T07:07:37.978Z] ---> Running in 67404cafc36f [2023-09-27T07:07:38.245Z] Removing intermediate container 67404cafc36f [2023-09-27T07:07:38.245Z] ---> 72352c23ff46 [2023-09-27T07:07:38.245Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T07:07:38.511Z] ---> Running in 47a715a02254 [2023-09-27T07:07:38.511Z] Removing intermediate container 47a715a02254 [2023-09-27T07:07:38.511Z] ---> 37d72ac8c368 [2023-09-27T07:07:38.511Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T07:07:38.778Z] ---> Running in acb6f109f99e [2023-09-27T07:07:39.046Z] Removing intermediate container acb6f109f99e [2023-09-27T07:07:39.046Z] ---> 97d26f4a796e [2023-09-27T07:07:39.046Z] Step 21/23 : LABEL arch=arm64 [2023-09-27T07:07:39.046Z] ---> Running in bfdeac453bb8 [2023-09-27T07:07:39.313Z] Removing intermediate container bfdeac453bb8 [2023-09-27T07:07:39.313Z] ---> 4962044a317c [2023-09-27T07:07:39.313Z] Step 22/23 : LABEL git_sha=b107614ee9e0a121be0cc16184ca73267025663e [2023-09-27T07:07:39.313Z] ---> Running in d2bf534a903c [2023-09-27T07:07:39.581Z] Removing intermediate container d2bf534a903c [2023-09-27T07:07:39.581Z] ---> cb02929e55f3 [2023-09-27T07:07:39.581Z] Step 23/23 : LABEL version=3.1.0-dev.31 [2023-09-27T07:07:39.581Z] ---> Running in 1e22ee08a614 [2023-09-27T07:07:39.848Z] Removing intermediate container 1e22ee08a614 [2023-09-27T07:07:39.848Z] ---> d39fecb0ed22 [2023-09-27T07:07:39.848Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T07:07:40.188Z] Successfully built d39fecb0ed22 [2023-09-27T07:07:40.188Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:07:40.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T07:07:40.776Z] [2023-09-27T07:07:40.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:07:41.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T07:07:41.118Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T07:07:41.118Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T07:07:41.118Z] 04944245beec: Pulling fs layer [2023-09-27T07:07:41.118Z] 699f458cf7ca: Pulling fs layer [2023-09-27T07:07:41.118Z] 765212b225bb: Pulling fs layer [2023-09-27T07:07:41.118Z] f23df028b6ca: Pulling fs layer [2023-09-27T07:07:41.118Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T07:07:41.118Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T07:07:41.118Z] 765212b225bb: Waiting [2023-09-27T07:07:41.118Z] f23df028b6ca: Waiting [2023-09-27T07:07:41.118Z] d65c8cfc05b1: Waiting [2023-09-27T07:07:41.118Z] 2437ff75d9bd: Waiting [2023-09-27T07:07:41.389Z] 04944245beec: Verifying Checksum [2023-09-27T07:07:41.389Z] 04944245beec: Download complete [2023-09-27T07:07:41.389Z] 765212b225bb: Verifying Checksum [2023-09-27T07:07:41.389Z] 765212b225bb: Download complete [2023-09-27T07:07:41.389Z] f23df028b6ca: Verifying Checksum [2023-09-27T07:07:41.389Z] f23df028b6ca: Download complete [2023-09-27T07:07:41.389Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T07:07:41.389Z] d65c8cfc05b1: Download complete [2023-09-27T07:07:41.666Z] 699f458cf7ca: Verifying Checksum [2023-09-27T07:07:41.666Z] 699f458cf7ca: Download complete [2023-09-27T07:07:41.940Z] 8998bd30e6a1: Verifying Checksum [2023-09-27T07:07:41.940Z] 8998bd30e6a1: Download complete [2023-09-27T07:07:44.546Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T07:07:44.546Z] 2437ff75d9bd: Download complete [2023-09-27T07:07:47.908Z] 8998bd30e6a1: Pull complete [2023-09-27T07:07:48.489Z] 04944245beec: Pull complete [2023-09-27T07:07:49.897Z] 699f458cf7ca: Pull complete [2023-09-27T07:07:49.897Z] 765212b225bb: Pull complete [2023-09-27T07:07:50.503Z] f23df028b6ca: Pull complete [2023-09-27T07:07:50.770Z] d65c8cfc05b1: Pull complete [2023-09-27T07:08:05.796Z] 2437ff75d9bd: Pull complete [2023-09-27T07:08:05.796Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T07:08:05.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T07:08:05.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:08:05.982Z] prd-ubuntu20.04-docker-arm64-4c-16g-8017 does not seem to be running inside a container [2023-09-27T07:08:06.041Z] $ 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/260 -v /w/workspace/device-sdk-go/260:/w/workspace/device-sdk-go/260:rw,z -v /w/workspace/device-sdk-go/260@tmp:/w/workspace/device-sdk-go/260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-27T07:08:08.462Z] $ docker top 9ad31eece1338df9f2de2143f9d9d66c8680408bc875b71067b130e6777563e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:08:08.962Z] ---> job-cost.sh [2023-09-27T07:08:09.225Z] lf-activate-venv: SKIPPING [2023-09-27T07:08:09.225Z] INFO: No Stack... [2023-09-27T07:08:09.802Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T07:08:10.380Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T07:08:10.691Z] + cat /w/workspace/device-sdk-go/260/archives/cost.csv [2023-09-27T07:08:10.691Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T07:08:11.016Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [2023-09-27T07:08:11.022Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] did not exist. Created. [2023-09-27T07:08:11.022Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T07:08:11.358Z] /w/workspace/device-sdk-go/260@tmp/durable-fd6273da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T07:08:11.685Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T07:08:11.700Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T07:08:11.772Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T07:08:11.778Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T07:08:11.794Z] $ docker stop --time=1 9ad31eece1338df9f2de2143f9d9d66c8680408bc875b71067b130e6777563e9 [2023-09-27T07:08:16.413Z] $ docker rm -f --volumes 9ad31eece1338df9f2de2143f9d9d66c8680408bc875b71067b130e6777563e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-27T07:08:16.809Z] provisioning config files... [2023-09-27T07:08:16.815Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17602365512027051151tmp [Pipeline] { [Pipeline] sh [2023-09-27T07:08:17.097Z] + set +x [2023-09-27T07:08:17.097Z] + curl -s https://codecov.io/bash [2023-09-27T07:08:17.097Z] + bash -s -- [2023-09-27T07:08:17.097Z] [2023-09-27T07:08:17.097Z] _____ _ [2023-09-27T07:08:17.097Z] / ____| | | [2023-09-27T07:08:17.097Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T07:08:17.097Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T07:08:17.097Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T07:08:17.097Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T07:08:17.097Z] Bash-1.0.6 [2023-09-27T07:08:17.097Z] [2023-09-27T07:08:17.097Z] [2023-09-27T07:08:17.097Z] ==> git version 2.25.1 found [2023-09-27T07:08:17.097Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-27T07:08:17.097Z] Release-Date: 2020-01-08 [2023-09-27T07:08:17.097Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-27T07:08:17.097Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T07:08:17.097Z] ==> Jenkins CI detected. [2023-09-27T07:08:17.097Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-27T07:08:17.098Z] project root: . [2023-09-27T07:08:17.098Z] --> token set from env [2023-09-27T07:08:17.098Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T07:08:17.098Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T07:08:17.098Z] ==> Python coveragepy not found [2023-09-27T07:08:17.098Z] ==> Searching for coverage reports in: [2023-09-27T07:08:17.098Z] + . [2023-09-27T07:08:17.098Z] -> Found 1 reports [2023-09-27T07:08:17.098Z] ==> Detecting git/mercurial file structure [2023-09-27T07:08:17.098Z] ==> Reading reports [2023-09-27T07:08:17.098Z] + ./coverage.out bytes=121387 [2023-09-27T07:08:17.098Z] ==> Appending adjustments [2023-09-27T07:08:17.098Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T07:08:17.356Z] + Found adjustments [2023-09-27T07:08:17.356Z] ==> Gzipping contents [2023-09-27T07:08:17.616Z] 20K /tmp/codecov.oFomfA.gz [2023-09-27T07:08:17.616Z] ==> Uploading reports [2023-09-27T07:08:17.616Z] url: https://codecov.io [2023-09-27T07:08:17.616Z] query: branch=main&commit=b107614ee9e0a121be0cc16184ca73267025663e&build=260&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F260%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T07:08:17.616Z] -> Pinging Codecov [2023-09-27T07:08:17.616Z] 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=b107614ee9e0a121be0cc16184ca73267025663e&build=260&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F260%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T07:08:17.616Z] -> Uploading to [2023-09-27T07:08:17.616Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/7E55EF52A471D76F132DFD9A03CDDE97/b107614ee9e0a121be0cc16184ca73267025663e/42e14c41-bb5f-433f-bd4b-d06b34a32d23.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T070817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e57e485967b02b3fcd6dec8541582c26d0f820525d46bfb180ace81e0906d06c [2023-09-27T07:08:17.616Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T07:08:17.616Z] Dload Upload Total Spent Left Speed [2023-09-27T07:08:17.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16533 0 0 100 16533 0 62388 --:--:-- --:--:-- --:--:-- 62388 [2023-09-27T07:08:17.875Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] } [2023-09-27T07:08:17.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-27T07:08:18.064Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-27T07:08:18.072Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:08:18.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T07:08:18.366Z] [2023-09-27T07:08:18.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:08:18.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T07:08:18.663Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-27T07:08:18.663Z] df9b9388f04a: Pulling fs layer [2023-09-27T07:08:18.663Z] 52dc419b0ee2: Pulling fs layer [2023-09-27T07:08:18.663Z] 25bc292e5bac: Pulling fs layer [2023-09-27T07:08:18.663Z] 114826534d7a: Pulling fs layer [2023-09-27T07:08:18.663Z] 4657fd5d0bcf: Pulling fs layer [2023-09-27T07:08:18.663Z] 6ad1cebc031e: Pulling fs layer [2023-09-27T07:08:18.663Z] 8a3aa393b2d8: Pulling fs layer [2023-09-27T07:08:18.663Z] 114826534d7a: Waiting [2023-09-27T07:08:18.663Z] 6ad1cebc031e: Waiting [2023-09-27T07:08:18.663Z] 4657fd5d0bcf: Waiting [2023-09-27T07:08:18.663Z] 8a3aa393b2d8: Waiting [2023-09-27T07:08:18.663Z] 25bc292e5bac: Verifying Checksum [2023-09-27T07:08:18.663Z] 25bc292e5bac: Download complete [2023-09-27T07:08:18.663Z] 52dc419b0ee2: Verifying Checksum [2023-09-27T07:08:18.663Z] 52dc419b0ee2: Download complete [2023-09-27T07:08:18.663Z] 4657fd5d0bcf: Verifying Checksum [2023-09-27T07:08:18.663Z] 4657fd5d0bcf: Download complete [2023-09-27T07:08:18.663Z] df9b9388f04a: Verifying Checksum [2023-09-27T07:08:18.663Z] df9b9388f04a: Download complete [2023-09-27T07:08:18.921Z] 6ad1cebc031e: Verifying Checksum [2023-09-27T07:08:18.921Z] 6ad1cebc031e: Download complete [2023-09-27T07:08:19.180Z] df9b9388f04a: Pull complete [2023-09-27T07:08:19.439Z] 52dc419b0ee2: Pull complete [2023-09-27T07:08:19.439Z] 25bc292e5bac: Pull complete [2023-09-27T07:08:19.698Z] 114826534d7a: Verifying Checksum [2023-09-27T07:08:19.698Z] 114826534d7a: Download complete [2023-09-27T07:08:19.956Z] 8a3aa393b2d8: Verifying Checksum [2023-09-27T07:08:19.956Z] 8a3aa393b2d8: Download complete [2023-09-27T07:08:23.236Z] 114826534d7a: Pull complete [2023-09-27T07:08:23.236Z] 4657fd5d0bcf: Pull complete [2023-09-27T07:08:23.236Z] 6ad1cebc031e: Pull complete [2023-09-27T07:08:26.517Z] 8a3aa393b2d8: Pull complete [2023-09-27T07:08:26.517Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-27T07:08:26.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T07:08:26.517Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:08:26.593Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T07:08:26.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-27T07:08:31.236Z] $ docker top bb9225a9d73a5b2a044799a1022a68db50e3650028ec864dae2213ecc5dd41cf -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-27T07:08:31.298Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-27T07:08:31.578Z] + set -o pipefail [2023-09-27T07:08:31.579Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-27T07:08:36.930Z] [2023-09-27T07:08:36.930Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-27T07:08:36.930Z] [2023-09-27T07:08:36.930Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/68d37cfd-6833-4c18-aae8-15c8dfbddfc2 [2023-09-27T07:08:36.930Z] [2023-09-27T07:08:36.930Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-27T07:08:36.930Z] [2023-09-27T07:08:37.497Z] [2023-09-27T07:08:37.497Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-27T07:08:37.497Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-27T07:08:37.497Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-27T07:08:37.511Z] $ docker stop --time=1 bb9225a9d73a5b2a044799a1022a68db50e3650028ec864dae2213ecc5dd41cf [2023-09-27T07:08:40.808Z] $ docker rm -f --volumes bb9225a9d73a5b2a044799a1022a68db50e3650028ec864dae2213ecc5dd41cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-09-27T07:08:41.168Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T07:08:41.177Z] provisioning config files... [2023-09-27T07:08:41.186Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17829825292863985629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:08:41.482Z] --> edgex-publish-swagger.sh [2023-09-27T07:08:41.482Z] === Publish openapi/v3 API === [2023-09-27T07:08:41.482Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-27T07:08:41.482Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-27T07:08:41.482Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T07:08:41.482Z] Dload Upload Total Spent Left Speed [2023-09-27T07:08:41.740Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 49014 --:--:-- --:--:-- --:--:-- 49014 [2023-09-27T07:08:41.740Z] [2023-09-27T07:08:41.740Z] [Pipeline] } [2023-09-27T07:08:41.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T07:08:42.158Z] + git log --format=format:%s -1 b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] sh [2023-09-27T07:08:42.449Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T07:08:42.449Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:08:42.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T07:08:42.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:08:42.826Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T07:08:42.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T07:08:43.392Z] $ docker top 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 -eo pid,comm [2023-09-27T07:08:43.439Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-27T07:08:43.439Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T07:08:43.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T07:08:43.474Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T07:08:43.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T07:08:43.589Z] $ docker exec 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 ssh-agent [2023-09-27T07:08:43.690Z] SSH_AUTH_SOCK=/tmp/ssh-qN7Km0tE1zaX/agent.32 [2023-09-27T07:08:43.690Z] SSH_AGENT_PID=38 [2023-09-27T07:08:43.695Z] Running ssh-add (command line suppressed) [2023-09-27T07:08:43.797Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_478608762737453276.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_478608762737453276.key) [2023-09-27T07:08:43.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T07:08:44.106Z] + git semver tag [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,271 [run_tag] DEBUG tag force:False [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,271 [check_head_tag] DEBUG check head tag [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,272 [execute] INFO git cat-file --batch-check [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,276 [execute] INFO git cat-file --batch [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,294 [execute] INFO git tag -a v3.1.0-dev.31 -m v3.1.0-dev.31 [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,294 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.31', '-m', 'v3.1.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-27T07:08:44.364Z] 2023-09-27 07:08:44,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:08:44.364Z] 3.1.0-dev.31 [Pipeline] } [2023-09-27T07:08:44.375Z] $ docker exec --env ******** --env ******** 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 ssh-agent -k [2023-09-27T07:08:44.477Z] unset SSH_AUTH_SOCK; [2023-09-27T07:08:44.477Z] unset SSH_AGENT_PID; [2023-09-27T07:08:44.477Z] echo Agent pid 38 killed; [2023-09-27T07:08:44.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T07:08:44.787Z] + git semver [Pipeline] } [2023-09-27T07:08:45.060Z] $ docker stop --time=1 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 [2023-09-27T07:08:46.335Z] $ docker rm -f --volumes 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:08:46.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T07:08:46.705Z] [2023-09-27T07:08:46.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:08:47.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T07:08:47.004Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-27T07:08:47.004Z] ab5ef0e58194: Pulling fs layer [2023-09-27T07:08:47.004Z] 9712f1f96733: Pulling fs layer [2023-09-27T07:08:47.004Z] 63f879dbbcfc: Pulling fs layer [2023-09-27T07:08:47.004Z] 0d9ebad4ef96: Pulling fs layer [2023-09-27T07:08:47.004Z] e9a5061849ea: Pulling fs layer [2023-09-27T07:08:47.004Z] d747dcd14b5f: Pulling fs layer [2023-09-27T07:08:47.004Z] 2de7ff778b66: Pulling fs layer [2023-09-27T07:08:47.004Z] e9a5061849ea: Waiting [2023-09-27T07:08:47.004Z] d747dcd14b5f: Waiting [2023-09-27T07:08:47.004Z] 0d9ebad4ef96: Waiting [2023-09-27T07:08:47.004Z] 9712f1f96733: Verifying Checksum [2023-09-27T07:08:47.004Z] 9712f1f96733: Download complete [2023-09-27T07:08:47.578Z] 63f879dbbcfc: Verifying Checksum [2023-09-27T07:08:47.578Z] 63f879dbbcfc: Download complete [2023-09-27T07:08:47.578Z] 0d9ebad4ef96: Verifying Checksum [2023-09-27T07:08:47.578Z] 0d9ebad4ef96: Download complete [2023-09-27T07:08:47.578Z] ab5ef0e58194: Verifying Checksum [2023-09-27T07:08:47.578Z] ab5ef0e58194: Download complete [2023-09-27T07:08:47.578Z] d747dcd14b5f: Verifying Checksum [2023-09-27T07:08:47.578Z] d747dcd14b5f: Download complete [2023-09-27T07:08:47.578Z] e9a5061849ea: Verifying Checksum [2023-09-27T07:08:47.578Z] e9a5061849ea: Download complete [2023-09-27T07:08:47.835Z] 2de7ff778b66: Verifying Checksum [2023-09-27T07:08:47.835Z] 2de7ff778b66: Download complete [2023-09-27T07:08:50.360Z] ab5ef0e58194: Pull complete [2023-09-27T07:08:50.360Z] 9712f1f96733: Pull complete [2023-09-27T07:08:50.924Z] 63f879dbbcfc: Pull complete [2023-09-27T07:08:55.188Z] 0d9ebad4ef96: Pull complete [2023-09-27T07:08:55.188Z] e9a5061849ea: Pull complete [2023-09-27T07:08:55.188Z] d747dcd14b5f: Pull complete [2023-09-27T07:08:55.753Z] 2de7ff778b66: Pull complete [2023-09-27T07:08:55.753Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-27T07:08:55.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T07:08:55.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:08:55.817Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T07:08:55.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-27T07:09:00.568Z] $ docker top bd9dab94c5e33703b5f8cbab412b485ee2428d7cb6c8787969aa16d3f81081a0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-27T07:09:00.629Z] provisioning config files... [2023-09-27T07:09:00.637Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3696146652864242264tmp [2023-09-27T07:09:00.644Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7745326894264556380tmp [2023-09-27T07:09:00.651Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6060531291602767404tmp [Pipeline] { [Pipeline] echo [2023-09-27T07:09:00.662Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:00.939Z] ---> sigul-configuration.sh [2023-09-27T07:09:00.939Z] gpg: directory `/root/.gnupg' created [2023-09-27T07:09:00.939Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-27T07:09:00.939Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-27T07:09:00.939Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-27T07:09:00.939Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-27T07:09:00.939Z] gpg: CAST5 encrypted data [2023-09-27T07:09:00.939Z] gpg: encrypted with 1 passphrase [2023-09-27T07:09:00.939Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-27T07:09:01.228Z] + mkdir /home/jenkins [2023-09-27T07:09:01.228Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-27T07:09:01.513Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-27T07:09:01.521Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:01.804Z] ---> sigul-install.sh [2023-09-27T07:09:01.804Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-27T07:09:02.097Z] + git tag --list [2023-09-27T07:09:02.097Z] 0.7.1 [2023-09-27T07:09:02.097Z] delhi-tag [2023-09-27T07:09:02.097Z] v1.0.0 [2023-09-27T07:09:02.097Z] v1.1.0 [2023-09-27T07:09:02.097Z] v1.1.1 [2023-09-27T07:09:02.097Z] v1.1.2 [2023-09-27T07:09:02.097Z] v1.2.0 [2023-09-27T07:09:02.097Z] v1.2.1 [2023-09-27T07:09:02.097Z] v1.2.2 [2023-09-27T07:09:02.097Z] v1.2.3 [2023-09-27T07:09:02.097Z] v1.3.0 [2023-09-27T07:09:02.097Z] v1.4.0 [2023-09-27T07:09:02.097Z] v2.0.0 [2023-09-27T07:09:02.097Z] v2.1.0 [2023-09-27T07:09:02.097Z] v2.1.1 [2023-09-27T07:09:02.097Z] v2.2.0 [2023-09-27T07:09:02.097Z] v2.3.0 [2023-09-27T07:09:02.097Z] v2.3.1 [2023-09-27T07:09:02.097Z] v3.0 [2023-09-27T07:09:02.097Z] v3.0.0 [2023-09-27T07:09:02.097Z] v3.0.1-dev.1 [2023-09-27T07:09:02.097Z] v3.1.0-dev.1 [2023-09-27T07:09:02.097Z] v3.1.0-dev.10 [2023-09-27T07:09:02.097Z] v3.1.0-dev.11 [2023-09-27T07:09:02.097Z] v3.1.0-dev.12 [2023-09-27T07:09:02.097Z] v3.1.0-dev.13 [2023-09-27T07:09:02.097Z] v3.1.0-dev.14 [2023-09-27T07:09:02.097Z] v3.1.0-dev.15 [2023-09-27T07:09:02.097Z] v3.1.0-dev.16 [2023-09-27T07:09:02.097Z] v3.1.0-dev.17 [2023-09-27T07:09:02.097Z] v3.1.0-dev.18 [2023-09-27T07:09:02.097Z] v3.1.0-dev.19 [2023-09-27T07:09:02.097Z] v3.1.0-dev.2 [2023-09-27T07:09:02.097Z] v3.1.0-dev.20 [2023-09-27T07:09:02.097Z] v3.1.0-dev.21 [2023-09-27T07:09:02.097Z] v3.1.0-dev.22 [2023-09-27T07:09:02.097Z] v3.1.0-dev.23 [2023-09-27T07:09:02.097Z] v3.1.0-dev.24 [2023-09-27T07:09:02.097Z] v3.1.0-dev.25 [2023-09-27T07:09:02.097Z] v3.1.0-dev.26 [2023-09-27T07:09:02.097Z] v3.1.0-dev.27 [2023-09-27T07:09:02.097Z] v3.1.0-dev.28 [2023-09-27T07:09:02.097Z] v3.1.0-dev.29 [2023-09-27T07:09:02.097Z] v3.1.0-dev.3 [2023-09-27T07:09:02.097Z] v3.1.0-dev.30 [2023-09-27T07:09:02.097Z] v3.1.0-dev.31 [2023-09-27T07:09:02.097Z] v3.1.0-dev.4 [2023-09-27T07:09:02.097Z] v3.1.0-dev.5 [2023-09-27T07:09:02.097Z] v3.1.0-dev.6 [2023-09-27T07:09:02.097Z] v3.1.0-dev.7 [2023-09-27T07:09:02.097Z] v3.1.0-dev.8 [2023-09-27T07:09:02.097Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-27T07:09:02.400Z] + lftools sign git-tag v3.1.0-dev.31 [2023-09-27T07:09:02.979Z] Signing Git tag with Sigul... [2023-09-27T07:09:02.979Z] Signing v3.1.0-dev.31 [Pipeline] echo [2023-09-27T07:09:03.556Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:03.838Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-27T07:09:03.846Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-27T07:09:03.867Z] $ docker stop --time=1 bd9dab94c5e33703b5f8cbab412b485ee2428d7cb6c8787969aa16d3f81081a0 [2023-09-27T07:09:05.166Z] $ docker rm -f --volumes bd9dab94c5e33703b5f8cbab412b485ee2428d7cb6c8787969aa16d3f81081a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-27T07:09:06.723Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T07:09:06.723Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:09:07.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T07:09:07.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:09:07.096Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T07:09:07.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T07:09:07.502Z] $ docker top c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 -eo pid,comm [2023-09-27T07:09:07.547Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-27T07:09:07.547Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T07:09:07.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T07:09:07.592Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T07:09:07.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T07:09:07.715Z] $ docker exec c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 ssh-agent [2023-09-27T07:09:07.836Z] SSH_AUTH_SOCK=/tmp/ssh-TJMxhSa4BS7X/agent.32 [2023-09-27T07:09:07.836Z] SSH_AGENT_PID=38 [2023-09-27T07:09:07.841Z] Running ssh-add (command line suppressed) [2023-09-27T07:09:07.957Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8427617575527369724.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8427617575527369724.key) [2023-09-27T07:09:07.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T07:09:08.262Z] + git semver bump pre [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,430 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,430 [bump_version] DEBUG bumping version:3.1.0-dev.31 on axis:pre with prefix:dev [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,431 [bump_version] DEBUG bumped version:3.1.0-dev.32 [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,431 [write_version] DEBUG write version:3.1.0-dev.32 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,431 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,433 [execute] INFO git cat-file --batch-check [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,438 [execute] INFO git cat-file --batch [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T07:09:08.521Z] 2023-09-27 07:09:08,442 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:09:08.521Z] 3.1.0-dev.32 [Pipeline] } [2023-09-27T07:09:08.532Z] $ docker exec --env ******** --env ******** c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 ssh-agent -k [2023-09-27T07:09:08.639Z] unset SSH_AUTH_SOCK; [2023-09-27T07:09:08.639Z] unset SSH_AGENT_PID; [2023-09-27T07:09:08.639Z] echo Agent pid 38 killed; [2023-09-27T07:09:08.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T07:09:08.958Z] + git semver [Pipeline] } [2023-09-27T07:09:09.232Z] $ docker stop --time=1 c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 [2023-09-27T07:09:10.810Z] $ docker rm -f --volumes c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T07:09:11.139Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T07:09:11.139Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:09:11.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T07:09:11.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:09:11.509Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T07:09:11.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T07:09:11.894Z] $ docker top 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T07:09:11.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T07:09:11.976Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T07:09:12.086Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T07:09:12.091Z] $ docker exec 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 ssh-agent [2023-09-27T07:09:12.193Z] SSH_AUTH_SOCK=/tmp/ssh-VIekarKp2cnr/agent.31 [2023-09-27T07:09:12.193Z] SSH_AGENT_PID=37 [2023-09-27T07:09:12.198Z] Running ssh-add (command line suppressed) [2023-09-27T07:09:12.300Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17801141054764769069.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17801141054764769069.key) [2023-09-27T07:09:12.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T07:09:12.602Z] + git semver push [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,780 [run_push] DEBUG push [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,781 [execute] INFO git cat-file --batch-check [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,785 [execute] INFO git rev-list 9bdfa151dbbc2890361fe270bc141d39bc928e83 -- [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,786 [execute] DEBUG Popen(['git', 'rev-list', '9bdfa151dbbc2890361fe270bc141d39bc928e83', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,799 [execute] INFO git fetch -v origin [2023-09-27T07:09:12.861Z] 2023-09-27 07:09:12,799 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-27T07:09:13.429Z] 2023-09-27 07:09:13,339 [run_push] DEBUG no remote changes detected [2023-09-27T07:09:13.429Z] 2023-09-27 07:09:13,340 [execute] INFO git push origin semver [2023-09-27T07:09:13.429Z] 2023-09-27 07:09:13,340 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-27T07:09:14.367Z] 2023-09-27 07:09:14,360 [run_push] DEBUG push all version tags [2023-09-27T07:09:14.367Z] 2023-09-27 07:09:14,360 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-27T07:09:14.367Z] 2023-09-27 07:09:14,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-27T07:09:15.305Z] 2023-09-27 07:09:15,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T07:09:15.305Z] 3.1.0-dev.32 [Pipeline] } [2023-09-27T07:09:15.316Z] $ docker exec --env ******** --env ******** 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 ssh-agent -k [2023-09-27T07:09:15.402Z] unset SSH_AUTH_SOCK; [2023-09-27T07:09:15.403Z] unset SSH_AGENT_PID; [2023-09-27T07:09:15.403Z] echo Agent pid 37 killed; [2023-09-27T07:09:15.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T07:09:15.712Z] + git semver [Pipeline] } [2023-09-27T07:09:15.988Z] $ docker stop --time=1 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 [2023-09-27T07:09:17.317Z] $ docker rm -f --volumes 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-27T07:09:17.894Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-27T07:09:17.894Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-27T07:09:17.894Z] total 16 [2023-09-27T07:09:17.894Z] drwxr-xr-x 3 root root 4096 Sep 27 06:59 . [2023-09-27T07:09:17.894Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 07:09 .. [2023-09-27T07:09:17.894Z] drwxr-xr-x 2 root root 4096 Sep 27 06:59 cost [2023-09-27T07:09:17.894Z] -rw-r--r-- 1 root root 85 Sep 27 06:59 cost.csv [2023-09-27T07:09:17.894Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-27T07:09:17.894Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-27T07:09:17.894Z] total 16 [2023-09-27T07:09:17.894Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:59 . [2023-09-27T07:09:17.894Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 07:09 .. [2023-09-27T07:09:17.894Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 06:59 cost [2023-09-27T07:09:17.894Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 27 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:18.188Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:19.046Z] ---> package-listing.sh [2023-09-27T07:09:19.046Z] ++ facter osfamily [2023-09-27T07:09:19.046Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T07:09:19.315Z] + OS_FAMILY=debian [2023-09-27T07:09:19.315Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-27T07:09:19.315Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T07:09:19.315Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T07:09:19.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T07:09:19.315Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T07:09:19.315Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-27T07:09:19.315Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T07:09:19.315Z] + case "${OS_FAMILY}" in [2023-09-27T07:09:19.315Z] + dpkg -l [2023-09-27T07:09:19.315Z] + grep '^ii' [2023-09-27T07:09:19.315Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T07:09:19.315Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T07:09:19.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T07:09:19.315Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-27T07:09:19.315Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-27T07:09:19.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-09-27T07:09:19.327Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-27T07:09:19.605Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T07:09:20.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T07:09:20.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T07:09:20.236Z] prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container [2023-09-27T07:09:20.269Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T07:09:20.491Z] $ docker top 2420df59b2d6f54fb0a6c2ed5e9bc62571745267c9daebdd2cfb52d6a0da64d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T07:09:20.828Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T07:09:21.115Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T07:09:21.400Z] + ls /var/log/sa-host [2023-09-27T07:09:21.400Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T07:09:21.558Z] provisioning config files... [2023-09-27T07:09:21.567Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7971350598495784395tmp [Pipeline] { [Pipeline] echo [2023-09-27T07:09:21.579Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:21.861Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T07:09:21.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:22.336Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T07:09:22.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:22.682Z] ---> sudo-logs.sh [2023-09-27T07:09:22.682Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T07:09:22.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:22.988Z] ---> job-cost.sh [2023-09-27T07:09:22.988Z] lf-activate-venv: SKIPPING [2023-09-27T07:09:22.988Z] DEBUG: total: 0.2199999988079071 [2023-09-27T07:09:22.988Z] INFO: Retrieving Stack Cost... [2023-09-27T07:09:23.556Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T07:09:23.814Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T07:09:23.824Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T07:09:24.106Z] ---> logs-deploy.sh [2023-09-27T07:09:24.106Z] lf-activate-venv: SKIPPING [2023-09-27T07:09:24.106Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/260 [2023-09-27T07:09:24.106Z] INFO: archiving workspace using pattern(s): [2023-09-27T07:09:25.043Z] Archives upload complete. [2023-09-27T07:09:25.043Z] INFO: archiving logs to Nexus