Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9092965fc0e73fdbee605785b6ca16e2186cbeb 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-ssh8723509210669188572.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-ssh11491748231399518722.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-ssh10724052922367783331.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-ssh10259998625374617772.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-ssh18229597844817227976.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 Running on prd-ubuntu20.04-docker-8c-8g-6669 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb (main) Commit message: "Merge pull request #1516 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.40" > 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 > git rev-list --no-walk 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T05:38:35.922Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T05:38:35.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T05:38:36.003Z] ========================================================= [2023-09-20T05:38:36.003Z] EdgeX Global Pipelines Version Info [2023-09-20T05:38:36.003Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:38:36.697Z] ------------------- [2023-09-20T05:38:36.697Z] stable info: [2023-09-20T05:38:36.697Z] ------------------- [2023-09-20T05:38:36.697Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T05:38:36.697Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:38:36.697Z] Message: update stable to v1.0.254 [2023-09-20T05:38:37.264Z] ------------------- [2023-09-20T05:38:37.264Z] experimental info: [2023-09-20T05:38:37.264Z] ------------------- [2023-09-20T05:38:37.264Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T05:38:37.264Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:38:37.264Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T05:38:37.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-20T05:38:37.429Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-20T05:38:37.445Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T05:38:37.465Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T05:38:37.480Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T05:38:37.494Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T05:38:37.514Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T05:38:37.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-20T05:38:37.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T05:38:37.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T05:38:37.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T05:38:37.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-20T05:38:37.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T05:38:37.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T05:38:37.646Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T05:38:37.663Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:38:37.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:38:37.703Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:38:37.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T05:38:37.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T05:38:37.751Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T05:38:37.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-20T05:38:37.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T05:38:37.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T05:38:37.808Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T05:38:37.831Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T05:38:37.846Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T05:38:37.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T05:38:37.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T05:38:37.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T05:38:37.918Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo [2023-09-20T05:38:37.934Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c909296 [Pipeline] echo [2023-09-20T05:38:37.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:38:38.000Z] provisioning config files... [2023-09-20T05:38:38.013Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5787578459989312011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:38:38.318Z] ---> docker-login.sh [2023-09-20T05:38:38.318Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:38:38.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:38.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:38.577Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:38.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:38.577Z] [2023-09-20T05:38:38.577Z] Login Succeeded [2023-09-20T05:38:38.577Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:38:38.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:38.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:38.836Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:38.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:38.836Z] [2023-09-20T05:38:38.836Z] Login Succeeded [2023-09-20T05:38:38.836Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:38:38.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:38.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:38.836Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:38.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:38.836Z] [2023-09-20T05:38:38.836Z] Login Succeeded [2023-09-20T05:38:38.836Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:38:38.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:38.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:38.836Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:38.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:38.836Z] [2023-09-20T05:38:38.836Z] Login Succeeded [2023-09-20T05:38:38.836Z] docker.io [2023-09-20T05:38:39.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:39.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:39.096Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:39.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:39.096Z] [2023-09-20T05:38:39.096Z] Login Succeeded [2023-09-20T05:38:39.096Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:38:39.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T05:38:39.479Z] + git rev-list -1 --merges c9092965fc0e73fdbee605785b6ca16e2186cbeb~1..c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo [2023-09-20T05:38:39.517Z] -----------> git rev-list -1 --merges c9092965fc0e73fdbee605785b6ca16e2186cbeb~1..c9092965fc0e73fdbee605785b6ca16e2186cbeb c9092965fc0e73fdbee605785b6ca16e2186cbeb [2023-09-20T05:38:39.517Z] c9092965fc0e73fdbee605785b6ca16e2186cbeb [false] [Pipeline] sh [2023-09-20T05:38:39.807Z] + git log --format=format:%s -1 c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo [2023-09-20T05:38:39.822Z] ========================================================= [2023-09-20T05:38:39.822Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T05:38:39.822Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:38:40.165Z] + git log --format=format:%s -1 c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo [2023-09-20T05:38:40.193Z] [semverPrep] GIT_COMMIT: c9092965fc0e73fdbee605785b6ca16e2186cbeb, Commit Message: Merge pull request #1516 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.40 [Pipeline] echo [2023-09-20T05:38:40.200Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T05:38:40.557Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T05:38:40.557Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T05:38:40.557Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T05:38:40.557Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T05:38:40.557Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T05:38:40.557Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T05:38:40.557Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:38:40.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:38:40.970Z] [2023-09-20T05:38:40.970Z] 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-20T05:38:41.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:38:41.274Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T05:38:41.274Z] b85a868b505f: Pulling fs layer [2023-09-20T05:38:41.274Z] e2be974225ed: Pulling fs layer [2023-09-20T05:38:41.274Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T05:38:41.274Z] 988bab9f4d93: Pulling fs layer [2023-09-20T05:38:41.274Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T05:38:41.274Z] eaf3925da568: Pulling fs layer [2023-09-20T05:38:41.274Z] bab4dde63d76: Pulling fs layer [2023-09-20T05:38:41.274Z] bde34c3a00c8: Pulling fs layer [2023-09-20T05:38:41.274Z] b352a97aabf1: Pulling fs layer [2023-09-20T05:38:41.274Z] 4872d77fe225: Pulling fs layer [2023-09-20T05:38:41.274Z] 5851b861e8e6: Pulling fs layer [2023-09-20T05:38:41.274Z] 988bab9f4d93: Waiting [2023-09-20T05:38:41.274Z] eaf3925da568: Waiting [2023-09-20T05:38:41.274Z] 1469e6f7b9e6: Waiting [2023-09-20T05:38:41.274Z] bde34c3a00c8: Waiting [2023-09-20T05:38:41.274Z] b352a97aabf1: Waiting [2023-09-20T05:38:41.274Z] 4872d77fe225: Waiting [2023-09-20T05:38:41.274Z] e2be974225ed: Verifying Checksum [2023-09-20T05:38:41.274Z] e2be974225ed: Download complete [2023-09-20T05:38:41.274Z] 988bab9f4d93: Download complete [2023-09-20T05:38:41.274Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T05:38:41.274Z] 1469e6f7b9e6: Download complete [2023-09-20T05:38:41.535Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T05:38:41.535Z] 339a4e72a1f5: Download complete [2023-09-20T05:38:41.535Z] eaf3925da568: Verifying Checksum [2023-09-20T05:38:41.535Z] eaf3925da568: Download complete [2023-09-20T05:38:41.535Z] bde34c3a00c8: Download complete [2023-09-20T05:38:41.535Z] b352a97aabf1: Download complete [2023-09-20T05:38:41.535Z] 4872d77fe225: Verifying Checksum [2023-09-20T05:38:41.535Z] 4872d77fe225: Download complete [2023-09-20T05:38:41.535Z] 5851b861e8e6: Verifying Checksum [2023-09-20T05:38:41.535Z] 5851b861e8e6: Download complete [2023-09-20T05:38:41.535Z] b85a868b505f: Verifying Checksum [2023-09-20T05:38:41.535Z] b85a868b505f: Download complete [2023-09-20T05:38:41.794Z] bab4dde63d76: Verifying Checksum [2023-09-20T05:38:41.794Z] bab4dde63d76: Download complete [2023-09-20T05:38:42.765Z] b85a868b505f: Pull complete [2023-09-20T05:38:43.023Z] e2be974225ed: Pull complete [2023-09-20T05:38:43.284Z] 339a4e72a1f5: Pull complete [2023-09-20T05:38:43.543Z] 988bab9f4d93: Pull complete [2023-09-20T05:38:43.803Z] 1469e6f7b9e6: Pull complete [2023-09-20T05:38:43.803Z] eaf3925da568: Pull complete [2023-09-20T05:38:45.707Z] bab4dde63d76: Pull complete [2023-09-20T05:38:45.707Z] bde34c3a00c8: Pull complete [2023-09-20T05:38:45.707Z] b352a97aabf1: Pull complete [2023-09-20T05:38:45.707Z] 4872d77fe225: Pull complete [2023-09-20T05:38:45.707Z] 5851b861e8e6: Pull complete [2023-09-20T05:38:45.707Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T05:38:45.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:38:45.707Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:38:45.806Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:38:45.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T05:38:48.094Z] $ docker top 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T05:38:48.183Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:38:48.183Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:38:48.309Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:38:48.311Z] $ docker exec 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent [2023-09-20T05:38:48.431Z] SSH_AUTH_SOCK=/tmp/ssh-1rSvvEvtMtkZ/agent.32 [2023-09-20T05:38:48.431Z] SSH_AGENT_PID=38 [2023-09-20T05:38:48.438Z] Running ssh-add (command line suppressed) [2023-09-20T05:38:48.531Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7075868649420369267.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7075868649420369267.key) [2023-09-20T05:38:48.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:38:48.838Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T05:38:48.855Z] $ docker exec --env ******** --env ******** 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent -k [2023-09-20T05:38:48.966Z] unset SSH_AUTH_SOCK; [2023-09-20T05:38:48.966Z] unset SSH_AGENT_PID; [2023-09-20T05:38:48.966Z] echo Agent pid 38 killed; [2023-09-20T05:38:48.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T05:38:49.012Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:38:49.012Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:38:49.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:38:49.120Z] $ docker exec 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent [2023-09-20T05:38:49.222Z] SSH_AUTH_SOCK=/tmp/ssh-u4QguCcyCYE0/agent.71 [2023-09-20T05:38:49.222Z] SSH_AGENT_PID=77 [2023-09-20T05:38:49.226Z] Running ssh-add (command line suppressed) [2023-09-20T05:38:49.329Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1780934412855080757.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1780934412855080757.key) [2023-09-20T05:38:49.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:38:49.627Z] + git semver init [2023-09-20T05:38:49.886Z] 2023-09-20 05:38:49,794 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T05:38:49.886Z] 2023-09-20 05:38:49,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-20T05:38:49.886Z] 2023-09-20 05:38:49,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-20T05:38:49.886Z] 2023-09-20 05:38:49,795 [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-20T05:38:50.823Z] 2023-09-20 05:38:50,740 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-20T05:38:50.823Z] 2023-09-20 05:38:50,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-20T05:38:50.823Z] 2023-09-20 05:38:50,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:38:50.823Z] 2023-09-20 05:38:50,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:38:50.823Z] 3.1.0-dev.28 [Pipeline] } [2023-09-20T05:38:50.832Z] $ docker exec --env ******** --env ******** 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent -k [2023-09-20T05:38:50.937Z] unset SSH_AUTH_SOCK; [2023-09-20T05:38:50.937Z] unset SSH_AGENT_PID; [2023-09-20T05:38:50.937Z] echo Agent pid 77 killed; [2023-09-20T05:38:50.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T05:38:51.248Z] + git semver [Pipeline] } [2023-09-20T05:38:51.516Z] $ docker stop --time=1 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f [2023-09-20T05:38:52.791Z] $ docker rm -f --volumes 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:38:53.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T05:38:53.318Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T05:38:53.320Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.28 [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-20T05:38:53.479Z] provisioning config files... [2023-09-20T05:38:53.489Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config704612026542572914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:38:53.793Z] ---> docker-login.sh [2023-09-20T05:38:53.793Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:38:53.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:53.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:53.793Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:53.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:53.793Z] [2023-09-20T05:38:53.793Z] Login Succeeded [2023-09-20T05:38:53.793Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:38:53.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:53.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:53.793Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:53.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:53.793Z] [2023-09-20T05:38:53.793Z] Login Succeeded [2023-09-20T05:38:53.793Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:38:54.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:54.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:54.057Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:54.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:54.057Z] [2023-09-20T05:38:54.057Z] Login Succeeded [2023-09-20T05:38:54.057Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:38:54.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:54.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:54.057Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:54.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:54.057Z] [2023-09-20T05:38:54.057Z] Login Succeeded [2023-09-20T05:38:54.057Z] docker.io [2023-09-20T05:38:54.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:38:54.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:38:54.319Z] Configure a credential helper to remove this warning. See [2023-09-20T05:38:54.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:38:54.319Z] [2023-09-20T05:38:54.319Z] Login Succeeded [2023-09-20T05:38:54.319Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:38:54.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T05:38:54.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:38:54.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:38:54.418Z] ========================================================= [2023-09-20T05:38:54.418Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T05:38:54.418Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:38:54.742Z] + 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-20T05:38:54.742Z] Sending build context to Docker daemon 11.15MB [2023-09-20T05:38:54.742Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:38:54.742Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T05:38:54.742Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T05:38:54.742Z] 7264a8db6415: Pulling fs layer [2023-09-20T05:38:54.742Z] c4d48a809fc2: Pulling fs layer [2023-09-20T05:38:54.742Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T05:38:54.742Z] ad3a456e5733: Pulling fs layer [2023-09-20T05:38:54.742Z] 9e4f439ed901: Pulling fs layer [2023-09-20T05:38:54.742Z] feaf6a47b606: Pulling fs layer [2023-09-20T05:38:54.742Z] 5e8b037d7d82: Pulling fs layer [2023-09-20T05:38:54.742Z] 8ac70367396e: Pulling fs layer [2023-09-20T05:38:54.742Z] 6db16350a2e2: Pulling fs layer [2023-09-20T05:38:54.742Z] 9250d5d63582: Pulling fs layer [2023-09-20T05:38:54.742Z] 8ac70367396e: Waiting [2023-09-20T05:38:54.742Z] 9e4f439ed901: Waiting [2023-09-20T05:38:54.742Z] feaf6a47b606: Waiting [2023-09-20T05:38:54.742Z] 5e8b037d7d82: Waiting [2023-09-20T05:38:54.742Z] 6db16350a2e2: Waiting [2023-09-20T05:38:54.742Z] 9250d5d63582: Waiting [2023-09-20T05:38:54.742Z] c4d48a809fc2: Download complete [2023-09-20T05:38:55.001Z] ad3a456e5733: Verifying Checksum [2023-09-20T05:38:55.001Z] ad3a456e5733: Download complete [2023-09-20T05:38:55.001Z] 9e4f439ed901: Download complete [2023-09-20T05:38:55.001Z] 7264a8db6415: Verifying Checksum [2023-09-20T05:38:55.001Z] 7264a8db6415: Download complete [2023-09-20T05:38:55.001Z] feaf6a47b606: Verifying Checksum [2023-09-20T05:38:55.001Z] feaf6a47b606: Download complete [2023-09-20T05:38:55.001Z] 7264a8db6415: Pull complete [2023-09-20T05:38:55.001Z] 8ac70367396e: Verifying Checksum [2023-09-20T05:38:55.001Z] 8ac70367396e: Download complete [2023-09-20T05:38:55.259Z] c4d48a809fc2: Pull complete [2023-09-20T05:38:55.259Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T05:38:55.259Z] 4f1c88b9dad5: Download complete [2023-09-20T05:38:55.518Z] 6db16350a2e2: Verifying Checksum [2023-09-20T05:38:55.518Z] 6db16350a2e2: Download complete [2023-09-20T05:38:55.518Z] 9250d5d63582: Verifying Checksum [2023-09-20T05:38:55.518Z] 9250d5d63582: Download complete [2023-09-20T05:38:55.518Z] 5e8b037d7d82: Verifying Checksum [2023-09-20T05:38:55.518Z] 5e8b037d7d82: Download complete [2023-09-20T05:38:58.050Z] 4f1c88b9dad5: Pull complete [2023-09-20T05:38:58.050Z] ad3a456e5733: Pull complete [2023-09-20T05:38:58.050Z] 9e4f439ed901: Pull complete [2023-09-20T05:38:58.310Z] feaf6a47b606: Pull complete [2023-09-20T05:39:00.842Z] 5e8b037d7d82: Pull complete [2023-09-20T05:39:00.842Z] 8ac70367396e: Pull complete [2023-09-20T05:39:01.319Z] 6db16350a2e2: Pull complete [2023-09-20T05:39:01.886Z] 9250d5d63582: Pull complete [2023-09-20T05:39:01.886Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-20T05:39:01.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T05:39:01.886Z] ---> fa269f55d9b9 [2023-09-20T05:39:01.886Z] Step 3/10 : ARG MAKE=make build [2023-09-20T05:39:06.084Z] ---> Running in 99c0cf42d4ab [2023-09-20T05:39:06.084Z] Removing intermediate container 99c0cf42d4ab [2023-09-20T05:39:06.084Z] ---> 9356d54847cc [2023-09-20T05:39:06.084Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T05:39:06.084Z] ---> Running in 81884892c6ec [2023-09-20T05:39:06.084Z] Removing intermediate container 81884892c6ec [2023-09-20T05:39:06.084Z] ---> c62b31f00543 [2023-09-20T05:39:06.084Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:39:06.084Z] ---> Running in daaac65d0661 [2023-09-20T05:39:06.084Z] Removing intermediate container daaac65d0661 [2023-09-20T05:39:06.084Z] ---> da7246ac488a [2023-09-20T05:39:06.084Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T05:39:06.084Z] ---> Running in 7725825d5550 [2023-09-20T05:39:06.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:39:06.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:39:06.343Z] OK: 265 MiB in 56 packages [2023-09-20T05:39:06.913Z] Removing intermediate container 7725825d5550 [2023-09-20T05:39:06.913Z] ---> a2c86afa7a39 [2023-09-20T05:39:06.913Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T05:39:06.913Z] ---> fa57da53a0a5 [2023-09-20T05:39:06.913Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:39:06.913Z] ---> Running in 3f26a8413ff4 [2023-09-20T05:39:08.431Z] Still waiting to schedule task [2023-09-20T05:39:08.431Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-20T05:40:03.151Z] Removing intermediate container 3f26a8413ff4 [2023-09-20T05:40:03.151Z] ---> b7081ecc535e [2023-09-20T05:40:03.151Z] Step 9/10 : COPY . . [2023-09-20T05:40:03.151Z] ---> 406dba49e420 [2023-09-20T05:40:03.151Z] Step 10/10 : RUN ${MAKE} [2023-09-20T05:40:03.151Z] ---> Running in 2d816f5a749c [2023-09-20T05:40:03.151Z] noop [2023-09-20T05:40:03.151Z] Removing intermediate container 2d816f5a749c [2023-09-20T05:40:03.151Z] ---> 93aa1eb92db2 [2023-09-20T05:40:03.151Z] Successfully built 93aa1eb92db2 [2023-09-20T05:40:03.151Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:40:03.461Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T05:40:03.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:40:03.522Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:40:03.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T05:40:03.864Z] $ docker top bebb76996d9760a0f957f88c1b9da186fac194dfd9449f1e304e7f9af44475b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:40:04.207Z] + go version [2023-09-20T05:40:04.207Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T05:40:04.216Z] $ docker stop --time=1 bebb76996d9760a0f957f88c1b9da186fac194dfd9449f1e304e7f9af44475b0 [2023-09-20T05:40:05.475Z] $ docker rm -f --volumes bebb76996d9760a0f957f88c1b9da186fac194dfd9449f1e304e7f9af44475b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:40:05.902Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T05:40:05.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:40:05.979Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:40:06.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T05:40:06.315Z] $ docker top 7fd70bbeb1555099518d9457539cf6474c29003407db9359a13a288c35fe7a1b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:40:06.656Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T05:40:06.952Z] + make test [2023-09-20T05:40:06.952Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T05:40:13.517Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T05:40:26.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T05:40:27.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.038s coverage: 27.6% of statements [2023-09-20T05:40:27.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.064s coverage: 80.2% of statements [2023-09-20T05:40:27.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.063s coverage: 86.0% of statements [2023-09-20T05:40:27.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.071s coverage: 71.8% of statements [2023-09-20T05:40:27.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T05:40:27.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T05:40:28.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T05:40:30.898Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.4% of statements [2023-09-20T05:40:30.899Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.828s coverage: 45.9% of statements [2023-09-20T05:40:30.899Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.064s coverage: 68.5% of statements [2023-09-20T05:40:30.899Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.104s coverage: 89.2% of statements [2023-09-20T05:40:30.899Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements [2023-09-20T05:40:36.036Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6671 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-20T05:40:36.052Z] Running in /w/workspace/device-sdk-go/257 [Pipeline] { [Pipeline] checkout [2023-09-20T05:40:36.078Z] The recommended git tool is: git [2023-09-20T05:40:40.697Z] using credential edgex-jenkins-ssh [2023-09-20T05:40:40.712Z] Cloning the remote Git repository [2023-09-20T05:40:40.748Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T05:40:40.830Z] > git init /w/workspace/device-sdk-go/257 # timeout=10 [2023-09-20T05:40:40.960Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T05:40:40.961Z] > git --version # timeout=10 [2023-09-20T05:40:40.980Z] > git --version # 'git version 2.25.1' [2023-09-20T05:40:40.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:40:41.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T05:40:42.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T05:40:42.663Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T05:40:43.482Z] Avoid second fetch [2023-09-20T05:40:43.483Z] Checking out Revision c9092965fc0e73fdbee605785b6ca16e2186cbeb (main) [2023-09-20T05:40:44.017Z] Commit message: "Merge pull request #1516 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.40" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:40:43.494Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T05:40:43.554Z] > git checkout -f c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 [2023-09-20T05:40:44.947Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T05:40:44.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:40:44.947Z] Dload Upload Total Spent Left Speed [2023-09-20T05:40:44.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-09-20T05:40:45.605Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T05:40:45.933Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T05:40:45.933Z] + sudo tee /etc/docker/daemon.new [2023-09-20T05:40:45.933Z] { [2023-09-20T05:40:45.933Z] "registry-mirrors": [ [2023-09-20T05:40:45.933Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T05:40:45.933Z] ], [2023-09-20T05:40:45.933Z] "bip": "10.250.0.254/24", [2023-09-20T05:40:45.933Z] "hosts": [ [2023-09-20T05:40:45.933Z] "tcp://0.0.0.0:5555", [2023-09-20T05:40:45.933Z] "unix:///var/run/docker.sock" [2023-09-20T05:40:45.933Z] ], [2023-09-20T05:40:45.933Z] "mtu": 1458, [2023-09-20T05:40:45.933Z] "selinux-enabled": true, [2023-09-20T05:40:45.933Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T05:40:45.933Z] } [Pipeline] sh [2023-09-20T05:40:46.264Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T05:40:46.600Z] + sudo service docker restart [2023-09-20T05:40:48.973Z] GO111MODULE=on go vet ./... [2023-09-20T05:40:51.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T05:40:51.797Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T05:40:51.797Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T05:40:51.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T05:40:51.821Z] $ docker stop --time=1 7fd70bbeb1555099518d9457539cf6474c29003407db9359a13a288c35fe7a1b [2023-09-20T05:40:56.949Z] $ docker rm -f --volumes 7fd70bbeb1555099518d9457539cf6474c29003407db9359a13a288c35fe7a1b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:40:57.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T05:40:57.546Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T05:40:58.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T05:40:58.372Z] + ls -al . [2023-09-20T05:40:58.372Z] total 304 [2023-09-20T05:40:58.372Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 05:40 . [2023-09-20T05:40:58.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:38 .. [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:38 .dockerignore [2023-09-20T05:40:58.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:40 .git [2023-09-20T05:40:58.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:38 .github [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 05:38 .gitignore [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 05:38 .golangci.yml [2023-09-20T05:40:58.372Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:38 .semver [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 05:38 CHANGELOG.md [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:38 GOVERNANCE.md [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 05:38 Jenkinsfile [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 05:38 LICENSE [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 05:38 Makefile [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 05:38 OWNERS.md [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 05:38 README.md [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 05:38 VERSION [2023-09-20T05:40:58.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:38 bin [2023-09-20T05:40:58.372Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 05:40 coverage.out [2023-09-20T05:40:58.372Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 05:38 example [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 05:38 go.mod [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 05:38 go.sum [2023-09-20T05:40:58.372Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:38 internal [2023-09-20T05:40:58.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:38 openapi [2023-09-20T05:40:58.372Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 05:38 pkg [2023-09-20T05:40:58.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:38 snap [2023-09-20T05:40:58.372Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 05:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:40:58.681Z] + 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=c9092965fc0e73fdbee605785b6ca16e2186cbeb --label arch=amd64 --label version=3.1.0-dev.28 . [2023-09-20T05:40:58.681Z] Sending build context to Docker daemon 11.28MB [2023-09-20T05:40:58.681Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:40:58.681Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T05:40:58.681Z] ---> 93aa1eb92db2 [2023-09-20T05:40:58.681Z] Step 3/23 : ARG MAKE=make build [2023-09-20T05:40:58.940Z] ---> Running in b95687bb2852 [2023-09-20T05:40:59.199Z] Removing intermediate container b95687bb2852 [2023-09-20T05:40:59.199Z] ---> ba34646e9ed4 [2023-09-20T05:40:59.199Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T05:40:59.199Z] ---> Running in 5f96a4e00967 [2023-09-20T05:40:59.199Z] Removing intermediate container 5f96a4e00967 [2023-09-20T05:40:59.199Z] ---> d9911404adf0 [2023-09-20T05:40:59.199Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:40:59.199Z] ---> Running in f2ac077a821f [2023-09-20T05:40:59.199Z] Removing intermediate container f2ac077a821f [2023-09-20T05:40:59.199Z] ---> 1e76c76e6bd2 [2023-09-20T05:40:59.199Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T05:40:59.199Z] ---> Running in e8303d19f053 [2023-09-20T05:40:59.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:40:59.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:40:59.974Z] OK: 265 MiB in 56 packages [2023-09-20T05:41:00.233Z] Removing intermediate container e8303d19f053 [2023-09-20T05:41:00.233Z] ---> 08643d42dac4 [2023-09-20T05:41:00.233Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T05:41:00.493Z] ---> fb8072796983 [2023-09-20T05:41:00.493Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:41:00.493Z] ---> Running in bfa622520a27 [2023-09-20T05:41:01.060Z] Removing intermediate container bfa622520a27 [2023-09-20T05:41:01.061Z] ---> e0ba8c080ec9 [2023-09-20T05:41:01.061Z] Step 9/23 : COPY . . [2023-09-20T05:41:01.999Z] ---> c5e8b33b003c [2023-09-20T05:41:01.999Z] Step 10/23 : RUN ${MAKE} [2023-09-20T05:41:01.999Z] ---> Running in cd1de8ecb045 [2023-09-20T05:41:01.999Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:41:04.840Z] provisioning config files... [2023-09-20T05:41:04.863Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/257@tmp/config10580011085120324993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:41:05.337Z] ---> docker-login.sh [2023-09-20T05:41:05.337Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:41:05.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:41:05.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:41:05.876Z] Configure a credential helper to remove this warning. See [2023-09-20T05:41:05.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:41:05.876Z] [2023-09-20T05:41:05.876Z] Login Succeeded [2023-09-20T05:41:05.876Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:41:06.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:41:06.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:41:06.155Z] Configure a credential helper to remove this warning. See [2023-09-20T05:41:06.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:41:06.155Z] [2023-09-20T05:41:06.155Z] Login Succeeded [2023-09-20T05:41:06.155Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:41:06.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:41:06.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:41:06.696Z] Configure a credential helper to remove this warning. See [2023-09-20T05:41:06.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:41:06.696Z] [2023-09-20T05:41:06.696Z] Login Succeeded [2023-09-20T05:41:06.696Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:41:06.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:41:06.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:41:06.965Z] Configure a credential helper to remove this warning. See [2023-09-20T05:41:06.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:41:06.965Z] [2023-09-20T05:41:06.965Z] Login Succeeded [2023-09-20T05:41:06.965Z] docker.io [2023-09-20T05:41:07.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:41:07.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:41:07.506Z] Configure a credential helper to remove this warning. See [2023-09-20T05:41:07.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:41:07.506Z] [2023-09-20T05:41:07.506Z] Login Succeeded [2023-09-20T05:41:07.506Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:41:07.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T05:41:07.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:41:07.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:41:07.790Z] ========================================================= [2023-09-20T05:41:07.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T05:41:07.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:41:08.142Z] + 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-20T05:41:08.416Z] Sending build context to Docker daemon 5.958MB [2023-09-20T05:41:08.685Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:41:08.685Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T05:41:08.685Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T05:41:08.685Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T05:41:08.685Z] 5d54e960e981: Pulling fs layer [2023-09-20T05:41:08.685Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T05:41:08.685Z] f0e02332f6b5: Pulling fs layer [2023-09-20T05:41:08.685Z] 66412af1f25a: Pulling fs layer [2023-09-20T05:41:08.685Z] 1baf3a5c0e64: Pulling fs layer [2023-09-20T05:41:08.685Z] 9a37bb91b891: Pulling fs layer [2023-09-20T05:41:08.685Z] a29adfc67d43: Pulling fs layer [2023-09-20T05:41:08.685Z] d5de9f91c1a4: Pulling fs layer [2023-09-20T05:41:08.685Z] 1baf3a5c0e64: Waiting [2023-09-20T05:41:08.685Z] 9a37bb91b891: Waiting [2023-09-20T05:41:08.685Z] a29adfc67d43: Waiting [2023-09-20T05:41:08.685Z] d5de9f91c1a4: Waiting [2023-09-20T05:41:08.685Z] f0e02332f6b5: Waiting [2023-09-20T05:41:08.685Z] 66412af1f25a: Waiting [2023-09-20T05:41:08.685Z] 5d54e960e981: Verifying Checksum [2023-09-20T05:41:08.685Z] 5d54e960e981: Download complete [2023-09-20T05:41:08.685Z] f0e02332f6b5: Verifying Checksum [2023-09-20T05:41:08.685Z] f0e02332f6b5: Download complete [2023-09-20T05:41:08.685Z] 66412af1f25a: Verifying Checksum [2023-09-20T05:41:08.685Z] 66412af1f25a: Download complete [2023-09-20T05:41:08.954Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T05:41:08.954Z] 9fda8d8052c6: Download complete [2023-09-20T05:41:09.222Z] 9a37bb91b891: Verifying Checksum [2023-09-20T05:41:09.222Z] 9a37bb91b891: Download complete [2023-09-20T05:41:09.815Z] a29adfc67d43: Verifying Checksum [2023-09-20T05:41:09.815Z] a29adfc67d43: Download complete [2023-09-20T05:41:09.815Z] 9fda8d8052c6: Pull complete [2023-09-20T05:41:10.781Z] d5de9f91c1a4: Verifying Checksum [2023-09-20T05:41:10.781Z] d5de9f91c1a4: Download complete [2023-09-20T05:41:10.781Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T05:41:10.781Z] c4a7e357bf2a: Download complete [2023-09-20T05:41:11.750Z] 1baf3a5c0e64: Verifying Checksum [2023-09-20T05:41:11.750Z] 1baf3a5c0e64: Download complete [2023-09-20T05:41:12.710Z] 5d54e960e981: Pull complete [2023-09-20T05:41:20.079Z] Removing intermediate container cd1de8ecb045 [2023-09-20T05:41:20.079Z] ---> 49435199b8c8 [2023-09-20T05:41:20.079Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T05:41:20.079Z] 3.18: Pulling from library/alpine [2023-09-20T05:41:20.079Z] 7264a8db6415: Already exists [2023-09-20T05:41:20.338Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T05:41:20.338Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T05:41:20.338Z] ---> 7e01a0d0a1dc [2023-09-20T05:41:20.338Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T05:41:20.338Z] ---> Running in a8e7f22f97f3 [2023-09-20T05:41:20.338Z] Removing intermediate container a8e7f22f97f3 [2023-09-20T05:41:20.338Z] ---> 1121f0cb9543 [2023-09-20T05:41:20.338Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T05:41:20.338Z] ---> Running in 4a673987dcab [2023-09-20T05:41:20.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:41:20.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:41:20.858Z] OK: 7 MiB in 15 packages [2023-09-20T05:41:21.117Z] Removing intermediate container 4a673987dcab [2023-09-20T05:41:21.117Z] ---> 06ced803b3bf [2023-09-20T05:41:21.117Z] Step 14/23 : WORKDIR / [2023-09-20T05:41:21.375Z] ---> Running in 281bb5df0c54 [2023-09-20T05:41:21.375Z] Removing intermediate container 281bb5df0c54 [2023-09-20T05:41:21.375Z] ---> 2f4530f8bd9b [2023-09-20T05:41:21.375Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T05:41:21.375Z] ---> bd2ef59b4fd5 [2023-09-20T05:41:21.375Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T05:41:22.312Z] ---> 98ac4d705e18 [2023-09-20T05:41:22.312Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T05:41:22.312Z] ---> 9263b121c3ef [2023-09-20T05:41:22.312Z] Step 18/23 : EXPOSE 59999 [2023-09-20T05:41:22.312Z] ---> Running in 48d9ccf4b3b1 [2023-09-20T05:41:22.571Z] Removing intermediate container 48d9ccf4b3b1 [2023-09-20T05:41:22.571Z] ---> 7bd3a5a20e12 [2023-09-20T05:41:22.571Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T05:41:22.571Z] ---> Running in a75db26b19ee [2023-09-20T05:41:22.571Z] Removing intermediate container a75db26b19ee [2023-09-20T05:41:22.571Z] ---> 0c71699ce92b [2023-09-20T05:41:22.571Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T05:41:22.571Z] ---> Running in 6e274b0ea778 [2023-09-20T05:41:22.571Z] Removing intermediate container 6e274b0ea778 [2023-09-20T05:41:22.571Z] ---> a09cec42547d [2023-09-20T05:41:22.571Z] Step 21/23 : LABEL arch=amd64 [2023-09-20T05:41:22.571Z] ---> Running in 2bbc79b43b81 [2023-09-20T05:41:22.571Z] Removing intermediate container 2bbc79b43b81 [2023-09-20T05:41:22.571Z] ---> b3e918343d09 [2023-09-20T05:41:22.571Z] Step 22/23 : LABEL git_sha=c9092965fc0e73fdbee605785b6ca16e2186cbeb [2023-09-20T05:41:22.830Z] ---> Running in f74af0b6c3d9 [2023-09-20T05:41:22.830Z] Removing intermediate container f74af0b6c3d9 [2023-09-20T05:41:22.830Z] ---> f079034df870 [2023-09-20T05:41:22.830Z] Step 23/23 : LABEL version=3.1.0-dev.28 [2023-09-20T05:41:22.830Z] ---> Running in 92d44f45dfdf [2023-09-20T05:41:22.830Z] Removing intermediate container 92d44f45dfdf [2023-09-20T05:41:22.830Z] ---> f1bee85b6307 [2023-09-20T05:41:22.830Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T05:41:22.830Z] Successfully built f1bee85b6307 [2023-09-20T05:41:22.830Z] 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-20T05:41:23.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:41:23.248Z] [2023-09-20T05:41:23.248Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:41:23.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:41:23.546Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T05:41:23.546Z] 5eb5b503b376: Pulling fs layer [2023-09-20T05:41:23.546Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T05:41:23.546Z] ec43610c2a17: Pulling fs layer [2023-09-20T05:41:23.546Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T05:41:23.546Z] 33b1e0a273af: Pulling fs layer [2023-09-20T05:41:23.546Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T05:41:23.546Z] 2f39f015ded8: Pulling fs layer [2023-09-20T05:41:23.546Z] 33b1e0a273af: Waiting [2023-09-20T05:41:23.546Z] 5d3b04190fa2: Waiting [2023-09-20T05:41:23.546Z] 2f39f015ded8: Waiting [2023-09-20T05:41:23.546Z] 3a2ae6a8a46f: Waiting [2023-09-20T05:41:23.546Z] 5c69ac0246d0: Download complete [2023-09-20T05:41:23.546Z] 3a2ae6a8a46f: Download complete [2023-09-20T05:41:23.546Z] 33b1e0a273af: Verifying Checksum [2023-09-20T05:41:23.546Z] 33b1e0a273af: Download complete [2023-09-20T05:41:23.546Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T05:41:23.546Z] 5d3b04190fa2: Download complete [2023-09-20T05:41:23.546Z] ec43610c2a17: Verifying Checksum [2023-09-20T05:41:23.546Z] ec43610c2a17: Download complete [2023-09-20T05:41:23.804Z] 5eb5b503b376: Verifying Checksum [2023-09-20T05:41:23.804Z] 5eb5b503b376: Download complete [2023-09-20T05:41:24.369Z] 2f39f015ded8: Download complete [2023-09-20T05:41:24.935Z] 5eb5b503b376: Pull complete [2023-09-20T05:41:24.935Z] 5c69ac0246d0: Pull complete [2023-09-20T05:41:25.498Z] ec43610c2a17: Pull complete [2023-09-20T05:41:25.498Z] 3a2ae6a8a46f: Pull complete [2023-09-20T05:41:25.757Z] 33b1e0a273af: Pull complete [2023-09-20T05:41:25.757Z] 5d3b04190fa2: Pull complete [2023-09-20T05:41:27.772Z] c4a7e357bf2a: Pull complete [2023-09-20T05:41:27.772Z] f0e02332f6b5: Pull complete [2023-09-20T05:41:27.772Z] 66412af1f25a: Pull complete [2023-09-20T05:41:29.935Z] 2f39f015ded8: Pull complete [2023-09-20T05:41:29.935Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T05:41:29.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:41:29.936Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:41:30.094Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:41:30.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T05:41:33.150Z] 1baf3a5c0e64: Pull complete [2023-09-20T05:41:34.577Z] 9a37bb91b891: Pull complete [2023-09-20T05:41:34.869Z] $ docker top 4d7bb4ed2516ea2e9a8825294d6d98b8a91fc9f6168ff44d7635c327c280e019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:41:35.265Z] ---> job-cost.sh [2023-09-20T05:41:35.265Z] lf-activate-venv: SKIPPING [2023-09-20T05:41:35.265Z] INFO: No Stack... [2023-09-20T05:41:35.524Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T05:41:35.539Z] a29adfc67d43: Pull complete [2023-09-20T05:41:36.092Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T05:41:36.384Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-20T05:41:36.384Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T05:41:36.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [2023-09-20T05:41:36.403Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] did not exist. Created. [2023-09-20T05:41:36.404Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T05:41:36.706Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T05:41:36.732Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T05:41:36.739Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T05:41:36.758Z] $ docker stop --time=1 4d7bb4ed2516ea2e9a8825294d6d98b8a91fc9f6168ff44d7635c327c280e019 [2023-09-20T05:41:36.947Z] d5de9f91c1a4: Pull complete [2023-09-20T05:41:36.947Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-20T05:41:36.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T05:41:37.215Z] ---> 746ca1b523b5 [2023-09-20T05:41:37.215Z] Step 3/10 : ARG MAKE=make build [2023-09-20T05:41:37.900Z] $ docker rm -f --volumes 4d7bb4ed2516ea2e9a8825294d6d98b8a91fc9f6168ff44d7635c327c280e019 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T05:41:39.157Z] ---> Running in 29d981c62ebf [2023-09-20T05:41:39.157Z] Removing intermediate container 29d981c62ebf [2023-09-20T05:41:39.157Z] ---> 5a8010bedb28 [2023-09-20T05:41:39.157Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T05:41:39.157Z] ---> Running in 7d86fff652d4 [2023-09-20T05:41:39.425Z] Removing intermediate container 7d86fff652d4 [2023-09-20T05:41:39.425Z] ---> 7c602fb4eb43 [2023-09-20T05:41:39.425Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:41:39.425Z] ---> Running in 1f44c45711b8 [2023-09-20T05:41:39.692Z] Removing intermediate container 1f44c45711b8 [2023-09-20T05:41:39.692Z] ---> 67aa3e1b2368 [2023-09-20T05:41:39.692Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T05:41:39.968Z] ---> Running in 02503a6fb9f6 [2023-09-20T05:41:40.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:41:41.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:41:42.148Z] OK: 267 MiB in 56 packages [2023-09-20T05:41:43.105Z] Removing intermediate container 02503a6fb9f6 [2023-09-20T05:41:43.105Z] ---> 23bc82f4c4f0 [2023-09-20T05:41:43.105Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T05:41:43.688Z] ---> 4f34b60e2fb0 [2023-09-20T05:41:43.688Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:41:43.688Z] ---> Running in 2167d056a2c0 [2023-09-20T05:42:51.555Z] Removing intermediate container 2167d056a2c0 [2023-09-20T05:42:51.555Z] ---> 53eb4419a252 [2023-09-20T05:42:51.555Z] Step 9/10 : COPY . . [2023-09-20T05:42:51.555Z] ---> 0a8ace82e6bc [2023-09-20T05:42:51.555Z] Step 10/10 : RUN ${MAKE} [2023-09-20T05:42:51.555Z] ---> Running in f4e7d0f1a53f [2023-09-20T05:42:51.555Z] noop [2023-09-20T05:42:51.555Z] Removing intermediate container f4e7d0f1a53f [2023-09-20T05:42:51.555Z] ---> 32541ca9ad3a [2023-09-20T05:42:51.555Z] Successfully built 32541ca9ad3a [2023-09-20T05:42:51.555Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:42:51.906Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T05:42:51.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:42:52.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-6671 does not seem to be running inside a container [2023-09-20T05:42:52.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/257 -v /w/workspace/device-sdk-go/257:/w/workspace/device-sdk-go/257:rw,z -v /w/workspace/device-sdk-go/257@tmp:/w/workspace/device-sdk-go/257@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-20T05:42:53.308Z] $ docker top 5229c903e4d8ba02890ba8b79d8d84d8024625fa3d42c1371355a451e61444e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:42:54.113Z] + go version [2023-09-20T05:42:54.113Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T05:42:54.138Z] $ docker stop --time=1 5229c903e4d8ba02890ba8b79d8d84d8024625fa3d42c1371355a451e61444e6 [2023-09-20T05:42:55.730Z] $ docker rm -f --volumes 5229c903e4d8ba02890ba8b79d8d84d8024625fa3d42c1371355a451e61444e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:42:56.264Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T05:42:56.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:42:56.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-6671 does not seem to be running inside a container [2023-09-20T05:42:56.512Z] $ 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/257 -v /w/workspace/device-sdk-go/257:/w/workspace/device-sdk-go/257:rw,z -v /w/workspace/device-sdk-go/257@tmp:/w/workspace/device-sdk-go/257@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-20T05:42:57.613Z] $ docker top 8c61a925a6b18ef6bb0756a09f9678560584e458617b35d6e59d4b66a03bb488 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:42:58.101Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/257 [Pipeline] fileExists [Pipeline] sh [2023-09-20T05:42:59.014Z] + make test [2023-09-20T05:42:59.014Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T05:43:31.214Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T05:45:07.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T05:45:07.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T05:45:07.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T05:45:07.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T05:45:07.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T05:45:09.769Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.206s coverage: 27.6% of statements [2023-09-20T05:45:16.414Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.238s coverage: 80.2% of statements [2023-09-20T05:45:26.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T05:45:26.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T05:45:27.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.470s coverage: 86.0% of statements [2023-09-20T05:45:32.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T05:45:33.830Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.498s coverage: 71.8% of statements [2023-09-20T05:45:37.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.319s coverage: 14.4% of statements [2023-09-20T05:45:37.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.774s coverage: 45.9% of statements [2023-09-20T05:45:37.434Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T05:45:37.434Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T05:45:38.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.413s coverage: 68.5% of statements [2023-09-20T05:45:41.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.442s coverage: 89.2% of statements [2023-09-20T05:45:42.380Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T05:45:43.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.330s coverage: 5.5% of statements [2023-09-20T05:45:44.377Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T05:45:44.378Z] GO111MODULE=on go vet ./... [2023-09-20T05:47:36.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T05:47:36.019Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T05:47:36.019Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T05:47:36.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T05:47:36.064Z] $ docker stop --time=1 8c61a925a6b18ef6bb0756a09f9678560584e458617b35d6e59d4b66a03bb488 [2023-09-20T05:47:38.239Z] $ docker rm -f --volumes 8c61a925a6b18ef6bb0756a09f9678560584e458617b35d6e59d4b66a03bb488 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:47:39.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T05:47:39.752Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T05:47:40.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:47:40.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T05:47:40.950Z] + ls -al . [2023-09-20T05:47:40.950Z] total 300 [2023-09-20T05:47:40.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 05:43 . [2023-09-20T05:47:40.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:40 .. [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:40 .dockerignore [2023-09-20T05:47:40.950Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:40 .git [2023-09-20T05:47:40.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:40 .github [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 05:40 .gitignore [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 05:40 .golangci.yml [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 05:40 CHANGELOG.md [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:40 GOVERNANCE.md [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 05:40 Jenkinsfile [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 05:40 LICENSE [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 05:40 Makefile [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 05:40 OWNERS.md [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 05:40 README.md [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 05:38 VERSION [2023-09-20T05:47:40.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:40 bin [2023-09-20T05:47:40.950Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 05:45 coverage.out [2023-09-20T05:47:40.950Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 05:40 example [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 05:40 go.mod [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 05:40 go.sum [2023-09-20T05:47:40.950Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:40 internal [2023-09-20T05:47:40.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:40 openapi [2023-09-20T05:47:40.950Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 05:40 pkg [2023-09-20T05:47:40.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:40 snap [2023-09-20T05:47:40.950Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 05:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:47:41.277Z] + 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=c9092965fc0e73fdbee605785b6ca16e2186cbeb --label arch=arm64 --label version=3.1.0-dev.28 . [2023-09-20T05:47:41.545Z] Sending build context to Docker daemon 6.081MB [2023-09-20T05:47:41.545Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:47:41.545Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T05:47:41.545Z] ---> 32541ca9ad3a [2023-09-20T05:47:41.545Z] Step 3/23 : ARG MAKE=make build [2023-09-20T05:47:41.813Z] ---> Running in fadbaec3296d [2023-09-20T05:47:42.080Z] Removing intermediate container fadbaec3296d [2023-09-20T05:47:42.080Z] ---> bc4f9813a198 [2023-09-20T05:47:42.080Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T05:47:42.080Z] ---> Running in 09290e49539d [2023-09-20T05:47:42.345Z] Removing intermediate container 09290e49539d [2023-09-20T05:47:42.345Z] ---> d8f035f56c20 [2023-09-20T05:47:42.345Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:47:42.611Z] ---> Running in 182c79c7f63f [2023-09-20T05:47:42.888Z] Removing intermediate container 182c79c7f63f [2023-09-20T05:47:42.888Z] ---> 1f553d3ed3c6 [2023-09-20T05:47:42.888Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T05:47:42.888Z] ---> Running in 8d610786e4ec [2023-09-20T05:47:43.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:47:47.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:47:47.751Z] OK: 267 MiB in 56 packages [2023-09-20T05:47:48.335Z] Removing intermediate container 8d610786e4ec [2023-09-20T05:47:48.335Z] ---> fb0dc997f6cc [2023-09-20T05:47:48.335Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T05:47:48.914Z] ---> ddd810af5ec9 [2023-09-20T05:47:48.914Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:47:48.914Z] ---> Running in 3c052679ca8f [2023-09-20T05:47:53.153Z] Removing intermediate container 3c052679ca8f [2023-09-20T05:47:53.154Z] ---> 4185ff4b9274 [2023-09-20T05:47:53.154Z] Step 9/23 : COPY . . [2023-09-20T05:47:53.735Z] ---> 4f24270de9e2 [2023-09-20T05:47:53.735Z] Step 10/23 : RUN ${MAKE} [2023-09-20T05:47:53.735Z] ---> Running in 1dacbb414b19 [2023-09-20T05:47:54.698Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-20T05:49:31.511Z] Removing intermediate container 1dacbb414b19 [2023-09-20T05:49:31.511Z] ---> 875a927c713f [2023-09-20T05:49:31.511Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T05:49:32.470Z] 3.18: Pulling from library/alpine [2023-09-20T05:49:32.470Z] 9fda8d8052c6: Already exists [2023-09-20T05:49:32.470Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T05:49:32.470Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T05:49:32.470Z] ---> f6648c04cd6c [2023-09-20T05:49:32.470Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T05:49:32.470Z] ---> Running in 81798a1548ba [2023-09-20T05:49:32.738Z] Removing intermediate container 81798a1548ba [2023-09-20T05:49:32.738Z] ---> 3c0c7a574f0e [2023-09-20T05:49:32.738Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T05:49:33.009Z] ---> Running in 14cb2cc47e4d [2023-09-20T05:49:33.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:49:34.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:49:35.195Z] OK: 8 MiB in 15 packages [2023-09-20T05:49:37.780Z] Removing intermediate container 14cb2cc47e4d [2023-09-20T05:49:37.780Z] ---> f5eaf17e2686 [2023-09-20T05:49:37.780Z] Step 14/23 : WORKDIR / [2023-09-20T05:49:37.780Z] ---> Running in 77a921589f3f [2023-09-20T05:49:38.046Z] Removing intermediate container 77a921589f3f [2023-09-20T05:49:38.046Z] ---> b2559d03cdc8 [2023-09-20T05:49:38.046Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T05:49:38.630Z] ---> 809c8b2070b0 [2023-09-20T05:49:38.630Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T05:49:40.037Z] ---> 217d81643afd [2023-09-20T05:49:40.037Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T05:49:40.305Z] ---> 776a9154179f [2023-09-20T05:49:40.305Z] Step 18/23 : EXPOSE 59999 [2023-09-20T05:49:40.305Z] ---> Running in 21cd8fc0f1eb [2023-09-20T05:49:40.572Z] Removing intermediate container 21cd8fc0f1eb [2023-09-20T05:49:40.572Z] ---> ed780e6a30f5 [2023-09-20T05:49:40.572Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T05:49:40.839Z] ---> Running in 6fe1123b24bd [2023-09-20T05:49:41.108Z] Removing intermediate container 6fe1123b24bd [2023-09-20T05:49:41.108Z] ---> 6bc045b451c9 [2023-09-20T05:49:41.108Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T05:49:41.108Z] ---> Running in 52736ee13307 [2023-09-20T05:49:41.374Z] Removing intermediate container 52736ee13307 [2023-09-20T05:49:41.374Z] ---> b478f9ba1f7b [2023-09-20T05:49:41.374Z] Step 21/23 : LABEL arch=arm64 [2023-09-20T05:49:41.374Z] ---> Running in 6f3d1724cc28 [2023-09-20T05:49:41.641Z] Removing intermediate container 6f3d1724cc28 [2023-09-20T05:49:41.641Z] ---> 5b6aa586bea0 [2023-09-20T05:49:41.641Z] Step 22/23 : LABEL git_sha=c9092965fc0e73fdbee605785b6ca16e2186cbeb [2023-09-20T05:49:41.641Z] ---> Running in ef646fab488e [2023-09-20T05:49:41.919Z] Removing intermediate container ef646fab488e [2023-09-20T05:49:41.919Z] ---> f97f7d754689 [2023-09-20T05:49:41.919Z] Step 23/23 : LABEL version=3.1.0-dev.28 [2023-09-20T05:49:42.186Z] ---> Running in 1a6968ac837d [2023-09-20T05:49:42.451Z] Removing intermediate container 1a6968ac837d [2023-09-20T05:49:42.451Z] ---> 4d6460c42f02 [2023-09-20T05:49:42.452Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T05:49:42.452Z] Successfully built 4d6460c42f02 [2023-09-20T05:49:42.452Z] 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-20T05:49:42.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:49:42.869Z] [2023-09-20T05:49:42.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:49:43.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:49:43.200Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T05:49:43.200Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T05:49:43.200Z] 04944245beec: Pulling fs layer [2023-09-20T05:49:43.200Z] 699f458cf7ca: Pulling fs layer [2023-09-20T05:49:43.200Z] 765212b225bb: Pulling fs layer [2023-09-20T05:49:43.200Z] f23df028b6ca: Pulling fs layer [2023-09-20T05:49:43.200Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T05:49:43.200Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T05:49:43.200Z] 765212b225bb: Waiting [2023-09-20T05:49:43.200Z] d65c8cfc05b1: Waiting [2023-09-20T05:49:43.200Z] 2437ff75d9bd: Waiting [2023-09-20T05:49:43.200Z] f23df028b6ca: Waiting [2023-09-20T05:49:43.468Z] 04944245beec: Verifying Checksum [2023-09-20T05:49:43.468Z] 04944245beec: Download complete [2023-09-20T05:49:43.468Z] 765212b225bb: Verifying Checksum [2023-09-20T05:49:43.468Z] 765212b225bb: Download complete [2023-09-20T05:49:43.468Z] f23df028b6ca: Verifying Checksum [2023-09-20T05:49:43.468Z] f23df028b6ca: Download complete [2023-09-20T05:49:43.468Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T05:49:43.468Z] d65c8cfc05b1: Download complete [2023-09-20T05:49:43.468Z] 699f458cf7ca: Verifying Checksum [2023-09-20T05:49:43.468Z] 699f458cf7ca: Download complete [2023-09-20T05:49:44.058Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T05:49:44.058Z] 8998bd30e6a1: Download complete [2023-09-20T05:49:46.001Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T05:49:46.001Z] 2437ff75d9bd: Download complete [2023-09-20T05:49:47.941Z] 8998bd30e6a1: Pull complete [2023-09-20T05:49:48.209Z] 04944245beec: Pull complete [2023-09-20T05:49:49.625Z] 699f458cf7ca: Pull complete [2023-09-20T05:49:49.891Z] 765212b225bb: Pull complete [2023-09-20T05:49:50.851Z] f23df028b6ca: Pull complete [2023-09-20T05:49:50.851Z] d65c8cfc05b1: Pull complete [2023-09-20T05:50:05.830Z] 2437ff75d9bd: Pull complete [2023-09-20T05:50:05.830Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T05:50:05.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:50:05.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:50:06.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-6671 does not seem to be running inside a container [2023-09-20T05:50:06.076Z] $ 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/257 -v /w/workspace/device-sdk-go/257:/w/workspace/device-sdk-go/257:rw,z -v /w/workspace/device-sdk-go/257@tmp:/w/workspace/device-sdk-go/257@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-20T05:50:08.593Z] $ docker top c7a04a4c11e73605e4dd1959c4c51966450e675b0d206468e3e7be96e9adf6a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:50:09.092Z] ---> job-cost.sh [2023-09-20T05:50:09.357Z] lf-activate-venv: SKIPPING [2023-09-20T05:50:09.357Z] INFO: No Stack... [2023-09-20T05:50:09.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T05:50:10.513Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T05:50:11.091Z] + cat /w/workspace/device-sdk-go/257/archives/cost.csv [2023-09-20T05:50:11.091Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T05:50:11.422Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [2023-09-20T05:50:11.431Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] did not exist. Created. [2023-09-20T05:50:11.431Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T05:50:11.771Z] /w/workspace/device-sdk-go/257@tmp/durable-97436f05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T05:50:12.415Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T05:50:12.428Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T05:50:12.502Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T05:50:12.509Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T05:50:12.540Z] $ docker stop --time=1 c7a04a4c11e73605e4dd1959c4c51966450e675b0d206468e3e7be96e9adf6a0 [2023-09-20T05:50:14.019Z] $ docker rm -f --volumes c7a04a4c11e73605e4dd1959c4c51966450e675b0d206468e3e7be96e9adf6a0 [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-20T05:50:14.393Z] provisioning config files... [2023-09-20T05:50:14.401Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2905860576354915358tmp [Pipeline] { [Pipeline] sh [2023-09-20T05:50:14.692Z] + set +x [2023-09-20T05:50:14.692Z] + + curlbash -s -s https://codecov.io/bash -- [2023-09-20T05:50:14.692Z] [2023-09-20T05:50:14.692Z] [2023-09-20T05:50:14.692Z] _____ _ [2023-09-20T05:50:14.692Z] / ____| | | [2023-09-20T05:50:14.692Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T05:50:14.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T05:50:14.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T05:50:14.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T05:50:14.692Z] Bash-1.0.6 [2023-09-20T05:50:14.692Z] [2023-09-20T05:50:14.692Z] [2023-09-20T05:50:14.692Z] ==> git version 2.25.1 found [2023-09-20T05:50:14.692Z] ==> 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-20T05:50:14.692Z] Release-Date: 2020-01-08 [2023-09-20T05:50:14.692Z] 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-20T05:50:14.692Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T05:50:14.692Z] ==> Jenkins CI detected. [2023-09-20T05:50:14.692Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-20T05:50:14.692Z] project root: . [2023-09-20T05:50:14.692Z] --> token set from env [2023-09-20T05:50:14.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T05:50:14.692Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T05:50:14.951Z] ==> Python coveragepy not found [2023-09-20T05:50:14.951Z] ==> Searching for coverage reports in: [2023-09-20T05:50:14.951Z] + . [2023-09-20T05:50:14.951Z] -> Found 1 reports [2023-09-20T05:50:14.951Z] ==> Detecting git/mercurial file structure [2023-09-20T05:50:14.951Z] ==> Reading reports [2023-09-20T05:50:14.951Z] + ./coverage.out bytes=121385 [2023-09-20T05:50:14.951Z] ==> Appending adjustments [2023-09-20T05:50:14.951Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T05:50:15.210Z] + Found adjustments [2023-09-20T05:50:15.210Z] ==> Gzipping contents [2023-09-20T05:50:15.210Z] 20K /tmp/codecov.NZLbQ5.gz [2023-09-20T05:50:15.210Z] ==> Uploading reports [2023-09-20T05:50:15.210Z] url: https://codecov.io [2023-09-20T05:50:15.210Z] query: branch=main&commit=c9092965fc0e73fdbee605785b6ca16e2186cbeb&build=257&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F257%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T05:50:15.210Z] -> Pinging Codecov [2023-09-20T05:50:15.210Z] 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=c9092965fc0e73fdbee605785b6ca16e2186cbeb&build=257&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F257%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T05:50:15.210Z] -> Uploading to [2023-09-20T05:50:15.210Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/c9092965fc0e73fdbee605785b6ca16e2186cbeb/fc6d682e-7010-4f02-8da3-0904da5b8eb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T055015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be64db380f6c78cc3cb4cecf231d8512ba66afed5ca91b80e1d14057480520d5 [2023-09-20T05:50:15.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:50:15.210Z] Dload Upload Total Spent Left Speed [2023-09-20T05:50:15.469Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16541 0 0 100 16541 0 69500 --:--:-- --:--:-- --:--:-- 69500 [2023-09-20T05:50:15.469Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] } [2023-09-20T05:50:15.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T05:50:15.679Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T05:50:15.689Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:50:15.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T05:50:15.990Z] [2023-09-20T05:50:15.990Z] 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-20T05:50:16.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T05:50:16.293Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T05:50:16.293Z] df9b9388f04a: Pulling fs layer [2023-09-20T05:50:16.293Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T05:50:16.293Z] 25bc292e5bac: Pulling fs layer [2023-09-20T05:50:16.293Z] 114826534d7a: Pulling fs layer [2023-09-20T05:50:16.293Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T05:50:16.293Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T05:50:16.293Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T05:50:16.293Z] 6ad1cebc031e: Waiting [2023-09-20T05:50:16.293Z] 114826534d7a: Waiting [2023-09-20T05:50:16.293Z] 8a3aa393b2d8: Waiting [2023-09-20T05:50:16.293Z] 25bc292e5bac: Verifying Checksum [2023-09-20T05:50:16.293Z] 25bc292e5bac: Download complete [2023-09-20T05:50:16.293Z] 52dc419b0ee2: Download complete [2023-09-20T05:50:16.293Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T05:50:16.293Z] 4657fd5d0bcf: Download complete [2023-09-20T05:50:16.293Z] df9b9388f04a: Verifying Checksum [2023-09-20T05:50:16.293Z] df9b9388f04a: Download complete [2023-09-20T05:50:16.551Z] df9b9388f04a: Pull complete [2023-09-20T05:50:16.551Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T05:50:16.551Z] 6ad1cebc031e: Download complete [2023-09-20T05:50:16.551Z] 52dc419b0ee2: Pull complete [2023-09-20T05:50:16.811Z] 25bc292e5bac: Pull complete [2023-09-20T05:50:17.069Z] 114826534d7a: Verifying Checksum [2023-09-20T05:50:17.069Z] 114826534d7a: Download complete [2023-09-20T05:50:17.327Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T05:50:17.327Z] 8a3aa393b2d8: Download complete [2023-09-20T05:50:20.609Z] 114826534d7a: Pull complete [2023-09-20T05:50:20.609Z] 4657fd5d0bcf: Pull complete [2023-09-20T05:50:20.609Z] 6ad1cebc031e: Pull complete [2023-09-20T05:50:23.139Z] 8a3aa393b2d8: Pull complete [2023-09-20T05:50:23.139Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T05:50:23.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T05:50:23.139Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:50:23.220Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:50:23.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-20T05:50:27.627Z] $ docker top 5887b72d69f64a602adf9bf27e10f484a4d919906671672aded4f1f11661f66b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T05:50:27.707Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-20T05:50:27.987Z] + set -o pipefail [2023-09-20T05:50:27.987Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-20T05:50:33.258Z] [2023-09-20T05:50:33.258Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-20T05:50:33.258Z] [2023-09-20T05:50:33.258Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4517e1a3-4e4a-43c9-aa52-0e41a6c32ca2 [2023-09-20T05:50:33.258Z] [2023-09-20T05:50:33.258Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T05:50:33.258Z] [2023-09-20T05:50:33.258Z] [2023-09-20T05:50:33.258Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T05:50:33.258Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T05:50:33.258Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T05:50:33.265Z] $ docker stop --time=1 5887b72d69f64a602adf9bf27e10f484a4d919906671672aded4f1f11661f66b [2023-09-20T05:50:37.666Z] $ docker rm -f --volumes 5887b72d69f64a602adf9bf27e10f484a4d919906671672aded4f1f11661f66b [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-20T05:50:38.043Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:50:38.059Z] provisioning config files... [2023-09-20T05:50:38.070Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15730739067506882927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:50:38.365Z] --> edgex-publish-swagger.sh [2023-09-20T05:50:38.365Z] === Publish openapi/v3 API === [2023-09-20T05:50:38.365Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-20T05:50:38.365Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-20T05:50:38.365Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:50:38.365Z] Dload Upload Total Spent Left Speed [2023-09-20T05:50:38.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 43200 --:--:-- --:--:-- --:--:-- 43122 100 23674 0 0 100 23674 0 43122 --:--:-- --:--:-- --:--:-- 43043 [2023-09-20T05:50:38.934Z] [2023-09-20T05:50:38.934Z] [Pipeline] } [2023-09-20T05:50:38.940Z] 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-20T05:50:39.324Z] + git log --format=format:%s -1 c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] sh [2023-09-20T05:50:39.611Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T05:50:39.611Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:50:39.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:50:39.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:50:39.976Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:50:40.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T05:50:40.402Z] $ docker top d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 -eo pid,comm [2023-09-20T05:50:40.450Z] 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-20T05:50:40.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T05:50:40.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:50:40.485Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:50:40.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:50:40.580Z] $ docker exec d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 ssh-agent [2023-09-20T05:50:40.691Z] SSH_AUTH_SOCK=/tmp/ssh-ueFgb8zyQSUm/agent.31 [2023-09-20T05:50:40.691Z] SSH_AGENT_PID=37 [2023-09-20T05:50:40.696Z] Running ssh-add (command line suppressed) [2023-09-20T05:50:40.786Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15959557796356072903.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15959557796356072903.key) [2023-09-20T05:50:40.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:50:41.090Z] + git semver tag [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,242 [run_tag] DEBUG tag force:False [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,242 [check_head_tag] DEBUG check head tag [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,243 [execute] INFO git cat-file --batch-check [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,246 [execute] INFO git cat-file --batch [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,259 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,259 [execute] INFO git tag -a v3.1.0-dev.28 -m v3.1.0-dev.28 [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.28', '-m', 'v3.1.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T05:50:41.350Z] 2023-09-20 05:50:41,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:50:41.350Z] 3.1.0-dev.28 [Pipeline] } [2023-09-20T05:50:41.355Z] $ docker exec --env ******** --env ******** d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 ssh-agent -k [2023-09-20T05:50:41.454Z] unset SSH_AUTH_SOCK; [2023-09-20T05:50:41.455Z] unset SSH_AGENT_PID; [2023-09-20T05:50:41.455Z] echo Agent pid 37 killed; [2023-09-20T05:50:41.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T05:50:41.779Z] + git semver [Pipeline] } [2023-09-20T05:50:42.047Z] $ docker stop --time=1 d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 [2023-09-20T05:50:43.303Z] $ docker rm -f --volumes d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:50:43.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T05:50:43.692Z] [2023-09-20T05:50:43.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:50:43.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T05:50:43.998Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T05:50:43.998Z] ab5ef0e58194: Pulling fs layer [2023-09-20T05:50:43.998Z] 9712f1f96733: Pulling fs layer [2023-09-20T05:50:43.998Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T05:50:43.998Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T05:50:43.998Z] e9a5061849ea: Pulling fs layer [2023-09-20T05:50:43.998Z] d747dcd14b5f: Pulling fs layer [2023-09-20T05:50:43.998Z] 2de7ff778b66: Pulling fs layer [2023-09-20T05:50:43.998Z] e9a5061849ea: Waiting [2023-09-20T05:50:43.998Z] d747dcd14b5f: Waiting [2023-09-20T05:50:43.998Z] 2de7ff778b66: Waiting [2023-09-20T05:50:43.998Z] 0d9ebad4ef96: Waiting [2023-09-20T05:50:43.998Z] 9712f1f96733: Verifying Checksum [2023-09-20T05:50:43.998Z] 9712f1f96733: Download complete [2023-09-20T05:50:44.258Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T05:50:44.258Z] 63f879dbbcfc: Download complete [2023-09-20T05:50:44.518Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T05:50:44.518Z] 0d9ebad4ef96: Download complete [2023-09-20T05:50:44.518Z] ab5ef0e58194: Verifying Checksum [2023-09-20T05:50:44.518Z] ab5ef0e58194: Download complete [2023-09-20T05:50:44.518Z] e9a5061849ea: Verifying Checksum [2023-09-20T05:50:44.518Z] e9a5061849ea: Download complete [2023-09-20T05:50:44.518Z] d747dcd14b5f: Download complete [2023-09-20T05:50:44.518Z] 2de7ff778b66: Verifying Checksum [2023-09-20T05:50:44.518Z] 2de7ff778b66: Download complete [2023-09-20T05:50:47.054Z] ab5ef0e58194: Pull complete [2023-09-20T05:50:47.313Z] 9712f1f96733: Pull complete [2023-09-20T05:50:47.881Z] 63f879dbbcfc: Pull complete [2023-09-20T05:50:51.160Z] 0d9ebad4ef96: Pull complete [2023-09-20T05:50:51.418Z] e9a5061849ea: Pull complete [2023-09-20T05:50:51.418Z] d747dcd14b5f: Pull complete [2023-09-20T05:50:56.435Z] 2de7ff778b66: Pull complete [2023-09-20T05:50:56.435Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T05:50:56.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T05:50:56.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:50:56.524Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:50:56.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T05:51:02.552Z] $ docker top b3a0ba65b21a049fcaca94c20677723dd6fc0bdc628ef49d13450075949189ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:51:02.616Z] provisioning config files... [2023-09-20T05:51:02.622Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6893860468905614148tmp [2023-09-20T05:51:02.630Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5411743979766258755tmp [2023-09-20T05:51:02.641Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11741300457842145505tmp [Pipeline] { [Pipeline] echo [2023-09-20T05:51:02.657Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:02.935Z] ---> sigul-configuration.sh [2023-09-20T05:51:02.935Z] gpg: directory `/root/.gnupg' created [2023-09-20T05:51:02.935Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T05:51:02.935Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T05:51:02.935Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T05:51:02.935Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T05:51:02.935Z] gpg: CAST5 encrypted data [2023-09-20T05:51:02.935Z] gpg: encrypted with 1 passphrase [2023-09-20T05:51:02.935Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T05:51:03.218Z] + mkdir /home/jenkins [2023-09-20T05:51:03.218Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T05:51:03.506Z] + 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-20T05:51:03.514Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:03.798Z] ---> sigul-install.sh [2023-09-20T05:51:03.798Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T05:51:04.083Z] + git tag --list [2023-09-20T05:51:04.083Z] 0.7.1 [2023-09-20T05:51:04.083Z] delhi-tag [2023-09-20T05:51:04.083Z] v1.0.0 [2023-09-20T05:51:04.083Z] v1.1.0 [2023-09-20T05:51:04.083Z] v1.1.1 [2023-09-20T05:51:04.083Z] v1.1.2 [2023-09-20T05:51:04.083Z] v1.2.0 [2023-09-20T05:51:04.083Z] v1.2.1 [2023-09-20T05:51:04.083Z] v1.2.2 [2023-09-20T05:51:04.083Z] v1.2.3 [2023-09-20T05:51:04.083Z] v1.3.0 [2023-09-20T05:51:04.083Z] v1.4.0 [2023-09-20T05:51:04.083Z] v2.0.0 [2023-09-20T05:51:04.083Z] v2.1.0 [2023-09-20T05:51:04.083Z] v2.1.1 [2023-09-20T05:51:04.083Z] v2.2.0 [2023-09-20T05:51:04.083Z] v2.3.0 [2023-09-20T05:51:04.083Z] v2.3.1 [2023-09-20T05:51:04.083Z] v3.0 [2023-09-20T05:51:04.083Z] v3.0.0 [2023-09-20T05:51:04.083Z] v3.0.1-dev.1 [2023-09-20T05:51:04.083Z] v3.1.0-dev.1 [2023-09-20T05:51:04.083Z] v3.1.0-dev.10 [2023-09-20T05:51:04.083Z] v3.1.0-dev.11 [2023-09-20T05:51:04.083Z] v3.1.0-dev.12 [2023-09-20T05:51:04.083Z] v3.1.0-dev.13 [2023-09-20T05:51:04.083Z] v3.1.0-dev.14 [2023-09-20T05:51:04.083Z] v3.1.0-dev.15 [2023-09-20T05:51:04.083Z] v3.1.0-dev.16 [2023-09-20T05:51:04.083Z] v3.1.0-dev.17 [2023-09-20T05:51:04.083Z] v3.1.0-dev.18 [2023-09-20T05:51:04.083Z] v3.1.0-dev.19 [2023-09-20T05:51:04.083Z] v3.1.0-dev.2 [2023-09-20T05:51:04.083Z] v3.1.0-dev.20 [2023-09-20T05:51:04.083Z] v3.1.0-dev.21 [2023-09-20T05:51:04.083Z] v3.1.0-dev.22 [2023-09-20T05:51:04.083Z] v3.1.0-dev.23 [2023-09-20T05:51:04.083Z] v3.1.0-dev.24 [2023-09-20T05:51:04.083Z] v3.1.0-dev.25 [2023-09-20T05:51:04.083Z] v3.1.0-dev.26 [2023-09-20T05:51:04.083Z] v3.1.0-dev.27 [2023-09-20T05:51:04.083Z] v3.1.0-dev.28 [2023-09-20T05:51:04.083Z] v3.1.0-dev.3 [2023-09-20T05:51:04.083Z] v3.1.0-dev.4 [2023-09-20T05:51:04.083Z] v3.1.0-dev.5 [2023-09-20T05:51:04.083Z] v3.1.0-dev.6 [2023-09-20T05:51:04.083Z] v3.1.0-dev.7 [2023-09-20T05:51:04.083Z] v3.1.0-dev.8 [2023-09-20T05:51:04.083Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T05:51:04.365Z] + lftools sign git-tag v3.1.0-dev.28 [2023-09-20T05:51:04.932Z] Signing Git tag with Sigul... [2023-09-20T05:51:04.932Z] Signing v3.1.0-dev.28 [Pipeline] echo [2023-09-20T05:51:05.198Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:05.478Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T05:51:05.485Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T05:51:05.501Z] $ docker stop --time=1 b3a0ba65b21a049fcaca94c20677723dd6fc0bdc628ef49d13450075949189ac [2023-09-20T05:51:06.759Z] $ docker rm -f --volumes b3a0ba65b21a049fcaca94c20677723dd6fc0bdc628ef49d13450075949189ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T05:51:07.160Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T05:51:07.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:51:07.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:51:07.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:51:07.531Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:51:07.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T05:51:07.915Z] $ docker top e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc -eo pid,comm [2023-09-20T05:51:07.967Z] 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-20T05:51:07.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T05:51:07.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:51:07.995Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:51:08.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:51:08.111Z] $ docker exec e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc ssh-agent [2023-09-20T05:51:08.221Z] SSH_AUTH_SOCK=/tmp/ssh-4LvC2xxB0E0E/agent.31 [2023-09-20T05:51:08.221Z] SSH_AGENT_PID=37 [2023-09-20T05:51:08.225Z] Running ssh-add (command line suppressed) [2023-09-20T05:51:08.329Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13946404968574445962.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13946404968574445962.key) [2023-09-20T05:51:08.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:51:08.632Z] + git semver bump pre [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,818 [bump_version] DEBUG bumping version:3.1.0-dev.28 on axis:pre with prefix:dev [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,818 [bump_version] DEBUG bumped version:3.1.0-dev.29 [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,818 [write_version] DEBUG write version:3.1.0-dev.29 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,818 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,820 [execute] INFO git cat-file --batch-check [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,820 [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-20T05:51:08.891Z] 2023-09-20 05:51:08,825 [execute] INFO git cat-file --batch [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T05:51:08.891Z] 2023-09-20 05:51:08,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:51:08.891Z] 3.1.0-dev.29 [Pipeline] } [2023-09-20T05:51:08.896Z] $ docker exec --env ******** --env ******** e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc ssh-agent -k [2023-09-20T05:51:08.991Z] unset SSH_AUTH_SOCK; [2023-09-20T05:51:08.991Z] unset SSH_AGENT_PID; [2023-09-20T05:51:08.991Z] echo Agent pid 37 killed; [2023-09-20T05:51:09.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T05:51:09.304Z] + git semver [Pipeline] } [2023-09-20T05:51:09.569Z] $ docker stop --time=1 e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc [2023-09-20T05:51:10.826Z] $ docker rm -f --volumes e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:51:11.163Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T05:51:11.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:51:11.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:51:11.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:51:11.526Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:51:11.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T05:51:11.896Z] $ docker top 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T05:51:11.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:51:11.988Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:51:12.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:51:12.093Z] $ docker exec 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a ssh-agent [2023-09-20T05:51:12.202Z] SSH_AUTH_SOCK=/tmp/ssh-9i9AnrLWFGTU/agent.32 [2023-09-20T05:51:12.202Z] SSH_AGENT_PID=38 [2023-09-20T05:51:12.206Z] Running ssh-add (command line suppressed) [2023-09-20T05:51:12.290Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10874127403665303819.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10874127403665303819.key) [2023-09-20T05:51:12.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:51:12.594Z] + git semver push [2023-09-20T05:51:12.854Z] 2023-09-20 05:51:12,746 [run_push] DEBUG push [2023-09-20T05:51:12.854Z] 2023-09-20 05:51:12,746 [execute] INFO git cat-file --batch-check [2023-09-20T05:51:12.854Z] 2023-09-20 05:51:12,747 [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-20T05:51:12.854Z] 2023-09-20 05:51:12,750 [execute] INFO git rev-list 8f0e054e487713f69ceac6e8e6b76f7795b6f408 -- [2023-09-20T05:51:12.854Z] 2023-09-20 05:51:12,751 [execute] DEBUG Popen(['git', 'rev-list', '8f0e054e487713f69ceac6e8e6b76f7795b6f408', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T05:51:12.854Z] 2023-09-20 05:51:12,762 [execute] INFO git fetch -v origin [2023-09-20T05:51:12.854Z] 2023-09-20 05:51:12,763 [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-20T05:51:13.421Z] 2023-09-20 05:51:13,233 [run_push] DEBUG no remote changes detected [2023-09-20T05:51:13.421Z] 2023-09-20 05:51:13,233 [execute] INFO git push origin semver [2023-09-20T05:51:13.421Z] 2023-09-20 05:51:13,233 [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-20T05:51:14.358Z] 2023-09-20 05:51:14,018 [run_push] DEBUG push all version tags [2023-09-20T05:51:14.358Z] 2023-09-20 05:51:14,019 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T05:51:14.358Z] 2023-09-20 05:51:14,019 [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-20T05:51:14.928Z] 2023-09-20 05:51:14,719 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-20T05:51:14.928Z] 3.1.0-dev.29 [Pipeline] } [2023-09-20T05:51:14.934Z] $ docker exec --env ******** --env ******** 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a ssh-agent -k [2023-09-20T05:51:15.031Z] unset SSH_AUTH_SOCK; [2023-09-20T05:51:15.031Z] unset SSH_AGENT_PID; [2023-09-20T05:51:15.031Z] echo Agent pid 38 killed; [2023-09-20T05:51:15.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T05:51:15.351Z] + git semver [Pipeline] } [2023-09-20T05:51:15.621Z] $ docker stop --time=1 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a [2023-09-20T05:51:16.900Z] $ docker rm -f --volumes 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a [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-20T05:51:17.513Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-20T05:51:17.513Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-20T05:51:17.513Z] total 16 [2023-09-20T05:51:17.513Z] drwxr-xr-x 3 root root 4096 Sep 20 05:41 . [2023-09-20T05:51:17.513Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:51 .. [2023-09-20T05:51:17.513Z] drwxr-xr-x 2 root root 4096 Sep 20 05:41 cost [2023-09-20T05:51:17.513Z] -rw-r--r-- 1 root root 86 Sep 20 05:41 cost.csv [2023-09-20T05:51:17.513Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-20T05:51:17.513Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-20T05:51:17.513Z] total 16 [2023-09-20T05:51:17.513Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:41 . [2023-09-20T05:51:17.513Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:51 .. [2023-09-20T05:51:17.513Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 05:41 cost [2023-09-20T05:51:17.513Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 05:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:17.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:18.761Z] ---> package-listing.sh [2023-09-20T05:51:18.761Z] ++ facter osfamily [2023-09-20T05:51:18.761Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T05:51:18.761Z] + OS_FAMILY=debian [2023-09-20T05:51:18.761Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-20T05:51:18.761Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T05:51:18.761Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T05:51:18.761Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T05:51:18.761Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T05:51:18.761Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-20T05:51:18.761Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T05:51:18.761Z] + case "${OS_FAMILY}" in [2023-09-20T05:51:18.761Z] + dpkg -l [2023-09-20T05:51:18.761Z] + grep '^ii' [2023-09-20T05:51:19.051Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T05:51:19.051Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T05:51:19.051Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T05:51:19.051Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-20T05:51:19.051Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-20T05:51:19.051Z] + 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-20T05:51:19.060Z] 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-20T05:51:19.334Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:51:19.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:51:19.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:51:19.965Z] prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container [2023-09-20T05:51:19.989Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T05:51:20.202Z] $ docker top 82a73a6ec46a1cdcef70156509ad4ce5e8eb03028fcfff3634928d459ad7916f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:51:20.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T05:51:20.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T05:51:21.105Z] + ls /var/log/sa-host [2023-09-20T05:51:21.105Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:51:21.249Z] provisioning config files... [2023-09-20T05:51:21.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4366822410722133621tmp [Pipeline] { [Pipeline] echo [2023-09-20T05:51:21.269Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:21.554Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T05:51:21.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:21.891Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T05:51:21.899Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:22.181Z] ---> sudo-logs.sh [2023-09-20T05:51:22.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T05:51:22.214Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:22.499Z] ---> job-cost.sh [2023-09-20T05:51:22.499Z] lf-activate-venv: SKIPPING [2023-09-20T05:51:22.499Z] DEBUG: total: 0.2199999988079071 [2023-09-20T05:51:22.499Z] INFO: Retrieving Stack Cost... [2023-09-20T05:51:22.758Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T05:51:23.326Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T05:51:23.338Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:51:23.620Z] ---> logs-deploy.sh [2023-09-20T05:51:23.621Z] lf-activate-venv: SKIPPING [2023-09-20T05:51:23.621Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/257 [2023-09-20T05:51:23.621Z] INFO: archiving workspace using pattern(s): [2023-09-20T05:51:24.556Z] Archives upload complete. [2023-09-20T05:51:24.556Z] INFO: archiving logs to Nexus