Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 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-ssh10403850379462767931.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-ssh3817598030894326110.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-ssh13848698773039209349.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-ssh10129092224133236349.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-ssh6541340672157550629.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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7219’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7214’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7215’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7226’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7227’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7217’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7229 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 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c (main) Commit message: "Merge pull request #1517 from ernestojeda/create-release" > 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 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 > git rev-list --no-walk c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:55:58.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:55:58.130Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:55:58.150Z] ========================================================= [2023-09-20T20:55:58.150Z] EdgeX Global Pipelines Version Info [2023-09-20T20:55:58.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:59.212Z] ------------------- [2023-09-20T20:55:59.212Z] stable info: [2023-09-20T20:55:59.212Z] ------------------- [2023-09-20T20:55:59.212Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:55:59.212Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:55:59.212Z] Message: update stable to v1.0.254 [2023-09-20T20:55:59.783Z] ------------------- [2023-09-20T20:55:59.783Z] experimental info: [2023-09-20T20:55:59.783Z] ------------------- [2023-09-20T20:55:59.783Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:55:59.783Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:55:59.783Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:55:59.942Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-20T20:55:59.959Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-20T20:55:59.972Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:55:59.990Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:56:00.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:56:00.024Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:56:00.039Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:56:00.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-20T20:56:00.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:56:00.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:56:00.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:56:00.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-20T20:56:00.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:56:00.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:56:00.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:56:00.186Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:00.204Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:00.220Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:00.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:56:00.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:56:00.272Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T20:56:00.294Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-20T20:56:00.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:56:00.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:56:00.346Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:56:00.365Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:56:00.384Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:56:00.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:56:00.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:56:00.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:56:00.465Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo [2023-09-20T20:56:00.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b02d0a [Pipeline] echo [2023-09-20T20:56:00.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:56:00.555Z] provisioning config files... [2023-09-20T20:56:00.568Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12179360716465481639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:00.874Z] ---> docker-login.sh [2023-09-20T20:56:00.874Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:56:01.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:01.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:01.135Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:01.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:01.135Z] [2023-09-20T20:56:01.135Z] Login Succeeded [2023-09-20T20:56:01.135Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:56:01.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:01.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:01.397Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:01.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:01.397Z] [2023-09-20T20:56:01.397Z] Login Succeeded [2023-09-20T20:56:01.397Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:56:01.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:01.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:01.397Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:01.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:01.397Z] [2023-09-20T20:56:01.397Z] Login Succeeded [2023-09-20T20:56:01.397Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:56:01.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:01.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:01.662Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:01.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:01.662Z] [2023-09-20T20:56:01.662Z] Login Succeeded [2023-09-20T20:56:01.662Z] docker.io [2023-09-20T20:56:01.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:01.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:01.923Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:01.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:01.923Z] [2023-09-20T20:56:01.923Z] Login Succeeded [2023-09-20T20:56:01.923Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:56:01.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:56:02.318Z] + git rev-list -1 --merges 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c~1..3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo [2023-09-20T20:56:02.365Z] -----------> git rev-list -1 --merges 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c~1..3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [2023-09-20T20:56:02.365Z] 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [false] [Pipeline] sh [2023-09-20T20:56:02.658Z] + git log --format=format:%s -1 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo [2023-09-20T20:56:02.673Z] ========================================================= [2023-09-20T20:56:02.673Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:56:02.673Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:56:03.006Z] + git log --format=format:%s -1 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo [2023-09-20T20:56:03.017Z] [semverPrep] GIT_COMMIT: 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c, Commit Message: Merge pull request #1517 from ernestojeda/create-release [Pipeline] echo [2023-09-20T20:56:03.030Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:56:03.374Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:56:03.374Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:56:03.374Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:56:03.374Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:56:03.374Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:56:03.374Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:56:03.374Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:03.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:03.723Z] [2023-09-20T20:56:03.723Z] 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-20T20:56:04.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:04.027Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:56:04.027Z] b85a868b505f: Pulling fs layer [2023-09-20T20:56:04.027Z] e2be974225ed: Pulling fs layer [2023-09-20T20:56:04.027Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:56:04.027Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:56:04.027Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:56:04.027Z] eaf3925da568: Pulling fs layer [2023-09-20T20:56:04.027Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:56:04.027Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:56:04.027Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:56:04.027Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:56:04.027Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:56:04.027Z] 988bab9f4d93: Waiting [2023-09-20T20:56:04.027Z] bde34c3a00c8: Waiting [2023-09-20T20:56:04.027Z] b352a97aabf1: Waiting [2023-09-20T20:56:04.027Z] 4872d77fe225: Waiting [2023-09-20T20:56:04.027Z] 1469e6f7b9e6: Waiting [2023-09-20T20:56:04.027Z] 5851b861e8e6: Waiting [2023-09-20T20:56:04.027Z] eaf3925da568: Waiting [2023-09-20T20:56:04.027Z] bab4dde63d76: Waiting [2023-09-20T20:56:04.027Z] e2be974225ed: Verifying Checksum [2023-09-20T20:56:04.027Z] e2be974225ed: Download complete [2023-09-20T20:56:04.027Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:56:04.027Z] 988bab9f4d93: Download complete [2023-09-20T20:56:04.287Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:56:04.287Z] 1469e6f7b9e6: Download complete [2023-09-20T20:56:04.287Z] eaf3925da568: Verifying Checksum [2023-09-20T20:56:04.287Z] eaf3925da568: Download complete [2023-09-20T20:56:04.287Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:56:04.287Z] 339a4e72a1f5: Download complete [2023-09-20T20:56:04.287Z] bde34c3a00c8: Download complete [2023-09-20T20:56:04.287Z] b352a97aabf1: Verifying Checksum [2023-09-20T20:56:04.287Z] b352a97aabf1: Download complete [2023-09-20T20:56:04.287Z] 4872d77fe225: Download complete [2023-09-20T20:56:04.287Z] 5851b861e8e6: Download complete [2023-09-20T20:56:04.287Z] b85a868b505f: Verifying Checksum [2023-09-20T20:56:04.287Z] b85a868b505f: Download complete [2023-09-20T20:56:04.545Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:56:04.546Z] bab4dde63d76: Download complete [2023-09-20T20:56:05.483Z] b85a868b505f: Pull complete [2023-09-20T20:56:06.051Z] e2be974225ed: Pull complete [2023-09-20T20:56:06.615Z] 339a4e72a1f5: Pull complete [2023-09-20T20:56:06.872Z] 988bab9f4d93: Pull complete [2023-09-20T20:56:07.440Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:56:07.696Z] eaf3925da568: Pull complete [2023-09-20T20:56:09.608Z] bab4dde63d76: Pull complete [2023-09-20T20:56:09.868Z] bde34c3a00c8: Pull complete [2023-09-20T20:56:10.443Z] b352a97aabf1: Pull complete [2023-09-20T20:56:10.702Z] 4872d77fe225: Pull complete [2023-09-20T20:56:10.702Z] 5851b861e8e6: Pull complete [2023-09-20T20:56:10.961Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:56:11.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:11.220Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:11.334Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T20:56:11.366Z] $ 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-20T20:56:17.735Z] $ docker top cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 -eo pid,comm [2023-09-20T20:56:17.794Z] 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-20T20:56:17.794Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:56:17.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:56:17.833Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:56:17.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:56:17.949Z] $ docker exec cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent [2023-09-20T20:56:18.060Z] SSH_AUTH_SOCK=/tmp/ssh-v57dPCNNSM1D/agent.31 [2023-09-20T20:56:18.060Z] SSH_AGENT_PID=37 [2023-09-20T20:56:18.066Z] Running ssh-add (command line suppressed) [2023-09-20T20:56:18.180Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13817706959711062547.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13817706959711062547.key) [2023-09-20T20:56:18.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:56:18.475Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:56:18.495Z] $ docker exec --env ******** --env ******** cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent -k [2023-09-20T20:56:18.585Z] unset SSH_AUTH_SOCK; [2023-09-20T20:56:18.586Z] unset SSH_AGENT_PID; [2023-09-20T20:56:18.586Z] echo Agent pid 37 killed; [2023-09-20T20:56:18.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:56:18.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:56:18.614Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:56:18.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:56:18.708Z] $ docker exec cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent [2023-09-20T20:56:18.813Z] SSH_AUTH_SOCK=/tmp/ssh-X4f13yZY9LAA/agent.69 [2023-09-20T20:56:18.813Z] SSH_AGENT_PID=75 [2023-09-20T20:56:18.817Z] Running ssh-add (command line suppressed) [2023-09-20T20:56:18.917Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9611296020690246501.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9611296020690246501.key) [2023-09-20T20:56:18.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:56:19.214Z] + git semver init [2023-09-20T20:56:19.473Z] 2023-09-20 20:56:19,427 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:56:19.473Z] 2023-09-20 20:56:19,427 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-20T20:56:19.473Z] 2023-09-20 20:56:19,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-20T20:56:19.473Z] 2023-09-20 20:56:19,428 [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-20T20:56:20.412Z] 2023-09-20 20:56:20,368 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-20T20:56:20.412Z] 2023-09-20 20:56:20,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-20T20:56:20.412Z] 2023-09-20 20:56:20,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T20:56:20.412Z] 2023-09-20 20:56:20,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T20:56:20.412Z] 3.1.0-dev.29 [Pipeline] } [2023-09-20T20:56:20.425Z] $ docker exec --env ******** --env ******** cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent -k [2023-09-20T20:56:20.515Z] unset SSH_AUTH_SOCK; [2023-09-20T20:56:20.516Z] unset SSH_AGENT_PID; [2023-09-20T20:56:20.516Z] echo Agent pid 75 killed; [2023-09-20T20:56:20.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:56:20.834Z] + git semver [Pipeline] } [2023-09-20T20:56:21.109Z] $ docker stop --time=1 cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 [2023-09-20T20:56:22.457Z] $ docker rm -f --volumes cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:56:22.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:56:23.030Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:56:23.032Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.29 [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-20T20:56:23.192Z] provisioning config files... [2023-09-20T20:56:23.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8223643783217103668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:23.496Z] ---> docker-login.sh [2023-09-20T20:56:23.496Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:56:23.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:23.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:23.496Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:23.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:23.496Z] [2023-09-20T20:56:23.496Z] Login Succeeded [2023-09-20T20:56:23.496Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:56:23.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:23.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:23.496Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:23.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:23.496Z] [2023-09-20T20:56:23.496Z] Login Succeeded [2023-09-20T20:56:23.496Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:56:23.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:23.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:23.754Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:23.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:23.754Z] [2023-09-20T20:56:23.754Z] Login Succeeded [2023-09-20T20:56:23.754Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:56:23.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:23.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:23.754Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:23.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:23.754Z] [2023-09-20T20:56:23.754Z] Login Succeeded [2023-09-20T20:56:23.754Z] docker.io [2023-09-20T20:56:23.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:24.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:24.014Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:24.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:24.014Z] [2023-09-20T20:56:24.014Z] Login Succeeded [2023-09-20T20:56:24.014Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:56:24.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:56:24.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:56:24.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:56:24.108Z] ========================================================= [2023-09-20T20:56:24.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:56:24.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:24.429Z] + 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-20T20:56:24.429Z] Sending build context to Docker daemon 11.16MB [2023-09-20T20:56:24.429Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:56:24.429Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T20:56:24.429Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:56:24.429Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:56:24.429Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:56:24.429Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:56:24.429Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:56:24.429Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:56:24.429Z] c68163c4e522: Pulling fs layer [2023-09-20T20:56:24.429Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:56:24.429Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:56:24.429Z] ad3a456e5733: Waiting [2023-09-20T20:56:24.429Z] 33e27b845d1e: Waiting [2023-09-20T20:56:24.429Z] c68163c4e522: Waiting [2023-09-20T20:56:24.429Z] 23d2d4c4bb30: Waiting [2023-09-20T20:56:24.429Z] 50da416c3ac9: Waiting [2023-09-20T20:56:24.689Z] c4d48a809fc2: Download complete [2023-09-20T20:56:24.689Z] ad3a456e5733: Download complete [2023-09-20T20:56:24.689Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:56:24.689Z] 33e27b845d1e: Download complete [2023-09-20T20:56:24.689Z] c68163c4e522: Verifying Checksum [2023-09-20T20:56:24.689Z] c68163c4e522: Download complete [2023-09-20T20:56:24.689Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:56:24.689Z] 7264a8db6415: Download complete [2023-09-20T20:56:24.947Z] 7264a8db6415: Pull complete [2023-09-20T20:56:24.948Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:56:24.948Z] 23d2d4c4bb30: Download complete [2023-09-20T20:56:24.948Z] c4d48a809fc2: Pull complete [2023-09-20T20:56:24.948Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:56:24.948Z] 4f1c88b9dad5: Download complete [2023-09-20T20:56:25.512Z] 50da416c3ac9: Download complete [2023-09-20T20:56:28.038Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:56:28.038Z] ad3a456e5733: Pull complete [2023-09-20T20:56:28.038Z] 33e27b845d1e: Pull complete [2023-09-20T20:56:28.038Z] c68163c4e522: Pull complete [2023-09-20T20:56:30.581Z] 50da416c3ac9: Pull complete [2023-09-20T20:56:31.148Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:56:31.406Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:56:31.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:56:31.666Z] ---> 0786185ac409 [2023-09-20T20:56:31.666Z] Step 3/10 : ARG MAKE=make build [2023-09-20T20:56:38.155Z] Still waiting to schedule task [2023-09-20T20:56:38.156Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:38.156Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:38.156Z] ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:38.156Z] ‘prd-ubuntu20.04-docker-8c-8g-7233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:38.156Z] ‘prd-ubuntu20.04-docker-8c-8g-7236’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:38.156Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7231’ is offline [2023-09-20T20:56:46.544Z] ---> Running in e3d9106b1b54 [2023-09-20T20:56:48.447Z] Removing intermediate container e3d9106b1b54 [2023-09-20T20:56:48.447Z] ---> 9b3adca1e7d2 [2023-09-20T20:56:48.447Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T20:56:49.056Z] ---> Running in 11cf01fdf77f [2023-09-20T20:56:49.621Z] Removing intermediate container 11cf01fdf77f [2023-09-20T20:56:49.621Z] ---> 5f07829a5f3e [2023-09-20T20:56:49.621Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:56:50.188Z] ---> Running in f2d1f13d5ca0 [2023-09-20T20:56:51.123Z] Removing intermediate container f2d1f13d5ca0 [2023-09-20T20:56:51.123Z] ---> 8f81e1f974fd [2023-09-20T20:56:51.123Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T20:56:51.690Z] ---> Running in 14dcee4e1271 [2023-09-20T20:56:52.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:52.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:52.884Z] OK: 264 MiB in 52 packages [2023-09-20T20:56:53.820Z] Removing intermediate container 14dcee4e1271 [2023-09-20T20:56:53.820Z] ---> e65aa020e7d4 [2023-09-20T20:56:53.820Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T20:56:53.820Z] ---> 8e5003346582 [2023-09-20T20:56:53.820Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:56:53.820Z] ---> Running in 6f261bc3231d [2023-09-20T20:57:40.523Z] Removing intermediate container 6f261bc3231d [2023-09-20T20:57:40.523Z] ---> 350ed3c74094 [2023-09-20T20:57:40.523Z] Step 9/10 : COPY . . [2023-09-20T20:57:40.523Z] ---> 242572f84cbf [2023-09-20T20:57:40.523Z] Step 10/10 : RUN ${MAKE} [2023-09-20T20:57:40.523Z] ---> Running in 782200a25a2e [2023-09-20T20:57:40.523Z] noop [2023-09-20T20:57:40.523Z] Removing intermediate container 782200a25a2e [2023-09-20T20:57:40.523Z] ---> 7b2d03d33265 [2023-09-20T20:57:40.523Z] Successfully built 7b2d03d33265 [2023-09-20T20:57:40.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:40.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:57:40.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:40.903Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T20:57:40.937Z] $ 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-20T20:57:41.646Z] $ docker top bb5aca1b34a131fb925d70b2d9fda92334232dbf5dd8ad0bbcd6ca20ba7d54d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:57:41.971Z] + go version [2023-09-20T20:57:41.971Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:57:41.985Z] $ docker stop --time=1 bb5aca1b34a131fb925d70b2d9fda92334232dbf5dd8ad0bbcd6ca20ba7d54d5 [2023-09-20T20:57:43.264Z] $ docker rm -f --volumes bb5aca1b34a131fb925d70b2d9fda92334232dbf5dd8ad0bbcd6ca20ba7d54d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:43.686Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:57:43.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:43.760Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T20:57:43.797Z] $ 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-20T20:57:44.142Z] $ docker top 1a5fa7df224ce62d68336ed35d94afa2c589910c133f75dbd429ab74a901d608 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:57:44.486Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:57:44.784Z] + make test [2023-09-20T20:57:44.784Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T20:57:51.336Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T20:58:06.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.062s coverage: 27.6% of statements [2023-09-20T20:58:06.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 80.2% of statements [2023-09-20T20:58:06.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T20:58:06.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements [2023-09-20T20:58:06.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T20:58:06.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T20:58:06.757Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.073s coverage: 71.8% of statements [2023-09-20T20:58:06.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T20:58:10.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements [2023-09-20T20:58:10.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.088s coverage: 45.9% of statements [2023-09-20T20:58:10.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.072s coverage: 68.5% of statements [2023-09-20T20:58:10.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.121s coverage: 89.2% of statements [2023-09-20T20:58:10.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements [2023-09-20T20:58:37.151Z] GO111MODULE=on go vet ./... [2023-09-20T20:58:37.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:58:37.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:58:37.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:58:37.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:58:37.180Z] $ docker stop --time=1 1a5fa7df224ce62d68336ed35d94afa2c589910c133f75dbd429ab74a901d608 [2023-09-20T20:58:43.225Z] $ docker rm -f --volumes 1a5fa7df224ce62d68336ed35d94afa2c589910c133f75dbd429ab74a901d608 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:58:43.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:58:43.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:58:44.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:58:44.608Z] + ls -al . [2023-09-20T20:58:44.608Z] total 304 [2023-09-20T20:58:44.608Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 20:57 . [2023-09-20T20:58:44.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 .. [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:55 .dockerignore [2023-09-20T20:58:44.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:58 .git [2023-09-20T20:58:44.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:55 .github [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 20:55 .gitignore [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 20:55 .golangci.yml [2023-09-20T20:58:44.608Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:56 .semver [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 20:55 CHANGELOG.md [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:55 GOVERNANCE.md [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 20:55 Jenkinsfile [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 20:55 LICENSE [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 20:55 Makefile [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 20:55 OWNERS.md [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 20:55 README.md [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:56 VERSION [2023-09-20T20:58:44.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:55 bin [2023-09-20T20:58:44.608Z] -rw-r--r-- 1 jenkins jenkins 121387 Sep 20 20:58 coverage.out [2023-09-20T20:58:44.608Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 20:55 example [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 20:55 go.mod [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 20:55 go.sum [2023-09-20T20:58:44.608Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 20:55 internal [2023-09-20T20:58:44.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:55 openapi [2023-09-20T20:58:44.608Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 20:55 pkg [2023-09-20T20:58:44.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 snap [2023-09-20T20:58:44.608Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:44.911Z] + 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=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c --label arch=amd64 --label version=3.1.0-dev.29 . [2023-09-20T20:58:44.912Z] Sending build context to Docker daemon 11.28MB [2023-09-20T20:58:44.912Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:58:44.912Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T20:58:44.912Z] ---> 7b2d03d33265 [2023-09-20T20:58:44.912Z] Step 3/23 : ARG MAKE=make build [2023-09-20T20:58:45.848Z] ---> Running in 06f19c700f6f [2023-09-20T20:58:46.108Z] Removing intermediate container 06f19c700f6f [2023-09-20T20:58:46.108Z] ---> 151a44e4b27d [2023-09-20T20:58:46.108Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T20:58:46.367Z] ---> Running in 9b52320ed3f3 [2023-09-20T20:58:46.935Z] Removing intermediate container 9b52320ed3f3 [2023-09-20T20:58:46.935Z] ---> 7f78d8f869f8 [2023-09-20T20:58:46.935Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:58:47.193Z] ---> Running in 2fea4aca0a2a [2023-09-20T20:58:47.452Z] Removing intermediate container 2fea4aca0a2a [2023-09-20T20:58:47.452Z] ---> 5e19d90f49f2 [2023-09-20T20:58:47.452Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T20:58:47.710Z] ---> Running in 9bd22b025148 [2023-09-20T20:58:48.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:48.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:48.536Z] OK: 264 MiB in 52 packages [2023-09-20T20:58:49.470Z] Removing intermediate container 9bd22b025148 [2023-09-20T20:58:49.470Z] ---> b536396dc2a1 [2023-09-20T20:58:49.470Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T20:58:49.470Z] ---> aaee489dd130 [2023-09-20T20:58:49.470Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:58:49.470Z] ---> Running in 89657e867a27 [2023-09-20T20:58:50.127Z] Removing intermediate container 89657e867a27 [2023-09-20T20:58:50.127Z] ---> e7edffff065c [2023-09-20T20:58:50.127Z] Step 9/23 : COPY . . [2023-09-20T20:58:50.692Z] ---> e73b61b396c4 [2023-09-20T20:58:50.692Z] Step 10/23 : RUN ${MAKE} [2023-09-20T20:58:50.692Z] ---> Running in cb50338de4e2 [2023-09-20T20:58:51.260Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-20T20:58:58.291Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7242 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-20T20:58:58.304Z] Running in /w/workspace/device-sdk-go/258 [Pipeline] { [Pipeline] checkout [2023-09-20T20:58:58.375Z] The recommended git tool is: git [2023-09-20T20:59:08.841Z] using credential edgex-jenkins-ssh [2023-09-20T20:59:08.880Z] Cloning the remote Git repository [2023-09-20T20:59:09.017Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T20:59:09.209Z] > git init /w/workspace/device-sdk-go/258 # timeout=10 [2023-09-20T20:59:09.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T20:59:09.563Z] > git --version # timeout=10 [2023-09-20T20:59:09.615Z] > git --version # 'git version 2.25.1' [2023-09-20T20:59:09.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:59:09.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:12.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T20:59:12.920Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:15.740Z] Avoid second fetch [2023-09-20T20:59:15.740Z] Checking out Revision 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c (main) [2023-09-20T20:59:15.947Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:59:16.344Z] > git checkout -f 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 [2023-09-20T20:59:17.631Z] Commit message: "Merge pull request #1517 from ernestojeda/create-release" [2023-09-20T20:59:17.863Z] Removing intermediate container cb50338de4e2 [2023-09-20T20:59:17.863Z] ---> c35d0e4f1c1a [2023-09-20T20:59:17.863Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T20:59:17.863Z] 3.18: Pulling from library/alpine [2023-09-20T20:59:17.863Z] 7264a8db6415: Already exists [2023-09-20T20:59:17.863Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:59:18.122Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:59:18.123Z] ---> 7e01a0d0a1dc [2023-09-20T20:59:18.123Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T20:59:18.380Z] ---> Running in e19b0c429a7f [2023-09-20T20:59:18.380Z] Removing intermediate container e19b0c429a7f [2023-09-20T20:59:18.380Z] ---> 5e26cbcd0229 [2023-09-20T20:59:18.380Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T20:59:18.380Z] ---> Running in 517c4c10afa6 [2023-09-20T20:59:18.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:18.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:18.687Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:59:18.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:59:18.687Z] Dload Upload Total Spent Left Speed [2023-09-20T20:59:18.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [2023-09-20T20:59:18.899Z] OK: 7 MiB in 15 packages [Pipeline] sh [2023-09-20T20:59:19.465Z] Removing intermediate container 517c4c10afa6 [2023-09-20T20:59:19.465Z] ---> 96c611545fcb [2023-09-20T20:59:19.465Z] Step 14/23 : WORKDIR / [2023-09-20T20:59:19.465Z] ---> Running in e5d7b13d41f0 [2023-09-20T20:59:19.465Z] Removing intermediate container e5d7b13d41f0 [2023-09-20T20:59:19.465Z] ---> a0ee1cd869b1 [2023-09-20T20:59:19.465Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T20:59:19.465Z] ---> 15842c56c0b2 [2023-09-20T20:59:19.465Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T20:59:19.700Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:59:20.069Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:59:20.069Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:59:20.069Z] { [2023-09-20T20:59:20.069Z] "registry-mirrors": [ [2023-09-20T20:59:20.069Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:59:20.069Z] ], [2023-09-20T20:59:20.069Z] "bip": "10.250.0.254/24", [2023-09-20T20:59:20.069Z] "hosts": [ [2023-09-20T20:59:20.069Z] "tcp://0.0.0.0:5555", [2023-09-20T20:59:20.069Z] "unix:///var/run/docker.sock" [2023-09-20T20:59:20.069Z] ], [2023-09-20T20:59:20.069Z] "mtu": 1458, [2023-09-20T20:59:20.069Z] "selinux-enabled": true, [2023-09-20T20:59:20.069Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:59:20.069Z] } [Pipeline] sh [2023-09-20T20:59:20.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:59:20.841Z] ---> fd122778cc31 [2023-09-20T20:59:20.841Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T20:59:20.841Z] ---> 1841332f433b [2023-09-20T20:59:20.841Z] Step 18/23 : EXPOSE 59999 [2023-09-20T20:59:20.841Z] ---> Running in 1ed90fb515bc [2023-09-20T20:59:20.841Z] Removing intermediate container 1ed90fb515bc [2023-09-20T20:59:20.841Z] ---> 12c78f6c3531 [2023-09-20T20:59:20.841Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T20:59:20.957Z] + sudo service docker restart [2023-09-20T20:59:21.775Z] ---> Running in 6ae432359e34 [2023-09-20T20:59:22.715Z] Removing intermediate container 6ae432359e34 [2023-09-20T20:59:22.715Z] ---> c8f70bc22fa9 [2023-09-20T20:59:22.715Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T20:59:22.715Z] ---> Running in 49d1a051fe72 [2023-09-20T20:59:22.715Z] Removing intermediate container 49d1a051fe72 [2023-09-20T20:59:22.715Z] ---> f78f91cdc13a [2023-09-20T20:59:22.715Z] Step 21/23 : LABEL arch=amd64 [2023-09-20T20:59:22.715Z] ---> Running in e42df1b97152 [2023-09-20T20:59:22.715Z] Removing intermediate container e42df1b97152 [2023-09-20T20:59:22.715Z] ---> d3669bad708e [2023-09-20T20:59:22.715Z] Step 22/23 : LABEL git_sha=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [2023-09-20T20:59:22.715Z] ---> Running in 53f534f7f91b [2023-09-20T20:59:22.715Z] Removing intermediate container 53f534f7f91b [2023-09-20T20:59:22.715Z] ---> f1222fb71a53 [2023-09-20T20:59:22.715Z] Step 23/23 : LABEL version=3.1.0-dev.29 [2023-09-20T20:59:22.715Z] ---> Running in a5ed065a89ff [2023-09-20T20:59:22.974Z] Removing intermediate container a5ed065a89ff [2023-09-20T20:59:22.974Z] ---> a1a2f8563dcd [2023-09-20T20:59:22.974Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:59:22.974Z] Successfully built a1a2f8563dcd [2023-09-20T20:59:22.974Z] 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-20T20:59:23.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:23.414Z] [2023-09-20T20:59:23.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:23.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:23.715Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:59:23.715Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:59:23.715Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:59:23.715Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:59:23.715Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:59:23.715Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:59:23.715Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:59:23.715Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:59:23.715Z] 5d3b04190fa2: Waiting [2023-09-20T20:59:23.715Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:59:23.715Z] 33b1e0a273af: Waiting [2023-09-20T20:59:23.715Z] 2f39f015ded8: Waiting [2023-09-20T20:59:23.715Z] 5c69ac0246d0: Download complete [2023-09-20T20:59:23.715Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:59:23.715Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:59:23.715Z] 33b1e0a273af: Download complete [2023-09-20T20:59:23.715Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:59:23.715Z] ec43610c2a17: Download complete [2023-09-20T20:59:23.715Z] 5d3b04190fa2: Download complete [2023-09-20T20:59:24.270Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:59:24.270Z] 5eb5b503b376: Download complete [2023-09-20T20:59:24.836Z] 2f39f015ded8: Verifying Checksum [2023-09-20T20:59:24.836Z] 2f39f015ded8: Download complete [2023-09-20T20:59:26.176Z] 5eb5b503b376: Pull complete [2023-09-20T20:59:26.176Z] 5c69ac0246d0: Pull complete [2023-09-20T20:59:26.176Z] ec43610c2a17: Pull complete [2023-09-20T20:59:26.596Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:59:28.057Z] 33b1e0a273af: Pull complete [2023-09-20T20:59:28.058Z] 5d3b04190fa2: Pull complete [2023-09-20T20:59:31.337Z] 2f39f015ded8: Pull complete [2023-09-20T20:59:31.337Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:59:31.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:31.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:59:31.422Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T20:59:31.457Z] $ 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-20T20:59:42.241Z] $ docker top 9381df27adde880d76b83dff4c4569de25404bf45b3711abc05d39d493ab1bee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-09-20T20:59:42.374Z] provisioning config files... [2023-09-20T20:59:42.415Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/258@tmp/config6775821154159723215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:59:42.625Z] ---> job-cost.sh [2023-09-20T20:59:42.625Z] lf-activate-venv: SKIPPING [2023-09-20T20:59:42.625Z] INFO: No Stack... [2023-09-20T20:59:42.816Z] ---> docker-login.sh [2023-09-20T20:59:42.816Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:59:42.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:59:43.140Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:59:43.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:43.425Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-20T20:59:43.425Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:59:43.437Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [2023-09-20T20:59:43.446Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] did not exist. Created. [2023-09-20T20:59:43.446Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:59:43.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:43.695Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:43.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:43.695Z] [2023-09-20T20:59:43.695Z] Login Succeeded [2023-09-20T20:59:43.695Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:59:43.743Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:59:43.776Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:59:43.785Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:59:43.806Z] $ docker stop --time=1 9381df27adde880d76b83dff4c4569de25404bf45b3711abc05d39d493ab1bee [2023-09-20T20:59:43.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:43.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:43.972Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:43.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:43.972Z] [2023-09-20T20:59:43.972Z] Login Succeeded [2023-09-20T20:59:43.972Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:59:44.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:44.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:44.574Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:44.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:44.574Z] [2023-09-20T20:59:44.574Z] Login Succeeded [2023-09-20T20:59:44.574Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:59:44.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:44.971Z] $ docker rm -f --volumes 9381df27adde880d76b83dff4c4569de25404bf45b3711abc05d39d493ab1bee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:59:45.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:45.129Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:45.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:45.129Z] [2023-09-20T20:59:45.129Z] Login Succeeded [2023-09-20T20:59:45.129Z] docker.io [2023-09-20T20:59:45.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:45.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:45.679Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:45.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:45.679Z] [2023-09-20T20:59:45.679Z] Login Succeeded [2023-09-20T20:59:45.679Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:59:45.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:59:46.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:59:46.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:59:46.138Z] ========================================================= [2023-09-20T20:59:46.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T20:59:46.138Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:46.510Z] + 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-20T20:59:47.133Z] Sending build context to Docker daemon 5.963MB [2023-09-20T20:59:47.133Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:59:47.133Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T20:59:47.133Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T20:59:47.133Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T20:59:47.133Z] 5d54e960e981: Pulling fs layer [2023-09-20T20:59:47.133Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T20:59:47.133Z] f0e02332f6b5: Pulling fs layer [2023-09-20T20:59:47.133Z] cefa15bbcfad: Pulling fs layer [2023-09-20T20:59:47.133Z] 17808c966233: Pulling fs layer [2023-09-20T20:59:47.133Z] f4c1fc716caa: Pulling fs layer [2023-09-20T20:59:47.133Z] cefa15bbcfad: Waiting [2023-09-20T20:59:47.133Z] 17808c966233: Waiting [2023-09-20T20:59:47.133Z] f4c1fc716caa: Waiting [2023-09-20T20:59:47.133Z] f0e02332f6b5: Waiting [2023-09-20T20:59:47.405Z] 5d54e960e981: Verifying Checksum [2023-09-20T20:59:47.405Z] 5d54e960e981: Download complete [2023-09-20T20:59:47.405Z] f0e02332f6b5: Verifying Checksum [2023-09-20T20:59:47.405Z] f0e02332f6b5: Download complete [2023-09-20T20:59:47.405Z] cefa15bbcfad: Verifying Checksum [2023-09-20T20:59:47.405Z] cefa15bbcfad: Download complete [2023-09-20T20:59:47.405Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T20:59:47.405Z] 9fda8d8052c6: Download complete [2023-09-20T20:59:48.008Z] f4c1fc716caa: Verifying Checksum [2023-09-20T20:59:48.008Z] f4c1fc716caa: Download complete [2023-09-20T20:59:48.284Z] 9fda8d8052c6: Pull complete [2023-09-20T20:59:48.886Z] 5d54e960e981: Pull complete [2023-09-20T20:59:49.169Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T20:59:49.169Z] c4a7e357bf2a: Download complete [2023-09-20T20:59:50.150Z] 17808c966233: Verifying Checksum [2023-09-20T20:59:50.150Z] 17808c966233: Download complete [2023-09-20T21:00:00.292Z] c4a7e357bf2a: Pull complete [2023-09-20T21:00:00.563Z] f0e02332f6b5: Pull complete [2023-09-20T21:00:00.839Z] cefa15bbcfad: Pull complete [2023-09-20T21:00:09.215Z] 17808c966233: Pull complete [2023-09-20T21:00:10.650Z] f4c1fc716caa: Pull complete [2023-09-20T21:00:10.650Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T21:00:10.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:00:10.650Z] ---> ea914061e18c [2023-09-20T21:00:10.650Z] Step 3/10 : ARG MAKE=make build [2023-09-20T21:00:11.632Z] ---> Running in bb15f9db8ebb [2023-09-20T21:00:11.906Z] Removing intermediate container bb15f9db8ebb [2023-09-20T21:00:11.906Z] ---> 27e75cbd8954 [2023-09-20T21:00:11.906Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T21:00:11.906Z] ---> Running in 2054d5b6fcb0 [2023-09-20T21:00:12.502Z] Removing intermediate container 2054d5b6fcb0 [2023-09-20T21:00:12.502Z] ---> 108d739453ce [2023-09-20T21:00:12.502Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T21:00:12.502Z] ---> Running in 5e204c9ee436 [2023-09-20T21:00:12.784Z] Removing intermediate container 5e204c9ee436 [2023-09-20T21:00:12.784Z] ---> 7a30f67375d9 [2023-09-20T21:00:12.784Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T21:00:13.059Z] ---> Running in c804eb75b6ca [2023-09-20T21:00:14.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:00:14.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:00:16.381Z] OK: 266 MiB in 52 packages [2023-09-20T21:00:17.837Z] Removing intermediate container c804eb75b6ca [2023-09-20T21:00:17.837Z] ---> b72546db2423 [2023-09-20T21:00:17.837Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T21:00:18.112Z] ---> f26fe5dce79d [2023-09-20T21:00:18.112Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:00:18.392Z] ---> Running in da62bbb16d82 [2023-09-20T21:01:40.158Z] Removing intermediate container da62bbb16d82 [2023-09-20T21:01:40.158Z] ---> 1322de51fd62 [2023-09-20T21:01:40.158Z] Step 9/10 : COPY . . [2023-09-20T21:01:40.158Z] ---> bac133652c91 [2023-09-20T21:01:40.158Z] Step 10/10 : RUN ${MAKE} [2023-09-20T21:01:40.158Z] ---> Running in b1395a148983 [2023-09-20T21:01:40.158Z] noop [2023-09-20T21:01:40.158Z] Removing intermediate container b1395a148983 [2023-09-20T21:01:40.158Z] ---> ca31c9bed312 [2023-09-20T21:01:40.158Z] Successfully built ca31c9bed312 [2023-09-20T21:01:40.158Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:01:40.541Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:01:40.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:01:40.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-7242 does not seem to be running inside a container [2023-09-20T21:01:40.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/258 -v /w/workspace/device-sdk-go/258:/w/workspace/device-sdk-go/258:rw,z -v /w/workspace/device-sdk-go/258@tmp:/w/workspace/device-sdk-go/258@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-20T21:01:42.512Z] $ docker top affbb816f899f470a4f9319ff61d35ecbde40cd1fb2895db58be21174abbdff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:01:43.654Z] + go version [2023-09-20T21:01:43.654Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:01:43.690Z] $ docker stop --time=1 affbb816f899f470a4f9319ff61d35ecbde40cd1fb2895db58be21174abbdff0 [2023-09-20T21:01:45.501Z] $ docker rm -f --volumes affbb816f899f470a4f9319ff61d35ecbde40cd1fb2895db58be21174abbdff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:01:46.121Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:01:46.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:01:46.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-7242 does not seem to be running inside a container [2023-09-20T21:01:46.480Z] $ 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/258 -v /w/workspace/device-sdk-go/258:/w/workspace/device-sdk-go/258:rw,z -v /w/workspace/device-sdk-go/258@tmp:/w/workspace/device-sdk-go/258@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-20T21:01:47.916Z] $ docker top bfe3fde28846de6c3df32642989d8fc242efee8eadb9223da46d5a7c7c11908e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:01:48.837Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/258 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:01:49.596Z] + make test [2023-09-20T21:01:49.596Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T21:02:46.228Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T21:05:23.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T21:05:23.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T21:05:23.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T21:05:23.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T21:05:23.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T21:05:23.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.227s coverage: 27.6% of statements [2023-09-20T21:05:28.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.295s coverage: 80.2% of statements [2023-09-20T21:05:43.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T21:05:43.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T21:05:44.510Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.428s coverage: 86.0% of statements [2023-09-20T21:05:51.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T21:05:52.277Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.656s coverage: 71.8% of statements [2023-09-20T21:05:55.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.355s coverage: 14.4% of statements [2023-09-20T21:05:59.059Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T21:05:59.059Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T21:05:59.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.203s coverage: 45.9% of statements [2023-09-20T21:06:00.037Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.451s coverage: 68.5% of statements [2023-09-20T21:06:04.337Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.522s coverage: 89.2% of statements [2023-09-20T21:06:04.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T21:06:06.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.288s coverage: 5.5% of statements [2023-09-20T21:06:07.022Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T21:06:07.022Z] GO111MODULE=on go vet ./... [2023-09-20T21:08:28.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:08:28.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:08:28.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T21:08:28.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:08:28.962Z] $ docker stop --time=1 bfe3fde28846de6c3df32642989d8fc242efee8eadb9223da46d5a7c7c11908e [2023-09-20T21:08:31.057Z] $ docker rm -f --volumes bfe3fde28846de6c3df32642989d8fc242efee8eadb9223da46d5a7c7c11908e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:08:33.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:08:33.161Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:08:33.936Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:08:34.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:08:34.690Z] + ls -al . [2023-09-20T21:08:34.690Z] total 300 [2023-09-20T21:08:34.690Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:01 . [2023-09-20T21:08:34.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 .. [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:59 .dockerignore [2023-09-20T21:08:34.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git [2023-09-20T21:08:34.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 .github [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 20:59 .gitignore [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 20:59 .golangci.yml [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 20:59 CHANGELOG.md [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:59 GOVERNANCE.md [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 20:59 Jenkinsfile [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 20:59 LICENSE [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 20:59 Makefile [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 20:59 OWNERS.md [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 20:59 README.md [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:56 VERSION [2023-09-20T21:08:34.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 bin [2023-09-20T21:08:34.690Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 21:06 coverage.out [2023-09-20T21:08:34.690Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 20:59 example [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 20:59 go.mod [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 20:59 go.sum [2023-09-20T21:08:34.690Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 20:59 internal [2023-09-20T21:08:34.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 openapi [2023-09-20T21:08:34.690Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 20:59 pkg [2023-09-20T21:08:34.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 snap [2023-09-20T21:08:34.690Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:35.107Z] + 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=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c --label arch=arm64 --label version=3.1.0-dev.29 . [2023-09-20T21:08:35.383Z] Sending build context to Docker daemon 6.086MB [2023-09-20T21:08:35.655Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:08:35.655Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T21:08:35.655Z] ---> ca31c9bed312 [2023-09-20T21:08:35.655Z] Step 3/23 : ARG MAKE=make build [2023-09-20T21:08:35.655Z] ---> Running in 9895944f1563 [2023-09-20T21:08:35.925Z] Removing intermediate container 9895944f1563 [2023-09-20T21:08:35.925Z] ---> 83037a6cf95a [2023-09-20T21:08:35.925Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T21:08:36.205Z] ---> Running in 6c3304e65949 [2023-09-20T21:08:36.480Z] Removing intermediate container 6c3304e65949 [2023-09-20T21:08:36.480Z] ---> 70f6d4ed0f8b [2023-09-20T21:08:36.480Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T21:08:36.753Z] ---> Running in 92f63af493cb [2023-09-20T21:08:37.031Z] Removing intermediate container 92f63af493cb [2023-09-20T21:08:37.031Z] ---> 99142f3d9604 [2023-09-20T21:08:37.031Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T21:08:37.031Z] ---> Running in 5be0d3061b8e [2023-09-20T21:08:38.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:08:38.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:08:40.152Z] OK: 266 MiB in 52 packages [2023-09-20T21:08:41.130Z] Removing intermediate container 5be0d3061b8e [2023-09-20T21:08:41.130Z] ---> da2b62b8326e [2023-09-20T21:08:41.130Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T21:08:41.726Z] ---> 3e76bbffaabb [2023-09-20T21:08:41.726Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:08:41.997Z] ---> Running in 58601c4366e6 [2023-09-20T21:08:44.604Z] Removing intermediate container 58601c4366e6 [2023-09-20T21:08:44.604Z] ---> fe91fc8d0185 [2023-09-20T21:08:44.604Z] Step 9/23 : COPY . . [2023-09-20T21:08:45.581Z] ---> a87afd0cc40c [2023-09-20T21:08:45.581Z] Step 10/23 : RUN ${MAKE} [2023-09-20T21:08:45.581Z] ---> Running in 3902320e95fe [2023-09-20T21:08:47.024Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-20T21:11:10.361Z] Removing intermediate container 3902320e95fe [2023-09-20T21:11:10.361Z] ---> 24688bc2a5c4 [2023-09-20T21:11:10.361Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T21:11:10.361Z] 3.18: Pulling from library/alpine [2023-09-20T21:11:10.361Z] 9fda8d8052c6: Already exists [2023-09-20T21:11:10.361Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T21:11:10.361Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T21:11:10.361Z] ---> f6648c04cd6c [2023-09-20T21:11:10.361Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T21:11:10.361Z] ---> Running in 053ad5cbceac [2023-09-20T21:11:10.361Z] Removing intermediate container 053ad5cbceac [2023-09-20T21:11:10.361Z] ---> c0ba3deeffe3 [2023-09-20T21:11:10.361Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T21:11:10.361Z] ---> Running in e69ecb8bcec6 [2023-09-20T21:11:10.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:11:10.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:11:10.361Z] OK: 8 MiB in 15 packages [2023-09-20T21:11:10.361Z] Removing intermediate container e69ecb8bcec6 [2023-09-20T21:11:10.361Z] ---> 130c7850a053 [2023-09-20T21:11:10.361Z] Step 14/23 : WORKDIR / [2023-09-20T21:11:10.361Z] ---> Running in 03ea637d6b43 [2023-09-20T21:11:10.361Z] Removing intermediate container 03ea637d6b43 [2023-09-20T21:11:10.361Z] ---> bb6ffe3ad733 [2023-09-20T21:11:10.361Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T21:11:10.361Z] ---> 5b3f0525b54c [2023-09-20T21:11:10.361Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T21:11:10.361Z] ---> 4f31ac171aa4 [2023-09-20T21:11:10.361Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T21:11:10.361Z] ---> 3974a388220b [2023-09-20T21:11:10.361Z] Step 18/23 : EXPOSE 59999 [2023-09-20T21:11:10.361Z] ---> Running in 2da432f04a25 [2023-09-20T21:11:10.361Z] Removing intermediate container 2da432f04a25 [2023-09-20T21:11:10.361Z] ---> e0f0a7832e6a [2023-09-20T21:11:10.361Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T21:11:10.361Z] ---> Running in 6443d9631ed9 [2023-09-20T21:11:10.361Z] Removing intermediate container 6443d9631ed9 [2023-09-20T21:11:10.361Z] ---> b3db38bfefe9 [2023-09-20T21:11:10.361Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T21:11:10.361Z] ---> Running in 69ecc2749d43 [2023-09-20T21:11:10.361Z] Removing intermediate container 69ecc2749d43 [2023-09-20T21:11:10.361Z] ---> 5f9907f2a9b3 [2023-09-20T21:11:10.361Z] Step 21/23 : LABEL arch=arm64 [2023-09-20T21:11:10.361Z] ---> Running in 0cc31613ec97 [2023-09-20T21:11:10.361Z] Removing intermediate container 0cc31613ec97 [2023-09-20T21:11:10.361Z] ---> 25ebc3dbd008 [2023-09-20T21:11:10.361Z] Step 22/23 : LABEL git_sha=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [2023-09-20T21:11:10.361Z] ---> Running in 061bc9ed8214 [2023-09-20T21:11:10.361Z] Removing intermediate container 061bc9ed8214 [2023-09-20T21:11:10.361Z] ---> 14511ffec8d0 [2023-09-20T21:11:10.361Z] Step 23/23 : LABEL version=3.1.0-dev.29 [2023-09-20T21:11:10.361Z] ---> Running in 140b2f89a9ed [2023-09-20T21:11:10.361Z] Removing intermediate container 140b2f89a9ed [2023-09-20T21:11:10.361Z] ---> c4bdc7e021f6 [2023-09-20T21:11:10.361Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T21:11:10.361Z] Successfully built c4bdc7e021f6 [2023-09-20T21:11:10.361Z] 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-20T21:11:10.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:11:10.793Z] [2023-09-20T21:11:10.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:11:11.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:11:11.135Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:11:11.135Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:11:11.135Z] 04944245beec: Pulling fs layer [2023-09-20T21:11:11.135Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:11:11.135Z] 765212b225bb: Pulling fs layer [2023-09-20T21:11:11.135Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:11:11.135Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:11:11.135Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:11:11.135Z] 765212b225bb: Waiting [2023-09-20T21:11:11.135Z] f23df028b6ca: Waiting [2023-09-20T21:11:11.135Z] d65c8cfc05b1: Waiting [2023-09-20T21:11:11.135Z] 2437ff75d9bd: Waiting [2023-09-20T21:11:11.405Z] 04944245beec: Verifying Checksum [2023-09-20T21:11:11.405Z] 04944245beec: Download complete [2023-09-20T21:11:11.405Z] 765212b225bb: Verifying Checksum [2023-09-20T21:11:11.405Z] 765212b225bb: Download complete [2023-09-20T21:11:11.405Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:11:11.405Z] f23df028b6ca: Download complete [2023-09-20T21:11:11.405Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:11:11.405Z] d65c8cfc05b1: Download complete [2023-09-20T21:11:11.405Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:11:11.405Z] 699f458cf7ca: Download complete [2023-09-20T21:11:11.992Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:11:11.992Z] 8998bd30e6a1: Download complete [2023-09-20T21:11:13.939Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:11:13.939Z] 2437ff75d9bd: Download complete [2023-09-20T21:11:15.897Z] 8998bd30e6a1: Pull complete [2023-09-20T21:11:16.163Z] 04944245beec: Pull complete [2023-09-20T21:11:17.571Z] 699f458cf7ca: Pull complete [2023-09-20T21:11:17.571Z] 765212b225bb: Pull complete [2023-09-20T21:11:18.154Z] f23df028b6ca: Pull complete [2023-09-20T21:11:18.421Z] d65c8cfc05b1: Pull complete [2023-09-20T21:11:30.743Z] 2437ff75d9bd: Pull complete [2023-09-20T21:11:30.743Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:11:30.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:11:30.743Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:11:30.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-7242 does not seem to be running inside a container [2023-09-20T21:11:31.053Z] $ 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/258 -v /w/workspace/device-sdk-go/258:/w/workspace/device-sdk-go/258:rw,z -v /w/workspace/device-sdk-go/258@tmp:/w/workspace/device-sdk-go/258@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-20T21:11:33.799Z] $ docker top c33bdb5c4c0a6dcbb1df528054cd77665632e9c2b459c4a0b8a62951871f3423 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:11:34.635Z] ---> job-cost.sh [2023-09-20T21:11:34.635Z] lf-activate-venv: SKIPPING [2023-09-20T21:11:34.635Z] INFO: No Stack... [2023-09-20T21:11:34.900Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:11:35.857Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:11:36.497Z] + cat /w/workspace/device-sdk-go/258/archives/cost.csv [2023-09-20T21:11:36.497Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T21:11:36.566Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [2023-09-20T21:11:36.575Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] did not exist. Created. [2023-09-20T21:11:36.575Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:11:37.226Z] /w/workspace/device-sdk-go/258@tmp/durable-836526b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:11:37.561Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:11:37.844Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:11:37.930Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:11:37.939Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:11:37.978Z] $ docker stop --time=1 c33bdb5c4c0a6dcbb1df528054cd77665632e9c2b459c4a0b8a62951871f3423 [2023-09-20T21:11:39.490Z] $ docker rm -f --volumes c33bdb5c4c0a6dcbb1df528054cd77665632e9c2b459c4a0b8a62951871f3423 [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-20T21:11:39.858Z] provisioning config files... [2023-09-20T21:11:39.864Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11137900614978170686tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:11:40.148Z] + set +x [2023-09-20T21:11:40.148Z] + curl -s https://codecov.io/bash [2023-09-20T21:11:40.148Z] + bash -s -- [2023-09-20T21:11:40.148Z] [2023-09-20T21:11:40.148Z] _____ _ [2023-09-20T21:11:40.148Z] / ____| | | [2023-09-20T21:11:40.148Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:11:40.148Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:11:40.148Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:11:40.148Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:11:40.148Z] Bash-1.0.6 [2023-09-20T21:11:40.148Z] [2023-09-20T21:11:40.148Z] [2023-09-20T21:11:40.148Z] ==> git version 2.25.1 found [2023-09-20T21:11:40.148Z] ==> 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-20T21:11:40.148Z] Release-Date: 2020-01-08 [2023-09-20T21:11:40.148Z] 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-20T21:11:40.148Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:11:40.148Z] ==> Jenkins CI detected. [2023-09-20T21:11:40.148Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-20T21:11:40.148Z] project root: . [2023-09-20T21:11:40.148Z] --> token set from env [2023-09-20T21:11:40.148Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:11:40.148Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:11:40.148Z] ==> Python coveragepy not found [2023-09-20T21:11:40.148Z] ==> Searching for coverage reports in: [2023-09-20T21:11:40.148Z] + . [2023-09-20T21:11:40.148Z] -> Found 1 reports [2023-09-20T21:11:40.148Z] ==> Detecting git/mercurial file structure [2023-09-20T21:11:40.148Z] ==> Reading reports [2023-09-20T21:11:40.408Z] + ./coverage.out bytes=121385 [2023-09-20T21:11:40.408Z] ==> Appending adjustments [2023-09-20T21:11:40.408Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:11:40.666Z] + Found adjustments [2023-09-20T21:11:40.666Z] ==> Gzipping contents [2023-09-20T21:11:40.666Z] 20K /tmp/codecov.RtWNTB.gz [2023-09-20T21:11:40.666Z] ==> Uploading reports [2023-09-20T21:11:40.666Z] url: https://codecov.io [2023-09-20T21:11:40.666Z] query: branch=main&commit=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c&build=258&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F258%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:11:40.666Z] -> Pinging Codecov [2023-09-20T21:11:40.666Z] 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=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c&build=258&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F258%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:11:40.666Z] -> Uploading to [2023-09-20T21:11:40.666Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c/2012385c-4b3e-4cab-b16f-4307e930d328.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T211140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=395a97f70c66715d26caef1efeb5e47fbdc9af12b3e1b68e380a5ae1f8da1ed5 [2023-09-20T21:11:40.666Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:11:40.666Z] Dload Upload Total Spent Left Speed [2023-09-20T21:11:40.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16521 0 0 100 16521 0 79811 --:--:-- --:--:-- --:--:-- 80199 [2023-09-20T21:11:40.925Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] } [2023-09-20T21:11:40.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T21:11:41.059Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T21:11:41.067Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:11:41.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:11:41.367Z] [2023-09-20T21:11:41.367Z] 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-20T21:11:41.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:11:41.670Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T21:11:41.670Z] df9b9388f04a: Pulling fs layer [2023-09-20T21:11:41.670Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T21:11:41.670Z] 25bc292e5bac: Pulling fs layer [2023-09-20T21:11:41.670Z] 114826534d7a: Pulling fs layer [2023-09-20T21:11:41.670Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T21:11:41.670Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T21:11:41.670Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T21:11:41.670Z] 114826534d7a: Waiting [2023-09-20T21:11:41.670Z] 4657fd5d0bcf: Waiting [2023-09-20T21:11:41.670Z] 6ad1cebc031e: Waiting [2023-09-20T21:11:41.670Z] 8a3aa393b2d8: Waiting [2023-09-20T21:11:41.670Z] 25bc292e5bac: Verifying Checksum [2023-09-20T21:11:41.670Z] 25bc292e5bac: Download complete [2023-09-20T21:11:41.670Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T21:11:41.670Z] 52dc419b0ee2: Download complete [2023-09-20T21:11:41.670Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T21:11:41.670Z] 4657fd5d0bcf: Download complete [2023-09-20T21:11:41.670Z] df9b9388f04a: Download complete [2023-09-20T21:11:41.929Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T21:11:41.929Z] 6ad1cebc031e: Download complete [2023-09-20T21:11:41.929Z] df9b9388f04a: Pull complete [2023-09-20T21:11:41.929Z] 52dc419b0ee2: Pull complete [2023-09-20T21:11:41.929Z] 25bc292e5bac: Pull complete [2023-09-20T21:11:42.494Z] 114826534d7a: Verifying Checksum [2023-09-20T21:11:42.494Z] 114826534d7a: Download complete [2023-09-20T21:11:42.494Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T21:11:42.494Z] 8a3aa393b2d8: Download complete [2023-09-20T21:11:45.772Z] 114826534d7a: Pull complete [2023-09-20T21:11:45.772Z] 4657fd5d0bcf: Pull complete [2023-09-20T21:11:45.772Z] 6ad1cebc031e: Pull complete [2023-09-20T21:11:48.297Z] 8a3aa393b2d8: Pull complete [2023-09-20T21:11:48.297Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T21:11:48.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:11:48.297Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:11:48.392Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T21:11:48.425Z] $ 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-20T21:11:58.019Z] $ docker top 28abb1c08b6c1bead78376681e420276cb8518f6a26b79965dc50c52048c50e6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T21:11:58.084Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-20T21:11:58.363Z] + set -o pipefail [2023-09-20T21:11:58.363Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-20T21:12:03.633Z] [2023-09-20T21:12:03.633Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-20T21:12:03.633Z] [2023-09-20T21:12:03.633Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a00f9450-d971-4a85-b351-f45686f72a04 [2023-09-20T21:12:03.633Z] [2023-09-20T21:12:03.633Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T21:12:03.633Z] [2023-09-20T21:12:03.633Z] [2023-09-20T21:12:03.633Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T21:12:03.633Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T21:12:03.633Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T21:12:03.648Z] $ docker stop --time=1 28abb1c08b6c1bead78376681e420276cb8518f6a26b79965dc50c52048c50e6 [2023-09-20T21:12:08.640Z] $ docker rm -f --volumes 28abb1c08b6c1bead78376681e420276cb8518f6a26b79965dc50c52048c50e6 [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-20T21:12:09.003Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:12:09.012Z] provisioning config files... [2023-09-20T21:12:09.020Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17662831372902692713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:09.312Z] --> edgex-publish-swagger.sh [2023-09-20T21:12:09.312Z] === Publish openapi/v3 API === [2023-09-20T21:12:09.312Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-20T21:12:09.312Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-20T21:12:09.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:12:09.312Z] Dload Upload Total Spent Left Speed [2023-09-20T21:12:09.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 51021 --:--:-- --:--:-- --:--:-- 51021 [2023-09-20T21:12:09.571Z] [2023-09-20T21:12:09.571Z] [Pipeline] } [2023-09-20T21:12:09.577Z] 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-20T21:12:09.954Z] + git log --format=format:%s -1 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] sh [2023-09-20T21:12:10.243Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:12:10.243Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:12:10.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:12:10.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:12:10.612Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T21:12:10.645Z] $ 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-20T21:12:11.062Z] $ docker top dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef -eo pid,comm [2023-09-20T21:12:11.106Z] 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-20T21:12:11.106Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:12:11.151Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:12:11.151Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:12:11.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:12:11.259Z] $ docker exec dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef ssh-agent [2023-09-20T21:12:11.365Z] SSH_AUTH_SOCK=/tmp/ssh-cNnnToIj9agw/agent.32 [2023-09-20T21:12:11.365Z] SSH_AGENT_PID=38 [2023-09-20T21:12:11.369Z] Running ssh-add (command line suppressed) [2023-09-20T21:12:11.482Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18029332375934885930.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18029332375934885930.key) [2023-09-20T21:12:11.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:12:11.779Z] + git semver tag [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,962 [run_tag] DEBUG tag force:False [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,963 [check_head_tag] DEBUG check head tag [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,963 [execute] INFO git cat-file --batch-check [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,967 [execute] INFO git cat-file --batch [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,982 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,982 [execute] INFO git tag -a v3.1.0-dev.29 -m v3.1.0-dev.29 [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,982 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.29', '-m', 'v3.1.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:12:12.038Z] 2023-09-20 21:12:11,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:12.038Z] 3.1.0-dev.29 [Pipeline] } [2023-09-20T21:12:12.050Z] $ docker exec --env ******** --env ******** dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef ssh-agent -k [2023-09-20T21:12:12.149Z] unset SSH_AUTH_SOCK; [2023-09-20T21:12:12.150Z] unset SSH_AGENT_PID; [2023-09-20T21:12:12.150Z] echo Agent pid 38 killed; [2023-09-20T21:12:12.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:12:12.467Z] + git semver [Pipeline] } [2023-09-20T21:12:12.741Z] $ docker stop --time=1 dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef [2023-09-20T21:12:14.883Z] $ docker rm -f --volumes dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:12:15.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:12:15.277Z] [2023-09-20T21:12:15.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:12:15.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:12:15.841Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:12:15.841Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:12:15.841Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:12:15.841Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:12:15.841Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:12:15.841Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:12:15.841Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:12:15.841Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:12:15.841Z] d747dcd14b5f: Waiting [2023-09-20T21:12:15.841Z] 0d9ebad4ef96: Waiting [2023-09-20T21:12:15.841Z] e9a5061849ea: Waiting [2023-09-20T21:12:15.841Z] 9712f1f96733: Verifying Checksum [2023-09-20T21:12:15.841Z] 9712f1f96733: Download complete [2023-09-20T21:12:16.106Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:12:16.106Z] 63f879dbbcfc: Download complete [2023-09-20T21:12:16.106Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:12:16.106Z] e9a5061849ea: Download complete [2023-09-20T21:12:16.106Z] d747dcd14b5f: Verifying Checksum [2023-09-20T21:12:16.106Z] d747dcd14b5f: Download complete [2023-09-20T21:12:16.365Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:12:16.365Z] ab5ef0e58194: Download complete [2023-09-20T21:12:16.365Z] 0d9ebad4ef96: Download complete [2023-09-20T21:12:16.365Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:12:16.365Z] 2de7ff778b66: Download complete [2023-09-20T21:12:18.917Z] ab5ef0e58194: Pull complete [2023-09-20T21:12:18.917Z] 9712f1f96733: Pull complete [2023-09-20T21:12:19.851Z] 63f879dbbcfc: Pull complete [2023-09-20T21:12:23.132Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:12:23.389Z] e9a5061849ea: Pull complete [2023-09-20T21:12:23.389Z] d747dcd14b5f: Pull complete [2023-09-20T21:12:24.323Z] 2de7ff778b66: Pull complete [2023-09-20T21:12:24.323Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:12:24.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:12:24.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:12:24.399Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T21:12:24.428Z] $ 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-20T21:12:32.618Z] $ docker top 3ab3fe81e99accf208c9587dcb9913163fde2acdf56f9302a5095e3502db2a63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:12:32.688Z] provisioning config files... [2023-09-20T21:12:32.695Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config896032633011820233tmp [2023-09-20T21:12:32.705Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16760869115761260814tmp [2023-09-20T21:12:32.714Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2997975929359684744tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:12:32.727Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:33.005Z] ---> sigul-configuration.sh [2023-09-20T21:12:33.005Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:12:33.005Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:12:33.005Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:12:33.005Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:12:33.005Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:12:33.005Z] gpg: CAST5 encrypted data [2023-09-20T21:12:33.005Z] gpg: encrypted with 1 passphrase [2023-09-20T21:12:33.005Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:12:33.293Z] + mkdir /home/jenkins [2023-09-20T21:12:33.293Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:12:33.579Z] + 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-20T21:12:33.587Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:33.872Z] ---> sigul-install.sh [2023-09-20T21:12:33.872Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:12:34.156Z] + git tag --list [2023-09-20T21:12:34.156Z] 0.7.1 [2023-09-20T21:12:34.156Z] delhi-tag [2023-09-20T21:12:34.156Z] v1.0.0 [2023-09-20T21:12:34.156Z] v1.1.0 [2023-09-20T21:12:34.156Z] v1.1.1 [2023-09-20T21:12:34.156Z] v1.1.2 [2023-09-20T21:12:34.156Z] v1.2.0 [2023-09-20T21:12:34.156Z] v1.2.1 [2023-09-20T21:12:34.156Z] v1.2.2 [2023-09-20T21:12:34.156Z] v1.2.3 [2023-09-20T21:12:34.156Z] v1.3.0 [2023-09-20T21:12:34.156Z] v1.4.0 [2023-09-20T21:12:34.156Z] v2.0.0 [2023-09-20T21:12:34.156Z] v2.1.0 [2023-09-20T21:12:34.156Z] v2.1.1 [2023-09-20T21:12:34.156Z] v2.2.0 [2023-09-20T21:12:34.156Z] v2.3.0 [2023-09-20T21:12:34.156Z] v2.3.1 [2023-09-20T21:12:34.156Z] v3.0 [2023-09-20T21:12:34.156Z] v3.0.0 [2023-09-20T21:12:34.156Z] v3.0.1-dev.1 [2023-09-20T21:12:34.156Z] v3.1.0-dev.1 [2023-09-20T21:12:34.156Z] v3.1.0-dev.10 [2023-09-20T21:12:34.156Z] v3.1.0-dev.11 [2023-09-20T21:12:34.157Z] v3.1.0-dev.12 [2023-09-20T21:12:34.157Z] v3.1.0-dev.13 [2023-09-20T21:12:34.157Z] v3.1.0-dev.14 [2023-09-20T21:12:34.157Z] v3.1.0-dev.15 [2023-09-20T21:12:34.157Z] v3.1.0-dev.16 [2023-09-20T21:12:34.157Z] v3.1.0-dev.17 [2023-09-20T21:12:34.157Z] v3.1.0-dev.18 [2023-09-20T21:12:34.157Z] v3.1.0-dev.19 [2023-09-20T21:12:34.157Z] v3.1.0-dev.2 [2023-09-20T21:12:34.157Z] v3.1.0-dev.20 [2023-09-20T21:12:34.157Z] v3.1.0-dev.21 [2023-09-20T21:12:34.157Z] v3.1.0-dev.22 [2023-09-20T21:12:34.157Z] v3.1.0-dev.23 [2023-09-20T21:12:34.157Z] v3.1.0-dev.24 [2023-09-20T21:12:34.157Z] v3.1.0-dev.25 [2023-09-20T21:12:34.157Z] v3.1.0-dev.26 [2023-09-20T21:12:34.157Z] v3.1.0-dev.27 [2023-09-20T21:12:34.157Z] v3.1.0-dev.28 [2023-09-20T21:12:34.157Z] v3.1.0-dev.29 [2023-09-20T21:12:34.157Z] v3.1.0-dev.3 [2023-09-20T21:12:34.157Z] v3.1.0-dev.4 [2023-09-20T21:12:34.157Z] v3.1.0-dev.5 [2023-09-20T21:12:34.157Z] v3.1.0-dev.6 [2023-09-20T21:12:34.157Z] v3.1.0-dev.7 [2023-09-20T21:12:34.157Z] v3.1.0-dev.8 [2023-09-20T21:12:34.157Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T21:12:34.443Z] + lftools sign git-tag v3.1.0-dev.29 [2023-09-20T21:12:35.012Z] Signing Git tag with Sigul... [2023-09-20T21:12:35.012Z] Signing v3.1.0-dev.29 [Pipeline] echo [2023-09-20T21:12:35.279Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:35.565Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:12:35.572Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:12:35.596Z] $ docker stop --time=1 3ab3fe81e99accf208c9587dcb9913163fde2acdf56f9302a5095e3502db2a63 [2023-09-20T21:12:36.867Z] $ docker rm -f --volumes 3ab3fe81e99accf208c9587dcb9913163fde2acdf56f9302a5095e3502db2a63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:12:37.279Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:12:37.279Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:12:37.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:12:37.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:12:37.651Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T21:12:37.682Z] $ 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-20T21:12:38.026Z] $ docker top 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:12:38.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:12:38.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:12:38.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:12:38.247Z] $ docker exec 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 ssh-agent [2023-09-20T21:12:38.350Z] SSH_AUTH_SOCK=/tmp/ssh-qRQAOuizBfNj/agent.31 [2023-09-20T21:12:38.350Z] SSH_AGENT_PID=37 [2023-09-20T21:12:38.355Z] Running ssh-add (command line suppressed) [2023-09-20T21:12:38.465Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2981871191515594412.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2981871191515594412.key) [2023-09-20T21:12:38.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:12:38.763Z] + git semver bump pre [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,964 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,964 [bump_version] DEBUG bumping version:3.1.0-dev.29 on axis:pre with prefix:dev [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,965 [bump_version] DEBUG bumped version:3.1.0-dev.30 [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,965 [write_version] DEBUG write version:3.1.0-dev.30 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,965 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,967 [execute] INFO git cat-file --batch-check [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,967 [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-20T21:12:39.022Z] 2023-09-20 21:12:38,972 [execute] INFO git cat-file --batch [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:12:39.022Z] 2023-09-20 21:12:38,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:39.022Z] 3.1.0-dev.30 [Pipeline] } [2023-09-20T21:12:39.035Z] $ docker exec --env ******** --env ******** 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 ssh-agent -k [2023-09-20T21:12:39.141Z] unset SSH_AUTH_SOCK; [2023-09-20T21:12:39.141Z] unset SSH_AGENT_PID; [2023-09-20T21:12:39.141Z] echo Agent pid 37 killed; [2023-09-20T21:12:39.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:12:39.461Z] + git semver [Pipeline] } [2023-09-20T21:12:39.733Z] $ docker stop --time=1 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 [2023-09-20T21:12:41.021Z] $ docker rm -f --volumes 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:12:41.361Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:12:41.361Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:12:41.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:12:41.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:12:41.737Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T21:12:41.774Z] $ 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-20T21:12:42.108Z] $ docker top ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad -eo pid,comm [2023-09-20T21:12:42.158Z] 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-20T21:12:42.158Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:12:42.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:12:42.193Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:12:42.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:12:42.313Z] $ docker exec ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad ssh-agent [2023-09-20T21:12:42.411Z] SSH_AUTH_SOCK=/tmp/ssh-STIrl0BWLHkU/agent.32 [2023-09-20T21:12:42.411Z] SSH_AGENT_PID=38 [2023-09-20T21:12:42.416Z] Running ssh-add (command line suppressed) [2023-09-20T21:12:42.510Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15662824341079077188.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15662824341079077188.key) [2023-09-20T21:12:42.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:12:42.834Z] + git semver push [2023-09-20T21:12:43.091Z] 2023-09-20 21:12:43,013 [run_push] DEBUG push [2023-09-20T21:12:43.092Z] 2023-09-20 21:12:43,013 [execute] INFO git cat-file --batch-check [2023-09-20T21:12:43.092Z] 2023-09-20 21:12:43,014 [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-20T21:12:43.092Z] 2023-09-20 21:12:43,017 [execute] INFO git rev-list 5729a45f417ea35b5e339dacd0dd4317d504ff5b -- [2023-09-20T21:12:43.092Z] 2023-09-20 21:12:43,017 [execute] DEBUG Popen(['git', 'rev-list', '5729a45f417ea35b5e339dacd0dd4317d504ff5b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:12:43.092Z] 2023-09-20 21:12:43,029 [execute] INFO git fetch -v origin [2023-09-20T21:12:43.092Z] 2023-09-20 21:12:43,029 [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-20T21:12:43.658Z] 2023-09-20 21:12:43,516 [run_push] DEBUG no remote changes detected [2023-09-20T21:12:43.658Z] 2023-09-20 21:12:43,517 [execute] INFO git push origin semver [2023-09-20T21:12:43.658Z] 2023-09-20 21:12:43,517 [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-20T21:12:44.593Z] 2023-09-20 21:12:44,337 [run_push] DEBUG push all version tags [2023-09-20T21:12:44.593Z] 2023-09-20 21:12:44,338 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:12:44.593Z] 2023-09-20 21:12:44,338 [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-20T21:12:45.529Z] 2023-09-20 21:12:45,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T21:12:45.529Z] 3.1.0-dev.30 [Pipeline] } [2023-09-20T21:12:45.609Z] $ docker exec --env ******** --env ******** ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad ssh-agent -k [2023-09-20T21:12:45.708Z] unset SSH_AUTH_SOCK; [2023-09-20T21:12:45.708Z] unset SSH_AGENT_PID; [2023-09-20T21:12:45.708Z] echo Agent pid 38 killed; [2023-09-20T21:12:45.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:12:46.040Z] + git semver [Pipeline] } [2023-09-20T21:12:46.337Z] $ docker stop --time=1 ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad [2023-09-20T21:12:47.618Z] $ docker rm -f --volumes ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad [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-20T21:12:48.154Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-20T21:12:48.154Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-20T21:12:48.154Z] total 16 [2023-09-20T21:12:48.154Z] drwxr-xr-x 3 root root 4096 Sep 20 20:59 . [2023-09-20T21:12:48.154Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 21:12 .. [2023-09-20T21:12:48.154Z] drwxr-xr-x 2 root root 4096 Sep 20 20:59 cost [2023-09-20T21:12:48.154Z] -rw-r--r-- 1 root root 85 Sep 20 20:59 cost.csv [2023-09-20T21:12:48.154Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-20T21:12:48.154Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-20T21:12:48.154Z] total 16 [2023-09-20T21:12:48.154Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:59 . [2023-09-20T21:12:48.154Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 21:12 .. [2023-09-20T21:12:48.154Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:59 cost [2023-09-20T21:12:48.154Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 20 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:48.446Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:49.306Z] ---> package-listing.sh [2023-09-20T21:12:49.306Z] ++ facter osfamily [2023-09-20T21:12:49.306Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:12:49.564Z] + OS_FAMILY=debian [2023-09-20T21:12:49.564Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-20T21:12:49.564Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:12:49.564Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:12:49.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:12:49.564Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:12:49.564Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-20T21:12:49.564Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:12:49.564Z] + case "${OS_FAMILY}" in [2023-09-20T21:12:49.564Z] + dpkg -l [2023-09-20T21:12:49.564Z] + grep '^ii' [2023-09-20T21:12:49.564Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:12:49.564Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:12:49.564Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:12:49.564Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-20T21:12:49.564Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-20T21:12:49.564Z] + 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-20T21:12:49.572Z] 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-20T21:12:49.846Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:12:50.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:12:50.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:12:50.471Z] prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container [2023-09-20T21:12:50.505Z] $ 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-20T21:12:50.723Z] $ docker top 71337fa07d223192f9a50f058b5a01a60c47d2e9d162f367f2d3b02daf7919e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:12:51.060Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:12:51.346Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:12:51.631Z] + ls /var/log/sa-host [2023-09-20T21:12:51.631Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:12:51.711Z] provisioning config files... [2023-09-20T21:12:51.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17741587419374599580tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:12:51.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:52.016Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:12:52.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:52.356Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:12:52.365Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:52.647Z] ---> sudo-logs.sh [2023-09-20T21:12:52.647Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:12:52.680Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:52.961Z] ---> job-cost.sh [2023-09-20T21:12:52.962Z] lf-activate-venv: SKIPPING [2023-09-20T21:12:52.962Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:12:52.962Z] INFO: Retrieving Stack Cost... [2023-09-20T21:12:53.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:12:53.790Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:12:53.800Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:12:54.083Z] ---> logs-deploy.sh [2023-09-20T21:12:54.083Z] lf-activate-venv: SKIPPING [2023-09-20T21:12:54.083Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/258 [2023-09-20T21:12:54.083Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:12:55.017Z] Archives upload complete. [2023-09-20T21:12:55.017Z] INFO: archiving logs to Nexus