Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 549007a9ae6a647223285151eabca3507ba312e0 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-ssh13197233686951260169.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-ssh13215043904697366573.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-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9727905974166130298.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-ssh15816149111590972269.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-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4312441319606875182.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-16749 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 549007a9ae6a647223285151eabca3507ba312e0 (main) Commit message: "docs: Replace docs in README with link to docs on docs.edgexfoundry.org (#361)" > git config core.sparsecheckout # timeout=10 > git checkout -f 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-list --no-walk 47318dce372b4a1f6fa2293d118d34d1e168baa0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-06T23:29:58.344Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-06T23:29:58.408Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-06T23:29:58.420Z] ========================================================= [2023-11-06T23:29:58.420Z] EdgeX Global Pipelines Version Info [2023-11-06T23:29:58.420Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:29:59.135Z] ------------------- [2023-11-06T23:29:59.135Z] stable info: [2023-11-06T23:29:59.135Z] ------------------- [2023-11-06T23:29:59.135Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-06T23:29:59.135Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-06T23:29:59.135Z] Message: update stable to v1.0.257 [2023-11-06T23:29:59.706Z] ------------------- [2023-11-06T23:29:59.706Z] experimental info: [2023-11-06T23:29:59.706Z] ------------------- [2023-11-06T23:29:59.706Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-06T23:29:59.706Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-06T23:29:59.706Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-06T23:29:59.888Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-06T23:29:59.899Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-06T23:29:59.915Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-06T23:29:59.931Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-06T23:29:59.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-06T23:29:59.959Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-06T23:29:59.977Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-06T23:29:59.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-06T23:30:00.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-06T23:30:00.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-06T23:30:00.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-06T23:30:00.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-06T23:30:00.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-06T23:30:00.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-06T23:30:00.080Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T23:30:00.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T23:30:00.096Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T23:30:00.105Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T23:30:00.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-06T23:30:00.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-06T23:30:00.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-06T23:30:00.144Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-06T23:30:00.152Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-06T23:30:00.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-06T23:30:00.174Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-06T23:30:00.183Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-06T23:30:00.194Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-06T23:30:00.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-06T23:30:00.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-06T23:30:00.238Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-06T23:30:00.253Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] echo [2023-11-06T23:30:00.268Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 549007a [Pipeline] echo [2023-11-06T23:30:00.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:30:00.323Z] provisioning config files... [2023-11-06T23:30:00.339Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10404716584245021764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:30:00.648Z] ---> docker-login.sh [2023-11-06T23:30:00.648Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:30:00.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:00.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:00.909Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:00.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:00.909Z] [2023-11-06T23:30:00.909Z] Login Succeeded [2023-11-06T23:30:00.909Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:30:00.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:01.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:01.170Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:01.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:01.170Z] [2023-11-06T23:30:01.170Z] Login Succeeded [2023-11-06T23:30:01.170Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:30:01.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:01.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:01.170Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:01.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:01.170Z] [2023-11-06T23:30:01.170Z] Login Succeeded [2023-11-06T23:30:01.170Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:30:01.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:01.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:01.170Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:01.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:01.170Z] [2023-11-06T23:30:01.170Z] Login Succeeded [2023-11-06T23:30:01.170Z] docker.io [2023-11-06T23:30:01.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:02.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:02.004Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:02.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:02.004Z] [2023-11-06T23:30:02.004Z] Login Succeeded [2023-11-06T23:30:02.004Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:30:02.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-06T23:30:02.394Z] + git rev-list -1 --merges 549007a9ae6a647223285151eabca3507ba312e0~1..549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] echo [2023-11-06T23:30:02.445Z] -----------> git rev-list -1 --merges 549007a9ae6a647223285151eabca3507ba312e0~1..549007a9ae6a647223285151eabca3507ba312e0 549007a9ae6a647223285151eabca3507ba312e0 [false] [Pipeline] sh [2023-11-06T23:30:02.735Z] + git log --format=format:%s -1 549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] echo [2023-11-06T23:30:02.750Z] ========================================================= [2023-11-06T23:30:02.750Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-06T23:30:02.750Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T23:30:03.111Z] + git log --format=format:%s -1 549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] echo [2023-11-06T23:30:03.122Z] [semverPrep] GIT_COMMIT: 549007a9ae6a647223285151eabca3507ba312e0, Commit Message: docs: Replace docs in README with link to docs on docs.edgexfoundry.org (#361) [Pipeline] echo [2023-11-06T23:30:03.130Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-06T23:30:03.491Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T23:30:03.491Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-06T23:30:03.491Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-06T23:30:03.491Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-06T23:30:03.491Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-06T23:30:03.491Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-06T23:30:03.491Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:30:03.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:30:03.832Z] [2023-11-06T23:30:03.832Z] 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-06T23:30:04.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:30:04.137Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-06T23:30:04.137Z] b85a868b505f: Pulling fs layer [2023-11-06T23:30:04.137Z] e2be974225ed: Pulling fs layer [2023-11-06T23:30:04.137Z] 339a4e72a1f5: Pulling fs layer [2023-11-06T23:30:04.137Z] 988bab9f4d93: Pulling fs layer [2023-11-06T23:30:04.137Z] 1469e6f7b9e6: Pulling fs layer [2023-11-06T23:30:04.137Z] eaf3925da568: Pulling fs layer [2023-11-06T23:30:04.137Z] bab4dde63d76: Pulling fs layer [2023-11-06T23:30:04.137Z] bde34c3a00c8: Pulling fs layer [2023-11-06T23:30:04.137Z] b352a97aabf1: Pulling fs layer [2023-11-06T23:30:04.137Z] 4872d77fe225: Pulling fs layer [2023-11-06T23:30:04.137Z] 5851b861e8e6: Pulling fs layer [2023-11-06T23:30:04.137Z] 988bab9f4d93: Waiting [2023-11-06T23:30:04.137Z] 1469e6f7b9e6: Waiting [2023-11-06T23:30:04.137Z] eaf3925da568: Waiting [2023-11-06T23:30:04.137Z] bde34c3a00c8: Waiting [2023-11-06T23:30:04.137Z] bab4dde63d76: Waiting [2023-11-06T23:30:04.137Z] b352a97aabf1: Waiting [2023-11-06T23:30:04.137Z] 4872d77fe225: Waiting [2023-11-06T23:30:04.137Z] 5851b861e8e6: Waiting [2023-11-06T23:30:04.137Z] e2be974225ed: Download complete [2023-11-06T23:30:04.137Z] 988bab9f4d93: Verifying Checksum [2023-11-06T23:30:04.137Z] 988bab9f4d93: Download complete [2023-11-06T23:30:04.137Z] 1469e6f7b9e6: Verifying Checksum [2023-11-06T23:30:04.137Z] 1469e6f7b9e6: Download complete [2023-11-06T23:30:04.137Z] eaf3925da568: Verifying Checksum [2023-11-06T23:30:04.137Z] eaf3925da568: Download complete [2023-11-06T23:30:04.396Z] 339a4e72a1f5: Verifying Checksum [2023-11-06T23:30:04.396Z] 339a4e72a1f5: Download complete [2023-11-06T23:30:04.396Z] bde34c3a00c8: Download complete [2023-11-06T23:30:04.396Z] b352a97aabf1: Download complete [2023-11-06T23:30:04.396Z] 4872d77fe225: Verifying Checksum [2023-11-06T23:30:04.396Z] 4872d77fe225: Download complete [2023-11-06T23:30:04.396Z] 5851b861e8e6: Download complete [2023-11-06T23:30:04.396Z] b85a868b505f: Verifying Checksum [2023-11-06T23:30:04.396Z] b85a868b505f: Download complete [2023-11-06T23:30:04.655Z] bab4dde63d76: Verifying Checksum [2023-11-06T23:30:04.655Z] bab4dde63d76: Download complete [2023-11-06T23:30:05.593Z] b85a868b505f: Pull complete [2023-11-06T23:30:05.852Z] e2be974225ed: Pull complete [2023-11-06T23:30:06.112Z] 339a4e72a1f5: Pull complete [2023-11-06T23:30:06.375Z] 988bab9f4d93: Pull complete [2023-11-06T23:30:06.634Z] 1469e6f7b9e6: Pull complete [2023-11-06T23:30:06.634Z] eaf3925da568: Pull complete [2023-11-06T23:30:08.543Z] bab4dde63d76: Pull complete [2023-11-06T23:30:08.543Z] bde34c3a00c8: Pull complete [2023-11-06T23:30:08.543Z] b352a97aabf1: Pull complete [2023-11-06T23:30:08.543Z] 4872d77fe225: Pull complete [2023-11-06T23:30:08.543Z] 5851b861e8e6: Pull complete [2023-11-06T23:30:08.543Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-06T23:30:08.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:30:08.543Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:30:08.639Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:30:08.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-06T23:30:11.055Z] $ docker top 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed -eo pid,comm [2023-11-06T23:30:11.122Z] 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-06T23:30:11.122Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T23:30:11.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:30:11.162Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:30:11.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:30:11.283Z] $ docker exec 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed ssh-agent [2023-11-06T23:30:11.385Z] SSH_AUTH_SOCK=/tmp/ssh-LQhAUXqzPHoe/agent.32 [2023-11-06T23:30:11.385Z] SSH_AGENT_PID=38 [2023-11-06T23:30:11.392Z] Running ssh-add (command line suppressed) [2023-11-06T23:30:11.482Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11373261770278615595.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11373261770278615595.key) [2023-11-06T23:30:11.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:30:11.780Z] + git tag --points-at HEAD [Pipeline] } [2023-11-06T23:30:11.794Z] $ docker exec --env ******** --env ******** 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed ssh-agent -k [2023-11-06T23:30:11.894Z] unset SSH_AUTH_SOCK; [2023-11-06T23:30:11.895Z] unset SSH_AGENT_PID; [2023-11-06T23:30:11.895Z] echo Agent pid 38 killed; [2023-11-06T23:30:11.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-06T23:30:11.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:30:11.933Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:30:12.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:30:12.069Z] $ docker exec 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed ssh-agent [2023-11-06T23:30:12.169Z] SSH_AUTH_SOCK=/tmp/ssh-Iy3c6u3Pj1T4/agent.70 [2023-11-06T23:30:12.169Z] SSH_AGENT_PID=76 [2023-11-06T23:30:12.174Z] Running ssh-add (command line suppressed) [2023-11-06T23:30:12.282Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8023449967910261687.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8023449967910261687.key) [2023-11-06T23:30:12.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:30:12.582Z] + git semver init [2023-11-06T23:30:12.842Z] 2023-11-06 23:30:12,784 [run_init] DEBUG init version:0.0.0 force:False [2023-11-06T23:30:12.842Z] 2023-11-06 23:30:12,784 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-06T23:30:12.842Z] 2023-11-06 23:30:12,785 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-06T23:30:12.842Z] 2023-11-06 23:30:12,785 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:30:14.225Z] 2023-11-06 23:30:13,847 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-06T23:30:14.225Z] 2023-11-06 23:30:13,848 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-06T23:30:14.225Z] 2023-11-06 23:30:13,848 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:30:14.225Z] 2023-11-06 23:30:13,848 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:30:14.225Z] 3.1.0-dev.29 [Pipeline] } [2023-11-06T23:30:14.239Z] $ docker exec --env ******** --env ******** 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed ssh-agent -k [2023-11-06T23:30:14.337Z] unset SSH_AUTH_SOCK; [2023-11-06T23:30:14.338Z] unset SSH_AGENT_PID; [2023-11-06T23:30:14.338Z] echo Agent pid 76 killed; [2023-11-06T23:30:14.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T23:30:14.650Z] + git semver [Pipeline] } [2023-11-06T23:30:14.927Z] $ docker stop --time=1 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed [2023-11-06T23:30:16.232Z] $ docker rm -f --volumes 9a6e864a8c7b03179c41f754ba83dfeab3d7b571fe0d735b8b6a96bb5c54e4ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:30:16.572Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-06T23:30:16.769Z] Stashed 1 file(s) [Pipeline] echo [2023-11-06T23:30:16.771Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:30:16.886Z] provisioning config files... [2023-11-06T23:30:16.895Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18235327542586404365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:30:17.189Z] ---> docker-login.sh [2023-11-06T23:30:17.189Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:30:17.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:17.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:17.189Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:17.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:17.189Z] [2023-11-06T23:30:17.189Z] Login Succeeded [2023-11-06T23:30:17.189Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:30:17.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:17.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:17.189Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:17.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:17.189Z] [2023-11-06T23:30:17.189Z] Login Succeeded [2023-11-06T23:30:17.189Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:30:17.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:17.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:17.449Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:17.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:17.449Z] [2023-11-06T23:30:17.449Z] Login Succeeded [2023-11-06T23:30:17.449Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:30:17.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:17.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:17.449Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:17.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:17.449Z] [2023-11-06T23:30:17.449Z] Login Succeeded [2023-11-06T23:30:17.449Z] docker.io [2023-11-06T23:30:17.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:30:17.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:30:17.709Z] Configure a credential helper to remove this warning. See [2023-11-06T23:30:17.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:30:17.709Z] [2023-11-06T23:30:17.709Z] Login Succeeded [2023-11-06T23:30:17.709Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:30:17.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-06T23:30:17.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:30:17.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:30:17.804Z] ========================================================= [2023-11-06T23:30:17.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-06T23:30:17.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:30:18.110Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-06T23:30:18.110Z] Sending build context to Docker daemon 10.92MB [2023-11-06T23:30:18.110Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T23:30:18.110Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-06T23:30:18.110Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-06T23:30:18.110Z] 7264a8db6415: Pulling fs layer [2023-11-06T23:30:18.110Z] c4d48a809fc2: Pulling fs layer [2023-11-06T23:30:18.110Z] 4f1c88b9dad5: Pulling fs layer [2023-11-06T23:30:18.110Z] ad3a456e5733: Pulling fs layer [2023-11-06T23:30:18.110Z] 33e27b845d1e: Pulling fs layer [2023-11-06T23:30:18.110Z] c68163c4e522: Pulling fs layer [2023-11-06T23:30:18.110Z] 50da416c3ac9: Pulling fs layer [2023-11-06T23:30:18.110Z] 23d2d4c4bb30: Pulling fs layer [2023-11-06T23:30:18.110Z] ad3a456e5733: Waiting [2023-11-06T23:30:18.110Z] c68163c4e522: Waiting [2023-11-06T23:30:18.110Z] 23d2d4c4bb30: Waiting [2023-11-06T23:30:18.110Z] 33e27b845d1e: Waiting [2023-11-06T23:30:18.110Z] c4d48a809fc2: Download complete [2023-11-06T23:30:18.110Z] ad3a456e5733: Download complete [2023-11-06T23:30:18.110Z] 33e27b845d1e: Verifying Checksum [2023-11-06T23:30:18.110Z] 33e27b845d1e: Download complete [2023-11-06T23:30:18.371Z] 7264a8db6415: Verifying Checksum [2023-11-06T23:30:18.371Z] 7264a8db6415: Download complete [2023-11-06T23:30:18.371Z] c68163c4e522: Verifying Checksum [2023-11-06T23:30:18.371Z] c68163c4e522: Download complete [2023-11-06T23:30:18.371Z] 7264a8db6415: Pull complete [2023-11-06T23:30:18.631Z] 23d2d4c4bb30: Verifying Checksum [2023-11-06T23:30:18.631Z] 23d2d4c4bb30: Download complete [2023-11-06T23:30:18.631Z] c4d48a809fc2: Pull complete [2023-11-06T23:30:18.631Z] 4f1c88b9dad5: Verifying Checksum [2023-11-06T23:30:18.631Z] 4f1c88b9dad5: Download complete [2023-11-06T23:30:18.889Z] 50da416c3ac9: Verifying Checksum [2023-11-06T23:30:18.889Z] 50da416c3ac9: Download complete [2023-11-06T23:30:21.419Z] 4f1c88b9dad5: Pull complete [2023-11-06T23:30:21.678Z] ad3a456e5733: Pull complete [2023-11-06T23:30:21.678Z] 33e27b845d1e: Pull complete [2023-11-06T23:30:21.678Z] c68163c4e522: Pull complete [2023-11-06T23:30:24.209Z] 50da416c3ac9: Pull complete [2023-11-06T23:30:24.468Z] 23d2d4c4bb30: Pull complete [2023-11-06T23:30:24.468Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-06T23:30:24.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-06T23:30:24.468Z] ---> 0786185ac409 [2023-11-06T23:30:24.468Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-06T23:30:27.019Z] ---> Running in 6ed3841dca7d [2023-11-06T23:30:27.019Z] Removing intermediate container 6ed3841dca7d [2023-11-06T23:30:27.019Z] ---> 13df44f0e19e [2023-11-06T23:30:27.019Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-06T23:30:27.019Z] ---> Running in 16b335cc45d0 [2023-11-06T23:30:27.279Z] Removing intermediate container 16b335cc45d0 [2023-11-06T23:30:27.279Z] ---> b1bf8319f793 [2023-11-06T23:30:27.279Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-06T23:30:27.279Z] ---> Running in a097ae539133 [2023-11-06T23:30:27.279Z] Removing intermediate container a097ae539133 [2023-11-06T23:30:27.279Z] ---> c3e9811ce061 [2023-11-06T23:30:27.279Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-06T23:30:27.279Z] ---> Running in 247065b60c8d [2023-11-06T23:30:27.538Z] Removing intermediate container 247065b60c8d [2023-11-06T23:30:27.538Z] ---> 5f2d59e917c8 [2023-11-06T23:30:27.538Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-06T23:30:27.538Z] ---> Running in 3e1095eb32f4 [2023-11-06T23:30:27.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T23:30:27.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T23:30:28.056Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-06T23:30:28.056Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-06T23:30:28.056Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-06T23:30:28.315Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-06T23:30:28.315Z] Executing busybox-1.36.1-r2.trigger [2023-11-06T23:30:28.315Z] OK: 268 MiB in 56 packages [2023-11-06T23:30:28.574Z] Removing intermediate container 3e1095eb32f4 [2023-11-06T23:30:28.574Z] ---> d5a60448c2de [2023-11-06T23:30:28.574Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-06T23:30:28.574Z] ---> Running in 2e31879272a6 [2023-11-06T23:30:28.574Z] Removing intermediate container 2e31879272a6 [2023-11-06T23:30:28.574Z] ---> 2da4954e2708 [2023-11-06T23:30:28.574Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-06T23:30:28.833Z] ---> 3e65e5e32fe5 [2023-11-06T23:30:28.833Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T23:30:28.833Z] ---> Running in a2e1ed59bd8c [2023-11-06T23:30:31.857Z] Still waiting to schedule task [2023-11-06T23:30:31.857Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-06T23:31:00.934Z] Removing intermediate container a2e1ed59bd8c [2023-11-06T23:31:00.934Z] ---> e01082ef4f0b [2023-11-06T23:31:00.934Z] Step 11/12 : COPY . . [2023-11-06T23:31:00.934Z] ---> 9a32b5624b0c [2023-11-06T23:31:00.934Z] Step 12/12 : RUN $MAKE [2023-11-06T23:31:00.934Z] ---> Running in 709abcaaf81c [2023-11-06T23:31:00.934Z] noop [2023-11-06T23:31:00.934Z] Removing intermediate container 709abcaaf81c [2023-11-06T23:31:00.934Z] ---> 94e7cd4bf85a [2023-11-06T23:31:00.934Z] Successfully built 94e7cd4bf85a [2023-11-06T23:31:00.934Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:01.241Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-06T23:31:01.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:31:01.311Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:31:01.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-06T23:31:01.673Z] $ docker top d7167d029f40bde5d673580034b074edd05c07e54fd7e2f1d34be1efa753cb06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:31:02.011Z] + go version [2023-11-06T23:31:02.011Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-06T23:31:02.024Z] $ docker stop --time=1 d7167d029f40bde5d673580034b074edd05c07e54fd7e2f1d34be1efa753cb06 [2023-11-06T23:31:03.444Z] $ docker rm -f --volumes d7167d029f40bde5d673580034b074edd05c07e54fd7e2f1d34be1efa753cb06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:03.879Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-06T23:31:03.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:31:03.949Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:31:03.985Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-06T23:31:04.329Z] $ docker top 6d6a2127995701f2e5d120708eb9438d79d44f1f4037b26bdb19f80871263f7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:31:04.671Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-06T23:31:04.965Z] + make test [2023-11-06T23:31:04.966Z] go test ./... -coverprofile=coverage.out ./... [2023-11-06T23:31:05.901Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-06T23:31:15.865Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-06T23:31:15.865Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-11-06T23:31:21.120Z] go vet ./... [2023-11-06T23:31:24.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-06T23:31:24.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-06T23:31:24.398Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-06T23:31:24.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-06T23:31:24.425Z] $ docker stop --time=1 6d6a2127995701f2e5d120708eb9438d79d44f1f4037b26bdb19f80871263f7a [2023-11-06T23:31:27.039Z] $ docker rm -f --volumes 6d6a2127995701f2e5d120708eb9438d79d44f1f4037b26bdb19f80871263f7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:31:27.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-06T23:31:27.546Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-06T23:31:28.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-06T23:31:28.445Z] + ls -al . [2023-11-06T23:31:28.445Z] total 176 [2023-11-06T23:31:28.445Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 6 23:31 . [2023-11-06T23:31:28.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 23:29 .. [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 6 23:29 .dockerignore [2023-11-06T23:31:28.446Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 23:31 .git [2023-11-06T23:31:28.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:29 .github [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 6 23:29 .gitignore [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 6 23:29 .golangci.yml [2023-11-06T23:31:28.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 23:30 .semver [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 6 23:29 Attribution.txt [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 6 23:29 CHANGELOG.md [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 6 23:29 Dockerfile [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 23:29 GOVERNANCE.md [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 6 23:29 Jenkinsfile [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 6 23:29 LICENSE [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 6 23:29 Makefile [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 6 23:29 OWNERS.md [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 6 23:29 README.md [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 6 23:30 VERSION [2023-11-06T23:31:28.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:29 bin [2023-11-06T23:31:28.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:29 cmd [2023-11-06T23:31:28.446Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 6 23:31 coverage.out [2023-11-06T23:31:28.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:29 driver [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 6 23:29 go.mod [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 6 23:29 go.sum [2023-11-06T23:31:28.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:29 openapi [2023-11-06T23:31:28.446Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 6 23:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:28.771Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=549007a9ae6a647223285151eabca3507ba312e0 --label arch=amd64 --label version=3.1.0-dev.29 . [2023-11-06T23:31:28.771Z] Sending build context to Docker daemon 10.94MB [2023-11-06T23:31:28.771Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T23:31:28.771Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-06T23:31:28.771Z] ---> 94e7cd4bf85a [2023-11-06T23:31:28.771Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-06T23:31:29.030Z] ---> Running in bb6acadbb8d4 [2023-11-06T23:31:29.310Z] Removing intermediate container bb6acadbb8d4 [2023-11-06T23:31:29.310Z] ---> 9b68708bb525 [2023-11-06T23:31:29.310Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-06T23:31:29.310Z] ---> Running in 24af2f19a221 [2023-11-06T23:31:29.310Z] Removing intermediate container 24af2f19a221 [2023-11-06T23:31:29.310Z] ---> 8f458b801507 [2023-11-06T23:31:29.310Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-06T23:31:29.310Z] ---> Running in eb2e2b06ecaa [2023-11-06T23:31:29.310Z] Removing intermediate container eb2e2b06ecaa [2023-11-06T23:31:29.310Z] ---> a6e798848a05 [2023-11-06T23:31:29.310Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-06T23:31:29.572Z] ---> Running in e5666c06e1d8 [2023-11-06T23:31:29.572Z] Removing intermediate container e5666c06e1d8 [2023-11-06T23:31:29.572Z] ---> 04f132733996 [2023-11-06T23:31:29.572Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-06T23:31:29.572Z] ---> Running in 5e34ee4d0b63 [2023-11-06T23:31:29.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T23:31:29.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T23:31:30.092Z] OK: 268 MiB in 56 packages [2023-11-06T23:31:30.351Z] Removing intermediate container 5e34ee4d0b63 [2023-11-06T23:31:30.351Z] ---> d90bc7953a7b [2023-11-06T23:31:30.351Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-06T23:31:30.609Z] ---> Running in 2f1d88035b9e [2023-11-06T23:31:30.609Z] Removing intermediate container 2f1d88035b9e [2023-11-06T23:31:30.609Z] ---> 6b2486eb2bd0 [2023-11-06T23:31:30.609Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-06T23:31:30.609Z] ---> b09cf934f6e4 [2023-11-06T23:31:30.609Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T23:31:30.609Z] ---> Running in 5678248d9253 [2023-11-06T23:31:31.216Z] Removing intermediate container 5678248d9253 [2023-11-06T23:31:31.216Z] ---> 0f6a4762d07e [2023-11-06T23:31:31.216Z] Step 11/25 : COPY . . [2023-11-06T23:31:31.892Z] ---> 8a7d53382577 [2023-11-06T23:31:31.892Z] Step 12/25 : RUN $MAKE [2023-11-06T23:31:31.892Z] ---> Running in 0e229f46dbf2 [2023-11-06T23:31:31.892Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-06T23:31:50.030Z] Removing intermediate container 0e229f46dbf2 [2023-11-06T23:31:50.030Z] ---> a51308e709f9 [2023-11-06T23:31:50.030Z] Step 13/25 : FROM alpine:3.18 [2023-11-06T23:31:50.030Z] 3.18: Pulling from library/alpine [2023-11-06T23:31:50.030Z] 96526aa774ef: Pulling fs layer [2023-11-06T23:31:50.030Z] 96526aa774ef: Verifying Checksum [2023-11-06T23:31:50.030Z] 96526aa774ef: Download complete [2023-11-06T23:31:50.030Z] 96526aa774ef: Pull complete [2023-11-06T23:31:50.030Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-06T23:31:50.030Z] Status: Downloaded newer image for alpine:3.18 [2023-11-06T23:31:50.030Z] ---> 8ca4688f4f35 [2023-11-06T23:31:50.030Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-06T23:31:50.030Z] ---> Running in 403e1a4b115e [2023-11-06T23:31:50.030Z] Removing intermediate container 403e1a4b115e [2023-11-06T23:31:50.030Z] ---> f5cf77193d2e [2023-11-06T23:31:50.030Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-06T23:31:50.030Z] ---> Running in 81c942d89a50 [2023-11-06T23:31:50.030Z] Removing intermediate container 81c942d89a50 [2023-11-06T23:31:50.030Z] ---> 61d15886ef65 [2023-11-06T23:31:50.030Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-06T23:31:50.030Z] ---> Running in 681347627dd3 [2023-11-06T23:31:50.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T23:31:50.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T23:31:50.289Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-06T23:31:50.289Z] Executing busybox-1.36.1-r2.trigger [2023-11-06T23:31:50.289Z] OK: 7 MiB in 16 packages [2023-11-06T23:31:50.857Z] Removing intermediate container 681347627dd3 [2023-11-06T23:31:50.857Z] ---> 24cff36e21eb [2023-11-06T23:31:50.857Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-06T23:31:51.116Z] ---> 827d708b0c83 [2023-11-06T23:31:51.116Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-06T23:31:51.375Z] ---> 127b71a9bd68 [2023-11-06T23:31:51.375Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-06T23:31:51.375Z] ---> b87ccbbcf310 [2023-11-06T23:31:51.375Z] Step 20/25 : EXPOSE 59986 [2023-11-06T23:31:51.375Z] ---> Running in 65234d51be95 [2023-11-06T23:31:51.634Z] Removing intermediate container 65234d51be95 [2023-11-06T23:31:51.634Z] ---> e08eeae39b84 [2023-11-06T23:31:51.634Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-06T23:31:51.634Z] ---> Running in 5510c68808c3 [2023-11-06T23:31:51.634Z] Removing intermediate container 5510c68808c3 [2023-11-06T23:31:51.634Z] ---> 41e6363696cf [2023-11-06T23:31:51.634Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-06T23:31:51.634Z] ---> Running in 9cce9c5f1469 [2023-11-06T23:31:51.893Z] Removing intermediate container 9cce9c5f1469 [2023-11-06T23:31:51.893Z] ---> 0aefeb9405e1 [2023-11-06T23:31:51.893Z] Step 23/25 : LABEL arch=amd64 [2023-11-06T23:31:51.893Z] ---> Running in 37d4d7185c97 [2023-11-06T23:31:51.893Z] Removing intermediate container 37d4d7185c97 [2023-11-06T23:31:51.893Z] ---> 93dbc5a5cf6c [2023-11-06T23:31:51.893Z] Step 24/25 : LABEL git_sha=549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:31:51.893Z] ---> Running in c26c2a3e9dd9 [2023-11-06T23:31:51.893Z] Removing intermediate container c26c2a3e9dd9 [2023-11-06T23:31:51.893Z] ---> c9b94a8524e3 [2023-11-06T23:31:51.893Z] Step 25/25 : LABEL version=3.1.0-dev.29 [2023-11-06T23:31:52.156Z] ---> Running in 9e2ae296be34 [2023-11-06T23:31:52.156Z] Removing intermediate container 9e2ae296be34 [2023-11-06T23:31:52.156Z] ---> 67c90e321d0f [2023-11-06T23:31:52.156Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-06T23:31:52.156Z] Successfully built 67c90e321d0f [2023-11-06T23:31:52.156Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:31:52.233Z] provisioning config files... [2023-11-06T23:31:52.240Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9619597474818419067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:31:52.533Z] ---> docker-login.sh [2023-11-06T23:31:52.533Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:31:52.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:31:52.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:31:52.533Z] Configure a credential helper to remove this warning. See [2023-11-06T23:31:52.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:31:52.533Z] [2023-11-06T23:31:52.533Z] Login Succeeded [2023-11-06T23:31:52.533Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:31:52.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:31:52.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:31:52.533Z] Configure a credential helper to remove this warning. See [2023-11-06T23:31:52.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:31:52.533Z] [2023-11-06T23:31:52.533Z] Login Succeeded [2023-11-06T23:31:52.533Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:31:52.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:31:52.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:31:52.791Z] Configure a credential helper to remove this warning. See [2023-11-06T23:31:52.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:31:52.791Z] [2023-11-06T23:31:52.791Z] Login Succeeded [2023-11-06T23:31:52.791Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:31:52.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:31:52.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:31:52.791Z] Configure a credential helper to remove this warning. See [2023-11-06T23:31:52.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:31:52.791Z] [2023-11-06T23:31:52.792Z] Login Succeeded [2023-11-06T23:31:52.792Z] docker.io [2023-11-06T23:31:52.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:31:53.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:31:53.050Z] Configure a credential helper to remove this warning. See [2023-11-06T23:31:53.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:31:53.050Z] [2023-11-06T23:31:53.050Z] Login Succeeded [2023-11-06T23:31:53.050Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:31:53.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-06T23:31:53.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:31:53.099Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-06T23:31:53.099Z] 549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:31:53.099Z] latest [2023-11-06T23:31:53.099Z] 3.1.0-dev.29 [2023-11-06T23:31:53.099Z] 549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [2023-11-06T23:31:53.099Z] main [2023-11-06T23:31:53.099Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:53.401Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:53.704Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:31:53.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-06T23:31:53.705Z] c8f11df10460: Preparing [2023-11-06T23:31:53.705Z] bca873813145: Preparing [2023-11-06T23:31:53.705Z] a4202d1f6a2c: Preparing [2023-11-06T23:31:53.705Z] 7b0565f22bdf: Preparing [2023-11-06T23:31:53.705Z] cc2447e1835a: Preparing [2023-11-06T23:31:53.705Z] cc2447e1835a: Layer already exists [2023-11-06T23:31:53.705Z] c8f11df10460: Pushed [2023-11-06T23:31:53.705Z] 7b0565f22bdf: Pushed [2023-11-06T23:31:53.705Z] bca873813145: Pushed [2023-11-06T23:31:56.239Z] a4202d1f6a2c: Pushed [2023-11-06T23:31:56.239Z] 549007a9ae6a647223285151eabca3507ba312e0: digest: sha256:24687c444c0f8c000addec2f7dd4fd800750371ce1405870634d1088c0a8eb18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:56.567Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:56.875Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-06T23:31:56.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-06T23:31:56.875Z] c8f11df10460: Preparing [2023-11-06T23:31:56.875Z] bca873813145: Preparing [2023-11-06T23:31:56.875Z] a4202d1f6a2c: Preparing [2023-11-06T23:31:56.875Z] 7b0565f22bdf: Preparing [2023-11-06T23:31:56.875Z] cc2447e1835a: Preparing [2023-11-06T23:31:56.875Z] c8f11df10460: Layer already exists [2023-11-06T23:31:56.875Z] cc2447e1835a: Layer already exists [2023-11-06T23:31:56.875Z] 7b0565f22bdf: Layer already exists [2023-11-06T23:31:56.875Z] bca873813145: Layer already exists [2023-11-06T23:31:56.875Z] a4202d1f6a2c: Layer already exists [2023-11-06T23:31:56.875Z] latest: digest: sha256:24687c444c0f8c000addec2f7dd4fd800750371ce1405870634d1088c0a8eb18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:57.191Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:57.502Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.29 [2023-11-06T23:31:57.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-06T23:31:57.503Z] c8f11df10460: Preparing [2023-11-06T23:31:57.503Z] bca873813145: Preparing [2023-11-06T23:31:57.503Z] a4202d1f6a2c: Preparing [2023-11-06T23:31:57.503Z] 7b0565f22bdf: Preparing [2023-11-06T23:31:57.503Z] cc2447e1835a: Preparing [2023-11-06T23:31:57.503Z] a4202d1f6a2c: Layer already exists [2023-11-06T23:31:57.503Z] bca873813145: Layer already exists [2023-11-06T23:31:57.503Z] cc2447e1835a: Layer already exists [2023-11-06T23:31:57.503Z] c8f11df10460: Layer already exists [2023-11-06T23:31:57.503Z] 7b0565f22bdf: Layer already exists [2023-11-06T23:31:57.503Z] 3.1.0-dev.29: digest: sha256:24687c444c0f8c000addec2f7dd4fd800750371ce1405870634d1088c0a8eb18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:57.813Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:58.120Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [2023-11-06T23:31:58.120Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-06T23:31:58.120Z] c8f11df10460: Preparing [2023-11-06T23:31:58.120Z] bca873813145: Preparing [2023-11-06T23:31:58.120Z] a4202d1f6a2c: Preparing [2023-11-06T23:31:58.120Z] 7b0565f22bdf: Preparing [2023-11-06T23:31:58.120Z] cc2447e1835a: Preparing [2023-11-06T23:31:58.120Z] c8f11df10460: Layer already exists [2023-11-06T23:31:58.120Z] a4202d1f6a2c: Layer already exists [2023-11-06T23:31:58.120Z] cc2447e1835a: Layer already exists [2023-11-06T23:31:58.120Z] 7b0565f22bdf: Layer already exists [2023-11-06T23:31:58.120Z] bca873813145: Layer already exists [2023-11-06T23:31:58.120Z] 549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29: digest: sha256:24687c444c0f8c000addec2f7dd4fd800750371ce1405870634d1088c0a8eb18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:58.440Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:58.757Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-06T23:31:58.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-06T23:31:58.757Z] c8f11df10460: Preparing [2023-11-06T23:31:58.757Z] bca873813145: Preparing [2023-11-06T23:31:58.757Z] a4202d1f6a2c: Preparing [2023-11-06T23:31:58.757Z] 7b0565f22bdf: Preparing [2023-11-06T23:31:58.757Z] cc2447e1835a: Preparing [2023-11-06T23:31:58.757Z] 7b0565f22bdf: Layer already exists [2023-11-06T23:31:58.757Z] cc2447e1835a: Layer already exists [2023-11-06T23:31:58.757Z] a4202d1f6a2c: Layer already exists [2023-11-06T23:31:58.757Z] c8f11df10460: Layer already exists [2023-11-06T23:31:58.757Z] bca873813145: Layer already exists [2023-11-06T23:31:58.757Z] main: digest: sha256:24687c444c0f8c000addec2f7dd4fd800750371ce1405870634d1088c0a8eb18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-06T23:31:58.804Z] ===================================================== [Pipeline] echo [2023-11-06T23:31:58.811Z] taggedImages: [2023-11-06T23:31:58.811Z] - nexus3.edgexfoundry.org:10004/device-rest:549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:31:58.811Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-06T23:31:58.811Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.29 [2023-11-06T23:31:58.811Z] - nexus3.edgexfoundry.org:10004/device-rest:549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [2023-11-06T23:31:58.811Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-06T23:31:59.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T23:31:59.184Z] [2023-11-06T23:31:59.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:31:59.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T23:31:59.490Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-06T23:31:59.490Z] 5eb5b503b376: Pulling fs layer [2023-11-06T23:31:59.490Z] 5c69ac0246d0: Pulling fs layer [2023-11-06T23:31:59.490Z] ec43610c2a17: Pulling fs layer [2023-11-06T23:31:59.490Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-06T23:31:59.490Z] 33b1e0a273af: Pulling fs layer [2023-11-06T23:31:59.490Z] 5d3b04190fa2: Pulling fs layer [2023-11-06T23:31:59.490Z] 2f39f015ded8: Pulling fs layer [2023-11-06T23:31:59.490Z] 3a2ae6a8a46f: Waiting [2023-11-06T23:31:59.490Z] 33b1e0a273af: Waiting [2023-11-06T23:31:59.490Z] 5d3b04190fa2: Waiting [2023-11-06T23:31:59.490Z] 5c69ac0246d0: Verifying Checksum [2023-11-06T23:31:59.490Z] 5c69ac0246d0: Download complete [2023-11-06T23:31:59.490Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-06T23:31:59.490Z] 3a2ae6a8a46f: Download complete [2023-11-06T23:31:59.490Z] 33b1e0a273af: Verifying Checksum [2023-11-06T23:31:59.490Z] 33b1e0a273af: Download complete [2023-11-06T23:31:59.490Z] 5d3b04190fa2: Download complete [2023-11-06T23:31:59.490Z] ec43610c2a17: Verifying Checksum [2023-11-06T23:31:59.490Z] ec43610c2a17: Download complete [2023-11-06T23:31:59.748Z] 5eb5b503b376: Verifying Checksum [2023-11-06T23:31:59.748Z] 5eb5b503b376: Download complete [2023-11-06T23:32:00.314Z] 2f39f015ded8: Download complete [2023-11-06T23:32:00.882Z] 5eb5b503b376: Pull complete [2023-11-06T23:32:01.139Z] 5c69ac0246d0: Pull complete [2023-11-06T23:32:01.397Z] ec43610c2a17: Pull complete [2023-11-06T23:32:01.397Z] 3a2ae6a8a46f: Pull complete [2023-11-06T23:32:01.654Z] 33b1e0a273af: Pull complete [2023-11-06T23:32:01.654Z] 5d3b04190fa2: Pull complete [2023-11-06T23:32:05.833Z] 2f39f015ded8: Pull complete [2023-11-06T23:32:05.833Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-06T23:32:05.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T23:32:05.833Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:32:05.916Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:32:05.951Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-06T23:32:09.542Z] $ docker top 6d3d25ae44b16c10271ca705b2c1505096f63ca0a21e6307bbdaeea754f890fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:32:09.913Z] ---> job-cost.sh [2023-11-06T23:32:09.913Z] lf-activate-venv: SKIPPING [2023-11-06T23:32:09.913Z] INFO: No Stack... [2023-11-06T23:32:10.480Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-06T23:32:11.047Z] INFO: Archiving Costs [Pipeline] sh [2023-11-06T23:32:11.330Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-06T23:32:11.330Z] + cut -d, -f6 [Pipeline] lock [2023-11-06T23:32:11.343Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] [2023-11-06T23:32:11.351Z] Resource [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] did not exist. Created. [2023-11-06T23:32:11.351Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-06T23:32:11.668Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-06T23:32:11.707Z] Stashed 1 file(s) [Pipeline] } [2023-11-06T23:32:11.716Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-06T23:32:11.738Z] $ docker stop --time=1 6d3d25ae44b16c10271ca705b2c1505096f63ca0a21e6307bbdaeea754f890fb [2023-11-06T23:32:12.879Z] $ docker rm -f --volumes 6d3d25ae44b16c10271ca705b2c1505096f63ca0a21e6307bbdaeea754f890fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-06T23:33:54.638Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16752 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-06T23:33:54.655Z] Running in /w/workspace/device-rest-go/149 [Pipeline] { [Pipeline] checkout [2023-11-06T23:33:54.695Z] The recommended git tool is: git [2023-11-06T23:34:00.837Z] using credential edgex-jenkins-ssh [2023-11-06T23:34:00.855Z] Cloning the remote Git repository [2023-11-06T23:34:00.912Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-06T23:34:01.023Z] > git init /w/workspace/device-rest-go/149 # timeout=10 [2023-11-06T23:34:01.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-06T23:34:01.191Z] > git --version # timeout=10 [2023-11-06T23:34:01.214Z] > git --version # 'git version 2.25.1' [2023-11-06T23:34:01.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-06T23:34:01.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-06T23:34:03.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-06T23:34:03.424Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-06T23:34:04.370Z] Avoid second fetch [2023-11-06T23:34:04.371Z] Checking out Revision 549007a9ae6a647223285151eabca3507ba312e0 (main) [2023-11-06T23:34:04.982Z] Commit message: "docs: Replace docs in README with link to docs on docs.edgexfoundry.org (#361)" [2023-11-06T23:34:04.394Z] > git config core.sparsecheckout # timeout=10 [2023-11-06T23:34:04.478Z] > git checkout -f 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T23:34:05.835Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-06T23:34:05.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-06T23:34:05.835Z] Dload Upload Total Spent Left Speed [2023-11-06T23:34:05.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2023-11-06T23:34:06.522Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-06T23:34:06.854Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-06T23:34:06.854Z] + sudo tee /etc/docker/daemon.new [2023-11-06T23:34:06.854Z] { [2023-11-06T23:34:06.854Z] "registry-mirrors": [ [2023-11-06T23:34:06.854Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-06T23:34:06.854Z] ], [2023-11-06T23:34:06.854Z] "bip": "10.250.0.254/24", [2023-11-06T23:34:06.854Z] "hosts": [ [2023-11-06T23:34:06.854Z] "tcp://0.0.0.0:5555", [2023-11-06T23:34:06.854Z] "unix:///var/run/docker.sock" [2023-11-06T23:34:06.854Z] ], [2023-11-06T23:34:06.854Z] "mtu": 1458, [2023-11-06T23:34:06.854Z] "selinux-enabled": true, [2023-11-06T23:34:06.854Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-06T23:34:06.854Z] } [Pipeline] sh [2023-11-06T23:34:07.186Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-06T23:34:07.535Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:34:29.674Z] provisioning config files... [2023-11-06T23:34:29.699Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/149@tmp/config14964837921484339137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:34:30.061Z] ---> docker-login.sh [2023-11-06T23:34:30.061Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:34:30.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:34:30.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:34:30.653Z] Configure a credential helper to remove this warning. See [2023-11-06T23:34:30.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:34:30.653Z] [2023-11-06T23:34:30.653Z] Login Succeeded [2023-11-06T23:34:30.653Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:34:30.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:34:31.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:34:31.201Z] Configure a credential helper to remove this warning. See [2023-11-06T23:34:31.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:34:31.201Z] [2023-11-06T23:34:31.201Z] Login Succeeded [2023-11-06T23:34:31.201Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:34:31.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:34:31.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:34:31.472Z] Configure a credential helper to remove this warning. See [2023-11-06T23:34:31.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:34:31.472Z] [2023-11-06T23:34:31.472Z] Login Succeeded [2023-11-06T23:34:31.472Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:34:31.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:34:32.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:34:32.022Z] Configure a credential helper to remove this warning. See [2023-11-06T23:34:32.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:34:32.022Z] [2023-11-06T23:34:32.022Z] Login Succeeded [2023-11-06T23:34:32.022Z] docker.io [2023-11-06T23:34:32.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:34:32.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:34:32.569Z] Configure a credential helper to remove this warning. See [2023-11-06T23:34:32.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:34:32.569Z] [2023-11-06T23:34:32.569Z] Login Succeeded [2023-11-06T23:34:32.569Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:34:32.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-06T23:34:32.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:34:32.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:34:32.914Z] ========================================================= [2023-11-06T23:34:32.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-06T23:34:32.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:34:33.272Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-06T23:34:33.272Z] Sending build context to Docker daemon 125.4kB [2023-11-06T23:34:33.542Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T23:34:33.542Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-06T23:34:33.815Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-06T23:34:33.815Z] 9fda8d8052c6: Pulling fs layer [2023-11-06T23:34:33.815Z] 5d54e960e981: Pulling fs layer [2023-11-06T23:34:33.815Z] c4a7e357bf2a: Pulling fs layer [2023-11-06T23:34:33.815Z] f0e02332f6b5: Pulling fs layer [2023-11-06T23:34:33.815Z] cefa15bbcfad: Pulling fs layer [2023-11-06T23:34:33.815Z] 17808c966233: Pulling fs layer [2023-11-06T23:34:33.815Z] f4c1fc716caa: Pulling fs layer [2023-11-06T23:34:33.815Z] f0e02332f6b5: Waiting [2023-11-06T23:34:33.815Z] cefa15bbcfad: Waiting [2023-11-06T23:34:33.815Z] 17808c966233: Waiting [2023-11-06T23:34:33.815Z] f4c1fc716caa: Waiting [2023-11-06T23:34:33.815Z] 5d54e960e981: Verifying Checksum [2023-11-06T23:34:33.815Z] 5d54e960e981: Download complete [2023-11-06T23:34:33.815Z] f0e02332f6b5: Verifying Checksum [2023-11-06T23:34:33.815Z] f0e02332f6b5: Download complete [2023-11-06T23:34:33.815Z] cefa15bbcfad: Verifying Checksum [2023-11-06T23:34:33.815Z] cefa15bbcfad: Download complete [2023-11-06T23:34:33.815Z] 9fda8d8052c6: Verifying Checksum [2023-11-06T23:34:33.815Z] 9fda8d8052c6: Download complete [2023-11-06T23:34:34.411Z] f4c1fc716caa: Verifying Checksum [2023-11-06T23:34:34.411Z] f4c1fc716caa: Download complete [2023-11-06T23:34:35.005Z] 9fda8d8052c6: Pull complete [2023-11-06T23:34:35.603Z] 5d54e960e981: Pull complete [2023-11-06T23:34:35.874Z] c4a7e357bf2a: Verifying Checksum [2023-11-06T23:34:35.874Z] c4a7e357bf2a: Download complete [2023-11-06T23:34:36.845Z] 17808c966233: Verifying Checksum [2023-11-06T23:34:36.845Z] 17808c966233: Download complete [2023-11-06T23:34:51.896Z] c4a7e357bf2a: Pull complete [2023-11-06T23:34:51.896Z] f0e02332f6b5: Pull complete [2023-11-06T23:34:51.896Z] cefa15bbcfad: Pull complete [2023-11-06T23:34:58.566Z] 17808c966233: Pull complete [2023-11-06T23:34:59.993Z] f4c1fc716caa: Pull complete [2023-11-06T23:34:59.993Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-06T23:34:59.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-06T23:34:59.993Z] ---> ea914061e18c [2023-11-06T23:34:59.993Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-06T23:35:01.409Z] ---> Running in bff5f44469a2 [2023-11-06T23:35:01.681Z] Removing intermediate container bff5f44469a2 [2023-11-06T23:35:01.681Z] ---> 70c3e2c33dcf [2023-11-06T23:35:01.681Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-06T23:35:01.948Z] ---> Running in a9cddea73c7b [2023-11-06T23:35:02.221Z] Removing intermediate container a9cddea73c7b [2023-11-06T23:35:02.221Z] ---> 047f41ff2a47 [2023-11-06T23:35:02.221Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-06T23:35:02.221Z] ---> Running in 7d799aaa5471 [2023-11-06T23:35:02.491Z] Removing intermediate container 7d799aaa5471 [2023-11-06T23:35:02.491Z] ---> 39c5c2c4b4b8 [2023-11-06T23:35:02.491Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-06T23:35:02.844Z] ---> Running in f56282a95c8e [2023-11-06T23:35:03.127Z] Removing intermediate container f56282a95c8e [2023-11-06T23:35:03.127Z] ---> 5f7e9d354ed9 [2023-11-06T23:35:03.127Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-06T23:35:03.404Z] ---> Running in d4fcf538e228 [2023-11-06T23:35:04.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-06T23:35:04.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-06T23:35:06.249Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-06T23:35:06.249Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-06T23:35:06.249Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-06T23:35:06.249Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-06T23:35:06.249Z] Executing busybox-1.36.1-r2.trigger [2023-11-06T23:35:06.249Z] OK: 270 MiB in 56 packages [2023-11-06T23:35:07.235Z] Removing intermediate container d4fcf538e228 [2023-11-06T23:35:07.235Z] ---> feb17e1d17f3 [2023-11-06T23:35:07.235Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-06T23:35:07.510Z] ---> Running in 29f91a4610fd [2023-11-06T23:35:07.780Z] Removing intermediate container 29f91a4610fd [2023-11-06T23:35:07.780Z] ---> bbc40e28b901 [2023-11-06T23:35:07.780Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-06T23:35:08.378Z] ---> e9b10bcc0b95 [2023-11-06T23:35:08.378Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T23:35:08.378Z] ---> Running in 04e229aa465d [2023-11-06T23:36:30.051Z] Removing intermediate container 04e229aa465d [2023-11-06T23:36:30.051Z] ---> f76b3988c05b [2023-11-06T23:36:30.051Z] Step 11/12 : COPY . . [2023-11-06T23:36:30.051Z] ---> 532814a501f1 [2023-11-06T23:36:30.051Z] Step 12/12 : RUN $MAKE [2023-11-06T23:36:30.051Z] ---> Running in 1ae4cb996b1e [2023-11-06T23:36:30.051Z] noop [2023-11-06T23:36:30.051Z] Removing intermediate container 1ae4cb996b1e [2023-11-06T23:36:30.051Z] ---> e10fb6fbf04e [2023-11-06T23:36:30.051Z] Successfully built e10fb6fbf04e [2023-11-06T23:36:30.051Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:36:30.401Z] + docker inspect -f . ci-base-image-arm64 [2023-11-06T23:36:30.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:36:30.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-16752 does not seem to be running inside a container [2023-11-06T23:36:30.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/149 -v /w/workspace/device-rest-go/149:/w/workspace/device-rest-go/149:rw,z -v /w/workspace/device-rest-go/149@tmp:/w/workspace/device-rest-go/149@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-06T23:36:32.021Z] $ docker top 5a3e01d0ee959c2825110d0fc7c41e28e49efd397c8947f64dc5d7898ef5a286 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:36:32.881Z] + go version [2023-11-06T23:36:32.881Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-06T23:36:32.909Z] $ docker stop --time=1 5a3e01d0ee959c2825110d0fc7c41e28e49efd397c8947f64dc5d7898ef5a286 [2023-11-06T23:36:36.345Z] $ docker rm -f --volumes 5a3e01d0ee959c2825110d0fc7c41e28e49efd397c8947f64dc5d7898ef5a286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:36:36.936Z] + docker inspect -f . ci-base-image-arm64 [2023-11-06T23:36:36.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:36:37.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-16752 does not seem to be running inside a container [2023-11-06T23:36:37.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/149 -v /w/workspace/device-rest-go/149:/w/workspace/device-rest-go/149:rw,z -v /w/workspace/device-rest-go/149@tmp:/w/workspace/device-rest-go/149@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-06T23:36:38.462Z] $ docker top 1b77591e4a0395be0d962ed45395ad79b64c51bdaaa2193246e07aaa17a9c171 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:36:39.299Z] + git config --global --add safe.directory /w/workspace/device-rest-go/149 [Pipeline] fileExists [Pipeline] sh [2023-11-06T23:36:39.959Z] + make test [2023-11-06T23:36:39.959Z] go test ./... -coverprofile=coverage.out ./... [2023-11-06T23:36:44.224Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-06T23:38:35.916Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-06T23:38:35.917Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 33.2% of statements [2023-11-06T23:38:35.917Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-06T23:38:35.917Z] go vet ./... [2023-11-06T23:39:02.616Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-06T23:39:02.616Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-06T23:39:02.616Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-06T23:39:02.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-06T23:39:02.658Z] $ docker stop --time=1 1b77591e4a0395be0d962ed45395ad79b64c51bdaaa2193246e07aaa17a9c171 [2023-11-06T23:39:04.547Z] $ docker rm -f --volumes 1b77591e4a0395be0d962ed45395ad79b64c51bdaaa2193246e07aaa17a9c171 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:39:05.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-06T23:39:05.713Z] Warning: overwriting stash ‘coverage-report’ [2023-11-06T23:39:06.175Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T23:39:06.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-06T23:39:06.913Z] + ls -al . [2023-11-06T23:39:06.913Z] total 172 [2023-11-06T23:39:06.913Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 23:36 . [2023-11-06T23:39:06.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 23:34 .. [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 6 23:34 .dockerignore [2023-11-06T23:39:06.913Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 23:34 .git [2023-11-06T23:39:06.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:34 .github [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 6 23:34 .gitignore [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 6 23:34 .golangci.yml [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 6 23:34 Attribution.txt [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 6 23:34 CHANGELOG.md [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 6 23:34 Dockerfile [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 23:34 GOVERNANCE.md [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 6 23:34 Jenkinsfile [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 6 23:34 LICENSE [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 6 23:34 Makefile [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 6 23:34 OWNERS.md [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 6 23:34 README.md [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 6 23:30 VERSION [2023-11-06T23:39:06.913Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:34 bin [2023-11-06T23:39:06.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:34 cmd [2023-11-06T23:39:06.913Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 6 23:38 coverage.out [2023-11-06T23:39:06.913Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:34 driver [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 6 23:34 go.mod [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 6 23:34 go.sum [2023-11-06T23:39:06.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:34 openapi [2023-11-06T23:39:06.913Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 6 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:39:07.260Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=549007a9ae6a647223285151eabca3507ba312e0 --label arch=arm64 --label version=3.1.0-dev.29 . [2023-11-06T23:39:07.260Z] Sending build context to Docker daemon 140.8kB [2023-11-06T23:39:07.528Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T23:39:07.528Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-06T23:39:07.528Z] ---> e10fb6fbf04e [2023-11-06T23:39:07.528Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-06T23:39:07.528Z] ---> Running in d974fb6e6ceb [2023-11-06T23:39:07.795Z] Removing intermediate container d974fb6e6ceb [2023-11-06T23:39:07.795Z] ---> 37b6562efeb4 [2023-11-06T23:39:07.795Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-06T23:39:08.065Z] ---> Running in 143ebc77f212 [2023-11-06T23:39:08.333Z] Removing intermediate container 143ebc77f212 [2023-11-06T23:39:08.333Z] ---> a8beaa1c487c [2023-11-06T23:39:08.333Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-06T23:39:08.333Z] ---> Running in f583757988d4 [2023-11-06T23:39:08.601Z] Removing intermediate container f583757988d4 [2023-11-06T23:39:08.601Z] ---> ebdb1cf4b100 [2023-11-06T23:39:08.601Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-06T23:39:08.872Z] ---> Running in a9bfc9b05dcc [2023-11-06T23:39:09.143Z] Removing intermediate container a9bfc9b05dcc [2023-11-06T23:39:09.143Z] ---> 916ddf7f6472 [2023-11-06T23:39:09.143Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-06T23:39:09.143Z] ---> Running in 2c471e7c8a0e [2023-11-06T23:39:10.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-06T23:39:10.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-06T23:39:12.116Z] OK: 270 MiB in 56 packages [2023-11-06T23:39:12.711Z] Removing intermediate container 2c471e7c8a0e [2023-11-06T23:39:12.711Z] ---> ba35cc12b3cd [2023-11-06T23:39:12.711Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-06T23:39:12.981Z] ---> Running in 41f387118809 [2023-11-06T23:39:13.248Z] Removing intermediate container 41f387118809 [2023-11-06T23:39:13.249Z] ---> 5e359992c28e [2023-11-06T23:39:13.249Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-06T23:39:13.836Z] ---> ea19702416e8 [2023-11-06T23:39:13.836Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T23:39:13.836Z] ---> Running in c9ce9f367c59 [2023-11-06T23:39:18.184Z] Removing intermediate container c9ce9f367c59 [2023-11-06T23:39:18.184Z] ---> fcae624f6424 [2023-11-06T23:39:18.184Z] Step 11/25 : COPY . . [2023-11-06T23:39:18.773Z] ---> 051d6c41fefb [2023-11-06T23:39:18.773Z] Step 12/25 : RUN $MAKE [2023-11-06T23:39:18.773Z] ---> Running in c12bdac62ae3 [2023-11-06T23:39:19.736Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-06T23:41:26.452Z] Removing intermediate container c12bdac62ae3 [2023-11-06T23:41:26.452Z] ---> 2bb964e21a77 [2023-11-06T23:41:26.452Z] Step 13/25 : FROM alpine:3.18 [2023-11-06T23:41:26.452Z] 3.18: Pulling from library/alpine [2023-11-06T23:41:26.452Z] 579b34f0a95b: Pulling fs layer [2023-11-06T23:41:26.452Z] 579b34f0a95b: Download complete [2023-11-06T23:41:26.452Z] 579b34f0a95b: Pull complete [2023-11-06T23:41:26.452Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-06T23:41:26.452Z] Status: Downloaded newer image for alpine:3.18 [2023-11-06T23:41:26.452Z] ---> 3cc203321400 [2023-11-06T23:41:26.452Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-06T23:41:26.452Z] ---> Running in efa3b997d1d1 [2023-11-06T23:41:26.452Z] Removing intermediate container efa3b997d1d1 [2023-11-06T23:41:26.452Z] ---> 900fe2f35cc3 [2023-11-06T23:41:26.452Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-06T23:41:26.452Z] ---> Running in 7208da991dae [2023-11-06T23:41:26.452Z] Removing intermediate container 7208da991dae [2023-11-06T23:41:26.452Z] ---> 21a33a73a240 [2023-11-06T23:41:26.452Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-06T23:41:26.452Z] ---> Running in 736f19b8a3b0 [2023-11-06T23:41:26.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-06T23:41:26.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-06T23:41:26.452Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-06T23:41:26.452Z] Executing busybox-1.36.1-r2.trigger [2023-11-06T23:41:26.452Z] OK: 8 MiB in 16 packages [2023-11-06T23:41:26.452Z] Removing intermediate container 736f19b8a3b0 [2023-11-06T23:41:26.452Z] ---> 3c2aacb6d1f0 [2023-11-06T23:41:26.452Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-06T23:41:26.452Z] ---> d41cebbd6aee [2023-11-06T23:41:26.452Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-06T23:41:26.452Z] ---> c997859c5178 [2023-11-06T23:41:26.452Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-06T23:41:26.452Z] ---> ec67cda572d4 [2023-11-06T23:41:26.452Z] Step 20/25 : EXPOSE 59986 [2023-11-06T23:41:26.452Z] ---> Running in c2180312f74f [2023-11-06T23:41:26.452Z] Removing intermediate container c2180312f74f [2023-11-06T23:41:26.452Z] ---> 9050070ecb28 [2023-11-06T23:41:26.452Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-06T23:41:26.452Z] ---> Running in 76a24e9fa7cf [2023-11-06T23:41:26.452Z] Removing intermediate container 76a24e9fa7cf [2023-11-06T23:41:26.452Z] ---> 54501a99d40d [2023-11-06T23:41:26.452Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-06T23:41:26.452Z] ---> Running in 27fd44fe1352 [2023-11-06T23:41:26.452Z] Removing intermediate container 27fd44fe1352 [2023-11-06T23:41:26.452Z] ---> 1a99b50a03f5 [2023-11-06T23:41:26.452Z] Step 23/25 : LABEL arch=arm64 [2023-11-06T23:41:26.452Z] ---> Running in 2d273045b6a2 [2023-11-06T23:41:26.452Z] Removing intermediate container 2d273045b6a2 [2023-11-06T23:41:26.452Z] ---> 546f863cf9dd [2023-11-06T23:41:26.452Z] Step 24/25 : LABEL git_sha=549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:41:26.452Z] ---> Running in baf27fe880c0 [2023-11-06T23:41:26.452Z] Removing intermediate container baf27fe880c0 [2023-11-06T23:41:26.452Z] ---> c98d2370589d [2023-11-06T23:41:26.452Z] Step 25/25 : LABEL version=3.1.0-dev.29 [2023-11-06T23:41:26.452Z] ---> Running in 4c75f22c29c5 [2023-11-06T23:41:26.452Z] Removing intermediate container 4c75f22c29c5 [2023-11-06T23:41:26.452Z] ---> 0c442cf3141f [2023-11-06T23:41:26.452Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-06T23:41:26.452Z] Successfully built 0c442cf3141f [2023-11-06T23:41:26.452Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:41:26.567Z] provisioning config files... [2023-11-06T23:41:26.579Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/149@tmp/config15108258375323682760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:41:26.916Z] ---> docker-login.sh [2023-11-06T23:41:26.916Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:41:27.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:41:27.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:41:27.182Z] Configure a credential helper to remove this warning. See [2023-11-06T23:41:27.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:41:27.182Z] [2023-11-06T23:41:27.182Z] Login Succeeded [2023-11-06T23:41:27.182Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:41:27.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:41:27.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:41:27.448Z] Configure a credential helper to remove this warning. See [2023-11-06T23:41:27.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:41:27.448Z] [2023-11-06T23:41:27.448Z] Login Succeeded [2023-11-06T23:41:27.448Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:41:27.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:41:27.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:41:27.983Z] Configure a credential helper to remove this warning. See [2023-11-06T23:41:27.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:41:27.983Z] [2023-11-06T23:41:27.983Z] Login Succeeded [2023-11-06T23:41:27.983Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:41:28.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:41:28.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:41:28.249Z] Configure a credential helper to remove this warning. See [2023-11-06T23:41:28.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:41:28.249Z] [2023-11-06T23:41:28.249Z] Login Succeeded [2023-11-06T23:41:28.249Z] docker.io [2023-11-06T23:41:28.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:41:28.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:41:28.778Z] Configure a credential helper to remove this warning. See [2023-11-06T23:41:28.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:41:28.778Z] [2023-11-06T23:41:28.778Z] Login Succeeded [2023-11-06T23:41:28.778Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:41:28.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-06T23:41:28.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:41:28.853Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-06T23:41:28.853Z] 549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:41:28.853Z] latest [2023-11-06T23:41:28.853Z] 3.1.0-dev.29 [2023-11-06T23:41:28.853Z] 549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [2023-11-06T23:41:28.853Z] main [2023-11-06T23:41:28.853Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:29.194Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:29.528Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:41:29.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-06T23:41:29.528Z] 299870adbf84: Preparing [2023-11-06T23:41:29.528Z] dcd37fd2032b: Preparing [2023-11-06T23:41:29.528Z] f7803f881fa1: Preparing [2023-11-06T23:41:29.528Z] 04addf75e7f9: Preparing [2023-11-06T23:41:29.528Z] 5f4d9fc4d98d: Preparing [2023-11-06T23:41:29.528Z] 5f4d9fc4d98d: Layer already exists [2023-11-06T23:41:29.793Z] 04addf75e7f9: Pushed [2023-11-06T23:41:29.793Z] dcd37fd2032b: Pushed [2023-11-06T23:41:29.793Z] 299870adbf84: Pushed [2023-11-06T23:41:35.128Z] f7803f881fa1: Pushed [2023-11-06T23:41:35.129Z] 549007a9ae6a647223285151eabca3507ba312e0: digest: sha256:7d0710c96eedba32a68917623353dab1400f9287a42097c9945b809f9ed28ef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:35.468Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:35.799Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-06T23:41:35.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-06T23:41:35.800Z] 299870adbf84: Preparing [2023-11-06T23:41:35.800Z] dcd37fd2032b: Preparing [2023-11-06T23:41:35.800Z] f7803f881fa1: Preparing [2023-11-06T23:41:35.800Z] 04addf75e7f9: Preparing [2023-11-06T23:41:35.800Z] 5f4d9fc4d98d: Preparing [2023-11-06T23:41:35.800Z] 5f4d9fc4d98d: Layer already exists [2023-11-06T23:41:35.800Z] f7803f881fa1: Layer already exists [2023-11-06T23:41:35.800Z] 04addf75e7f9: Layer already exists [2023-11-06T23:41:35.800Z] 299870adbf84: Layer already exists [2023-11-06T23:41:35.800Z] dcd37fd2032b: Layer already exists [2023-11-06T23:41:35.800Z] latest: digest: sha256:7d0710c96eedba32a68917623353dab1400f9287a42097c9945b809f9ed28ef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:36.406Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:40.202Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.29 [2023-11-06T23:41:40.202Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-06T23:41:40.202Z] 299870adbf84: Preparing [2023-11-06T23:41:40.202Z] dcd37fd2032b: Preparing [2023-11-06T23:41:40.202Z] f7803f881fa1: Preparing [2023-11-06T23:41:40.202Z] 04addf75e7f9: Preparing [2023-11-06T23:41:40.202Z] 5f4d9fc4d98d: Preparing [2023-11-06T23:41:40.202Z] dcd37fd2032b: Layer already exists [2023-11-06T23:41:40.202Z] 04addf75e7f9: Layer already exists [2023-11-06T23:41:40.202Z] f7803f881fa1: Layer already exists [2023-11-06T23:41:40.202Z] 299870adbf84: Layer already exists [2023-11-06T23:41:40.202Z] 5f4d9fc4d98d: Layer already exists [2023-11-06T23:41:40.202Z] 3.1.0-dev.29: digest: sha256:7d0710c96eedba32a68917623353dab1400f9287a42097c9945b809f9ed28ef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:40.565Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:40.927Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [2023-11-06T23:41:40.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-06T23:41:40.927Z] 299870adbf84: Preparing [2023-11-06T23:41:40.927Z] dcd37fd2032b: Preparing [2023-11-06T23:41:40.927Z] f7803f881fa1: Preparing [2023-11-06T23:41:40.927Z] 04addf75e7f9: Preparing [2023-11-06T23:41:40.927Z] 5f4d9fc4d98d: Preparing [2023-11-06T23:41:40.927Z] 5f4d9fc4d98d: Layer already exists [2023-11-06T23:41:40.927Z] dcd37fd2032b: Layer already exists [2023-11-06T23:41:40.927Z] f7803f881fa1: Layer already exists [2023-11-06T23:41:40.927Z] 299870adbf84: Layer already exists [2023-11-06T23:41:40.927Z] 04addf75e7f9: Layer already exists [2023-11-06T23:41:40.927Z] 549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29: digest: sha256:7d0710c96eedba32a68917623353dab1400f9287a42097c9945b809f9ed28ef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:41.276Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:41.605Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-06T23:41:41.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-06T23:41:41.605Z] 299870adbf84: Preparing [2023-11-06T23:41:41.605Z] dcd37fd2032b: Preparing [2023-11-06T23:41:41.605Z] f7803f881fa1: Preparing [2023-11-06T23:41:41.605Z] 04addf75e7f9: Preparing [2023-11-06T23:41:41.605Z] 5f4d9fc4d98d: Preparing [2023-11-06T23:41:41.605Z] f7803f881fa1: Layer already exists [2023-11-06T23:41:41.605Z] 5f4d9fc4d98d: Layer already exists [2023-11-06T23:41:41.606Z] 04addf75e7f9: Layer already exists [2023-11-06T23:41:41.606Z] 299870adbf84: Layer already exists [2023-11-06T23:41:41.606Z] dcd37fd2032b: Layer already exists [2023-11-06T23:41:41.871Z] main: digest: sha256:7d0710c96eedba32a68917623353dab1400f9287a42097c9945b809f9ed28ef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-06T23:41:41.921Z] ===================================================== [Pipeline] echo [2023-11-06T23:41:41.929Z] taggedImages: [2023-11-06T23:41:41.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:549007a9ae6a647223285151eabca3507ba312e0 [2023-11-06T23:41:41.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-06T23:41:41.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.29 [2023-11-06T23:41:41.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:549007a9ae6a647223285151eabca3507ba312e0-3.1.0-dev.29 [2023-11-06T23:41:41.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:42.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-06T23:41:42.284Z] [2023-11-06T23:41:42.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:41:42.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-06T23:41:42.611Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-06T23:41:42.611Z] 8998bd30e6a1: Pulling fs layer [2023-11-06T23:41:42.611Z] 04944245beec: Pulling fs layer [2023-11-06T23:41:42.611Z] 699f458cf7ca: Pulling fs layer [2023-11-06T23:41:42.611Z] 765212b225bb: Pulling fs layer [2023-11-06T23:41:42.611Z] f23df028b6ca: Pulling fs layer [2023-11-06T23:41:42.611Z] d65c8cfc05b1: Pulling fs layer [2023-11-06T23:41:42.611Z] 2437ff75d9bd: Pulling fs layer [2023-11-06T23:41:42.611Z] f23df028b6ca: Waiting [2023-11-06T23:41:42.611Z] d65c8cfc05b1: Waiting [2023-11-06T23:41:42.611Z] 2437ff75d9bd: Waiting [2023-11-06T23:41:42.611Z] 765212b225bb: Waiting [2023-11-06T23:41:42.879Z] 04944245beec: Verifying Checksum [2023-11-06T23:41:42.879Z] 04944245beec: Download complete [2023-11-06T23:41:42.879Z] 765212b225bb: Verifying Checksum [2023-11-06T23:41:42.879Z] 765212b225bb: Download complete [2023-11-06T23:41:42.879Z] f23df028b6ca: Verifying Checksum [2023-11-06T23:41:42.879Z] f23df028b6ca: Download complete [2023-11-06T23:41:42.879Z] d65c8cfc05b1: Verifying Checksum [2023-11-06T23:41:42.879Z] d65c8cfc05b1: Download complete [2023-11-06T23:41:43.147Z] 699f458cf7ca: Download complete [2023-11-06T23:41:43.414Z] 8998bd30e6a1: Verifying Checksum [2023-11-06T23:41:43.414Z] 8998bd30e6a1: Download complete [2023-11-06T23:41:45.991Z] 2437ff75d9bd: Verifying Checksum [2023-11-06T23:41:45.991Z] 2437ff75d9bd: Download complete [2023-11-06T23:41:47.931Z] 8998bd30e6a1: Pull complete [2023-11-06T23:41:48.512Z] 04944245beec: Pull complete [2023-11-06T23:41:49.923Z] 699f458cf7ca: Pull complete [2023-11-06T23:41:50.191Z] 765212b225bb: Pull complete [2023-11-06T23:41:54.437Z] f23df028b6ca: Pull complete [2023-11-06T23:41:54.437Z] d65c8cfc05b1: Pull complete [2023-11-06T23:42:12.629Z] 2437ff75d9bd: Pull complete [2023-11-06T23:42:12.629Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-06T23:42:12.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-06T23:42:12.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:42:12.816Z] prd-ubuntu20.04-docker-arm64-4c-16g-16752 does not seem to be running inside a container [2023-11-06T23:42:12.891Z] $ 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-rest-go/149 -v /w/workspace/device-rest-go/149:/w/workspace/device-rest-go/149:rw,z -v /w/workspace/device-rest-go/149@tmp:/w/workspace/device-rest-go/149@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-06T23:42:15.407Z] $ docker top 8a2da8e312642cda875907a0f86f325b65d479c3f0c301a49563a83b8ad1aa1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:42:16.234Z] ---> job-cost.sh [2023-11-06T23:42:16.234Z] lf-activate-venv: SKIPPING [2023-11-06T23:42:16.234Z] INFO: No Stack... [2023-11-06T23:42:16.499Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-06T23:42:17.453Z] INFO: Archiving Costs [Pipeline] sh [2023-11-06T23:42:18.079Z] + cat /w/workspace/device-rest-go/149/archives/cost.csv [2023-11-06T23:42:18.080Z] + cut -d, -f6 [Pipeline] lock [2023-11-06T23:42:18.142Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] [2023-11-06T23:42:18.159Z] Resource [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] did not exist. Created. [2023-11-06T23:42:18.159Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-06T23:42:18.485Z] /w/workspace/device-rest-go/149@tmp/durable-927e5a8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-06T23:42:19.142Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-06T23:42:19.156Z] Warning: overwriting stash ‘stack-cost’ [2023-11-06T23:42:19.199Z] Stashed 1 file(s) [Pipeline] } [2023-11-06T23:42:19.208Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-06T23:42:19.234Z] $ docker stop --time=1 8a2da8e312642cda875907a0f86f325b65d479c3f0c301a49563a83b8ad1aa1e [2023-11-06T23:42:22.756Z] $ docker rm -f --volumes 8a2da8e312642cda875907a0f86f325b65d479c3f0c301a49563a83b8ad1aa1e [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-06T23:42:23.142Z] provisioning config files... [2023-11-06T23:42:23.149Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1251135005094652635tmp [Pipeline] { [Pipeline] sh [2023-11-06T23:42:23.439Z] + set +x [2023-11-06T23:42:23.440Z] + + bash -s -- [2023-11-06T23:42:23.440Z] curl -s https://codecov.io/bash [2023-11-06T23:42:23.440Z] [2023-11-06T23:42:23.440Z] _____ _ [2023-11-06T23:42:23.440Z] / ____| | | [2023-11-06T23:42:23.440Z] | | ___ __| | ___ ___ _____ __ [2023-11-06T23:42:23.440Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-06T23:42:23.440Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-06T23:42:23.440Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-06T23:42:23.440Z] Bash-1.0.6 [2023-11-06T23:42:23.440Z] [2023-11-06T23:42:23.440Z] [2023-11-06T23:42:23.440Z] ==> git version 2.25.1 found [2023-11-06T23:42:23.440Z] ==> 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-06T23:42:23.440Z] Release-Date: 2020-01-08 [2023-11-06T23:42:23.440Z] 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-06T23:42:23.440Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-06T23:42:23.440Z] ==> Jenkins CI detected. [2023-11-06T23:42:23.440Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-06T23:42:23.440Z] project root: . [2023-11-06T23:42:23.440Z] --> token set from env [2023-11-06T23:42:23.440Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-06T23:42:23.440Z] ==> Running gcov in . (disable via -X gcov) [2023-11-06T23:42:23.440Z] ==> Python coveragepy not found [2023-11-06T23:42:23.440Z] ==> Searching for coverage reports in: [2023-11-06T23:42:23.440Z] + . [2023-11-06T23:42:23.440Z] -> Found 1 reports [2023-11-06T23:42:23.440Z] ==> Detecting git/mercurial file structure [2023-11-06T23:42:23.440Z] ==> Reading reports [2023-11-06T23:42:23.440Z] + ./coverage.out bytes=14499 [2023-11-06T23:42:23.440Z] ==> Appending adjustments [2023-11-06T23:42:23.440Z] https://docs.codecov.io/docs/fixing-reports [2023-11-06T23:42:23.698Z] + Found adjustments [2023-11-06T23:42:23.698Z] ==> Gzipping contents [2023-11-06T23:42:23.698Z] 4.0K /tmp/codecov.zGgzIn.gz [2023-11-06T23:42:23.698Z] ==> Uploading reports [2023-11-06T23:42:23.698Z] url: https://codecov.io [2023-11-06T23:42:23.698Z] query: branch=main&commit=549007a9ae6a647223285151eabca3507ba312e0&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-06T23:42:23.698Z] -> Pinging Codecov [2023-11-06T23:42:23.698Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=549007a9ae6a647223285151eabca3507ba312e0&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-06T23:42:23.698Z] -> Uploading to [2023-11-06T23:42:23.698Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-06/4E5D53B4F1F92C436F7061BF334D961C/549007a9ae6a647223285151eabca3507ba312e0/b1a1433c-c56a-445e-a8da-bf48c52229cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231106%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231106T234223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=208450d5d703b7596b2851ee1aac08099d119a7612aa0906a4adb0621d1797d8 [2023-11-06T23:42:23.698Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-06T23:42:23.698Z] Dload Upload Total Spent Left Speed [2023-11-06T23:42:23.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9630 --:--:-- --:--:-- --:--:-- 9630 100 2321 0 0 100 2321 0 9630 --:--:-- --:--:-- --:--:-- 9590 [2023-11-06T23:42:23.959Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] } [2023-11-06T23:42:23.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-06T23:42:24.080Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-06T23:42:24.089Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:42:24.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-06T23:42:24.384Z] [2023-11-06T23:42:24.384Z] 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-06T23:42:24.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-06T23:42:24.682Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-06T23:42:24.682Z] df9b9388f04a: Pulling fs layer [2023-11-06T23:42:24.682Z] 52dc419b0ee2: Pulling fs layer [2023-11-06T23:42:24.682Z] 25bc292e5bac: Pulling fs layer [2023-11-06T23:42:24.682Z] 114826534d7a: Pulling fs layer [2023-11-06T23:42:24.682Z] 4657fd5d0bcf: Pulling fs layer [2023-11-06T23:42:24.682Z] 6ad1cebc031e: Pulling fs layer [2023-11-06T23:42:24.682Z] 8a3aa393b2d8: Pulling fs layer [2023-11-06T23:42:24.682Z] 4657fd5d0bcf: Waiting [2023-11-06T23:42:24.682Z] 114826534d7a: Waiting [2023-11-06T23:42:24.682Z] 6ad1cebc031e: Waiting [2023-11-06T23:42:24.682Z] 8a3aa393b2d8: Waiting [2023-11-06T23:42:24.682Z] 25bc292e5bac: Download complete [2023-11-06T23:42:24.682Z] 52dc419b0ee2: Download complete [2023-11-06T23:42:24.682Z] 4657fd5d0bcf: Download complete [2023-11-06T23:42:24.682Z] df9b9388f04a: Verifying Checksum [2023-11-06T23:42:24.682Z] df9b9388f04a: Download complete [2023-11-06T23:42:24.942Z] df9b9388f04a: Pull complete [2023-11-06T23:42:24.942Z] 6ad1cebc031e: Verifying Checksum [2023-11-06T23:42:24.942Z] 6ad1cebc031e: Download complete [2023-11-06T23:42:24.942Z] 52dc419b0ee2: Pull complete [2023-11-06T23:42:25.202Z] 25bc292e5bac: Pull complete [2023-11-06T23:42:25.459Z] 114826534d7a: Download complete [2023-11-06T23:42:25.717Z] 8a3aa393b2d8: Verifying Checksum [2023-11-06T23:42:25.717Z] 8a3aa393b2d8: Download complete [2023-11-06T23:42:28.998Z] 114826534d7a: Pull complete [2023-11-06T23:42:28.998Z] 4657fd5d0bcf: Pull complete [2023-11-06T23:42:28.998Z] 6ad1cebc031e: Pull complete [2023-11-06T23:42:31.525Z] 8a3aa393b2d8: Pull complete [2023-11-06T23:42:31.525Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-06T23:42:31.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-06T23:42:31.525Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:42:31.609Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:42:31.637Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-06T23:42:35.024Z] $ docker top 0ef34b2ad42eefcb9c4be2ba6e507d15667e7cc41f7b22a0b461798b46cdae98 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-06T23:42:35.092Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-06T23:42:35.364Z] + set -o pipefail [2023-11-06T23:42:35.364Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-06T23:42:40.630Z] [2023-11-06T23:42:40.630Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-06T23:42:40.630Z] [2023-11-06T23:42:40.630Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/12fcc2b3-07dd-4699-b757-ea54f58c6eee [2023-11-06T23:42:40.630Z] [2023-11-06T23:42:40.630Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-06T23:42:40.630Z] [2023-11-06T23:42:40.630Z] [2023-11-06T23:42:40.630Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-06T23:42:40.630Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-06T23:42:40.630Z] More details here: https://snyk.co/ue1NS [2023-11-06T23:42:40.630Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-06T23:42:40.630Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-06T23:42:40.643Z] $ docker stop --time=1 0ef34b2ad42eefcb9c4be2ba6e507d15667e7cc41f7b22a0b461798b46cdae98 [2023-11-06T23:42:44.034Z] $ docker rm -f --volumes 0ef34b2ad42eefcb9c4be2ba6e507d15667e7cc41f7b22a0b461798b46cdae98 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-06T23:42:44.748Z] + git log --format=format:%s -1 549007a9ae6a647223285151eabca3507ba312e0 [Pipeline] sh [2023-11-06T23:42:45.043Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T23:42:45.043Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:42:45.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:42:45.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:42:45.415Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:42:45.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-06T23:42:45.808Z] $ docker top 41875106d0f7af953aa5aab791c5835e32c4fc587e724dbc7bb6b025daa982ef -eo pid,comm [2023-11-06T23:42:45.853Z] 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-06T23:42:45.853Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T23:42:45.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:42:45.885Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:42:45.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:42:46.003Z] $ docker exec 41875106d0f7af953aa5aab791c5835e32c4fc587e724dbc7bb6b025daa982ef ssh-agent [2023-11-06T23:42:46.094Z] SSH_AUTH_SOCK=/tmp/ssh-Oe1OxtKQEtQN/agent.32 [2023-11-06T23:42:46.094Z] SSH_AGENT_PID=38 [2023-11-06T23:42:46.099Z] Running ssh-add (command line suppressed) [2023-11-06T23:42:46.196Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15341301929348462881.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15341301929348462881.key) [2023-11-06T23:42:46.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:42:46.491Z] + git semver tag [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,683 [run_tag] DEBUG tag force:False [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,683 [check_head_tag] DEBUG check head tag [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,684 [execute] INFO git cat-file --batch-check [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,688 [execute] INFO git cat-file --batch [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,701 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,701 [execute] INFO git tag -a v3.1.0-dev.29 -m v3.1.0-dev.29 [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,702 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.29', '-m', 'v3.1.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:42:46.751Z] 2023-11-06 23:42:46,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:42:46.751Z] 3.1.0-dev.29 [Pipeline] } [2023-11-06T23:42:46.763Z] $ docker exec --env ******** --env ******** 41875106d0f7af953aa5aab791c5835e32c4fc587e724dbc7bb6b025daa982ef ssh-agent -k [2023-11-06T23:42:46.861Z] unset SSH_AUTH_SOCK; [2023-11-06T23:42:46.861Z] unset SSH_AGENT_PID; [2023-11-06T23:42:46.862Z] echo Agent pid 38 killed; [2023-11-06T23:42:46.867Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T23:42:47.166Z] + git semver [Pipeline] } [2023-11-06T23:42:47.441Z] $ docker stop --time=1 41875106d0f7af953aa5aab791c5835e32c4fc587e724dbc7bb6b025daa982ef [2023-11-06T23:42:48.790Z] $ docker rm -f --volumes 41875106d0f7af953aa5aab791c5835e32c4fc587e724dbc7bb6b025daa982ef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:42:49.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-06T23:42:49.157Z] [2023-11-06T23:42:49.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:42:49.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-06T23:42:49.449Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-06T23:42:49.449Z] ab5ef0e58194: Pulling fs layer [2023-11-06T23:42:49.449Z] 9712f1f96733: Pulling fs layer [2023-11-06T23:42:49.449Z] 63f879dbbcfc: Pulling fs layer [2023-11-06T23:42:49.449Z] 0d9ebad4ef96: Pulling fs layer [2023-11-06T23:42:49.449Z] e9a5061849ea: Pulling fs layer [2023-11-06T23:42:49.449Z] d747dcd14b5f: Pulling fs layer [2023-11-06T23:42:49.449Z] 2de7ff778b66: Pulling fs layer [2023-11-06T23:42:49.449Z] d747dcd14b5f: Waiting [2023-11-06T23:42:49.449Z] 2de7ff778b66: Waiting [2023-11-06T23:42:49.449Z] 0d9ebad4ef96: Waiting [2023-11-06T23:42:49.449Z] 9712f1f96733: Verifying Checksum [2023-11-06T23:42:49.449Z] 9712f1f96733: Download complete [2023-11-06T23:42:50.015Z] 63f879dbbcfc: Verifying Checksum [2023-11-06T23:42:50.015Z] 63f879dbbcfc: Download complete [2023-11-06T23:42:50.015Z] e9a5061849ea: Verifying Checksum [2023-11-06T23:42:50.015Z] e9a5061849ea: Download complete [2023-11-06T23:42:50.015Z] d747dcd14b5f: Verifying Checksum [2023-11-06T23:42:50.015Z] d747dcd14b5f: Download complete [2023-11-06T23:42:50.015Z] ab5ef0e58194: Verifying Checksum [2023-11-06T23:42:50.015Z] ab5ef0e58194: Download complete [2023-11-06T23:42:50.272Z] 0d9ebad4ef96: Download complete [2023-11-06T23:42:50.272Z] 2de7ff778b66: Verifying Checksum [2023-11-06T23:42:50.272Z] 2de7ff778b66: Download complete [2023-11-06T23:42:52.797Z] ab5ef0e58194: Pull complete [2023-11-06T23:42:52.797Z] 9712f1f96733: Pull complete [2023-11-06T23:42:53.363Z] 63f879dbbcfc: Pull complete [2023-11-06T23:42:56.644Z] 0d9ebad4ef96: Pull complete [2023-11-06T23:42:56.644Z] e9a5061849ea: Pull complete [2023-11-06T23:42:56.644Z] d747dcd14b5f: Pull complete [2023-11-06T23:42:57.580Z] 2de7ff778b66: Pull complete [2023-11-06T23:42:57.581Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-06T23:42:57.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-06T23:42:57.581Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:42:57.657Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:42:57.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-06T23:43:01.688Z] $ docker top ea72435fb12f66886a61ed30691a5ddccebb43e4bc19d5326766908663c99261 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:43:01.759Z] provisioning config files... [2023-11-06T23:43:01.767Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6662551911847552073tmp [2023-11-06T23:43:01.777Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2527129842459428232tmp [2023-11-06T23:43:01.786Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13771523593380409030tmp [Pipeline] { [Pipeline] echo [2023-11-06T23:43:01.802Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:02.099Z] ---> sigul-configuration.sh [2023-11-06T23:43:02.099Z] gpg: directory `/root/.gnupg' created [2023-11-06T23:43:02.099Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-06T23:43:02.099Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-06T23:43:02.099Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-06T23:43:02.099Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-06T23:43:02.099Z] gpg: CAST5 encrypted data [2023-11-06T23:43:02.099Z] gpg: encrypted with 1 passphrase [2023-11-06T23:43:02.099Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-06T23:43:02.385Z] + mkdir /home/jenkins [2023-11-06T23:43:02.386Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-06T23:43:02.671Z] + 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-06T23:43:02.681Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:02.966Z] ---> sigul-install.sh [2023-11-06T23:43:02.966Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-06T23:43:03.259Z] + git tag --list [2023-11-06T23:43:03.259Z] v1.0.0 [2023-11-06T23:43:03.259Z] v1.1.0 [2023-11-06T23:43:03.259Z] v1.1.1 [2023-11-06T23:43:03.259Z] v1.1.2 [2023-11-06T23:43:03.259Z] v1.2.0 [2023-11-06T23:43:03.259Z] v1.2.1 [2023-11-06T23:43:03.259Z] v2.0.0 [2023-11-06T23:43:03.259Z] v2.1.0 [2023-11-06T23:43:03.259Z] v2.1.1 [2023-11-06T23:43:03.259Z] v2.2.0 [2023-11-06T23:43:03.259Z] v2.3.0 [2023-11-06T23:43:03.259Z] v3.0 [2023-11-06T23:43:03.259Z] v3.0.0 [2023-11-06T23:43:03.259Z] v3.1.0-dev.1 [2023-11-06T23:43:03.259Z] v3.1.0-dev.10 [2023-11-06T23:43:03.259Z] v3.1.0-dev.11 [2023-11-06T23:43:03.259Z] v3.1.0-dev.12 [2023-11-06T23:43:03.259Z] v3.1.0-dev.13 [2023-11-06T23:43:03.259Z] v3.1.0-dev.14 [2023-11-06T23:43:03.259Z] v3.1.0-dev.15 [2023-11-06T23:43:03.259Z] v3.1.0-dev.16 [2023-11-06T23:43:03.259Z] v3.1.0-dev.17 [2023-11-06T23:43:03.259Z] v3.1.0-dev.18 [2023-11-06T23:43:03.259Z] v3.1.0-dev.19 [2023-11-06T23:43:03.259Z] v3.1.0-dev.2 [2023-11-06T23:43:03.259Z] v3.1.0-dev.20 [2023-11-06T23:43:03.259Z] v3.1.0-dev.21 [2023-11-06T23:43:03.259Z] v3.1.0-dev.22 [2023-11-06T23:43:03.259Z] v3.1.0-dev.23 [2023-11-06T23:43:03.259Z] v3.1.0-dev.24 [2023-11-06T23:43:03.259Z] v3.1.0-dev.25 [2023-11-06T23:43:03.259Z] v3.1.0-dev.26 [2023-11-06T23:43:03.259Z] v3.1.0-dev.27 [2023-11-06T23:43:03.259Z] v3.1.0-dev.28 [2023-11-06T23:43:03.259Z] v3.1.0-dev.29 [2023-11-06T23:43:03.259Z] v3.1.0-dev.3 [2023-11-06T23:43:03.259Z] v3.1.0-dev.4 [2023-11-06T23:43:03.259Z] v3.1.0-dev.5 [2023-11-06T23:43:03.259Z] v3.1.0-dev.6 [2023-11-06T23:43:03.259Z] v3.1.0-dev.7 [2023-11-06T23:43:03.259Z] v3.1.0-dev.8 [2023-11-06T23:43:03.259Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-06T23:43:03.550Z] + lftools sign git-tag v3.1.0-dev.29 [2023-11-06T23:43:04.120Z] Signing Git tag with Sigul... [2023-11-06T23:43:04.120Z] Signing v3.1.0-dev.29 [Pipeline] echo [2023-11-06T23:43:04.389Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:04.673Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-06T23:43:04.681Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-06T23:43:04.703Z] $ docker stop --time=1 ea72435fb12f66886a61ed30691a5ddccebb43e4bc19d5326766908663c99261 [2023-11-06T23:43:06.018Z] $ docker rm -f --volumes ea72435fb12f66886a61ed30691a5ddccebb43e4bc19d5326766908663c99261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-06T23:43:06.452Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T23:43:06.452Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:43:06.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:43:06.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:43:06.818Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:43:06.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-06T23:43:07.171Z] $ docker top 10e65f5d8d783b765003fc6799dc630e4e21c437c743710657186ba6dc1bc22e -eo pid,comm [2023-11-06T23:43:07.217Z] 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-06T23:43:07.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T23:43:07.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:43:07.258Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:43:07.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:43:07.374Z] $ docker exec 10e65f5d8d783b765003fc6799dc630e4e21c437c743710657186ba6dc1bc22e ssh-agent [2023-11-06T23:43:07.470Z] SSH_AUTH_SOCK=/tmp/ssh-v7EebLhULOlJ/agent.32 [2023-11-06T23:43:07.470Z] SSH_AGENT_PID=38 [2023-11-06T23:43:07.474Z] Running ssh-add (command line suppressed) [2023-11-06T23:43:07.580Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14450882560416487121.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14450882560416487121.key) [2023-11-06T23:43:07.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:43:07.962Z] + git semver bump pre [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,132 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,132 [bump_version] DEBUG bumping version:3.1.0-dev.29 on axis:pre with prefix:dev [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,133 [bump_version] DEBUG bumped version:3.1.0-dev.30 [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,133 [write_version] DEBUG write version:3.1.0-dev.30 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,133 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,133 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,135 [execute] INFO git cat-file --batch-check [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,140 [execute] INFO git cat-file --batch [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T23:43:08.221Z] 2023-11-06 23:43:08,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:43:08.221Z] 3.1.0-dev.30 [Pipeline] } [2023-11-06T23:43:08.233Z] $ docker exec --env ******** --env ******** 10e65f5d8d783b765003fc6799dc630e4e21c437c743710657186ba6dc1bc22e ssh-agent -k [2023-11-06T23:43:08.342Z] unset SSH_AUTH_SOCK; [2023-11-06T23:43:08.342Z] unset SSH_AGENT_PID; [2023-11-06T23:43:08.342Z] echo Agent pid 38 killed; [2023-11-06T23:43:08.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T23:43:08.653Z] + git semver [Pipeline] } [2023-11-06T23:43:08.927Z] $ docker stop --time=1 10e65f5d8d783b765003fc6799dc630e4e21c437c743710657186ba6dc1bc22e [2023-11-06T23:43:10.199Z] $ docker rm -f --volumes 10e65f5d8d783b765003fc6799dc630e4e21c437c743710657186ba6dc1bc22e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:43:10.538Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T23:43:10.538Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:43:10.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:43:10.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:43:10.915Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:43:10.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-06T23:43:11.330Z] $ docker top bc0cc962d338ab56d24e727f3b47333f2f028c0e4a1bc1088aba3c5a81219cd1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T23:43:11.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:43:11.416Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:43:11.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:43:11.527Z] $ docker exec bc0cc962d338ab56d24e727f3b47333f2f028c0e4a1bc1088aba3c5a81219cd1 ssh-agent [2023-11-06T23:43:11.628Z] SSH_AUTH_SOCK=/tmp/ssh-AYdlhrxGurj6/agent.32 [2023-11-06T23:43:11.628Z] SSH_AGENT_PID=38 [2023-11-06T23:43:11.633Z] Running ssh-add (command line suppressed) [2023-11-06T23:43:11.739Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10483455710443726623.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10483455710443726623.key) [2023-11-06T23:43:11.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:43:12.035Z] + git semver push [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,202 [run_push] DEBUG push [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,203 [execute] INFO git cat-file --batch-check [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,207 [execute] INFO git rev-list d80465b5ec9129d59c5444e83e942115cea4f5a3 -- [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,208 [execute] DEBUG Popen(['git', 'rev-list', 'd80465b5ec9129d59c5444e83e942115cea4f5a3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,213 [execute] INFO git fetch -v origin [2023-11-06T23:43:12.293Z] 2023-11-06 23:43:12,214 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-06T23:43:12.864Z] 2023-11-06 23:43:12,746 [run_push] DEBUG no remote changes detected [2023-11-06T23:43:12.864Z] 2023-11-06 23:43:12,746 [execute] INFO git push origin semver [2023-11-06T23:43:12.864Z] 2023-11-06 23:43:12,747 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:43:13.800Z] 2023-11-06 23:43:13,476 [run_push] DEBUG push all version tags [2023-11-06T23:43:13.800Z] 2023-11-06 23:43:13,477 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-06T23:43:13.800Z] 2023-11-06 23:43:13,477 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:43:14.370Z] 2023-11-06 23:43:14,222 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-06T23:43:14.370Z] 3.1.0-dev.30 [Pipeline] } [2023-11-06T23:43:14.382Z] $ docker exec --env ******** --env ******** bc0cc962d338ab56d24e727f3b47333f2f028c0e4a1bc1088aba3c5a81219cd1 ssh-agent -k [2023-11-06T23:43:14.469Z] unset SSH_AUTH_SOCK; [2023-11-06T23:43:14.469Z] unset SSH_AGENT_PID; [2023-11-06T23:43:14.470Z] echo Agent pid 38 killed; [2023-11-06T23:43:14.477Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T23:43:14.779Z] + git semver [Pipeline] } [2023-11-06T23:43:15.055Z] $ docker stop --time=1 bc0cc962d338ab56d24e727f3b47333f2f028c0e4a1bc1088aba3c5a81219cd1 [2023-11-06T23:43:16.376Z] $ docker rm -f --volumes bc0cc962d338ab56d24e727f3b47333f2f028c0e4a1bc1088aba3c5a81219cd1 [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-06T23:43:16.945Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-06T23:43:16.945Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-06T23:43:16.945Z] total 16 [2023-11-06T23:43:16.945Z] drwxr-xr-x 3 root root 4096 Nov 6 23:32 . [2023-11-06T23:43:16.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 6 23:43 .. [2023-11-06T23:43:16.945Z] drwxr-xr-x 2 root root 4096 Nov 6 23:32 cost [2023-11-06T23:43:16.945Z] -rw-r--r-- 1 root root 86 Nov 6 23:32 cost.csv [2023-11-06T23:43:16.945Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-06T23:43:16.945Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-06T23:43:16.945Z] total 16 [2023-11-06T23:43:16.945Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 23:32 . [2023-11-06T23:43:16.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 6 23:43 .. [2023-11-06T23:43:16.945Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 6 23:32 cost [2023-11-06T23:43:16.945Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 6 23:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:17.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:18.094Z] ---> package-listing.sh [2023-11-06T23:43:18.094Z] ++ facter osfamily [2023-11-06T23:43:18.094Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-06T23:43:18.353Z] + OS_FAMILY=debian [2023-11-06T23:43:18.353Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-06T23:43:18.353Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-06T23:43:18.353Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-06T23:43:18.353Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-06T23:43:18.353Z] + PACKAGES=/tmp/packages_start.txt [2023-11-06T23:43:18.353Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-06T23:43:18.353Z] + PACKAGES=/tmp/packages_end.txt [2023-11-06T23:43:18.353Z] + case "${OS_FAMILY}" in [2023-11-06T23:43:18.353Z] + dpkg -l [2023-11-06T23:43:18.353Z] + grep '^ii' [2023-11-06T23:43:18.353Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-06T23:43:18.353Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-06T23:43:18.353Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-06T23:43:18.353Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-06T23:43:18.353Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-06T23:43:18.353Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-11-06T23:43:18.364Z] 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-06T23:43:18.640Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:43:19.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T23:43:19.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:43:19.267Z] prd-ubuntu20.04-docker-8c-8g-16749 does not seem to be running inside a container [2023-11-06T23:43:19.300Z] $ 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-06T23:43:19.524Z] $ docker top 2aeda70682fd32b830c056d29f0842129214b791bdeda4c90c92cdd0f4f5252f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:43:19.906Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-06T23:43:20.207Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-06T23:43:20.497Z] + ls /var/log/sa-host [2023-11-06T23:43:20.497Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:43:20.560Z] provisioning config files... [2023-11-06T23:43:20.569Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15178320948182037083tmp [Pipeline] { [Pipeline] echo [2023-11-06T23:43:20.580Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:20.860Z] ---> create-netrc.sh [Pipeline] } [2023-11-06T23:43:20.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:21.193Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-06T23:43:21.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:21.482Z] ---> sudo-logs.sh [2023-11-06T23:43:21.482Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-06T23:43:21.510Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:21.792Z] ---> job-cost.sh [2023-11-06T23:43:21.793Z] lf-activate-venv: SKIPPING [2023-11-06T23:43:21.793Z] DEBUG: total: 0.2199999988079071 [2023-11-06T23:43:21.793Z] INFO: Retrieving Stack Cost... [2023-11-06T23:43:22.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-06T23:43:22.619Z] INFO: Archiving Costs [Pipeline] echo [2023-11-06T23:43:22.630Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:43:22.912Z] ---> logs-deploy.sh [2023-11-06T23:43:22.912Z] lf-activate-venv: SKIPPING [2023-11-06T23:43:22.912Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/149 [2023-11-06T23:43:22.912Z] INFO: archiving workspace using pattern(s): [2023-11-06T23:43:23.849Z] Archives upload complete. [2023-11-06T23:43:23.849Z] INFO: archiving logs to Nexus