Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7730e9b2488ebe82cf8f1ec58f41fa934430b51b 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-ssh11965593372367097570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4843597091002314151.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10180157543974984530.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15081075110661575036.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-ssh3468673474702186051.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16774 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 > 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 Avoid second fetch Checking out Revision 7730e9b2488ebe82cf8f1ec58f41fa934430b51b (main) Commit message: "build: Update to use released Go Mods (#1538)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-list --no-walk 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-07T00:43:03.983Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-07T00:43:04.022Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T00:43:04.038Z] ========================================================= [2023-11-07T00:43:04.038Z] EdgeX Global Pipelines Version Info [2023-11-07T00:43:04.038Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:43:04.748Z] ------------------- [2023-11-07T00:43:04.749Z] stable info: [2023-11-07T00:43:04.749Z] ------------------- [2023-11-07T00:43:04.749Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-07T00:43:04.749Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T00:43:04.749Z] Message: update stable to v1.0.257 [2023-11-07T00:43:05.319Z] ------------------- [2023-11-07T00:43:05.319Z] experimental info: [2023-11-07T00:43:05.319Z] ------------------- [2023-11-07T00:43:05.319Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-07T00:43:05.319Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T00:43:05.319Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-07T00:43:05.476Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-07T00:43:05.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-07T00:43:05.506Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-07T00:43:05.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-07T00:43:05.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-07T00:43:05.541Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-07T00:43:05.549Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-07T00:43:05.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-07T00:43:05.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-07T00:43:05.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-07T00:43:05.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-07T00:43:05.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-07T00:43:05.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-07T00:43:05.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-07T00:43:05.620Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-07T00:43:05.635Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T00:43:05.645Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T00:43:05.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T00:43:05.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-07T00:43:05.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-07T00:43:05.678Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-07T00:43:05.686Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-07T00:43:05.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-07T00:43:05.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-07T00:43:05.737Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-07T00:43:05.747Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-07T00:43:05.758Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-07T00:43:05.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-07T00:43:05.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-07T00:43:05.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-07T00:43:05.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo [2023-11-07T00:43:05.835Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7730e9b [Pipeline] echo [2023-11-07T00:43:05.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:43:05.883Z] provisioning config files... [2023-11-07T00:43:05.897Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2881257341571940329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:43:06.203Z] ---> docker-login.sh [2023-11-07T00:43:06.203Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:43:06.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:06.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:06.463Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:06.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:06.463Z] [2023-11-07T00:43:06.463Z] Login Succeeded [2023-11-07T00:43:06.463Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:43:06.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:06.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:06.727Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:06.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:06.727Z] [2023-11-07T00:43:06.727Z] Login Succeeded [2023-11-07T00:43:06.727Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:43:06.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:06.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:06.727Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:06.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:06.727Z] [2023-11-07T00:43:06.727Z] Login Succeeded [2023-11-07T00:43:06.727Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:43:06.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:06.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:06.986Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:06.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:06.986Z] [2023-11-07T00:43:06.986Z] Login Succeeded [2023-11-07T00:43:06.986Z] docker.io [2023-11-07T00:43:06.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:07.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:07.246Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:07.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:07.246Z] [2023-11-07T00:43:07.246Z] Login Succeeded [2023-11-07T00:43:07.246Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:43:07.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-07T00:43:07.626Z] + git rev-list -1 --merges 7730e9b2488ebe82cf8f1ec58f41fa934430b51b~1..7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo [2023-11-07T00:43:07.670Z] -----------> git rev-list -1 --merges 7730e9b2488ebe82cf8f1ec58f41fa934430b51b~1..7730e9b2488ebe82cf8f1ec58f41fa934430b51b 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [false] [Pipeline] sh [2023-11-07T00:43:07.957Z] + git log --format=format:%s -1 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo [2023-11-07T00:43:07.972Z] ========================================================= [2023-11-07T00:43:07.972Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-07T00:43:07.972Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:43:08.313Z] + git log --format=format:%s -1 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo [2023-11-07T00:43:08.323Z] [semverPrep] GIT_COMMIT: 7730e9b2488ebe82cf8f1ec58f41fa934430b51b, Commit Message: build: Update to use released Go Mods (#1538) [Pipeline] echo [2023-11-07T00:43:08.333Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-07T00:43:08.703Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:43:08.703Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-07T00:43:08.703Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-07T00:43:08.703Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-07T00:43:08.703Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-07T00:43:08.703Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-07T00:43:08.703Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:43:09.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:43:09.048Z] [2023-11-07T00:43:09.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:43:09.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:43:09.345Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-07T00:43:09.345Z] b85a868b505f: Pulling fs layer [2023-11-07T00:43:09.345Z] e2be974225ed: Pulling fs layer [2023-11-07T00:43:09.345Z] 339a4e72a1f5: Pulling fs layer [2023-11-07T00:43:09.345Z] 988bab9f4d93: Pulling fs layer [2023-11-07T00:43:09.345Z] 1469e6f7b9e6: Pulling fs layer [2023-11-07T00:43:09.345Z] eaf3925da568: Pulling fs layer [2023-11-07T00:43:09.345Z] bab4dde63d76: Pulling fs layer [2023-11-07T00:43:09.345Z] bde34c3a00c8: Pulling fs layer [2023-11-07T00:43:09.345Z] b352a97aabf1: Pulling fs layer [2023-11-07T00:43:09.345Z] 4872d77fe225: Pulling fs layer [2023-11-07T00:43:09.345Z] 5851b861e8e6: Pulling fs layer [2023-11-07T00:43:09.345Z] bab4dde63d76: Waiting [2023-11-07T00:43:09.345Z] bde34c3a00c8: Waiting [2023-11-07T00:43:09.345Z] b352a97aabf1: Waiting [2023-11-07T00:43:09.345Z] 4872d77fe225: Waiting [2023-11-07T00:43:09.345Z] 5851b861e8e6: Waiting [2023-11-07T00:43:09.345Z] 988bab9f4d93: Waiting [2023-11-07T00:43:09.345Z] eaf3925da568: Waiting [2023-11-07T00:43:09.345Z] 1469e6f7b9e6: Waiting [2023-11-07T00:43:09.345Z] e2be974225ed: Download complete [2023-11-07T00:43:09.345Z] 988bab9f4d93: Download complete [2023-11-07T00:43:09.604Z] 339a4e72a1f5: Verifying Checksum [2023-11-07T00:43:09.604Z] 339a4e72a1f5: Download complete [2023-11-07T00:43:09.604Z] 1469e6f7b9e6: Verifying Checksum [2023-11-07T00:43:09.604Z] 1469e6f7b9e6: Download complete [2023-11-07T00:43:09.604Z] eaf3925da568: Verifying Checksum [2023-11-07T00:43:09.604Z] eaf3925da568: Download complete [2023-11-07T00:43:09.604Z] b352a97aabf1: Verifying Checksum [2023-11-07T00:43:09.604Z] b352a97aabf1: Download complete [2023-11-07T00:43:09.604Z] 4872d77fe225: Verifying Checksum [2023-11-07T00:43:09.604Z] 4872d77fe225: Download complete [2023-11-07T00:43:09.604Z] 5851b861e8e6: Verifying Checksum [2023-11-07T00:43:09.604Z] 5851b861e8e6: Download complete [2023-11-07T00:43:09.604Z] b85a868b505f: Verifying Checksum [2023-11-07T00:43:09.604Z] b85a868b505f: Download complete [2023-11-07T00:43:09.862Z] bab4dde63d76: Verifying Checksum [2023-11-07T00:43:09.862Z] bab4dde63d76: Download complete [2023-11-07T00:43:10.806Z] b85a868b505f: Pull complete [2023-11-07T00:43:11.064Z] e2be974225ed: Pull complete [2023-11-07T00:43:11.632Z] 339a4e72a1f5: Pull complete [2023-11-07T00:43:11.632Z] 988bab9f4d93: Pull complete [2023-11-07T00:43:11.892Z] 1469e6f7b9e6: Pull complete [2023-11-07T00:43:11.892Z] eaf3925da568: Pull complete [2023-11-07T00:43:13.794Z] bab4dde63d76: Pull complete [2023-11-07T00:43:13.794Z] bde34c3a00c8: Pull complete [2023-11-07T00:43:13.794Z] b352a97aabf1: Pull complete [2023-11-07T00:43:13.794Z] 4872d77fe225: Pull complete [2023-11-07T00:43:14.055Z] 5851b861e8e6: Pull complete [2023-11-07T00:43:14.055Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-07T00:43:14.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:43:14.055Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:43:14.152Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:43:14.186Z] $ 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-11-07T00:43:16.711Z] $ docker top e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 -eo pid,comm [2023-11-07T00:43:16.777Z] 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-11-07T00:43:16.777Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:43:16.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:43:16.812Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:43:16.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:43:16.936Z] $ docker exec e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent [2023-11-07T00:43:17.059Z] SSH_AUTH_SOCK=/tmp/ssh-dNqbVp0R4OBz/agent.32 [2023-11-07T00:43:17.059Z] SSH_AGENT_PID=38 [2023-11-07T00:43:17.066Z] Running ssh-add (command line suppressed) [2023-11-07T00:43:17.175Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852691991893157352.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852691991893157352.key) [2023-11-07T00:43:17.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:43:17.482Z] + git tag --points-at HEAD [Pipeline] } [2023-11-07T00:43:17.495Z] $ docker exec --env ******** --env ******** e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent -k [2023-11-07T00:43:17.586Z] unset SSH_AUTH_SOCK; [2023-11-07T00:43:17.586Z] unset SSH_AGENT_PID; [2023-11-07T00:43:17.587Z] echo Agent pid 38 killed; [2023-11-07T00:43:17.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-07T00:43:17.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:43:17.618Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:43:17.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:43:17.732Z] $ docker exec e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent [2023-11-07T00:43:17.839Z] SSH_AUTH_SOCK=/tmp/ssh-7hw1ELduPHYg/agent.70 [2023-11-07T00:43:17.839Z] SSH_AGENT_PID=76 [2023-11-07T00:43:17.843Z] Running ssh-add (command line suppressed) [2023-11-07T00:43:17.938Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13398036786033170484.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13398036786033170484.key) [2023-11-07T00:43:17.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:43:18.237Z] + git semver init [2023-11-07T00:43:18.499Z] 2023-11-07 00:43:18,392 [run_init] DEBUG init version:0.0.0 force:False [2023-11-07T00:43:18.499Z] 2023-11-07 00:43:18,393 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-07T00:43:18.499Z] 2023-11-07 00:43:18,393 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-07T00:43:18.499Z] 2023-11-07 00:43:18,393 [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-11-07T00:43:19.435Z] 2023-11-07 00:43:19,379 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-11-07T00:43:19.436Z] 2023-11-07 00:43:19,379 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-11-07T00:43:19.436Z] 2023-11-07 00:43:19,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:43:19.436Z] 2023-11-07 00:43:19,380 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:43:19.436Z] 3.1.0-dev.40 [Pipeline] } [2023-11-07T00:43:19.445Z] $ docker exec --env ******** --env ******** e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent -k [2023-11-07T00:43:19.530Z] unset SSH_AUTH_SOCK; [2023-11-07T00:43:19.531Z] unset SSH_AGENT_PID; [2023-11-07T00:43:19.531Z] echo Agent pid 76 killed; [2023-11-07T00:43:19.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:43:19.844Z] + git semver [Pipeline] } [2023-11-07T00:43:20.119Z] $ docker stop --time=1 e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 [2023-11-07T00:43:21.428Z] $ docker rm -f --volumes e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:43:21.759Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-07T00:43:21.955Z] Stashed 1 file(s) [Pipeline] echo [2023-11-07T00:43:21.958Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.40 [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-11-07T00:43:22.076Z] provisioning config files... [2023-11-07T00:43:22.085Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13135230648616776780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:43:22.379Z] ---> docker-login.sh [2023-11-07T00:43:22.379Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:43:22.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:22.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:22.379Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:22.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:22.379Z] [2023-11-07T00:43:22.379Z] Login Succeeded [2023-11-07T00:43:22.379Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:43:22.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:22.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:22.379Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:22.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:22.380Z] [2023-11-07T00:43:22.380Z] Login Succeeded [2023-11-07T00:43:22.380Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:43:22.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:22.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:22.640Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:22.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:22.640Z] [2023-11-07T00:43:22.640Z] Login Succeeded [2023-11-07T00:43:22.640Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:43:22.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:22.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:22.640Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:22.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:22.640Z] [2023-11-07T00:43:22.640Z] Login Succeeded [2023-11-07T00:43:22.640Z] docker.io [2023-11-07T00:43:22.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:43:23.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:43:23.207Z] Configure a credential helper to remove this warning. See [2023-11-07T00:43:23.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:43:23.207Z] [2023-11-07T00:43:23.207Z] Login Succeeded [2023-11-07T00:43:23.207Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:43:23.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T00:43:23.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:43:23.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:43:23.298Z] ========================================================= [2023-11-07T00:43:23.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-07T00:43:23.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:43:23.599Z] + 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-11-07T00:43:23.599Z] Sending build context to Docker daemon 11.27MB [2023-11-07T00:43:23.599Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:43:23.599Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-07T00:43:23.599Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-07T00:43:23.599Z] 7264a8db6415: Pulling fs layer [2023-11-07T00:43:23.599Z] c4d48a809fc2: Pulling fs layer [2023-11-07T00:43:23.599Z] 4f1c88b9dad5: Pulling fs layer [2023-11-07T00:43:23.599Z] ad3a456e5733: Pulling fs layer [2023-11-07T00:43:23.599Z] 33e27b845d1e: Pulling fs layer [2023-11-07T00:43:23.599Z] c68163c4e522: Pulling fs layer [2023-11-07T00:43:23.599Z] 50da416c3ac9: Pulling fs layer [2023-11-07T00:43:23.599Z] 23d2d4c4bb30: Pulling fs layer [2023-11-07T00:43:23.599Z] 33e27b845d1e: Waiting [2023-11-07T00:43:23.599Z] c68163c4e522: Waiting [2023-11-07T00:43:23.599Z] 50da416c3ac9: Waiting [2023-11-07T00:43:23.599Z] 23d2d4c4bb30: Waiting [2023-11-07T00:43:23.599Z] c4d48a809fc2: Download complete [2023-11-07T00:43:23.599Z] ad3a456e5733: Verifying Checksum [2023-11-07T00:43:23.599Z] ad3a456e5733: Download complete [2023-11-07T00:43:23.859Z] 33e27b845d1e: Verifying Checksum [2023-11-07T00:43:23.859Z] 33e27b845d1e: Download complete [2023-11-07T00:43:23.859Z] 7264a8db6415: Verifying Checksum [2023-11-07T00:43:23.859Z] 7264a8db6415: Download complete [2023-11-07T00:43:23.859Z] c68163c4e522: Verifying Checksum [2023-11-07T00:43:23.859Z] c68163c4e522: Download complete [2023-11-07T00:43:23.859Z] 7264a8db6415: Pull complete [2023-11-07T00:43:24.118Z] 23d2d4c4bb30: Verifying Checksum [2023-11-07T00:43:24.118Z] 23d2d4c4bb30: Download complete [2023-11-07T00:43:24.118Z] c4d48a809fc2: Pull complete [2023-11-07T00:43:24.118Z] 4f1c88b9dad5: Verifying Checksum [2023-11-07T00:43:24.118Z] 4f1c88b9dad5: Download complete [2023-11-07T00:43:24.685Z] 50da416c3ac9: Verifying Checksum [2023-11-07T00:43:24.685Z] 50da416c3ac9: Download complete [2023-11-07T00:43:27.979Z] 4f1c88b9dad5: Pull complete [2023-11-07T00:43:27.979Z] ad3a456e5733: Pull complete [2023-11-07T00:43:27.979Z] 33e27b845d1e: Pull complete [2023-11-07T00:43:27.979Z] c68163c4e522: Pull complete [2023-11-07T00:43:29.879Z] 50da416c3ac9: Pull complete [2023-11-07T00:43:30.445Z] 23d2d4c4bb30: Pull complete [2023-11-07T00:43:30.445Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-07T00:43:30.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-07T00:43:30.445Z] ---> 0786185ac409 [2023-11-07T00:43:30.445Z] Step 3/10 : ARG MAKE=make build [2023-11-07T00:43:34.642Z] ---> Running in 0a97fbb30643 [2023-11-07T00:43:34.642Z] Removing intermediate container 0a97fbb30643 [2023-11-07T00:43:34.642Z] ---> 881ce074c3b8 [2023-11-07T00:43:34.642Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-07T00:43:34.642Z] ---> Running in f4a436a464d6 [2023-11-07T00:43:34.642Z] Removing intermediate container f4a436a464d6 [2023-11-07T00:43:34.642Z] ---> ff4ec4a2615b [2023-11-07T00:43:34.642Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:43:34.642Z] ---> Running in 3d1cad87f148 [2023-11-07T00:43:34.642Z] Removing intermediate container 3d1cad87f148 [2023-11-07T00:43:34.642Z] ---> 77f916b7286c [2023-11-07T00:43:34.642Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-07T00:43:34.642Z] ---> Running in 534a2d4d1cdb [2023-11-07T00:43:34.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:43:34.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:43:35.158Z] OK: 264 MiB in 52 packages [2023-11-07T00:43:35.725Z] Removing intermediate container 534a2d4d1cdb [2023-11-07T00:43:35.725Z] ---> 0504e1ab6769 [2023-11-07T00:43:35.725Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-07T00:43:35.725Z] ---> 70cb12a83d6d [2023-11-07T00:43:35.725Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:43:35.725Z] ---> Running in 8aa4a2032de4 [2023-11-07T00:43:37.047Z] Still waiting to schedule task [2023-11-07T00:43:37.048Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16771’ [2023-11-07T00:44:07.827Z] Removing intermediate container 8aa4a2032de4 [2023-11-07T00:44:07.827Z] ---> a9c6555731c8 [2023-11-07T00:44:07.827Z] Step 9/10 : COPY . . [2023-11-07T00:44:07.827Z] ---> 0d47bc6c5686 [2023-11-07T00:44:07.827Z] Step 10/10 : RUN ${MAKE} [2023-11-07T00:44:07.827Z] ---> Running in fba1212e69a0 [2023-11-07T00:44:08.087Z] noop [2023-11-07T00:44:08.350Z] Removing intermediate container fba1212e69a0 [2023-11-07T00:44:08.350Z] ---> 177cadfd097c [2023-11-07T00:44:08.350Z] Successfully built 177cadfd097c [2023-11-07T00:44:08.350Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:44:08.664Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T00:44:08.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:44:08.735Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:44:08.770Z] $ 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-11-07T00:44:09.100Z] $ docker top 3ab33cbeced3ce74a1b025de1d52b9bda3d43e7175019a969fce773fb9fa2caf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:44:09.434Z] + go version [2023-11-07T00:44:09.435Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-07T00:44:09.448Z] $ docker stop --time=1 3ab33cbeced3ce74a1b025de1d52b9bda3d43e7175019a969fce773fb9fa2caf [2023-11-07T00:44:11.244Z] $ docker rm -f --volumes 3ab33cbeced3ce74a1b025de1d52b9bda3d43e7175019a969fce773fb9fa2caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:44:11.750Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T00:44:11.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:44:11.816Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:44:11.852Z] $ 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-11-07T00:44:12.209Z] $ docker top 0c2c18b264b57585b9f40cfc543ac9e0f1b85a1a4ed0d2199491091f4aaaaa18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:44:12.552Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:44:12.852Z] + make test [2023-11-07T00:44:12.852Z] go test -race -coverprofile=coverage.out ./... [2023-11-07T00:44:19.418Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-07T00:44:34.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.052s coverage: 27.6% of statements [2023-11-07T00:44:34.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-07T00:44:34.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements [2023-11-07T00:44:34.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2023-11-07T00:44:35.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.073s coverage: 71.8% of statements [2023-11-07T00:44:35.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-07T00:44:35.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-07T00:44:35.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-07T00:44:38.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2023-11-07T00:44:38.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.942s coverage: 45.9% of statements [2023-11-07T00:44:38.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements [2023-11-07T00:44:38.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements [2023-11-07T00:44:38.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-11-07T00:44:57.011Z] GO111MODULE=on go vet ./... [2023-11-07T00:44:58.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:44:59.169Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:44:59.169Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T00:44:59.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:44:59.192Z] $ docker stop --time=1 0c2c18b264b57585b9f40cfc543ac9e0f1b85a1a4ed0d2199491091f4aaaaa18 [2023-11-07T00:45:03.045Z] $ docker rm -f --volumes 0c2c18b264b57585b9f40cfc543ac9e0f1b85a1a4ed0d2199491091f4aaaaa18 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:45:03.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:45:03.704Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-07T00:45:04.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:45:04.510Z] + ls -al . [2023-11-07T00:45:04.510Z] total 308 [2023-11-07T00:45:04.510Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 00:44 . [2023-11-07T00:45:04.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:43 .. [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:43 .dockerignore [2023-11-07T00:45:04.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:44 .git [2023-11-07T00:45:04.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:43 .github [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:43 .gitignore [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:43 .golangci.yml [2023-11-07T00:45:04.510Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:43 .semver [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:43 CHANGELOG.md [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:43 GOVERNANCE.md [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:43 Jenkinsfile [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:43 LICENSE [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:43 Makefile [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:43 OWNERS.md [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:43 README.md [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 00:43 VERSION [2023-11-07T00:45:04.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:43 bin [2023-11-07T00:45:04.510Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 7 00:44 coverage.out [2023-11-07T00:45:04.510Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:43 example [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:43 go.mod [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:43 go.sum [2023-11-07T00:45:04.510Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:43 internal [2023-11-07T00:45:04.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:43 openapi [2023-11-07T00:45:04.510Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:43 pkg [2023-11-07T00:45:04.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:43 snap [2023-11-07T00:45:04.510Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:45:04.844Z] + 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=7730e9b2488ebe82cf8f1ec58f41fa934430b51b --label arch=amd64 --label version=3.1.0-dev.40 . [2023-11-07T00:45:04.844Z] Sending build context to Docker daemon 11.39MB [2023-11-07T00:45:04.844Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:45:04.844Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-07T00:45:04.844Z] ---> 177cadfd097c [2023-11-07T00:45:04.844Z] Step 3/23 : ARG MAKE=make build [2023-11-07T00:45:05.103Z] ---> Running in 651c27c6c1b3 [2023-11-07T00:45:05.103Z] Removing intermediate container 651c27c6c1b3 [2023-11-07T00:45:05.103Z] ---> f92f252a3014 [2023-11-07T00:45:05.103Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-07T00:45:05.103Z] ---> Running in 68b4c8a03883 [2023-11-07T00:45:05.362Z] Removing intermediate container 68b4c8a03883 [2023-11-07T00:45:05.362Z] ---> d7725c3b7802 [2023-11-07T00:45:05.362Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:45:05.362Z] ---> Running in 721979c25fe1 [2023-11-07T00:45:05.362Z] Removing intermediate container 721979c25fe1 [2023-11-07T00:45:05.362Z] ---> 45f3d763f6ca [2023-11-07T00:45:05.362Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-07T00:45:05.362Z] ---> Running in 686524a73977 [2023-11-07T00:45:05.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:45:05.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:45:06.140Z] OK: 264 MiB in 52 packages [2023-11-07T00:45:06.398Z] Removing intermediate container 686524a73977 [2023-11-07T00:45:06.398Z] ---> 216f7f6e2c17 [2023-11-07T00:45:06.398Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-07T00:45:06.656Z] ---> 64646ec6129b [2023-11-07T00:45:06.656Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:45:06.656Z] ---> Running in b1a1e73adaa2 [2023-11-07T00:45:07.222Z] Removing intermediate container b1a1e73adaa2 [2023-11-07T00:45:07.222Z] ---> b582e7a73292 [2023-11-07T00:45:07.222Z] Step 9/23 : COPY . . [2023-11-07T00:45:07.791Z] ---> aa470f6c45da [2023-11-07T00:45:07.791Z] Step 10/23 : RUN ${MAKE} [2023-11-07T00:45:07.791Z] ---> Running in beaf727cc8c3 [2023-11-07T00:45:08.050Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.40 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.40" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-07T00:45:26.133Z] Removing intermediate container beaf727cc8c3 [2023-11-07T00:45:26.133Z] ---> 7cab644c30d0 [2023-11-07T00:45:26.133Z] Step 11/23 : FROM alpine:3.18 [2023-11-07T00:45:26.392Z] 3.18: Pulling from library/alpine [2023-11-07T00:45:26.650Z] 96526aa774ef: Pulling fs layer [2023-11-07T00:45:26.651Z] 96526aa774ef: Verifying Checksum [2023-11-07T00:45:26.651Z] 96526aa774ef: Download complete [2023-11-07T00:45:26.910Z] 96526aa774ef: Pull complete [2023-11-07T00:45:26.910Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:45:26.910Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:45:26.910Z] ---> 8ca4688f4f35 [2023-11-07T00:45:26.910Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-07T00:45:27.169Z] ---> Running in 58339fdef318 [2023-11-07T00:45:27.169Z] Removing intermediate container 58339fdef318 [2023-11-07T00:45:27.169Z] ---> 287338bef757 [2023-11-07T00:45:27.169Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-07T00:45:27.169Z] ---> Running in 8fec4d614140 [2023-11-07T00:45:27.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:45:27.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:45:27.950Z] OK: 7 MiB in 15 packages [2023-11-07T00:45:28.519Z] Removing intermediate container 8fec4d614140 [2023-11-07T00:45:28.519Z] ---> 26c4be50e0eb [2023-11-07T00:45:28.519Z] Step 14/23 : WORKDIR / [2023-11-07T00:45:28.519Z] ---> Running in 96e5061135a9 [2023-11-07T00:45:28.519Z] Removing intermediate container 96e5061135a9 [2023-11-07T00:45:28.519Z] ---> b5ad9a89e726 [2023-11-07T00:45:28.519Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-07T00:45:28.777Z] ---> a29fc207e9bf [2023-11-07T00:45:28.777Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-07T00:45:29.343Z] ---> 40f46c534ff2 [2023-11-07T00:45:29.343Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-07T00:45:29.343Z] ---> 12e41a4cc590 [2023-11-07T00:45:29.343Z] Step 18/23 : EXPOSE 59999 [2023-11-07T00:45:29.343Z] ---> Running in 755b12d31f68 [2023-11-07T00:45:29.343Z] Removing intermediate container 755b12d31f68 [2023-11-07T00:45:29.343Z] ---> 84e0563accd6 [2023-11-07T00:45:29.343Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-07T00:45:29.343Z] ---> Running in 2ef4900f681b [2023-11-07T00:45:29.343Z] Removing intermediate container 2ef4900f681b [2023-11-07T00:45:29.343Z] ---> 9184500e5163 [2023-11-07T00:45:29.343Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-07T00:45:29.600Z] ---> Running in eed5e5f6bd72 [2023-11-07T00:45:29.600Z] Removing intermediate container eed5e5f6bd72 [2023-11-07T00:45:29.600Z] ---> 494bc63d874b [2023-11-07T00:45:29.600Z] Step 21/23 : LABEL arch=amd64 [2023-11-07T00:45:29.600Z] ---> Running in ad9f0c243c27 [2023-11-07T00:45:29.600Z] Removing intermediate container ad9f0c243c27 [2023-11-07T00:45:29.600Z] ---> e8a218663e64 [2023-11-07T00:45:29.600Z] Step 22/23 : LABEL git_sha=7730e9b2488ebe82cf8f1ec58f41fa934430b51b [2023-11-07T00:45:29.600Z] ---> Running in 2faedc28134c [2023-11-07T00:45:29.858Z] Removing intermediate container 2faedc28134c [2023-11-07T00:45:29.858Z] ---> 39c8394c1d92 [2023-11-07T00:45:29.858Z] Step 23/23 : LABEL version=3.1.0-dev.40 [2023-11-07T00:45:29.858Z] ---> Running in a22f0d15844f [2023-11-07T00:45:29.858Z] Removing intermediate container a22f0d15844f [2023-11-07T00:45:29.858Z] ---> b983046666e8 [2023-11-07T00:45:29.858Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:45:29.858Z] Successfully built b983046666e8 [2023-11-07T00:45:29.858Z] 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-11-07T00:45:30.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:45:30.272Z] [2023-11-07T00:45:30.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:45:30.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:45:30.570Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-07T00:45:30.570Z] 5eb5b503b376: Pulling fs layer [2023-11-07T00:45:30.570Z] 5c69ac0246d0: Pulling fs layer [2023-11-07T00:45:30.570Z] ec43610c2a17: Pulling fs layer [2023-11-07T00:45:30.570Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-07T00:45:30.570Z] 33b1e0a273af: Pulling fs layer [2023-11-07T00:45:30.570Z] 5d3b04190fa2: Pulling fs layer [2023-11-07T00:45:30.570Z] 2f39f015ded8: Pulling fs layer [2023-11-07T00:45:30.570Z] 5d3b04190fa2: Waiting [2023-11-07T00:45:30.570Z] 2f39f015ded8: Waiting [2023-11-07T00:45:30.570Z] 3a2ae6a8a46f: Waiting [2023-11-07T00:45:30.570Z] 5c69ac0246d0: Download complete [2023-11-07T00:45:30.570Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-07T00:45:30.570Z] 3a2ae6a8a46f: Download complete [2023-11-07T00:45:30.570Z] 33b1e0a273af: Verifying Checksum [2023-11-07T00:45:30.570Z] 33b1e0a273af: Download complete [2023-11-07T00:45:30.570Z] ec43610c2a17: Verifying Checksum [2023-11-07T00:45:30.570Z] ec43610c2a17: Download complete [2023-11-07T00:45:30.570Z] 5d3b04190fa2: Verifying Checksum [2023-11-07T00:45:30.570Z] 5d3b04190fa2: Download complete [2023-11-07T00:45:30.828Z] 5eb5b503b376: Verifying Checksum [2023-11-07T00:45:30.828Z] 5eb5b503b376: Download complete [2023-11-07T00:45:31.394Z] 2f39f015ded8: Download complete [2023-11-07T00:45:31.959Z] 5eb5b503b376: Pull complete [2023-11-07T00:45:32.218Z] 5c69ac0246d0: Pull complete [2023-11-07T00:45:32.784Z] ec43610c2a17: Pull complete [2023-11-07T00:45:32.784Z] 3a2ae6a8a46f: Pull complete [2023-11-07T00:45:33.043Z] 33b1e0a273af: Pull complete [2023-11-07T00:45:33.303Z] 5d3b04190fa2: Pull complete [2023-11-07T00:45:37.484Z] 2f39f015ded8: Pull complete [2023-11-07T00:45:37.484Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-07T00:45:37.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:45:37.484Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:45:37.575Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:45:37.609Z] $ 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-11-07T00:45:42.983Z] $ docker top e78dfa68223846da0ba3f7d373d725c3ce26f4c02d269f26ae61b2c3f9654733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:45:43.368Z] ---> job-cost.sh [2023-11-07T00:45:43.369Z] lf-activate-venv: SKIPPING [2023-11-07T00:45:43.369Z] INFO: No Stack... [2023-11-07T00:45:43.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:45:43.892Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:45:44.184Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-11-07T00:45:44.184Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:45:44.200Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [2023-11-07T00:45:44.205Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] did not exist. Created. [2023-11-07T00:45:44.205Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:45:44.508Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-07T00:45:44.542Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:45:44.548Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:45:44.568Z] $ docker stop --time=1 e78dfa68223846da0ba3f7d373d725c3ce26f4c02d269f26ae61b2c3f9654733 [2023-11-07T00:45:45.780Z] $ docker rm -f --volumes e78dfa68223846da0ba3f7d373d725c3ce26f4c02d269f26ae61b2c3f9654733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-07T00:46:30.432Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16779 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-11-07T00:46:30.444Z] Running in /w/workspace/device-sdk-go/269 [Pipeline] { [Pipeline] checkout [2023-11-07T00:46:30.497Z] The recommended git tool is: git [2023-11-07T00:46:40.171Z] using credential edgex-jenkins-ssh [2023-11-07T00:46:40.191Z] Cloning the remote Git repository [2023-11-07T00:46:40.284Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T00:46:40.433Z] > git init /w/workspace/device-sdk-go/269 # timeout=10 [2023-11-07T00:46:40.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T00:46:40.782Z] > git --version # timeout=10 [2023-11-07T00:46:40.859Z] > git --version # 'git version 2.25.1' [2023-11-07T00:46:40.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:46:41.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:46:43.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-07T00:46:43.329Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:46:44.555Z] Avoid second fetch [2023-11-07T00:46:44.556Z] Checking out Revision 7730e9b2488ebe82cf8f1ec58f41fa934430b51b (main) [2023-11-07T00:46:45.522Z] Commit message: "build: Update to use released Go Mods (#1538)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:46:44.585Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T00:46:44.763Z] > git checkout -f 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [2023-11-07T00:46:49.153Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-07T00:46:49.153Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:46:49.153Z] Dload Upload Total Spent Left Speed [2023-11-07T00:46:49.153Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 73926 0 --:--:-- --:--:-- --:--:-- 73926 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 83986 [Pipeline] sh [2023-11-07T00:46:49.922Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-07T00:46:50.281Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-07T00:46:50.281Z] sudo tee /etc/docker/daemon.new [2023-11-07T00:46:50.281Z] { [2023-11-07T00:46:50.281Z] "registry-mirrors": [ [2023-11-07T00:46:50.281Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-07T00:46:50.281Z] ], [2023-11-07T00:46:50.281Z] "bip": "10.250.0.254/24", [2023-11-07T00:46:50.281Z] "hosts": [ [2023-11-07T00:46:50.281Z] "tcp://0.0.0.0:5555", [2023-11-07T00:46:50.281Z] "unix:///var/run/docker.sock" [2023-11-07T00:46:50.281Z] ], [2023-11-07T00:46:50.281Z] "mtu": 1458, [2023-11-07T00:46:50.281Z] "selinux-enabled": true, [2023-11-07T00:46:50.281Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-07T00:46:50.281Z] } [Pipeline] sh [2023-11-07T00:46:50.634Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-07T00:46:51.024Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:47:09.420Z] provisioning config files... [2023-11-07T00:47:09.452Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/269@tmp/config13831536346794603242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:47:09.836Z] ---> docker-login.sh [2023-11-07T00:47:09.836Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:47:10.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:47:10.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:47:10.718Z] Configure a credential helper to remove this warning. See [2023-11-07T00:47:10.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:47:10.718Z] [2023-11-07T00:47:10.718Z] Login Succeeded [2023-11-07T00:47:10.718Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:47:10.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:47:10.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:47:10.992Z] Configure a credential helper to remove this warning. See [2023-11-07T00:47:10.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:47:10.992Z] [2023-11-07T00:47:10.992Z] Login Succeeded [2023-11-07T00:47:10.992Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:47:11.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:47:11.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:47:11.540Z] Configure a credential helper to remove this warning. See [2023-11-07T00:47:11.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:47:11.540Z] [2023-11-07T00:47:11.540Z] Login Succeeded [2023-11-07T00:47:11.540Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:47:11.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:47:12.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:47:12.104Z] Configure a credential helper to remove this warning. See [2023-11-07T00:47:12.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:47:12.104Z] [2023-11-07T00:47:12.104Z] Login Succeeded [2023-11-07T00:47:12.104Z] docker.io [2023-11-07T00:47:12.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:47:12.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:47:12.657Z] Configure a credential helper to remove this warning. See [2023-11-07T00:47:12.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:47:12.657Z] [2023-11-07T00:47:12.657Z] Login Succeeded [2023-11-07T00:47:12.657Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:47:12.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T00:47:13.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:47:13.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:47:13.092Z] ========================================================= [2023-11-07T00:47:13.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-07T00:47:13.092Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:47:13.469Z] + 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-11-07T00:47:14.066Z] Sending build context to Docker daemon 6.031MB [2023-11-07T00:47:14.066Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:47:14.066Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-07T00:47:14.338Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-07T00:47:14.338Z] 9fda8d8052c6: Pulling fs layer [2023-11-07T00:47:14.338Z] 5d54e960e981: Pulling fs layer [2023-11-07T00:47:14.338Z] c4a7e357bf2a: Pulling fs layer [2023-11-07T00:47:14.338Z] f0e02332f6b5: Pulling fs layer [2023-11-07T00:47:14.338Z] cefa15bbcfad: Pulling fs layer [2023-11-07T00:47:14.338Z] 17808c966233: Pulling fs layer [2023-11-07T00:47:14.338Z] f4c1fc716caa: Pulling fs layer [2023-11-07T00:47:14.338Z] 17808c966233: Waiting [2023-11-07T00:47:14.338Z] cefa15bbcfad: Waiting [2023-11-07T00:47:14.338Z] f4c1fc716caa: Waiting [2023-11-07T00:47:14.338Z] f0e02332f6b5: Waiting [2023-11-07T00:47:14.338Z] 5d54e960e981: Verifying Checksum [2023-11-07T00:47:14.338Z] 5d54e960e981: Download complete [2023-11-07T00:47:14.338Z] f0e02332f6b5: Verifying Checksum [2023-11-07T00:47:14.338Z] f0e02332f6b5: Download complete [2023-11-07T00:47:14.338Z] cefa15bbcfad: Verifying Checksum [2023-11-07T00:47:14.338Z] cefa15bbcfad: Download complete [2023-11-07T00:47:14.338Z] 9fda8d8052c6: Verifying Checksum [2023-11-07T00:47:14.338Z] 9fda8d8052c6: Download complete [2023-11-07T00:47:14.931Z] f4c1fc716caa: Verifying Checksum [2023-11-07T00:47:14.931Z] f4c1fc716caa: Download complete [2023-11-07T00:47:15.519Z] 9fda8d8052c6: Pull complete [2023-11-07T00:47:16.107Z] 5d54e960e981: Pull complete [2023-11-07T00:47:16.378Z] c4a7e357bf2a: Verifying Checksum [2023-11-07T00:47:16.378Z] c4a7e357bf2a: Download complete [2023-11-07T00:47:17.351Z] 17808c966233: Verifying Checksum [2023-11-07T00:47:17.351Z] 17808c966233: Download complete [2023-11-07T00:47:29.691Z] c4a7e357bf2a: Pull complete [2023-11-07T00:47:29.691Z] f0e02332f6b5: Pull complete [2023-11-07T00:47:29.961Z] cefa15bbcfad: Pull complete [2023-11-07T00:47:38.200Z] 17808c966233: Pull complete [2023-11-07T00:47:40.148Z] f4c1fc716caa: Pull complete [2023-11-07T00:47:40.148Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-07T00:47:40.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-07T00:47:40.148Z] ---> ea914061e18c [2023-11-07T00:47:40.148Z] Step 3/10 : ARG MAKE=make build [2023-11-07T00:47:42.192Z] ---> Running in 73dcde9ced25 [2023-11-07T00:47:42.192Z] Removing intermediate container 73dcde9ced25 [2023-11-07T00:47:42.192Z] ---> 55b469d4e8e5 [2023-11-07T00:47:42.192Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-07T00:47:42.461Z] ---> Running in d9ca480c88ef [2023-11-07T00:47:42.730Z] Removing intermediate container d9ca480c88ef [2023-11-07T00:47:42.730Z] ---> e561f2ebd9d3 [2023-11-07T00:47:42.730Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:47:42.730Z] ---> Running in 50e0b5313f60 [2023-11-07T00:47:43.002Z] Removing intermediate container 50e0b5313f60 [2023-11-07T00:47:43.002Z] ---> 9337cd504a4b [2023-11-07T00:47:43.002Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-07T00:47:43.271Z] ---> Running in 0195c73346f0 [2023-11-07T00:47:44.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:47:44.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:47:45.804Z] OK: 266 MiB in 52 packages [2023-11-07T00:47:47.258Z] Removing intermediate container 0195c73346f0 [2023-11-07T00:47:47.258Z] ---> 853fe4d36832 [2023-11-07T00:47:47.258Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-07T00:47:47.857Z] ---> 6fb58d83391f [2023-11-07T00:47:47.857Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:47:47.857Z] ---> Running in 46a6686ea6ca [2023-11-07T00:49:09.583Z] Removing intermediate container 46a6686ea6ca [2023-11-07T00:49:09.583Z] ---> 53b1f21de527 [2023-11-07T00:49:09.583Z] Step 9/10 : COPY . . [2023-11-07T00:49:09.583Z] ---> 5afa4f2bd632 [2023-11-07T00:49:09.583Z] Step 10/10 : RUN ${MAKE} [2023-11-07T00:49:09.583Z] ---> Running in 1e4842191780 [2023-11-07T00:49:09.583Z] noop [2023-11-07T00:49:09.583Z] Removing intermediate container 1e4842191780 [2023-11-07T00:49:09.583Z] ---> bcf9478c2241 [2023-11-07T00:49:09.583Z] Successfully built bcf9478c2241 [2023-11-07T00:49:09.583Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:49:09.947Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:49:09.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:49:10.197Z] prd-ubuntu20.04-docker-arm64-4c-16g-16779 does not seem to be running inside a container [2023-11-07T00:49:10.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/269 -v /w/workspace/device-sdk-go/269:/w/workspace/device-sdk-go/269:rw,z -v /w/workspace/device-sdk-go/269@tmp:/w/workspace/device-sdk-go/269@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-11-07T00:49:13.968Z] $ docker top 61a4c1d9d34d9a3c8e43f1ae6aabb7ecd9995f116d14ac33e445d44e4f458146 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:49:14.842Z] + go version [2023-11-07T00:49:14.842Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-07T00:49:14.872Z] $ docker stop --time=1 61a4c1d9d34d9a3c8e43f1ae6aabb7ecd9995f116d14ac33e445d44e4f458146 [2023-11-07T00:49:16.606Z] $ docker rm -f --volumes 61a4c1d9d34d9a3c8e43f1ae6aabb7ecd9995f116d14ac33e445d44e4f458146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:49:17.152Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:49:17.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:49:17.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-16779 does not seem to be running inside a container [2023-11-07T00:49:17.476Z] $ 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/269 -v /w/workspace/device-sdk-go/269:/w/workspace/device-sdk-go/269:rw,z -v /w/workspace/device-sdk-go/269@tmp:/w/workspace/device-sdk-go/269@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-11-07T00:49:18.828Z] $ docker top 0b72b04d8ac99edd31968f42ef8bb86177b299aaaf40a9f3afbb13f4258eb179 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:49:19.694Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/269 [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:49:20.364Z] + make test [2023-11-07T00:49:20.364Z] go test -race -coverprofile=coverage.out ./... [2023-11-07T00:50:07.476Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-07T00:52:14.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-07T00:52:14.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-07T00:52:14.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-07T00:52:14.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-07T00:52:14.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-07T00:52:14.211Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.248s coverage: 27.6% of statements [2023-11-07T00:52:22.447Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.294s coverage: 81.5% of statements [2023-11-07T00:52:30.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-07T00:52:30.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-07T00:52:32.088Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.373s coverage: 86.0% of statements [2023-11-07T00:52:37.458Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-07T00:52:38.874Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.457s coverage: 71.8% of statements [2023-11-07T00:52:42.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.270s coverage: 14.4% of statements [2023-11-07T00:52:42.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.034s coverage: 45.9% of statements [2023-11-07T00:52:43.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-07T00:52:43.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-07T00:52:44.603Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.424s coverage: 68.5% of statements [2023-11-07T00:52:47.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.470s coverage: 89.2% of statements [2023-11-07T00:52:48.607Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-07T00:52:49.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements [2023-11-07T00:52:50.540Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-07T00:52:50.540Z] GO111MODULE=on go vet ./... [2023-11-07T00:55:12.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:55:12.339Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:55:12.339Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T00:55:12.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:55:12.397Z] $ docker stop --time=1 0b72b04d8ac99edd31968f42ef8bb86177b299aaaf40a9f3afbb13f4258eb179 [2023-11-07T00:55:17.115Z] $ docker rm -f --volumes 0b72b04d8ac99edd31968f42ef8bb86177b299aaaf40a9f3afbb13f4258eb179 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:55:18.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:55:18.951Z] Warning: overwriting stash ‘coverage-report’ [2023-11-07T00:55:19.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:55:20.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:55:20.460Z] + ls -al . [2023-11-07T00:55:20.460Z] total 304 [2023-11-07T00:55:20.460Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:49 . [2023-11-07T00:55:20.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:46 .. [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:46 .dockerignore [2023-11-07T00:55:20.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:46 .git [2023-11-07T00:55:20.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:46 .github [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:46 .gitignore [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:46 .golangci.yml [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:46 CHANGELOG.md [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:46 GOVERNANCE.md [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:46 Jenkinsfile [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:46 LICENSE [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:46 Makefile [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:46 OWNERS.md [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:46 README.md [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 00:43 VERSION [2023-11-07T00:55:20.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:46 bin [2023-11-07T00:55:20.460Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 7 00:52 coverage.out [2023-11-07T00:55:20.460Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:46 example [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:46 go.mod [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:46 go.sum [2023-11-07T00:55:20.460Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:46 internal [2023-11-07T00:55:20.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:46 openapi [2023-11-07T00:55:20.460Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:46 pkg [2023-11-07T00:55:20.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:46 snap [2023-11-07T00:55:20.460Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:55:20.815Z] + 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=7730e9b2488ebe82cf8f1ec58f41fa934430b51b --label arch=arm64 --label version=3.1.0-dev.40 . [2023-11-07T00:55:21.411Z] Sending build context to Docker daemon 6.154MB [2023-11-07T00:55:21.411Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:55:21.411Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-07T00:55:21.411Z] ---> bcf9478c2241 [2023-11-07T00:55:21.411Z] Step 3/23 : ARG MAKE=make build [2023-11-07T00:55:21.411Z] ---> Running in e436efae0f20 [2023-11-07T00:55:22.002Z] Removing intermediate container e436efae0f20 [2023-11-07T00:55:22.002Z] ---> 87a49d210c0e [2023-11-07T00:55:22.002Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-07T00:55:22.002Z] ---> Running in 86a77e51289f [2023-11-07T00:55:22.271Z] Removing intermediate container 86a77e51289f [2023-11-07T00:55:22.271Z] ---> 4a3457806526 [2023-11-07T00:55:22.271Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:55:22.271Z] ---> Running in c57333b3c697 [2023-11-07T00:55:22.857Z] Removing intermediate container c57333b3c697 [2023-11-07T00:55:22.857Z] ---> d83c4e602546 [2023-11-07T00:55:22.857Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-07T00:55:22.857Z] ---> Running in 92015c8851d2 [2023-11-07T00:55:23.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:55:24.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:55:25.821Z] OK: 266 MiB in 52 packages [2023-11-07T00:55:26.782Z] Removing intermediate container 92015c8851d2 [2023-11-07T00:55:26.782Z] ---> 169b50f68dda [2023-11-07T00:55:26.782Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-07T00:55:32.136Z] ---> 6347a546d1f2 [2023-11-07T00:55:32.136Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:55:32.136Z] ---> Running in bded4c7ab246 [2023-11-07T00:55:34.084Z] Removing intermediate container bded4c7ab246 [2023-11-07T00:55:34.084Z] ---> 429f9fb9baa7 [2023-11-07T00:55:34.084Z] Step 9/23 : COPY . . [2023-11-07T00:55:35.501Z] ---> 6ba0dacca3cf [2023-11-07T00:55:35.501Z] Step 10/23 : RUN ${MAKE} [2023-11-07T00:55:35.501Z] ---> Running in 6f1ed4b5ab85 [2023-11-07T00:55:36.576Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.40 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.40" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-07T00:57:43.501Z] Removing intermediate container 6f1ed4b5ab85 [2023-11-07T00:57:43.501Z] ---> f005730f4b66 [2023-11-07T00:57:43.501Z] Step 11/23 : FROM alpine:3.18 [2023-11-07T00:57:43.501Z] 3.18: Pulling from library/alpine [2023-11-07T00:57:43.501Z] 579b34f0a95b: Pulling fs layer [2023-11-07T00:57:43.501Z] 579b34f0a95b: Verifying Checksum [2023-11-07T00:57:43.501Z] 579b34f0a95b: Download complete [2023-11-07T00:57:43.501Z] 579b34f0a95b: Pull complete [2023-11-07T00:57:43.501Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:57:43.501Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:57:43.501Z] ---> 3cc203321400 [2023-11-07T00:57:43.501Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-07T00:57:43.501Z] ---> Running in fd84a20947ed [2023-11-07T00:57:43.501Z] Removing intermediate container fd84a20947ed [2023-11-07T00:57:43.501Z] ---> 6726be202d73 [2023-11-07T00:57:43.501Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-07T00:57:43.501Z] ---> Running in 7cd48e0a7112 [2023-11-07T00:57:43.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:57:43.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:57:45.175Z] OK: 8 MiB in 15 packages [2023-11-07T00:57:46.140Z] Removing intermediate container 7cd48e0a7112 [2023-11-07T00:57:46.140Z] ---> a1a803e5799e [2023-11-07T00:57:46.140Z] Step 14/23 : WORKDIR / [2023-11-07T00:57:46.140Z] ---> Running in 561876eefaeb [2023-11-07T00:57:46.412Z] Removing intermediate container 561876eefaeb [2023-11-07T00:57:46.412Z] ---> cb1b0bb97164 [2023-11-07T00:57:46.412Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-07T00:57:46.999Z] ---> 3024fd77b762 [2023-11-07T00:57:46.999Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-07T00:57:48.409Z] ---> 3e2866e94285 [2023-11-07T00:57:48.409Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-07T00:57:49.375Z] ---> 5c4ed33be6d4 [2023-11-07T00:57:49.375Z] Step 18/23 : EXPOSE 59999 [2023-11-07T00:57:49.375Z] ---> Running in b86cc5b9a393 [2023-11-07T00:57:49.642Z] Removing intermediate container b86cc5b9a393 [2023-11-07T00:57:49.642Z] ---> 13e3dc15f103 [2023-11-07T00:57:49.642Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-07T00:57:49.642Z] ---> Running in 283734a82c8a [2023-11-07T00:57:49.908Z] Removing intermediate container 283734a82c8a [2023-11-07T00:57:49.908Z] ---> 15b248553399 [2023-11-07T00:57:49.908Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-07T00:57:50.174Z] ---> Running in c17848a36a6b [2023-11-07T00:57:50.442Z] Removing intermediate container c17848a36a6b [2023-11-07T00:57:50.442Z] ---> 9f49396e1b34 [2023-11-07T00:57:50.442Z] Step 21/23 : LABEL arch=arm64 [2023-11-07T00:57:50.442Z] ---> Running in 3317c66f86ac [2023-11-07T00:57:50.710Z] Removing intermediate container 3317c66f86ac [2023-11-07T00:57:50.710Z] ---> 1daa8c8138ac [2023-11-07T00:57:50.710Z] Step 22/23 : LABEL git_sha=7730e9b2488ebe82cf8f1ec58f41fa934430b51b [2023-11-07T00:57:50.976Z] ---> Running in 6cddf9780e37 [2023-11-07T00:57:51.243Z] Removing intermediate container 6cddf9780e37 [2023-11-07T00:57:51.243Z] ---> a9639a1bdc56 [2023-11-07T00:57:51.243Z] Step 23/23 : LABEL version=3.1.0-dev.40 [2023-11-07T00:57:51.243Z] ---> Running in 51e0d39b9280 [2023-11-07T00:57:51.833Z] Removing intermediate container 51e0d39b9280 [2023-11-07T00:57:51.833Z] ---> 91194fe0ab53 [2023-11-07T00:57:51.833Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:57:51.833Z] Successfully built 91194fe0ab53 [2023-11-07T00:57:51.833Z] 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-11-07T00:57:52.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:57:52.264Z] [2023-11-07T00:57:52.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:57:52.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:57:53.570Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-07T00:57:53.570Z] 8998bd30e6a1: Pulling fs layer [2023-11-07T00:57:53.570Z] 04944245beec: Pulling fs layer [2023-11-07T00:57:53.570Z] 699f458cf7ca: Pulling fs layer [2023-11-07T00:57:53.570Z] 765212b225bb: Pulling fs layer [2023-11-07T00:57:53.570Z] f23df028b6ca: Pulling fs layer [2023-11-07T00:57:53.570Z] d65c8cfc05b1: Pulling fs layer [2023-11-07T00:57:53.570Z] 2437ff75d9bd: Pulling fs layer [2023-11-07T00:57:53.570Z] 765212b225bb: Waiting [2023-11-07T00:57:53.570Z] f23df028b6ca: Waiting [2023-11-07T00:57:53.570Z] d65c8cfc05b1: Waiting [2023-11-07T00:57:53.570Z] 2437ff75d9bd: Waiting [2023-11-07T00:57:53.570Z] 04944245beec: Verifying Checksum [2023-11-07T00:57:53.570Z] 04944245beec: Download complete [2023-11-07T00:57:53.570Z] 765212b225bb: Verifying Checksum [2023-11-07T00:57:53.570Z] 765212b225bb: Download complete [2023-11-07T00:57:53.570Z] f23df028b6ca: Verifying Checksum [2023-11-07T00:57:53.570Z] f23df028b6ca: Download complete [2023-11-07T00:57:53.570Z] d65c8cfc05b1: Verifying Checksum [2023-11-07T00:57:53.570Z] d65c8cfc05b1: Download complete [2023-11-07T00:57:53.570Z] 699f458cf7ca: Verifying Checksum [2023-11-07T00:57:53.570Z] 699f458cf7ca: Download complete [2023-11-07T00:57:54.158Z] 8998bd30e6a1: Verifying Checksum [2023-11-07T00:57:54.158Z] 8998bd30e6a1: Download complete [2023-11-07T00:57:56.746Z] 2437ff75d9bd: Verifying Checksum [2023-11-07T00:57:56.746Z] 2437ff75d9bd: Download complete [2023-11-07T00:57:58.695Z] 8998bd30e6a1: Pull complete [2023-11-07T00:57:59.278Z] 04944245beec: Pull complete [2023-11-07T00:58:01.220Z] 699f458cf7ca: Pull complete [2023-11-07T00:58:01.220Z] 765212b225bb: Pull complete [2023-11-07T00:58:01.805Z] f23df028b6ca: Pull complete [2023-11-07T00:58:02.072Z] d65c8cfc05b1: Pull complete [2023-11-07T00:58:24.133Z] 2437ff75d9bd: Pull complete [2023-11-07T00:58:24.133Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-07T00:58:24.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:58:24.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:58:24.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-16779 does not seem to be running inside a container [2023-11-07T00:58:24.435Z] $ 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/269 -v /w/workspace/device-sdk-go/269:/w/workspace/device-sdk-go/269:rw,z -v /w/workspace/device-sdk-go/269@tmp:/w/workspace/device-sdk-go/269@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-11-07T00:58:27.568Z] $ docker top 4e2506564ad3a673400041d5a8c1b072472d011b06a7aa02a1d6f0d82c798553 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:58:28.416Z] ---> job-cost.sh [2023-11-07T00:58:28.416Z] lf-activate-venv: SKIPPING [2023-11-07T00:58:28.416Z] INFO: No Stack... [2023-11-07T00:58:28.999Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-07T00:58:29.578Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:58:30.224Z] + cat /w/workspace/device-sdk-go/269/archives/cost.csv [2023-11-07T00:58:30.224Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:58:30.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [2023-11-07T00:58:30.269Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] did not exist. Created. [2023-11-07T00:58:30.269Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:58:30.924Z] /w/workspace/device-sdk-go/269@tmp/durable-f8f1f850/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-07T00:58:31.573Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-07T00:58:31.595Z] Warning: overwriting stash ‘stack-cost’ [2023-11-07T00:58:31.685Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:58:31.691Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:58:31.718Z] $ docker stop --time=1 4e2506564ad3a673400041d5a8c1b072472d011b06a7aa02a1d6f0d82c798553 [2023-11-07T00:58:33.261Z] $ docker rm -f --volumes 4e2506564ad3a673400041d5a8c1b072472d011b06a7aa02a1d6f0d82c798553 [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-11-07T00:58:33.620Z] provisioning config files... [2023-11-07T00:58:33.627Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2735966577785653151tmp [Pipeline] { [Pipeline] sh [2023-11-07T00:58:33.929Z] + set +x [2023-11-07T00:58:33.930Z] + curl -s https://codecov.io/bash [2023-11-07T00:58:33.930Z] + bash -s -- [2023-11-07T00:58:33.930Z] [2023-11-07T00:58:33.930Z] _____ _ [2023-11-07T00:58:33.930Z] / ____| | | [2023-11-07T00:58:33.930Z] | | ___ __| | ___ ___ _____ __ [2023-11-07T00:58:33.930Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-07T00:58:33.930Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-07T00:58:33.930Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-07T00:58:33.930Z] Bash-1.0.6 [2023-11-07T00:58:33.930Z] [2023-11-07T00:58:33.930Z] [2023-11-07T00:58:33.930Z] ==> git version 2.25.1 found [2023-11-07T00:58:33.930Z] ==> 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-11-07T00:58:33.930Z] Release-Date: 2020-01-08 [2023-11-07T00:58:33.930Z] 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-11-07T00:58:33.930Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-07T00:58:33.930Z] ==> Jenkins CI detected. [2023-11-07T00:58:33.930Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-11-07T00:58:33.930Z] project root: . [2023-11-07T00:58:33.930Z] --> token set from env [2023-11-07T00:58:33.930Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-07T00:58:33.930Z] ==> Running gcov in . (disable via -X gcov) [2023-11-07T00:58:33.930Z] ==> Python coveragepy not found [2023-11-07T00:58:33.930Z] ==> Searching for coverage reports in: [2023-11-07T00:58:33.930Z] + . [2023-11-07T00:58:34.189Z] -> Found 1 reports [2023-11-07T00:58:34.189Z] ==> Detecting git/mercurial file structure [2023-11-07T00:58:34.189Z] ==> Reading reports [2023-11-07T00:58:34.189Z] + ./coverage.out bytes=122153 [2023-11-07T00:58:34.189Z] ==> Appending adjustments [2023-11-07T00:58:34.189Z] https://docs.codecov.io/docs/fixing-reports [2023-11-07T00:58:34.448Z] + Found adjustments [2023-11-07T00:58:34.448Z] ==> Gzipping contents [2023-11-07T00:58:34.448Z] 20K /tmp/codecov.Do6P6e.gz [2023-11-07T00:58:34.448Z] ==> Uploading reports [2023-11-07T00:58:34.448Z] url: https://codecov.io [2023-11-07T00:58:34.448Z] query: branch=main&commit=7730e9b2488ebe82cf8f1ec58f41fa934430b51b&build=269&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F269%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-07T00:58:34.448Z] -> Pinging Codecov [2023-11-07T00:58:34.448Z] 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=7730e9b2488ebe82cf8f1ec58f41fa934430b51b&build=269&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F269%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-07T00:58:34.708Z] -> Uploading to [2023-11-07T00:58:34.708Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7E55EF52A471D76F132DFD9A03CDDE97/7730e9b2488ebe82cf8f1ec58f41fa934430b51b/4792a0c1-85be-47e7-bc01-86837e6b41ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T005834Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c28765b2867d28595f8ee6df1dd6868ef9ccc7bfe7ca69bee8acffcec9dd7018 [2023-11-07T00:58:34.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:58:34.708Z] Dload Upload Total Spent Left Speed [2023-11-07T00:58:34.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 61566 --:--:-- --:--:-- --:--:-- 61566 [2023-11-07T00:58:34.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] } [2023-11-07T00:58:34.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-07T00:58:35.103Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-07T00:58:35.111Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:58:35.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T00:58:35.406Z] [2023-11-07T00:58:35.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:58:35.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T00:58:35.700Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-07T00:58:35.700Z] df9b9388f04a: Pulling fs layer [2023-11-07T00:58:35.700Z] 52dc419b0ee2: Pulling fs layer [2023-11-07T00:58:35.700Z] 25bc292e5bac: Pulling fs layer [2023-11-07T00:58:35.700Z] 114826534d7a: Pulling fs layer [2023-11-07T00:58:35.700Z] 4657fd5d0bcf: Pulling fs layer [2023-11-07T00:58:35.700Z] 6ad1cebc031e: Pulling fs layer [2023-11-07T00:58:35.700Z] 8a3aa393b2d8: Pulling fs layer [2023-11-07T00:58:35.700Z] 4657fd5d0bcf: Waiting [2023-11-07T00:58:35.700Z] 6ad1cebc031e: Waiting [2023-11-07T00:58:35.700Z] 8a3aa393b2d8: Waiting [2023-11-07T00:58:35.700Z] 114826534d7a: Waiting [2023-11-07T00:58:35.700Z] 25bc292e5bac: Verifying Checksum [2023-11-07T00:58:35.700Z] 25bc292e5bac: Download complete [2023-11-07T00:58:35.700Z] 52dc419b0ee2: Verifying Checksum [2023-11-07T00:58:35.700Z] 52dc419b0ee2: Download complete [2023-11-07T00:58:35.700Z] 4657fd5d0bcf: Verifying Checksum [2023-11-07T00:58:35.700Z] 4657fd5d0bcf: Download complete [2023-11-07T00:58:35.700Z] df9b9388f04a: Download complete [2023-11-07T00:58:35.960Z] df9b9388f04a: Pull complete [2023-11-07T00:58:35.960Z] 6ad1cebc031e: Verifying Checksum [2023-11-07T00:58:35.960Z] 6ad1cebc031e: Download complete [2023-11-07T00:58:35.960Z] 52dc419b0ee2: Pull complete [2023-11-07T00:58:35.960Z] 25bc292e5bac: Pull complete [2023-11-07T00:58:36.528Z] 114826534d7a: Verifying Checksum [2023-11-07T00:58:36.528Z] 114826534d7a: Download complete [2023-11-07T00:58:36.528Z] 8a3aa393b2d8: Verifying Checksum [2023-11-07T00:58:36.528Z] 8a3aa393b2d8: Download complete [2023-11-07T00:58:39.809Z] 114826534d7a: Pull complete [2023-11-07T00:58:40.067Z] 4657fd5d0bcf: Pull complete [2023-11-07T00:58:40.325Z] 6ad1cebc031e: Pull complete [2023-11-07T00:58:42.852Z] 8a3aa393b2d8: Pull complete [2023-11-07T00:58:42.852Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-07T00:58:42.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T00:58:42.852Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:58:42.937Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:58:42.970Z] $ 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-11-07T00:58:46.266Z] $ docker top 5a626945fe322666974663ab2dd5c60763b3e96bd2349345deed3f66e1fcc421 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-07T00:58:46.349Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-11-07T00:58:46.626Z] + set -o pipefail [2023-11-07T00:58:46.626Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-11-07T00:58:51.904Z] [2023-11-07T00:58:51.904Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-11-07T00:58:51.904Z] [2023-11-07T00:58:51.904Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9605d323-38d9-4d36-a818-22a9fd36568d [2023-11-07T00:58:51.904Z] [2023-11-07T00:58:51.904Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-07T00:58:51.904Z] [2023-11-07T00:58:51.904Z] [2023-11-07T00:58:51.904Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-07T00:58:51.904Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-07T00:58:51.904Z] More details here: https://snyk.co/ue1NS [2023-11-07T00:58:51.904Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-07T00:58:51.904Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-07T00:58:51.913Z] $ docker stop --time=1 5a626945fe322666974663ab2dd5c60763b3e96bd2349345deed3f66e1fcc421 [2023-11-07T00:58:55.322Z] $ docker rm -f --volumes 5a626945fe322666974663ab2dd5c60763b3e96bd2349345deed3f66e1fcc421 [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-11-07T00:58:55.786Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:58:55.798Z] provisioning config files... [2023-11-07T00:58:55.805Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15743406684979141718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:58:56.098Z] --> edgex-publish-swagger.sh [2023-11-07T00:58:56.098Z] === Publish openapi/v3 API === [2023-11-07T00:58:56.098Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-11-07T00:58:56.098Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-11-07T00:58:56.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:58:56.098Z] Dload Upload Total Spent Left Speed [2023-11-07T00:58:59.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 19184 0:00:01 0:00:01 --:--:-- 19184 100 23674 0 0 100 23674 0 10592 0:00:02 0:00:02 --:--:-- 10592 100 23674 0 0 100 23674 0 7313 0:00:03 0:00:03 --:--:-- 7313 100 23674 0 0 100 23674 0 5890 0:00:04 0:00:04 --:--:-- 5890 100 23674 0 0 100 23674 0 5890 0:00:04 0:00:04 --:--:-- 5890 [2023-11-07T00:58:59.925Z] [2023-11-07T00:58:59.925Z] [Pipeline] } [2023-11-07T00:58:59.931Z] 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-11-07T00:59:00.332Z] + git log --format=format:%s -1 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] sh [2023-11-07T00:59:00.626Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:59:00.626Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:59:00.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:59:00.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:59:00.989Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:59:01.020Z] $ 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-11-07T00:59:01.351Z] $ docker top 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f -eo pid,comm [2023-11-07T00:59:01.404Z] 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-11-07T00:59:01.404Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:59:01.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:59:01.448Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:59:01.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:59:01.576Z] $ docker exec 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f ssh-agent [2023-11-07T00:59:01.692Z] SSH_AUTH_SOCK=/tmp/ssh-E1lvXOFo820v/agent.32 [2023-11-07T00:59:01.692Z] SSH_AGENT_PID=38 [2023-11-07T00:59:01.697Z] Running ssh-add (command line suppressed) [2023-11-07T00:59:01.789Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2562553444077480818.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2562553444077480818.key) [2023-11-07T00:59:01.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:59:02.092Z] + git semver tag [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,300 [run_tag] DEBUG tag force:False [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,301 [check_head_tag] DEBUG check head tag [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,302 [execute] INFO git cat-file --batch-check [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,305 [execute] INFO git cat-file --batch [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,326 [execute] INFO git tag -a v3.1.0-dev.40 -m v3.1.0-dev.40 [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,327 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.40', '-m', 'v3.1.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:59:02.351Z] 2023-11-07 00:59:02,332 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:02.351Z] 3.1.0-dev.40 [Pipeline] } [2023-11-07T00:59:02.616Z] $ docker exec --env ******** --env ******** 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f ssh-agent -k [2023-11-07T00:59:02.707Z] unset SSH_AUTH_SOCK; [2023-11-07T00:59:02.708Z] unset SSH_AGENT_PID; [2023-11-07T00:59:02.708Z] echo Agent pid 38 killed; [2023-11-07T00:59:02.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:59:03.022Z] + git semver [Pipeline] } [2023-11-07T00:59:03.291Z] $ docker stop --time=1 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f [2023-11-07T00:59:04.579Z] $ docker rm -f --volumes 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:59:04.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T00:59:04.974Z] [2023-11-07T00:59:04.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:59:05.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T00:59:05.273Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-07T00:59:05.273Z] ab5ef0e58194: Pulling fs layer [2023-11-07T00:59:05.273Z] 9712f1f96733: Pulling fs layer [2023-11-07T00:59:05.273Z] 63f879dbbcfc: Pulling fs layer [2023-11-07T00:59:05.273Z] 0d9ebad4ef96: Pulling fs layer [2023-11-07T00:59:05.273Z] e9a5061849ea: Pulling fs layer [2023-11-07T00:59:05.273Z] d747dcd14b5f: Pulling fs layer [2023-11-07T00:59:05.273Z] 2de7ff778b66: Pulling fs layer [2023-11-07T00:59:05.273Z] e9a5061849ea: Waiting [2023-11-07T00:59:05.273Z] 2de7ff778b66: Waiting [2023-11-07T00:59:05.273Z] d747dcd14b5f: Waiting [2023-11-07T00:59:05.273Z] 0d9ebad4ef96: Waiting [2023-11-07T00:59:05.273Z] 9712f1f96733: Verifying Checksum [2023-11-07T00:59:05.273Z] 9712f1f96733: Download complete [2023-11-07T00:59:05.533Z] 63f879dbbcfc: Verifying Checksum [2023-11-07T00:59:05.533Z] 63f879dbbcfc: Download complete [2023-11-07T00:59:05.792Z] e9a5061849ea: Verifying Checksum [2023-11-07T00:59:05.792Z] e9a5061849ea: Download complete [2023-11-07T00:59:05.792Z] 0d9ebad4ef96: Verifying Checksum [2023-11-07T00:59:05.792Z] 0d9ebad4ef96: Download complete [2023-11-07T00:59:05.792Z] d747dcd14b5f: Verifying Checksum [2023-11-07T00:59:05.792Z] d747dcd14b5f: Download complete [2023-11-07T00:59:05.792Z] ab5ef0e58194: Verifying Checksum [2023-11-07T00:59:05.792Z] ab5ef0e58194: Download complete [2023-11-07T00:59:06.051Z] 2de7ff778b66: Verifying Checksum [2023-11-07T00:59:06.051Z] 2de7ff778b66: Download complete [2023-11-07T00:59:08.582Z] ab5ef0e58194: Pull complete [2023-11-07T00:59:08.582Z] 9712f1f96733: Pull complete [2023-11-07T00:59:08.840Z] 63f879dbbcfc: Pull complete [2023-11-07T00:59:12.119Z] 0d9ebad4ef96: Pull complete [2023-11-07T00:59:12.378Z] e9a5061849ea: Pull complete [2023-11-07T00:59:12.636Z] d747dcd14b5f: Pull complete [2023-11-07T00:59:13.569Z] 2de7ff778b66: Pull complete [2023-11-07T00:59:13.569Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-07T00:59:13.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T00:59:13.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:59:13.646Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:59:13.672Z] $ 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-11-07T00:59:17.364Z] $ docker top 613bf4d736c173b00709e6242155090da979f809caf944192c5216917245f368 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:59:17.437Z] provisioning config files... [2023-11-07T00:59:17.443Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8217641473404613843tmp [2023-11-07T00:59:17.452Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11577931414043047834tmp [2023-11-07T00:59:17.461Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9589484488281668277tmp [Pipeline] { [Pipeline] echo [2023-11-07T00:59:17.477Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:17.761Z] ---> sigul-configuration.sh [2023-11-07T00:59:17.761Z] gpg: directory `/root/.gnupg' created [2023-11-07T00:59:17.761Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-07T00:59:17.761Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-07T00:59:17.761Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-07T00:59:17.761Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-07T00:59:17.761Z] gpg: CAST5 encrypted data [2023-11-07T00:59:17.761Z] gpg: encrypted with 1 passphrase [2023-11-07T00:59:17.761Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-07T00:59:18.044Z] + mkdir /home/jenkins [2023-11-07T00:59:18.044Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-07T00:59:18.333Z] + 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-11-07T00:59:18.341Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:18.626Z] ---> sigul-install.sh [2023-11-07T00:59:18.626Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-07T00:59:18.912Z] + git tag --list [2023-11-07T00:59:18.912Z] 0.7.1 [2023-11-07T00:59:18.912Z] delhi-tag [2023-11-07T00:59:18.912Z] v1.0.0 [2023-11-07T00:59:18.912Z] v1.1.0 [2023-11-07T00:59:18.912Z] v1.1.1 [2023-11-07T00:59:18.912Z] v1.1.2 [2023-11-07T00:59:18.912Z] v1.2.0 [2023-11-07T00:59:18.912Z] v1.2.1 [2023-11-07T00:59:18.912Z] v1.2.2 [2023-11-07T00:59:18.912Z] v1.2.3 [2023-11-07T00:59:18.912Z] v1.3.0 [2023-11-07T00:59:18.912Z] v1.4.0 [2023-11-07T00:59:18.912Z] v2.0.0 [2023-11-07T00:59:18.912Z] v2.1.0 [2023-11-07T00:59:18.912Z] v2.1.1 [2023-11-07T00:59:18.912Z] v2.2.0 [2023-11-07T00:59:18.912Z] v2.3.0 [2023-11-07T00:59:18.912Z] v2.3.1 [2023-11-07T00:59:18.912Z] v3.0 [2023-11-07T00:59:18.912Z] v3.0.0 [2023-11-07T00:59:18.912Z] v3.0.1-dev.1 [2023-11-07T00:59:18.912Z] v3.1.0-dev.1 [2023-11-07T00:59:18.912Z] v3.1.0-dev.10 [2023-11-07T00:59:18.912Z] v3.1.0-dev.11 [2023-11-07T00:59:18.912Z] v3.1.0-dev.12 [2023-11-07T00:59:18.912Z] v3.1.0-dev.13 [2023-11-07T00:59:18.912Z] v3.1.0-dev.14 [2023-11-07T00:59:18.912Z] v3.1.0-dev.15 [2023-11-07T00:59:18.912Z] v3.1.0-dev.16 [2023-11-07T00:59:18.912Z] v3.1.0-dev.17 [2023-11-07T00:59:18.912Z] v3.1.0-dev.18 [2023-11-07T00:59:18.912Z] v3.1.0-dev.19 [2023-11-07T00:59:18.912Z] v3.1.0-dev.2 [2023-11-07T00:59:18.912Z] v3.1.0-dev.20 [2023-11-07T00:59:18.912Z] v3.1.0-dev.21 [2023-11-07T00:59:18.912Z] v3.1.0-dev.22 [2023-11-07T00:59:18.912Z] v3.1.0-dev.23 [2023-11-07T00:59:18.912Z] v3.1.0-dev.24 [2023-11-07T00:59:18.912Z] v3.1.0-dev.25 [2023-11-07T00:59:18.912Z] v3.1.0-dev.26 [2023-11-07T00:59:18.912Z] v3.1.0-dev.27 [2023-11-07T00:59:18.912Z] v3.1.0-dev.28 [2023-11-07T00:59:18.912Z] v3.1.0-dev.29 [2023-11-07T00:59:18.912Z] v3.1.0-dev.3 [2023-11-07T00:59:18.912Z] v3.1.0-dev.30 [2023-11-07T00:59:18.912Z] v3.1.0-dev.31 [2023-11-07T00:59:18.912Z] v3.1.0-dev.32 [2023-11-07T00:59:18.912Z] v3.1.0-dev.33 [2023-11-07T00:59:18.912Z] v3.1.0-dev.34 [2023-11-07T00:59:18.912Z] v3.1.0-dev.35 [2023-11-07T00:59:18.912Z] v3.1.0-dev.36 [2023-11-07T00:59:18.912Z] v3.1.0-dev.37 [2023-11-07T00:59:18.912Z] v3.1.0-dev.38 [2023-11-07T00:59:18.912Z] v3.1.0-dev.39 [2023-11-07T00:59:18.912Z] v3.1.0-dev.4 [2023-11-07T00:59:18.912Z] v3.1.0-dev.40 [2023-11-07T00:59:18.912Z] v3.1.0-dev.5 [2023-11-07T00:59:18.912Z] v3.1.0-dev.6 [2023-11-07T00:59:18.912Z] v3.1.0-dev.7 [2023-11-07T00:59:18.912Z] v3.1.0-dev.8 [2023-11-07T00:59:18.912Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-07T00:59:19.213Z] + lftools sign git-tag v3.1.0-dev.40 [2023-11-07T00:59:19.980Z] Signing Git tag with Sigul... [2023-11-07T00:59:19.980Z] Signing v3.1.0-dev.40 [Pipeline] echo [2023-11-07T00:59:19.988Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:20.269Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-07T00:59:20.276Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-07T00:59:20.295Z] $ docker stop --time=1 613bf4d736c173b00709e6242155090da979f809caf944192c5216917245f368 [2023-11-07T00:59:21.583Z] $ docker rm -f --volumes 613bf4d736c173b00709e6242155090da979f809caf944192c5216917245f368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-07T00:59:21.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:59:21.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:59:22.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:59:22.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:59:22.360Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:59:22.384Z] $ 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-11-07T00:59:22.754Z] $ docker top ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 -eo pid,comm [2023-11-07T00:59:22.803Z] 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-11-07T00:59:22.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:59:22.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:59:22.844Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:59:22.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:59:22.976Z] $ docker exec ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 ssh-agent [2023-11-07T00:59:23.089Z] SSH_AUTH_SOCK=/tmp/ssh-5XZAOT20nqGi/agent.31 [2023-11-07T00:59:23.089Z] SSH_AGENT_PID=37 [2023-11-07T00:59:23.094Z] Running ssh-add (command line suppressed) [2023-11-07T00:59:23.187Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6011232231908977038.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6011232231908977038.key) [2023-11-07T00:59:23.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:59:23.485Z] + git semver bump pre [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,631 [bump_version] DEBUG bumping version:3.1.0-dev.40 on axis:pre with prefix:dev [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,631 [bump_version] DEBUG bumped version:3.1.0-dev.41 [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,631 [write_version] DEBUG write version:3.1.0-dev.41 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,631 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,633 [execute] INFO git cat-file --batch-check [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,638 [execute] INFO git cat-file --batch [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:59:23.746Z] 2023-11-07 00:59:23,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:23.746Z] 3.1.0-dev.41 [Pipeline] } [2023-11-07T00:59:23.753Z] $ docker exec --env ******** --env ******** ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 ssh-agent -k [2023-11-07T00:59:23.840Z] unset SSH_AUTH_SOCK; [2023-11-07T00:59:23.841Z] unset SSH_AGENT_PID; [2023-11-07T00:59:23.841Z] echo Agent pid 37 killed; [2023-11-07T00:59:23.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:59:24.168Z] + git semver [Pipeline] } [2023-11-07T00:59:24.436Z] $ docker stop --time=1 ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 [2023-11-07T00:59:25.717Z] $ docker rm -f --volumes ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:59:26.046Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:59:26.046Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:59:26.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:59:26.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:59:26.415Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:59:26.440Z] $ 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-11-07T00:59:26.807Z] $ docker top 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 -eo pid,comm [2023-11-07T00:59:26.850Z] 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-11-07T00:59:26.850Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:59:26.895Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:59:26.895Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:59:26.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:59:26.995Z] $ docker exec 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 ssh-agent [2023-11-07T00:59:27.107Z] SSH_AUTH_SOCK=/tmp/ssh-HTqlqMMfMm6U/agent.31 [2023-11-07T00:59:27.107Z] SSH_AGENT_PID=37 [2023-11-07T00:59:27.111Z] Running ssh-add (command line suppressed) [2023-11-07T00:59:27.190Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518062078531770864.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518062078531770864.key) [2023-11-07T00:59:27.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:59:27.488Z] + git semver push [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,649 [run_push] DEBUG push [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,649 [execute] INFO git cat-file --batch-check [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,652 [execute] INFO git rev-list 105ccd1f24060c0dfd3f56e92a6f3bda414d5a89 -- [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,653 [execute] DEBUG Popen(['git', 'rev-list', '105ccd1f24060c0dfd3f56e92a6f3bda414d5a89', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,664 [execute] INFO git fetch -v origin [2023-11-07T00:59:27.746Z] 2023-11-07 00:59:27,664 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-07T00:59:28.314Z] 2023-11-07 00:59:28,192 [run_push] DEBUG no remote changes detected [2023-11-07T00:59:28.314Z] 2023-11-07 00:59:28,192 [execute] INFO git push origin semver [2023-11-07T00:59:28.314Z] 2023-11-07 00:59:28,193 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:59:29.256Z] 2023-11-07 00:59:29,008 [run_push] DEBUG push all version tags [2023-11-07T00:59:29.256Z] 2023-11-07 00:59:29,009 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-07T00:59:29.256Z] 2023-11-07 00:59:29,010 [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-11-07T00:59:29.824Z] 2023-11-07 00:59:29,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-07T00:59:29.824Z] 3.1.0-dev.41 [Pipeline] } [2023-11-07T00:59:29.830Z] $ docker exec --env ******** --env ******** 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 ssh-agent -k [2023-11-07T00:59:29.916Z] unset SSH_AUTH_SOCK; [2023-11-07T00:59:29.916Z] unset SSH_AGENT_PID; [2023-11-07T00:59:29.916Z] echo Agent pid 37 killed; [2023-11-07T00:59:29.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:59:30.311Z] + git semver [Pipeline] } [2023-11-07T00:59:30.609Z] $ docker stop --time=1 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 [2023-11-07T00:59:31.874Z] $ docker rm -f --volumes 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 [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-11-07T00:59:32.416Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-11-07T00:59:32.416Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-07T00:59:32.416Z] total 16 [2023-11-07T00:59:32.416Z] drwxr-xr-x 3 root root 4096 Nov 7 00:45 . [2023-11-07T00:59:32.416Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:59 .. [2023-11-07T00:59:32.416Z] drwxr-xr-x 2 root root 4096 Nov 7 00:45 cost [2023-11-07T00:59:32.416Z] -rw-r--r-- 1 root root 85 Nov 7 00:45 cost.csv [2023-11-07T00:59:32.416Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-07T00:59:32.416Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-07T00:59:32.416Z] total 16 [2023-11-07T00:59:32.416Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:45 . [2023-11-07T00:59:32.416Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:59 .. [2023-11-07T00:59:32.416Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:45 cost [2023-11-07T00:59:32.416Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 7 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:32.705Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:33.569Z] ---> package-listing.sh [2023-11-07T00:59:33.569Z] ++ facter osfamily [2023-11-07T00:59:33.569Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-07T00:59:33.828Z] + OS_FAMILY=debian [2023-11-07T00:59:33.828Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-11-07T00:59:33.828Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-07T00:59:33.828Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-07T00:59:33.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-07T00:59:33.828Z] + PACKAGES=/tmp/packages_start.txt [2023-11-07T00:59:33.828Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-07T00:59:33.828Z] + PACKAGES=/tmp/packages_end.txt [2023-11-07T00:59:33.828Z] + case "${OS_FAMILY}" in [2023-11-07T00:59:33.828Z] + dpkg -l [2023-11-07T00:59:33.828Z] + grep '^ii' [2023-11-07T00:59:33.828Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-07T00:59:33.828Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-07T00:59:33.828Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-07T00:59:33.828Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-07T00:59:33.828Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-11-07T00:59:33.828Z] + 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-11-07T00:59:33.838Z] 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-11-07T00:59:34.115Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:59:34.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:59:34.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:59:34.768Z] prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container [2023-11-07T00:59:34.794Z] $ 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-11-07T00:59:35.017Z] $ docker top be4c30350246c90c5d2b3699e84d310e249145b06808e80f3009576cc2c83555 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:59:35.357Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-07T00:59:35.712Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-07T00:59:36.032Z] + ls /var/log/sa-host [2023-11-07T00:59:36.032Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:59:36.098Z] provisioning config files... [2023-11-07T00:59:36.105Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2136520209839703972tmp [Pipeline] { [Pipeline] echo [2023-11-07T00:59:36.117Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:36.422Z] ---> create-netrc.sh [Pipeline] } [2023-11-07T00:59:36.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:36.756Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-07T00:59:36.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:37.057Z] ---> sudo-logs.sh [2023-11-07T00:59:37.057Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-07T00:59:37.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:37.370Z] ---> job-cost.sh [2023-11-07T00:59:37.370Z] lf-activate-venv: SKIPPING [2023-11-07T00:59:37.370Z] DEBUG: total: 0.2199999988079071 [2023-11-07T00:59:37.370Z] INFO: Retrieving Stack Cost... [2023-11-07T00:59:37.936Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:59:38.194Z] INFO: Archiving Costs [Pipeline] echo [2023-11-07T00:59:38.207Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:59:38.490Z] ---> logs-deploy.sh [2023-11-07T00:59:38.490Z] lf-activate-venv: SKIPPING [2023-11-07T00:59:38.490Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/269 [2023-11-07T00:59:38.490Z] INFO: archiving workspace using pattern(s): [2023-11-07T00:59:39.426Z] Archives upload complete. [2023-11-07T00:59:39.426Z] INFO: archiving logs to Nexus