Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 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-ssh1668234572313717235.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-ssh4869768132799139763.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-ssh7017840166342530757.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-ssh13347971587166397001.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-ssh13886745028006543456.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6601’ Running on prd-ubuntu20.04-docker-8c-8g-6603 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 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 (main) Commit message: "Merge pull request #1513 from ejlee3/provision-index" > 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 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 > git rev-list --no-walk 98543e36ecf96a570242d73ea5ad964aaa05b01f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T18:34:45.178Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T18:34:45.234Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T18:34:45.246Z] ========================================================= [2023-09-19T18:34:45.246Z] EdgeX Global Pipelines Version Info [2023-09-19T18:34:45.246Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:34:45.990Z] ------------------- [2023-09-19T18:34:45.990Z] stable info: [2023-09-19T18:34:45.990Z] ------------------- [2023-09-19T18:34:45.990Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T18:34:45.990Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T18:34:45.991Z] Message: update stable to v1.0.254 [2023-09-19T18:34:46.560Z] ------------------- [2023-09-19T18:34:46.560Z] experimental info: [2023-09-19T18:34:46.560Z] ------------------- [2023-09-19T18:34:46.560Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T18:34:46.560Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T18:34:46.560Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T18:34:46.727Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-19T18:34:46.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-19T18:34:46.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T18:34:46.788Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T18:34:46.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T18:34:46.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T18:34:46.835Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T18:34:46.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-19T18:34:46.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T18:34:46.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T18:34:46.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T18:34:46.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-19T18:34:46.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T18:34:46.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T18:34:46.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T18:34:46.972Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:34:46.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:34:46.993Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:34:47.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T18:34:47.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T18:34:47.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-19T18:34:47.057Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-19T18:34:47.077Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T18:34:47.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T18:34:47.112Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T18:34:47.135Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T18:34:47.148Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T18:34:47.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-19T18:34:47.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-19T18:34:47.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-19T18:34:47.204Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo [2023-09-19T18:34:47.223Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aeefe5b [Pipeline] echo [2023-09-19T18:34:47.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:34:47.300Z] provisioning config files... [2023-09-19T18:34:47.314Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17742513343754540115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:34:47.618Z] ---> docker-login.sh [2023-09-19T18:34:47.618Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:34:47.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:34:47.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:34:47.882Z] Configure a credential helper to remove this warning. See [2023-09-19T18:34:47.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:34:47.882Z] [2023-09-19T18:34:47.882Z] Login Succeeded [2023-09-19T18:34:47.882Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:34:47.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:34:47.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:34:47.882Z] Configure a credential helper to remove this warning. See [2023-09-19T18:34:47.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:34:47.882Z] [2023-09-19T18:34:47.882Z] Login Succeeded [2023-09-19T18:34:47.882Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:34:48.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:34:48.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:34:48.142Z] Configure a credential helper to remove this warning. See [2023-09-19T18:34:48.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:34:48.142Z] [2023-09-19T18:34:48.142Z] Login Succeeded [2023-09-19T18:34:48.142Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:34:48.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:34:48.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:34:48.142Z] Configure a credential helper to remove this warning. See [2023-09-19T18:34:48.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:34:48.142Z] [2023-09-19T18:34:48.142Z] Login Succeeded [2023-09-19T18:34:48.142Z] docker.io [2023-09-19T18:34:48.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:34:48.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:34:48.406Z] Configure a credential helper to remove this warning. See [2023-09-19T18:34:48.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:34:48.406Z] [2023-09-19T18:34:48.406Z] Login Succeeded [2023-09-19T18:34:48.406Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:34:48.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T18:34:48.758Z] + git rev-list -1 --merges aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02~1..aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo [2023-09-19T18:34:48.803Z] -----------> git rev-list -1 --merges aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02~1..aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [2023-09-19T18:34:48.803Z] aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [false] [Pipeline] sh [2023-09-19T18:34:49.100Z] + git log --format=format:%s -1 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo [2023-09-19T18:34:49.123Z] ========================================================= [2023-09-19T18:34:49.123Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T18:34:49.123Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:34:49.457Z] + git log --format=format:%s -1 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo [2023-09-19T18:34:49.468Z] [semverPrep] GIT_COMMIT: aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02, Commit Message: Merge pull request #1513 from ejlee3/provision-index [Pipeline] echo [2023-09-19T18:34:49.479Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T18:34:49.825Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T18:34:49.825Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T18:34:49.825Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T18:34:49.825Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T18:34:49.825Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T18:34:49.825Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T18:34:49.825Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:34:50.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:34:50.183Z] [2023-09-19T18:34:50.183Z] 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-19T18:34:50.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:34:50.488Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T18:34:50.488Z] b85a868b505f: Pulling fs layer [2023-09-19T18:34:50.488Z] e2be974225ed: Pulling fs layer [2023-09-19T18:34:50.488Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T18:34:50.488Z] 988bab9f4d93: Pulling fs layer [2023-09-19T18:34:50.488Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T18:34:50.488Z] eaf3925da568: Pulling fs layer [2023-09-19T18:34:50.488Z] bab4dde63d76: Pulling fs layer [2023-09-19T18:34:50.488Z] bde34c3a00c8: Pulling fs layer [2023-09-19T18:34:50.488Z] b352a97aabf1: Pulling fs layer [2023-09-19T18:34:50.488Z] 4872d77fe225: Pulling fs layer [2023-09-19T18:34:50.488Z] 5851b861e8e6: Pulling fs layer [2023-09-19T18:34:50.488Z] 988bab9f4d93: Waiting [2023-09-19T18:34:50.488Z] 4872d77fe225: Waiting [2023-09-19T18:34:50.488Z] eaf3925da568: Waiting [2023-09-19T18:34:50.488Z] 1469e6f7b9e6: Waiting [2023-09-19T18:34:50.488Z] 5851b861e8e6: Waiting [2023-09-19T18:34:50.488Z] b352a97aabf1: Waiting [2023-09-19T18:34:50.488Z] bde34c3a00c8: Waiting [2023-09-19T18:34:50.488Z] bab4dde63d76: Waiting [2023-09-19T18:34:50.488Z] e2be974225ed: Verifying Checksum [2023-09-19T18:34:50.488Z] e2be974225ed: Download complete [2023-09-19T18:34:50.488Z] 988bab9f4d93: Verifying Checksum [2023-09-19T18:34:50.488Z] 988bab9f4d93: Download complete [2023-09-19T18:34:50.488Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T18:34:50.488Z] 339a4e72a1f5: Download complete [2023-09-19T18:34:50.488Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T18:34:50.488Z] 1469e6f7b9e6: Download complete [2023-09-19T18:34:50.488Z] eaf3925da568: Verifying Checksum [2023-09-19T18:34:50.488Z] eaf3925da568: Download complete [2023-09-19T18:34:50.756Z] bde34c3a00c8: Verifying Checksum [2023-09-19T18:34:50.756Z] bde34c3a00c8: Download complete [2023-09-19T18:34:50.756Z] b352a97aabf1: Verifying Checksum [2023-09-19T18:34:50.756Z] b352a97aabf1: Download complete [2023-09-19T18:34:50.756Z] 4872d77fe225: Verifying Checksum [2023-09-19T18:34:50.756Z] 4872d77fe225: Download complete [2023-09-19T18:34:50.756Z] 5851b861e8e6: Verifying Checksum [2023-09-19T18:34:50.756Z] 5851b861e8e6: Download complete [2023-09-19T18:34:50.756Z] b85a868b505f: Verifying Checksum [2023-09-19T18:34:50.756Z] b85a868b505f: Download complete [2023-09-19T18:34:51.026Z] bab4dde63d76: Verifying Checksum [2023-09-19T18:34:51.026Z] bab4dde63d76: Download complete [2023-09-19T18:34:52.446Z] b85a868b505f: Pull complete [2023-09-19T18:34:52.446Z] e2be974225ed: Pull complete [2023-09-19T18:34:52.707Z] 339a4e72a1f5: Pull complete [2023-09-19T18:34:52.707Z] 988bab9f4d93: Pull complete [2023-09-19T18:34:53.276Z] 1469e6f7b9e6: Pull complete [2023-09-19T18:34:53.276Z] eaf3925da568: Pull complete [2023-09-19T18:34:55.176Z] bab4dde63d76: Pull complete [2023-09-19T18:34:55.176Z] bde34c3a00c8: Pull complete [2023-09-19T18:34:55.176Z] b352a97aabf1: Pull complete [2023-09-19T18:34:55.435Z] 4872d77fe225: Pull complete [2023-09-19T18:34:55.435Z] 5851b861e8e6: Pull complete [2023-09-19T18:34:55.435Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T18:34:55.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:34:55.435Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:34:55.523Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:34:55.557Z] $ 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-19T18:34:58.208Z] $ docker top fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b -eo pid,comm [2023-09-19T18:34:58.261Z] 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-19T18:34:58.261Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T18:34:58.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:34:58.297Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:34:58.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:34:58.443Z] $ docker exec fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent [2023-09-19T18:34:58.572Z] SSH_AUTH_SOCK=/tmp/ssh-uqTRQ0vFhH5H/agent.32 [2023-09-19T18:34:58.572Z] SSH_AGENT_PID=38 [2023-09-19T18:34:58.577Z] Running ssh-add (command line suppressed) [2023-09-19T18:34:58.687Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17030027209010789050.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17030027209010789050.key) [2023-09-19T18:34:58.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:34:58.982Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T18:34:59.001Z] $ docker exec --env ******** --env ******** fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent -k [2023-09-19T18:34:59.099Z] unset SSH_AUTH_SOCK; [2023-09-19T18:34:59.100Z] unset SSH_AGENT_PID; [2023-09-19T18:34:59.100Z] echo Agent pid 38 killed; [2023-09-19T18:34:59.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T18:34:59.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:34:59.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:34:59.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:34:59.252Z] $ docker exec fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent [2023-09-19T18:34:59.356Z] SSH_AUTH_SOCK=/tmp/ssh-GnAag20akXKr/agent.70 [2023-09-19T18:34:59.356Z] SSH_AGENT_PID=76 [2023-09-19T18:34:59.361Z] Running ssh-add (command line suppressed) [2023-09-19T18:34:59.475Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5168749605008810062.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5168749605008810062.key) [2023-09-19T18:34:59.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:34:59.779Z] + git semver init [2023-09-19T18:35:02.710Z] 2023-09-19 18:34:59,965 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T18:35:02.710Z] 2023-09-19 18:34:59,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-19T18:35:02.710Z] 2023-09-19 18:34:59,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-19T18:35:02.710Z] 2023-09-19 18:34:59,966 [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-19T18:35:03.650Z] 2023-09-19 18:35:03,495 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-19T18:35:03.650Z] 2023-09-19 18:35:03,495 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-19T18:35:03.650Z] 2023-09-19 18:35:03,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:35:03.650Z] 2023-09-19 18:35:03,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:35:03.650Z] 3.1.0-dev.26 [Pipeline] } [2023-09-19T18:35:03.663Z] $ docker exec --env ******** --env ******** fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent -k [2023-09-19T18:35:03.753Z] unset SSH_AUTH_SOCK; [2023-09-19T18:35:03.754Z] unset SSH_AGENT_PID; [2023-09-19T18:35:03.754Z] echo Agent pid 76 killed; [2023-09-19T18:35:03.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T18:35:04.073Z] + git semver [Pipeline] } [2023-09-19T18:35:04.351Z] $ docker stop --time=1 fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b [2023-09-19T18:35:05.684Z] $ docker rm -f --volumes fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:35:06.028Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T18:35:06.228Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T18:35:06.231Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.26 [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-19T18:35:06.383Z] provisioning config files... [2023-09-19T18:35:06.394Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5881666068137116813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:35:06.690Z] ---> docker-login.sh [2023-09-19T18:35:06.690Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:35:06.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:35:06.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:35:06.690Z] Configure a credential helper to remove this warning. See [2023-09-19T18:35:06.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:35:06.690Z] [2023-09-19T18:35:06.690Z] Login Succeeded [2023-09-19T18:35:06.690Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:35:06.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:35:06.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:35:06.690Z] Configure a credential helper to remove this warning. See [2023-09-19T18:35:06.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:35:06.690Z] [2023-09-19T18:35:06.690Z] Login Succeeded [2023-09-19T18:35:06.690Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:35:06.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:35:06.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:35:06.951Z] Configure a credential helper to remove this warning. See [2023-09-19T18:35:06.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:35:06.951Z] [2023-09-19T18:35:06.951Z] Login Succeeded [2023-09-19T18:35:06.951Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:35:06.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:35:06.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:35:06.951Z] Configure a credential helper to remove this warning. See [2023-09-19T18:35:06.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:35:06.951Z] [2023-09-19T18:35:06.951Z] Login Succeeded [2023-09-19T18:35:06.951Z] docker.io [2023-09-19T18:35:07.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:35:07.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:35:07.216Z] Configure a credential helper to remove this warning. See [2023-09-19T18:35:07.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:35:07.216Z] [2023-09-19T18:35:07.216Z] Login Succeeded [2023-09-19T18:35:07.216Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:35:07.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T18:35:07.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:35:07.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:35:07.314Z] ========================================================= [2023-09-19T18:35:07.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T18:35:07.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:35:07.646Z] + 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-19T18:35:07.646Z] Sending build context to Docker daemon 11.14MB [2023-09-19T18:35:07.646Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:35:07.646Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T18:35:07.646Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T18:35:07.646Z] 7264a8db6415: Pulling fs layer [2023-09-19T18:35:07.646Z] c4d48a809fc2: Pulling fs layer [2023-09-19T18:35:07.646Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T18:35:07.646Z] ad3a456e5733: Pulling fs layer [2023-09-19T18:35:07.646Z] 9e4f439ed901: Pulling fs layer [2023-09-19T18:35:07.646Z] feaf6a47b606: Pulling fs layer [2023-09-19T18:35:07.646Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T18:35:07.646Z] 8ac70367396e: Pulling fs layer [2023-09-19T18:35:07.646Z] 6db16350a2e2: Pulling fs layer [2023-09-19T18:35:07.646Z] 9250d5d63582: Pulling fs layer [2023-09-19T18:35:07.646Z] ad3a456e5733: Waiting [2023-09-19T18:35:07.646Z] 9e4f439ed901: Waiting [2023-09-19T18:35:07.646Z] 6db16350a2e2: Waiting [2023-09-19T18:35:07.646Z] 9250d5d63582: Waiting [2023-09-19T18:35:07.646Z] 8ac70367396e: Waiting [2023-09-19T18:35:07.646Z] 5e8b037d7d82: Waiting [2023-09-19T18:35:07.646Z] c4d48a809fc2: Download complete [2023-09-19T18:35:07.908Z] ad3a456e5733: Verifying Checksum [2023-09-19T18:35:07.908Z] ad3a456e5733: Download complete [2023-09-19T18:35:07.908Z] 9e4f439ed901: Download complete [2023-09-19T18:35:07.908Z] 7264a8db6415: Verifying Checksum [2023-09-19T18:35:07.908Z] 7264a8db6415: Download complete [2023-09-19T18:35:07.908Z] feaf6a47b606: Verifying Checksum [2023-09-19T18:35:07.908Z] feaf6a47b606: Download complete [2023-09-19T18:35:07.908Z] 7264a8db6415: Pull complete [2023-09-19T18:35:08.172Z] 8ac70367396e: Verifying Checksum [2023-09-19T18:35:08.172Z] 8ac70367396e: Download complete [2023-09-19T18:35:08.172Z] c4d48a809fc2: Pull complete [2023-09-19T18:35:08.172Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T18:35:08.172Z] 4f1c88b9dad5: Download complete [2023-09-19T18:35:08.437Z] 6db16350a2e2: Verifying Checksum [2023-09-19T18:35:08.437Z] 6db16350a2e2: Download complete [2023-09-19T18:35:08.437Z] 9250d5d63582: Verifying Checksum [2023-09-19T18:35:08.437Z] 9250d5d63582: Download complete [2023-09-19T18:35:08.701Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T18:35:08.701Z] 5e8b037d7d82: Download complete [2023-09-19T18:35:11.246Z] 4f1c88b9dad5: Pull complete [2023-09-19T18:35:11.504Z] ad3a456e5733: Pull complete [2023-09-19T18:35:11.504Z] 9e4f439ed901: Pull complete [2023-09-19T18:35:11.504Z] feaf6a47b606: Pull complete [2023-09-19T18:35:14.038Z] 5e8b037d7d82: Pull complete [2023-09-19T18:35:14.296Z] 8ac70367396e: Pull complete [2023-09-19T18:35:14.555Z] 6db16350a2e2: Pull complete [2023-09-19T18:35:15.122Z] 9250d5d63582: Pull complete [2023-09-19T18:35:15.122Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T18:35:15.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T18:35:15.122Z] ---> fa269f55d9b9 [2023-09-19T18:35:15.122Z] Step 3/10 : ARG MAKE=make build [2023-09-19T18:35:19.366Z] ---> Running in 3a03e8f763b6 [2023-09-19T18:35:19.366Z] Removing intermediate container 3a03e8f763b6 [2023-09-19T18:35:19.366Z] ---> 1c0c82652094 [2023-09-19T18:35:19.366Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T18:35:19.366Z] ---> Running in a9acc2c1b35b [2023-09-19T18:35:19.366Z] Removing intermediate container a9acc2c1b35b [2023-09-19T18:35:19.366Z] ---> c13fd902db75 [2023-09-19T18:35:19.366Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:35:19.366Z] ---> Running in b16cbd5e66af [2023-09-19T18:35:19.366Z] Removing intermediate container b16cbd5e66af [2023-09-19T18:35:19.366Z] ---> 02b10ea00fb0 [2023-09-19T18:35:19.366Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T18:35:19.366Z] ---> Running in 42e7316c918e [2023-09-19T18:35:19.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:35:19.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:35:19.633Z] OK: 265 MiB in 56 packages [2023-09-19T18:35:19.898Z] Removing intermediate container 42e7316c918e [2023-09-19T18:35:19.898Z] ---> d86beef8e703 [2023-09-19T18:35:19.898Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T18:35:20.165Z] ---> 1b5152dce160 [2023-09-19T18:35:20.165Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:35:20.165Z] ---> Running in 842abe1dfc8a [2023-09-19T18:35:21.339Z] Still waiting to schedule task [2023-09-19T18:35:21.339Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6602’ is offline [2023-09-19T18:35:58.910Z] Removing intermediate container 842abe1dfc8a [2023-09-19T18:35:58.910Z] ---> 4185ce0ed4f3 [2023-09-19T18:35:58.910Z] Step 9/10 : COPY . . [2023-09-19T18:35:58.910Z] ---> 59d2ec06beaf [2023-09-19T18:35:58.910Z] Step 10/10 : RUN ${MAKE} [2023-09-19T18:35:58.910Z] ---> Running in 9514effdab40 [2023-09-19T18:35:58.910Z] noop [2023-09-19T18:35:58.910Z] Removing intermediate container 9514effdab40 [2023-09-19T18:35:58.910Z] ---> f4feca8ec2a5 [2023-09-19T18:35:58.910Z] Successfully built f4feca8ec2a5 [2023-09-19T18:35:58.911Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:35:59.226Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T18:35:59.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:35:59.293Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:35:59.335Z] $ 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-19T18:35:59.672Z] $ docker top 072115f2eb83f46873bd20db45e45e4598e4c91d894801c9e8721471cb6ae7c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:36:00.019Z] + go version [2023-09-19T18:36:00.019Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T18:36:00.033Z] $ docker stop --time=1 072115f2eb83f46873bd20db45e45e4598e4c91d894801c9e8721471cb6ae7c3 [2023-09-19T18:36:01.315Z] $ docker rm -f --volumes 072115f2eb83f46873bd20db45e45e4598e4c91d894801c9e8721471cb6ae7c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:36:01.704Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T18:36:01.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:36:01.781Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:36:01.816Z] $ 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-19T18:36:02.148Z] $ docker top 43803d4f0f70c46ef66b758bb53ba4d3c89458dc7251a07e8c8d3dc1fc82f999 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:36:02.489Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-19T18:36:02.795Z] + make test [2023-09-19T18:36:02.795Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T18:36:09.367Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T18:36:24.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T18:36:24.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T18:36:24.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T18:36:24.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T18:36:24.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T18:36:24.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T18:36:24.799Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T18:36:25.366Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.046s coverage: 27.6% of statements [2023-09-19T18:36:25.624Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.051s coverage: 80.2% of statements [2023-09-19T18:36:25.624Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements [2023-09-19T18:36:25.882Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T18:36:26.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T18:36:26.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T18:36:26.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 71.8% of statements [2023-09-19T18:36:27.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T18:36:30.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.046s coverage: 14.4% of statements [2023-09-19T18:36:30.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.768s coverage: 45.9% of statements [2023-09-19T18:36:30.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements [2023-09-19T18:36:30.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 89.2% of statements [2023-09-19T18:36:30.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.5% of statements [2023-09-19T18:36:52.398Z] GO111MODULE=on go vet ./... [2023-09-19T18:36:54.649Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6604 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-19T18:36:54.661Z] Running in /w/workspace/device-sdk-go/255 [Pipeline] { [Pipeline] checkout [2023-09-19T18:36:54.765Z] The recommended git tool is: git [2023-09-19T18:36:55.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T18:36:55.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T18:36:55.702Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T18:36:55.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T18:36:55.725Z] $ docker stop --time=1 43803d4f0f70c46ef66b758bb53ba4d3c89458dc7251a07e8c8d3dc1fc82f999 [2023-09-19T18:36:59.161Z] $ docker rm -f --volumes 43803d4f0f70c46ef66b758bb53ba4d3c89458dc7251a07e8c8d3dc1fc82f999 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:36:59.520Z] using credential edgex-jenkins-ssh [2023-09-19T18:36:59.534Z] Cloning the remote Git repository [2023-09-19T18:36:59.581Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:36:59.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T18:36:59.837Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T18:37:00.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T18:37:00.727Z] + ls -al . [2023-09-19T18:37:00.728Z] total 304 [2023-09-19T18:37:00.728Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 18:36 . [2023-09-19T18:37:00.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:34 .. [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:34 .dockerignore [2023-09-19T18:37:00.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:36 .git [2023-09-19T18:37:00.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:34 .github [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:34 .gitignore [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:34 .golangci.yml [2023-09-19T18:37:00.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:35 .semver [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:34 CHANGELOG.md [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:34 GOVERNANCE.md [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:34 Jenkinsfile [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:34 LICENSE [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:34 Makefile [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:34 OWNERS.md [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:34 README.md [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 18:35 VERSION [2023-09-19T18:37:00.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:34 bin [2023-09-19T18:37:00.728Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 18:36 coverage.out [2023-09-19T18:37:00.728Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:34 example [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:34 go.mod [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:34 go.sum [2023-09-19T18:37:00.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:34 internal [2023-09-19T18:37:00.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:34 openapi [2023-09-19T18:37:00.728Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:34 pkg [2023-09-19T18:37:00.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:34 snap [2023-09-19T18:37:00.728Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:36:59.666Z] > git init /w/workspace/device-sdk-go/255 # timeout=10 [2023-09-19T18:36:59.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:36:59.811Z] > git --version # timeout=10 [2023-09-19T18:36:59.835Z] > git --version # 'git version 2.25.1' [2023-09-19T18:36:59.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:36:59.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T18:37:01.061Z] + 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=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 --label arch=amd64 --label version=3.1.0-dev.26 . [2023-09-19T18:37:01.061Z] Sending build context to Docker daemon 11.26MB [2023-09-19T18:37:01.061Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:37:01.061Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T18:37:01.061Z] ---> f4feca8ec2a5 [2023-09-19T18:37:01.061Z] Step 3/23 : ARG MAKE=make build [2023-09-19T18:37:01.320Z] ---> Running in 51bbed3229da [2023-09-19T18:37:01.320Z] Removing intermediate container 51bbed3229da [2023-09-19T18:37:01.320Z] ---> a6fac996a359 [2023-09-19T18:37:01.320Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T18:37:01.320Z] ---> Running in 7d56c537085e [2023-09-19T18:37:01.320Z] Removing intermediate container 7d56c537085e [2023-09-19T18:37:01.320Z] ---> 7b5a11fd99c3 [2023-09-19T18:37:01.320Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:37:01.579Z] ---> Running in 4d91401b41ed [2023-09-19T18:37:01.579Z] Removing intermediate container 4d91401b41ed [2023-09-19T18:37:01.579Z] ---> 79496e3bc59d [2023-09-19T18:37:01.579Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T18:37:01.579Z] ---> Running in ece601e6d3ea [2023-09-19T18:37:01.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:37:02.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:37:01.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T18:37:01.535Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T18:37:02.356Z] OK: 265 MiB in 56 packages [2023-09-19T18:37:02.360Z] Avoid second fetch [2023-09-19T18:37:02.361Z] Checking out Revision aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 (main) [2023-09-19T18:37:02.613Z] Removing intermediate container ece601e6d3ea [2023-09-19T18:37:02.613Z] ---> 964ab70cdd9d [2023-09-19T18:37:02.613Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T18:37:02.871Z] ---> db6daa39207d [2023-09-19T18:37:02.871Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:37:02.871Z] ---> Running in c0f3b9894ca6 [2023-09-19T18:37:02.923Z] Commit message: "Merge pull request #1513 from ejlee3/provision-index" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:37:03.437Z] Removing intermediate container c0f3b9894ca6 [2023-09-19T18:37:03.437Z] ---> 1a6b446d5474 [2023-09-19T18:37:03.437Z] Step 9/23 : COPY . . [2023-09-19T18:37:02.381Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T18:37:02.465Z] > git checkout -f aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 [2023-09-19T18:37:03.695Z] ---> 325d28793ff8 [2023-09-19T18:37:03.696Z] Step 10/23 : RUN ${MAKE} [2023-09-19T18:37:03.696Z] ---> Running in da384bac53a7 [2023-09-19T18:37:03.808Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T18:37:03.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T18:37:03.808Z] Dload Upload Total Spent Left Speed [2023-09-19T18:37:03.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [2023-09-19T18:37:03.953Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] sh [2023-09-19T18:37:04.452Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T18:37:04.775Z] + sudo tee /etc/docker/daemon.new [2023-09-19T18:37:04.775Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T18:37:04.775Z] { [2023-09-19T18:37:04.775Z] "registry-mirrors": [ [2023-09-19T18:37:04.775Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T18:37:04.775Z] ], [2023-09-19T18:37:04.775Z] "bip": "10.250.0.254/24", [2023-09-19T18:37:04.775Z] "hosts": [ [2023-09-19T18:37:04.775Z] "tcp://0.0.0.0:5555", [2023-09-19T18:37:04.775Z] "unix:///var/run/docker.sock" [2023-09-19T18:37:04.775Z] ], [2023-09-19T18:37:04.775Z] "mtu": 1458, [2023-09-19T18:37:04.775Z] "selinux-enabled": true, [2023-09-19T18:37:04.775Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T18:37:04.775Z] } [Pipeline] sh [2023-09-19T18:37:05.101Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T18:37:05.424Z] + sudo service docker restart [2023-09-19T18:37:22.029Z] Removing intermediate container da384bac53a7 [2023-09-19T18:37:22.030Z] ---> 592903d615c5 [2023-09-19T18:37:22.030Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T18:37:22.030Z] 3.18: Pulling from library/alpine [2023-09-19T18:37:22.288Z] 7264a8db6415: Already exists [2023-09-19T18:37:22.547Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T18:37:22.547Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T18:37:22.547Z] ---> 7e01a0d0a1dc [2023-09-19T18:37:22.547Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T18:37:22.547Z] ---> Running in 00e6ac9739f3 [2023-09-19T18:37:22.547Z] Removing intermediate container 00e6ac9739f3 [2023-09-19T18:37:22.547Z] ---> 514f156ae83e [2023-09-19T18:37:22.547Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T18:37:22.547Z] ---> Running in c823f321b87c [2023-09-19T18:37:22.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:37:22.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:37:23.071Z] OK: 7 MiB in 15 packages [2023-09-19T18:37:23.330Z] Removing intermediate container c823f321b87c [2023-09-19T18:37:23.330Z] ---> c97329c8949b [2023-09-19T18:37:23.330Z] Step 14/23 : WORKDIR / [2023-09-19T18:37:23.330Z] ---> Running in 391595f55a00 [2023-09-19T18:37:23.587Z] Removing intermediate container 391595f55a00 [2023-09-19T18:37:23.587Z] ---> f5e19571da4a [2023-09-19T18:37:23.587Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T18:37:23.587Z] ---> 00b2cd84744b [2023-09-19T18:37:23.587Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:37:23.680Z] provisioning config files... [2023-09-19T18:37:23.704Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/255@tmp/config4924125843325062707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:37:24.050Z] ---> docker-login.sh [2023-09-19T18:37:24.050Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:37:24.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:37:24.399Z] ---> b90865a9ac1b [2023-09-19T18:37:24.400Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T18:37:24.400Z] ---> 45a86ef11f9a [2023-09-19T18:37:24.400Z] Step 18/23 : EXPOSE 59999 [2023-09-19T18:37:24.400Z] ---> Running in cc94830b61f9 [2023-09-19T18:37:24.400Z] Removing intermediate container cc94830b61f9 [2023-09-19T18:37:24.400Z] ---> 2d0a9f34b99c [2023-09-19T18:37:24.400Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T18:37:24.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:37:24.588Z] Configure a credential helper to remove this warning. See [2023-09-19T18:37:24.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:37:24.588Z] [2023-09-19T18:37:24.588Z] Login Succeeded [2023-09-19T18:37:24.588Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:37:24.658Z] ---> Running in 333cd628307a [2023-09-19T18:37:24.658Z] Removing intermediate container 333cd628307a [2023-09-19T18:37:24.658Z] ---> 9b356087da23 [2023-09-19T18:37:24.658Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T18:37:24.658Z] ---> Running in d830ca0dd684 [2023-09-19T18:37:24.658Z] Removing intermediate container d830ca0dd684 [2023-09-19T18:37:24.658Z] ---> 072dfde7b97c [2023-09-19T18:37:24.658Z] Step 21/23 : LABEL arch=amd64 [2023-09-19T18:37:24.658Z] ---> Running in 1ce2390b490f [2023-09-19T18:37:24.658Z] Removing intermediate container 1ce2390b490f [2023-09-19T18:37:24.658Z] ---> 788945f02612 [2023-09-19T18:37:24.658Z] Step 22/23 : LABEL git_sha=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [2023-09-19T18:37:24.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:37:24.916Z] ---> Running in ebc8333fc895 [2023-09-19T18:37:24.916Z] Removing intermediate container ebc8333fc895 [2023-09-19T18:37:24.916Z] ---> 18650877b9d1 [2023-09-19T18:37:24.917Z] Step 23/23 : LABEL version=3.1.0-dev.26 [2023-09-19T18:37:24.917Z] ---> Running in 6f10a93ed9ad [2023-09-19T18:37:24.917Z] Removing intermediate container 6f10a93ed9ad [2023-09-19T18:37:24.917Z] ---> c37ff400d865 [2023-09-19T18:37:24.917Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T18:37:24.917Z] Successfully built c37ff400d865 [2023-09-19T18:37:24.917Z] 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-19T18:37:25.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:37:25.125Z] Configure a credential helper to remove this warning. See [2023-09-19T18:37:25.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:37:25.125Z] [2023-09-19T18:37:25.125Z] Login Succeeded [2023-09-19T18:37:25.125Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:37:25.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:37:25.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:37:25.358Z] [2023-09-19T18:37:25.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:37:25.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:37:25.394Z] Configure a credential helper to remove this warning. See [2023-09-19T18:37:25.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:37:25.394Z] [2023-09-19T18:37:25.394Z] Login Succeeded [2023-09-19T18:37:25.394Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:37:25.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:37:25.653Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T18:37:25.653Z] 5eb5b503b376: Pulling fs layer [2023-09-19T18:37:25.653Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T18:37:25.653Z] ec43610c2a17: Pulling fs layer [2023-09-19T18:37:25.653Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T18:37:25.653Z] 33b1e0a273af: Pulling fs layer [2023-09-19T18:37:25.653Z] 3a2ae6a8a46f: Waiting [2023-09-19T18:37:25.653Z] 33b1e0a273af: Waiting [2023-09-19T18:37:25.653Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T18:37:25.653Z] 2f39f015ded8: Pulling fs layer [2023-09-19T18:37:25.653Z] 5d3b04190fa2: Waiting [2023-09-19T18:37:25.653Z] 2f39f015ded8: Waiting [2023-09-19T18:37:25.653Z] 5c69ac0246d0: Verifying Checksum [2023-09-19T18:37:25.653Z] 5c69ac0246d0: Download complete [2023-09-19T18:37:25.653Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T18:37:25.653Z] 3a2ae6a8a46f: Download complete [2023-09-19T18:37:25.653Z] 33b1e0a273af: Verifying Checksum [2023-09-19T18:37:25.653Z] 33b1e0a273af: Download complete [2023-09-19T18:37:25.653Z] ec43610c2a17: Verifying Checksum [2023-09-19T18:37:25.653Z] ec43610c2a17: Download complete [2023-09-19T18:37:25.653Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T18:37:25.653Z] 5d3b04190fa2: Download complete [2023-09-19T18:37:25.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:37:25.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:37:25.664Z] Configure a credential helper to remove this warning. See [2023-09-19T18:37:25.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:37:25.664Z] [2023-09-19T18:37:25.664Z] Login Succeeded [2023-09-19T18:37:25.664Z] docker.io [2023-09-19T18:37:25.911Z] 5eb5b503b376: Verifying Checksum [2023-09-19T18:37:25.911Z] 5eb5b503b376: Download complete [2023-09-19T18:37:25.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:37:26.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:37:26.199Z] Configure a credential helper to remove this warning. See [2023-09-19T18:37:26.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:37:26.199Z] [2023-09-19T18:37:26.199Z] Login Succeeded [2023-09-19T18:37:26.199Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:37:26.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T18:37:26.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:37:26.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-09-19T18:37:26.476Z] 2f39f015ded8: Download complete [Pipeline] echo [2023-09-19T18:37:26.481Z] ========================================================= [2023-09-19T18:37:26.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T18:37:26.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:37:26.827Z] + 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-19T18:37:27.041Z] 5eb5b503b376: Pull complete [2023-09-19T18:37:27.096Z] Sending build context to Docker daemon 5.953MB [2023-09-19T18:37:27.096Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:37:27.096Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T18:37:27.299Z] 5c69ac0246d0: Pull complete [2023-09-19T18:37:27.365Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T18:37:27.365Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T18:37:27.365Z] 5d54e960e981: Pulling fs layer [2023-09-19T18:37:27.365Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T18:37:27.365Z] f0e02332f6b5: Pulling fs layer [2023-09-19T18:37:27.365Z] 66412af1f25a: Pulling fs layer [2023-09-19T18:37:27.365Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T18:37:27.365Z] 9a37bb91b891: Pulling fs layer [2023-09-19T18:37:27.365Z] a29adfc67d43: Pulling fs layer [2023-09-19T18:37:27.365Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T18:37:27.365Z] 66412af1f25a: Waiting [2023-09-19T18:37:27.365Z] 1baf3a5c0e64: Waiting [2023-09-19T18:37:27.365Z] 9a37bb91b891: Waiting [2023-09-19T18:37:27.365Z] f0e02332f6b5: Waiting [2023-09-19T18:37:27.365Z] d5de9f91c1a4: Waiting [2023-09-19T18:37:27.365Z] 5d54e960e981: Download complete [2023-09-19T18:37:27.365Z] f0e02332f6b5: Verifying Checksum [2023-09-19T18:37:27.365Z] f0e02332f6b5: Download complete [2023-09-19T18:37:27.365Z] 66412af1f25a: Download complete [2023-09-19T18:37:27.365Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T18:37:27.365Z] 9fda8d8052c6: Download complete [2023-09-19T18:37:27.558Z] ec43610c2a17: Pull complete [2023-09-19T18:37:27.818Z] 3a2ae6a8a46f: Pull complete [2023-09-19T18:37:27.818Z] 33b1e0a273af: Pull complete [2023-09-19T18:37:27.957Z] 9a37bb91b891: Verifying Checksum [2023-09-19T18:37:27.957Z] 9a37bb91b891: Download complete [2023-09-19T18:37:28.076Z] 5d3b04190fa2: Pull complete [2023-09-19T18:37:28.555Z] 9fda8d8052c6: Pull complete [2023-09-19T18:37:28.555Z] a29adfc67d43: Verifying Checksum [2023-09-19T18:37:28.555Z] a29adfc67d43: Download complete [2023-09-19T18:37:29.158Z] 5d54e960e981: Pull complete [2023-09-19T18:37:29.158Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T18:37:29.158Z] d5de9f91c1a4: Download complete [2023-09-19T18:37:29.158Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T18:37:29.158Z] c4a7e357bf2a: Download complete [2023-09-19T18:37:30.122Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T18:37:30.122Z] 1baf3a5c0e64: Download complete [2023-09-19T18:37:33.379Z] 2f39f015ded8: Pull complete [2023-09-19T18:37:33.379Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T18:37:33.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:37:33.379Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:37:33.463Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:37:33.499Z] $ 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-19T18:37:37.182Z] $ docker top 551d3bf44bd4b37fa04a41f28ca13da55fff24308301096e1e389e3a1c5f9db9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:37:37.545Z] ---> job-cost.sh [2023-09-19T18:37:37.545Z] lf-activate-venv: SKIPPING [2023-09-19T18:37:37.545Z] INFO: No Stack... [2023-09-19T18:37:37.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T18:37:38.062Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T18:37:38.348Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-19T18:37:38.348Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T18:37:38.360Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [2023-09-19T18:37:38.366Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] did not exist. Created. [2023-09-19T18:37:38.366Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T18:37:38.664Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T18:37:38.697Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T18:37:38.708Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T18:37:38.727Z] $ docker stop --time=1 551d3bf44bd4b37fa04a41f28ca13da55fff24308301096e1e389e3a1c5f9db9 [2023-09-19T18:37:39.876Z] $ docker rm -f --volumes 551d3bf44bd4b37fa04a41f28ca13da55fff24308301096e1e389e3a1c5f9db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T18:37:40.221Z] c4a7e357bf2a: Pull complete [2023-09-19T18:37:40.221Z] f0e02332f6b5: Pull complete [2023-09-19T18:37:40.490Z] 66412af1f25a: Pull complete [2023-09-19T18:37:47.153Z] 1baf3a5c0e64: Pull complete [2023-09-19T18:37:48.584Z] 9a37bb91b891: Pull complete [2023-09-19T18:37:49.998Z] a29adfc67d43: Pull complete [2023-09-19T18:37:51.411Z] d5de9f91c1a4: Pull complete [2023-09-19T18:37:51.411Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T18:37:51.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T18:37:51.411Z] ---> 746ca1b523b5 [2023-09-19T18:37:51.411Z] Step 3/10 : ARG MAKE=make build [2023-09-19T18:37:53.371Z] ---> Running in 3d40654be95b [2023-09-19T18:37:53.732Z] Removing intermediate container 3d40654be95b [2023-09-19T18:37:53.732Z] ---> b078103e1862 [2023-09-19T18:37:53.732Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T18:37:53.732Z] ---> Running in 263b38bf9572 [2023-09-19T18:37:54.010Z] Removing intermediate container 263b38bf9572 [2023-09-19T18:37:54.010Z] ---> c8d8a4183ac3 [2023-09-19T18:37:54.010Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:37:54.010Z] ---> Running in 3304cf01ed56 [2023-09-19T18:37:54.286Z] Removing intermediate container 3304cf01ed56 [2023-09-19T18:37:54.286Z] ---> f007cf435e65 [2023-09-19T18:37:54.286Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T18:37:54.286Z] ---> Running in 63ca32a70313 [2023-09-19T18:37:55.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:37:55.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:37:56.952Z] OK: 267 MiB in 56 packages [2023-09-19T18:37:57.918Z] Removing intermediate container 63ca32a70313 [2023-09-19T18:37:57.918Z] ---> 3b8836f935ed [2023-09-19T18:37:57.918Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T18:38:00.498Z] ---> aa85164ed38a [2023-09-19T18:38:00.498Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:38:00.498Z] ---> Running in 6d4544e52621 [2023-09-19T18:39:08.364Z] Removing intermediate container 6d4544e52621 [2023-09-19T18:39:08.365Z] ---> b026fe2bd9fc [2023-09-19T18:39:08.365Z] Step 9/10 : COPY . . [2023-09-19T18:39:08.365Z] ---> 7fe3b2da2b78 [2023-09-19T18:39:08.365Z] Step 10/10 : RUN ${MAKE} [2023-09-19T18:39:08.365Z] ---> Running in b18181f2b301 [2023-09-19T18:39:08.365Z] noop [2023-09-19T18:39:08.365Z] Removing intermediate container b18181f2b301 [2023-09-19T18:39:08.365Z] ---> d88bdd4c612a [2023-09-19T18:39:08.365Z] Successfully built d88bdd4c612a [2023-09-19T18:39:08.365Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:39:08.713Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T18:39:08.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:39:08.904Z] prd-ubuntu20.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container [2023-09-19T18:39:08.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/255 -v /w/workspace/device-sdk-go/255:/w/workspace/device-sdk-go/255:rw,z -v /w/workspace/device-sdk-go/255@tmp:/w/workspace/device-sdk-go/255@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-19T18:39:10.106Z] $ docker top 1fe03dd18fc6313cab4caa8216fd2f3c1e7ee7bf7e5e975fd31461b3e97658e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:39:10.915Z] + go version [2023-09-19T18:39:10.915Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T18:39:10.935Z] $ docker stop --time=1 1fe03dd18fc6313cab4caa8216fd2f3c1e7ee7bf7e5e975fd31461b3e97658e7 [2023-09-19T18:39:12.539Z] $ docker rm -f --volumes 1fe03dd18fc6313cab4caa8216fd2f3c1e7ee7bf7e5e975fd31461b3e97658e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:39:13.080Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T18:39:13.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:39:13.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container [2023-09-19T18:39:13.322Z] $ 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/255 -v /w/workspace/device-sdk-go/255:/w/workspace/device-sdk-go/255:rw,z -v /w/workspace/device-sdk-go/255@tmp:/w/workspace/device-sdk-go/255@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-19T18:39:14.415Z] $ docker top badea85b3cc7f5689cbf5e21431125d9db37aa4d7ca5ef537ae318aacd3faef4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:39:14.908Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/255 [Pipeline] fileExists [Pipeline] sh [2023-09-19T18:39:15.560Z] + make test [2023-09-19T18:39:15.560Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T18:39:47.768Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T18:41:09.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T18:41:09.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T18:41:09.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T18:41:09.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T18:41:09.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T18:41:17.576Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.204s coverage: 27.6% of statements [2023-09-19T18:41:18.980Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.259s coverage: 80.2% of statements [2023-09-19T18:41:27.185Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T18:41:27.185Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T18:41:29.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.649s coverage: 86.0% of statements [2023-09-19T18:41:34.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T18:41:35.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.546s coverage: 71.8% of statements [2023-09-19T18:41:38.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.310s coverage: 14.4% of statements [2023-09-19T18:41:39.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T18:41:39.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T18:41:40.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.298s coverage: 45.9% of statements [2023-09-19T18:41:41.304Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.459s coverage: 68.5% of statements [2023-09-19T18:41:44.636Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.409s coverage: 89.2% of statements [2023-09-19T18:41:44.636Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T18:41:45.591Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.223s coverage: 5.5% of statements [2023-09-19T18:41:46.175Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T18:41:46.175Z] GO111MODULE=on go vet ./... [2023-09-19T18:43:52.863Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T18:43:52.863Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T18:43:52.863Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T18:43:52.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T18:43:52.896Z] $ docker stop --time=1 badea85b3cc7f5689cbf5e21431125d9db37aa4d7ca5ef537ae318aacd3faef4 [2023-09-19T18:43:54.691Z] $ docker rm -f --volumes badea85b3cc7f5689cbf5e21431125d9db37aa4d7ca5ef537ae318aacd3faef4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:43:56.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T18:43:56.281Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T18:43:56.793Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:43:57.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T18:43:57.475Z] + ls -al . [2023-09-19T18:43:57.475Z] total 300 [2023-09-19T18:43:57.475Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 18:39 . [2023-09-19T18:43:57.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:36 .. [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:37 .dockerignore [2023-09-19T18:43:57.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:37 .git [2023-09-19T18:43:57.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:37 .github [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:37 .gitignore [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:37 .golangci.yml [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:37 CHANGELOG.md [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:37 GOVERNANCE.md [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:37 Jenkinsfile [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:37 LICENSE [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:37 Makefile [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:37 OWNERS.md [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:37 README.md [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 18:35 VERSION [2023-09-19T18:43:57.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:37 bin [2023-09-19T18:43:57.475Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 18:41 coverage.out [2023-09-19T18:43:57.475Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:37 example [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:37 go.mod [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:37 go.sum [2023-09-19T18:43:57.475Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:37 internal [2023-09-19T18:43:57.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:37 openapi [2023-09-19T18:43:57.475Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:37 pkg [2023-09-19T18:43:57.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:37 snap [2023-09-19T18:43:57.475Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:43:57.805Z] + 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=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 --label arch=arm64 --label version=3.1.0-dev.26 . [2023-09-19T18:43:58.073Z] Sending build context to Docker daemon 6.075MB [2023-09-19T18:43:58.073Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:43:58.073Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T18:43:58.073Z] ---> d88bdd4c612a [2023-09-19T18:43:58.073Z] Step 3/23 : ARG MAKE=make build [2023-09-19T18:43:58.339Z] ---> Running in ef3902539baa [2023-09-19T18:43:58.606Z] Removing intermediate container ef3902539baa [2023-09-19T18:43:58.606Z] ---> 051920e2a07b [2023-09-19T18:43:58.606Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T18:43:58.606Z] ---> Running in df456f110988 [2023-09-19T18:43:58.874Z] Removing intermediate container df456f110988 [2023-09-19T18:43:58.874Z] ---> 7c972f90b6f9 [2023-09-19T18:43:58.874Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:43:59.147Z] ---> Running in b4a217c36b0c [2023-09-19T18:43:59.415Z] Removing intermediate container b4a217c36b0c [2023-09-19T18:43:59.415Z] ---> 86cf513cc893 [2023-09-19T18:43:59.415Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T18:43:59.415Z] ---> Running in d504a5f86b76 [2023-09-19T18:44:00.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:44:00.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:44:02.052Z] OK: 267 MiB in 56 packages [2023-09-19T18:44:02.639Z] Removing intermediate container d504a5f86b76 [2023-09-19T18:44:02.639Z] ---> c6ec593b1259 [2023-09-19T18:44:02.639Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T18:44:02.911Z] ---> 8a8ef1a238f0 [2023-09-19T18:44:02.911Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:44:03.179Z] ---> Running in ade42593afa7 [2023-09-19T18:44:05.124Z] Removing intermediate container ade42593afa7 [2023-09-19T18:44:05.124Z] ---> 6ab6ba5e4223 [2023-09-19T18:44:05.124Z] Step 9/23 : COPY . . [2023-09-19T18:44:06.085Z] ---> 6a24a25431f8 [2023-09-19T18:44:06.085Z] Step 10/23 : RUN ${MAKE} [2023-09-19T18:44:06.085Z] ---> Running in 244a1943ab70 [2023-09-19T18:44:07.046Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T18:45:58.699Z] Removing intermediate container 244a1943ab70 [2023-09-19T18:45:58.699Z] ---> efb970a37fc8 [2023-09-19T18:45:58.699Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T18:45:58.699Z] 3.18: Pulling from library/alpine [2023-09-19T18:45:58.699Z] 9fda8d8052c6: Already exists [2023-09-19T18:45:58.699Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T18:45:58.699Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T18:45:58.699Z] ---> f6648c04cd6c [2023-09-19T18:45:58.699Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T18:45:58.699Z] ---> Running in 93747aba3dc1 [2023-09-19T18:45:58.699Z] Removing intermediate container 93747aba3dc1 [2023-09-19T18:45:58.699Z] ---> 963006b3ce99 [2023-09-19T18:45:58.699Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T18:45:58.699Z] ---> Running in a94146f17a31 [2023-09-19T18:45:58.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:45:58.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:45:58.699Z] OK: 8 MiB in 15 packages [2023-09-19T18:45:58.699Z] Removing intermediate container a94146f17a31 [2023-09-19T18:45:58.699Z] ---> eca3aaf9fcb6 [2023-09-19T18:45:58.699Z] Step 14/23 : WORKDIR / [2023-09-19T18:45:58.699Z] ---> Running in 93b721f53e1a [2023-09-19T18:45:58.699Z] Removing intermediate container 93b721f53e1a [2023-09-19T18:45:58.699Z] ---> 3bf880af0257 [2023-09-19T18:45:58.699Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T18:45:58.699Z] ---> adc00e39b315 [2023-09-19T18:45:58.699Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T18:45:58.699Z] ---> 0121f69274e7 [2023-09-19T18:45:58.699Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T18:45:58.699Z] ---> 729aa93c2e3d [2023-09-19T18:45:58.699Z] Step 18/23 : EXPOSE 59999 [2023-09-19T18:45:58.699Z] ---> Running in 780869c09e74 [2023-09-19T18:45:58.699Z] Removing intermediate container 780869c09e74 [2023-09-19T18:45:58.699Z] ---> fdec15e74d55 [2023-09-19T18:45:58.699Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T18:45:58.699Z] ---> Running in e509c56ce671 [2023-09-19T18:45:58.699Z] Removing intermediate container e509c56ce671 [2023-09-19T18:45:58.699Z] ---> 0daa7e75f6ac [2023-09-19T18:45:58.699Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T18:45:58.699Z] ---> Running in 579804696a51 [2023-09-19T18:45:58.699Z] Removing intermediate container 579804696a51 [2023-09-19T18:45:58.699Z] ---> 1ff13c5be705 [2023-09-19T18:45:58.699Z] Step 21/23 : LABEL arch=arm64 [2023-09-19T18:45:58.699Z] ---> Running in c1b446bc8dc0 [2023-09-19T18:45:58.699Z] Removing intermediate container c1b446bc8dc0 [2023-09-19T18:45:58.699Z] ---> a3ba0b3d3910 [2023-09-19T18:45:58.700Z] Step 22/23 : LABEL git_sha=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [2023-09-19T18:45:58.700Z] ---> Running in 1bb8512459ee [2023-09-19T18:45:58.700Z] Removing intermediate container 1bb8512459ee [2023-09-19T18:45:58.700Z] ---> 934d1a694cc4 [2023-09-19T18:45:58.700Z] Step 23/23 : LABEL version=3.1.0-dev.26 [2023-09-19T18:45:58.700Z] ---> Running in fcf21731048b [2023-09-19T18:45:58.700Z] Removing intermediate container fcf21731048b [2023-09-19T18:45:58.700Z] ---> 829f55193969 [2023-09-19T18:45:58.700Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T18:45:58.700Z] Successfully built 829f55193969 [2023-09-19T18:45:58.700Z] 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-19T18:45:59.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T18:45:59.214Z] [2023-09-19T18:45:59.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:45:59.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T18:45:59.585Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T18:45:59.585Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T18:45:59.585Z] 04944245beec: Pulling fs layer [2023-09-19T18:45:59.585Z] 699f458cf7ca: Pulling fs layer [2023-09-19T18:45:59.585Z] 765212b225bb: Pulling fs layer [2023-09-19T18:45:59.585Z] f23df028b6ca: Pulling fs layer [2023-09-19T18:45:59.585Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T18:45:59.585Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T18:45:59.585Z] 765212b225bb: Waiting [2023-09-19T18:45:59.585Z] f23df028b6ca: Waiting [2023-09-19T18:45:59.585Z] 2437ff75d9bd: Waiting [2023-09-19T18:45:59.585Z] d65c8cfc05b1: Waiting [2023-09-19T18:45:59.865Z] 04944245beec: Verifying Checksum [2023-09-19T18:45:59.865Z] 04944245beec: Download complete [2023-09-19T18:45:59.865Z] 765212b225bb: Verifying Checksum [2023-09-19T18:45:59.865Z] 765212b225bb: Download complete [2023-09-19T18:45:59.865Z] f23df028b6ca: Verifying Checksum [2023-09-19T18:45:59.865Z] f23df028b6ca: Download complete [2023-09-19T18:45:59.865Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T18:45:59.865Z] d65c8cfc05b1: Download complete [2023-09-19T18:46:00.136Z] 699f458cf7ca: Verifying Checksum [2023-09-19T18:46:00.136Z] 699f458cf7ca: Download complete [2023-09-19T18:46:00.424Z] 8998bd30e6a1: Download complete [2023-09-19T18:46:03.063Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T18:46:03.063Z] 2437ff75d9bd: Download complete [2023-09-19T18:46:04.468Z] 8998bd30e6a1: Pull complete [2023-09-19T18:46:05.068Z] 04944245beec: Pull complete [2023-09-19T18:46:06.473Z] 699f458cf7ca: Pull complete [2023-09-19T18:46:06.473Z] 765212b225bb: Pull complete [2023-09-19T18:46:07.432Z] f23df028b6ca: Pull complete [2023-09-19T18:46:07.432Z] d65c8cfc05b1: Pull complete [2023-09-19T18:46:22.415Z] 2437ff75d9bd: Pull complete [2023-09-19T18:46:22.415Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T18:46:22.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T18:46:22.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:46:22.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container [2023-09-19T18:46:22.656Z] $ 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/255 -v /w/workspace/device-sdk-go/255:/w/workspace/device-sdk-go/255:rw,z -v /w/workspace/device-sdk-go/255@tmp:/w/workspace/device-sdk-go/255@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-19T18:46:25.075Z] $ docker top dd95c5001cbc0a5a4eef45afe197f75cb9a17117886ae818aaf8314482f342a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:46:25.584Z] ---> job-cost.sh [2023-09-19T18:46:25.850Z] lf-activate-venv: SKIPPING [2023-09-19T18:46:25.850Z] INFO: No Stack... [2023-09-19T18:46:26.116Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T18:46:27.074Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T18:46:27.707Z] + cat /w/workspace/device-sdk-go/255/archives/cost.csv [2023-09-19T18:46:27.707Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T18:46:27.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [2023-09-19T18:46:27.777Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] did not exist. Created. [2023-09-19T18:46:27.777Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T18:46:28.134Z] /w/workspace/device-sdk-go/255@tmp/durable-e589106f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T18:46:28.727Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T18:46:28.749Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T18:46:28.823Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T18:46:28.831Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T18:46:28.849Z] $ docker stop --time=1 dd95c5001cbc0a5a4eef45afe197f75cb9a17117886ae818aaf8314482f342a8 [2023-09-19T18:46:30.431Z] $ docker rm -f --volumes dd95c5001cbc0a5a4eef45afe197f75cb9a17117886ae818aaf8314482f342a8 [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-19T18:46:30.821Z] provisioning config files... [2023-09-19T18:46:30.828Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2707895537035955351tmp [Pipeline] { [Pipeline] sh [2023-09-19T18:46:31.122Z] + set +x [2023-09-19T18:46:31.122Z] + curl -s https://codecov.io/bash [2023-09-19T18:46:31.122Z] + bash -s -- [2023-09-19T18:46:31.122Z] [2023-09-19T18:46:31.122Z] _____ _ [2023-09-19T18:46:31.122Z] / ____| | | [2023-09-19T18:46:31.122Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T18:46:31.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T18:46:31.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T18:46:31.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T18:46:31.122Z] Bash-1.0.6 [2023-09-19T18:46:31.122Z] [2023-09-19T18:46:31.122Z] [2023-09-19T18:46:31.122Z] ==> git version 2.25.1 found [2023-09-19T18:46:31.122Z] ==> 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-19T18:46:31.122Z] Release-Date: 2020-01-08 [2023-09-19T18:46:31.122Z] 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-19T18:46:31.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T18:46:31.122Z] ==> Jenkins CI detected. [2023-09-19T18:46:31.122Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-19T18:46:31.122Z] project root: . [2023-09-19T18:46:31.122Z] --> token set from env [2023-09-19T18:46:31.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T18:46:31.122Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T18:46:31.381Z] ==> Python coveragepy not found [2023-09-19T18:46:31.381Z] ==> Searching for coverage reports in: [2023-09-19T18:46:31.381Z] + . [2023-09-19T18:46:31.381Z] -> Found 1 reports [2023-09-19T18:46:31.381Z] ==> Detecting git/mercurial file structure [2023-09-19T18:46:31.381Z] ==> Reading reports [2023-09-19T18:46:31.381Z] + ./coverage.out bytes=121385 [2023-09-19T18:46:31.381Z] ==> Appending adjustments [2023-09-19T18:46:31.381Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T18:46:31.639Z] + Found adjustments [2023-09-19T18:46:31.639Z] ==> Gzipping contents [2023-09-19T18:46:31.639Z] 20K /tmp/codecov.ijzh93.gz [2023-09-19T18:46:31.639Z] ==> Uploading reports [2023-09-19T18:46:31.639Z] url: https://codecov.io [2023-09-19T18:46:31.639Z] query: branch=main&commit=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02&build=255&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F255%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T18:46:31.639Z] -> Pinging Codecov [2023-09-19T18:46:31.639Z] 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=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02&build=255&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F255%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T18:46:31.639Z] -> Uploading to [2023-09-19T18:46:31.639Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02/5419f655-00e0-4105-87c7-d2be1a76280d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T184631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=366200a1955ddaf7e1437291c979cd08733dddfbd155b8dc5e1bf326b25bdc3c [2023-09-19T18:46:31.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T18:46:31.898Z] Dload Upload Total Spent Left Speed [2023-09-19T18:46:31.898Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16514 0 0 100 16514 0 89750 --:--:-- --:--:-- --:--:-- 89750 [2023-09-19T18:46:31.898Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] } [2023-09-19T18:46:31.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-19T18:46:32.038Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-19T18:46:32.047Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:46:32.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T18:46:32.345Z] [2023-09-19T18:46:32.345Z] 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-19T18:46:32.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T18:46:32.643Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-19T18:46:32.643Z] df9b9388f04a: Pulling fs layer [2023-09-19T18:46:32.643Z] 52dc419b0ee2: Pulling fs layer [2023-09-19T18:46:32.643Z] 25bc292e5bac: Pulling fs layer [2023-09-19T18:46:32.643Z] 114826534d7a: Pulling fs layer [2023-09-19T18:46:32.643Z] 4657fd5d0bcf: Pulling fs layer [2023-09-19T18:46:32.643Z] 6ad1cebc031e: Pulling fs layer [2023-09-19T18:46:32.643Z] 8a3aa393b2d8: Pulling fs layer [2023-09-19T18:46:32.643Z] 114826534d7a: Waiting [2023-09-19T18:46:32.643Z] 4657fd5d0bcf: Waiting [2023-09-19T18:46:32.643Z] 6ad1cebc031e: Waiting [2023-09-19T18:46:32.643Z] 8a3aa393b2d8: Waiting [2023-09-19T18:46:32.643Z] 25bc292e5bac: Download complete [2023-09-19T18:46:32.643Z] 52dc419b0ee2: Verifying Checksum [2023-09-19T18:46:32.643Z] 52dc419b0ee2: Download complete [2023-09-19T18:46:32.643Z] 4657fd5d0bcf: Verifying Checksum [2023-09-19T18:46:32.643Z] 4657fd5d0bcf: Download complete [2023-09-19T18:46:32.643Z] df9b9388f04a: Download complete [2023-09-19T18:46:32.903Z] df9b9388f04a: Pull complete [2023-09-19T18:46:32.903Z] 6ad1cebc031e: Verifying Checksum [2023-09-19T18:46:32.903Z] 6ad1cebc031e: Download complete [2023-09-19T18:46:32.903Z] 52dc419b0ee2: Pull complete [2023-09-19T18:46:32.903Z] 25bc292e5bac: Pull complete [2023-09-19T18:46:33.470Z] 114826534d7a: Verifying Checksum [2023-09-19T18:46:33.470Z] 114826534d7a: Download complete [2023-09-19T18:46:33.470Z] 8a3aa393b2d8: Verifying Checksum [2023-09-19T18:46:33.471Z] 8a3aa393b2d8: Download complete [2023-09-19T18:46:36.748Z] 114826534d7a: Pull complete [2023-09-19T18:46:36.748Z] 4657fd5d0bcf: Pull complete [2023-09-19T18:46:36.748Z] 6ad1cebc031e: Pull complete [2023-09-19T18:46:39.274Z] 8a3aa393b2d8: Pull complete [2023-09-19T18:46:39.274Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-19T18:46:39.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T18:46:39.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:46:39.351Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:46:39.385Z] $ 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-19T18:46:42.103Z] $ docker top 5833b3f181d7a62f6e429af322db78cafef8698abc8035a4977c14e58a7d733e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-19T18:46:42.158Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-19T18:46:42.436Z] + set -o pipefail [2023-09-19T18:46:42.436Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-19T18:46:47.700Z] [2023-09-19T18:46:47.700Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-19T18:46:47.700Z] [2023-09-19T18:46:47.700Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4ba7025b-47ab-4948-b9b8-7ef8f25547b7 [2023-09-19T18:46:47.700Z] [2023-09-19T18:46:47.700Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-19T18:46:47.700Z] [2023-09-19T18:46:47.700Z] [2023-09-19T18:46:47.700Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-19T18:46:47.700Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-19T18:46:47.700Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-19T18:46:47.712Z] $ docker stop --time=1 5833b3f181d7a62f6e429af322db78cafef8698abc8035a4977c14e58a7d733e [2023-09-19T18:46:50.503Z] $ docker rm -f --volumes 5833b3f181d7a62f6e429af322db78cafef8698abc8035a4977c14e58a7d733e [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-19T18:46:50.972Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:46:50.983Z] provisioning config files... [2023-09-19T18:46:50.989Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5542698541425550759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:46:51.284Z] --> edgex-publish-swagger.sh [2023-09-19T18:46:51.284Z] === Publish openapi/v3 API === [2023-09-19T18:46:51.284Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-19T18:46:51.284Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-19T18:46:51.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T18:46:51.284Z] Dload Upload Total Spent Left Speed [2023-09-19T18:46:51.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 49116 --:--:-- --:--:-- --:--:-- 49116 [2023-09-19T18:46:51.543Z] [2023-09-19T18:46:51.543Z] [Pipeline] } [2023-09-19T18:46:51.551Z] 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-19T18:46:51.939Z] + git log --format=format:%s -1 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] sh [2023-09-19T18:46:52.232Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T18:46:52.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:46:52.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:46:52.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:46:52.595Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:46:52.624Z] $ 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-19T18:46:53.088Z] $ docker top 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 -eo pid,comm [2023-09-19T18:46:53.134Z] 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-19T18:46:53.134Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T18:46:53.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:46:53.168Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:46:53.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:46:53.281Z] $ docker exec 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 ssh-agent [2023-09-19T18:46:53.397Z] SSH_AUTH_SOCK=/tmp/ssh-werfAtt8BW7K/agent.32 [2023-09-19T18:46:53.397Z] SSH_AGENT_PID=38 [2023-09-19T18:46:53.402Z] Running ssh-add (command line suppressed) [2023-09-19T18:46:53.516Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12526329852961398786.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12526329852961398786.key) [2023-09-19T18:46:53.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:46:53.815Z] + git semver tag [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:53,995 [run_tag] DEBUG tag force:False [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:53,996 [check_head_tag] DEBUG check head tag [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:53,998 [execute] INFO git cat-file --batch-check [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:53,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:54,003 [execute] INFO git cat-file --batch [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:54,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:54,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:54,022 [execute] INFO git tag -a v3.1.0-dev.26 -m v3.1.0-dev.26 [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:54,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.26', '-m', 'v3.1.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T18:46:54.073Z] 2023-09-19 18:46:54,028 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:46:54.073Z] 3.1.0-dev.26 [Pipeline] } [2023-09-19T18:46:54.084Z] $ docker exec --env ******** --env ******** 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 ssh-agent -k [2023-09-19T18:46:54.180Z] unset SSH_AUTH_SOCK; [2023-09-19T18:46:54.181Z] unset SSH_AGENT_PID; [2023-09-19T18:46:54.181Z] echo Agent pid 38 killed; [2023-09-19T18:46:54.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T18:46:54.504Z] + git semver [Pipeline] } [2023-09-19T18:46:54.776Z] $ docker stop --time=1 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 [2023-09-19T18:46:56.052Z] $ docker rm -f --volumes 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:46:56.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T18:46:56.451Z] [2023-09-19T18:46:56.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:46:56.754Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T18:46:56.754Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-19T18:46:56.754Z] ab5ef0e58194: Pulling fs layer [2023-09-19T18:46:56.754Z] 9712f1f96733: Pulling fs layer [2023-09-19T18:46:56.754Z] 63f879dbbcfc: Pulling fs layer [2023-09-19T18:46:56.754Z] 0d9ebad4ef96: Pulling fs layer [2023-09-19T18:46:56.754Z] e9a5061849ea: Pulling fs layer [2023-09-19T18:46:56.754Z] d747dcd14b5f: Pulling fs layer [2023-09-19T18:46:56.754Z] 2de7ff778b66: Pulling fs layer [2023-09-19T18:46:56.754Z] d747dcd14b5f: Waiting [2023-09-19T18:46:56.754Z] 2de7ff778b66: Waiting [2023-09-19T18:46:56.754Z] e9a5061849ea: Waiting [2023-09-19T18:46:56.754Z] 9712f1f96733: Verifying Checksum [2023-09-19T18:46:56.755Z] 9712f1f96733: Download complete [2023-09-19T18:46:57.013Z] 63f879dbbcfc: Verifying Checksum [2023-09-19T18:46:57.013Z] 63f879dbbcfc: Download complete [2023-09-19T18:46:57.271Z] e9a5061849ea: Verifying Checksum [2023-09-19T18:46:57.271Z] e9a5061849ea: Download complete [2023-09-19T18:46:57.271Z] d747dcd14b5f: Verifying Checksum [2023-09-19T18:46:57.271Z] d747dcd14b5f: Download complete [2023-09-19T18:46:57.271Z] 0d9ebad4ef96: Verifying Checksum [2023-09-19T18:46:57.271Z] 0d9ebad4ef96: Download complete [2023-09-19T18:46:57.271Z] ab5ef0e58194: Verifying Checksum [2023-09-19T18:46:57.271Z] ab5ef0e58194: Download complete [2023-09-19T18:46:57.271Z] 2de7ff778b66: Verifying Checksum [2023-09-19T18:46:57.271Z] 2de7ff778b66: Download complete [2023-09-19T18:46:59.802Z] ab5ef0e58194: Pull complete [2023-09-19T18:47:00.060Z] 9712f1f96733: Pull complete [2023-09-19T18:47:00.626Z] 63f879dbbcfc: Pull complete [2023-09-19T18:47:03.916Z] 0d9ebad4ef96: Pull complete [2023-09-19T18:47:04.173Z] e9a5061849ea: Pull complete [2023-09-19T18:47:04.173Z] d747dcd14b5f: Pull complete [2023-09-19T18:47:05.107Z] 2de7ff778b66: Pull complete [2023-09-19T18:47:05.107Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-19T18:47:05.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T18:47:05.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:47:05.190Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:47:05.223Z] $ 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-19T18:47:09.019Z] $ docker top c64eae614d1d53c3285fe46ccbd08538635a4e616a331dba92feb9a745fc4477 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:47:09.106Z] provisioning config files... [2023-09-19T18:47:09.112Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11035958029250223851tmp [2023-09-19T18:47:09.120Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18392746761452138929tmp [2023-09-19T18:47:09.128Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17028856864915835794tmp [Pipeline] { [Pipeline] echo [2023-09-19T18:47:09.142Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:09.419Z] ---> sigul-configuration.sh [2023-09-19T18:47:09.419Z] gpg: directory `/root/.gnupg' created [2023-09-19T18:47:09.419Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-19T18:47:09.419Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-19T18:47:09.419Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-19T18:47:09.419Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-19T18:47:09.419Z] gpg: CAST5 encrypted data [2023-09-19T18:47:09.419Z] gpg: encrypted with 1 passphrase [2023-09-19T18:47:09.419Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-19T18:47:09.702Z] + mkdir /home/jenkins [2023-09-19T18:47:09.702Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-19T18:47:09.986Z] + 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-19T18:47:09.994Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:10.271Z] ---> sigul-install.sh [2023-09-19T18:47:10.272Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-19T18:47:10.556Z] + git tag --list [2023-09-19T18:47:10.556Z] 0.7.1 [2023-09-19T18:47:10.556Z] delhi-tag [2023-09-19T18:47:10.556Z] v1.0.0 [2023-09-19T18:47:10.556Z] v1.1.0 [2023-09-19T18:47:10.556Z] v1.1.1 [2023-09-19T18:47:10.556Z] v1.1.2 [2023-09-19T18:47:10.556Z] v1.2.0 [2023-09-19T18:47:10.556Z] v1.2.1 [2023-09-19T18:47:10.556Z] v1.2.2 [2023-09-19T18:47:10.556Z] v1.2.3 [2023-09-19T18:47:10.556Z] v1.3.0 [2023-09-19T18:47:10.556Z] v1.4.0 [2023-09-19T18:47:10.556Z] v2.0.0 [2023-09-19T18:47:10.556Z] v2.1.0 [2023-09-19T18:47:10.556Z] v2.1.1 [2023-09-19T18:47:10.556Z] v2.2.0 [2023-09-19T18:47:10.556Z] v2.3.0 [2023-09-19T18:47:10.556Z] v2.3.1 [2023-09-19T18:47:10.556Z] v3.0 [2023-09-19T18:47:10.556Z] v3.0.0 [2023-09-19T18:47:10.556Z] v3.0.1-dev.1 [2023-09-19T18:47:10.556Z] v3.1.0-dev.1 [2023-09-19T18:47:10.556Z] v3.1.0-dev.10 [2023-09-19T18:47:10.556Z] v3.1.0-dev.11 [2023-09-19T18:47:10.556Z] v3.1.0-dev.12 [2023-09-19T18:47:10.556Z] v3.1.0-dev.13 [2023-09-19T18:47:10.556Z] v3.1.0-dev.14 [2023-09-19T18:47:10.556Z] v3.1.0-dev.15 [2023-09-19T18:47:10.556Z] v3.1.0-dev.16 [2023-09-19T18:47:10.556Z] v3.1.0-dev.17 [2023-09-19T18:47:10.556Z] v3.1.0-dev.18 [2023-09-19T18:47:10.556Z] v3.1.0-dev.19 [2023-09-19T18:47:10.556Z] v3.1.0-dev.2 [2023-09-19T18:47:10.556Z] v3.1.0-dev.20 [2023-09-19T18:47:10.556Z] v3.1.0-dev.21 [2023-09-19T18:47:10.556Z] v3.1.0-dev.22 [2023-09-19T18:47:10.556Z] v3.1.0-dev.23 [2023-09-19T18:47:10.556Z] v3.1.0-dev.24 [2023-09-19T18:47:10.556Z] v3.1.0-dev.25 [2023-09-19T18:47:10.556Z] v3.1.0-dev.26 [2023-09-19T18:47:10.556Z] v3.1.0-dev.3 [2023-09-19T18:47:10.556Z] v3.1.0-dev.4 [2023-09-19T18:47:10.556Z] v3.1.0-dev.5 [2023-09-19T18:47:10.556Z] v3.1.0-dev.6 [2023-09-19T18:47:10.556Z] v3.1.0-dev.7 [2023-09-19T18:47:10.556Z] v3.1.0-dev.8 [2023-09-19T18:47:10.556Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-19T18:47:10.842Z] + lftools sign git-tag v3.1.0-dev.26 [2023-09-19T18:47:11.411Z] Signing Git tag with Sigul... [2023-09-19T18:47:11.411Z] Signing v3.1.0-dev.26 [Pipeline] echo [2023-09-19T18:47:11.680Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:11.962Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-19T18:47:11.970Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-19T18:47:11.993Z] $ docker stop --time=1 c64eae614d1d53c3285fe46ccbd08538635a4e616a331dba92feb9a745fc4477 [2023-09-19T18:47:13.309Z] $ docker rm -f --volumes c64eae614d1d53c3285fe46ccbd08538635a4e616a331dba92feb9a745fc4477 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-19T18:47:13.736Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T18:47:13.736Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:47:14.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:47:14.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:47:14.115Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:47:14.146Z] $ 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-19T18:47:14.484Z] $ docker top c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T18:47:14.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:47:14.561Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:47:14.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:47:14.670Z] $ docker exec c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d ssh-agent [2023-09-19T18:47:14.779Z] SSH_AUTH_SOCK=/tmp/ssh-BPTKpc7gpoMc/agent.32 [2023-09-19T18:47:14.779Z] SSH_AGENT_PID=38 [2023-09-19T18:47:14.783Z] Running ssh-add (command line suppressed) [2023-09-19T18:47:14.872Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12945374309061801583.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12945374309061801583.key) [2023-09-19T18:47:14.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:47:15.170Z] + git semver bump pre [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,343 [bump_version] DEBUG bumping version:3.1.0-dev.26 on axis:pre with prefix:dev [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,343 [bump_version] DEBUG bumped version:3.1.0-dev.27 [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,343 [write_version] DEBUG write version:3.1.0-dev.27 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,343 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,345 [execute] INFO git cat-file --batch-check [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,345 [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-19T18:47:15.429Z] 2023-09-19 18:47:15,350 [execute] INFO git cat-file --batch [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T18:47:15.429Z] 2023-09-19 18:47:15,354 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:47:15.429Z] 3.1.0-dev.27 [Pipeline] } [2023-09-19T18:47:15.439Z] $ docker exec --env ******** --env ******** c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d ssh-agent -k [2023-09-19T18:47:15.542Z] unset SSH_AUTH_SOCK; [2023-09-19T18:47:15.542Z] unset SSH_AGENT_PID; [2023-09-19T18:47:15.542Z] echo Agent pid 38 killed; [2023-09-19T18:47:15.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T18:47:15.853Z] + git semver [Pipeline] } [2023-09-19T18:47:16.125Z] $ docker stop --time=1 c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d [2023-09-19T18:47:17.402Z] $ docker rm -f --volumes c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:47:17.731Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T18:47:17.732Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:47:18.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:47:18.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:47:18.094Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:47:18.125Z] $ 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-19T18:47:18.440Z] $ docker top a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T18:47:18.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:47:18.528Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:47:18.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:47:18.646Z] $ docker exec a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 ssh-agent [2023-09-19T18:47:18.766Z] SSH_AUTH_SOCK=/tmp/ssh-W2yahhjG50Lu/agent.32 [2023-09-19T18:47:18.766Z] SSH_AGENT_PID=38 [2023-09-19T18:47:18.770Z] Running ssh-add (command line suppressed) [2023-09-19T18:47:18.875Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8582693469352333469.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8582693469352333469.key) [2023-09-19T18:47:18.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:47:19.172Z] + git semver push [2023-09-19T18:47:19.430Z] 2023-09-19 18:47:19,344 [run_push] DEBUG push [2023-09-19T18:47:19.430Z] 2023-09-19 18:47:19,344 [execute] INFO git cat-file --batch-check [2023-09-19T18:47:19.430Z] 2023-09-19 18:47:19,344 [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-19T18:47:19.430Z] 2023-09-19 18:47:19,348 [execute] INFO git rev-list 45d72dcab24c0bfd60c6a6eb8031d06604191a0b -- [2023-09-19T18:47:19.430Z] 2023-09-19 18:47:19,348 [execute] DEBUG Popen(['git', 'rev-list', '45d72dcab24c0bfd60c6a6eb8031d06604191a0b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T18:47:19.430Z] 2023-09-19 18:47:19,363 [execute] INFO git fetch -v origin [2023-09-19T18:47:19.430Z] 2023-09-19 18:47:19,363 [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-19T18:47:19.994Z] 2023-09-19 18:47:19,847 [run_push] DEBUG no remote changes detected [2023-09-19T18:47:19.994Z] 2023-09-19 18:47:19,847 [execute] INFO git push origin semver [2023-09-19T18:47:19.994Z] 2023-09-19 18:47:19,847 [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-19T18:47:20.928Z] 2023-09-19 18:47:20,658 [run_push] DEBUG push all version tags [2023-09-19T18:47:20.928Z] 2023-09-19 18:47:20,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-19T18:47:20.928Z] 2023-09-19 18:47:20,659 [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-19T18:47:21.494Z] 2023-09-19 18:47:21,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T18:47:21.494Z] 3.1.0-dev.27 [Pipeline] } [2023-09-19T18:47:21.505Z] $ docker exec --env ******** --env ******** a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 ssh-agent -k [2023-09-19T18:47:21.603Z] unset SSH_AUTH_SOCK; [2023-09-19T18:47:21.604Z] unset SSH_AGENT_PID; [2023-09-19T18:47:21.604Z] echo Agent pid 38 killed; [2023-09-19T18:47:21.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T18:47:21.911Z] + git semver [Pipeline] } [2023-09-19T18:47:22.183Z] $ docker stop --time=1 a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 [2023-09-19T18:47:23.476Z] $ docker rm -f --volumes a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 [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-19T18:47:24.018Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-19T18:47:24.018Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-19T18:47:24.018Z] total 16 [2023-09-19T18:47:24.018Z] drwxr-xr-x 3 root root 4096 Sep 19 18:37 . [2023-09-19T18:47:24.018Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:47 .. [2023-09-19T18:47:24.018Z] drwxr-xr-x 2 root root 4096 Sep 19 18:37 cost [2023-09-19T18:47:24.018Z] -rw-r--r-- 1 root root 85 Sep 19 18:37 cost.csv [2023-09-19T18:47:24.018Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-19T18:47:24.018Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-19T18:47:24.018Z] total 16 [2023-09-19T18:47:24.018Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:37 . [2023-09-19T18:47:24.018Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:47 .. [2023-09-19T18:47:24.018Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 18:37 cost [2023-09-19T18:47:24.018Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 19 18:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:24.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:25.165Z] ---> package-listing.sh [2023-09-19T18:47:25.165Z] ++ facter osfamily [2023-09-19T18:47:25.165Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T18:47:25.423Z] + OS_FAMILY=debian [2023-09-19T18:47:25.423Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-19T18:47:25.423Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T18:47:25.423Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T18:47:25.423Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T18:47:25.423Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T18:47:25.423Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-19T18:47:25.423Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T18:47:25.423Z] + case "${OS_FAMILY}" in [2023-09-19T18:47:25.423Z] + dpkg -l [2023-09-19T18:47:25.423Z] + grep '^ii' [2023-09-19T18:47:25.423Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T18:47:25.423Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T18:47:25.423Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T18:47:25.423Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-19T18:47:25.423Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-19T18:47:25.423Z] + 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-19T18:47:25.434Z] 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-19T18:47:25.710Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:47:26.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:47:26.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:47:26.339Z] prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container [2023-09-19T18:47:26.371Z] $ 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-19T18:47:26.597Z] $ docker top 773fc6dbe4fb545212d1869e680820c76c29262047a1264e78a22ce3ca186bc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:47:26.934Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T18:47:27.220Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T18:47:27.505Z] + ls /var/log/sa-host [2023-09-19T18:47:27.505Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:47:27.580Z] provisioning config files... [2023-09-19T18:47:27.587Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6206932313809518436tmp [Pipeline] { [Pipeline] echo [2023-09-19T18:47:27.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:27.883Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T18:47:27.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:28.218Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T18:47:28.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:28.506Z] ---> sudo-logs.sh [2023-09-19T18:47:28.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T18:47:28.538Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:28.819Z] ---> job-cost.sh [2023-09-19T18:47:28.819Z] lf-activate-venv: SKIPPING [2023-09-19T18:47:28.819Z] DEBUG: total: 0.2199999988079071 [2023-09-19T18:47:28.819Z] INFO: Retrieving Stack Cost... [2023-09-19T18:47:29.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T18:47:29.408Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T18:47:29.437Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:47:29.767Z] ---> logs-deploy.sh [2023-09-19T18:47:29.767Z] lf-activate-venv: SKIPPING [2023-09-19T18:47:29.767Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/255 [2023-09-19T18:47:29.767Z] INFO: archiving workspace using pattern(s): [2023-09-19T18:47:30.775Z] Archives upload complete. [2023-09-19T18:47:30.775Z] INFO: archiving logs to Nexus