Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d823389a6fd487dd609ea6f37b5e7dbe8da964e 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-ssh6587993239613193458.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh973984101426556934.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh11146428590320514917.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11866547548870365154.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-ssh12003433182150555928.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-7216 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 Avoid second fetch Checking out Revision 7d823389a6fd487dd609ea6f37b5e7dbe8da964e (main) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d823389a6fd487dd609ea6f37b5e7dbe8da964e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#344)" > git rev-list --no-walk 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:42:57.201Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:42:57.253Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:42:57.263Z] ========================================================= [2023-09-20T20:42:57.263Z] EdgeX Global Pipelines Version Info [2023-09-20T20:42:57.263Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:42:57.973Z] ------------------- [2023-09-20T20:42:57.973Z] stable info: [2023-09-20T20:42:57.973Z] ------------------- [2023-09-20T20:42:57.973Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:42:57.973Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:42:57.973Z] Message: update stable to v1.0.254 [2023-09-20T20:42:58.544Z] ------------------- [2023-09-20T20:42:58.544Z] experimental info: [2023-09-20T20:42:58.544Z] ------------------- [2023-09-20T20:42:58.544Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:42:58.544Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:42:58.544Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:42:58.695Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-20T20:42:58.711Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-20T20:42:58.731Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:42:58.750Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:42:58.762Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:42:58.776Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:42:58.788Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:42:58.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:42:58.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:42:58.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:42:58.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:42:58.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-20T20:42:58.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:42:58.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:42:58.910Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:42:58.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:42:58.941Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:42:58.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:42:58.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:42:59.002Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:42:59.020Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:42:59.033Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:42:59.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:42:59.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:42:59.081Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:42:59.097Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:42:59.110Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:42:59.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:42:59.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:42:59.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:42:59.167Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo [2023-09-20T20:42:59.183Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d82338 [Pipeline] echo [2023-09-20T20:42:59.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:42:59.249Z] provisioning config files... [2023-09-20T20:42:59.263Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6795333566306933611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:42:59.563Z] ---> docker-login.sh [2023-09-20T20:42:59.563Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:43:00.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:00.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:00.947Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:00.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:00.947Z] [2023-09-20T20:43:00.947Z] Login Succeeded [2023-09-20T20:43:00.947Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:43:00.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:00.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:00.947Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:00.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:00.947Z] [2023-09-20T20:43:01.207Z] Login Succeeded [2023-09-20T20:43:01.207Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:43:01.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:01.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:01.207Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:01.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:01.207Z] [2023-09-20T20:43:01.207Z] Login Succeeded [2023-09-20T20:43:01.207Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:43:01.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:01.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:01.466Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:01.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:01.466Z] [2023-09-20T20:43:01.466Z] Login Succeeded [2023-09-20T20:43:01.466Z] docker.io [2023-09-20T20:43:01.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:01.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:01.726Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:01.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:01.726Z] [2023-09-20T20:43:01.726Z] Login Succeeded [2023-09-20T20:43:01.726Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:43:01.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:43:02.137Z] + git rev-list -1 --merges 7d823389a6fd487dd609ea6f37b5e7dbe8da964e~1..7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo [2023-09-20T20:43:02.191Z] -----------> git rev-list -1 --merges 7d823389a6fd487dd609ea6f37b5e7dbe8da964e~1..7d823389a6fd487dd609ea6f37b5e7dbe8da964e 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [false] [Pipeline] sh [2023-09-20T20:43:02.483Z] + git log --format=format:%s -1 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo [2023-09-20T20:43:02.497Z] ========================================================= [2023-09-20T20:43:02.497Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:43:02.497Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:43:02.819Z] + git log --format=format:%s -1 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo [2023-09-20T20:43:02.829Z] [semverPrep] GIT_COMMIT: 7d823389a6fd487dd609ea6f37b5e7dbe8da964e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#344) [Pipeline] echo [2023-09-20T20:43:02.838Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:43:03.250Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:43:03.250Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:43:03.250Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:43:03.250Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:43:03.250Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:43:03.250Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:43:03.250Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:43:03.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:43:03.594Z] [2023-09-20T20:43:03.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:43:03.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:43:04.161Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:43:04.161Z] b85a868b505f: Pulling fs layer [2023-09-20T20:43:04.161Z] e2be974225ed: Pulling fs layer [2023-09-20T20:43:04.161Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:43:04.161Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:43:04.161Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:43:04.161Z] eaf3925da568: Pulling fs layer [2023-09-20T20:43:04.161Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:43:04.161Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:43:04.161Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:43:04.161Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:43:04.161Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:43:04.161Z] 988bab9f4d93: Waiting [2023-09-20T20:43:04.161Z] 1469e6f7b9e6: Waiting [2023-09-20T20:43:04.161Z] eaf3925da568: Waiting [2023-09-20T20:43:04.161Z] bab4dde63d76: Waiting [2023-09-20T20:43:04.161Z] bde34c3a00c8: Waiting [2023-09-20T20:43:04.161Z] b352a97aabf1: Waiting [2023-09-20T20:43:04.161Z] 4872d77fe225: Waiting [2023-09-20T20:43:04.161Z] 5851b861e8e6: Waiting [2023-09-20T20:43:04.161Z] e2be974225ed: Download complete [2023-09-20T20:43:04.161Z] 988bab9f4d93: Download complete [2023-09-20T20:43:04.161Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:43:04.161Z] 1469e6f7b9e6: Download complete [2023-09-20T20:43:04.161Z] eaf3925da568: Verifying Checksum [2023-09-20T20:43:04.161Z] eaf3925da568: Download complete [2023-09-20T20:43:04.161Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:43:04.161Z] 339a4e72a1f5: Download complete [2023-09-20T20:43:04.161Z] bde34c3a00c8: Verifying Checksum [2023-09-20T20:43:04.161Z] bde34c3a00c8: Download complete [2023-09-20T20:43:04.419Z] b352a97aabf1: Verifying Checksum [2023-09-20T20:43:04.419Z] b352a97aabf1: Download complete [2023-09-20T20:43:04.419Z] 4872d77fe225: Verifying Checksum [2023-09-20T20:43:04.419Z] 4872d77fe225: Download complete [2023-09-20T20:43:04.419Z] 5851b861e8e6: Download complete [2023-09-20T20:43:04.419Z] b85a868b505f: Download complete [2023-09-20T20:43:04.682Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:43:04.682Z] bab4dde63d76: Download complete [2023-09-20T20:43:05.640Z] b85a868b505f: Pull complete [2023-09-20T20:43:05.922Z] e2be974225ed: Pull complete [2023-09-20T20:43:06.182Z] 339a4e72a1f5: Pull complete [2023-09-20T20:43:06.445Z] 988bab9f4d93: Pull complete [2023-09-20T20:43:06.705Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:43:06.705Z] eaf3925da568: Pull complete [2023-09-20T20:43:08.635Z] bab4dde63d76: Pull complete [2023-09-20T20:43:08.635Z] bde34c3a00c8: Pull complete [2023-09-20T20:43:08.897Z] b352a97aabf1: Pull complete [2023-09-20T20:43:08.897Z] 4872d77fe225: Pull complete [2023-09-20T20:43:08.897Z] 5851b861e8e6: Pull complete [2023-09-20T20:43:08.897Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:43:08.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:43:08.897Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:43:09.004Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:43:09.035Z] $ 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-09-20T20:43:11.135Z] $ docker top 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f -eo pid,comm [2023-09-20T20:43:11.198Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:43:11.198Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:43:11.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:43:11.237Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:43:11.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:43:11.361Z] $ docker exec 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent [2023-09-20T20:43:11.474Z] SSH_AUTH_SOCK=/tmp/ssh-TFW3IC1aTbmZ/agent.33 [2023-09-20T20:43:11.474Z] SSH_AGENT_PID=39 [2023-09-20T20:43:11.480Z] Running ssh-add (command line suppressed) [2023-09-20T20:43:11.574Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14537790604671755927.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14537790604671755927.key) [2023-09-20T20:43:11.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:43:11.882Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:43:11.891Z] $ docker exec --env ******** --env ******** 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent -k [2023-09-20T20:43:11.981Z] unset SSH_AUTH_SOCK; [2023-09-20T20:43:11.982Z] unset SSH_AGENT_PID; [2023-09-20T20:43:11.982Z] echo Agent pid 39 killed; [2023-09-20T20:43:11.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:43:12.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:43:12.020Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:43:12.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:43:12.136Z] $ docker exec 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent [2023-09-20T20:43:12.263Z] SSH_AUTH_SOCK=/tmp/ssh-oj6v9atQ3jRj/agent.71 [2023-09-20T20:43:12.263Z] SSH_AGENT_PID=77 [2023-09-20T20:43:12.269Z] Running ssh-add (command line suppressed) [2023-09-20T20:43:12.372Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14440284438421752611.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14440284438421752611.key) [2023-09-20T20:43:12.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:43:12.677Z] + git semver init [2023-09-20T20:43:12.937Z] 2023-09-20 20:43:12,846 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:43:12.937Z] 2023-09-20 20:43:12,846 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-20T20:43:12.937Z] 2023-09-20 20:43:12,847 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-20T20:43:12.937Z] 2023-09-20 20:43:12,847 [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-09-20T20:43:14.392Z] 2023-09-20 20:43:14,011 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-20T20:43:14.392Z] 2023-09-20 20:43:14,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-20T20:43:14.392Z] 2023-09-20 20:43:14,013 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:43:14.392Z] 2023-09-20 20:43:14,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:43:14.392Z] 3.1.0-dev.15 [Pipeline] } [2023-09-20T20:43:14.400Z] $ docker exec --env ******** --env ******** 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent -k [2023-09-20T20:43:14.493Z] unset SSH_AUTH_SOCK; [2023-09-20T20:43:14.494Z] unset SSH_AGENT_PID; [2023-09-20T20:43:14.494Z] echo Agent pid 77 killed; [2023-09-20T20:43:14.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:43:14.835Z] + git semver [Pipeline] } [2023-09-20T20:43:15.112Z] $ docker stop --time=1 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f [2023-09-20T20:43:16.395Z] $ docker rm -f --volumes 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:43:16.752Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:43:16.996Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:43:16.998Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:43:17.174Z] provisioning config files... [2023-09-20T20:43:17.184Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5898268637453159986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:43:17.488Z] ---> docker-login.sh [2023-09-20T20:43:17.488Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:43:17.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:17.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:17.488Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:17.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:17.488Z] [2023-09-20T20:43:17.488Z] Login Succeeded [2023-09-20T20:43:17.488Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:43:17.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:17.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:17.488Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:17.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:17.488Z] [2023-09-20T20:43:17.488Z] Login Succeeded [2023-09-20T20:43:17.746Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:43:17.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:17.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:17.746Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:17.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:17.746Z] [2023-09-20T20:43:17.746Z] Login Succeeded [2023-09-20T20:43:17.746Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:43:17.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:17.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:17.746Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:17.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:17.746Z] [2023-09-20T20:43:17.746Z] Login Succeeded [2023-09-20T20:43:17.746Z] docker.io [2023-09-20T20:43:18.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:43:18.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:43:18.006Z] Configure a credential helper to remove this warning. See [2023-09-20T20:43:18.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:43:18.006Z] [2023-09-20T20:43:18.006Z] Login Succeeded [2023-09-20T20:43:18.006Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:43:18.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:43:18.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:43:18.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:43:18.105Z] ========================================================= [2023-09-20T20:43:18.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:43:18.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:43:18.445Z] + 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-09-20T20:43:18.445Z] Sending build context to Docker daemon 10.9MB [2023-09-20T20:43:18.445Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:43:18.445Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:43:18.445Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:43:18.445Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:43:18.445Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:43:18.445Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:43:18.445Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:43:18.445Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:43:18.445Z] c68163c4e522: Pulling fs layer [2023-09-20T20:43:18.445Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:43:18.445Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:43:18.445Z] ad3a456e5733: Waiting [2023-09-20T20:43:18.445Z] 33e27b845d1e: Waiting [2023-09-20T20:43:18.445Z] c68163c4e522: Waiting [2023-09-20T20:43:18.445Z] 50da416c3ac9: Waiting [2023-09-20T20:43:18.710Z] c4d48a809fc2: Download complete [2023-09-20T20:43:18.710Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:43:18.710Z] ad3a456e5733: Download complete [2023-09-20T20:43:18.710Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:43:18.710Z] 33e27b845d1e: Download complete [2023-09-20T20:43:18.710Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:43:18.710Z] 7264a8db6415: Download complete [2023-09-20T20:43:18.710Z] c68163c4e522: Verifying Checksum [2023-09-20T20:43:18.710Z] c68163c4e522: Download complete [2023-09-20T20:43:18.710Z] 7264a8db6415: Pull complete [2023-09-20T20:43:18.978Z] c4d48a809fc2: Pull complete [2023-09-20T20:43:19.252Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:43:19.252Z] 23d2d4c4bb30: Download complete [2023-09-20T20:43:19.521Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:43:19.521Z] 4f1c88b9dad5: Download complete [2023-09-20T20:43:20.103Z] 50da416c3ac9: Verifying Checksum [2023-09-20T20:43:20.103Z] 50da416c3ac9: Download complete [2023-09-20T20:43:22.632Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:43:22.632Z] ad3a456e5733: Pull complete [2023-09-20T20:43:22.632Z] 33e27b845d1e: Pull complete [2023-09-20T20:43:22.632Z] c68163c4e522: Pull complete [2023-09-20T20:43:25.160Z] 50da416c3ac9: Pull complete [2023-09-20T20:43:25.419Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:43:25.419Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:43:25.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:43:25.419Z] ---> 0786185ac409 [2023-09-20T20:43:25.419Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:43:29.736Z] ---> Running in 4ff28c088d87 [2023-09-20T20:43:29.736Z] Removing intermediate container 4ff28c088d87 [2023-09-20T20:43:29.736Z] ---> fe4a76ba9a82 [2023-09-20T20:43:29.736Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:43:29.736Z] ---> Running in f4fb707bdb9c [2023-09-20T20:43:29.736Z] Removing intermediate container f4fb707bdb9c [2023-09-20T20:43:29.736Z] ---> a22a7335aeb5 [2023-09-20T20:43:29.736Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:43:29.736Z] ---> Running in 33e08d23fc84 [2023-09-20T20:43:29.736Z] Removing intermediate container 33e08d23fc84 [2023-09-20T20:43:29.736Z] ---> 705be57ad097 [2023-09-20T20:43:29.736Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:43:29.736Z] ---> Running in ad11c70972ed [2023-09-20T20:43:29.736Z] Removing intermediate container ad11c70972ed [2023-09-20T20:43:29.736Z] ---> b5abe3418493 [2023-09-20T20:43:29.736Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:43:29.736Z] ---> Running in 97df14947fe5 [2023-09-20T20:43:29.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:43:29.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:43:30.613Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:43:30.613Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:43:30.613Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:43:30.613Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:43:30.613Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:43:30.613Z] OK: 268 MiB in 56 packages [2023-09-20T20:43:30.872Z] Removing intermediate container 97df14947fe5 [2023-09-20T20:43:30.872Z] ---> 8a5ded63e1d6 [2023-09-20T20:43:30.872Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T20:43:30.872Z] ---> Running in f19f4597ebec [2023-09-20T20:43:31.129Z] Removing intermediate container f19f4597ebec [2023-09-20T20:43:31.129Z] ---> 742d0fe7f3c8 [2023-09-20T20:43:31.129Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T20:43:31.129Z] ---> ef8eacd9eb64 [2023-09-20T20:43:31.129Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:43:31.129Z] ---> Running in 6ffc18f2e79b [2023-09-20T20:43:32.123Z] Still waiting to schedule task [2023-09-20T20:43:32.123Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:44:03.209Z] Removing intermediate container 6ffc18f2e79b [2023-09-20T20:44:03.209Z] ---> de5f01dcf460 [2023-09-20T20:44:03.209Z] Step 11/12 : COPY . . [2023-09-20T20:44:03.209Z] ---> 296fc616f57a [2023-09-20T20:44:03.209Z] Step 12/12 : RUN $MAKE [2023-09-20T20:44:03.209Z] ---> Running in 9a7a647cd851 [2023-09-20T20:44:03.209Z] noop [2023-09-20T20:44:03.209Z] Removing intermediate container 9a7a647cd851 [2023-09-20T20:44:03.209Z] ---> 4d0525b71858 [2023-09-20T20:44:03.209Z] Successfully built 4d0525b71858 [2023-09-20T20:44:03.209Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:44:03.519Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:44:03.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:44:03.585Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:44:03.616Z] $ 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-09-20T20:44:03.933Z] $ docker top d03281e52a43172150c22b49f93de53716c00c211a6ffe0439e6ab909c07a614 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:44:04.273Z] + go version [2023-09-20T20:44:04.273Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:44:04.281Z] $ docker stop --time=1 d03281e52a43172150c22b49f93de53716c00c211a6ffe0439e6ab909c07a614 [2023-09-20T20:44:05.501Z] $ docker rm -f --volumes d03281e52a43172150c22b49f93de53716c00c211a6ffe0439e6ab909c07a614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:44:06.378Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:44:06.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:44:09.083Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:44:09.109Z] $ 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-09-20T20:44:09.476Z] $ docker top d1bede5522cbb56d41511276720d7ab6e89ba336a683e42ccf2f6d4147b20ab6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:44:09.816Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:44:10.104Z] + make test [2023-09-20T20:44:10.104Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T20:44:11.473Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T20:44:21.448Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T20:44:21.448Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-09-20T20:44:28.000Z] go vet ./... [2023-09-20T20:44:30.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:44:30.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:44:30.533Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:44:30.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:44:30.554Z] $ docker stop --time=1 d1bede5522cbb56d41511276720d7ab6e89ba336a683e42ccf2f6d4147b20ab6 [2023-09-20T20:44:33.543Z] $ docker rm -f --volumes d1bede5522cbb56d41511276720d7ab6e89ba336a683e42ccf2f6d4147b20ab6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:44:33.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:44:34.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:44:34.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:44:34.897Z] + ls -al . [2023-09-20T20:44:34.898Z] total 188 [2023-09-20T20:44:34.898Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:44 . [2023-09-20T20:44:34.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:42 .. [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:42 .dockerignore [2023-09-20T20:44:34.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:44 .git [2023-09-20T20:44:34.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:42 .github [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:42 .gitignore [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:42 .golangci.yml [2023-09-20T20:44:34.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:43 .semver [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:42 Attribution.txt [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:42 CHANGELOG.md [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:42 Dockerfile [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:42 GOVERNANCE.md [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:42 Jenkinsfile [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:42 LICENSE [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:42 Makefile [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:42 OWNERS.md [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:42 README.md [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:43 VERSION [2023-09-20T20:44:34.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:42 bin [2023-09-20T20:44:34.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:42 cmd [2023-09-20T20:44:34.898Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:44 coverage.out [2023-09-20T20:44:34.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:42 driver [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:42 go.mod [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:42 go.sum [2023-09-20T20:44:34.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:42 snap [2023-09-20T20:44:34.898Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:44:35.197Z] + 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=7d823389a6fd487dd609ea6f37b5e7dbe8da964e --label arch=amd64 --label version=3.1.0-dev.15 . [2023-09-20T20:44:35.197Z] Sending build context to Docker daemon 10.92MB [2023-09-20T20:44:35.197Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:44:35.197Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:44:35.197Z] ---> 4d0525b71858 [2023-09-20T20:44:35.197Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:44:35.457Z] ---> Running in fc566a5232a3 [2023-09-20T20:44:35.457Z] Removing intermediate container fc566a5232a3 [2023-09-20T20:44:35.457Z] ---> da05e8246171 [2023-09-20T20:44:35.457Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:44:35.457Z] ---> Running in ed57810e81cf [2023-09-20T20:44:35.719Z] Removing intermediate container ed57810e81cf [2023-09-20T20:44:35.719Z] ---> 2307ce8a11c9 [2023-09-20T20:44:35.719Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:44:35.719Z] ---> Running in 3ab189429277 [2023-09-20T20:44:35.719Z] Removing intermediate container 3ab189429277 [2023-09-20T20:44:35.719Z] ---> 526e8a57cd57 [2023-09-20T20:44:35.719Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:44:35.719Z] ---> Running in f9bb8fbfda40 [2023-09-20T20:44:35.719Z] Removing intermediate container f9bb8fbfda40 [2023-09-20T20:44:35.719Z] ---> e08beb08fd3b [2023-09-20T20:44:35.719Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:44:35.719Z] ---> Running in ca6a3ca1c89a [2023-09-20T20:44:36.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:44:36.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:44:36.589Z] OK: 268 MiB in 56 packages [2023-09-20T20:44:36.853Z] Removing intermediate container ca6a3ca1c89a [2023-09-20T20:44:36.853Z] ---> 35de65a2b2ff [2023-09-20T20:44:36.853Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T20:44:36.853Z] ---> Running in f705088b8e5d [2023-09-20T20:44:36.853Z] Removing intermediate container f705088b8e5d [2023-09-20T20:44:36.853Z] ---> 241b32483a2f [2023-09-20T20:44:36.853Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T20:44:37.129Z] ---> b238b5142108 [2023-09-20T20:44:37.129Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:44:37.129Z] ---> Running in cfaa1b90af96 [2023-09-20T20:44:37.739Z] Removing intermediate container cfaa1b90af96 [2023-09-20T20:44:37.739Z] ---> b53cc5098747 [2023-09-20T20:44:37.739Z] Step 11/25 : COPY . . [2023-09-20T20:44:38.311Z] ---> d24dbea29faa [2023-09-20T20:44:38.311Z] Step 12/25 : RUN $MAKE [2023-09-20T20:44:38.311Z] ---> Running in 5c41781a9127 [2023-09-20T20:44:38.312Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T20:44:56.384Z] Removing intermediate container 5c41781a9127 [2023-09-20T20:44:56.384Z] ---> 85fb51de3420 [2023-09-20T20:44:56.384Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:44:56.384Z] 3.18: Pulling from library/alpine [2023-09-20T20:44:56.384Z] 7264a8db6415: Already exists [2023-09-20T20:44:56.384Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:44:56.384Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:44:56.384Z] ---> 7e01a0d0a1dc [2023-09-20T20:44:56.384Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:44:56.384Z] ---> Running in 8da3ba300a9a [2023-09-20T20:44:56.384Z] Removing intermediate container 8da3ba300a9a [2023-09-20T20:44:56.384Z] ---> aec41daaa4de [2023-09-20T20:44:56.384Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T20:44:56.384Z] ---> Running in 87249ff694ce [2023-09-20T20:44:56.384Z] Removing intermediate container 87249ff694ce [2023-09-20T20:44:56.384Z] ---> 7224011ade20 [2023-09-20T20:44:56.384Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:44:56.384Z] ---> Running in c32f56e66fc0 [2023-09-20T20:44:56.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:44:56.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:44:56.900Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:44:56.900Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:44:56.900Z] OK: 7 MiB in 16 packages [2023-09-20T20:44:57.159Z] Removing intermediate container c32f56e66fc0 [2023-09-20T20:44:57.159Z] ---> 11b99c1a1d11 [2023-09-20T20:44:57.159Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T20:44:58.094Z] ---> 4bc0d0527289 [2023-09-20T20:44:58.094Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T20:44:58.094Z] ---> c603d62606f3 [2023-09-20T20:44:58.094Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T20:44:58.094Z] ---> a5a36aacfb3e [2023-09-20T20:44:58.094Z] Step 20/25 : EXPOSE 59986 [2023-09-20T20:44:58.352Z] ---> Running in e60ba80831c0 [2023-09-20T20:44:58.352Z] Removing intermediate container e60ba80831c0 [2023-09-20T20:44:58.352Z] ---> f9fc3eb50e82 [2023-09-20T20:44:58.352Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T20:44:58.352Z] ---> Running in 3cfa85087014 [2023-09-20T20:44:58.352Z] Removing intermediate container 3cfa85087014 [2023-09-20T20:44:58.352Z] ---> e372895d1586 [2023-09-20T20:44:58.352Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T20:44:58.352Z] ---> Running in ab94c384f69e [2023-09-20T20:44:58.352Z] Removing intermediate container ab94c384f69e [2023-09-20T20:44:58.352Z] ---> ffd6148a5cae [2023-09-20T20:44:58.352Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T20:44:58.352Z] ---> Running in 26a32d5ce9dd [2023-09-20T20:44:58.610Z] Removing intermediate container 26a32d5ce9dd [2023-09-20T20:44:58.610Z] ---> a8b7b862a970 [2023-09-20T20:44:58.610Z] Step 24/25 : LABEL git_sha=7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:44:58.610Z] ---> Running in f4a0519de35f [2023-09-20T20:44:58.610Z] Removing intermediate container f4a0519de35f [2023-09-20T20:44:58.610Z] ---> 4732ed0e8510 [2023-09-20T20:44:58.610Z] Step 25/25 : LABEL version=3.1.0-dev.15 [2023-09-20T20:44:58.610Z] ---> Running in a5d065b50f86 [2023-09-20T20:44:58.610Z] Removing intermediate container a5d065b50f86 [2023-09-20T20:44:58.610Z] ---> 51ad748e64f2 [2023-09-20T20:44:58.610Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:44:58.610Z] Successfully built 51ad748e64f2 [2023-09-20T20:44:58.610Z] 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-09-20T20:44:58.689Z] provisioning config files... [2023-09-20T20:44:58.697Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16041568451296382143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:44:58.999Z] ---> docker-login.sh [2023-09-20T20:44:58.999Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:44:58.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:44:58.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:44:58.999Z] Configure a credential helper to remove this warning. See [2023-09-20T20:44:58.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:44:58.999Z] [2023-09-20T20:44:58.999Z] Login Succeeded [2023-09-20T20:44:58.999Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:44:58.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:44:58.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:44:58.999Z] Configure a credential helper to remove this warning. See [2023-09-20T20:44:58.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:44:58.999Z] [2023-09-20T20:44:58.999Z] Login Succeeded [2023-09-20T20:44:58.999Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:44:59.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:44:59.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:44:59.258Z] Configure a credential helper to remove this warning. See [2023-09-20T20:44:59.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:44:59.258Z] [2023-09-20T20:44:59.258Z] Login Succeeded [2023-09-20T20:44:59.258Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:44:59.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:44:59.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:44:59.258Z] Configure a credential helper to remove this warning. See [2023-09-20T20:44:59.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:44:59.258Z] [2023-09-20T20:44:59.258Z] Login Succeeded [2023-09-20T20:44:59.258Z] docker.io [2023-09-20T20:44:59.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:44:59.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:44:59.518Z] Configure a credential helper to remove this warning. See [2023-09-20T20:44:59.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:44:59.518Z] [2023-09-20T20:44:59.518Z] Login Succeeded [2023-09-20T20:44:59.518Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:44:59.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:44:59.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:44:59.566Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-20T20:44:59.566Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:44:59.566Z] latest [2023-09-20T20:44:59.566Z] 3.1.0-dev.15 [2023-09-20T20:44:59.566Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [2023-09-20T20:44:59.566Z] main [2023-09-20T20:44:59.566Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:44:59.882Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:00.193Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:45:00.194Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:45:00.194Z] 0e169fec407f: Preparing [2023-09-20T20:45:00.194Z] cce4eaeaa834: Preparing [2023-09-20T20:45:00.194Z] 279b3eb81382: Preparing [2023-09-20T20:45:00.194Z] 7013fd68d160: Preparing [2023-09-20T20:45:00.194Z] 4693057ce236: Preparing [2023-09-20T20:45:00.194Z] 4693057ce236: Layer already exists [2023-09-20T20:45:00.194Z] 7013fd68d160: Pushed [2023-09-20T20:45:00.194Z] 0e169fec407f: Pushed [2023-09-20T20:45:00.194Z] cce4eaeaa834: Pushed [2023-09-20T20:45:02.724Z] 279b3eb81382: Pushed [2023-09-20T20:45:02.982Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:03.289Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:03.590Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-20T20:45:03.590Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:45:03.590Z] 0e169fec407f: Preparing [2023-09-20T20:45:03.590Z] cce4eaeaa834: Preparing [2023-09-20T20:45:03.590Z] 279b3eb81382: Preparing [2023-09-20T20:45:03.590Z] 7013fd68d160: Preparing [2023-09-20T20:45:03.590Z] 4693057ce236: Preparing [2023-09-20T20:45:03.590Z] 4693057ce236: Layer already exists [2023-09-20T20:45:03.590Z] cce4eaeaa834: Layer already exists [2023-09-20T20:45:03.590Z] 0e169fec407f: Layer already exists [2023-09-20T20:45:03.590Z] 279b3eb81382: Layer already exists [2023-09-20T20:45:03.590Z] 7013fd68d160: Layer already exists [2023-09-20T20:45:03.590Z] latest: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:03.901Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:04.217Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.15 [2023-09-20T20:45:04.217Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:45:04.217Z] 0e169fec407f: Preparing [2023-09-20T20:45:04.217Z] cce4eaeaa834: Preparing [2023-09-20T20:45:04.217Z] 279b3eb81382: Preparing [2023-09-20T20:45:04.217Z] 7013fd68d160: Preparing [2023-09-20T20:45:04.217Z] 4693057ce236: Preparing [2023-09-20T20:45:04.217Z] cce4eaeaa834: Layer already exists [2023-09-20T20:45:04.217Z] 7013fd68d160: Layer already exists [2023-09-20T20:45:04.217Z] 4693057ce236: Layer already exists [2023-09-20T20:45:04.217Z] 279b3eb81382: Layer already exists [2023-09-20T20:45:04.217Z] 0e169fec407f: Layer already exists [2023-09-20T20:45:04.217Z] 3.1.0-dev.15: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:04.531Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:04.832Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [2023-09-20T20:45:04.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:45:04.832Z] 0e169fec407f: Preparing [2023-09-20T20:45:04.832Z] cce4eaeaa834: Preparing [2023-09-20T20:45:04.832Z] 279b3eb81382: Preparing [2023-09-20T20:45:04.832Z] 7013fd68d160: Preparing [2023-09-20T20:45:04.832Z] 4693057ce236: Preparing [2023-09-20T20:45:04.832Z] 7013fd68d160: Layer already exists [2023-09-20T20:45:04.832Z] cce4eaeaa834: Layer already exists [2023-09-20T20:45:04.832Z] 279b3eb81382: Layer already exists [2023-09-20T20:45:04.832Z] 0e169fec407f: Layer already exists [2023-09-20T20:45:04.832Z] 4693057ce236: Layer already exists [2023-09-20T20:45:04.832Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:05.146Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:05.449Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-20T20:45:05.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-20T20:45:05.449Z] 0e169fec407f: Preparing [2023-09-20T20:45:05.449Z] cce4eaeaa834: Preparing [2023-09-20T20:45:05.449Z] 279b3eb81382: Preparing [2023-09-20T20:45:05.449Z] 7013fd68d160: Preparing [2023-09-20T20:45:05.449Z] 4693057ce236: Preparing [2023-09-20T20:45:05.449Z] 4693057ce236: Layer already exists [2023-09-20T20:45:05.449Z] 279b3eb81382: Layer already exists [2023-09-20T20:45:05.449Z] 7013fd68d160: Layer already exists [2023-09-20T20:45:05.449Z] cce4eaeaa834: Layer already exists [2023-09-20T20:45:05.449Z] 0e169fec407f: Layer already exists [2023-09-20T20:45:05.449Z] main: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:45:05.491Z] ===================================================== [Pipeline] echo [2023-09-20T20:45:05.496Z] taggedImages: [2023-09-20T20:45:05.496Z] - nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:45:05.496Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-20T20:45:05.496Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.15 [2023-09-20T20:45:05.496Z] - nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [2023-09-20T20:45:05.496Z] - 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-09-20T20:45:05.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:45:05.882Z] [2023-09-20T20:45:05.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:45:06.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:45:06.175Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:45:06.175Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:45:06.175Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:45:06.175Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:45:06.175Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:45:06.175Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:45:06.175Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:45:06.175Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:45:06.175Z] 33b1e0a273af: Waiting [2023-09-20T20:45:06.175Z] 5d3b04190fa2: Waiting [2023-09-20T20:45:06.175Z] 2f39f015ded8: Waiting [2023-09-20T20:45:06.175Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:45:06.175Z] 5c69ac0246d0: Download complete [2023-09-20T20:45:06.433Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:45:06.433Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:45:06.433Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:45:06.433Z] 33b1e0a273af: Download complete [2023-09-20T20:45:06.433Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T20:45:06.433Z] 5d3b04190fa2: Download complete [2023-09-20T20:45:06.433Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:45:06.433Z] ec43610c2a17: Download complete [2023-09-20T20:45:06.433Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:45:06.433Z] 5eb5b503b376: Download complete [2023-09-20T20:45:07.000Z] 2f39f015ded8: Download complete [2023-09-20T20:45:07.932Z] 5eb5b503b376: Pull complete [2023-09-20T20:45:07.932Z] 5c69ac0246d0: Pull complete [2023-09-20T20:45:08.498Z] ec43610c2a17: Pull complete [2023-09-20T20:45:08.755Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:45:09.011Z] 33b1e0a273af: Pull complete [2023-09-20T20:45:09.011Z] 5d3b04190fa2: Pull complete [2023-09-20T20:45:13.192Z] 2f39f015ded8: Pull complete [2023-09-20T20:45:13.192Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:45:13.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:45:13.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:45:13.275Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:45:13.303Z] $ 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-09-20T20:45:16.865Z] $ docker top 6d7da84fe4c5bf1fe39994a81ba209ce1d4ba16c459c135f24728590d8f369fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:45:17.265Z] ---> job-cost.sh [2023-09-20T20:45:17.265Z] lf-activate-venv: SKIPPING [2023-09-20T20:45:17.265Z] INFO: No Stack... [2023-09-20T20:45:17.524Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:45:17.782Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:45:18.071Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-20T20:45:18.071Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:45:18.084Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [2023-09-20T20:45:18.090Z] Resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] did not exist. Created. [2023-09-20T20:45:18.091Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:45:18.390Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:45:18.419Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:45:18.428Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:45:18.443Z] $ docker stop --time=1 6d7da84fe4c5bf1fe39994a81ba209ce1d4ba16c459c135f24728590d8f369fe [2023-09-20T20:45:19.643Z] $ docker rm -f --volumes 6d7da84fe4c5bf1fe39994a81ba209ce1d4ba16c459c135f24728590d8f369fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:47:06.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7217 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-20T20:47:06.123Z] Running in /w/workspace/device-rest-go/135 [Pipeline] { [Pipeline] checkout [2023-09-20T20:47:06.159Z] The recommended git tool is: git [2023-09-20T20:47:13.268Z] using credential edgex-jenkins-ssh [2023-09-20T20:47:13.292Z] Cloning the remote Git repository [2023-09-20T20:47:13.341Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T20:47:13.442Z] > git init /w/workspace/device-rest-go/135 # timeout=10 [2023-09-20T20:47:13.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T20:47:13.606Z] > git --version # timeout=10 [2023-09-20T20:47:13.628Z] > git --version # 'git version 2.25.1' [2023-09-20T20:47:13.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:47:13.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:47:16.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-20T20:47:16.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:47:17.525Z] Avoid second fetch [2023-09-20T20:47:17.526Z] Checking out Revision 7d823389a6fd487dd609ea6f37b5e7dbe8da964e (main) [2023-09-20T20:47:17.549Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:47:17.643Z] > git checkout -f 7d823389a6fd487dd609ea6f37b5e7dbe8da964e # timeout=10 [2023-09-20T20:47:18.550Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#344)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:47:19.884Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:47:19.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:47:19.884Z] Dload Upload Total Spent Left Speed [2023-09-20T20:47:19.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64725 0 --:--:-- --:--:-- --:--:-- 64725 [Pipeline] sh [2023-09-20T20:47:20.746Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:47:21.192Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:47:21.192Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:47:21.469Z] { [2023-09-20T20:47:21.469Z] "registry-mirrors": [ [2023-09-20T20:47:21.469Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:47:21.469Z] ], [2023-09-20T20:47:21.469Z] "bip": "10.250.0.254/24", [2023-09-20T20:47:21.469Z] "hosts": [ [2023-09-20T20:47:21.469Z] "tcp://0.0.0.0:5555", [2023-09-20T20:47:21.469Z] "unix:///var/run/docker.sock" [2023-09-20T20:47:21.469Z] ], [2023-09-20T20:47:21.469Z] "mtu": 1458, [2023-09-20T20:47:21.469Z] "selinux-enabled": true, [2023-09-20T20:47:21.469Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:47:21.469Z] } [Pipeline] sh [2023-09-20T20:47:21.835Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:47:22.182Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:47:40.803Z] provisioning config files... [2023-09-20T20:47:40.832Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/135@tmp/config12379683197130189729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:47:41.190Z] ---> docker-login.sh [2023-09-20T20:47:41.190Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:47:41.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:47:41.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:47:41.782Z] Configure a credential helper to remove this warning. See [2023-09-20T20:47:41.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:47:41.782Z] [2023-09-20T20:47:41.782Z] Login Succeeded [2023-09-20T20:47:41.782Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:47:42.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:47:42.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:47:42.051Z] Configure a credential helper to remove this warning. See [2023-09-20T20:47:42.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:47:42.051Z] [2023-09-20T20:47:42.051Z] Login Succeeded [2023-09-20T20:47:42.331Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:47:42.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:47:42.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:47:42.602Z] Configure a credential helper to remove this warning. See [2023-09-20T20:47:42.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:47:42.602Z] [2023-09-20T20:47:42.602Z] Login Succeeded [2023-09-20T20:47:42.602Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:47:42.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:47:42.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:47:42.876Z] Configure a credential helper to remove this warning. See [2023-09-20T20:47:42.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:47:42.876Z] [2023-09-20T20:47:42.876Z] Login Succeeded [2023-09-20T20:47:42.876Z] docker.io [2023-09-20T20:47:43.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:47:43.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:47:43.415Z] Configure a credential helper to remove this warning. See [2023-09-20T20:47:43.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:47:43.415Z] [2023-09-20T20:47:43.415Z] Login Succeeded [2023-09-20T20:47:43.415Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:47:43.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:47:43.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:47:43.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:47:43.725Z] ========================================================= [2023-09-20T20:47:43.725Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T20:47:43.725Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:47:44.072Z] + 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-09-20T20:47:44.072Z] Sending build context to Docker daemon 143.4kB [2023-09-20T20:47:44.341Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:47:44.341Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:47:44.927Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T20:47:44.927Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T20:47:44.927Z] 5d54e960e981: Pulling fs layer [2023-09-20T20:47:44.927Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T20:47:44.927Z] f0e02332f6b5: Pulling fs layer [2023-09-20T20:47:44.927Z] cefa15bbcfad: Pulling fs layer [2023-09-20T20:47:44.927Z] 17808c966233: Pulling fs layer [2023-09-20T20:47:44.927Z] f4c1fc716caa: Pulling fs layer [2023-09-20T20:47:44.927Z] 17808c966233: Waiting [2023-09-20T20:47:44.927Z] f0e02332f6b5: Waiting [2023-09-20T20:47:44.927Z] cefa15bbcfad: Waiting [2023-09-20T20:47:44.927Z] f4c1fc716caa: Waiting [2023-09-20T20:47:44.927Z] 5d54e960e981: Verifying Checksum [2023-09-20T20:47:44.927Z] 5d54e960e981: Download complete [2023-09-20T20:47:44.927Z] f0e02332f6b5: Verifying Checksum [2023-09-20T20:47:44.927Z] f0e02332f6b5: Download complete [2023-09-20T20:47:44.927Z] cefa15bbcfad: Verifying Checksum [2023-09-20T20:47:44.927Z] cefa15bbcfad: Download complete [2023-09-20T20:47:45.200Z] 9fda8d8052c6: Download complete [2023-09-20T20:47:45.478Z] f4c1fc716caa: Verifying Checksum [2023-09-20T20:47:45.478Z] f4c1fc716caa: Download complete [2023-09-20T20:47:45.749Z] 9fda8d8052c6: Pull complete [2023-09-20T20:47:46.341Z] 5d54e960e981: Pull complete [2023-09-20T20:47:46.615Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T20:47:46.615Z] c4a7e357bf2a: Download complete [2023-09-20T20:47:47.587Z] 17808c966233: Verifying Checksum [2023-09-20T20:47:47.587Z] 17808c966233: Download complete [2023-09-20T20:47:59.917Z] c4a7e357bf2a: Pull complete [2023-09-20T20:47:59.917Z] f0e02332f6b5: Pull complete [2023-09-20T20:47:59.917Z] cefa15bbcfad: Pull complete [2023-09-20T20:48:04.179Z] 17808c966233: Pull complete [2023-09-20T20:48:05.597Z] f4c1fc716caa: Pull complete [2023-09-20T20:48:05.597Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T20:48:05.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T20:48:05.597Z] ---> ea914061e18c [2023-09-20T20:48:05.597Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:48:07.012Z] ---> Running in eda0d60bab58 [2023-09-20T20:48:07.280Z] Removing intermediate container eda0d60bab58 [2023-09-20T20:48:07.280Z] ---> 32cec0b2285f [2023-09-20T20:48:07.280Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:48:07.564Z] ---> Running in 4c4e10974860 [2023-09-20T20:48:07.832Z] Removing intermediate container 4c4e10974860 [2023-09-20T20:48:07.832Z] ---> 5e144831ce45 [2023-09-20T20:48:07.832Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:48:07.832Z] ---> Running in 0b74fc584f75 [2023-09-20T20:48:08.099Z] Removing intermediate container 0b74fc584f75 [2023-09-20T20:48:08.099Z] ---> 416dd58b2864 [2023-09-20T20:48:08.099Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:48:08.099Z] ---> Running in 3989c3c3cea1 [2023-09-20T20:48:08.368Z] Removing intermediate container 3989c3c3cea1 [2023-09-20T20:48:08.368Z] ---> 15c33b2acf14 [2023-09-20T20:48:08.368Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:48:08.368Z] ---> Running in e52adfa8bc23 [2023-09-20T20:48:09.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:48:10.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:48:11.015Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:48:11.015Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:48:11.015Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:48:11.015Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:48:11.015Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:48:11.015Z] OK: 270 MiB in 56 packages [2023-09-20T20:48:12.438Z] Removing intermediate container e52adfa8bc23 [2023-09-20T20:48:12.438Z] ---> e8e16e6200fa [2023-09-20T20:48:12.438Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T20:48:12.438Z] ---> Running in 2858cca2f2b0 [2023-09-20T20:48:12.438Z] Removing intermediate container 2858cca2f2b0 [2023-09-20T20:48:12.438Z] ---> a19803838249 [2023-09-20T20:48:12.438Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T20:48:13.025Z] ---> 3e26f84aee85 [2023-09-20T20:48:13.025Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:48:13.025Z] ---> Running in 8dce8e7d1834 [2023-09-20T20:49:34.667Z] Removing intermediate container 8dce8e7d1834 [2023-09-20T20:49:34.667Z] ---> 9943c7ccad4f [2023-09-20T20:49:34.667Z] Step 11/12 : COPY . . [2023-09-20T20:49:34.667Z] ---> 1e7ce871c846 [2023-09-20T20:49:34.667Z] Step 12/12 : RUN $MAKE [2023-09-20T20:49:34.667Z] ---> Running in 96e92f796d1f [2023-09-20T20:49:34.667Z] noop [2023-09-20T20:49:34.667Z] Removing intermediate container 96e92f796d1f [2023-09-20T20:49:34.667Z] ---> b8d8de85fce5 [2023-09-20T20:49:34.667Z] Successfully built b8d8de85fce5 [2023-09-20T20:49:34.667Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:49:35.027Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T20:49:35.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:49:35.246Z] prd-ubuntu20.04-docker-arm64-4c-16g-7217 does not seem to be running inside a container [2023-09-20T20:49:35.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/135 -v /w/workspace/device-rest-go/135:/w/workspace/device-rest-go/135:rw,z -v /w/workspace/device-rest-go/135@tmp:/w/workspace/device-rest-go/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T20:49:36.570Z] $ docker top 7af15c1c0eb9b56f2e2f8cc843359a98b5171dca33d0db6c1ca73c8c4997fb78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:49:37.416Z] + go version [2023-09-20T20:49:37.416Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T20:49:37.439Z] $ docker stop --time=1 7af15c1c0eb9b56f2e2f8cc843359a98b5171dca33d0db6c1ca73c8c4997fb78 [2023-09-20T20:49:39.114Z] $ docker rm -f --volumes 7af15c1c0eb9b56f2e2f8cc843359a98b5171dca33d0db6c1ca73c8c4997fb78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:49:39.676Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T20:49:39.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:49:39.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-7217 does not seem to be running inside a container [2023-09-20T20:49:39.941Z] $ 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/135 -v /w/workspace/device-rest-go/135:/w/workspace/device-rest-go/135:rw,z -v /w/workspace/device-rest-go/135@tmp:/w/workspace/device-rest-go/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T20:49:41.148Z] $ docker top 21d321b8c22a3bbf86f6fefcc3151063566a8386fc549d10d2dfdeebe9c5da13 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:49:41.991Z] + git config --global --add safe.directory /w/workspace/device-rest-go/135 [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:49:42.323Z] + make test [2023-09-20T20:49:42.595Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T20:49:47.948Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T20:51:24.619Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T20:51:24.619Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-09-20T20:51:24.619Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T20:51:24.619Z] go vet ./... [2023-09-20T20:51:42.839Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:51:42.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:51:42.839Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:51:42.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:51:42.871Z] $ docker stop --time=1 21d321b8c22a3bbf86f6fefcc3151063566a8386fc549d10d2dfdeebe9c5da13 [2023-09-20T20:51:46.320Z] $ docker rm -f --volumes 21d321b8c22a3bbf86f6fefcc3151063566a8386fc549d10d2dfdeebe9c5da13 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:51:47.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:51:47.466Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T20:51:47.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:51:48.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:51:48.620Z] + ls -al . [2023-09-20T20:51:48.620Z] total 184 [2023-09-20T20:51:48.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:49 . [2023-09-20T20:51:48.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:47 .. [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:47 .dockerignore [2023-09-20T20:51:48.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:47 .git [2023-09-20T20:51:48.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:47 .github [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:47 .gitignore [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:47 .golangci.yml [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:47 Attribution.txt [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:47 CHANGELOG.md [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:47 Dockerfile [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:47 GOVERNANCE.md [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:47 Jenkinsfile [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:47 LICENSE [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:47 Makefile [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:47 OWNERS.md [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:47 README.md [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:43 VERSION [2023-09-20T20:51:48.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:47 bin [2023-09-20T20:51:48.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:47 cmd [2023-09-20T20:51:48.620Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:51 coverage.out [2023-09-20T20:51:48.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:47 driver [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:47 go.mod [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:47 go.sum [2023-09-20T20:51:48.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:47 snap [2023-09-20T20:51:48.620Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:51:48.950Z] + 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=7d823389a6fd487dd609ea6f37b5e7dbe8da964e --label arch=arm64 --label version=3.1.0-dev.15 . [2023-09-20T20:51:48.950Z] Sending build context to Docker daemon 158.7kB [2023-09-20T20:51:49.218Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:51:49.218Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:51:49.218Z] ---> b8d8de85fce5 [2023-09-20T20:51:49.218Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:51:49.218Z] ---> Running in 09b132341166 [2023-09-20T20:51:49.489Z] Removing intermediate container 09b132341166 [2023-09-20T20:51:49.489Z] ---> fdcc818bb41f [2023-09-20T20:51:49.489Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:51:49.769Z] ---> Running in 0b7850894503 [2023-09-20T20:51:50.035Z] Removing intermediate container 0b7850894503 [2023-09-20T20:51:50.035Z] ---> bedb0887ab7b [2023-09-20T20:51:50.035Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:51:50.035Z] ---> Running in 8be3e1540c80 [2023-09-20T20:51:50.303Z] Removing intermediate container 8be3e1540c80 [2023-09-20T20:51:50.303Z] ---> dfa4637fdc36 [2023-09-20T20:51:50.303Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:51:50.303Z] ---> Running in af90040f9909 [2023-09-20T20:51:50.569Z] Removing intermediate container af90040f9909 [2023-09-20T20:51:50.569Z] ---> 152ff3875ba7 [2023-09-20T20:51:50.569Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:51:50.837Z] ---> Running in 20c420b062cc [2023-09-20T20:51:51.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:51:52.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:51:53.487Z] OK: 270 MiB in 56 packages [2023-09-20T20:51:54.080Z] Removing intermediate container 20c420b062cc [2023-09-20T20:51:54.080Z] ---> 54d10cbaa664 [2023-09-20T20:51:54.080Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T20:51:54.080Z] ---> Running in b4acadfe2c28 [2023-09-20T20:51:54.349Z] Removing intermediate container b4acadfe2c28 [2023-09-20T20:51:54.349Z] ---> 031780e62641 [2023-09-20T20:51:54.349Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T20:51:54.939Z] ---> 5d18989b4e12 [2023-09-20T20:51:54.939Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:51:54.939Z] ---> Running in 18cd39ee82b2 [2023-09-20T20:51:59.199Z] Removing intermediate container 18cd39ee82b2 [2023-09-20T20:51:59.199Z] ---> 944e97e2c1bf [2023-09-20T20:51:59.199Z] Step 11/25 : COPY . . [2023-09-20T20:51:59.785Z] ---> f15060cd94a5 [2023-09-20T20:51:59.785Z] Step 12/25 : RUN $MAKE [2023-09-20T20:51:59.785Z] ---> Running in 5345e7d5066e [2023-09-20T20:52:00.751Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T20:53:56.794Z] Removing intermediate container 5345e7d5066e [2023-09-20T20:53:56.794Z] ---> 8941cbf82de9 [2023-09-20T20:53:56.794Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:53:56.794Z] 3.18: Pulling from library/alpine [2023-09-20T20:53:56.794Z] 9fda8d8052c6: Already exists [2023-09-20T20:53:56.795Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:53:56.795Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:53:56.795Z] ---> f6648c04cd6c [2023-09-20T20:53:56.795Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:53:56.795Z] ---> Running in 6c9474247ca6 [2023-09-20T20:53:56.795Z] Removing intermediate container 6c9474247ca6 [2023-09-20T20:53:56.795Z] ---> bea437889e87 [2023-09-20T20:53:56.795Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T20:53:56.795Z] ---> Running in df4d07db4043 [2023-09-20T20:53:56.795Z] Removing intermediate container df4d07db4043 [2023-09-20T20:53:56.795Z] ---> abb69573dbee [2023-09-20T20:53:56.795Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:53:56.795Z] ---> Running in 95a1cc7549f5 [2023-09-20T20:53:56.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:53:56.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:53:56.795Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:53:56.795Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:53:56.795Z] OK: 8 MiB in 16 packages [2023-09-20T20:53:56.795Z] Removing intermediate container 95a1cc7549f5 [2023-09-20T20:53:56.795Z] ---> 565bc793facf [2023-09-20T20:53:56.795Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T20:53:56.795Z] ---> 650a55613301 [2023-09-20T20:53:56.795Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T20:53:56.795Z] ---> 7dab8089a1ad [2023-09-20T20:53:56.795Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T20:53:57.063Z] ---> 2f41f1bec815 [2023-09-20T20:53:57.063Z] Step 20/25 : EXPOSE 59986 [2023-09-20T20:53:57.063Z] ---> Running in b263644d39ed [2023-09-20T20:53:57.330Z] Removing intermediate container b263644d39ed [2023-09-20T20:53:57.330Z] ---> f2008b2698bd [2023-09-20T20:53:57.330Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T20:53:57.330Z] ---> Running in d90b80c05639 [2023-09-20T20:53:57.602Z] Removing intermediate container d90b80c05639 [2023-09-20T20:53:57.602Z] ---> dce4b9714754 [2023-09-20T20:53:57.602Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T20:53:57.877Z] ---> Running in 081912410f50 [2023-09-20T20:53:58.145Z] Removing intermediate container 081912410f50 [2023-09-20T20:53:58.145Z] ---> 4b8ba0bffe28 [2023-09-20T20:53:58.145Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T20:53:58.145Z] ---> Running in fc4d23645ba3 [2023-09-20T20:53:58.412Z] Removing intermediate container fc4d23645ba3 [2023-09-20T20:53:58.412Z] ---> 4c712f17e36e [2023-09-20T20:53:58.412Z] Step 24/25 : LABEL git_sha=7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:53:58.412Z] ---> Running in 26c4590a8f8e [2023-09-20T20:53:58.680Z] Removing intermediate container 26c4590a8f8e [2023-09-20T20:53:58.680Z] ---> f122d6997f16 [2023-09-20T20:53:58.680Z] Step 25/25 : LABEL version=3.1.0-dev.15 [2023-09-20T20:53:58.947Z] ---> Running in ca63a3755ac5 [2023-09-20T20:53:59.215Z] Removing intermediate container ca63a3755ac5 [2023-09-20T20:53:59.215Z] ---> b0514966b2d9 [2023-09-20T20:53:59.215Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:53:59.215Z] Successfully built b0514966b2d9 [2023-09-20T20:53:59.215Z] 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-09-20T20:53:59.326Z] provisioning config files... [2023-09-20T20:53:59.343Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/135@tmp/config3011690868892055874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:53:59.680Z] ---> docker-login.sh [2023-09-20T20:53:59.680Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:53:59.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:53:59.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:53:59.948Z] Configure a credential helper to remove this warning. See [2023-09-20T20:53:59.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:53:59.948Z] [2023-09-20T20:53:59.948Z] Login Succeeded [2023-09-20T20:53:59.948Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:54:00.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:00.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:00.215Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:00.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:00.215Z] [2023-09-20T20:54:00.215Z] Login Succeeded [2023-09-20T20:54:00.215Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:54:00.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:00.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:00.750Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:00.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:00.750Z] [2023-09-20T20:54:00.750Z] Login Succeeded [2023-09-20T20:54:00.750Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:54:01.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:01.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:01.018Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:01.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:01.018Z] [2023-09-20T20:54:01.018Z] Login Succeeded [2023-09-20T20:54:01.018Z] docker.io [2023-09-20T20:54:01.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:54:01.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:54:01.555Z] Configure a credential helper to remove this warning. See [2023-09-20T20:54:01.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:54:01.555Z] [2023-09-20T20:54:01.555Z] Login Succeeded [2023-09-20T20:54:01.555Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:54:01.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:54:01.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:54:01.619Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-20T20:54:01.619Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:54:01.619Z] latest [2023-09-20T20:54:01.619Z] 3.1.0-dev.15 [2023-09-20T20:54:01.619Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [2023-09-20T20:54:01.619Z] main [2023-09-20T20:54:01.619Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:01.960Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:02.299Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:54:02.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T20:54:02.299Z] e655c1194b8c: Preparing [2023-09-20T20:54:02.299Z] 7963f395423b: Preparing [2023-09-20T20:54:02.299Z] a9791fb96bdc: Preparing [2023-09-20T20:54:02.299Z] 81691be44ab5: Preparing [2023-09-20T20:54:02.299Z] b2191e2be29d: Preparing [2023-09-20T20:54:02.299Z] b2191e2be29d: Layer already exists [2023-09-20T20:54:02.571Z] e655c1194b8c: Pushed [2023-09-20T20:54:02.571Z] 81691be44ab5: Pushed [2023-09-20T20:54:02.571Z] 7963f395423b: Pushed [2023-09-20T20:54:07.914Z] a9791fb96bdc: Pushed [2023-09-20T20:54:07.914Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:08.262Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:10.547Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-20T20:54:10.547Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T20:54:10.547Z] e655c1194b8c: Preparing [2023-09-20T20:54:10.547Z] 7963f395423b: Preparing [2023-09-20T20:54:10.547Z] a9791fb96bdc: Preparing [2023-09-20T20:54:10.547Z] 81691be44ab5: Preparing [2023-09-20T20:54:10.547Z] b2191e2be29d: Preparing [2023-09-20T20:54:10.547Z] e655c1194b8c: Layer already exists [2023-09-20T20:54:10.547Z] a9791fb96bdc: Layer already exists [2023-09-20T20:54:10.547Z] b2191e2be29d: Layer already exists [2023-09-20T20:54:10.547Z] 7963f395423b: Layer already exists [2023-09-20T20:54:10.547Z] 81691be44ab5: Layer already exists [2023-09-20T20:54:10.547Z] latest: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:10.888Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:11.223Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.15 [2023-09-20T20:54:11.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T20:54:11.223Z] e655c1194b8c: Preparing [2023-09-20T20:54:11.223Z] 7963f395423b: Preparing [2023-09-20T20:54:11.223Z] a9791fb96bdc: Preparing [2023-09-20T20:54:11.223Z] 81691be44ab5: Preparing [2023-09-20T20:54:11.223Z] b2191e2be29d: Preparing [2023-09-20T20:54:11.223Z] b2191e2be29d: Layer already exists [2023-09-20T20:54:11.223Z] 81691be44ab5: Layer already exists [2023-09-20T20:54:11.223Z] 7963f395423b: Layer already exists [2023-09-20T20:54:11.223Z] e655c1194b8c: Layer already exists [2023-09-20T20:54:11.223Z] a9791fb96bdc: Layer already exists [2023-09-20T20:54:11.223Z] 3.1.0-dev.15: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:11.562Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:11.903Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [2023-09-20T20:54:11.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T20:54:11.903Z] e655c1194b8c: Preparing [2023-09-20T20:54:11.903Z] 7963f395423b: Preparing [2023-09-20T20:54:11.903Z] a9791fb96bdc: Preparing [2023-09-20T20:54:11.903Z] 81691be44ab5: Preparing [2023-09-20T20:54:11.903Z] b2191e2be29d: Preparing [2023-09-20T20:54:11.903Z] a9791fb96bdc: Layer already exists [2023-09-20T20:54:11.903Z] e655c1194b8c: Layer already exists [2023-09-20T20:54:11.903Z] b2191e2be29d: Layer already exists [2023-09-20T20:54:11.903Z] 81691be44ab5: Layer already exists [2023-09-20T20:54:11.903Z] 7963f395423b: Layer already exists [2023-09-20T20:54:11.903Z] 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:12.246Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:12.588Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-20T20:54:12.588Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-20T20:54:12.588Z] e655c1194b8c: Preparing [2023-09-20T20:54:12.588Z] 7963f395423b: Preparing [2023-09-20T20:54:12.588Z] a9791fb96bdc: Preparing [2023-09-20T20:54:12.588Z] 81691be44ab5: Preparing [2023-09-20T20:54:12.588Z] b2191e2be29d: Preparing [2023-09-20T20:54:12.588Z] e655c1194b8c: Layer already exists [2023-09-20T20:54:12.588Z] b2191e2be29d: Layer already exists [2023-09-20T20:54:12.588Z] 81691be44ab5: Layer already exists [2023-09-20T20:54:12.588Z] a9791fb96bdc: Layer already exists [2023-09-20T20:54:12.588Z] 7963f395423b: Layer already exists [2023-09-20T20:54:12.588Z] main: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:54:12.636Z] ===================================================== [Pipeline] echo [2023-09-20T20:54:12.642Z] taggedImages: [2023-09-20T20:54:12.642Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [2023-09-20T20:54:12.642Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-20T20:54:12.642Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.15 [2023-09-20T20:54:12.642Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [2023-09-20T20:54:12.642Z] - 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-09-20T20:54:13.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T20:54:13.013Z] [2023-09-20T20:54:13.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:13.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T20:54:13.399Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T20:54:13.399Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T20:54:13.399Z] 04944245beec: Pulling fs layer [2023-09-20T20:54:13.399Z] 699f458cf7ca: Pulling fs layer [2023-09-20T20:54:13.399Z] 765212b225bb: Pulling fs layer [2023-09-20T20:54:13.399Z] f23df028b6ca: Pulling fs layer [2023-09-20T20:54:13.399Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T20:54:13.399Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T20:54:13.399Z] f23df028b6ca: Waiting [2023-09-20T20:54:13.399Z] 765212b225bb: Waiting [2023-09-20T20:54:13.399Z] d65c8cfc05b1: Waiting [2023-09-20T20:54:13.399Z] 2437ff75d9bd: Waiting [2023-09-20T20:54:13.681Z] 04944245beec: Verifying Checksum [2023-09-20T20:54:13.681Z] 04944245beec: Download complete [2023-09-20T20:54:13.681Z] 765212b225bb: Verifying Checksum [2023-09-20T20:54:13.681Z] 765212b225bb: Download complete [2023-09-20T20:54:13.681Z] f23df028b6ca: Download complete [2023-09-20T20:54:13.681Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T20:54:13.681Z] d65c8cfc05b1: Download complete [2023-09-20T20:54:13.969Z] 699f458cf7ca: Verifying Checksum [2023-09-20T20:54:13.970Z] 699f458cf7ca: Download complete [2023-09-20T20:54:14.245Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T20:54:14.245Z] 8998bd30e6a1: Download complete [2023-09-20T20:54:16.195Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T20:54:16.195Z] 2437ff75d9bd: Download complete [2023-09-20T20:54:18.174Z] 8998bd30e6a1: Pull complete [2023-09-20T20:54:18.174Z] 04944245beec: Pull complete [2023-09-20T20:54:19.575Z] 699f458cf7ca: Pull complete [2023-09-20T20:54:19.575Z] 765212b225bb: Pull complete [2023-09-20T20:54:20.153Z] f23df028b6ca: Pull complete [2023-09-20T20:54:20.419Z] d65c8cfc05b1: Pull complete [2023-09-20T20:54:32.703Z] 2437ff75d9bd: Pull complete [2023-09-20T20:54:32.703Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T20:54:32.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T20:54:32.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:54:32.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-7217 does not seem to be running inside a container [2023-09-20T20:54:32.950Z] $ 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/135 -v /w/workspace/device-rest-go/135:/w/workspace/device-rest-go/135:rw,z -v /w/workspace/device-rest-go/135@tmp:/w/workspace/device-rest-go/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T20:54:35.599Z] $ docker top bb2ce1668b646ad1d426d0c2934a951d0218c42fe9c2051c746e297feedcb228 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:54:36.102Z] ---> job-cost.sh [2023-09-20T20:54:36.369Z] lf-activate-venv: SKIPPING [2023-09-20T20:54:36.369Z] INFO: No Stack... [2023-09-20T20:54:36.637Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T20:54:37.595Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:54:37.909Z] + cut -d, -f6 [2023-09-20T20:54:37.909Z] + cat /w/workspace/device-rest-go/135/archives/cost.csv [Pipeline] lock [2023-09-20T20:54:37.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [2023-09-20T20:54:37.979Z] Resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] did not exist. Created. [2023-09-20T20:54:37.979Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:54:38.307Z] /w/workspace/device-rest-go/135@tmp/durable-7cbd1dca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T20:54:38.635Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T20:54:38.654Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T20:54:38.716Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:54:38.722Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:54:38.741Z] $ docker stop --time=1 bb2ce1668b646ad1d426d0c2934a951d0218c42fe9c2051c746e297feedcb228 [2023-09-20T20:54:40.179Z] $ docker rm -f --volumes bb2ce1668b646ad1d426d0c2934a951d0218c42fe9c2051c746e297feedcb228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-20T20:54:40.555Z] provisioning config files... [2023-09-20T20:54:40.563Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16491898358667698010tmp [Pipeline] { [Pipeline] sh [2023-09-20T20:54:40.851Z] + set +x [2023-09-20T20:54:40.851Z] + + bash -s -- [2023-09-20T20:54:40.851Z] curl -s https://codecov.io/bash [2023-09-20T20:54:40.851Z] [2023-09-20T20:54:40.851Z] _____ _ [2023-09-20T20:54:40.851Z] / ____| | | [2023-09-20T20:54:40.851Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T20:54:40.851Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T20:54:40.851Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T20:54:40.851Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T20:54:40.851Z] Bash-1.0.6 [2023-09-20T20:54:40.851Z] [2023-09-20T20:54:40.851Z] [2023-09-20T20:54:40.851Z] ==> git version 2.25.1 found [2023-09-20T20:54:40.851Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-20T20:54:40.851Z] Release-Date: 2020-01-08 [2023-09-20T20:54:40.851Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T20:54:40.851Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T20:54:40.851Z] ==> Jenkins CI detected. [2023-09-20T20:54:40.851Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-20T20:54:40.851Z] project root: . [2023-09-20T20:54:40.851Z] --> token set from env [2023-09-20T20:54:40.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T20:54:40.851Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T20:54:40.851Z] ==> Python coveragepy not found [2023-09-20T20:54:40.851Z] ==> Searching for coverage reports in: [2023-09-20T20:54:40.851Z] + . [2023-09-20T20:54:40.851Z] -> Found 1 reports [2023-09-20T20:54:40.851Z] ==> Detecting git/mercurial file structure [2023-09-20T20:54:41.110Z] ==> Reading reports [2023-09-20T20:54:41.110Z] + ./coverage.out bytes=14499 [2023-09-20T20:54:41.110Z] ==> Appending adjustments [2023-09-20T20:54:41.110Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T20:54:41.110Z] + Found adjustments [2023-09-20T20:54:41.110Z] ==> Gzipping contents [2023-09-20T20:54:41.110Z] 4.0K /tmp/codecov.FXjwvg.gz [2023-09-20T20:54:41.110Z] ==> Uploading reports [2023-09-20T20:54:41.110Z] url: https://codecov.io [2023-09-20T20:54:41.110Z] query: branch=main&commit=7d823389a6fd487dd609ea6f37b5e7dbe8da964e&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T20:54:41.110Z] -> Pinging Codecov [2023-09-20T20:54:41.110Z] 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=7d823389a6fd487dd609ea6f37b5e7dbe8da964e&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T20:54:41.110Z] -> Uploading to [2023-09-20T20:54:41.110Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/7d823389a6fd487dd609ea6f37b5e7dbe8da964e/7793db53-900e-44d3-8bf4-afa9e7fa6674.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T205441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05197d1aec45e609d97c8ca3b958ea57920ee22371d94ab1c0619be353051710 [2023-09-20T20:54:41.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:54:41.110Z] Dload Upload Total Spent Left Speed [2023-09-20T20:54:41.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12917 --:--:-- --:--:-- --:--:-- 12917 [2023-09-20T20:54:41.368Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] } [2023-09-20T20:54:41.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T20:54:41.590Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T20:54:41.607Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:41.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T20:54:41.904Z] [2023-09-20T20:54:41.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:54:42.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T20:54:42.209Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T20:54:42.209Z] df9b9388f04a: Pulling fs layer [2023-09-20T20:54:42.209Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T20:54:42.209Z] 25bc292e5bac: Pulling fs layer [2023-09-20T20:54:42.209Z] 114826534d7a: Pulling fs layer [2023-09-20T20:54:42.209Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T20:54:42.209Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T20:54:42.209Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T20:54:42.209Z] 4657fd5d0bcf: Waiting [2023-09-20T20:54:42.209Z] 6ad1cebc031e: Waiting [2023-09-20T20:54:42.209Z] 8a3aa393b2d8: Waiting [2023-09-20T20:54:42.209Z] 114826534d7a: Waiting [2023-09-20T20:54:42.209Z] 25bc292e5bac: Verifying Checksum [2023-09-20T20:54:42.209Z] 25bc292e5bac: Download complete [2023-09-20T20:54:42.209Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T20:54:42.209Z] 52dc419b0ee2: Download complete [2023-09-20T20:54:42.209Z] 4657fd5d0bcf: Download complete [2023-09-20T20:54:42.209Z] df9b9388f04a: Download complete [2023-09-20T20:54:42.468Z] df9b9388f04a: Pull complete [2023-09-20T20:54:42.468Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T20:54:42.468Z] 52dc419b0ee2: Pull complete [2023-09-20T20:54:42.468Z] 25bc292e5bac: Pull complete [2023-09-20T20:54:43.046Z] 114826534d7a: Verifying Checksum [2023-09-20T20:54:43.046Z] 114826534d7a: Download complete [2023-09-20T20:54:43.304Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T20:54:43.304Z] 8a3aa393b2d8: Download complete [2023-09-20T20:54:46.610Z] 114826534d7a: Pull complete [2023-09-20T20:54:46.610Z] 4657fd5d0bcf: Pull complete [2023-09-20T20:54:46.610Z] 6ad1cebc031e: Pull complete [2023-09-20T20:54:49.140Z] 8a3aa393b2d8: Pull complete [2023-09-20T20:54:49.140Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T20:54:49.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T20:54:49.140Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:54:49.232Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:54:49.263Z] $ 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-09-20T20:54:52.294Z] $ docker top 6b5ced5a1b1fe7fbcf55c038583bd334f5ffaa0163950b276b75053412bb2f1a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T20:54:52.365Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-20T20:54:52.640Z] + set -o pipefail [2023-09-20T20:54:52.640Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-20T20:54:57.911Z] [2023-09-20T20:54:57.911Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-20T20:54:57.911Z] [2023-09-20T20:54:57.911Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/67e4324a-9cb1-47bc-b9c2-cdb0566b3de9 [2023-09-20T20:54:57.911Z] [2023-09-20T20:54:57.911Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T20:54:57.911Z] [2023-09-20T20:54:57.911Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T20:54:57.911Z] [2023-09-20T20:54:57.911Z] [2023-09-20T20:54:57.911Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T20:54:57.911Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T20:54:57.911Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T20:54:57.917Z] $ docker stop --time=1 6b5ced5a1b1fe7fbcf55c038583bd334f5ffaa0163950b276b75053412bb2f1a [2023-09-20T20:55:00.716Z] $ docker rm -f --volumes 6b5ced5a1b1fe7fbcf55c038583bd334f5ffaa0163950b276b75053412bb2f1a [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-09-20T20:55:01.433Z] + git log --format=format:%s -1 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] sh [2023-09-20T20:55:01.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:55:01.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:02.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:55:02.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:55:02.091Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:55:02.115Z] $ 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-09-20T20:55:02.461Z] $ docker top fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b -eo pid,comm [2023-09-20T20:55:02.511Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:55:02.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:55:02.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:02.579Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:02.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:02.692Z] $ docker exec fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b ssh-agent [2023-09-20T20:55:02.815Z] SSH_AUTH_SOCK=/tmp/ssh-6MMZaCJOfLWF/agent.32 [2023-09-20T20:55:02.815Z] SSH_AGENT_PID=38 [2023-09-20T20:55:02.820Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:02.925Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4112333669521320043.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4112333669521320043.key) [2023-09-20T20:55:02.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:03.227Z] + git semver tag [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,402 [run_tag] DEBUG tag force:False [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,402 [check_head_tag] DEBUG check head tag [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,403 [execute] INFO git cat-file --batch-check [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,408 [execute] INFO git cat-file --batch [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,421 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,422 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,422 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:55:03.487Z] 2023-09-20 20:55:03,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:03.487Z] 3.1.0-dev.15 [Pipeline] } [2023-09-20T20:55:03.491Z] $ docker exec --env ******** --env ******** fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b ssh-agent -k [2023-09-20T20:55:03.596Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:03.596Z] unset SSH_AGENT_PID; [2023-09-20T20:55:03.596Z] echo Agent pid 38 killed; [2023-09-20T20:55:03.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:55:03.921Z] + git semver [Pipeline] } [2023-09-20T20:55:04.187Z] $ docker stop --time=1 fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b [2023-09-20T20:55:05.486Z] $ docker rm -f --volumes fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:05.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T20:55:05.872Z] [2023-09-20T20:55:05.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:06.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T20:55:06.167Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T20:55:06.167Z] ab5ef0e58194: Pulling fs layer [2023-09-20T20:55:06.167Z] 9712f1f96733: Pulling fs layer [2023-09-20T20:55:06.167Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T20:55:06.167Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T20:55:06.167Z] e9a5061849ea: Pulling fs layer [2023-09-20T20:55:06.167Z] d747dcd14b5f: Pulling fs layer [2023-09-20T20:55:06.167Z] 2de7ff778b66: Pulling fs layer [2023-09-20T20:55:06.167Z] e9a5061849ea: Waiting [2023-09-20T20:55:06.167Z] d747dcd14b5f: Waiting [2023-09-20T20:55:06.167Z] 2de7ff778b66: Waiting [2023-09-20T20:55:06.167Z] 9712f1f96733: Verifying Checksum [2023-09-20T20:55:06.167Z] 9712f1f96733: Download complete [2023-09-20T20:55:06.426Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T20:55:06.426Z] 63f879dbbcfc: Download complete [2023-09-20T20:55:06.684Z] e9a5061849ea: Verifying Checksum [2023-09-20T20:55:06.684Z] e9a5061849ea: Download complete [2023-09-20T20:55:06.684Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T20:55:06.684Z] 0d9ebad4ef96: Download complete [2023-09-20T20:55:06.684Z] d747dcd14b5f: Download complete [2023-09-20T20:55:06.684Z] ab5ef0e58194: Verifying Checksum [2023-09-20T20:55:06.684Z] ab5ef0e58194: Download complete [2023-09-20T20:55:06.942Z] 2de7ff778b66: Verifying Checksum [2023-09-20T20:55:06.942Z] 2de7ff778b66: Download complete [2023-09-20T20:55:09.466Z] ab5ef0e58194: Pull complete [2023-09-20T20:55:09.466Z] 9712f1f96733: Pull complete [2023-09-20T20:55:10.399Z] 63f879dbbcfc: Pull complete [2023-09-20T20:55:13.680Z] 0d9ebad4ef96: Pull complete [2023-09-20T20:55:13.941Z] e9a5061849ea: Pull complete [2023-09-20T20:55:14.198Z] d747dcd14b5f: Pull complete [2023-09-20T20:55:15.135Z] 2de7ff778b66: Pull complete [2023-09-20T20:55:15.135Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T20:55:15.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T20:55:15.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:55:15.214Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:55:15.237Z] $ 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-09-20T20:55:18.743Z] $ docker top 44a2ecef1dc65d1a5a495fb1244e2a004a560d5e03c54cbba7eb56a0d3d7b0d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:55:18.830Z] provisioning config files... [2023-09-20T20:55:18.836Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12862905317456768310tmp [2023-09-20T20:55:18.844Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1498575989644766739tmp [2023-09-20T20:55:18.850Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11599740400828751523tmp [Pipeline] { [Pipeline] echo [2023-09-20T20:55:18.866Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:19.147Z] ---> sigul-configuration.sh [2023-09-20T20:55:19.147Z] gpg: directory `/root/.gnupg' created [2023-09-20T20:55:19.147Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T20:55:19.147Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T20:55:19.147Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T20:55:19.147Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T20:55:19.147Z] gpg: CAST5 encrypted data [2023-09-20T20:55:19.147Z] gpg: encrypted with 1 passphrase [2023-09-20T20:55:19.147Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T20:55:19.431Z] + mkdir /home/jenkins [2023-09-20T20:55:19.431Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T20:55:19.722Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-20T20:55:19.731Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:20.015Z] ---> sigul-install.sh [2023-09-20T20:55:20.015Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T20:55:20.299Z] + git tag --list [2023-09-20T20:55:20.300Z] v1.0.0 [2023-09-20T20:55:20.300Z] v1.1.0 [2023-09-20T20:55:20.300Z] v1.1.1 [2023-09-20T20:55:20.300Z] v1.1.2 [2023-09-20T20:55:20.300Z] v1.2.0 [2023-09-20T20:55:20.300Z] v1.2.1 [2023-09-20T20:55:20.300Z] v2.0.0 [2023-09-20T20:55:20.300Z] v2.1.0 [2023-09-20T20:55:20.300Z] v2.1.1 [2023-09-20T20:55:20.300Z] v2.2.0 [2023-09-20T20:55:20.300Z] v2.3.0 [2023-09-20T20:55:20.300Z] v3.0 [2023-09-20T20:55:20.300Z] v3.0.0 [2023-09-20T20:55:20.300Z] v3.1.0-dev.1 [2023-09-20T20:55:20.300Z] v3.1.0-dev.10 [2023-09-20T20:55:20.300Z] v3.1.0-dev.11 [2023-09-20T20:55:20.300Z] v3.1.0-dev.12 [2023-09-20T20:55:20.300Z] v3.1.0-dev.13 [2023-09-20T20:55:20.300Z] v3.1.0-dev.14 [2023-09-20T20:55:20.300Z] v3.1.0-dev.15 [2023-09-20T20:55:20.300Z] v3.1.0-dev.2 [2023-09-20T20:55:20.300Z] v3.1.0-dev.3 [2023-09-20T20:55:20.300Z] v3.1.0-dev.4 [2023-09-20T20:55:20.300Z] v3.1.0-dev.5 [2023-09-20T20:55:20.300Z] v3.1.0-dev.6 [2023-09-20T20:55:20.300Z] v3.1.0-dev.7 [2023-09-20T20:55:20.300Z] v3.1.0-dev.8 [2023-09-20T20:55:20.300Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T20:55:20.585Z] + lftools sign git-tag v3.1.0-dev.15 [2023-09-20T20:55:21.154Z] Signing Git tag with Sigul... [2023-09-20T20:55:21.154Z] Signing v3.1.0-dev.15 [Pipeline] echo [2023-09-20T20:55:21.421Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:21.705Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T20:55:21.712Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T20:55:21.724Z] $ docker stop --time=1 44a2ecef1dc65d1a5a495fb1244e2a004a560d5e03c54cbba7eb56a0d3d7b0d8 [2023-09-20T20:55:23.017Z] $ docker rm -f --volumes 44a2ecef1dc65d1a5a495fb1244e2a004a560d5e03c54cbba7eb56a0d3d7b0d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T20:55:23.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:55:23.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:23.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:55:23.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:55:23.807Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:55:23.829Z] $ 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-09-20T20:55:24.159Z] $ docker top 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b -eo pid,comm [2023-09-20T20:55:24.206Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:55:24.206Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:55:24.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:24.253Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:24.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:24.353Z] $ docker exec 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b ssh-agent [2023-09-20T20:55:24.465Z] SSH_AUTH_SOCK=/tmp/ssh-Lyo8E4CDg9PR/agent.32 [2023-09-20T20:55:24.465Z] SSH_AGENT_PID=38 [2023-09-20T20:55:24.469Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:24.568Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17797535869596382991.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17797535869596382991.key) [2023-09-20T20:55:24.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:24.870Z] + git semver bump pre [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,029 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,029 [bump_version] DEBUG bumped version:3.1.0-dev.16 [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,029 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,029 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,031 [execute] INFO git cat-file --batch-check [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,036 [execute] INFO git cat-file --batch [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T20:55:25.129Z] 2023-09-20 20:55:25,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:25.129Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T20:55:25.134Z] $ docker exec --env ******** --env ******** 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b ssh-agent -k [2023-09-20T20:55:25.216Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:25.216Z] unset SSH_AGENT_PID; [2023-09-20T20:55:25.216Z] echo Agent pid 38 killed; [2023-09-20T20:55:25.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:55:25.534Z] + git semver [Pipeline] } [2023-09-20T20:55:25.798Z] $ docker stop --time=1 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b [2023-09-20T20:55:27.071Z] $ docker rm -f --volumes 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:55:27.406Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:55:27.406Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:27.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:55:27.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:55:27.781Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:55:27.803Z] $ 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-09-20T20:55:28.152Z] $ docker top e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced -eo pid,comm [2023-09-20T20:55:28.205Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:55:28.205Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:55:28.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:28.243Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:28.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:28.353Z] $ docker exec e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced ssh-agent [2023-09-20T20:55:28.464Z] SSH_AUTH_SOCK=/tmp/ssh-q2nXCcAHGQFV/agent.32 [2023-09-20T20:55:28.464Z] SSH_AGENT_PID=38 [2023-09-20T20:55:28.468Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:28.559Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10367235832873772063.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10367235832873772063.key) [2023-09-20T20:55:28.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:28.864Z] + git semver push [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,031 [run_push] DEBUG push [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,032 [execute] INFO git cat-file --batch-check [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,035 [execute] INFO git rev-list 82e37ca7ceb144b429bf3af1e30b833b0faa9efb -- [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,035 [execute] DEBUG Popen(['git', 'rev-list', '82e37ca7ceb144b429bf3af1e30b833b0faa9efb', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,044 [execute] INFO git fetch -v origin [2023-09-20T20:55:29.123Z] 2023-09-20 20:55:29,044 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T20:55:29.689Z] 2023-09-20 20:55:29,624 [run_push] DEBUG no remote changes detected [2023-09-20T20:55:29.689Z] 2023-09-20 20:55:29,625 [execute] INFO git push origin semver [2023-09-20T20:55:29.689Z] 2023-09-20 20:55:29,625 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:55:30.624Z] 2023-09-20 20:55:30,406 [run_push] DEBUG push all version tags [2023-09-20T20:55:30.624Z] 2023-09-20 20:55:30,407 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T20:55:30.624Z] 2023-09-20 20:55:30,407 [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-09-20T20:55:31.598Z] 2023-09-20 20:55:31,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-20T20:55:31.598Z] 3.1.0-dev.16 [Pipeline] } [2023-09-20T20:55:31.645Z] $ docker exec --env ******** --env ******** e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced ssh-agent -k [2023-09-20T20:55:31.738Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:31.738Z] unset SSH_AGENT_PID; [2023-09-20T20:55:31.738Z] echo Agent pid 38 killed; [2023-09-20T20:55:31.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:55:32.097Z] + git semver [Pipeline] } [2023-09-20T20:55:32.361Z] $ docker stop --time=1 e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced [2023-09-20T20:55:33.641Z] $ docker rm -f --volumes e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-20T20:55:34.205Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-20T20:55:34.205Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-20T20:55:34.205Z] total 16 [2023-09-20T20:55:34.205Z] drwxr-xr-x 3 root root 4096 Sep 20 20:45 . [2023-09-20T20:55:34.205Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:55 .. [2023-09-20T20:55:34.205Z] drwxr-xr-x 2 root root 4096 Sep 20 20:45 cost [2023-09-20T20:55:34.205Z] -rw-r--r-- 1 root root 86 Sep 20 20:45 cost.csv [2023-09-20T20:55:34.205Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-20T20:55:34.205Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-20T20:55:34.205Z] total 16 [2023-09-20T20:55:34.205Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:45 . [2023-09-20T20:55:34.205Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:55 .. [2023-09-20T20:55:34.205Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:45 cost [2023-09-20T20:55:34.205Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:34.502Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:35.353Z] ---> package-listing.sh [2023-09-20T20:55:35.353Z] ++ facter osfamily [2023-09-20T20:55:35.353Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T20:55:35.612Z] + OS_FAMILY=debian [2023-09-20T20:55:35.612Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-20T20:55:35.612Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T20:55:35.612Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T20:55:35.612Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T20:55:35.612Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T20:55:35.612Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-20T20:55:35.612Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T20:55:35.612Z] + case "${OS_FAMILY}" in [2023-09-20T20:55:35.612Z] + dpkg -l [2023-09-20T20:55:35.612Z] + grep '^ii' [2023-09-20T20:55:35.612Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T20:55:35.612Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T20:55:35.612Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T20:55:35.612Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-20T20:55:35.612Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-20T20:55:35.612Z] + 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-09-20T20:55:35.620Z] 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-09-20T20:55:35.899Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:36.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:55:36.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:55:36.522Z] prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container [2023-09-20T20:55:36.546Z] $ 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-09-20T20:55:36.733Z] $ docker top 2f08ad6d897956d200e8ecef3ea1fb77cf2d2c509000a7f918d5da2b76eef0a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:55:37.074Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T20:55:37.358Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T20:55:37.645Z] + ls /var/log/sa-host [2023-09-20T20:55:37.645Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:55:37.718Z] provisioning config files... [2023-09-20T20:55:37.736Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7456970730142831601tmp [Pipeline] { [Pipeline] echo [2023-09-20T20:55:37.750Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:38.033Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T20:55:38.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:38.365Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T20:55:38.372Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:38.650Z] ---> sudo-logs.sh [2023-09-20T20:55:38.650Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T20:55:38.679Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:38.961Z] ---> job-cost.sh [2023-09-20T20:55:38.961Z] lf-activate-venv: SKIPPING [2023-09-20T20:55:38.961Z] DEBUG: total: 0.2199999988079071 [2023-09-20T20:55:38.961Z] INFO: Retrieving Stack Cost... [2023-09-20T20:55:39.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:55:39.786Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T20:55:39.796Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:40.075Z] ---> logs-deploy.sh [2023-09-20T20:55:40.076Z] lf-activate-venv: SKIPPING [2023-09-20T20:55:40.076Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/135 [2023-09-20T20:55:40.076Z] INFO: archiving workspace using pattern(s): [2023-09-20T20:55:41.010Z] Archives upload complete. [2023-09-20T20:55:41.010Z] INFO: archiving logs to Nexus