Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d5c17b765e654ed444623cbfa16304672a2cc7d9 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-ssh16409555227238222486.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-ssh5725694264601520780.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-ssh2544485428592410240.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-ssh4403418942198453134.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-ssh3184091852273778446.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 ‘prd-ubuntu20.04-docker-8c-8g-8072’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8075 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 d5c17b765e654ed444623cbfa16304672a2cc7d9 (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#347)" > git checkout -f d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 > git rev-list --no-walk 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T21:23:11.928Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T21:23:12.000Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T21:23:12.018Z] ========================================================= [2023-09-27T21:23:12.018Z] EdgeX Global Pipelines Version Info [2023-09-27T21:23:12.018Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:23:12.757Z] ------------------- [2023-09-27T21:23:12.757Z] stable info: [2023-09-27T21:23:12.757Z] ------------------- [2023-09-27T21:23:12.757Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T21:23:12.757Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T21:23:12.757Z] Message: update stable to v1.0.254 [2023-09-27T21:23:13.328Z] ------------------- [2023-09-27T21:23:13.328Z] experimental info: [2023-09-27T21:23:13.328Z] ------------------- [2023-09-27T21:23:13.328Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T21:23:13.328Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T21:23:13.328Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T21:23:13.488Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-27T21:23:13.500Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-27T21:23:13.510Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T21:23:13.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T21:23:13.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T21:23:13.546Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T21:23:13.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T21:23:13.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-27T21:23:13.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T21:23:13.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T21:23:13.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T21:23:13.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-27T21:23:13.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T21:23:13.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T21:23:13.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T21:23:13.670Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T21:23:13.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T21:23:13.694Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T21:23:13.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T21:23:13.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T21:23:13.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-27T21:23:13.742Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-27T21:23:13.760Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T21:23:13.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T21:23:13.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T21:23:13.797Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T21:23:13.809Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T21:23:13.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-27T21:23:13.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-27T21:23:13.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-27T21:23:13.860Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo [2023-09-27T21:23:13.874Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5c17b7 [Pipeline] echo [2023-09-27T21:23:13.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T21:23:13.935Z] provisioning config files... [2023-09-27T21:23:13.949Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13321146484712599273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:23:14.256Z] ---> docker-login.sh [2023-09-27T21:23:14.256Z] nexus3.edgexfoundry.org:10001 [2023-09-27T21:23:14.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:14.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:14.775Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:14.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:14.775Z] [2023-09-27T21:23:14.775Z] Login Succeeded [2023-09-27T21:23:14.775Z] nexus3.edgexfoundry.org:10002 [2023-09-27T21:23:14.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:14.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:14.775Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:14.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:14.775Z] [2023-09-27T21:23:14.775Z] Login Succeeded [2023-09-27T21:23:14.775Z] nexus3.edgexfoundry.org:10003 [2023-09-27T21:23:14.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:15.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:15.036Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:15.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:15.036Z] [2023-09-27T21:23:15.036Z] Login Succeeded [2023-09-27T21:23:15.036Z] nexus3.edgexfoundry.org:10004 [2023-09-27T21:23:15.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:15.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:15.036Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:15.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:15.036Z] [2023-09-27T21:23:15.036Z] Login Succeeded [2023-09-27T21:23:15.036Z] docker.io [2023-09-27T21:23:15.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:15.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:15.295Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:15.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:15.295Z] [2023-09-27T21:23:15.295Z] Login Succeeded [2023-09-27T21:23:15.295Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T21:23:15.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T21:23:15.691Z] + git rev-list -1 --merges d5c17b765e654ed444623cbfa16304672a2cc7d9~1..d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo [2023-09-27T21:23:15.738Z] -----------> git rev-list -1 --merges d5c17b765e654ed444623cbfa16304672a2cc7d9~1..d5c17b765e654ed444623cbfa16304672a2cc7d9 d5c17b765e654ed444623cbfa16304672a2cc7d9 [false] [Pipeline] sh [2023-09-27T21:23:16.023Z] + git log --format=format:%s -1 d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo [2023-09-27T21:23:16.067Z] ========================================================= [2023-09-27T21:23:16.067Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T21:23:16.067Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T21:23:16.422Z] + git log --format=format:%s -1 d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo [2023-09-27T21:23:16.433Z] [semverPrep] GIT_COMMIT: d5c17b765e654ed444623cbfa16304672a2cc7d9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#347) [Pipeline] echo [2023-09-27T21:23:16.444Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T21:23:16.820Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T21:23:16.821Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T21:23:16.821Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T21:23:16.821Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T21:23:16.821Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T21:23:16.821Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T21:23:16.821Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:23:17.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T21:23:17.166Z] [2023-09-27T21:23:17.166Z] 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-27T21:23:17.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T21:23:17.468Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T21:23:17.468Z] b85a868b505f: Pulling fs layer [2023-09-27T21:23:17.468Z] e2be974225ed: Pulling fs layer [2023-09-27T21:23:17.468Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T21:23:17.468Z] 988bab9f4d93: Pulling fs layer [2023-09-27T21:23:17.468Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T21:23:17.468Z] eaf3925da568: Pulling fs layer [2023-09-27T21:23:17.468Z] bab4dde63d76: Pulling fs layer [2023-09-27T21:23:17.468Z] bde34c3a00c8: Pulling fs layer [2023-09-27T21:23:17.468Z] b352a97aabf1: Pulling fs layer [2023-09-27T21:23:17.468Z] 988bab9f4d93: Waiting [2023-09-27T21:23:17.468Z] 1469e6f7b9e6: Waiting [2023-09-27T21:23:17.468Z] bab4dde63d76: Waiting [2023-09-27T21:23:17.468Z] eaf3925da568: Waiting [2023-09-27T21:23:17.468Z] bde34c3a00c8: Waiting [2023-09-27T21:23:17.468Z] b352a97aabf1: Waiting [2023-09-27T21:23:17.468Z] 4872d77fe225: Pulling fs layer [2023-09-27T21:23:17.468Z] 5851b861e8e6: Pulling fs layer [2023-09-27T21:23:17.468Z] 4872d77fe225: Waiting [2023-09-27T21:23:17.468Z] 5851b861e8e6: Waiting [2023-09-27T21:23:17.468Z] e2be974225ed: Verifying Checksum [2023-09-27T21:23:17.468Z] e2be974225ed: Download complete [2023-09-27T21:23:17.468Z] 988bab9f4d93: Verifying Checksum [2023-09-27T21:23:17.468Z] 988bab9f4d93: Download complete [2023-09-27T21:23:17.730Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T21:23:17.730Z] 339a4e72a1f5: Download complete [2023-09-27T21:23:17.730Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T21:23:17.730Z] 1469e6f7b9e6: Download complete [2023-09-27T21:23:17.730Z] eaf3925da568: Verifying Checksum [2023-09-27T21:23:17.730Z] eaf3925da568: Download complete [2023-09-27T21:23:17.730Z] bde34c3a00c8: Download complete [2023-09-27T21:23:17.730Z] b352a97aabf1: Verifying Checksum [2023-09-27T21:23:17.730Z] b352a97aabf1: Download complete [2023-09-27T21:23:17.730Z] 4872d77fe225: Verifying Checksum [2023-09-27T21:23:17.730Z] 4872d77fe225: Download complete [2023-09-27T21:23:17.730Z] 5851b861e8e6: Verifying Checksum [2023-09-27T21:23:17.730Z] 5851b861e8e6: Download complete [2023-09-27T21:23:17.730Z] b85a868b505f: Verifying Checksum [2023-09-27T21:23:17.730Z] b85a868b505f: Download complete [2023-09-27T21:23:18.326Z] bab4dde63d76: Verifying Checksum [2023-09-27T21:23:18.326Z] bab4dde63d76: Download complete [2023-09-27T21:23:19.279Z] b85a868b505f: Pull complete [2023-09-27T21:23:19.279Z] e2be974225ed: Pull complete [2023-09-27T21:23:19.849Z] 339a4e72a1f5: Pull complete [2023-09-27T21:23:19.849Z] 988bab9f4d93: Pull complete [2023-09-27T21:23:20.108Z] 1469e6f7b9e6: Pull complete [2023-09-27T21:23:20.108Z] eaf3925da568: Pull complete [2023-09-27T21:23:22.015Z] bab4dde63d76: Pull complete [2023-09-27T21:23:22.274Z] bde34c3a00c8: Pull complete [2023-09-27T21:23:22.274Z] b352a97aabf1: Pull complete [2023-09-27T21:23:22.534Z] 4872d77fe225: Pull complete [2023-09-27T21:23:22.534Z] 5851b861e8e6: Pull complete [2023-09-27T21:23:22.534Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T21:23:22.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T21:23:22.534Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:23:22.633Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:23:22.671Z] $ 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-27T21:23:27.027Z] $ docker top 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 -eo pid,comm [2023-09-27T21:23:27.104Z] 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-27T21:23:27.104Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T21:23:27.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T21:23:27.143Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T21:23:27.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T21:23:27.367Z] $ docker exec 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent [2023-09-27T21:23:27.465Z] SSH_AUTH_SOCK=/tmp/ssh-9qls0IIUGivF/agent.32 [2023-09-27T21:23:27.465Z] SSH_AGENT_PID=38 [2023-09-27T21:23:27.471Z] Running ssh-add (command line suppressed) [2023-09-27T21:23:27.571Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14255564902094426395.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14255564902094426395.key) [2023-09-27T21:23:27.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T21:23:27.877Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T21:23:27.891Z] $ docker exec --env ******** --env ******** 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent -k [2023-09-27T21:23:28.009Z] unset SSH_AUTH_SOCK; [2023-09-27T21:23:28.009Z] unset SSH_AGENT_PID; [2023-09-27T21:23:28.010Z] echo Agent pid 38 killed; [2023-09-27T21:23:28.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T21:23:28.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T21:23:28.037Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T21:23:28.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T21:23:28.163Z] $ docker exec 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent [2023-09-27T21:23:28.272Z] SSH_AUTH_SOCK=/tmp/ssh-LtwJDECG1ORY/agent.70 [2023-09-27T21:23:28.272Z] SSH_AGENT_PID=75 [2023-09-27T21:23:28.277Z] Running ssh-add (command line suppressed) [2023-09-27T21:23:28.392Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11231629300619464406.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11231629300619464406.key) [2023-09-27T21:23:28.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T21:23:28.697Z] + git semver init [2023-09-27T21:23:28.957Z] 2023-09-27 21:23:28,892 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T21:23:28.957Z] 2023-09-27 21:23:28,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-27T21:23:28.957Z] 2023-09-27 21:23:28,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-27T21:23:28.957Z] 2023-09-27 21:23:28,893 [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-27T21:23:30.336Z] 2023-09-27 21:23:30,038 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-27T21:23:30.336Z] 2023-09-27 21:23:30,039 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-27T21:23:30.336Z] 2023-09-27 21:23:30,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:23:30.336Z] 2023-09-27 21:23:30,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:23:30.336Z] 3.1.0-dev.19 [Pipeline] } [2023-09-27T21:23:30.350Z] $ docker exec --env ******** --env ******** 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent -k [2023-09-27T21:23:30.456Z] unset SSH_AUTH_SOCK; [2023-09-27T21:23:30.456Z] unset SSH_AGENT_PID; [2023-09-27T21:23:30.458Z] echo Agent pid 75 killed; [2023-09-27T21:23:30.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T21:23:30.776Z] + git semver [Pipeline] } [2023-09-27T21:23:31.055Z] $ docker stop --time=1 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 [2023-09-27T21:23:32.402Z] $ docker rm -f --volumes 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T21:23:32.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T21:23:32.974Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T21:23:32.976Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [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-27T21:23:33.122Z] provisioning config files... [2023-09-27T21:23:33.132Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11572118775146724148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:23:33.433Z] ---> docker-login.sh [2023-09-27T21:23:33.433Z] nexus3.edgexfoundry.org:10001 [2023-09-27T21:23:33.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:33.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:33.433Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:33.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:33.433Z] [2023-09-27T21:23:33.433Z] Login Succeeded [2023-09-27T21:23:33.433Z] nexus3.edgexfoundry.org:10002 [2023-09-27T21:23:33.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:33.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:33.433Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:33.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:33.433Z] [2023-09-27T21:23:33.433Z] Login Succeeded [2023-09-27T21:23:33.693Z] nexus3.edgexfoundry.org:10003 [2023-09-27T21:23:33.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:33.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:33.693Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:33.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:33.693Z] [2023-09-27T21:23:33.693Z] Login Succeeded [2023-09-27T21:23:33.693Z] nexus3.edgexfoundry.org:10004 [2023-09-27T21:23:33.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:33.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:33.693Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:33.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:33.693Z] [2023-09-27T21:23:33.693Z] Login Succeeded [2023-09-27T21:23:33.953Z] docker.io [2023-09-27T21:23:33.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:23:34.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:23:34.214Z] Configure a credential helper to remove this warning. See [2023-09-27T21:23:34.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:23:34.214Z] [2023-09-27T21:23:34.214Z] Login Succeeded [2023-09-27T21:23:34.214Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T21:23:34.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T21:23:34.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T21:23:34.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T21:23:34.320Z] ========================================================= [2023-09-27T21:23:34.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T21:23:34.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:23:34.644Z] + 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-27T21:23:34.644Z] Sending build context to Docker daemon 10.92MB [2023-09-27T21:23:34.644Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T21:23:34.644Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-27T21:23:34.644Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T21:23:34.644Z] 7264a8db6415: Pulling fs layer [2023-09-27T21:23:34.644Z] c4d48a809fc2: Pulling fs layer [2023-09-27T21:23:34.644Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T21:23:34.644Z] ad3a456e5733: Pulling fs layer [2023-09-27T21:23:34.644Z] 33e27b845d1e: Pulling fs layer [2023-09-27T21:23:34.644Z] c68163c4e522: Pulling fs layer [2023-09-27T21:23:34.644Z] 50da416c3ac9: Pulling fs layer [2023-09-27T21:23:34.644Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T21:23:34.644Z] c68163c4e522: Waiting [2023-09-27T21:23:34.644Z] 50da416c3ac9: Waiting [2023-09-27T21:23:34.644Z] 23d2d4c4bb30: Waiting [2023-09-27T21:23:34.644Z] ad3a456e5733: Waiting [2023-09-27T21:23:34.644Z] 33e27b845d1e: Waiting [2023-09-27T21:23:34.644Z] c4d48a809fc2: Verifying Checksum [2023-09-27T21:23:34.644Z] c4d48a809fc2: Download complete [2023-09-27T21:23:34.644Z] ad3a456e5733: Verifying Checksum [2023-09-27T21:23:34.644Z] ad3a456e5733: Download complete [2023-09-27T21:23:34.909Z] 33e27b845d1e: Verifying Checksum [2023-09-27T21:23:34.909Z] 33e27b845d1e: Download complete [2023-09-27T21:23:34.909Z] 7264a8db6415: Verifying Checksum [2023-09-27T21:23:34.909Z] 7264a8db6415: Download complete [2023-09-27T21:23:34.909Z] c68163c4e522: Verifying Checksum [2023-09-27T21:23:34.909Z] c68163c4e522: Download complete [2023-09-27T21:23:34.909Z] 7264a8db6415: Pull complete [2023-09-27T21:23:35.170Z] c4d48a809fc2: Pull complete [2023-09-27T21:23:35.170Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T21:23:35.170Z] 23d2d4c4bb30: Download complete [2023-09-27T21:23:35.429Z] 4f1c88b9dad5: Download complete [2023-09-27T21:23:35.687Z] 50da416c3ac9: Verifying Checksum [2023-09-27T21:23:38.969Z] 4f1c88b9dad5: Pull complete [2023-09-27T21:23:38.969Z] ad3a456e5733: Pull complete [2023-09-27T21:23:38.969Z] 33e27b845d1e: Pull complete [2023-09-27T21:23:38.969Z] c68163c4e522: Pull complete [2023-09-27T21:23:41.510Z] 50da416c3ac9: Pull complete [2023-09-27T21:23:41.769Z] 23d2d4c4bb30: Pull complete [2023-09-27T21:23:41.769Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T21:23:42.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T21:23:42.027Z] ---> 0786185ac409 [2023-09-27T21:23:42.027Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-27T21:23:48.075Z] Still waiting to schedule task [2023-09-27T21:23:48.076Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8073’ is offline [2023-09-27T21:23:48.602Z] ---> Running in 6987dc75e6db [2023-09-27T21:23:48.602Z] Removing intermediate container 6987dc75e6db [2023-09-27T21:23:48.602Z] ---> b86dcb7abd65 [2023-09-27T21:23:48.602Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T21:23:48.602Z] ---> Running in d667909737be [2023-09-27T21:23:48.602Z] Removing intermediate container d667909737be [2023-09-27T21:23:48.602Z] ---> ece1809023f4 [2023-09-27T21:23:48.602Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T21:23:48.602Z] ---> Running in 51b37715c61a [2023-09-27T21:23:48.602Z] Removing intermediate container 51b37715c61a [2023-09-27T21:23:48.602Z] ---> b4c10ca8bf2d [2023-09-27T21:23:48.602Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T21:23:48.602Z] ---> Running in 9c982dee7f77 [2023-09-27T21:23:48.602Z] Removing intermediate container 9c982dee7f77 [2023-09-27T21:23:48.602Z] ---> bbf9eaf29bd5 [2023-09-27T21:23:48.602Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T21:23:48.602Z] ---> Running in de9e2f6a7096 [2023-09-27T21:23:48.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T21:23:48.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T21:23:48.602Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-27T21:23:48.602Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-27T21:23:48.602Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-27T21:23:48.602Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-27T21:23:48.602Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T21:23:48.861Z] OK: 268 MiB in 56 packages [2023-09-27T21:23:49.428Z] Removing intermediate container de9e2f6a7096 [2023-09-27T21:23:49.428Z] ---> e2355b552e72 [2023-09-27T21:23:49.428Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-27T21:23:49.428Z] ---> Running in 6d019d2789bf [2023-09-27T21:23:49.428Z] Removing intermediate container 6d019d2789bf [2023-09-27T21:23:49.428Z] ---> 035ac9c7a453 [2023-09-27T21:23:49.428Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-27T21:23:49.686Z] ---> 6a1de50809ef [2023-09-27T21:23:49.686Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T21:23:49.686Z] ---> Running in 92c22c647ab1 [2023-09-27T21:24:28.602Z] Removing intermediate container 92c22c647ab1 [2023-09-27T21:24:28.602Z] ---> bd215703cb8a [2023-09-27T21:24:28.602Z] Step 11/12 : COPY . . [2023-09-27T21:24:28.602Z] ---> 07f622458dd3 [2023-09-27T21:24:28.602Z] Step 12/12 : RUN $MAKE [2023-09-27T21:24:28.602Z] ---> Running in 859f4c127ad7 [2023-09-27T21:24:28.602Z] noop [2023-09-27T21:24:28.602Z] Removing intermediate container 859f4c127ad7 [2023-09-27T21:24:28.602Z] ---> 7ca8ae73c6b3 [2023-09-27T21:24:28.602Z] Successfully built 7ca8ae73c6b3 [2023-09-27T21:24:28.602Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:24:28.908Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T21:24:28.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:24:28.978Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:24:29.012Z] $ 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-27T21:24:29.342Z] $ docker top 4cb3ea2d6fdc96d95fb60772486792282e809126888fbd3f0cd1e7931b453489 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T21:24:29.692Z] + go version [2023-09-27T21:24:29.692Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T21:24:29.704Z] $ docker stop --time=1 4cb3ea2d6fdc96d95fb60772486792282e809126888fbd3f0cd1e7931b453489 [2023-09-27T21:24:31.000Z] $ docker rm -f --volumes 4cb3ea2d6fdc96d95fb60772486792282e809126888fbd3f0cd1e7931b453489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:24:31.437Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T21:24:31.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:24:31.515Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:24:31.547Z] $ 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-27T21:24:31.890Z] $ docker top 71d918708c5b39f9441c71adf851790503c32ef996c9c4a4d6b61105e008facd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T21:24:32.234Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-27T21:24:32.529Z] + make test [2023-09-27T21:24:32.529Z] go test ./... -coverprofile=coverage.out ./... [2023-09-27T21:24:33.903Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-27T21:24:43.868Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-27T21:24:43.868Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2023-09-27T21:24:49.128Z] go vet ./... [2023-09-27T21:24:53.318Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T21:24:53.318Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T21:24:53.318Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T21:24:53.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T21:24:53.345Z] $ docker stop --time=1 71d918708c5b39f9441c71adf851790503c32ef996c9c4a4d6b61105e008facd [2023-09-27T21:24:56.397Z] $ docker rm -f --volumes 71d918708c5b39f9441c71adf851790503c32ef996c9c4a4d6b61105e008facd [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T21:24:56.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T21:24:56.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T21:24:57.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T21:24:57.750Z] + ls -al . [2023-09-27T21:24:57.750Z] total 188 [2023-09-27T21:24:57.750Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:24 . [2023-09-27T21:24:57.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:23 .. [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:23 .dockerignore [2023-09-27T21:24:57.750Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:24 .git [2023-09-27T21:24:57.750Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:23 .github [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:23 .gitignore [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:23 .golangci.yml [2023-09-27T21:24:57.750Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:23 .semver [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 27 21:23 Attribution.txt [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 27 21:23 CHANGELOG.md [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 27 21:23 Dockerfile [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:23 GOVERNANCE.md [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:23 Jenkinsfile [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:23 LICENSE [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 27 21:23 Makefile [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:23 OWNERS.md [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 27 21:23 README.md [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:23 VERSION [2023-09-27T21:24:57.750Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:23 bin [2023-09-27T21:24:57.750Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:23 cmd [2023-09-27T21:24:57.750Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 27 21:24 coverage.out [2023-09-27T21:24:57.750Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:23 driver [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 27 21:23 go.mod [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 27 21:23 go.sum [2023-09-27T21:24:57.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:23 snap [2023-09-27T21:24:57.750Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:24:58.065Z] + 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=d5c17b765e654ed444623cbfa16304672a2cc7d9 --label arch=amd64 --label version=3.1.0-dev.19 . [2023-09-27T21:24:58.065Z] Sending build context to Docker daemon 10.93MB [2023-09-27T21:24:58.065Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T21:24:58.065Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-27T21:24:58.065Z] ---> 7ca8ae73c6b3 [2023-09-27T21:24:58.065Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-27T21:24:58.324Z] ---> Running in 3eddbb54fd43 [2023-09-27T21:24:58.324Z] Removing intermediate container 3eddbb54fd43 [2023-09-27T21:24:58.324Z] ---> 0fc98ededf65 [2023-09-27T21:24:58.324Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T21:24:58.324Z] ---> Running in 2ae91be01578 [2023-09-27T21:24:58.324Z] Removing intermediate container 2ae91be01578 [2023-09-27T21:24:58.324Z] ---> 1b588e67479c [2023-09-27T21:24:58.324Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T21:24:58.324Z] ---> Running in a9541f770c0c [2023-09-27T21:24:58.583Z] Removing intermediate container a9541f770c0c [2023-09-27T21:24:58.583Z] ---> 9784e1c78715 [2023-09-27T21:24:58.583Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T21:24:58.583Z] ---> Running in db9bb9333be4 [2023-09-27T21:24:58.583Z] Removing intermediate container db9bb9333be4 [2023-09-27T21:24:58.583Z] ---> 7a510d0ece65 [2023-09-27T21:24:58.583Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T21:24:58.583Z] ---> Running in b5050ceca483 [2023-09-27T21:24:58.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T21:24:59.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T21:24:59.363Z] OK: 268 MiB in 56 packages [2023-09-27T21:24:59.621Z] Removing intermediate container b5050ceca483 [2023-09-27T21:24:59.621Z] ---> 88d9d371b831 [2023-09-27T21:24:59.621Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-27T21:24:59.621Z] ---> Running in 304a970350cd [2023-09-27T21:24:59.621Z] Removing intermediate container 304a970350cd [2023-09-27T21:24:59.621Z] ---> d7ec928c9f6a [2023-09-27T21:24:59.621Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-27T21:24:59.879Z] ---> 542dbc888e28 [2023-09-27T21:24:59.879Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T21:24:59.879Z] ---> Running in d6aa42dd1331 [2023-09-27T21:25:00.444Z] Removing intermediate container d6aa42dd1331 [2023-09-27T21:25:00.444Z] ---> a1bcd67e6e52 [2023-09-27T21:25:00.444Z] Step 11/25 : COPY . . [2023-09-27T21:25:01.011Z] ---> 4faa1fe80984 [2023-09-27T21:25:01.011Z] Step 12/25 : RUN $MAKE [2023-09-27T21:25:01.011Z] ---> Running in a00267dcb9fc [2023-09-27T21:25:01.269Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-27T21:25:12.755Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8076 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-27T21:25:12.768Z] Running in /w/workspace/device-rest-go/139 [Pipeline] { [Pipeline] checkout [2023-09-27T21:25:12.794Z] The recommended git tool is: git [2023-09-27T21:25:17.705Z] using credential edgex-jenkins-ssh [2023-09-27T21:25:17.725Z] Cloning the remote Git repository [2023-09-27T21:25:17.771Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-27T21:25:18.731Z] > git init /w/workspace/device-rest-go/139 # timeout=10 [2023-09-27T21:25:18.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-27T21:25:18.870Z] > git --version # timeout=10 [2023-09-27T21:25:18.890Z] > git --version # 'git version 2.25.1' [2023-09-27T21:25:18.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T21:25:19.632Z] Removing intermediate container a00267dcb9fc [2023-09-27T21:25:19.632Z] ---> 596f92229616 [2023-09-27T21:25:19.632Z] Step 13/25 : FROM alpine:3.18 [2023-09-27T21:25:19.632Z] 3.18: Pulling from library/alpine [2023-09-27T21:25:19.632Z] 7264a8db6415: Already exists [2023-09-27T21:25:19.632Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T21:25:19.632Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T21:25:19.632Z] ---> 7e01a0d0a1dc [2023-09-27T21:25:19.632Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T21:25:19.892Z] ---> Running in 133e5d21e850 [2023-09-27T21:25:19.892Z] Removing intermediate container 133e5d21e850 [2023-09-27T21:25:19.892Z] ---> 752dc384dd0a [2023-09-27T21:25:19.892Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-27T21:25:19.892Z] ---> Running in d2735d055b7a [2023-09-27T21:25:19.892Z] Removing intermediate container d2735d055b7a [2023-09-27T21:25:19.892Z] ---> 6f534284c64a [2023-09-27T21:25:19.892Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-27T21:25:19.892Z] ---> Running in 1d67cda4b861 [2023-09-27T21:25:20.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T21:25:19.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T21:25:20.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T21:25:20.670Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-27T21:25:20.670Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T21:25:20.670Z] OK: 7 MiB in 16 packages [2023-09-27T21:25:20.928Z] Removing intermediate container 1d67cda4b861 [2023-09-27T21:25:20.928Z] ---> af6d7112e226 [2023-09-27T21:25:20.928Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-27T21:25:20.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-27T21:25:20.924Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T21:25:21.687Z] Avoid second fetch [2023-09-27T21:25:21.687Z] Checking out Revision d5c17b765e654ed444623cbfa16304672a2cc7d9 (main) [2023-09-27T21:25:21.862Z] ---> 6cc9063b8a5b [2023-09-27T21:25:21.862Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-27T21:25:22.121Z] ---> 02c786c0106b [2023-09-27T21:25:22.121Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-27T21:25:22.121Z] ---> 6c8717a1e84a [2023-09-27T21:25:22.121Z] Step 20/25 : EXPOSE 59986 [2023-09-27T21:25:22.121Z] ---> Running in d4cbf5d29e9d [2023-09-27T21:25:22.121Z] Removing intermediate container d4cbf5d29e9d [2023-09-27T21:25:22.121Z] ---> 11f70c4ac693 [2023-09-27T21:25:22.121Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-27T21:25:22.121Z] ---> Running in 8ecc8a3474d1 [2023-09-27T21:25:22.187Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#347)" [2023-09-27T21:25:22.379Z] Removing intermediate container 8ecc8a3474d1 [2023-09-27T21:25:22.379Z] ---> 18e82e840145 [2023-09-27T21:25:22.379Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-27T21:25:22.379Z] ---> Running in 0d4d1de7b1e7 [2023-09-27T21:25:22.379Z] Removing intermediate container 0d4d1de7b1e7 [2023-09-27T21:25:22.379Z] ---> c3173907a49b [2023-09-27T21:25:22.379Z] Step 23/25 : LABEL arch=amd64 [2023-09-27T21:25:22.379Z] ---> Running in 4584d85e2098 [2023-09-27T21:25:22.379Z] Removing intermediate container 4584d85e2098 [2023-09-27T21:25:22.379Z] ---> d38a34a4393d [2023-09-27T21:25:22.379Z] Step 24/25 : LABEL git_sha=d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-09-27T21:25:22.638Z] ---> Running in 132d3c0aa61a [2023-09-27T21:25:22.638Z] Removing intermediate container 132d3c0aa61a [2023-09-27T21:25:22.638Z] ---> 7b370288d068 [2023-09-27T21:25:22.638Z] Step 25/25 : LABEL version=3.1.0-dev.19 [2023-09-27T21:25:22.638Z] ---> Running in 0a6fa4fb5d93 [2023-09-27T21:25:22.638Z] Removing intermediate container 0a6fa4fb5d93 [2023-09-27T21:25:22.638Z] ---> 6b5f7a1ce073 [2023-09-27T21:25:22.638Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T21:25:22.638Z] Successfully built 6b5f7a1ce073 [2023-09-27T21:25:22.638Z] Successfully tagged device-rest:latest [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T21:25:22.886Z] provisioning config files... [2023-09-27T21:25:22.895Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17190577385388766530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:25:21.705Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T21:25:21.773Z] > git checkout -f d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 [2023-09-27T21:25:23.169Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T21:25:23.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T21:25:23.169Z] Dload Upload Total Spent Left Speed [2023-09-27T21:25:23.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [2023-09-27T21:25:23.186Z] ---> docker-login.sh [2023-09-27T21:25:23.186Z] nexus3.edgexfoundry.org:10001 [2023-09-27T21:25:23.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:23.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:23.186Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:23.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:23.186Z] [2023-09-27T21:25:23.186Z] Login Succeeded [2023-09-27T21:25:23.186Z] nexus3.edgexfoundry.org:10002 [2023-09-27T21:25:23.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:23.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:23.186Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:23.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:23.186Z] [2023-09-27T21:25:23.186Z] Login Succeeded [2023-09-27T21:25:23.186Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2023-09-27T21:25:23.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:23.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:23.445Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:23.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:23.445Z] [2023-09-27T21:25:23.445Z] Login Succeeded [2023-09-27T21:25:23.445Z] nexus3.edgexfoundry.org:10004 [2023-09-27T21:25:23.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:23.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:23.445Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:23.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:23.445Z] [2023-09-27T21:25:23.445Z] Login Succeeded [2023-09-27T21:25:23.445Z] docker.io [2023-09-27T21:25:23.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:23.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:23.704Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:23.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:23.704Z] [2023-09-27T21:25:23.704Z] Login Succeeded [2023-09-27T21:25:23.704Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T21:25:23.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T21:25:23.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-09-27T21:25:23.817Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] echo [2023-09-27T21:25:23.823Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-27T21:25:23.823Z] d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:25:23.823Z] latest [2023-09-27T21:25:23.823Z] 3.1.0-dev.19 [2023-09-27T21:25:23.823Z] d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [2023-09-27T21:25:23.823Z] main [2023-09-27T21:25:23.823Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:24.205Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:25:24.208Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-27T21:25:24.208Z] + sudo tee /etc/docker/daemon.new [2023-09-27T21:25:24.208Z] { [2023-09-27T21:25:24.208Z] "registry-mirrors": [ [2023-09-27T21:25:24.208Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T21:25:24.208Z] ], [2023-09-27T21:25:24.208Z] "bip": "10.250.0.254/24", [2023-09-27T21:25:24.208Z] "hosts": [ [2023-09-27T21:25:24.208Z] "tcp://0.0.0.0:5555", [2023-09-27T21:25:24.208Z] "unix:///var/run/docker.sock" [2023-09-27T21:25:24.208Z] ], [2023-09-27T21:25:24.208Z] "mtu": 1458, [2023-09-27T21:25:24.208Z] "selinux-enabled": true, [2023-09-27T21:25:24.208Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T21:25:24.208Z] } [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:24.532Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T21:25:24.562Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:25:24.562Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-27T21:25:24.562Z] e65fc2ade258: Preparing [2023-09-27T21:25:24.562Z] ef36c073b1f2: Preparing [2023-09-27T21:25:24.562Z] 859acf312756: Preparing [2023-09-27T21:25:24.562Z] 8524eeac30ca: Preparing [2023-09-27T21:25:24.562Z] 4693057ce236: Preparing [2023-09-27T21:25:24.562Z] 4693057ce236: Layer already exists [2023-09-27T21:25:24.562Z] 8524eeac30ca: Pushed [2023-09-27T21:25:24.562Z] e65fc2ade258: Pushed [2023-09-27T21:25:24.562Z] ef36c073b1f2: Pushed [2023-09-27T21:25:24.860Z] + sudo service docker restart [2023-09-27T21:25:27.094Z] 859acf312756: Pushed [2023-09-27T21:25:27.094Z] d5c17b765e654ed444623cbfa16304672a2cc7d9: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:27.661Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:27.969Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-27T21:25:27.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-27T21:25:27.969Z] e65fc2ade258: Preparing [2023-09-27T21:25:27.969Z] ef36c073b1f2: Preparing [2023-09-27T21:25:27.969Z] 859acf312756: Preparing [2023-09-27T21:25:27.969Z] 8524eeac30ca: Preparing [2023-09-27T21:25:27.969Z] 4693057ce236: Preparing [2023-09-27T21:25:27.969Z] 4693057ce236: Layer already exists [2023-09-27T21:25:27.969Z] e65fc2ade258: Layer already exists [2023-09-27T21:25:27.969Z] 859acf312756: Layer already exists [2023-09-27T21:25:27.969Z] 8524eeac30ca: Layer already exists [2023-09-27T21:25:27.969Z] ef36c073b1f2: Layer already exists [2023-09-27T21:25:27.969Z] latest: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:28.276Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:28.575Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.19 [2023-09-27T21:25:28.575Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-27T21:25:28.575Z] e65fc2ade258: Preparing [2023-09-27T21:25:28.575Z] ef36c073b1f2: Preparing [2023-09-27T21:25:28.575Z] 859acf312756: Preparing [2023-09-27T21:25:28.575Z] 8524eeac30ca: Preparing [2023-09-27T21:25:28.575Z] 4693057ce236: Preparing [2023-09-27T21:25:28.575Z] 8524eeac30ca: Layer already exists [2023-09-27T21:25:28.575Z] e65fc2ade258: Layer already exists [2023-09-27T21:25:28.575Z] 4693057ce236: Layer already exists [2023-09-27T21:25:28.575Z] 859acf312756: Layer already exists [2023-09-27T21:25:28.575Z] ef36c073b1f2: Layer already exists [2023-09-27T21:25:28.575Z] 3.1.0-dev.19: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:28.882Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:29.187Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [2023-09-27T21:25:29.187Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-27T21:25:29.187Z] e65fc2ade258: Preparing [2023-09-27T21:25:29.187Z] ef36c073b1f2: Preparing [2023-09-27T21:25:29.187Z] 859acf312756: Preparing [2023-09-27T21:25:29.187Z] 8524eeac30ca: Preparing [2023-09-27T21:25:29.187Z] 4693057ce236: Preparing [2023-09-27T21:25:29.187Z] ef36c073b1f2: Layer already exists [2023-09-27T21:25:29.187Z] 4693057ce236: Layer already exists [2023-09-27T21:25:29.187Z] 859acf312756: Layer already exists [2023-09-27T21:25:29.187Z] 8524eeac30ca: Layer already exists [2023-09-27T21:25:29.187Z] e65fc2ade258: Layer already exists [2023-09-27T21:25:29.187Z] d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:29.497Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:29.802Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-27T21:25:29.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-27T21:25:29.803Z] e65fc2ade258: Preparing [2023-09-27T21:25:29.803Z] ef36c073b1f2: Preparing [2023-09-27T21:25:29.803Z] 859acf312756: Preparing [2023-09-27T21:25:29.803Z] 8524eeac30ca: Preparing [2023-09-27T21:25:29.803Z] 4693057ce236: Preparing [2023-09-27T21:25:29.803Z] 859acf312756: Layer already exists [2023-09-27T21:25:29.803Z] e65fc2ade258: Layer already exists [2023-09-27T21:25:29.803Z] 4693057ce236: Layer already exists [2023-09-27T21:25:29.803Z] 8524eeac30ca: Layer already exists [2023-09-27T21:25:29.803Z] ef36c073b1f2: Layer already exists [2023-09-27T21:25:29.803Z] main: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T21:25:29.841Z] ===================================================== [Pipeline] echo [2023-09-27T21:25:29.847Z] taggedImages: [2023-09-27T21:25:29.847Z] - nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:25:29.847Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-27T21:25:29.847Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.19 [2023-09-27T21:25:29.847Z] - nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [2023-09-27T21:25:29.847Z] - 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-27T21:25:30.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T21:25:30.211Z] [2023-09-27T21:25:30.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:30.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T21:25:30.523Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T21:25:30.523Z] 5eb5b503b376: Pulling fs layer [2023-09-27T21:25:30.523Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T21:25:30.523Z] ec43610c2a17: Pulling fs layer [2023-09-27T21:25:30.523Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T21:25:30.523Z] 33b1e0a273af: Pulling fs layer [2023-09-27T21:25:30.523Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T21:25:30.523Z] 2f39f015ded8: Pulling fs layer [2023-09-27T21:25:30.523Z] 3a2ae6a8a46f: Waiting [2023-09-27T21:25:30.523Z] 33b1e0a273af: Waiting [2023-09-27T21:25:30.523Z] 5d3b04190fa2: Waiting [2023-09-27T21:25:30.523Z] 2f39f015ded8: Waiting [2023-09-27T21:25:30.523Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T21:25:30.523Z] 5c69ac0246d0: Download complete [2023-09-27T21:25:30.523Z] 3a2ae6a8a46f: Download complete [2023-09-27T21:25:30.804Z] 33b1e0a273af: Verifying Checksum [2023-09-27T21:25:30.804Z] 33b1e0a273af: Download complete [2023-09-27T21:25:30.804Z] 5d3b04190fa2: Verifying Checksum [2023-09-27T21:25:30.804Z] 5d3b04190fa2: Download complete [2023-09-27T21:25:30.804Z] ec43610c2a17: Verifying Checksum [2023-09-27T21:25:30.804Z] ec43610c2a17: Download complete [2023-09-27T21:25:31.076Z] 5eb5b503b376: Verifying Checksum [2023-09-27T21:25:31.076Z] 5eb5b503b376: Download complete [2023-09-27T21:25:31.641Z] 2f39f015ded8: Download complete [2023-09-27T21:25:32.207Z] 5eb5b503b376: Pull complete [2023-09-27T21:25:32.207Z] 5c69ac0246d0: Pull complete [2023-09-27T21:25:32.466Z] ec43610c2a17: Pull complete [2023-09-27T21:25:32.724Z] 3a2ae6a8a46f: Pull complete [2023-09-27T21:25:32.724Z] 33b1e0a273af: Pull complete [2023-09-27T21:25:32.982Z] 5d3b04190fa2: Pull complete [2023-09-27T21:25:37.170Z] 2f39f015ded8: Pull complete [2023-09-27T21:25:37.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T21:25:37.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T21:25:37.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:25:37.254Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:25:37.287Z] $ 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-27T21:25:42.275Z] $ docker top d6127b515770fa74f0b015b60a87e923f22d29f76dfa83433093ca24d516d62c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:25:42.674Z] ---> job-cost.sh [2023-09-27T21:25:42.674Z] lf-activate-venv: SKIPPING [2023-09-27T21:25:42.674Z] INFO: No Stack... [2023-09-27T21:25:42.933Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T21:25:43.098Z] provisioning config files... [2023-09-27T21:25:43.123Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/139@tmp/config13921670188606439308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:25:43.471Z] ---> docker-login.sh [2023-09-27T21:25:43.471Z] nexus3.edgexfoundry.org:10001 [2023-09-27T21:25:43.504Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T21:25:43.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:43.877Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-27T21:25:43.877Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T21:25:43.890Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [2023-09-27T21:25:43.899Z] Resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] did not exist. Created. [2023-09-27T21:25:43.899Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T21:25:44.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:44.012Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:44.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:44.012Z] [2023-09-27T21:25:44.012Z] Login Succeeded [2023-09-27T21:25:44.012Z] nexus3.edgexfoundry.org:10002 [2023-09-27T21:25:44.195Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T21:25:44.228Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T21:25:44.234Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T21:25:44.256Z] $ docker stop --time=1 d6127b515770fa74f0b015b60a87e923f22d29f76dfa83433093ca24d516d62c [2023-09-27T21:25:44.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:44.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:44.550Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:44.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:44.550Z] [2023-09-27T21:25:44.550Z] Login Succeeded [2023-09-27T21:25:44.550Z] nexus3.edgexfoundry.org:10003 [2023-09-27T21:25:44.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:44.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:44.822Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:44.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:44.822Z] [2023-09-27T21:25:44.822Z] Login Succeeded [2023-09-27T21:25:44.822Z] nexus3.edgexfoundry.org:10004 [2023-09-27T21:25:45.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:45.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:45.091Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:45.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:45.091Z] [2023-09-27T21:25:45.091Z] Login Succeeded [2023-09-27T21:25:45.091Z] docker.io [2023-09-27T21:25:45.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:25:45.404Z] $ docker rm -f --volumes d6127b515770fa74f0b015b60a87e923f22d29f76dfa83433093ca24d516d62c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T21:25:45.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:25:45.630Z] Configure a credential helper to remove this warning. See [2023-09-27T21:25:45.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:25:45.630Z] [2023-09-27T21:25:45.630Z] Login Succeeded [2023-09-27T21:25:45.630Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T21:25:45.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T21:25:45.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T21:25:45.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T21:25:45.932Z] ========================================================= [2023-09-27T21:25:45.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T21:25:45.932Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:25:46.290Z] + 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-27T21:25:46.290Z] Sending build context to Docker daemon 144.4kB [2023-09-27T21:25:46.557Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T21:25:46.557Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-27T21:25:46.557Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T21:25:46.557Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T21:25:46.557Z] 5d54e960e981: Pulling fs layer [2023-09-27T21:25:46.557Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T21:25:46.557Z] f0e02332f6b5: Pulling fs layer [2023-09-27T21:25:46.557Z] cefa15bbcfad: Pulling fs layer [2023-09-27T21:25:46.557Z] 17808c966233: Pulling fs layer [2023-09-27T21:25:46.557Z] f4c1fc716caa: Pulling fs layer [2023-09-27T21:25:46.557Z] cefa15bbcfad: Waiting [2023-09-27T21:25:46.557Z] 17808c966233: Waiting [2023-09-27T21:25:46.557Z] f0e02332f6b5: Waiting [2023-09-27T21:25:46.557Z] f4c1fc716caa: Waiting [2023-09-27T21:25:46.826Z] 5d54e960e981: Verifying Checksum [2023-09-27T21:25:46.826Z] 5d54e960e981: Download complete [2023-09-27T21:25:46.826Z] f0e02332f6b5: Verifying Checksum [2023-09-27T21:25:46.826Z] f0e02332f6b5: Download complete [2023-09-27T21:25:46.826Z] cefa15bbcfad: Verifying Checksum [2023-09-27T21:25:46.826Z] cefa15bbcfad: Download complete [2023-09-27T21:25:46.826Z] 9fda8d8052c6: Verifying Checksum [2023-09-27T21:25:46.826Z] 9fda8d8052c6: Download complete [2023-09-27T21:25:47.098Z] f4c1fc716caa: Verifying Checksum [2023-09-27T21:25:47.098Z] f4c1fc716caa: Download complete [2023-09-27T21:25:47.690Z] 9fda8d8052c6: Pull complete [2023-09-27T21:25:48.281Z] 5d54e960e981: Pull complete [2023-09-27T21:25:48.281Z] c4a7e357bf2a: Verifying Checksum [2023-09-27T21:25:48.281Z] c4a7e357bf2a: Download complete [2023-09-27T21:25:49.258Z] 17808c966233: Verifying Checksum [2023-09-27T21:25:49.258Z] 17808c966233: Download complete [2023-09-27T21:25:59.372Z] c4a7e357bf2a: Pull complete [2023-09-27T21:25:59.642Z] f0e02332f6b5: Pull complete [2023-09-27T21:25:59.642Z] cefa15bbcfad: Pull complete [2023-09-27T21:26:06.301Z] 17808c966233: Pull complete [2023-09-27T21:26:08.256Z] f4c1fc716caa: Pull complete [2023-09-27T21:26:08.256Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T21:26:08.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T21:26:08.256Z] ---> ea914061e18c [2023-09-27T21:26:08.256Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-27T21:26:09.675Z] ---> Running in 00089efc4ce4 [2023-09-27T21:26:09.676Z] Removing intermediate container 00089efc4ce4 [2023-09-27T21:26:09.676Z] ---> 1083b8197be0 [2023-09-27T21:26:09.676Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T21:26:09.954Z] ---> Running in 452ee2ef55a5 [2023-09-27T21:26:10.222Z] Removing intermediate container 452ee2ef55a5 [2023-09-27T21:26:10.222Z] ---> a2244571f22a [2023-09-27T21:26:10.222Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T21:26:10.222Z] ---> Running in e5237933a05c [2023-09-27T21:26:10.494Z] Removing intermediate container e5237933a05c [2023-09-27T21:26:10.494Z] ---> 305b28a8c969 [2023-09-27T21:26:10.494Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T21:26:10.766Z] ---> Running in 9c2782200944 [2023-09-27T21:26:11.034Z] Removing intermediate container 9c2782200944 [2023-09-27T21:26:11.034Z] ---> cf6e69be0b79 [2023-09-27T21:26:11.034Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T21:26:11.034Z] ---> Running in 78899a8d610c [2023-09-27T21:26:11.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T21:26:12.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T21:26:13.619Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-27T21:26:13.619Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-27T21:26:13.619Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-27T21:26:13.619Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-27T21:26:13.619Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T21:26:13.619Z] OK: 270 MiB in 56 packages [2023-09-27T21:26:15.046Z] Removing intermediate container 78899a8d610c [2023-09-27T21:26:15.046Z] ---> 881e1d5a4674 [2023-09-27T21:26:15.046Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-27T21:26:15.046Z] ---> Running in 7b5614875ef4 [2023-09-27T21:26:15.046Z] Removing intermediate container 7b5614875ef4 [2023-09-27T21:26:15.046Z] ---> 1285a8955181 [2023-09-27T21:26:15.046Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-27T21:26:15.633Z] ---> 23a2415320e0 [2023-09-27T21:26:15.633Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T21:26:15.633Z] ---> Running in cc7ddb56cf56 [2023-09-27T21:27:37.274Z] Removing intermediate container cc7ddb56cf56 [2023-09-27T21:27:37.274Z] ---> 323099ed45fd [2023-09-27T21:27:37.274Z] Step 11/12 : COPY . . [2023-09-27T21:27:37.274Z] ---> cb383f012097 [2023-09-27T21:27:37.274Z] Step 12/12 : RUN $MAKE [2023-09-27T21:27:37.274Z] ---> Running in d254a6042459 [2023-09-27T21:27:37.274Z] noop [2023-09-27T21:27:37.860Z] Removing intermediate container d254a6042459 [2023-09-27T21:27:37.860Z] ---> ee7c2174053b [2023-09-27T21:27:37.860Z] Successfully built ee7c2174053b [2023-09-27T21:27:37.860Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:27:38.218Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T21:27:38.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:27:38.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-8076 does not seem to be running inside a container [2023-09-27T21:27:38.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/139 -v /w/workspace/device-rest-go/139:/w/workspace/device-rest-go/139:rw,z -v /w/workspace/device-rest-go/139@tmp:/w/workspace/device-rest-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T21:27:39.634Z] $ docker top dc9f4ef07629a3682b81f32f86c7c28c22e8ffed10f24df81abd37eb56d6e303 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T21:27:40.457Z] + go version [2023-09-27T21:27:40.457Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T21:27:40.478Z] $ docker stop --time=1 dc9f4ef07629a3682b81f32f86c7c28c22e8ffed10f24df81abd37eb56d6e303 [2023-09-27T21:27:42.094Z] $ docker rm -f --volumes dc9f4ef07629a3682b81f32f86c7c28c22e8ffed10f24df81abd37eb56d6e303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:27:42.617Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T21:27:42.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:27:42.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-8076 does not seem to be running inside a container [2023-09-27T21:27:42.839Z] $ 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/139 -v /w/workspace/device-rest-go/139:/w/workspace/device-rest-go/139:rw,z -v /w/workspace/device-rest-go/139@tmp:/w/workspace/device-rest-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T21:27:43.911Z] $ docker top 014cccf0348cc49f6e2fba93dbf46369ffbca7e057a9313664f49f82aa2f5e0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T21:27:44.409Z] + git config --global --add safe.directory /w/workspace/device-rest-go/139 [Pipeline] fileExists [Pipeline] sh [2023-09-27T21:27:44.734Z] + make test [2023-09-27T21:27:45.002Z] go test ./... -coverprofile=coverage.out ./... [2023-09-27T21:27:49.283Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-27T21:29:25.929Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-27T21:29:25.929Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements [2023-09-27T21:29:25.929Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T21:29:25.929Z] go vet ./... [2023-09-27T21:29:36.027Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T21:29:36.027Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T21:29:36.027Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T21:29:36.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T21:29:36.063Z] $ docker stop --time=1 014cccf0348cc49f6e2fba93dbf46369ffbca7e057a9313664f49f82aa2f5e0f [2023-09-27T21:29:39.330Z] $ docker rm -f --volumes 014cccf0348cc49f6e2fba93dbf46369ffbca7e057a9313664f49f82aa2f5e0f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T21:29:40.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T21:29:40.532Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T21:29:40.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T21:29:41.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T21:29:41.670Z] + ls -al . [2023-09-27T21:29:41.670Z] total 184 [2023-09-27T21:29:41.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:27 . [2023-09-27T21:29:41.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:25 .. [2023-09-27T21:29:41.670Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:25 .dockerignore [2023-09-27T21:29:41.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:25 .git [2023-09-27T21:29:41.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:25 .github [2023-09-27T21:29:41.670Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:25 .gitignore [2023-09-27T21:29:41.670Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:25 .golangci.yml [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 27 21:25 Attribution.txt [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 27 21:25 CHANGELOG.md [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 27 21:25 Dockerfile [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:25 GOVERNANCE.md [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:25 Jenkinsfile [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:25 LICENSE [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 27 21:25 Makefile [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:25 OWNERS.md [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 27 21:25 README.md [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:23 VERSION [2023-09-27T21:29:41.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:25 bin [2023-09-27T21:29:41.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:25 cmd [2023-09-27T21:29:41.671Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 27 21:29 coverage.out [2023-09-27T21:29:41.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:25 driver [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 27 21:25 go.mod [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 27 21:25 go.sum [2023-09-27T21:29:41.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:25 snap [2023-09-27T21:29:41.671Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:29:42.003Z] + 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=d5c17b765e654ed444623cbfa16304672a2cc7d9 --label arch=arm64 --label version=3.1.0-dev.19 . [2023-09-27T21:29:42.003Z] Sending build context to Docker daemon 159.7kB [2023-09-27T21:29:42.272Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T21:29:42.272Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-27T21:29:42.272Z] ---> ee7c2174053b [2023-09-27T21:29:42.272Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-27T21:29:42.539Z] ---> Running in d94080d77287 [2023-09-27T21:29:42.806Z] Removing intermediate container d94080d77287 [2023-09-27T21:29:42.806Z] ---> beabdaac2e6e [2023-09-27T21:29:42.806Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T21:29:42.806Z] ---> Running in 58cfb318c14c [2023-09-27T21:29:43.077Z] Removing intermediate container 58cfb318c14c [2023-09-27T21:29:43.077Z] ---> 91702af4724b [2023-09-27T21:29:43.077Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T21:29:43.347Z] ---> Running in 11599d0ffae4 [2023-09-27T21:29:43.616Z] Removing intermediate container 11599d0ffae4 [2023-09-27T21:29:43.616Z] ---> f73793cfbafd [2023-09-27T21:29:43.616Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T21:29:43.616Z] ---> Running in 219bc25d90c4 [2023-09-27T21:29:43.885Z] Removing intermediate container 219bc25d90c4 [2023-09-27T21:29:43.885Z] ---> 627af8a33804 [2023-09-27T21:29:43.885Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T21:29:44.156Z] ---> Running in 35fc2d91f2b0 [2023-09-27T21:29:45.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T21:29:45.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T21:29:46.787Z] OK: 270 MiB in 56 packages [2023-09-27T21:29:48.201Z] Removing intermediate container 35fc2d91f2b0 [2023-09-27T21:29:48.201Z] ---> b89b6500e41b [2023-09-27T21:29:48.201Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-27T21:29:48.201Z] ---> Running in b1133fa0da18 [2023-09-27T21:29:48.471Z] Removing intermediate container b1133fa0da18 [2023-09-27T21:29:48.471Z] ---> 93f6b113156c [2023-09-27T21:29:48.471Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-27T21:29:51.051Z] ---> d95704a3375c [2023-09-27T21:29:51.051Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T21:29:51.051Z] ---> Running in c4003f4af5d1 [2023-09-27T21:29:55.306Z] Removing intermediate container c4003f4af5d1 [2023-09-27T21:29:55.306Z] ---> 86e9764afef4 [2023-09-27T21:29:55.306Z] Step 11/25 : COPY . . [2023-09-27T21:29:55.913Z] ---> 97d5dff3683c [2023-09-27T21:29:55.913Z] Step 12/25 : RUN $MAKE [2023-09-27T21:29:55.913Z] ---> Running in 0c38bc97af6b [2023-09-27T21:29:57.880Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-27T21:31:49.552Z] Removing intermediate container 0c38bc97af6b [2023-09-27T21:31:49.552Z] ---> 3189c1179bfd [2023-09-27T21:31:49.552Z] Step 13/25 : FROM alpine:3.18 [2023-09-27T21:31:49.552Z] 3.18: Pulling from library/alpine [2023-09-27T21:31:49.552Z] 9fda8d8052c6: Already exists [2023-09-27T21:31:49.552Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T21:31:49.552Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T21:31:49.552Z] ---> f6648c04cd6c [2023-09-27T21:31:49.552Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T21:31:49.552Z] ---> Running in c4e9c5a783ae [2023-09-27T21:31:49.552Z] Removing intermediate container c4e9c5a783ae [2023-09-27T21:31:49.552Z] ---> d5d521daef0c [2023-09-27T21:31:49.552Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-27T21:31:49.552Z] ---> Running in c18d87a5d154 [2023-09-27T21:31:49.552Z] Removing intermediate container c18d87a5d154 [2023-09-27T21:31:49.552Z] ---> a444987830b7 [2023-09-27T21:31:49.552Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-27T21:31:49.552Z] ---> Running in 0b1793ce843a [2023-09-27T21:31:49.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T21:31:49.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T21:31:49.552Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-27T21:31:49.552Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T21:31:49.552Z] OK: 8 MiB in 16 packages [2023-09-27T21:31:49.552Z] Removing intermediate container 0b1793ce843a [2023-09-27T21:31:49.552Z] ---> 7ff9075c30cb [2023-09-27T21:31:49.552Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-27T21:31:49.552Z] ---> 369573aa25ea [2023-09-27T21:31:49.552Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-27T21:31:49.552Z] ---> f6d85d4b4718 [2023-09-27T21:31:49.552Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-27T21:31:49.552Z] ---> dec169d2ec7c [2023-09-27T21:31:49.552Z] Step 20/25 : EXPOSE 59986 [2023-09-27T21:31:49.552Z] ---> Running in c56c2d885b00 [2023-09-27T21:31:49.552Z] Removing intermediate container c56c2d885b00 [2023-09-27T21:31:49.552Z] ---> a7a9e2ec1254 [2023-09-27T21:31:49.552Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-27T21:31:49.552Z] ---> Running in bbebf8d1fd17 [2023-09-27T21:31:49.552Z] Removing intermediate container bbebf8d1fd17 [2023-09-27T21:31:49.552Z] ---> 269857aa72ea [2023-09-27T21:31:49.552Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-27T21:31:49.552Z] ---> Running in d2bc467ddbc1 [2023-09-27T21:31:49.552Z] Removing intermediate container d2bc467ddbc1 [2023-09-27T21:31:49.552Z] ---> aafe2d8f15ab [2023-09-27T21:31:49.552Z] Step 23/25 : LABEL arch=arm64 [2023-09-27T21:31:49.552Z] ---> Running in cf576b0df217 [2023-09-27T21:31:49.552Z] Removing intermediate container cf576b0df217 [2023-09-27T21:31:49.552Z] ---> c75fb830374a [2023-09-27T21:31:49.552Z] Step 24/25 : LABEL git_sha=d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:31:49.552Z] ---> Running in 0fb0ef9ff12d [2023-09-27T21:31:49.552Z] Removing intermediate container 0fb0ef9ff12d [2023-09-27T21:31:49.552Z] ---> 561fc2a41332 [2023-09-27T21:31:49.552Z] Step 25/25 : LABEL version=3.1.0-dev.19 [2023-09-27T21:31:49.552Z] ---> Running in 44c44e7810bc [2023-09-27T21:31:49.552Z] Removing intermediate container 44c44e7810bc [2023-09-27T21:31:49.552Z] ---> 7040f3b41326 [2023-09-27T21:31:49.552Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T21:31:49.552Z] Successfully built 7040f3b41326 [2023-09-27T21:31:49.552Z] 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-27T21:31:49.651Z] provisioning config files... [2023-09-27T21:31:49.666Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/139@tmp/config10323189390966814419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:31:49.999Z] ---> docker-login.sh [2023-09-27T21:31:49.999Z] nexus3.edgexfoundry.org:10001 [2023-09-27T21:31:49.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:31:50.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:31:50.272Z] Configure a credential helper to remove this warning. See [2023-09-27T21:31:50.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:31:50.272Z] [2023-09-27T21:31:50.272Z] Login Succeeded [2023-09-27T21:31:50.272Z] nexus3.edgexfoundry.org:10002 [2023-09-27T21:31:50.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:31:50.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:31:50.540Z] Configure a credential helper to remove this warning. See [2023-09-27T21:31:50.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:31:50.540Z] [2023-09-27T21:31:50.540Z] Login Succeeded [2023-09-27T21:31:50.540Z] nexus3.edgexfoundry.org:10003 [2023-09-27T21:31:50.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:31:51.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:31:51.073Z] Configure a credential helper to remove this warning. See [2023-09-27T21:31:51.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:31:51.073Z] [2023-09-27T21:31:51.073Z] Login Succeeded [2023-09-27T21:31:51.073Z] nexus3.edgexfoundry.org:10004 [2023-09-27T21:31:51.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:31:51.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:31:51.343Z] Configure a credential helper to remove this warning. See [2023-09-27T21:31:51.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:31:51.344Z] [2023-09-27T21:31:51.344Z] Login Succeeded [2023-09-27T21:31:51.344Z] docker.io [2023-09-27T21:31:51.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T21:31:51.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T21:31:51.873Z] Configure a credential helper to remove this warning. See [2023-09-27T21:31:51.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T21:31:51.873Z] [2023-09-27T21:31:51.873Z] Login Succeeded [2023-09-27T21:31:51.873Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T21:31:51.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T21:31:51.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T21:31:51.929Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-27T21:31:51.929Z] d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:31:51.929Z] latest [2023-09-27T21:31:51.929Z] 3.1.0-dev.19 [2023-09-27T21:31:51.929Z] d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [2023-09-27T21:31:51.929Z] main [2023-09-27T21:31:51.929Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:31:52.257Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:31:52.597Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:31:52.597Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-27T21:31:52.597Z] 114307f52398: Preparing [2023-09-27T21:31:52.597Z] 645981cc021b: Preparing [2023-09-27T21:31:52.597Z] a76cd34280cd: Preparing [2023-09-27T21:31:52.597Z] 1563f733f0b9: Preparing [2023-09-27T21:31:52.597Z] b2191e2be29d: Preparing [2023-09-27T21:31:52.597Z] b2191e2be29d: Layer already exists [2023-09-27T21:31:52.863Z] 1563f733f0b9: Pushed [2023-09-27T21:31:52.863Z] 645981cc021b: Pushed [2023-09-27T21:31:52.863Z] 114307f52398: Pushed [2023-09-27T21:31:58.192Z] a76cd34280cd: Pushed [2023-09-27T21:31:58.192Z] d5c17b765e654ed444623cbfa16304672a2cc7d9: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:31:58.545Z] + 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-27T21:31:58.875Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-27T21:31:58.876Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-27T21:31:58.876Z] 114307f52398: Preparing [2023-09-27T21:31:58.876Z] 645981cc021b: Preparing [2023-09-27T21:31:58.876Z] a76cd34280cd: Preparing [2023-09-27T21:31:58.876Z] 1563f733f0b9: Preparing [2023-09-27T21:31:58.876Z] b2191e2be29d: Preparing [2023-09-27T21:31:58.876Z] 114307f52398: Layer already exists [2023-09-27T21:31:58.876Z] a76cd34280cd: Layer already exists [2023-09-27T21:31:58.876Z] 645981cc021b: Layer already exists [2023-09-27T21:31:58.876Z] b2191e2be29d: Layer already exists [2023-09-27T21:31:58.876Z] 1563f733f0b9: Layer already exists [2023-09-27T21:31:58.876Z] latest: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:31:59.221Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:31:59.561Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.19 [2023-09-27T21:31:59.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-27T21:31:59.561Z] 114307f52398: Preparing [2023-09-27T21:31:59.561Z] 645981cc021b: Preparing [2023-09-27T21:31:59.561Z] a76cd34280cd: Preparing [2023-09-27T21:31:59.561Z] 1563f733f0b9: Preparing [2023-09-27T21:31:59.561Z] b2191e2be29d: Preparing [2023-09-27T21:31:59.561Z] 114307f52398: Layer already exists [2023-09-27T21:31:59.561Z] 645981cc021b: Layer already exists [2023-09-27T21:31:59.561Z] a76cd34280cd: Layer already exists [2023-09-27T21:31:59.561Z] b2191e2be29d: Layer already exists [2023-09-27T21:31:59.561Z] 1563f733f0b9: Layer already exists [2023-09-27T21:31:59.561Z] 3.1.0-dev.19: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:31:59.896Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:32:00.241Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [2023-09-27T21:32:00.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-27T21:32:00.241Z] 114307f52398: Preparing [2023-09-27T21:32:00.241Z] 645981cc021b: Preparing [2023-09-27T21:32:00.241Z] a76cd34280cd: Preparing [2023-09-27T21:32:00.241Z] 1563f733f0b9: Preparing [2023-09-27T21:32:00.241Z] b2191e2be29d: Preparing [2023-09-27T21:32:00.241Z] a76cd34280cd: Layer already exists [2023-09-27T21:32:00.241Z] 1563f733f0b9: Layer already exists [2023-09-27T21:32:00.241Z] b2191e2be29d: Layer already exists [2023-09-27T21:32:00.241Z] 645981cc021b: Layer already exists [2023-09-27T21:32:00.241Z] 114307f52398: Layer already exists [2023-09-27T21:32:00.241Z] d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:32:00.578Z] + 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-27T21:32:00.912Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-27T21:32:00.912Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-27T21:32:00.912Z] 114307f52398: Preparing [2023-09-27T21:32:00.912Z] 645981cc021b: Preparing [2023-09-27T21:32:00.912Z] a76cd34280cd: Preparing [2023-09-27T21:32:00.912Z] 1563f733f0b9: Preparing [2023-09-27T21:32:00.912Z] b2191e2be29d: Preparing [2023-09-27T21:32:00.912Z] 645981cc021b: Layer already exists [2023-09-27T21:32:00.912Z] 1563f733f0b9: Layer already exists [2023-09-27T21:32:00.912Z] b2191e2be29d: Layer already exists [2023-09-27T21:32:00.912Z] a76cd34280cd: Layer already exists [2023-09-27T21:32:00.912Z] 114307f52398: Layer already exists [2023-09-27T21:32:00.912Z] main: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-27T21:32:00.956Z] ===================================================== [Pipeline] echo [2023-09-27T21:32:00.964Z] taggedImages: [2023-09-27T21:32:00.964Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9 [2023-09-27T21:32:00.964Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-27T21:32:00.964Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.19 [2023-09-27T21:32:00.964Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [2023-09-27T21:32:00.964Z] - 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-27T21:32:01.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T21:32:01.319Z] [2023-09-27T21:32:01.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:32:01.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T21:32:01.643Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T21:32:01.643Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T21:32:01.643Z] 04944245beec: Pulling fs layer [2023-09-27T21:32:01.643Z] 699f458cf7ca: Pulling fs layer [2023-09-27T21:32:01.643Z] 765212b225bb: Pulling fs layer [2023-09-27T21:32:01.643Z] f23df028b6ca: Pulling fs layer [2023-09-27T21:32:01.643Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T21:32:01.643Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T21:32:01.643Z] f23df028b6ca: Waiting [2023-09-27T21:32:01.643Z] d65c8cfc05b1: Waiting [2023-09-27T21:32:01.643Z] 2437ff75d9bd: Waiting [2023-09-27T21:32:01.643Z] 765212b225bb: Waiting [2023-09-27T21:32:01.910Z] 04944245beec: Verifying Checksum [2023-09-27T21:32:01.910Z] 04944245beec: Download complete [2023-09-27T21:32:01.910Z] 765212b225bb: Verifying Checksum [2023-09-27T21:32:01.910Z] 765212b225bb: Download complete [2023-09-27T21:32:01.910Z] f23df028b6ca: Verifying Checksum [2023-09-27T21:32:01.910Z] f23df028b6ca: Download complete [2023-09-27T21:32:01.910Z] d65c8cfc05b1: Download complete [2023-09-27T21:32:01.910Z] 699f458cf7ca: Verifying Checksum [2023-09-27T21:32:01.910Z] 699f458cf7ca: Download complete [2023-09-27T21:32:02.496Z] 8998bd30e6a1: Verifying Checksum [2023-09-27T21:32:02.496Z] 8998bd30e6a1: Download complete [2023-09-27T21:32:04.436Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T21:32:06.377Z] 8998bd30e6a1: Pull complete [2023-09-27T21:32:06.644Z] 04944245beec: Pull complete [2023-09-27T21:32:08.049Z] 699f458cf7ca: Pull complete [2023-09-27T21:32:08.313Z] 765212b225bb: Pull complete [2023-09-27T21:32:08.897Z] f23df028b6ca: Pull complete [2023-09-27T21:32:09.163Z] d65c8cfc05b1: Pull complete [2023-09-27T21:32:24.147Z] 2437ff75d9bd: Pull complete [2023-09-27T21:32:24.147Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T21:32:24.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T21:32:24.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:32:24.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-8076 does not seem to be running inside a container [2023-09-27T21:32:24.386Z] $ 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/139 -v /w/workspace/device-rest-go/139:/w/workspace/device-rest-go/139:rw,z -v /w/workspace/device-rest-go/139@tmp:/w/workspace/device-rest-go/139@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:arm64 cat [2023-09-27T21:32:26.771Z] $ docker top 672acb9c64e5afd2305d731a769c1e5af79560763a89c0c877e6eedb938566fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:32:27.598Z] ---> job-cost.sh [2023-09-27T21:32:27.599Z] lf-activate-venv: SKIPPING [2023-09-27T21:32:27.599Z] INFO: No Stack... [2023-09-27T21:32:27.865Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T21:32:28.817Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T21:32:29.130Z] + cat /w/workspace/device-rest-go/139/archives/cost.csv [2023-09-27T21:32:29.130Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T21:32:29.450Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [2023-09-27T21:32:29.456Z] Resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] did not exist. Created. [2023-09-27T21:32:29.456Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T21:32:29.783Z] /w/workspace/device-rest-go/139@tmp/durable-2b2c9684/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T21:32:30.178Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T21:32:30.210Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T21:32:30.266Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T21:32:30.274Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T21:32:30.291Z] $ docker stop --time=1 672acb9c64e5afd2305d731a769c1e5af79560763a89c0c877e6eedb938566fa [2023-09-27T21:32:31.770Z] $ docker rm -f --volumes 672acb9c64e5afd2305d731a769c1e5af79560763a89c0c877e6eedb938566fa [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-27T21:32:32.176Z] provisioning config files... [2023-09-27T21:32:32.183Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8835993914299704461tmp [Pipeline] { [Pipeline] sh [2023-09-27T21:32:32.471Z] + set +x [2023-09-27T21:32:32.471Z] + curl -s https://codecov.io/bash [2023-09-27T21:32:32.471Z] + bash -s -- [2023-09-27T21:32:32.471Z] [2023-09-27T21:32:32.471Z] _____ _ [2023-09-27T21:32:32.471Z] / ____| | | [2023-09-27T21:32:32.471Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T21:32:32.471Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T21:32:32.471Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T21:32:32.471Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T21:32:32.471Z] Bash-1.0.6 [2023-09-27T21:32:32.471Z] [2023-09-27T21:32:32.471Z] [2023-09-27T21:32:32.471Z] ==> git version 2.25.1 found [2023-09-27T21:32:32.471Z] ==> 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-27T21:32:32.471Z] Release-Date: 2020-01-08 [2023-09-27T21:32:32.471Z] 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-27T21:32:32.471Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T21:32:32.471Z] ==> Jenkins CI detected. [2023-09-27T21:32:32.471Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-27T21:32:32.471Z] project root: . [2023-09-27T21:32:32.471Z] --> token set from env [2023-09-27T21:32:32.471Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T21:32:32.471Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T21:32:32.471Z] ==> Python coveragepy not found [2023-09-27T21:32:32.471Z] ==> Searching for coverage reports in: [2023-09-27T21:32:32.471Z] + . [2023-09-27T21:32:32.730Z] -> Found 1 reports [2023-09-27T21:32:32.730Z] ==> Detecting git/mercurial file structure [2023-09-27T21:32:32.730Z] ==> Reading reports [2023-09-27T21:32:32.730Z] + ./coverage.out bytes=14499 [2023-09-27T21:32:32.730Z] ==> Appending adjustments [2023-09-27T21:32:32.730Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T21:32:32.730Z] + Found adjustments [2023-09-27T21:32:32.730Z] ==> Gzipping contents [2023-09-27T21:32:32.730Z] 4.0K /tmp/codecov.hQ9DtY.gz [2023-09-27T21:32:32.730Z] ==> Uploading reports [2023-09-27T21:32:32.730Z] url: https://codecov.io [2023-09-27T21:32:32.730Z] query: branch=main&commit=d5c17b765e654ed444623cbfa16304672a2cc7d9&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T21:32:32.730Z] -> Pinging Codecov [2023-09-27T21:32:32.730Z] 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=d5c17b765e654ed444623cbfa16304672a2cc7d9&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T21:32:32.730Z] -> Uploading to [2023-09-27T21:32:32.730Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/4E5D53B4F1F92C436F7061BF334D961C/d5c17b765e654ed444623cbfa16304672a2cc7d9/bf1fe398-40c2-4d32-8460-6edbc75f0335.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T213232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e568393efac21a0fd5071aa747e981431d5f20272bc721dcc92b3355c3d6081 [2023-09-27T21:32:32.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T21:32:32.730Z] Dload Upload Total Spent Left Speed [2023-09-27T21:32:32.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10093 --:--:-- --:--:-- --:--:-- 10093 [2023-09-27T21:32:32.989Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] } [2023-09-27T21:32:32.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-27T21:32:33.205Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-27T21:32:33.217Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:32:33.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T21:32:33.520Z] [2023-09-27T21:32:33.520Z] 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-27T21:32:33.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T21:32:33.826Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-27T21:32:33.826Z] df9b9388f04a: Pulling fs layer [2023-09-27T21:32:33.826Z] 52dc419b0ee2: Pulling fs layer [2023-09-27T21:32:33.826Z] 25bc292e5bac: Pulling fs layer [2023-09-27T21:32:33.826Z] 114826534d7a: Pulling fs layer [2023-09-27T21:32:33.826Z] 4657fd5d0bcf: Pulling fs layer [2023-09-27T21:32:33.826Z] 6ad1cebc031e: Pulling fs layer [2023-09-27T21:32:33.826Z] 8a3aa393b2d8: Pulling fs layer [2023-09-27T21:32:33.826Z] 4657fd5d0bcf: Waiting [2023-09-27T21:32:33.826Z] 6ad1cebc031e: Waiting [2023-09-27T21:32:33.826Z] 8a3aa393b2d8: Waiting [2023-09-27T21:32:33.826Z] 114826534d7a: Waiting [2023-09-27T21:32:33.826Z] 25bc292e5bac: Verifying Checksum [2023-09-27T21:32:33.826Z] 25bc292e5bac: Download complete [2023-09-27T21:32:33.826Z] 52dc419b0ee2: Verifying Checksum [2023-09-27T21:32:33.826Z] 52dc419b0ee2: Download complete [2023-09-27T21:32:33.826Z] 4657fd5d0bcf: Download complete [2023-09-27T21:32:33.826Z] df9b9388f04a: Download complete [2023-09-27T21:32:34.084Z] df9b9388f04a: Pull complete [2023-09-27T21:32:34.084Z] 6ad1cebc031e: Verifying Checksum [2023-09-27T21:32:34.084Z] 6ad1cebc031e: Download complete [2023-09-27T21:32:34.084Z] 52dc419b0ee2: Pull complete [2023-09-27T21:32:34.084Z] 25bc292e5bac: Pull complete [2023-09-27T21:32:34.660Z] 114826534d7a: Verifying Checksum [2023-09-27T21:32:34.660Z] 114826534d7a: Download complete [2023-09-27T21:32:34.918Z] 8a3aa393b2d8: Verifying Checksum [2023-09-27T21:32:34.918Z] 8a3aa393b2d8: Download complete [2023-09-27T21:32:38.193Z] 114826534d7a: Pull complete [2023-09-27T21:32:38.193Z] 4657fd5d0bcf: Pull complete [2023-09-27T21:32:38.194Z] 6ad1cebc031e: Pull complete [2023-09-27T21:32:40.720Z] 8a3aa393b2d8: Pull complete [2023-09-27T21:32:40.720Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-27T21:32:40.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T21:32:40.720Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:32:40.807Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:32:40.843Z] $ 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-27T21:32:45.364Z] $ docker top 842896aa68d807ee01a7e0baafd09a4299fa95b43dc841369bb2cc4c5434b800 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-27T21:32:45.423Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-27T21:32:45.699Z] + set -o pipefail [2023-09-27T21:32:45.699Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-27T21:32:55.668Z] [2023-09-27T21:32:55.668Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-27T21:32:55.668Z] [2023-09-27T21:32:55.668Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/9e7656cb-2021-4145-a95d-fe76d92a3ad3 [2023-09-27T21:32:55.668Z] [2023-09-27T21:32:55.668Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-27T21:32:55.668Z] [2023-09-27T21:32:55.668Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-27T21:32:55.668Z] [2023-09-27T21:32:57.045Z] [2023-09-27T21:32:57.045Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-27T21:32:57.045Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-27T21:32:57.045Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-27T21:32:57.058Z] $ docker stop --time=1 842896aa68d807ee01a7e0baafd09a4299fa95b43dc841369bb2cc4c5434b800 [2023-09-27T21:33:00.682Z] $ docker rm -f --volumes 842896aa68d807ee01a7e0baafd09a4299fa95b43dc841369bb2cc4c5434b800 [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-27T21:33:01.359Z] + git log --format=format:%s -1 d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] sh [2023-09-27T21:33:01.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T21:33:01.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:33:01.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T21:33:01.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:33:02.004Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:33:02.032Z] $ 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-27T21:33:02.436Z] $ docker top 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 -eo pid,comm [2023-09-27T21:33:02.475Z] 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-27T21:33:02.475Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T21:33:02.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T21:33:02.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T21:33:02.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T21:33:02.619Z] $ docker exec 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 ssh-agent [2023-09-27T21:33:02.720Z] SSH_AUTH_SOCK=/tmp/ssh-s8UhfWuRZO8i/agent.32 [2023-09-27T21:33:02.721Z] SSH_AGENT_PID=38 [2023-09-27T21:33:02.725Z] Running ssh-add (command line suppressed) [2023-09-27T21:33:02.823Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10003210077306557190.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10003210077306557190.key) [2023-09-27T21:33:02.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T21:33:03.117Z] + git semver tag [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,291 [run_tag] DEBUG tag force:False [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,291 [check_head_tag] DEBUG check head tag [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,292 [execute] INFO git cat-file --batch-check [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,296 [execute] INFO git cat-file --batch [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,308 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,308 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-27T21:33:03.376Z] 2023-09-27 21:33:03,312 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:03.376Z] 3.1.0-dev.19 [Pipeline] } [2023-09-27T21:33:03.387Z] $ docker exec --env ******** --env ******** 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 ssh-agent -k [2023-09-27T21:33:03.480Z] unset SSH_AUTH_SOCK; [2023-09-27T21:33:03.480Z] unset SSH_AGENT_PID; [2023-09-27T21:33:03.480Z] echo Agent pid 38 killed; [2023-09-27T21:33:03.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T21:33:03.786Z] + git semver [Pipeline] } [2023-09-27T21:33:04.058Z] $ docker stop --time=1 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 [2023-09-27T21:33:05.324Z] $ docker rm -f --volumes 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:33:05.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T21:33:05.717Z] [2023-09-27T21:33:05.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:33:06.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T21:33:06.016Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-27T21:33:06.016Z] ab5ef0e58194: Pulling fs layer [2023-09-27T21:33:06.016Z] 9712f1f96733: Pulling fs layer [2023-09-27T21:33:06.016Z] 63f879dbbcfc: Pulling fs layer [2023-09-27T21:33:06.016Z] 0d9ebad4ef96: Pulling fs layer [2023-09-27T21:33:06.016Z] e9a5061849ea: Pulling fs layer [2023-09-27T21:33:06.016Z] d747dcd14b5f: Pulling fs layer [2023-09-27T21:33:06.016Z] 2de7ff778b66: Pulling fs layer [2023-09-27T21:33:06.016Z] 0d9ebad4ef96: Waiting [2023-09-27T21:33:06.016Z] e9a5061849ea: Waiting [2023-09-27T21:33:06.016Z] d747dcd14b5f: Waiting [2023-09-27T21:33:06.016Z] 2de7ff778b66: Waiting [2023-09-27T21:33:06.016Z] 9712f1f96733: Verifying Checksum [2023-09-27T21:33:06.016Z] 9712f1f96733: Download complete [2023-09-27T21:33:06.600Z] 63f879dbbcfc: Verifying Checksum [2023-09-27T21:33:06.600Z] 63f879dbbcfc: Download complete [2023-09-27T21:33:06.600Z] e9a5061849ea: Verifying Checksum [2023-09-27T21:33:06.600Z] e9a5061849ea: Download complete [2023-09-27T21:33:06.600Z] d747dcd14b5f: Download complete [2023-09-27T21:33:06.858Z] 0d9ebad4ef96: Verifying Checksum [2023-09-27T21:33:06.858Z] 0d9ebad4ef96: Download complete [2023-09-27T21:33:06.858Z] ab5ef0e58194: Download complete [2023-09-27T21:33:06.858Z] 2de7ff778b66: Verifying Checksum [2023-09-27T21:33:06.858Z] 2de7ff778b66: Download complete [2023-09-27T21:33:09.386Z] ab5ef0e58194: Pull complete [2023-09-27T21:33:09.386Z] 9712f1f96733: Pull complete [2023-09-27T21:33:09.952Z] 63f879dbbcfc: Pull complete [2023-09-27T21:33:13.238Z] 0d9ebad4ef96: Pull complete [2023-09-27T21:33:13.238Z] e9a5061849ea: Pull complete [2023-09-27T21:33:13.496Z] d747dcd14b5f: Pull complete [2023-09-27T21:33:14.427Z] 2de7ff778b66: Pull complete [2023-09-27T21:33:14.427Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-27T21:33:14.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T21:33:14.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:33:14.493Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:33:14.519Z] $ 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-27T21:33:18.745Z] $ docker top 645c66761de18f587511c9c2b2f134bf994687e6100393fc5b8e399785929674 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-27T21:33:18.817Z] provisioning config files... [2023-09-27T21:33:18.824Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9014160949752313331tmp [2023-09-27T21:33:18.832Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11840562433748292587tmp [2023-09-27T21:33:18.840Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13819620914588018152tmp [Pipeline] { [Pipeline] echo [2023-09-27T21:33:18.855Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:19.137Z] ---> sigul-configuration.sh [2023-09-27T21:33:19.137Z] gpg: directory `/root/.gnupg' created [2023-09-27T21:33:19.137Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-27T21:33:19.137Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-27T21:33:19.137Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-27T21:33:19.137Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-27T21:33:19.137Z] gpg: CAST5 encrypted data [2023-09-27T21:33:19.137Z] gpg: encrypted with 1 passphrase [2023-09-27T21:33:19.137Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-27T21:33:19.419Z] + mkdir /home/jenkins [2023-09-27T21:33:19.419Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-27T21:33:19.704Z] + 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-27T21:33:19.713Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:19.991Z] ---> sigul-install.sh [2023-09-27T21:33:19.991Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-27T21:33:20.282Z] + git tag --list [2023-09-27T21:33:20.282Z] v1.0.0 [2023-09-27T21:33:20.282Z] v1.1.0 [2023-09-27T21:33:20.282Z] v1.1.1 [2023-09-27T21:33:20.282Z] v1.1.2 [2023-09-27T21:33:20.282Z] v1.2.0 [2023-09-27T21:33:20.282Z] v1.2.1 [2023-09-27T21:33:20.282Z] v2.0.0 [2023-09-27T21:33:20.282Z] v2.1.0 [2023-09-27T21:33:20.282Z] v2.1.1 [2023-09-27T21:33:20.282Z] v2.2.0 [2023-09-27T21:33:20.282Z] v2.3.0 [2023-09-27T21:33:20.282Z] v3.0 [2023-09-27T21:33:20.282Z] v3.0.0 [2023-09-27T21:33:20.282Z] v3.1.0-dev.1 [2023-09-27T21:33:20.282Z] v3.1.0-dev.10 [2023-09-27T21:33:20.282Z] v3.1.0-dev.11 [2023-09-27T21:33:20.282Z] v3.1.0-dev.12 [2023-09-27T21:33:20.282Z] v3.1.0-dev.13 [2023-09-27T21:33:20.282Z] v3.1.0-dev.14 [2023-09-27T21:33:20.282Z] v3.1.0-dev.15 [2023-09-27T21:33:20.282Z] v3.1.0-dev.16 [2023-09-27T21:33:20.282Z] v3.1.0-dev.17 [2023-09-27T21:33:20.282Z] v3.1.0-dev.18 [2023-09-27T21:33:20.282Z] v3.1.0-dev.19 [2023-09-27T21:33:20.282Z] v3.1.0-dev.2 [2023-09-27T21:33:20.282Z] v3.1.0-dev.3 [2023-09-27T21:33:20.282Z] v3.1.0-dev.4 [2023-09-27T21:33:20.282Z] v3.1.0-dev.5 [2023-09-27T21:33:20.282Z] v3.1.0-dev.6 [2023-09-27T21:33:20.282Z] v3.1.0-dev.7 [2023-09-27T21:33:20.282Z] v3.1.0-dev.8 [2023-09-27T21:33:20.282Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-27T21:33:20.569Z] + lftools sign git-tag v3.1.0-dev.19 [2023-09-27T21:33:21.136Z] Signing Git tag with Sigul... [2023-09-27T21:33:21.136Z] Signing v3.1.0-dev.19 [Pipeline] echo [2023-09-27T21:33:21.403Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:21.684Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-27T21:33:21.690Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-27T21:33:21.711Z] $ docker stop --time=1 645c66761de18f587511c9c2b2f134bf994687e6100393fc5b8e399785929674 [2023-09-27T21:33:22.947Z] $ docker rm -f --volumes 645c66761de18f587511c9c2b2f134bf994687e6100393fc5b8e399785929674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-27T21:33:23.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T21:33:23.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:33:23.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T21:33:23.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:33:23.742Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:33:23.778Z] $ 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-27T21:33:24.115Z] $ docker top 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d -eo pid,comm [2023-09-27T21:33:24.159Z] 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-27T21:33:24.159Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T21:33:24.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T21:33:24.198Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T21:33:24.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T21:33:24.322Z] $ docker exec 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d ssh-agent [2023-09-27T21:33:24.420Z] SSH_AUTH_SOCK=/tmp/ssh-5axU74oXqSMa/agent.32 [2023-09-27T21:33:24.420Z] SSH_AGENT_PID=38 [2023-09-27T21:33:24.424Z] Running ssh-add (command line suppressed) [2023-09-27T21:33:24.531Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8128004250064831350.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8128004250064831350.key) [2023-09-27T21:33:24.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T21:33:24.831Z] + git semver bump pre [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,996 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,996 [bump_version] DEBUG bumped version:3.1.0-dev.20 [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,996 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,996 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,998 [execute] INFO git cat-file --batch-check [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:24,998 [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-27T21:33:25.089Z] 2023-09-27 21:33:25,003 [execute] INFO git cat-file --batch [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:25,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T21:33:25.089Z] 2023-09-27 21:33:25,007 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:25.089Z] 3.1.0-dev.20 [Pipeline] } [2023-09-27T21:33:25.099Z] $ docker exec --env ******** --env ******** 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d ssh-agent -k [2023-09-27T21:33:25.206Z] unset SSH_AUTH_SOCK; [2023-09-27T21:33:25.206Z] unset SSH_AGENT_PID; [2023-09-27T21:33:25.206Z] echo Agent pid 38 killed; [2023-09-27T21:33:25.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T21:33:25.521Z] + git semver [Pipeline] } [2023-09-27T21:33:25.794Z] $ docker stop --time=1 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d [2023-09-27T21:33:27.044Z] $ docker rm -f --volumes 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T21:33:27.387Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T21:33:27.387Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:33:27.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T21:33:27.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:33:27.754Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:33:27.785Z] $ 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-27T21:33:28.108Z] $ docker top 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 -eo pid,comm [2023-09-27T21:33:28.150Z] 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-27T21:33:28.150Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T21:33:28.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T21:33:28.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T21:33:28.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T21:33:28.294Z] $ docker exec 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 ssh-agent [2023-09-27T21:33:28.388Z] SSH_AUTH_SOCK=/tmp/ssh-I0SLcBd6otHk/agent.32 [2023-09-27T21:33:28.388Z] SSH_AGENT_PID=38 [2023-09-27T21:33:28.393Z] Running ssh-add (command line suppressed) [2023-09-27T21:33:28.495Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15472660059827134402.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15472660059827134402.key) [2023-09-27T21:33:28.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T21:33:28.791Z] + git semver push [2023-09-27T21:33:29.050Z] 2023-09-27 21:33:28,971 [run_push] DEBUG push [2023-09-27T21:33:29.050Z] 2023-09-27 21:33:28,972 [execute] INFO git cat-file --batch-check [2023-09-27T21:33:29.050Z] 2023-09-27 21:33:28,972 [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-27T21:33:29.050Z] 2023-09-27 21:33:28,976 [execute] INFO git rev-list 274540c0755a8aaa70ea81b992f774b6d3f49fea -- [2023-09-27T21:33:29.050Z] 2023-09-27 21:33:28,976 [execute] DEBUG Popen(['git', 'rev-list', '274540c0755a8aaa70ea81b992f774b6d3f49fea', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-27T21:33:29.050Z] 2023-09-27 21:33:28,984 [execute] INFO git fetch -v origin [2023-09-27T21:33:29.050Z] 2023-09-27 21:33:28,985 [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-27T21:33:29.616Z] 2023-09-27 21:33:29,507 [run_push] DEBUG no remote changes detected [2023-09-27T21:33:29.616Z] 2023-09-27 21:33:29,508 [execute] INFO git push origin semver [2023-09-27T21:33:29.616Z] 2023-09-27 21:33:29,508 [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-27T21:33:30.555Z] 2023-09-27 21:33:30,292 [run_push] DEBUG push all version tags [2023-09-27T21:33:30.555Z] 2023-09-27 21:33:30,293 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-27T21:33:30.555Z] 2023-09-27 21:33:30,293 [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-27T21:33:31.495Z] 2023-09-27 21:33:31,405 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-27T21:33:31.495Z] 3.1.0-dev.20 [Pipeline] } [2023-09-27T21:33:31.508Z] $ docker exec --env ******** --env ******** 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 ssh-agent -k [2023-09-27T21:33:31.607Z] unset SSH_AUTH_SOCK; [2023-09-27T21:33:31.607Z] unset SSH_AGENT_PID; [2023-09-27T21:33:31.608Z] echo Agent pid 38 killed; [2023-09-27T21:33:31.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T21:33:31.924Z] + git semver [Pipeline] } [2023-09-27T21:33:32.197Z] $ docker stop --time=1 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 [2023-09-27T21:33:33.467Z] $ docker rm -f --volumes 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 [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-27T21:33:34.050Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-27T21:33:34.050Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-27T21:33:34.050Z] total 16 [2023-09-27T21:33:34.050Z] drwxr-xr-x 3 root root 4096 Sep 27 21:25 . [2023-09-27T21:33:34.050Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:33 .. [2023-09-27T21:33:34.051Z] drwxr-xr-x 2 root root 4096 Sep 27 21:25 cost [2023-09-27T21:33:34.051Z] -rw-r--r-- 1 root root 86 Sep 27 21:25 cost.csv [2023-09-27T21:33:34.051Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-27T21:33:34.051Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-27T21:33:34.051Z] total 16 [2023-09-27T21:33:34.051Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:25 . [2023-09-27T21:33:34.051Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:33 .. [2023-09-27T21:33:34.051Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:25 cost [2023-09-27T21:33:34.051Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 21:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:34.340Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:35.194Z] ---> package-listing.sh [2023-09-27T21:33:35.194Z] ++ facter osfamily [2023-09-27T21:33:35.194Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T21:33:35.453Z] + OS_FAMILY=debian [2023-09-27T21:33:35.453Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-27T21:33:35.453Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T21:33:35.453Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T21:33:35.453Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T21:33:35.453Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T21:33:35.453Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-27T21:33:35.453Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T21:33:35.453Z] + case "${OS_FAMILY}" in [2023-09-27T21:33:35.453Z] + dpkg -l [2023-09-27T21:33:35.453Z] + grep '^ii' [2023-09-27T21:33:35.453Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T21:33:35.453Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T21:33:35.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T21:33:35.453Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-27T21:33:35.453Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-27T21:33:35.453Z] + 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-27T21:33:35.464Z] 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-27T21:33:35.830Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T21:33:36.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T21:33:36.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T21:33:36.291Z] prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container [2023-09-27T21:33:36.324Z] $ 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-27T21:33:36.517Z] $ docker top df771be344d312f6c025ff6672b4fb4ba9afe08e897b89fab82ccca6d6639a45 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T21:33:36.845Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T21:33:37.129Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T21:33:37.414Z] + ls /var/log/sa-host [2023-09-27T21:33:37.414Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T21:33:37.563Z] provisioning config files... [2023-09-27T21:33:37.573Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4513548084421782089tmp [Pipeline] { [Pipeline] echo [2023-09-27T21:33:37.585Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:37.867Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T21:33:37.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:38.196Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T21:33:38.203Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:38.485Z] ---> sudo-logs.sh [2023-09-27T21:33:38.485Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T21:33:38.517Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:38.798Z] ---> job-cost.sh [2023-09-27T21:33:38.798Z] lf-activate-venv: SKIPPING [2023-09-27T21:33:38.798Z] DEBUG: total: 0.2199999988079071 [2023-09-27T21:33:38.798Z] INFO: Retrieving Stack Cost... [2023-09-27T21:33:39.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T21:33:39.624Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T21:33:39.635Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T21:33:39.918Z] ---> logs-deploy.sh [2023-09-27T21:33:39.918Z] lf-activate-venv: SKIPPING [2023-09-27T21:33:39.918Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/139 [2023-09-27T21:33:39.918Z] INFO: archiving workspace using pattern(s): [2023-09-27T21:33:41.822Z] Archives upload complete. [2023-09-27T21:33:41.822Z] INFO: archiving logs to Nexus