Started by upstream project "edgexfoundry/cd-management/release-lts" build number 49 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from abf78bec53b58046fbccef7a1c02cd98bf2dc47d 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-ssh7974907676050918308.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-ssh1381279918001253838.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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10544189753597735880.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-ssh14290257042275094130.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15097166171726378325.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-16895 in /w/workspace/edgexfoundry_device-sdk-go_napa [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_napa # 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 abf78bec53b58046fbccef7a1c02cd98bf2dc47d (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @7730e9b" > git config core.sparsecheckout # timeout=10 > git checkout -f abf78bec53b58046fbccef7a1c02cd98bf2dc47d # timeout=10 > git rev-list --no-walk abf78bec53b58046fbccef7a1c02cd98bf2dc47d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-07T22:10:21.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-07T22:10:21.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T22:10:21.920Z] ========================================================= [2023-11-07T22:10:21.920Z] EdgeX Global Pipelines Version Info [2023-11-07T22:10:21.920Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:10:22.650Z] ------------------- [2023-11-07T22:10:22.650Z] stable info: [2023-11-07T22:10:22.650Z] ------------------- [2023-11-07T22:10:22.650Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-07T22:10:22.650Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T22:10:22.650Z] Message: update stable to v1.0.257 [2023-11-07T22:10:23.224Z] ------------------- [2023-11-07T22:10:23.224Z] experimental info: [2023-11-07T22:10:23.224Z] ------------------- [2023-11-07T22:10:23.224Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-07T22:10:23.224Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T22:10:23.224Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-07T22:10:23.398Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-07T22:10:23.415Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-07T22:10:23.433Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-07T22:10:23.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-07T22:10:23.469Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-07T22:10:23.481Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-07T22:10:23.497Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-07T22:10:23.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-07T22:10:23.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-07T22:10:23.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-07T22:10:23.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-07T22:10:23.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-07T22:10:23.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-07T22:10:23.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-07T22:10:23.651Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-07T22:10:23.663Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T22:10:23.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T22:10:23.699Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T22:10:23.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-07T22:10:23.733Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-07T22:10:23.746Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-07T22:10:23.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-07T22:10:23.779Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-07T22:10:23.798Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-07T22:10:23.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-07T22:10:23.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-07T22:10:23.870Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-07T22:10:23.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2023-11-07T22:10:23.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2023-11-07T22:10:23.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2023-11-07T22:10:23.925Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] echo [2023-11-07T22:10:23.934Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abf78be [Pipeline] echo [2023-11-07T22:10:23.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T22:10:23.996Z] provisioning config files... [2023-11-07T22:10:24.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config7460166604326259494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:10:24.315Z] ---> docker-login.sh [2023-11-07T22:10:24.315Z] nexus3.edgexfoundry.org:10001 [2023-11-07T22:10:24.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:24.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:24.575Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:24.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:24.575Z] [2023-11-07T22:10:24.575Z] Login Succeeded [2023-11-07T22:10:24.576Z] nexus3.edgexfoundry.org:10002 [2023-11-07T22:10:24.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:24.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:24.576Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:24.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:24.576Z] [2023-11-07T22:10:24.576Z] Login Succeeded [2023-11-07T22:10:24.576Z] nexus3.edgexfoundry.org:10003 [2023-11-07T22:10:24.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:24.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:24.839Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:24.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:24.839Z] [2023-11-07T22:10:24.839Z] Login Succeeded [2023-11-07T22:10:24.839Z] nexus3.edgexfoundry.org:10004 [2023-11-07T22:10:24.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:24.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:24.839Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:24.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:24.839Z] [2023-11-07T22:10:24.839Z] Login Succeeded [2023-11-07T22:10:24.839Z] docker.io [2023-11-07T22:10:25.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:25.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:25.099Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:25.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:25.099Z] [2023-11-07T22:10:25.099Z] Login Succeeded [2023-11-07T22:10:25.359Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T22:10:25.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-07T22:10:25.751Z] + git rev-list -1 --merges abf78bec53b58046fbccef7a1c02cd98bf2dc47d~1..abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] echo [2023-11-07T22:10:25.857Z] -----------> git rev-list -1 --merges abf78bec53b58046fbccef7a1c02cd98bf2dc47d~1..abf78bec53b58046fbccef7a1c02cd98bf2dc47d abf78bec53b58046fbccef7a1c02cd98bf2dc47d [false] [Pipeline] sh [2023-11-07T22:10:26.149Z] + git log --format=format:%s -1 abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] echo [2023-11-07T22:10:26.166Z] ========================================================= [2023-11-07T22:10:26.166Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-11-07T22:10:26.166Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T22:10:26.484Z] + git log --format=format:%s -1 abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] echo [2023-11-07T22:10:26.495Z] [semverPrep] GIT_COMMIT: abf78bec53b58046fbccef7a1c02cd98bf2dc47d, Commit Message: ci(lts-release): LTS release v3.1.0 @7730e9b [Pipeline] echo [2023-11-07T22:10:26.504Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-07T22:10:26.859Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T22:10:26.860Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-07T22:10:26.860Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-07T22:10:26.860Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-07T22:10:26.860Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-07T22:10:26.860Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-07T22:10:26.860Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:10:27.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T22:10:27.221Z] [2023-11-07T22:10:27.221Z] 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-07T22:10:27.523Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T22:10:27.523Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-07T22:10:27.523Z] b85a868b505f: Pulling fs layer [2023-11-07T22:10:27.523Z] e2be974225ed: Pulling fs layer [2023-11-07T22:10:27.523Z] 339a4e72a1f5: Pulling fs layer [2023-11-07T22:10:27.523Z] 988bab9f4d93: Pulling fs layer [2023-11-07T22:10:27.523Z] 1469e6f7b9e6: Pulling fs layer [2023-11-07T22:10:27.523Z] eaf3925da568: Pulling fs layer [2023-11-07T22:10:27.523Z] bab4dde63d76: Pulling fs layer [2023-11-07T22:10:27.523Z] bde34c3a00c8: Pulling fs layer [2023-11-07T22:10:27.523Z] b352a97aabf1: Pulling fs layer [2023-11-07T22:10:27.523Z] 4872d77fe225: Pulling fs layer [2023-11-07T22:10:27.523Z] 5851b861e8e6: Pulling fs layer [2023-11-07T22:10:27.523Z] bab4dde63d76: Waiting [2023-11-07T22:10:27.523Z] bde34c3a00c8: Waiting [2023-11-07T22:10:27.523Z] eaf3925da568: Waiting [2023-11-07T22:10:27.523Z] b352a97aabf1: Waiting [2023-11-07T22:10:27.523Z] 988bab9f4d93: Waiting [2023-11-07T22:10:27.523Z] 1469e6f7b9e6: Waiting [2023-11-07T22:10:27.523Z] 4872d77fe225: Waiting [2023-11-07T22:10:27.523Z] 5851b861e8e6: Waiting [2023-11-07T22:10:27.523Z] e2be974225ed: Verifying Checksum [2023-11-07T22:10:27.523Z] e2be974225ed: Download complete [2023-11-07T22:10:27.523Z] 988bab9f4d93: Verifying Checksum [2023-11-07T22:10:27.523Z] 988bab9f4d93: Download complete [2023-11-07T22:10:27.783Z] 339a4e72a1f5: Verifying Checksum [2023-11-07T22:10:27.783Z] 339a4e72a1f5: Download complete [2023-11-07T22:10:27.783Z] 1469e6f7b9e6: Verifying Checksum [2023-11-07T22:10:27.783Z] 1469e6f7b9e6: Download complete [2023-11-07T22:10:27.783Z] eaf3925da568: Verifying Checksum [2023-11-07T22:10:27.783Z] eaf3925da568: Download complete [2023-11-07T22:10:27.783Z] bde34c3a00c8: Download complete [2023-11-07T22:10:27.783Z] b352a97aabf1: Verifying Checksum [2023-11-07T22:10:27.783Z] b352a97aabf1: Download complete [2023-11-07T22:10:27.783Z] 4872d77fe225: Verifying Checksum [2023-11-07T22:10:27.783Z] 4872d77fe225: Download complete [2023-11-07T22:10:27.783Z] 5851b861e8e6: Verifying Checksum [2023-11-07T22:10:27.783Z] 5851b861e8e6: Download complete [2023-11-07T22:10:27.783Z] b85a868b505f: Verifying Checksum [2023-11-07T22:10:27.783Z] b85a868b505f: Download complete [2023-11-07T22:10:28.042Z] bab4dde63d76: Verifying Checksum [2023-11-07T22:10:28.042Z] bab4dde63d76: Download complete [2023-11-07T22:10:28.982Z] b85a868b505f: Pull complete [2023-11-07T22:10:28.982Z] e2be974225ed: Pull complete [2023-11-07T22:10:29.551Z] 339a4e72a1f5: Pull complete [2023-11-07T22:10:29.551Z] 988bab9f4d93: Pull complete [2023-11-07T22:10:29.811Z] 1469e6f7b9e6: Pull complete [2023-11-07T22:10:29.812Z] eaf3925da568: Pull complete [2023-11-07T22:10:31.717Z] bab4dde63d76: Pull complete [2023-11-07T22:10:31.717Z] bde34c3a00c8: Pull complete [2023-11-07T22:10:31.717Z] b352a97aabf1: Pull complete [2023-11-07T22:10:31.717Z] 4872d77fe225: Pull complete [2023-11-07T22:10:31.717Z] 5851b861e8e6: Pull complete [2023-11-07T22:10:31.977Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-07T22:10:31.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T22:10:31.977Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:10:32.080Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:10:32.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-07T22:10:36.797Z] $ docker top 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 -eo pid,comm [2023-11-07T22:10:36.839Z] 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-07T22:10:36.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T22:10:36.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T22:10:36.879Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T22:10:36.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T22:10:36.996Z] $ docker exec 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 ssh-agent [2023-11-07T22:10:37.081Z] SSH_AUTH_SOCK=/tmp/ssh-Ul2ylqOb7i5m/agent.31 [2023-11-07T22:10:37.081Z] SSH_AGENT_PID=37 [2023-11-07T22:10:37.089Z] Running ssh-add (command line suppressed) [2023-11-07T22:10:37.189Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_napa@tmp/private_key_17154682423191782363.key (/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/private_key_17154682423191782363.key) [2023-11-07T22:10:37.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T22:10:37.483Z] + git tag --points-at abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] } [2023-11-07T22:10:37.502Z] $ docker exec --env ******** --env ******** 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 ssh-agent -k [2023-11-07T22:10:37.616Z] unset SSH_AUTH_SOCK; [2023-11-07T22:10:37.617Z] unset SSH_AGENT_PID; [2023-11-07T22:10:37.617Z] echo Agent pid 37 killed; [2023-11-07T22:10:37.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-11-07T22:10:37.639Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent [2023-11-07T22:10:37.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T22:10:37.658Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T22:10:37.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T22:10:37.784Z] $ docker exec 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 ssh-agent [2023-11-07T22:10:37.882Z] SSH_AUTH_SOCK=/tmp/ssh-Hp786HW4vBHI/agent.69 [2023-11-07T22:10:37.882Z] SSH_AGENT_PID=75 [2023-11-07T22:10:37.887Z] Running ssh-add (command line suppressed) [2023-11-07T22:10:37.991Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_napa@tmp/private_key_466266249626341854.key (/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/private_key_466266249626341854.key) [2023-11-07T22:10:37.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T22:10:38.288Z] + git semver init [2023-11-07T22:10:38.548Z] 2023-11-07 22:10:38,478 [run_init] DEBUG init version:0.0.0 force:False [2023-11-07T22:10:38.549Z] 2023-11-07 22:10:38,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_napa/.semver [2023-11-07T22:10:38.549Z] 2023-11-07 22:10:38,479 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_napa/.semver [2023-11-07T22:10:38.549Z] 2023-11-07 22:10:38,479 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_napa, universal_newlines=False, shell=None, istream=None) [2023-11-07T22:10:39.931Z] 2023-11-07 22:10:39,717 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_napa/.git/info/exclude [2023-11-07T22:10:39.931Z] 2023-11-07 22:10:39,718 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_napa/.semver/napa with force:False [2023-11-07T22:10:39.931Z] 2023-11-07 22:10:39,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_napa/.semver/napa [2023-11-07T22:10:39.931Z] 2023-11-07 22:10:39,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_napa/.semver/napa [2023-11-07T22:10:39.931Z] 3.1.0 [Pipeline] } [2023-11-07T22:10:39.950Z] $ docker exec --env ******** --env ******** 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 ssh-agent -k [2023-11-07T22:10:40.051Z] unset SSH_AUTH_SOCK; [2023-11-07T22:10:40.051Z] unset SSH_AGENT_PID; [2023-11-07T22:10:40.052Z] echo Agent pid 75 killed; [2023-11-07T22:10:40.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T22:10:40.365Z] + git semver [Pipeline] } [2023-11-07T22:10:40.646Z] $ docker stop --time=1 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 [2023-11-07T22:10:41.932Z] $ docker rm -f --volumes 9189107dac1d32939b42b7df527685698ff7d9ed58cbb734c3ac4542df23fe40 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T22:10:42.261Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-07T22:10:42.481Z] Stashed 1 file(s) [Pipeline] echo [2023-11-07T22:10:42.486Z] [edgeXSemver]: initialized semver on version 3.1.0 [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] sh [2023-11-07T22:10:42.889Z] + git checkout abf78bec53b58046fbccef7a1c02cd98bf2dc47d [2023-11-07T22:10:42.889Z] HEAD is now at abf78be ci(lts-release): LTS release v3.1.0 @7730e9b [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T22:10:42.913Z] provisioning config files... [2023-11-07T22:10:42.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config1966915408169195133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:10:43.219Z] ---> docker-login.sh [2023-11-07T22:10:43.219Z] nexus3.edgexfoundry.org:10001 [2023-11-07T22:10:43.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:43.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:43.219Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:43.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:43.219Z] [2023-11-07T22:10:43.219Z] Login Succeeded [2023-11-07T22:10:43.219Z] nexus3.edgexfoundry.org:10002 [2023-11-07T22:10:43.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:43.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:43.219Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:43.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:43.219Z] [2023-11-07T22:10:43.219Z] Login Succeeded [2023-11-07T22:10:43.219Z] nexus3.edgexfoundry.org:10003 [2023-11-07T22:10:43.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:43.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:43.479Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:43.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:43.479Z] [2023-11-07T22:10:43.479Z] Login Succeeded [2023-11-07T22:10:43.479Z] nexus3.edgexfoundry.org:10004 [2023-11-07T22:10:43.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:43.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:43.479Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:43.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:43.479Z] [2023-11-07T22:10:43.479Z] Login Succeeded [2023-11-07T22:10:43.479Z] docker.io [2023-11-07T22:10:43.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:10:43.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:10:43.738Z] Configure a credential helper to remove this warning. See [2023-11-07T22:10:43.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:10:43.738Z] [2023-11-07T22:10:43.738Z] Login Succeeded [2023-11-07T22:10:43.738Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T22:10:43.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T22:10:43.810Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-07T22:10:44.108Z] + grep ^go [0-9].[0-9]* go.mod [2023-11-07T22:10:44.108Z] + cut -d -f 2 [Pipeline] echo [2023-11-07T22:10:44.127Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T22:10:44.135Z] ========================================================= [2023-11-07T22:10:44.135Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2023-11-07T22:10:44.135Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:10:44.450Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-07T22:10:44.709Z] Sending build context to Docker daemon 49.09MB [2023-11-07T22:10:44.709Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T22:10:44.709Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-07T22:10:44.709Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2023-11-07T22:10:44.709Z] 7264a8db6415: Pulling fs layer [2023-11-07T22:10:44.709Z] c4d48a809fc2: Pulling fs layer [2023-11-07T22:10:44.709Z] 4f1c88b9dad5: Pulling fs layer [2023-11-07T22:10:44.709Z] ad3a456e5733: Pulling fs layer [2023-11-07T22:10:44.709Z] c18fa81d9127: Pulling fs layer [2023-11-07T22:10:44.709Z] 83d65dbc5f9c: Pulling fs layer [2023-11-07T22:10:44.709Z] ca66528b628b: Pulling fs layer [2023-11-07T22:10:44.709Z] d2d28cf25280: Pulling fs layer [2023-11-07T22:10:44.709Z] ad3a456e5733: Waiting [2023-11-07T22:10:44.709Z] ca66528b628b: Waiting [2023-11-07T22:10:44.709Z] d2d28cf25280: Waiting [2023-11-07T22:10:44.709Z] c18fa81d9127: Waiting [2023-11-07T22:10:44.709Z] 83d65dbc5f9c: Waiting [2023-11-07T22:10:44.709Z] c4d48a809fc2: Verifying Checksum [2023-11-07T22:10:44.709Z] c4d48a809fc2: Download complete [2023-11-07T22:10:44.709Z] ad3a456e5733: Verifying Checksum [2023-11-07T22:10:44.709Z] ad3a456e5733: Download complete [2023-11-07T22:10:44.970Z] c18fa81d9127: Verifying Checksum [2023-11-07T22:10:44.970Z] c18fa81d9127: Download complete [2023-11-07T22:10:44.970Z] 7264a8db6415: Verifying Checksum [2023-11-07T22:10:44.970Z] 7264a8db6415: Download complete [2023-11-07T22:10:44.970Z] 83d65dbc5f9c: Verifying Checksum [2023-11-07T22:10:44.970Z] 83d65dbc5f9c: Download complete [2023-11-07T22:10:45.231Z] d2d28cf25280: Download complete [2023-11-07T22:10:45.231Z] 7264a8db6415: Pull complete [2023-11-07T22:10:45.231Z] c4d48a809fc2: Pull complete [2023-11-07T22:10:45.231Z] 4f1c88b9dad5: Verifying Checksum [2023-11-07T22:10:45.231Z] 4f1c88b9dad5: Download complete [2023-11-07T22:10:45.801Z] ca66528b628b: Verifying Checksum [2023-11-07T22:10:48.338Z] 4f1c88b9dad5: Pull complete [2023-11-07T22:10:48.338Z] ad3a456e5733: Pull complete [2023-11-07T22:10:48.597Z] c18fa81d9127: Pull complete [2023-11-07T22:10:48.597Z] 83d65dbc5f9c: Pull complete [2023-11-07T22:10:51.129Z] ca66528b628b: Pull complete [2023-11-07T22:10:51.694Z] d2d28cf25280: Pull complete [2023-11-07T22:10:51.694Z] Digest: sha256:8d16f26b14230ab442cc7a800e68e3b2df9e45f607326fe451ef52587282ac63 [2023-11-07T22:10:51.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2023-11-07T22:10:51.954Z] ---> 5a4789a466bc [2023-11-07T22:10:51.954Z] Step 3/10 : ARG MAKE=make build [2023-11-07T22:10:57.587Z] Still waiting to schedule task [2023-11-07T22:10:57.587Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16896’ is offline [2023-11-07T22:10:58.533Z] ---> Running in d33312d8c18e [2023-11-07T22:10:58.533Z] Removing intermediate container d33312d8c18e [2023-11-07T22:10:58.533Z] ---> 609900b0a1d5 [2023-11-07T22:10:58.533Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-07T22:10:58.533Z] ---> Running in 9ae9e2185942 [2023-11-07T22:10:58.533Z] Removing intermediate container 9ae9e2185942 [2023-11-07T22:10:58.533Z] ---> 1cbfdbe5f22b [2023-11-07T22:10:58.533Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T22:10:58.533Z] ---> Running in bd7a116cdaf0 [2023-11-07T22:10:58.533Z] Removing intermediate container bd7a116cdaf0 [2023-11-07T22:10:58.533Z] ---> 3c60ffc5e568 [2023-11-07T22:10:58.533Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-07T22:10:58.533Z] ---> Running in 9362fce108b1 [2023-11-07T22:10:58.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T22:10:58.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T22:10:58.796Z] OK: 264 MiB in 52 packages [2023-11-07T22:10:59.363Z] Removing intermediate container 9362fce108b1 [2023-11-07T22:10:59.363Z] ---> ada03ab3ced0 [2023-11-07T22:10:59.363Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-07T22:11:01.268Z] ---> 906ac3a085dc [2023-11-07T22:11:01.268Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T22:11:01.268Z] ---> Running in f3375b090ca9 [2023-11-07T22:11:40.015Z] Removing intermediate container f3375b090ca9 [2023-11-07T22:11:40.015Z] ---> 07f624997568 [2023-11-07T22:11:40.015Z] Step 9/10 : COPY . . [2023-11-07T22:11:40.015Z] ---> 900d7ae8111f [2023-11-07T22:11:40.015Z] Step 10/10 : RUN ${MAKE} [2023-11-07T22:11:40.015Z] ---> Running in e912ed9a0c7f [2023-11-07T22:11:40.274Z] noop [2023-11-07T22:11:40.534Z] Removing intermediate container e912ed9a0c7f [2023-11-07T22:11:40.534Z] ---> 50bfd5f59674 [2023-11-07T22:11:40.796Z] Successfully built 50bfd5f59674 [2023-11-07T22:11:40.796Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:11:41.107Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T22:11:41.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:11:41.177Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:11:41.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:11:41.606Z] $ docker top cf2e9fb2505fe0eda5a9ecb880ec9bc5bbcd3f8c7906bdd4a204df59fbbf88db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T22:11:41.947Z] + go version [2023-11-07T22:11:41.947Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-07T22:11:41.961Z] $ docker stop --time=1 cf2e9fb2505fe0eda5a9ecb880ec9bc5bbcd3f8c7906bdd4a204df59fbbf88db [2023-11-07T22:11:43.230Z] $ docker rm -f --volumes cf2e9fb2505fe0eda5a9ecb880ec9bc5bbcd3f8c7906bdd4a204df59fbbf88db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:11:43.627Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T22:11:43.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:11:43.698Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:11:43.728Z] $ 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_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:11:44.057Z] $ docker top 9a1c848fd450dcf4269125a1d5abd9cb1dd114970e2aa2979f9e4b3af9d9e419 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T22:11:44.400Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_napa [Pipeline] fileExists [Pipeline] sh [2023-11-07T22:11:44.696Z] + make test [2023-11-07T22:11:44.697Z] go test -race -coverprofile=coverage.out ./... [2023-11-07T22:11:51.264Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-07T22:12:06.131Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.062s coverage: 27.6% of statements [2023-11-07T22:12:06.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-07T22:12:06.131Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 81.5% of statements [2023-11-07T22:12:06.131Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.059s coverage: 86.0% of statements [2023-11-07T22:12:06.698Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.077s coverage: 71.8% of statements [2023-11-07T22:12:06.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-07T22:12:06.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-07T22:12:06.957Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-07T22:12:10.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements [2023-11-07T22:12:10.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.017s coverage: 45.9% of statements [2023-11-07T22:12:10.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2023-11-07T22:12:10.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.114s coverage: 89.2% of statements [2023-11-07T22:12:10.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements [2023-11-07T22:12:25.326Z] GO111MODULE=on go vet ./... [2023-11-07T22:12:28.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T22:12:28.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T22:12:28.628Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T22:12:28.644Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-07T22:12:28.943Z] + go mod tidy [Pipeline] } [2023-11-07T22:12:29.212Z] $ docker stop --time=1 9a1c848fd450dcf4269125a1d5abd9cb1dd114970e2aa2979f9e4b3af9d9e419 [2023-11-07T22:12:33.297Z] $ docker rm -f --volumes 9a1c848fd450dcf4269125a1d5abd9cb1dd114970e2aa2979f9e4b3af9d9e419 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T22:12:33.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T22:12:33.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-07T22:12:34.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T22:12:34.735Z] + ls -al . [2023-11-07T22:12:34.735Z] total 312 [2023-11-07T22:12:34.735Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:11 . [2023-11-07T22:12:34.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:10 .. [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 22:10 .dockerignore [2023-11-07T22:12:34.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:12 .git [2023-11-07T22:12:34.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:10 .github [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 130 Nov 7 22:10 .gitignore [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 22:10 .golangci.yml [2023-11-07T22:12:34.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:10 .semver [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 22:10 CHANGELOG.md [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:10 GOVERNANCE.md [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 22:10 Jenkinsfile [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 22:10 LICENSE [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 22:10 Makefile [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 22:10 OWNERS.md [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 22:10 README.md [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:10 VERSION [2023-11-07T22:12:34.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:10 bin [2023-11-07T22:12:34.735Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 7 22:12 coverage.out [2023-11-07T22:12:34.735Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 22:10 example [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 22:10 go.mod [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 22:10 go.sum [2023-11-07T22:12:34.735Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:10 internal [2023-11-07T22:12:34.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:10 openapi [2023-11-07T22:12:34.735Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:10 pkg [2023-11-07T22:12:34.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:10 snap [2023-11-07T22:12:34.735Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:10 vendor [2023-11-07T22:12:34.735Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:12:35.039Z] + 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=abf78bec53b58046fbccef7a1c02cd98bf2dc47d --label arch=amd64 --label version=3.1.0 . [2023-11-07T22:12:35.298Z] Sending build context to Docker daemon 49.21MB [2023-11-07T22:12:35.298Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T22:12:35.298Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-07T22:12:35.298Z] ---> 50bfd5f59674 [2023-11-07T22:12:35.298Z] Step 3/23 : ARG MAKE=make build [2023-11-07T22:12:36.237Z] ---> Running in 1f27e123f618 [2023-11-07T22:12:36.237Z] Removing intermediate container 1f27e123f618 [2023-11-07T22:12:36.237Z] ---> 737251aae8a1 [2023-11-07T22:12:36.237Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-07T22:12:36.237Z] ---> Running in 0e9f753478e8 [2023-11-07T22:12:36.237Z] Removing intermediate container 0e9f753478e8 [2023-11-07T22:12:36.237Z] ---> cc14a9a68f6a [2023-11-07T22:12:36.237Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T22:12:36.237Z] ---> Running in 10111bf64a04 [2023-11-07T22:12:36.237Z] Removing intermediate container 10111bf64a04 [2023-11-07T22:12:36.237Z] ---> 5ea3c0de1065 [2023-11-07T22:12:36.237Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-07T22:12:36.237Z] ---> Running in bb3a33d5231e [2023-11-07T22:12:36.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T22:12:36.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T22:12:37.017Z] OK: 264 MiB in 52 packages [2023-11-07T22:12:37.278Z] Removing intermediate container bb3a33d5231e [2023-11-07T22:12:37.279Z] ---> 4c72613554e5 [2023-11-07T22:12:37.279Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-07T22:12:39.184Z] ---> da39778fe179 [2023-11-07T22:12:39.184Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T22:12:39.184Z] ---> Running in 8dd7712e99c2 [2023-11-07T22:12:39.443Z] skipping... [2023-11-07T22:12:39.701Z] Removing intermediate container 8dd7712e99c2 [2023-11-07T22:12:39.701Z] ---> 1b33f5c03858 [2023-11-07T22:12:39.701Z] Step 9/23 : COPY . . [2023-11-07T22:12:41.632Z] ---> 4cb1b7ea599b [2023-11-07T22:12:41.632Z] Step 10/23 : RUN ${MAKE} [2023-11-07T22:12:41.632Z] ---> Running in f123e96a8903 [2023-11-07T22:12:41.892Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-07T22:12:59.974Z] Removing intermediate container f123e96a8903 [2023-11-07T22:12:59.974Z] ---> a890aa95fe2e [2023-11-07T22:12:59.974Z] Step 11/23 : FROM alpine:3.18 [2023-11-07T22:12:59.974Z] 3.18: Pulling from library/alpine [2023-11-07T22:13:00.543Z] 96526aa774ef: Pulling fs layer [2023-11-07T22:13:00.543Z] 96526aa774ef: Verifying Checksum [2023-11-07T22:13:00.543Z] 96526aa774ef: Download complete [2023-11-07T22:13:01.118Z] 96526aa774ef: Pull complete [2023-11-07T22:13:01.118Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T22:13:01.118Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T22:13:01.118Z] ---> 8ca4688f4f35 [2023-11-07T22:13:01.118Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-07T22:13:01.118Z] ---> Running in 49f3507ffe74 [2023-11-07T22:13:01.378Z] Removing intermediate container 49f3507ffe74 [2023-11-07T22:13:01.378Z] ---> d5b129e6a7cc [2023-11-07T22:13:01.378Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-07T22:13:01.378Z] ---> Running in 7f06afdd3e98 [2023-11-07T22:13:01.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T22:13:01.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T22:13:02.206Z] OK: 7 MiB in 15 packages [2023-11-07T22:13:02.776Z] Removing intermediate container 7f06afdd3e98 [2023-11-07T22:13:02.776Z] ---> 5d2c9feafa51 [2023-11-07T22:13:02.776Z] Step 14/23 : WORKDIR / [2023-11-07T22:13:02.776Z] ---> Running in 84bc7c99be84 [2023-11-07T22:13:02.776Z] Removing intermediate container 84bc7c99be84 [2023-11-07T22:13:02.776Z] ---> 27c266c9984e [2023-11-07T22:13:02.776Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-07T22:13:03.038Z] ---> 882c58662bd7 [2023-11-07T22:13:03.038Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-07T22:13:03.606Z] ---> 79e992678753 [2023-11-07T22:13:03.606Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-07T22:13:03.606Z] ---> c40ff4a55535 [2023-11-07T22:13:03.606Z] Step 18/23 : EXPOSE 59999 [2023-11-07T22:13:03.606Z] ---> Running in 327e5d8e025d [2023-11-07T22:13:03.866Z] Removing intermediate container 327e5d8e025d [2023-11-07T22:13:03.866Z] ---> e234b2bbda0d [2023-11-07T22:13:03.866Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-07T22:13:03.866Z] ---> Running in aecc23db1c8d [2023-11-07T22:13:03.866Z] Removing intermediate container aecc23db1c8d [2023-11-07T22:13:03.866Z] ---> 8cce5a378760 [2023-11-07T22:13:03.866Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-07T22:13:03.866Z] ---> Running in c85495c9e7bf [2023-11-07T22:13:03.866Z] Removing intermediate container c85495c9e7bf [2023-11-07T22:13:03.866Z] ---> 05fa4e2dc4b6 [2023-11-07T22:13:03.866Z] Step 21/23 : LABEL arch=amd64 [2023-11-07T22:13:03.866Z] ---> Running in e369b3911a9e [2023-11-07T22:13:04.126Z] Removing intermediate container e369b3911a9e [2023-11-07T22:13:04.126Z] ---> 2b37e12aff47 [2023-11-07T22:13:04.126Z] Step 22/23 : LABEL git_sha=abf78bec53b58046fbccef7a1c02cd98bf2dc47d [2023-11-07T22:13:04.126Z] ---> Running in 77e25681f625 [2023-11-07T22:13:04.126Z] Removing intermediate container 77e25681f625 [2023-11-07T22:13:04.126Z] ---> 84562c67c435 [2023-11-07T22:13:04.126Z] Step 23/23 : LABEL version=3.1.0 [2023-11-07T22:13:04.126Z] ---> Running in 629d03f38521 [2023-11-07T22:13:04.126Z] Removing intermediate container 629d03f38521 [2023-11-07T22:13:04.126Z] ---> c07028a5df80 [2023-11-07T22:13:04.126Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T22:13:04.126Z] Successfully built c07028a5df80 [2023-11-07T22:13:04.126Z] 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-07T22:13:04.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T22:13:04.586Z] [2023-11-07T22:13:04.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:13:04.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T22:13:04.899Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-07T22:13:04.899Z] 5eb5b503b376: Pulling fs layer [2023-11-07T22:13:04.899Z] 5c69ac0246d0: Pulling fs layer [2023-11-07T22:13:04.899Z] ec43610c2a17: Pulling fs layer [2023-11-07T22:13:04.899Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-07T22:13:04.899Z] 33b1e0a273af: Pulling fs layer [2023-11-07T22:13:04.899Z] 5d3b04190fa2: Pulling fs layer [2023-11-07T22:13:04.899Z] 2f39f015ded8: Pulling fs layer [2023-11-07T22:13:04.899Z] 3a2ae6a8a46f: Waiting [2023-11-07T22:13:04.899Z] 5d3b04190fa2: Waiting [2023-11-07T22:13:04.899Z] 2f39f015ded8: Waiting [2023-11-07T22:13:04.899Z] 33b1e0a273af: Waiting [2023-11-07T22:13:04.899Z] 5c69ac0246d0: Download complete [2023-11-07T22:13:04.899Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-07T22:13:04.899Z] 3a2ae6a8a46f: Download complete [2023-11-07T22:13:04.899Z] 33b1e0a273af: Verifying Checksum [2023-11-07T22:13:04.899Z] 33b1e0a273af: Download complete [2023-11-07T22:13:04.899Z] 5d3b04190fa2: Verifying Checksum [2023-11-07T22:13:04.899Z] 5d3b04190fa2: Download complete [2023-11-07T22:13:04.899Z] ec43610c2a17: Verifying Checksum [2023-11-07T22:13:04.899Z] ec43610c2a17: Download complete [2023-11-07T22:13:05.166Z] 5eb5b503b376: Verifying Checksum [2023-11-07T22:13:05.166Z] 5eb5b503b376: Download complete [2023-11-07T22:13:05.732Z] 2f39f015ded8: Download complete [2023-11-07T22:13:06.298Z] 5eb5b503b376: Pull complete [2023-11-07T22:13:06.298Z] 5c69ac0246d0: Pull complete [2023-11-07T22:13:06.866Z] ec43610c2a17: Pull complete [2023-11-07T22:13:06.866Z] 3a2ae6a8a46f: Pull complete [2023-11-07T22:13:07.124Z] 33b1e0a273af: Pull complete [2023-11-07T22:13:07.124Z] 5d3b04190fa2: Pull complete [2023-11-07T22:13:11.313Z] 2f39f015ded8: Pull complete [2023-11-07T22:13:11.313Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-07T22:13:11.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T22:13:11.313Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:13:11.401Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:13:11.430Z] $ 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_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:13:13.297Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16897 in /w/workspace/edgexfoundry_device-sdk-go_napa [2023-11-07T22:13:15.669Z] $ docker top bdc7c5ccc9871481703ec75847e0a0f0d207002a768fa6d8528b6e438fb29aaa -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-11-07T22:13:15.806Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-11-07T22:13:15.835Z] The recommended git tool is: git [2023-11-07T22:13:16.059Z] ---> job-cost.sh [2023-11-07T22:13:16.059Z] lf-activate-venv: SKIPPING [2023-11-07T22:13:16.059Z] INFO: No Stack... [2023-11-07T22:13:16.319Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T22:13:16.886Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T22:13:17.178Z] + cat /w/workspace/edgexfoundry_device-sdk-go_napa/archives/cost.csv [2023-11-07T22:13:17.178Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T22:13:17.193Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] [2023-11-07T22:13:17.200Z] Resource [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] did not exist. Created. [2023-11-07T22:13:17.200Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T22:13:17.509Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-07T22:13:17.568Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T22:13:17.575Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T22:13:17.598Z] $ docker stop --time=1 bdc7c5ccc9871481703ec75847e0a0f0d207002a768fa6d8528b6e438fb29aaa [2023-11-07T22:13:18.784Z] $ docker rm -f --volumes bdc7c5ccc9871481703ec75847e0a0f0d207002a768fa6d8528b6e438fb29aaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-07T22:13:20.527Z] using credential edgex-jenkins-ssh [2023-11-07T22:13:20.546Z] Cloning the remote Git repository [2023-11-07T22:13:20.603Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T22:13:20.694Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-11-07T22:13:20.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T22:13:20.830Z] > git --version # timeout=10 [2023-11-07T22:13:20.851Z] > git --version # 'git version 2.25.1' [2023-11-07T22:13:20.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T22:13:21.005Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T22:13:24.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-07T22:13:24.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T22:13:25.314Z] Avoid second fetch [2023-11-07T22:13:25.314Z] Checking out Revision abf78bec53b58046fbccef7a1c02cd98bf2dc47d (napa) [2023-11-07T22:13:25.332Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T22:13:25.400Z] > git checkout -f abf78bec53b58046fbccef7a1c02cd98bf2dc47d # timeout=10 [2023-11-07T22:13:26.616Z] Commit message: "ci(lts-release): LTS release v3.1.0 @7730e9b" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T22:13:27.497Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-07T22:13:27.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T22:13:27.498Z] Dload Upload Total Spent Left Speed [2023-11-07T22:13:27.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 238k 0 --:--:-- --:--:-- --:--:-- 238k [Pipeline] sh [2023-11-07T22:13:28.122Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-07T22:13:28.447Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-07T22:13:28.447Z] + sudo tee /etc/docker/daemon.new [2023-11-07T22:13:28.447Z] { [2023-11-07T22:13:28.447Z] "registry-mirrors": [ [2023-11-07T22:13:28.447Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-07T22:13:28.447Z] ], [2023-11-07T22:13:28.447Z] "bip": "10.250.0.254/24", [2023-11-07T22:13:28.447Z] "hosts": [ [2023-11-07T22:13:28.447Z] "tcp://0.0.0.0:5555", [2023-11-07T22:13:28.447Z] "unix:///var/run/docker.sock" [2023-11-07T22:13:28.447Z] ], [2023-11-07T22:13:28.447Z] "mtu": 1458, [2023-11-07T22:13:28.447Z] "selinux-enabled": true, [2023-11-07T22:13:28.447Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-07T22:13:28.447Z] } [Pipeline] sh [2023-11-07T22:13:28.773Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-07T22:13:29.106Z] + sudo service docker restart [Pipeline] sh [2023-11-07T22:13:47.672Z] + git checkout abf78bec53b58046fbccef7a1c02cd98bf2dc47d [2023-11-07T22:13:47.672Z] HEAD is now at abf78be ci(lts-release): LTS release v3.1.0 @7730e9b [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T22:13:47.703Z] provisioning config files... [2023-11-07T22:13:47.729Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15884929109935081663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:13:48.095Z] ---> docker-login.sh [2023-11-07T22:13:48.095Z] nexus3.edgexfoundry.org:10001 [2023-11-07T22:13:48.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:13:48.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:13:48.642Z] Configure a credential helper to remove this warning. See [2023-11-07T22:13:48.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:13:48.642Z] [2023-11-07T22:13:48.642Z] Login Succeeded [2023-11-07T22:13:48.642Z] nexus3.edgexfoundry.org:10002 [2023-11-07T22:13:48.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:13:49.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:13:49.189Z] Configure a credential helper to remove this warning. See [2023-11-07T22:13:49.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:13:49.189Z] [2023-11-07T22:13:49.189Z] Login Succeeded [2023-11-07T22:13:49.189Z] nexus3.edgexfoundry.org:10003 [2023-11-07T22:13:49.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:13:49.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:13:49.459Z] Configure a credential helper to remove this warning. See [2023-11-07T22:13:49.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:13:49.459Z] [2023-11-07T22:13:49.459Z] Login Succeeded [2023-11-07T22:13:49.459Z] nexus3.edgexfoundry.org:10004 [2023-11-07T22:13:49.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:13:49.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:13:49.731Z] Configure a credential helper to remove this warning. See [2023-11-07T22:13:49.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:13:49.731Z] [2023-11-07T22:13:49.731Z] Login Succeeded [2023-11-07T22:13:49.731Z] docker.io [2023-11-07T22:13:49.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T22:13:50.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T22:13:50.266Z] Configure a credential helper to remove this warning. See [2023-11-07T22:13:50.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T22:13:50.266Z] [2023-11-07T22:13:50.266Z] Login Succeeded [2023-11-07T22:13:50.266Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T22:13:50.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T22:13:50.805Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-07T22:13:51.129Z] + grep ^go [0-9].[0-9]* go.mod [2023-11-07T22:13:51.129Z] + cut -d -f 2 [Pipeline] echo [2023-11-07T22:13:51.630Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T22:13:51.643Z] ========================================================= [2023-11-07T22:13:51.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2023-11-07T22:13:51.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:13:51.999Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-07T22:13:54.602Z] Sending build context to Docker daemon 38.53MB [2023-11-07T22:13:54.603Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T22:13:54.603Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-07T22:13:54.603Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-07T22:13:54.603Z] 9fda8d8052c6: Pulling fs layer [2023-11-07T22:13:54.603Z] 5d54e960e981: Pulling fs layer [2023-11-07T22:13:54.603Z] c4a7e357bf2a: Pulling fs layer [2023-11-07T22:13:54.603Z] f0e02332f6b5: Pulling fs layer [2023-11-07T22:13:54.603Z] 6e4065e01335: Pulling fs layer [2023-11-07T22:13:54.603Z] 06636d6ab22d: Pulling fs layer [2023-11-07T22:13:54.603Z] 1cb80aa5db27: Pulling fs layer [2023-11-07T22:13:54.603Z] f0e02332f6b5: Waiting [2023-11-07T22:13:54.603Z] 6e4065e01335: Waiting [2023-11-07T22:13:54.603Z] 06636d6ab22d: Waiting [2023-11-07T22:13:54.603Z] 1cb80aa5db27: Waiting [2023-11-07T22:13:54.603Z] 5d54e960e981: Verifying Checksum [2023-11-07T22:13:54.603Z] 5d54e960e981: Download complete [2023-11-07T22:13:54.603Z] f0e02332f6b5: Verifying Checksum [2023-11-07T22:13:54.603Z] f0e02332f6b5: Download complete [2023-11-07T22:13:54.603Z] 6e4065e01335: Verifying Checksum [2023-11-07T22:13:54.603Z] 6e4065e01335: Download complete [2023-11-07T22:13:54.603Z] 9fda8d8052c6: Verifying Checksum [2023-11-07T22:13:54.603Z] 9fda8d8052c6: Download complete [2023-11-07T22:13:54.874Z] 1cb80aa5db27: Verifying Checksum [2023-11-07T22:13:54.874Z] 1cb80aa5db27: Download complete [2023-11-07T22:13:55.469Z] 9fda8d8052c6: Pull complete [2023-11-07T22:13:56.060Z] 5d54e960e981: Pull complete [2023-11-07T22:13:56.330Z] c4a7e357bf2a: Verifying Checksum [2023-11-07T22:13:56.330Z] c4a7e357bf2a: Download complete [2023-11-07T22:13:57.296Z] 06636d6ab22d: Verifying Checksum [2023-11-07T22:13:57.296Z] 06636d6ab22d: Download complete [2023-11-07T22:14:09.641Z] c4a7e357bf2a: Pull complete [2023-11-07T22:14:09.641Z] f0e02332f6b5: Pull complete [2023-11-07T22:14:09.641Z] 6e4065e01335: Pull complete [2023-11-07T22:14:22.058Z] 06636d6ab22d: Pull complete [2023-11-07T22:14:22.058Z] 1cb80aa5db27: Pull complete [2023-11-07T22:14:22.058Z] Digest: sha256:e0df56ef4834efc2c061268d988a980ce71e5ba195dfd58bf4e0367511888dde [2023-11-07T22:14:22.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2023-11-07T22:14:22.058Z] ---> 40acce8d2e51 [2023-11-07T22:14:22.058Z] Step 3/10 : ARG MAKE=make build [2023-11-07T22:14:24.011Z] ---> Running in 846d8635a17d [2023-11-07T22:14:24.279Z] Removing intermediate container 846d8635a17d [2023-11-07T22:14:24.279Z] ---> e332001c6b7d [2023-11-07T22:14:24.279Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-07T22:14:24.279Z] ---> Running in db7e849c736b [2023-11-07T22:14:24.547Z] Removing intermediate container db7e849c736b [2023-11-07T22:14:24.547Z] ---> cfc3786bbb9a [2023-11-07T22:14:24.547Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T22:14:24.547Z] ---> Running in 1c3fb6789514 [2023-11-07T22:14:24.832Z] Removing intermediate container 1c3fb6789514 [2023-11-07T22:14:24.832Z] ---> b9addb90f9bd [2023-11-07T22:14:24.832Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-07T22:14:25.106Z] ---> Running in 0f6e157446e7 [2023-11-07T22:14:26.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T22:14:26.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T22:14:27.650Z] OK: 266 MiB in 52 packages [2023-11-07T22:14:28.619Z] Removing intermediate container 0f6e157446e7 [2023-11-07T22:14:28.619Z] ---> f86637a940eb [2023-11-07T22:14:28.619Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-07T22:14:36.849Z] ---> 30172d75944e [2023-11-07T22:14:36.849Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T22:14:36.849Z] ---> Running in e4b7ffe6a348 [2023-11-07T22:15:58.495Z] Removing intermediate container e4b7ffe6a348 [2023-11-07T22:15:58.495Z] ---> 5022dd9b5fce [2023-11-07T22:15:58.495Z] Step 9/10 : COPY . . [2023-11-07T22:15:58.495Z] ---> f3ca6a54934c [2023-11-07T22:15:58.495Z] Step 10/10 : RUN ${MAKE} [2023-11-07T22:15:58.495Z] ---> Running in 6a683ac089c1 [2023-11-07T22:15:58.495Z] noop [2023-11-07T22:15:58.495Z] Removing intermediate container 6a683ac089c1 [2023-11-07T22:15:58.495Z] ---> c57e20454f9a [2023-11-07T22:15:58.495Z] Successfully built c57e20454f9a [2023-11-07T22:15:58.495Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:15:58.842Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T22:15:58.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:15:59.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-16897 does not seem to be running inside a container [2023-11-07T22:15:59.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-07T22:16:00.503Z] $ docker top d3f25401048879ae78d55c30c6e2c2287301f8cdb0e6c0f683acf01468de1781 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T22:16:01.348Z] + go version [2023-11-07T22:16:01.348Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-07T22:16:01.366Z] $ docker stop --time=1 d3f25401048879ae78d55c30c6e2c2287301f8cdb0e6c0f683acf01468de1781 [2023-11-07T22:16:03.040Z] $ docker rm -f --volumes d3f25401048879ae78d55c30c6e2c2287301f8cdb0e6c0f683acf01468de1781 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:16:03.600Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T22:16:03.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:16:03.774Z] prd-ubuntu20.04-docker-arm64-4c-16g-16897 does not seem to be running inside a container [2023-11-07T22:16:03.835Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-07T22:16:05.018Z] $ docker top a57791397e9e554f3ac3a14a326182ea5e1898ccc127f9a749f8e8e048dcea96 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T22:16:05.517Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-07T22:16:05.852Z] + make test [2023-11-07T22:16:05.852Z] go test -race -coverprofile=coverage.out ./... [2023-11-07T22:16:44.746Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-07T22:18:36.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-07T22:18:36.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-07T22:18:36.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-07T22:18:36.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-07T22:18:36.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-07T22:18:43.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.236s coverage: 27.6% of statements [2023-11-07T22:18:51.266Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.299s coverage: 81.5% of statements [2023-11-07T22:18:59.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-07T22:18:59.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-07T22:19:00.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.317s coverage: 86.0% of statements [2023-11-07T22:19:04.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-07T22:19:06.237Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.427s coverage: 71.8% of statements [2023-11-07T22:19:08.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.252s coverage: 14.4% of statements [2023-11-07T22:19:08.809Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.916s coverage: 45.9% of statements [2023-11-07T22:19:09.075Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-07T22:19:09.075Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-07T22:19:10.477Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.387s coverage: 68.5% of statements [2023-11-07T22:19:13.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.416s coverage: 89.2% of statements [2023-11-07T22:19:13.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-07T22:19:14.767Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.225s coverage: 5.5% of statements [2023-11-07T22:19:15.724Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-07T22:19:15.724Z] GO111MODULE=on go vet ./... [2023-11-07T22:20:52.347Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T22:20:52.347Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T22:20:52.347Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T22:20:52.366Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-07T22:20:53.007Z] + go mod tidy [Pipeline] } [2023-11-07T22:20:56.373Z] $ docker stop --time=1 a57791397e9e554f3ac3a14a326182ea5e1898ccc127f9a749f8e8e048dcea96 [2023-11-07T22:20:58.407Z] $ docker rm -f --volumes a57791397e9e554f3ac3a14a326182ea5e1898ccc127f9a749f8e8e048dcea96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T22:21:00.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T22:21:00.290Z] Warning: overwriting stash ‘coverage-report’ [2023-11-07T22:21:01.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T22:21:01.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T22:21:02.052Z] + ls -al . [2023-11-07T22:21:02.052Z] total 308 [2023-11-07T22:21:02.052Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 22:16 . [2023-11-07T22:21:02.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:13 .. [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 22:13 .dockerignore [2023-11-07T22:21:02.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:13 .git [2023-11-07T22:21:02.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:13 .github [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 130 Nov 7 22:13 .gitignore [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 22:13 .golangci.yml [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 22:13 CHANGELOG.md [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:13 GOVERNANCE.md [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 22:13 Jenkinsfile [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 22:13 LICENSE [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 22:13 Makefile [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 22:13 OWNERS.md [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 22:13 README.md [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:10 VERSION [2023-11-07T22:21:02.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:13 bin [2023-11-07T22:21:02.052Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 7 22:19 coverage.out [2023-11-07T22:21:02.052Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 22:13 example [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 22:13 go.mod [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 22:13 go.sum [2023-11-07T22:21:02.052Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:13 internal [2023-11-07T22:21:02.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:13 openapi [2023-11-07T22:21:02.052Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:13 pkg [2023-11-07T22:21:02.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:13 snap [2023-11-07T22:21:02.052Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:13 vendor [2023-11-07T22:21:02.052Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:21:02.397Z] + 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=abf78bec53b58046fbccef7a1c02cd98bf2dc47d --label arch=arm64 --label version=3.1.0 . [2023-11-07T22:21:05.044Z] Sending build context to Docker daemon 38.65MB [2023-11-07T22:21:05.044Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T22:21:05.044Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-07T22:21:05.044Z] ---> c57e20454f9a [2023-11-07T22:21:05.044Z] Step 3/23 : ARG MAKE=make build [2023-11-07T22:21:05.325Z] ---> Running in bcb81a647c8e [2023-11-07T22:21:05.592Z] Removing intermediate container bcb81a647c8e [2023-11-07T22:21:05.592Z] ---> 6f5e8820f344 [2023-11-07T22:21:05.592Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-07T22:21:05.592Z] ---> Running in 95e31ab27dba [2023-11-07T22:21:05.860Z] Removing intermediate container 95e31ab27dba [2023-11-07T22:21:05.860Z] ---> 4f432bf43679 [2023-11-07T22:21:05.860Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T22:21:05.860Z] ---> Running in fc784cba536f [2023-11-07T22:21:06.447Z] Removing intermediate container fc784cba536f [2023-11-07T22:21:06.447Z] ---> 95db346d6116 [2023-11-07T22:21:06.447Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-07T22:21:06.447Z] ---> Running in 87028255ff5a [2023-11-07T22:21:07.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T22:21:07.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T22:21:09.077Z] OK: 266 MiB in 52 packages [2023-11-07T22:21:09.659Z] Removing intermediate container 87028255ff5a [2023-11-07T22:21:09.659Z] ---> e7bd6929ff9f [2023-11-07T22:21:09.659Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-07T22:21:17.852Z] ---> f7b951b40f6f [2023-11-07T22:21:17.852Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T22:21:17.852Z] ---> Running in 58b992a248d9 [2023-11-07T22:21:17.852Z] skipping... [2023-11-07T22:21:18.120Z] Removing intermediate container 58b992a248d9 [2023-11-07T22:21:18.120Z] ---> 863007ffa4e4 [2023-11-07T22:21:18.120Z] Step 9/23 : COPY . . [2023-11-07T22:21:26.311Z] ---> 778106bc9630 [2023-11-07T22:21:26.311Z] Step 10/23 : RUN ${MAKE} [2023-11-07T22:21:26.311Z] ---> Running in 25442cebe7c1 [2023-11-07T22:21:26.891Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-07T22:23:18.563Z] Removing intermediate container 25442cebe7c1 [2023-11-07T22:23:18.563Z] ---> 4bd0cd5fe86c [2023-11-07T22:23:18.563Z] Step 11/23 : FROM alpine:3.18 [2023-11-07T22:23:18.563Z] 3.18: Pulling from library/alpine [2023-11-07T22:23:18.563Z] 579b34f0a95b: Pulling fs layer [2023-11-07T22:23:18.563Z] 579b34f0a95b: Verifying Checksum [2023-11-07T22:23:18.563Z] 579b34f0a95b: Download complete [2023-11-07T22:23:18.563Z] 579b34f0a95b: Pull complete [2023-11-07T22:23:18.563Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T22:23:18.563Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T22:23:18.563Z] ---> 3cc203321400 [2023-11-07T22:23:18.563Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-07T22:23:18.563Z] ---> Running in 5c194adf00f6 [2023-11-07T22:23:18.563Z] Removing intermediate container 5c194adf00f6 [2023-11-07T22:23:18.563Z] ---> 18e28bad340c [2023-11-07T22:23:18.563Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-07T22:23:18.563Z] ---> Running in 93625ebe8d57 [2023-11-07T22:23:18.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T22:23:18.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T22:23:19.517Z] OK: 8 MiB in 15 packages [2023-11-07T22:23:20.476Z] Removing intermediate container 93625ebe8d57 [2023-11-07T22:23:20.476Z] ---> 768b0ae110b7 [2023-11-07T22:23:20.476Z] Step 14/23 : WORKDIR / [2023-11-07T22:23:20.476Z] ---> Running in 074f77868b29 [2023-11-07T22:23:20.742Z] Removing intermediate container 074f77868b29 [2023-11-07T22:23:20.742Z] ---> f7a27d984720 [2023-11-07T22:23:20.742Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-07T22:23:21.326Z] ---> 2ef6bad8d9f9 [2023-11-07T22:23:21.326Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-07T22:23:22.753Z] ---> b89bceeb35b7 [2023-11-07T22:23:22.753Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-07T22:23:23.022Z] ---> b696b328dbca [2023-11-07T22:23:23.022Z] Step 18/23 : EXPOSE 59999 [2023-11-07T22:23:23.288Z] ---> Running in 02fa635f155c [2023-11-07T22:23:23.556Z] Removing intermediate container 02fa635f155c [2023-11-07T22:23:23.556Z] ---> 01b3ec02289d [2023-11-07T22:23:23.556Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-07T22:23:23.556Z] ---> Running in bfcd671cae13 [2023-11-07T22:23:23.823Z] Removing intermediate container bfcd671cae13 [2023-11-07T22:23:23.823Z] ---> fc0bf9685b4a [2023-11-07T22:23:23.823Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-07T22:23:23.823Z] ---> Running in e04ad18df199 [2023-11-07T22:23:24.093Z] Removing intermediate container e04ad18df199 [2023-11-07T22:23:24.093Z] ---> d8a97fc545a5 [2023-11-07T22:23:24.093Z] Step 21/23 : LABEL arch=arm64 [2023-11-07T22:23:24.361Z] ---> Running in 942065b49015 [2023-11-07T22:23:24.630Z] Removing intermediate container 942065b49015 [2023-11-07T22:23:24.630Z] ---> fec6d3d38a30 [2023-11-07T22:23:24.630Z] Step 22/23 : LABEL git_sha=abf78bec53b58046fbccef7a1c02cd98bf2dc47d [2023-11-07T22:23:24.630Z] ---> Running in 0fd17dbb8726 [2023-11-07T22:23:24.900Z] Removing intermediate container 0fd17dbb8726 [2023-11-07T22:23:24.900Z] ---> afc6c468db20 [2023-11-07T22:23:24.900Z] Step 23/23 : LABEL version=3.1.0 [2023-11-07T22:23:24.900Z] ---> Running in 6781c3e9bc1e [2023-11-07T22:23:25.169Z] Removing intermediate container 6781c3e9bc1e [2023-11-07T22:23:25.169Z] ---> 1d891a475b13 [2023-11-07T22:23:25.169Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T22:23:25.751Z] Successfully built 1d891a475b13 [2023-11-07T22:23:25.751Z] 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-07T22:23:26.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T22:23:26.203Z] [2023-11-07T22:23:26.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:23:26.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T22:23:27.491Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-07T22:23:27.491Z] 8998bd30e6a1: Pulling fs layer [2023-11-07T22:23:27.491Z] 04944245beec: Pulling fs layer [2023-11-07T22:23:27.491Z] 699f458cf7ca: Pulling fs layer [2023-11-07T22:23:27.491Z] 765212b225bb: Pulling fs layer [2023-11-07T22:23:27.491Z] f23df028b6ca: Pulling fs layer [2023-11-07T22:23:27.491Z] d65c8cfc05b1: Pulling fs layer [2023-11-07T22:23:27.491Z] 2437ff75d9bd: Pulling fs layer [2023-11-07T22:23:27.491Z] 765212b225bb: Waiting [2023-11-07T22:23:27.491Z] 2437ff75d9bd: Waiting [2023-11-07T22:23:27.491Z] f23df028b6ca: Waiting [2023-11-07T22:23:27.491Z] 04944245beec: Verifying Checksum [2023-11-07T22:23:27.491Z] 04944245beec: Download complete [2023-11-07T22:23:27.491Z] 765212b225bb: Verifying Checksum [2023-11-07T22:23:27.491Z] 765212b225bb: Download complete [2023-11-07T22:23:27.760Z] f23df028b6ca: Download complete [2023-11-07T22:23:27.760Z] d65c8cfc05b1: Verifying Checksum [2023-11-07T22:23:27.760Z] d65c8cfc05b1: Download complete [2023-11-07T22:23:27.760Z] 699f458cf7ca: Verifying Checksum [2023-11-07T22:23:27.760Z] 699f458cf7ca: Download complete [2023-11-07T22:23:28.029Z] 8998bd30e6a1: Verifying Checksum [2023-11-07T22:23:28.029Z] 8998bd30e6a1: Download complete [2023-11-07T22:23:30.611Z] 2437ff75d9bd: Verifying Checksum [2023-11-07T22:23:30.611Z] 2437ff75d9bd: Download complete [2023-11-07T22:23:33.194Z] 8998bd30e6a1: Pull complete [2023-11-07T22:23:33.194Z] 04944245beec: Pull complete [2023-11-07T22:23:35.136Z] 699f458cf7ca: Pull complete [2023-11-07T22:23:35.136Z] 765212b225bb: Pull complete [2023-11-07T22:23:36.096Z] f23df028b6ca: Pull complete [2023-11-07T22:23:36.096Z] d65c8cfc05b1: Pull complete [2023-11-07T22:23:58.135Z] 2437ff75d9bd: Pull complete [2023-11-07T22:23:58.135Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-07T22:23:58.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T22:23:58.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:23:58.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-16897 does not seem to be running inside a container [2023-11-07T22:23:58.384Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-07T22:24:00.930Z] $ docker top dc9f2c572adbbbb2bcfdc0d754ad68a98a8c606f0b91172026d991515f743c45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:24:01.771Z] ---> job-cost.sh [2023-11-07T22:24:01.771Z] lf-activate-venv: SKIPPING [2023-11-07T22:24:01.771Z] INFO: No Stack... [2023-11-07T22:24:02.035Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-07T22:24:02.991Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T22:24:03.626Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-11-07T22:24:03.627Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T22:24:03.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] [2023-11-07T22:24:03.655Z] Resource [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] did not exist. Created. [2023-11-07T22:24:03.655Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T22:24:04.000Z] /w/workspace/device-sdk-go/2@tmp/durable-291085a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-07T22:24:04.334Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-07T22:24:04.625Z] Warning: overwriting stash ‘stack-cost’ [2023-11-07T22:24:05.059Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T22:24:05.067Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T22:24:05.091Z] $ docker stop --time=1 dc9f2c572adbbbb2bcfdc0d754ad68a98a8c606f0b91172026d991515f743c45 [2023-11-07T22:24:10.423Z] $ docker rm -f --volumes dc9f2c572adbbbb2bcfdc0d754ad68a98a8c606f0b91172026d991515f743c45 [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-07T22:24:10.820Z] provisioning config files... [2023-11-07T22:24:10.826Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config12218891782845648267tmp [Pipeline] { [Pipeline] sh [2023-11-07T22:24:11.114Z] + set +x [2023-11-07T22:24:11.114Z] + curl -s https://codecov.io/bash [2023-11-07T22:24:11.114Z] + bash -s -- [2023-11-07T22:24:11.114Z] [2023-11-07T22:24:11.114Z] _____ _ [2023-11-07T22:24:11.114Z] / ____| | | [2023-11-07T22:24:11.114Z] | | ___ __| | ___ ___ _____ __ [2023-11-07T22:24:11.114Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-07T22:24:11.114Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-07T22:24:11.114Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-07T22:24:11.114Z] Bash-1.0.6 [2023-11-07T22:24:11.114Z] [2023-11-07T22:24:11.114Z] [2023-11-07T22:24:11.114Z] ==> git version 2.25.1 found [2023-11-07T22:24:11.114Z] ==> 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-07T22:24:11.114Z] Release-Date: 2020-01-08 [2023-11-07T22:24:11.114Z] 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-07T22:24:11.114Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-07T22:24:11.114Z] ==> Jenkins CI detected. [2023-11-07T22:24:11.114Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_napa [2023-11-07T22:24:11.114Z] project root: . [2023-11-07T22:24:11.114Z] --> token set from env [2023-11-07T22:24:11.114Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2023-11-07T22:24:11.114Z] ==> Running gcov in . (disable via -X gcov) [2023-11-07T22:24:11.114Z] ==> Python coveragepy not found [2023-11-07T22:24:11.114Z] ==> Searching for coverage reports in: [2023-11-07T22:24:11.114Z] + . [2023-11-07T22:24:11.114Z] -> Found 1 reports [2023-11-07T22:24:11.114Z] ==> Detecting git/mercurial file structure [2023-11-07T22:24:11.114Z] ==> Reading reports [2023-11-07T22:24:11.374Z] + ./coverage.out bytes=122155 [2023-11-07T22:24:11.374Z] ==> Appending adjustments [2023-11-07T22:24:11.374Z] https://docs.codecov.io/docs/fixing-reports [2023-11-07T22:24:11.634Z] + Found adjustments [2023-11-07T22:24:11.634Z] ==> Gzipping contents [2023-11-07T22:24:11.634Z] 32K /tmp/codecov.YKiygU.gz [2023-11-07T22:24:11.634Z] ==> Uploading reports [2023-11-07T22:24:11.634Z] url: https://codecov.io [2023-11-07T22:24:11.634Z] query: branch=napa&commit=abf78bec53b58046fbccef7a1c02cd98bf2dc47d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-07T22:24:11.634Z] -> Pinging Codecov [2023-11-07T22:24:11.634Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=napa&commit=abf78bec53b58046fbccef7a1c02cd98bf2dc47d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-07T22:24:11.894Z] -> Uploading to [2023-11-07T22:24:11.894Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7E55EF52A471D76F132DFD9A03CDDE97/abf78bec53b58046fbccef7a1c02cd98bf2dc47d/b3217e1e-de44-4ec7-95ff-1e202b51ea04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T222411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=716a23702508aa9cdc478ddab98d2c7ea2bbc78c49e75029af036730cf66c3b0 [2023-11-07T22:24:11.894Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T22:24:11.894Z] Dload Upload Total Spent Left Speed [2023-11-07T22:24:12.154Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28924 0 0 100 28924 0 79243 --:--:-- --:--:-- --:--:-- 79243 [2023-11-07T22:24:12.154Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] } [2023-11-07T22:24:12.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-07T22:24:12.282Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-07T22:24:12.295Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:24:12.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T22:24:12.612Z] [2023-11-07T22:24:12.612Z] 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-07T22:24:12.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T22:24:12.910Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-07T22:24:12.910Z] df9b9388f04a: Pulling fs layer [2023-11-07T22:24:12.910Z] 52dc419b0ee2: Pulling fs layer [2023-11-07T22:24:12.910Z] 25bc292e5bac: Pulling fs layer [2023-11-07T22:24:12.910Z] 114826534d7a: Pulling fs layer [2023-11-07T22:24:12.910Z] 4657fd5d0bcf: Pulling fs layer [2023-11-07T22:24:12.910Z] 6ad1cebc031e: Pulling fs layer [2023-11-07T22:24:12.910Z] 8a3aa393b2d8: Pulling fs layer [2023-11-07T22:24:12.910Z] 6ad1cebc031e: Waiting [2023-11-07T22:24:12.910Z] 114826534d7a: Waiting [2023-11-07T22:24:12.910Z] 8a3aa393b2d8: Waiting [2023-11-07T22:24:12.910Z] 4657fd5d0bcf: Waiting [2023-11-07T22:24:12.910Z] 25bc292e5bac: Verifying Checksum [2023-11-07T22:24:12.910Z] 25bc292e5bac: Download complete [2023-11-07T22:24:12.910Z] 52dc419b0ee2: Verifying Checksum [2023-11-07T22:24:12.910Z] 52dc419b0ee2: Download complete [2023-11-07T22:24:12.910Z] 4657fd5d0bcf: Verifying Checksum [2023-11-07T22:24:12.910Z] 4657fd5d0bcf: Download complete [2023-11-07T22:24:12.910Z] df9b9388f04a: Download complete [2023-11-07T22:24:13.169Z] 6ad1cebc031e: Verifying Checksum [2023-11-07T22:24:13.169Z] 6ad1cebc031e: Download complete [2023-11-07T22:24:13.169Z] df9b9388f04a: Pull complete [2023-11-07T22:24:13.169Z] 52dc419b0ee2: Pull complete [2023-11-07T22:24:13.169Z] 25bc292e5bac: Pull complete [2023-11-07T22:24:13.737Z] 114826534d7a: Verifying Checksum [2023-11-07T22:24:13.737Z] 114826534d7a: Download complete [2023-11-07T22:24:13.737Z] 8a3aa393b2d8: Download complete [2023-11-07T22:24:17.931Z] 114826534d7a: Pull complete [2023-11-07T22:24:17.931Z] 4657fd5d0bcf: Pull complete [2023-11-07T22:24:17.931Z] 6ad1cebc031e: Pull complete [2023-11-07T22:24:20.464Z] 8a3aa393b2d8: Pull complete [2023-11-07T22:24:20.464Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-07T22:24:20.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T22:24:20.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:24:20.549Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:24:20.583Z] $ 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_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:24:25.205Z] $ docker top 45e805205fec0e7f95b62cb590115041f91b0c134a6b6a9f1d32c7f5dca4d446 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-07T22:24:25.282Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:napa' [Pipeline] sh [2023-11-07T22:24:25.569Z] + set -o pipefail [2023-11-07T22:24:25.569Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:napa' [2023-11-07T22:24:28.863Z] [2023-11-07T22:24:28.863Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_napa (github.com/edgexfoundry/device-sdk-go/v3)... [2023-11-07T22:24:28.863Z] [2023-11-07T22:24:28.863Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6f5ef003-f70b-4562-aefe-0195eaf81ae7/history/eede8252-9e6a-4671-a95b-eec971621233 [2023-11-07T22:24:28.863Z] [2023-11-07T22:24:28.863Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-07T22:24:28.863Z] [2023-11-07T22:24:28.863Z] [2023-11-07T22:24:28.863Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-07T22:24:28.863Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-07T22:24:28.863Z] More details here: https://snyk.co/ue1NS [2023-11-07T22:24:28.863Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-07T22:24:28.863Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-07T22:24:28.875Z] $ docker stop --time=1 45e805205fec0e7f95b62cb590115041f91b0c134a6b6a9f1d32c7f5dca4d446 [2023-11-07T22:24:30.217Z] $ docker rm -f --volumes 45e805205fec0e7f95b62cb590115041f91b0c134a6b6a9f1d32c7f5dca4d446 [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-07T22:24:30.421Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T22:24:30.432Z] provisioning config files... [2023-11-07T22:24:30.439Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config15050645404352681110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:24:30.734Z] --> edgex-publish-swagger.sh [2023-11-07T22:24:30.734Z] === Publish openapi/v3 API === [2023-11-07T22:24:30.734Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-11-07T22:24:30.734Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_napa/openapi/v3/device-sdk.yaml] [2023-11-07T22:24:30.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T22:24:30.734Z] Dload Upload Total Spent Left Speed [2023-11-07T22:24:30.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 308k --:--:-- --:--:-- --:--:-- 304k 100 23674 0 0 100 23674 0 52030 --:--:-- --:--:-- --:--:-- 51916 [2023-11-07T22:24:30.995Z] [2023-11-07T22:24:30.995Z] [Pipeline] } [2023-11-07T22:24:31.003Z] 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-07T22:24:31.425Z] + git log --format=format:%s -1 abf78bec53b58046fbccef7a1c02cd98bf2dc47d [Pipeline] sh [2023-11-07T22:24:31.718Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T22:24:31.718Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:24:32.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T22:24:32.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:24:32.094Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:24:32.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:24:32.527Z] $ docker top 3029c1c079023ba03a462a8f01ff7b2e24e7fb55113aa790c7db433b452936e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T22:24:32.610Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T22:24:32.929Z] + git semver [Pipeline] } [2023-11-07T22:24:33.214Z] $ docker stop --time=1 3029c1c079023ba03a462a8f01ff7b2e24e7fb55113aa790c7db433b452936e4 [2023-11-07T22:24:34.452Z] $ docker rm -f --volumes 3029c1c079023ba03a462a8f01ff7b2e24e7fb55113aa790c7db433b452936e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:24:34.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T22:24:34.859Z] [2023-11-07T22:24:34.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:24:35.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T22:24:35.163Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-07T22:24:35.163Z] ab5ef0e58194: Pulling fs layer [2023-11-07T22:24:35.163Z] 9712f1f96733: Pulling fs layer [2023-11-07T22:24:35.163Z] 63f879dbbcfc: Pulling fs layer [2023-11-07T22:24:35.163Z] 0d9ebad4ef96: Pulling fs layer [2023-11-07T22:24:35.163Z] e9a5061849ea: Pulling fs layer [2023-11-07T22:24:35.163Z] d747dcd14b5f: Pulling fs layer [2023-11-07T22:24:35.163Z] 2de7ff778b66: Pulling fs layer [2023-11-07T22:24:35.163Z] 0d9ebad4ef96: Waiting [2023-11-07T22:24:35.163Z] e9a5061849ea: Waiting [2023-11-07T22:24:35.163Z] d747dcd14b5f: Waiting [2023-11-07T22:24:35.163Z] 2de7ff778b66: Waiting [2023-11-07T22:24:35.163Z] 9712f1f96733: Verifying Checksum [2023-11-07T22:24:35.163Z] 9712f1f96733: Download complete [2023-11-07T22:24:35.426Z] 63f879dbbcfc: Verifying Checksum [2023-11-07T22:24:35.426Z] 63f879dbbcfc: Download complete [2023-11-07T22:24:35.684Z] e9a5061849ea: Verifying Checksum [2023-11-07T22:24:35.684Z] e9a5061849ea: Download complete [2023-11-07T22:24:35.684Z] ab5ef0e58194: Verifying Checksum [2023-11-07T22:24:35.684Z] ab5ef0e58194: Download complete [2023-11-07T22:24:35.684Z] d747dcd14b5f: Download complete [2023-11-07T22:24:35.684Z] 0d9ebad4ef96: Verifying Checksum [2023-11-07T22:24:35.684Z] 0d9ebad4ef96: Download complete [2023-11-07T22:24:35.684Z] 2de7ff778b66: Verifying Checksum [2023-11-07T22:24:35.684Z] 2de7ff778b66: Download complete [2023-11-07T22:24:38.217Z] ab5ef0e58194: Pull complete [2023-11-07T22:24:38.476Z] 9712f1f96733: Pull complete [2023-11-07T22:24:39.042Z] 63f879dbbcfc: Pull complete [2023-11-07T22:24:43.228Z] 0d9ebad4ef96: Pull complete [2023-11-07T22:24:43.228Z] e9a5061849ea: Pull complete [2023-11-07T22:24:43.228Z] d747dcd14b5f: Pull complete [2023-11-07T22:24:44.160Z] 2de7ff778b66: Pull complete [2023-11-07T22:24:44.160Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-07T22:24:44.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T22:24:44.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:24:44.247Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:24:44.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:24:49.180Z] $ docker top f38e04dbf75ddfe31aea93be84b1c3ebc720bc8f5adeaccb703f2d6c3ed97be2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-07T22:24:49.261Z] provisioning config files... [2023-11-07T22:24:49.266Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config5721801020036067629tmp [2023-11-07T22:24:49.275Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config11899349610435361611tmp [2023-11-07T22:24:49.282Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config10274858613525627751tmp [Pipeline] { [Pipeline] echo [2023-11-07T22:24:49.298Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:24:49.579Z] ---> sigul-configuration.sh [2023-11-07T22:24:49.579Z] gpg: directory `/root/.gnupg' created [2023-11-07T22:24:49.579Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-07T22:24:49.579Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-07T22:24:49.579Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-07T22:24:49.579Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-07T22:24:49.579Z] gpg: CAST5 encrypted data [2023-11-07T22:24:49.579Z] gpg: encrypted with 1 passphrase [2023-11-07T22:24:49.579Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-07T22:24:49.865Z] + mkdir /home/jenkins [2023-11-07T22:24:49.865Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-07T22:24:50.152Z] + 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-07T22:24:50.162Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:24:50.448Z] ---> sigul-install.sh [2023-11-07T22:24:50.448Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-07T22:24:50.733Z] + git tag --list [2023-11-07T22:24:50.733Z] 0.7.1 [2023-11-07T22:24:50.733Z] delhi-tag [2023-11-07T22:24:50.733Z] v1.0.0 [2023-11-07T22:24:50.733Z] v1.1.0 [2023-11-07T22:24:50.733Z] v1.1.1 [2023-11-07T22:24:50.733Z] v1.1.2 [2023-11-07T22:24:50.733Z] v1.2.0 [2023-11-07T22:24:50.733Z] v1.2.1 [2023-11-07T22:24:50.733Z] v1.2.2 [2023-11-07T22:24:50.733Z] v1.2.3 [2023-11-07T22:24:50.733Z] v1.3.0 [2023-11-07T22:24:50.733Z] v1.4.0 [2023-11-07T22:24:50.733Z] v2.0.0 [2023-11-07T22:24:50.733Z] v2.1.0 [2023-11-07T22:24:50.733Z] v2.1.1 [2023-11-07T22:24:50.733Z] v2.2.0 [2023-11-07T22:24:50.733Z] v2.3.0 [2023-11-07T22:24:50.733Z] v2.3.1 [2023-11-07T22:24:50.733Z] v3.0 [2023-11-07T22:24:50.733Z] v3.0.0 [2023-11-07T22:24:50.733Z] v3.0.1-dev.1 [2023-11-07T22:24:50.733Z] v3.1.0 [2023-11-07T22:24:50.733Z] v3.1.0-dev.1 [2023-11-07T22:24:50.733Z] v3.1.0-dev.10 [2023-11-07T22:24:50.733Z] v3.1.0-dev.11 [2023-11-07T22:24:50.733Z] v3.1.0-dev.12 [2023-11-07T22:24:50.733Z] v3.1.0-dev.13 [2023-11-07T22:24:50.733Z] v3.1.0-dev.14 [2023-11-07T22:24:50.733Z] v3.1.0-dev.15 [2023-11-07T22:24:50.733Z] v3.1.0-dev.16 [2023-11-07T22:24:50.733Z] v3.1.0-dev.17 [2023-11-07T22:24:50.733Z] v3.1.0-dev.18 [2023-11-07T22:24:50.733Z] v3.1.0-dev.19 [2023-11-07T22:24:50.733Z] v3.1.0-dev.2 [2023-11-07T22:24:50.733Z] v3.1.0-dev.20 [2023-11-07T22:24:50.733Z] v3.1.0-dev.21 [2023-11-07T22:24:50.733Z] v3.1.0-dev.22 [2023-11-07T22:24:50.733Z] v3.1.0-dev.23 [2023-11-07T22:24:50.733Z] v3.1.0-dev.24 [2023-11-07T22:24:50.733Z] v3.1.0-dev.25 [2023-11-07T22:24:50.733Z] v3.1.0-dev.26 [2023-11-07T22:24:50.733Z] v3.1.0-dev.27 [2023-11-07T22:24:50.733Z] v3.1.0-dev.28 [2023-11-07T22:24:50.733Z] v3.1.0-dev.29 [2023-11-07T22:24:50.733Z] v3.1.0-dev.3 [2023-11-07T22:24:50.733Z] v3.1.0-dev.30 [2023-11-07T22:24:50.733Z] v3.1.0-dev.31 [2023-11-07T22:24:50.733Z] v3.1.0-dev.32 [2023-11-07T22:24:50.733Z] v3.1.0-dev.33 [2023-11-07T22:24:50.733Z] v3.1.0-dev.34 [2023-11-07T22:24:50.733Z] v3.1.0-dev.35 [2023-11-07T22:24:50.733Z] v3.1.0-dev.36 [2023-11-07T22:24:50.733Z] v3.1.0-dev.37 [2023-11-07T22:24:50.733Z] v3.1.0-dev.38 [2023-11-07T22:24:50.733Z] v3.1.0-dev.39 [2023-11-07T22:24:50.733Z] v3.1.0-dev.4 [2023-11-07T22:24:50.733Z] v3.1.0-dev.40 [2023-11-07T22:24:50.733Z] v3.1.0-dev.5 [2023-11-07T22:24:50.733Z] v3.1.0-dev.6 [2023-11-07T22:24:50.733Z] v3.1.0-dev.7 [2023-11-07T22:24:50.733Z] v3.1.0-dev.8 [2023-11-07T22:24:50.733Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-07T22:24:51.020Z] + lftools sign git-tag v3.1.0 [2023-11-07T22:24:51.590Z] Signing Git tag with Sigul... [2023-11-07T22:24:51.590Z] Signing v3.1.0 [Pipeline] echo [2023-11-07T22:24:52.169Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:24:52.454Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-07T22:24:52.462Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-07T22:24:52.480Z] $ docker stop --time=1 f38e04dbf75ddfe31aea93be84b1c3ebc720bc8f5adeaccb703f2d6c3ed97be2 [2023-11-07T22:24:53.760Z] $ docker rm -f --volumes f38e04dbf75ddfe31aea93be84b1c3ebc720bc8f5adeaccb703f2d6c3ed97be2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-07T22:24:54.152Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T22:24:54.152Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:24:54.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T22:24:54.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:24:54.527Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:24:54.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:24:54.893Z] $ docker top 4e0779570e8728293679601c5f9ae633c1440a4b599e114c838debffb4c76c35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T22:24:54.972Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T22:24:55.269Z] + git semver [Pipeline] } [2023-11-07T22:24:55.542Z] $ docker stop --time=1 4e0779570e8728293679601c5f9ae633c1440a4b599e114c838debffb4c76c35 [2023-11-07T22:24:56.811Z] $ docker rm -f --volumes 4e0779570e8728293679601c5f9ae633c1440a4b599e114c838debffb4c76c35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T22:24:57.151Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T22:24:57.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:24:57.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T22:24:57.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:24:57.531Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:24:57.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:24:57.891Z] $ docker top 7fbbf5ce5a143ca6e521ca8520c6e429d0729915070f6ba6423772a9c24ad9e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T22:24:57.982Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T22:24:58.271Z] + git semver [Pipeline] } [2023-11-07T22:24:58.545Z] $ docker stop --time=1 7fbbf5ce5a143ca6e521ca8520c6e429d0729915070f6ba6423772a9c24ad9e5 [2023-11-07T22:24:59.813Z] $ docker rm -f --volumes 7fbbf5ce5a143ca6e521ca8520c6e429d0729915070f6ba6423772a9c24ad9e5 [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-07T22:25:00.364Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_napa/archives ] [2023-11-07T22:25:00.364Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_napa/archives [2023-11-07T22:25:00.364Z] total 16 [2023-11-07T22:25:00.364Z] drwxr-xr-x 3 root root 4096 Nov 7 22:13 . [2023-11-07T22:25:00.364Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 7 22:24 .. [2023-11-07T22:25:00.364Z] drwxr-xr-x 2 root root 4096 Nov 7 22:13 cost [2023-11-07T22:25:00.364Z] -rw-r--r-- 1 root root 83 Nov 7 22:13 cost.csv [2023-11-07T22:25:00.364Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_napa/archives [2023-11-07T22:25:00.364Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_napa/archives [2023-11-07T22:25:00.364Z] total 16 [2023-11-07T22:25:00.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:13 . [2023-11-07T22:25:00.364Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 7 22:24 .. [2023-11-07T22:25:00.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 22:13 cost [2023-11-07T22:25:00.364Z] -rw-r--r-- 1 jenkins jenkins 83 Nov 7 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:00.660Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:01.524Z] ---> package-listing.sh [2023-11-07T22:25:01.524Z] ++ facter osfamily [2023-11-07T22:25:01.524Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-07T22:25:01.783Z] + OS_FAMILY=debian [2023-11-07T22:25:01.783Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_napa [2023-11-07T22:25:01.783Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-07T22:25:01.783Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-07T22:25:01.783Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-07T22:25:01.783Z] + PACKAGES=/tmp/packages_start.txt [2023-11-07T22:25:01.783Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_napa ']' [2023-11-07T22:25:01.783Z] + PACKAGES=/tmp/packages_end.txt [2023-11-07T22:25:01.783Z] + case "${OS_FAMILY}" in [2023-11-07T22:25:01.783Z] + dpkg -l [2023-11-07T22:25:01.783Z] + grep '^ii' [2023-11-07T22:25:01.783Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-07T22:25:01.783Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-07T22:25:01.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-07T22:25:01.784Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_napa ']' [2023-11-07T22:25:01.784Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_napa/archives/ [2023-11-07T22:25:01.784Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_napa/archives/ [Pipeline] echo [2023-11-07T22:25:01.795Z] 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-07T22:25:02.071Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T22:25:02.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T22:25:02.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T22:25:02.704Z] prd-ubuntu20.04-docker-8c-8g-16895 does not seem to be running inside a container [2023-11-07T22:25:02.728Z] $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-sdk-go_napa:/w/workspace/edgexfoundry_device-sdk-go_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_napa@tmp:/w/workspace/edgexfoundry_device-sdk-go_napa@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-07T22:25:02.929Z] $ docker top 0a3040624dc7c4cdb71d7edbed35bab889863584afba021d3180430a776380f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T22:25:03.272Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-07T22:25:03.562Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-07T22:25:03.848Z] + ls /var/log/sa-host [2023-11-07T22:25:03.848Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T22:25:03.919Z] provisioning config files... [2023-11-07T22:25:03.927Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_napa@tmp/config6787938226417115228tmp [Pipeline] { [Pipeline] echo [2023-11-07T22:25:03.943Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:04.289Z] ---> create-netrc.sh [Pipeline] } [2023-11-07T22:25:04.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:04.667Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-07T22:25:04.684Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:05.015Z] ---> sudo-logs.sh [2023-11-07T22:25:05.015Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-07T22:25:05.043Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:05.327Z] ---> job-cost.sh [2023-11-07T22:25:05.327Z] lf-activate-venv: SKIPPING [2023-11-07T22:25:05.327Z] DEBUG: total: 0.2199999988079071 [2023-11-07T22:25:05.327Z] INFO: Retrieving Stack Cost... [2023-11-07T22:25:05.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T22:25:06.158Z] INFO: Archiving Costs [Pipeline] echo [2023-11-07T22:25:06.172Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T22:25:06.455Z] ---> logs-deploy.sh [2023-11-07T22:25:06.455Z] lf-activate-venv: SKIPPING [2023-11-07T22:25:06.455Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/napa/2 [2023-11-07T22:25:06.455Z] INFO: archiving workspace using pattern(s): [2023-11-07T22:25:07.392Z] Archives upload complete. [2023-11-07T22:25:07.392Z] INFO: archiving logs to Nexus