Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 674470f415deb016340950c491e0ea2a8bbe0e0c 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-ssh17736045593394628561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh6145051071269937276.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12987436384416385339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6154795110699562448.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh7681805417027836323.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4917231663631646096.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-596 in /w/workspace/exfoundry_device-rest-go_jakarta [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/exfoundry_device-rest-go_jakarta # 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 674470f415deb016340950c491e0ea2a8bbe0e0c (jakarta) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 Commit message: "Merge pull request #193 from lenny-intel/update-sdk-for-2.1.1-patch" > git rev-list --no-walk e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T22:50:42.529Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T22:50:42.582Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T22:50:42.600Z] ========================================================= [2022-06-01T22:50:42.600Z] EdgeX Global Pipelines Version Info [2022-06-01T22:50:42.600Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:50:43.387Z] ------------------- [2022-06-01T22:50:43.387Z] stable info: [2022-06-01T22:50:43.387Z] ------------------- [2022-06-01T22:50:43.387Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T22:50:43.387Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T22:50:43.387Z] Message: update stable to v1.0.230 [2022-06-01T22:50:43.965Z] ------------------- [2022-06-01T22:50:43.965Z] experimental info: [2022-06-01T22:50:43.965Z] ------------------- [2022-06-01T22:50:43.965Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T22:50:43.965Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T22:50:43.965Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T22:50:44.198Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-01T22:50:44.214Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-01T22:50:44.226Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T22:50:44.238Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T22:50:44.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T22:50:44.262Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T22:50:44.273Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T22:50:44.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T22:50:44.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T22:50:44.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T22:50:44.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T22:50:44.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-01T22:50:44.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T22:50:44.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T22:50:44.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T22:50:44.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T22:50:44.401Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T22:50:44.415Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T22:50:44.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T22:50:44.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T22:50:44.456Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T22:50:44.468Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T22:50:44.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T22:50:44.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T22:50:44.505Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T22:50:44.519Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T22:50:44.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-06-01T22:50:44.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-06-01T22:50:44.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-06-01T22:50:44.571Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo [2022-06-01T22:50:44.586Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 674470f [Pipeline] echo [2022-06-01T22:50:44.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:50:44.641Z] provisioning config files... [2022-06-01T22:50:44.656Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config6808962501499521630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:50:44.959Z] ---> docker-login.sh [2022-06-01T22:50:44.959Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:50:45.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:50:45.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:50:45.487Z] Configure a credential helper to remove this warning. See [2022-06-01T22:50:45.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:50:45.487Z] [2022-06-01T22:50:45.487Z] Login Succeeded [2022-06-01T22:50:45.487Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:50:45.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:50:45.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:50:45.487Z] Configure a credential helper to remove this warning. See [2022-06-01T22:50:45.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:50:45.487Z] [2022-06-01T22:50:45.487Z] Login Succeeded [2022-06-01T22:50:45.487Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:50:45.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:50:45.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:50:45.750Z] Configure a credential helper to remove this warning. See [2022-06-01T22:50:45.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:50:45.750Z] [2022-06-01T22:50:45.750Z] Login Succeeded [2022-06-01T22:50:45.750Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:50:45.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:50:45.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:50:45.750Z] Configure a credential helper to remove this warning. See [2022-06-01T22:50:45.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:50:45.750Z] [2022-06-01T22:50:45.750Z] Login Succeeded [2022-06-01T22:50:45.750Z] docker.io [2022-06-01T22:50:46.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:50:46.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:50:46.274Z] Configure a credential helper to remove this warning. See [2022-06-01T22:50:46.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:50:46.274Z] [2022-06-01T22:50:46.274Z] Login Succeeded [2022-06-01T22:50:46.274Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:50:46.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T22:50:46.674Z] + git rev-list -1 --merges 674470f415deb016340950c491e0ea2a8bbe0e0c~1..674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo [2022-06-01T22:50:46.712Z] -----------> git rev-list -1 --merges 674470f415deb016340950c491e0ea2a8bbe0e0c~1..674470f415deb016340950c491e0ea2a8bbe0e0c 674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:50:46.712Z] 674470f415deb016340950c491e0ea2a8bbe0e0c [false] [Pipeline] sh [2022-06-01T22:50:47.014Z] + git log --format=format:%s -1 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo [2022-06-01T22:50:47.032Z] ========================================================= [2022-06-01T22:50:47.032Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T22:50:47.032Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T22:50:47.373Z] + git log --format=format:%s -1 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo [2022-06-01T22:50:47.384Z] [semverPrep] GIT_COMMIT: 674470f415deb016340950c491e0ea2a8bbe0e0c, Commit Message: Merge pull request #193 from lenny-intel/update-sdk-for-2.1.1-patch [Pipeline] echo [2022-06-01T22:50:47.395Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T22:50:47.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T22:50:47.761Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T22:50:47.761Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T22:50:47.761Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T22:50:47.761Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T22:50:47.761Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T22:50:47.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:50:48.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:50:48.187Z] [2022-06-01T22:50:48.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:50:48.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:50:48.494Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T22:50:48.494Z] 1fe172e4850f: Pulling fs layer [2022-06-01T22:50:48.494Z] caf521ccaac6: Pulling fs layer [2022-06-01T22:50:48.494Z] 3ead6fa29328: Pulling fs layer [2022-06-01T22:50:48.494Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T22:50:48.494Z] a8d5f1318db7: Pulling fs layer [2022-06-01T22:50:48.494Z] c427282e49a2: Pulling fs layer [2022-06-01T22:50:48.494Z] 1827001aaf11: Pulling fs layer [2022-06-01T22:50:48.494Z] 0714d37db230: Pulling fs layer [2022-06-01T22:50:48.494Z] ac28cf19c067: Pulling fs layer [2022-06-01T22:50:48.494Z] ca983d60f3e2: Pulling fs layer [2022-06-01T22:50:48.494Z] 9f894cec8388: Pulling fs layer [2022-06-01T22:50:48.494Z] 1827001aaf11: Waiting [2022-06-01T22:50:48.494Z] 0714d37db230: Waiting [2022-06-01T22:50:48.494Z] a8d5f1318db7: Waiting [2022-06-01T22:50:48.494Z] ac28cf19c067: Waiting [2022-06-01T22:50:48.494Z] ca983d60f3e2: Waiting [2022-06-01T22:50:48.494Z] 9f894cec8388: Waiting [2022-06-01T22:50:48.494Z] c427282e49a2: Waiting [2022-06-01T22:50:48.494Z] 5c2a1cbceb83: Waiting [2022-06-01T22:50:48.494Z] caf521ccaac6: Download complete [2022-06-01T22:50:48.494Z] 5c2a1cbceb83: Verifying Checksum [2022-06-01T22:50:48.494Z] 5c2a1cbceb83: Download complete [2022-06-01T22:50:48.755Z] a8d5f1318db7: Verifying Checksum [2022-06-01T22:50:48.755Z] a8d5f1318db7: Download complete [2022-06-01T22:50:48.755Z] c427282e49a2: Download complete [2022-06-01T22:50:48.755Z] 3ead6fa29328: Verifying Checksum [2022-06-01T22:50:48.755Z] 3ead6fa29328: Download complete [2022-06-01T22:50:48.755Z] 0714d37db230: Verifying Checksum [2022-06-01T22:50:48.755Z] 0714d37db230: Download complete [2022-06-01T22:50:48.755Z] ac28cf19c067: Download complete [2022-06-01T22:50:48.755Z] ca983d60f3e2: Verifying Checksum [2022-06-01T22:50:48.755Z] ca983d60f3e2: Download complete [2022-06-01T22:50:48.755Z] 9f894cec8388: Verifying Checksum [2022-06-01T22:50:48.755Z] 9f894cec8388: Download complete [2022-06-01T22:50:48.755Z] 1fe172e4850f: Verifying Checksum [2022-06-01T22:50:48.755Z] 1fe172e4850f: Download complete [2022-06-01T22:50:49.014Z] 1827001aaf11: Verifying Checksum [2022-06-01T22:50:49.014Z] 1827001aaf11: Download complete [2022-06-01T22:50:50.395Z] 1fe172e4850f: Pull complete [2022-06-01T22:50:50.395Z] caf521ccaac6: Pull complete [2022-06-01T22:50:50.656Z] 3ead6fa29328: Pull complete [2022-06-01T22:50:50.656Z] 5c2a1cbceb83: Pull complete [2022-06-01T22:50:51.229Z] a8d5f1318db7: Pull complete [2022-06-01T22:50:51.229Z] c427282e49a2: Pull complete [2022-06-01T22:50:53.138Z] 1827001aaf11: Pull complete [2022-06-01T22:50:53.138Z] 0714d37db230: Pull complete [2022-06-01T22:50:53.138Z] ac28cf19c067: Pull complete [2022-06-01T22:50:53.398Z] ca983d60f3e2: Pull complete [2022-06-01T22:50:53.398Z] 9f894cec8388: Pull complete [2022-06-01T22:50:53.398Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T22:50:53.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:50:53.398Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:50:53.508Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:50:53.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T22:50:55.669Z] $ docker top 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 -eo pid,comm [2022-06-01T22:50:55.742Z] 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). [2022-06-01T22:50:55.742Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T22:50:55.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:50:55.774Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:50:55.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:50:55.942Z] $ docker exec 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent [2022-06-01T22:50:56.075Z] SSH_AUTH_SOCK=/tmp/ssh-a9hySTqgCZ0Z/agent.34 [2022-06-01T22:50:56.075Z] SSH_AGENT_PID=40 [2022-06-01T22:50:56.080Z] Running ssh-add (command line suppressed) [2022-06-01T22:50:56.205Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7518328065492445759.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7518328065492445759.key) [2022-06-01T22:50:56.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:50:56.507Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T22:50:56.535Z] $ docker exec --env ******** --env ******** 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent -k [2022-06-01T22:50:56.643Z] unset SSH_AUTH_SOCK; [2022-06-01T22:50:56.644Z] unset SSH_AGENT_PID; [2022-06-01T22:50:56.644Z] echo Agent pid 40 killed; [2022-06-01T22:50:56.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T22:50:56.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:50:56.673Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:50:56.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:50:56.805Z] $ docker exec 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent [2022-06-01T22:50:56.911Z] SSH_AUTH_SOCK=/tmp/ssh-ADztpmiU7wlt/agent.73 [2022-06-01T22:50:56.911Z] SSH_AGENT_PID=79 [2022-06-01T22:50:56.916Z] Running ssh-add (command line suppressed) [2022-06-01T22:50:57.038Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2178475113183761203.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2178475113183761203.key) [2022-06-01T22:50:57.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:50:57.335Z] + git semver init [2022-06-01T22:50:57.596Z] 2022-06-01 22:50:57,562 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T22:50:57.596Z] 2022-06-01 22:50:57,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-01T22:50:57.596Z] 2022-06-01 22:50:57,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-01T22:50:57.596Z] 2022-06-01 22:50:57,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/exfoundry_device-rest-go_jakarta/.semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-01T22:50:58.978Z] 2022-06-01 22:50:58,563 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude [2022-06-01T22:50:58.978Z] 2022-06-01 22:50:58,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False [2022-06-01T22:50:58.978Z] 2022-06-01 22:50:58,563 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:50:58.978Z] 2022-06-01 22:50:58,563 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:50:58.978Z] 2.1.1-dev.1 [Pipeline] } [2022-06-01T22:50:58.995Z] $ docker exec --env ******** --env ******** 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent -k [2022-06-01T22:50:59.099Z] unset SSH_AUTH_SOCK; [2022-06-01T22:50:59.100Z] unset SSH_AGENT_PID; [2022-06-01T22:50:59.100Z] echo Agent pid 79 killed; [2022-06-01T22:50:59.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T22:50:59.417Z] + git semver [Pipeline] } [2022-06-01T22:50:59.701Z] $ docker stop --time=1 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 [2022-06-01T22:51:01.067Z] $ docker rm -f 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:51:01.407Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T22:51:01.654Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T22:51:01.657Z] [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [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 [2022-06-01T22:51:01.759Z] provisioning config files... [2022-06-01T22:51:01.770Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7452731149312321224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:51:02.069Z] ---> docker-login.sh [2022-06-01T22:51:02.069Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:51:02.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:02.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:02.069Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:02.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:02.069Z] [2022-06-01T22:51:02.069Z] Login Succeeded [2022-06-01T22:51:02.069Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:51:02.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:02.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:02.329Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:02.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:02.329Z] [2022-06-01T22:51:02.329Z] Login Succeeded [2022-06-01T22:51:02.329Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:51:02.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:02.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:02.329Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:02.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:02.329Z] [2022-06-01T22:51:02.329Z] Login Succeeded [2022-06-01T22:51:02.329Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:51:02.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:02.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:02.589Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:02.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:02.589Z] [2022-06-01T22:51:02.589Z] Login Succeeded [2022-06-01T22:51:02.589Z] docker.io [2022-06-01T22:51:02.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:02.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:02.850Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:02.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:02.850Z] [2022-06-01T22:51:02.850Z] Login Succeeded [2022-06-01T22:51:02.850Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:51:02.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T22:51:02.917Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T22:51:02.925Z] ========================================================= [2022-06-01T22:51:02.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-06-01T22:51:02.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:51:03.238Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-01T22:51:03.498Z] Sending build context to Docker daemon 21.63MB [2022-06-01T22:51:03.498Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:51:03.498Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-01T22:51:03.498Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-01T22:51:03.498Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T22:51:03.498Z] 666ba61612fd: Pulling fs layer [2022-06-01T22:51:03.498Z] 8ed8ca486205: Pulling fs layer [2022-06-01T22:51:03.498Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T22:51:03.498Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T22:51:03.498Z] 812f408151ee: Pulling fs layer [2022-06-01T22:51:03.498Z] bab7bd504b26: Pulling fs layer [2022-06-01T22:51:03.498Z] 070449caade9: Pulling fs layer [2022-06-01T22:51:03.498Z] 8f1a5288e3a6: Pulling fs layer [2022-06-01T22:51:03.498Z] 4fe6c5a15a65: Waiting [2022-06-01T22:51:03.498Z] 22a0e8bec74d: Waiting [2022-06-01T22:51:03.498Z] 812f408151ee: Waiting [2022-06-01T22:51:03.498Z] 8f1a5288e3a6: Waiting [2022-06-01T22:51:03.498Z] bab7bd504b26: Waiting [2022-06-01T22:51:03.498Z] 070449caade9: Waiting [2022-06-01T22:51:03.498Z] 8ed8ca486205: Verifying Checksum [2022-06-01T22:51:03.498Z] 8ed8ca486205: Download complete [2022-06-01T22:51:03.498Z] 666ba61612fd: Verifying Checksum [2022-06-01T22:51:03.498Z] 666ba61612fd: Download complete [2022-06-01T22:51:03.498Z] 22a0e8bec74d: Verifying Checksum [2022-06-01T22:51:03.498Z] 22a0e8bec74d: Download complete [2022-06-01T22:51:03.498Z] 812f408151ee: Verifying Checksum [2022-06-01T22:51:03.498Z] 812f408151ee: Download complete [2022-06-01T22:51:03.498Z] bab7bd504b26: Verifying Checksum [2022-06-01T22:51:03.498Z] bab7bd504b26: Download complete [2022-06-01T22:51:03.498Z] 59bf1c3509f3: Verifying Checksum [2022-06-01T22:51:03.498Z] 59bf1c3509f3: Download complete [2022-06-01T22:51:03.756Z] 070449caade9: Verifying Checksum [2022-06-01T22:51:03.756Z] 070449caade9: Download complete [2022-06-01T22:51:03.756Z] 59bf1c3509f3: Pull complete [2022-06-01T22:51:03.756Z] 666ba61612fd: Pull complete [2022-06-01T22:51:04.014Z] 8ed8ca486205: Pull complete [2022-06-01T22:51:04.272Z] 8f1a5288e3a6: Verifying Checksum [2022-06-01T22:51:04.272Z] 8f1a5288e3a6: Download complete [2022-06-01T22:51:04.272Z] 4fe6c5a15a65: Verifying Checksum [2022-06-01T22:51:04.272Z] 4fe6c5a15a65: Download complete [2022-06-01T22:51:07.560Z] 4fe6c5a15a65: Pull complete [2022-06-01T22:51:07.560Z] 22a0e8bec74d: Pull complete [2022-06-01T22:51:07.817Z] 812f408151ee: Pull complete [2022-06-01T22:51:07.817Z] bab7bd504b26: Pull complete [2022-06-01T22:51:07.817Z] 070449caade9: Pull complete [2022-06-01T22:51:10.363Z] 8f1a5288e3a6: Pull complete [2022-06-01T22:51:10.363Z] Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 [2022-06-01T22:51:10.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-06-01T22:51:10.363Z] ---> c47586b81864 [2022-06-01T22:51:10.363Z] Step 3/11 : ARG MAKE='make build' [2022-06-01T22:51:12.922Z] ---> Running in 46359fcff1f2 [2022-06-01T22:51:12.922Z] Removing intermediate container 46359fcff1f2 [2022-06-01T22:51:12.922Z] ---> cb2c2d9d794c [2022-06-01T22:51:12.922Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:51:12.922Z] ---> Running in 518f38d06b3b [2022-06-01T22:51:12.922Z] Removing intermediate container 518f38d06b3b [2022-06-01T22:51:12.922Z] ---> e4c2dec3e371 [2022-06-01T22:51:12.922Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:51:12.922Z] ---> Running in 10bb7125cea6 [2022-06-01T22:51:13.181Z] Removing intermediate container 10bb7125cea6 [2022-06-01T22:51:13.181Z] ---> 7e0a973d50df [2022-06-01T22:51:13.181Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:51:13.181Z] ---> Running in de336455872c [2022-06-01T22:51:13.751Z] Removing intermediate container de336455872c [2022-06-01T22:51:13.751Z] ---> 228c58f50ad7 [2022-06-01T22:51:13.751Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:51:13.751Z] ---> Running in 34c800d48233 [2022-06-01T22:51:14.013Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T22:51:14.957Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T22:51:15.218Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T22:51:15.218Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T22:51:15.479Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T22:51:15.479Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T22:51:15.753Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T22:51:15.753Z] OK: 224 MiB in 56 packages [2022-06-01T22:51:16.014Z] Removing intermediate container 34c800d48233 [2022-06-01T22:51:16.014Z] ---> edddb1ebaef7 [2022-06-01T22:51:16.014Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-01T22:51:16.014Z] ---> Running in e37b447455eb [2022-06-01T22:51:16.274Z] Removing intermediate container e37b447455eb [2022-06-01T22:51:16.274Z] ---> 02088e72def7 [2022-06-01T22:51:16.274Z] Step 9/11 : COPY . . [2022-06-01T22:51:16.734Z] Still waiting to schedule task [2022-06-01T22:51:16.734Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-01T22:51:17.222Z] ---> 9eb600ab3e82 [2022-06-01T22:51:17.222Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:51:17.222Z] ---> Running in 15bd9e7bec5d [2022-06-01T22:51:17.483Z] skipping... [2022-06-01T22:51:18.054Z] Removing intermediate container 15bd9e7bec5d [2022-06-01T22:51:18.054Z] ---> 8a4bfbcac20c [2022-06-01T22:51:18.054Z] Step 11/11 : RUN $MAKE [2022-06-01T22:51:18.054Z] ---> Running in 1a14c68a5acf [2022-06-01T22:51:18.314Z] noop [2022-06-01T22:51:18.575Z] Removing intermediate container 1a14c68a5acf [2022-06-01T22:51:18.575Z] ---> 7b3615d71376 [2022-06-01T22:51:18.575Z] Successfully built 7b3615d71376 [2022-06-01T22:51:18.575Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:51:18.885Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T22:51:18.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:51:18.960Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:51:18.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-06-01T22:51:19.435Z] $ docker top 4b6736eb432ef072416b329690a8ff0778abf9786a3ee4cf8447e5666c299ef0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T22:51:19.797Z] + go version [2022-06-01T22:51:19.797Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T22:51:19.823Z] $ docker stop --time=1 4b6736eb432ef072416b329690a8ff0778abf9786a3ee4cf8447e5666c299ef0 [2022-06-01T22:51:21.179Z] $ docker rm -f 4b6736eb432ef072416b329690a8ff0778abf9786a3ee4cf8447e5666c299ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:51:21.605Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T22:51:21.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:51:21.691Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:51:21.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-06-01T22:51:22.080Z] $ docker top bc380c24e31f5cb2831400356055ed2f7f2acdde9d20b447d9e7c61de41fe031 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:51:22.440Z] + make test [2022-06-01T22:51:22.440Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-01T22:51:22.699Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T22:51:29.267Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T22:51:29.267Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements [2022-06-01T22:51:29.527Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T22:51:32.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T22:51:32.817Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T22:51:32.817Z] ./bin/test-attribution-txt.sh [2022-06-01T22:51:32.817Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 [2022-06-01T22:51:32.817Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 [2022-06-01T22:51:32.817Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T22:51:33.076Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 [2022-06-01T22:51:33.076Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T22:51:33.076Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T22:51:33.076Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-01T22:51:33.076Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-01T22:51:33.076Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T22:51:33.076Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T22:51:33.076Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T22:51:33.076Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T22:51:33.076Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T22:51:33.076Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T22:51:33.076Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T22:51:33.076Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T22:51:33.076Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T22:51:33.076Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-01T22:51:33.076Z] go: downloading golang.org/x/text v0.3.6 [2022-06-01T22:51:33.076Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T22:51:33.076Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T22:51:33.076Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T22:51:33.076Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T22:51:33.337Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T22:51:33.337Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T22:51:33.337Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-01T22:51:33.337Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-01T22:51:33.337Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T22:51:33.337Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T22:51:33.337Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T22:51:33.337Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-01T22:51:34.289Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:51:34.586Z] + go mod tidy [2022-06-01T22:51:34.586Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-01T22:51:34.586Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-01T22:51:34.586Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-01T22:51:34.586Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-01T22:51:34.586Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-01T22:51:34.586Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-01T22:51:34.586Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-01T22:51:34.586Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-01T22:51:34.586Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-01T22:51:34.586Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-01T22:51:34.586Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-01T22:51:34.845Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-01T22:51:34.845Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-01T22:51:34.845Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-01T22:51:34.845Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-01T22:51:34.845Z] go: downloading github.com/kr/text v0.2.0 [2022-06-01T22:51:34.845Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-01T22:51:34.845Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-01T22:51:34.845Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-01T22:51:34.845Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-01T22:51:34.845Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-01T22:51:34.845Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-01T22:51:34.845Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-01T22:51:34.845Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-01T22:51:34.862Z] $ docker stop --time=1 bc380c24e31f5cb2831400356055ed2f7f2acdde9d20b447d9e7c61de41fe031 [2022-06-01T22:51:37.300Z] $ docker rm -f bc380c24e31f5cb2831400356055ed2f7f2acdde9d20b447d9e7c61de41fe031 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:51:37.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T22:51:37.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-01T22:51:38.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T22:51:38.702Z] + ls -al . [2022-06-01T22:51:38.702Z] total 184 [2022-06-01T22:51:38.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 22:51 . [2022-06-01T22:51:38.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:50 .. [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:50 .dockerignore [2022-06-01T22:51:38.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:50 .git [2022-06-01T22:51:38.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:50 .github [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:50 .gitignore [2022-06-01T22:51:38.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:50 .semver [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:50 Attribution.txt [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:50 CHANGELOG.md [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:50 Dockerfile [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:50 GOVERNANCE.md [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:50 Jenkinsfile [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:50 LICENSE [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:50 Makefile [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:50 OWNERS.md [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:50 README.md [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 22:51 VERSION [2022-06-01T22:51:38.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:50 bin [2022-06-01T22:51:38.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:50 cmd [2022-06-01T22:51:38.702Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:51 coverage.out [2022-06-01T22:51:38.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:50 driver [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:51 go.mod [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:50 go.sum [2022-06-01T22:51:38.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:50 snap [2022-06-01T22:51:38.702Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:50 vendor [2022-06-01T22:51:38.702Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:51:39.034Z] + 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=674470f415deb016340950c491e0ea2a8bbe0e0c --label arch=amd64 --label version=2.1.1-dev.1 . [2022-06-01T22:51:39.298Z] Sending build context to Docker daemon 21.64MB [2022-06-01T22:51:39.298Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:51:39.298Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-01T22:51:39.298Z] ---> 7b3615d71376 [2022-06-01T22:51:39.298Z] Step 3/24 : ARG MAKE='make build' [2022-06-01T22:51:39.558Z] ---> Running in 0b65bdeddf28 [2022-06-01T22:51:39.558Z] Removing intermediate container 0b65bdeddf28 [2022-06-01T22:51:39.558Z] ---> 70a87084a3fc [2022-06-01T22:51:39.558Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:51:39.820Z] ---> Running in 7c8c6ad91fb3 [2022-06-01T22:51:39.820Z] Removing intermediate container 7c8c6ad91fb3 [2022-06-01T22:51:39.820Z] ---> 92e5fb35b644 [2022-06-01T22:51:39.820Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:51:39.820Z] ---> Running in 81819ee8da7c [2022-06-01T22:51:39.820Z] Removing intermediate container 81819ee8da7c [2022-06-01T22:51:39.820Z] ---> c441a2afe246 [2022-06-01T22:51:39.820Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:51:40.080Z] ---> Running in 95eefedfda0d [2022-06-01T22:51:40.650Z] Removing intermediate container 95eefedfda0d [2022-06-01T22:51:40.650Z] ---> b2589dc36cbf [2022-06-01T22:51:40.650Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:51:40.650Z] ---> Running in 67c346fac493 [2022-06-01T22:51:40.910Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T22:51:41.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T22:51:42.111Z] OK: 224 MiB in 56 packages [2022-06-01T22:51:42.372Z] Removing intermediate container 67c346fac493 [2022-06-01T22:51:42.373Z] ---> 76d28f941454 [2022-06-01T22:51:42.373Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-01T22:51:42.373Z] ---> Running in 6d0305cbaeef [2022-06-01T22:51:42.631Z] Removing intermediate container 6d0305cbaeef [2022-06-01T22:51:42.631Z] ---> d07d28f818c4 [2022-06-01T22:51:42.631Z] Step 9/24 : COPY . . [2022-06-01T22:51:43.573Z] ---> 82419a86f7f8 [2022-06-01T22:51:43.573Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:51:43.833Z] ---> Running in f3137167ae4b [2022-06-01T22:51:44.096Z] skipping... [2022-06-01T22:51:44.357Z] Removing intermediate container f3137167ae4b [2022-06-01T22:51:44.357Z] ---> b2af9efa4c30 [2022-06-01T22:51:44.357Z] Step 11/24 : RUN $MAKE [2022-06-01T22:51:44.357Z] ---> Running in 976ade76d0e4 [2022-06-01T22:51:44.617Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.1" -o cmd/device-rest ./cmd [2022-06-01T22:51:52.743Z] Removing intermediate container 976ade76d0e4 [2022-06-01T22:51:52.743Z] ---> 6c5006f445c7 [2022-06-01T22:51:52.743Z] Step 12/24 : FROM alpine:3.14 [2022-06-01T22:51:52.743Z] 3.14: Pulling from library/alpine [2022-06-01T22:51:52.743Z] 8663204ce13b: Pulling fs layer [2022-06-01T22:51:52.743Z] 8663204ce13b: Download complete [2022-06-01T22:51:53.002Z] 8663204ce13b: Pull complete [2022-06-01T22:51:53.002Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T22:51:53.002Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T22:51:53.002Z] ---> e04c818066af [2022-06-01T22:51:53.002Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T22:51:53.002Z] ---> Running in 016963ee2028 [2022-06-01T22:51:53.263Z] Removing intermediate container 016963ee2028 [2022-06-01T22:51:53.263Z] ---> d7f59f9c818d [2022-06-01T22:51:53.263Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T22:51:53.263Z] ---> Running in 224c58fba245 [2022-06-01T22:51:53.523Z] Removing intermediate container 224c58fba245 [2022-06-01T22:51:53.523Z] ---> 9754cdd4813e [2022-06-01T22:51:53.523Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T22:51:53.783Z] ---> Running in c2df3f96198d [2022-06-01T22:51:54.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-01T22:51:54.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-01T22:51:54.355Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T22:51:54.355Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T22:51:54.614Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T22:51:54.614Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T22:51:54.614Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T22:51:54.614Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T22:51:54.614Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T22:51:54.614Z] OK: 8 MiB in 20 packages [2022-06-01T22:51:55.218Z] Removing intermediate container c2df3f96198d [2022-06-01T22:51:55.218Z] ---> 59af084a2c20 [2022-06-01T22:51:55.218Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T22:51:55.481Z] ---> 8af8bc12de0a [2022-06-01T22:51:55.481Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T22:51:55.481Z] ---> 4006f28f4951 [2022-06-01T22:51:55.481Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T22:51:55.741Z] ---> 1ce6fe7fd75d [2022-06-01T22:51:55.741Z] Step 19/24 : EXPOSE 59986 [2022-06-01T22:51:55.741Z] ---> Running in 65af5adeb655 [2022-06-01T22:51:55.741Z] Removing intermediate container 65af5adeb655 [2022-06-01T22:51:55.741Z] ---> d6f0df1f421d [2022-06-01T22:51:55.741Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-01T22:51:56.002Z] ---> Running in 17e93490715d [2022-06-01T22:51:56.002Z] Removing intermediate container 17e93490715d [2022-06-01T22:51:56.002Z] ---> 61150b8619c9 [2022-06-01T22:51:56.002Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T22:51:56.002Z] ---> Running in adf580d5cb0a [2022-06-01T22:51:56.263Z] Removing intermediate container adf580d5cb0a [2022-06-01T22:51:56.263Z] ---> 9ac92cf23b00 [2022-06-01T22:51:56.263Z] Step 22/24 : LABEL arch=amd64 [2022-06-01T22:51:56.263Z] ---> Running in 25449886b1a8 [2022-06-01T22:51:56.263Z] Removing intermediate container 25449886b1a8 [2022-06-01T22:51:56.263Z] ---> ebf45b752713 [2022-06-01T22:51:56.263Z] Step 23/24 : LABEL git_sha=674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:51:56.263Z] ---> Running in fe87e99303d8 [2022-06-01T22:51:56.534Z] Removing intermediate container fe87e99303d8 [2022-06-01T22:51:56.534Z] ---> 62c2d28b575b [2022-06-01T22:51:56.534Z] Step 24/24 : LABEL version=2.1.1-dev.1 [2022-06-01T22:51:56.534Z] ---> Running in 1f35fcc737d2 [2022-06-01T22:51:56.534Z] Removing intermediate container 1f35fcc737d2 [2022-06-01T22:51:56.534Z] ---> 34bffaa0c8ae [2022-06-01T22:51:56.534Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T22:51:56.534Z] Successfully built 34bffaa0c8ae [2022-06-01T22:51:56.798Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:51:56.876Z] provisioning config files... [2022-06-01T22:51:56.885Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3750596296462563030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:51:57.179Z] ---> docker-login.sh [2022-06-01T22:51:57.179Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:51:57.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:57.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:57.179Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:57.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:57.179Z] [2022-06-01T22:51:57.179Z] Login Succeeded [2022-06-01T22:51:57.179Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:51:57.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:57.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:57.439Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:57.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:57.439Z] [2022-06-01T22:51:57.439Z] Login Succeeded [2022-06-01T22:51:57.439Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:51:57.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:57.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:57.439Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:57.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:57.439Z] [2022-06-01T22:51:57.439Z] Login Succeeded [2022-06-01T22:51:57.439Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:51:57.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:57.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:57.700Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:57.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:57.700Z] [2022-06-01T22:51:57.700Z] Login Succeeded [2022-06-01T22:51:57.700Z] docker.io [2022-06-01T22:51:57.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:51:57.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:51:57.969Z] Configure a credential helper to remove this warning. See [2022-06-01T22:51:57.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:51:57.969Z] [2022-06-01T22:51:57.969Z] Login Succeeded [2022-06-01T22:51:57.969Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:51:57.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T22:51:58.004Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T22:51:58.024Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-01T22:51:58.024Z] 674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:51:58.024Z] 2.1.1-dev.1 [2022-06-01T22:51:58.024Z] 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [2022-06-01T22:51:58.024Z] jakarta [2022-06-01T22:51:58.024Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:51:58.329Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:51:58.654Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:51:58.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T22:51:58.655Z] c4834198e6bb: Preparing [2022-06-01T22:51:58.655Z] b58e9cbbdadb: Preparing [2022-06-01T22:51:58.655Z] e22206cdc5ee: Preparing [2022-06-01T22:51:58.655Z] d682cb01acbd: Preparing [2022-06-01T22:51:58.655Z] b541d28bf3b4: Preparing [2022-06-01T22:51:58.655Z] b541d28bf3b4: Layer already exists [2022-06-01T22:51:58.655Z] b58e9cbbdadb: Pushed [2022-06-01T22:51:58.655Z] c4834198e6bb: Pushed [2022-06-01T22:51:58.913Z] d682cb01acbd: Pushed [2022-06-01T22:52:00.298Z] e22206cdc5ee: Pushed [2022-06-01T22:52:00.298Z] 674470f415deb016340950c491e0ea2a8bbe0e0c: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:00.621Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:00.934Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.1 [2022-06-01T22:52:00.935Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T22:52:00.935Z] c4834198e6bb: Preparing [2022-06-01T22:52:00.935Z] b58e9cbbdadb: Preparing [2022-06-01T22:52:00.935Z] e22206cdc5ee: Preparing [2022-06-01T22:52:00.935Z] d682cb01acbd: Preparing [2022-06-01T22:52:00.935Z] b541d28bf3b4: Preparing [2022-06-01T22:52:00.935Z] b541d28bf3b4: Layer already exists [2022-06-01T22:52:00.935Z] b58e9cbbdadb: Layer already exists [2022-06-01T22:52:00.935Z] c4834198e6bb: Layer already exists [2022-06-01T22:52:00.935Z] d682cb01acbd: Layer already exists [2022-06-01T22:52:00.935Z] e22206cdc5ee: Layer already exists [2022-06-01T22:52:00.935Z] 2.1.1-dev.1: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:01.245Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:01.555Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [2022-06-01T22:52:01.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T22:52:01.555Z] c4834198e6bb: Preparing [2022-06-01T22:52:01.555Z] b58e9cbbdadb: Preparing [2022-06-01T22:52:01.555Z] e22206cdc5ee: Preparing [2022-06-01T22:52:01.555Z] d682cb01acbd: Preparing [2022-06-01T22:52:01.555Z] b541d28bf3b4: Preparing [2022-06-01T22:52:01.555Z] b58e9cbbdadb: Layer already exists [2022-06-01T22:52:01.555Z] e22206cdc5ee: Layer already exists [2022-06-01T22:52:01.555Z] c4834198e6bb: Layer already exists [2022-06-01T22:52:01.555Z] d682cb01acbd: Layer already exists [2022-06-01T22:52:01.555Z] b541d28bf3b4: Layer already exists [2022-06-01T22:52:01.556Z] 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:01.870Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:02.188Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta [2022-06-01T22:52:02.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T22:52:02.189Z] c4834198e6bb: Preparing [2022-06-01T22:52:02.189Z] b58e9cbbdadb: Preparing [2022-06-01T22:52:02.189Z] e22206cdc5ee: Preparing [2022-06-01T22:52:02.189Z] d682cb01acbd: Preparing [2022-06-01T22:52:02.189Z] b541d28bf3b4: Preparing [2022-06-01T22:52:02.189Z] e22206cdc5ee: Layer already exists [2022-06-01T22:52:02.189Z] b541d28bf3b4: Layer already exists [2022-06-01T22:52:02.189Z] d682cb01acbd: Layer already exists [2022-06-01T22:52:02.189Z] b58e9cbbdadb: Layer already exists [2022-06-01T22:52:02.189Z] c4834198e6bb: Layer already exists [2022-06-01T22:52:02.189Z] jakarta: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T22:52:02.232Z] ===================================================== [Pipeline] echo [2022-06-01T22:52:02.239Z] taggedImages: [2022-06-01T22:52:02.239Z] - nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:52:02.239Z] - nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.1 [2022-06-01T22:52:02.239Z] - nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [2022-06-01T22:52:02.239Z] - nexus3.edgexfoundry.org:10004/device-rest:jakarta [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 [2022-06-01T22:52:02.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:52:02.612Z] [2022-06-01T22:52:02.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:52:02.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:52:02.921Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T22:52:02.921Z] 5eb5b503b376: Pulling fs layer [2022-06-01T22:52:02.921Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T22:52:02.921Z] ec43610c2a17: Pulling fs layer [2022-06-01T22:52:02.921Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T22:52:02.921Z] 33b1e0a273af: Pulling fs layer [2022-06-01T22:52:02.921Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T22:52:02.921Z] 2f39f015ded8: Pulling fs layer [2022-06-01T22:52:02.921Z] 33b1e0a273af: Waiting [2022-06-01T22:52:02.921Z] 5d3b04190fa2: Waiting [2022-06-01T22:52:02.921Z] 2f39f015ded8: Waiting [2022-06-01T22:52:02.921Z] 3a2ae6a8a46f: Waiting [2022-06-01T22:52:02.921Z] 5c69ac0246d0: Verifying Checksum [2022-06-01T22:52:02.921Z] 5c69ac0246d0: Download complete [2022-06-01T22:52:02.921Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-01T22:52:02.921Z] 3a2ae6a8a46f: Download complete [2022-06-01T22:52:03.196Z] 33b1e0a273af: Verifying Checksum [2022-06-01T22:52:03.196Z] 33b1e0a273af: Download complete [2022-06-01T22:52:03.196Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T22:52:03.196Z] 5d3b04190fa2: Download complete [2022-06-01T22:52:03.196Z] ec43610c2a17: Verifying Checksum [2022-06-01T22:52:03.196Z] ec43610c2a17: Download complete [2022-06-01T22:52:03.196Z] 5eb5b503b376: Verifying Checksum [2022-06-01T22:52:03.196Z] 5eb5b503b376: Download complete [2022-06-01T22:52:03.785Z] 2f39f015ded8: Download complete [2022-06-01T22:52:04.360Z] 5eb5b503b376: Pull complete [2022-06-01T22:52:04.620Z] 5c69ac0246d0: Pull complete [2022-06-01T22:52:05.192Z] ec43610c2a17: Pull complete [2022-06-01T22:52:05.192Z] 3a2ae6a8a46f: Pull complete [2022-06-01T22:52:05.452Z] 33b1e0a273af: Pull complete [2022-06-01T22:52:05.452Z] 5d3b04190fa2: Pull complete [2022-06-01T22:52:09.645Z] 2f39f015ded8: Pull complete [2022-06-01T22:52:09.645Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T22:52:09.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:52:09.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:52:09.740Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:52:09.793Z] $ 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/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T22:52:13.824Z] $ docker top 81cd7bc8e8de57ba48fcd64627fa169137de312044db9cf569df06df957ecb2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:52:14.228Z] ---> job-cost.sh [2022-06-01T22:52:14.228Z] lf-activate-venv: SKIPPING [2022-06-01T22:52:14.228Z] INFO: No Stack... [2022-06-01T22:52:14.488Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T22:52:15.061Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T22:52:15.352Z] + cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv [2022-06-01T22:52:15.352Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T22:52:15.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [2022-06-01T22:52:15.371Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] did not exist. Created. [2022-06-01T22:52:15.371Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T22:52:15.677Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T22:52:15.717Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T22:52:15.726Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T22:52:15.753Z] $ docker stop --time=1 81cd7bc8e8de57ba48fcd64627fa169137de312044db9cf569df06df957ecb2b [2022-06-01T22:52:16.928Z] $ docker rm -f 81cd7bc8e8de57ba48fcd64627fa169137de312044db9cf569df06df957ecb2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T22:52:57.215Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-598 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws [2022-06-01T22:52:57.226Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2022-06-01T22:52:57.262Z] The recommended git tool is: git [2022-06-01T22:53:04.056Z] using credential edgex-jenkins-ssh [2022-06-01T22:53:04.079Z] Cloning the remote Git repository [2022-06-01T22:53:04.200Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T22:53:04.316Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2022-06-01T22:53:04.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T22:53:04.456Z] > git --version # timeout=10 [2022-06-01T22:53:04.486Z] > git --version # 'git version 2.25.1' [2022-06-01T22:53:04.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T22:53:04.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T22:53:06.663Z] Avoid second fetch [2022-06-01T22:53:06.663Z] Checking out Revision 674470f415deb016340950c491e0ea2a8bbe0e0c (jakarta) [2022-06-01T22:53:06.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-01T22:53:06.622Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T22:53:06.742Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T22:53:06.761Z] > git checkout -f 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 [2022-06-01T22:53:11.397Z] Commit message: "Merge pull request #193 from lenny-intel/update-sdk-for-2.1.1-patch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T22:53:12.211Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T22:53:12.211Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T22:53:12.211Z] Dload Upload Total Spent Left Speed [2022-06-01T22:53:12.211Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh [2022-06-01T22:53:12.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T22:53:13.229Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-06-01T22:53:13.229Z] sudo tee /etc/docker/daemon.new [2022-06-01T22:53:13.229Z] { [2022-06-01T22:53:13.229Z] "registry-mirrors": [ [2022-06-01T22:53:13.229Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T22:53:13.229Z] ], [2022-06-01T22:53:13.229Z] "bip": "10.250.0.254/24", [2022-06-01T22:53:13.229Z] "hosts": [ [2022-06-01T22:53:13.229Z] "tcp://0.0.0.0:5555", [2022-06-01T22:53:13.229Z] "unix:///var/run/docker.sock" [2022-06-01T22:53:13.229Z] ], [2022-06-01T22:53:13.229Z] "mtu": 1458, [2022-06-01T22:53:13.229Z] "selinux-enabled": true, [2022-06-01T22:53:13.229Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T22:53:13.229Z] } [Pipeline] sh [2022-06-01T22:53:13.587Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T22:53:13.940Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:53:32.352Z] provisioning config files... [2022-06-01T22:53:32.378Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config7684264464730108114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:53:32.746Z] ---> docker-login.sh [2022-06-01T22:53:32.746Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:53:33.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:53:33.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:53:33.622Z] Configure a credential helper to remove this warning. See [2022-06-01T22:53:33.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:53:33.622Z] [2022-06-01T22:53:33.622Z] Login Succeeded [2022-06-01T22:53:33.622Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:53:33.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:53:33.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:53:33.898Z] Configure a credential helper to remove this warning. See [2022-06-01T22:53:33.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:53:33.898Z] [2022-06-01T22:53:33.898Z] Login Succeeded [2022-06-01T22:53:33.898Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:53:34.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:53:34.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:53:34.498Z] Configure a credential helper to remove this warning. See [2022-06-01T22:53:34.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:53:34.498Z] [2022-06-01T22:53:34.498Z] Login Succeeded [2022-06-01T22:53:34.498Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:53:34.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:53:35.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:53:35.060Z] Configure a credential helper to remove this warning. See [2022-06-01T22:53:35.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:53:35.060Z] [2022-06-01T22:53:35.060Z] Login Succeeded [2022-06-01T22:53:35.060Z] docker.io [2022-06-01T22:53:35.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:53:35.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:53:35.605Z] Configure a credential helper to remove this warning. See [2022-06-01T22:53:35.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:53:35.605Z] [2022-06-01T22:53:35.605Z] Login Succeeded [2022-06-01T22:53:35.605Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:53:35.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T22:53:36.150Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T22:53:36.163Z] ========================================================= [2022-06-01T22:53:36.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-06-01T22:53:36.163Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:53:36.547Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-01T22:53:37.528Z] Sending build context to Docker daemon 11.13MB [2022-06-01T22:53:37.801Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:53:37.801Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-01T22:53:37.801Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T22:53:37.801Z] 9b3977197b4f: Pulling fs layer [2022-06-01T22:53:37.801Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T22:53:37.801Z] 94645a83ff95: Pulling fs layer [2022-06-01T22:53:37.801Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T22:53:37.801Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T22:53:37.801Z] 63b1bc5785f6: Pulling fs layer [2022-06-01T22:53:37.801Z] 626d30ff41c6: Pulling fs layer [2022-06-01T22:53:37.801Z] de1d54c125be: Pulling fs layer [2022-06-01T22:53:37.801Z] 3f3a8bcf1eab: Waiting [2022-06-01T22:53:37.801Z] 63b1bc5785f6: Waiting [2022-06-01T22:53:37.801Z] 0c92f367c5e7: Waiting [2022-06-01T22:53:37.801Z] de1d54c125be: Waiting [2022-06-01T22:53:37.801Z] 626d30ff41c6: Waiting [2022-06-01T22:53:37.801Z] 94645a83ff95: Verifying Checksum [2022-06-01T22:53:37.801Z] 94645a83ff95: Download complete [2022-06-01T22:53:38.076Z] 1a89e8eeedd5: Verifying Checksum [2022-06-01T22:53:38.076Z] 1a89e8eeedd5: Download complete [2022-06-01T22:53:38.076Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T22:53:38.076Z] 0c92f367c5e7: Download complete [2022-06-01T22:53:38.076Z] 63b1bc5785f6: Download complete [2022-06-01T22:53:38.076Z] 9b3977197b4f: Download complete [2022-06-01T22:53:38.076Z] 626d30ff41c6: Verifying Checksum [2022-06-01T22:53:38.076Z] 626d30ff41c6: Download complete [2022-06-01T22:53:38.683Z] 9b3977197b4f: Pull complete [2022-06-01T22:53:39.289Z] 1a89e8eeedd5: Pull complete [2022-06-01T22:53:39.572Z] 94645a83ff95: Pull complete [2022-06-01T22:53:40.177Z] de1d54c125be: Verifying Checksum [2022-06-01T22:53:40.177Z] de1d54c125be: Download complete [2022-06-01T22:53:40.777Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T22:53:40.777Z] 3f3a8bcf1eab: Download complete [2022-06-01T22:53:53.206Z] 3f3a8bcf1eab: Pull complete [2022-06-01T22:53:53.206Z] 0c92f367c5e7: Pull complete [2022-06-01T22:53:53.478Z] 63b1bc5785f6: Pull complete [2022-06-01T22:53:53.754Z] 626d30ff41c6: Pull complete [2022-06-01T22:54:00.479Z] de1d54c125be: Pull complete [2022-06-01T22:54:00.479Z] Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 [2022-06-01T22:54:00.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-06-01T22:54:00.479Z] ---> 5f011755c4a2 [2022-06-01T22:54:00.479Z] Step 3/11 : ARG MAKE='make build' [2022-06-01T22:54:01.472Z] ---> Running in 68d18535487c [2022-06-01T22:54:01.472Z] Removing intermediate container 68d18535487c [2022-06-01T22:54:01.472Z] ---> 0945f65a0100 [2022-06-01T22:54:01.472Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:54:01.746Z] ---> Running in 82ce94ead20e [2022-06-01T22:54:02.023Z] Removing intermediate container 82ce94ead20e [2022-06-01T22:54:02.023Z] ---> c6c8e93be544 [2022-06-01T22:54:02.023Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:54:02.023Z] ---> Running in c9fa2f427e92 [2022-06-01T22:54:02.299Z] Removing intermediate container c9fa2f427e92 [2022-06-01T22:54:02.299Z] ---> b232bc23c352 [2022-06-01T22:54:02.299Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:54:02.299Z] ---> Running in fc7d78e9f45e [2022-06-01T22:54:04.287Z] Removing intermediate container fc7d78e9f45e [2022-06-01T22:54:04.287Z] ---> a908c7464a7b [2022-06-01T22:54:04.287Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:54:04.287Z] ---> Running in 6f7d8e3e97c5 [2022-06-01T22:54:05.319Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T22:54:06.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T22:54:06.956Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T22:54:07.231Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T22:54:07.231Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T22:54:07.507Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T22:54:07.507Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T22:54:07.507Z] OK: 224 MiB in 56 packages [2022-06-01T22:54:08.497Z] Removing intermediate container 6f7d8e3e97c5 [2022-06-01T22:54:08.497Z] ---> 5f517976f40d [2022-06-01T22:54:08.497Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-01T22:54:08.786Z] ---> Running in 36c71a447be6 [2022-06-01T22:54:09.061Z] Removing intermediate container 36c71a447be6 [2022-06-01T22:54:09.061Z] ---> b3524f6e4483 [2022-06-01T22:54:09.061Z] Step 9/11 : COPY . . [2022-06-01T22:54:12.449Z] ---> 8e5dc12c7296 [2022-06-01T22:54:12.449Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:54:12.449Z] ---> Running in a41dace1fafd [2022-06-01T22:54:13.432Z] skipping... [2022-06-01T22:54:14.031Z] Removing intermediate container a41dace1fafd [2022-06-01T22:54:14.031Z] ---> 942c4fa5514b [2022-06-01T22:54:14.031Z] Step 11/11 : RUN $MAKE [2022-06-01T22:54:14.031Z] ---> Running in 3dcfa2b7108e [2022-06-01T22:54:15.015Z] noop [2022-06-01T22:54:15.614Z] Removing intermediate container 3dcfa2b7108e [2022-06-01T22:54:15.614Z] ---> 15091416802b [2022-06-01T22:54:15.614Z] Successfully built 15091416802b [2022-06-01T22:54:15.614Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:54:15.975Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T22:54:15.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:54:16.227Z] prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2022-06-01T22:54:16.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat [2022-06-01T22:54:17.644Z] $ docker top 3e3c2ef4e9f6a8053a9a7766c3e2f7cc808868decf42850bc261ee6a5881b1bc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T22:54:18.554Z] + go version [2022-06-01T22:54:18.554Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T22:54:18.584Z] $ docker stop --time=1 3e3c2ef4e9f6a8053a9a7766c3e2f7cc808868decf42850bc261ee6a5881b1bc [2022-06-01T22:54:20.214Z] $ docker rm -f 3e3c2ef4e9f6a8053a9a7766c3e2f7cc808868decf42850bc261ee6a5881b1bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:54:20.808Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T22:54:20.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:54:21.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2022-06-01T22:54:21.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat [2022-06-01T22:54:22.347Z] $ docker top 6e94bbb0e9c9961b8cde5b51b70daeff1a7ad6cc2f805de474a63a8f8d278ab2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:54:23.248Z] + make test [2022-06-01T22:54:23.248Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-01T22:54:24.224Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T22:55:11.235Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T22:55:14.625Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 56.0% of statements [2022-06-01T22:55:14.625Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T22:55:36.814Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T22:55:36.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T22:55:36.814Z] ./bin/test-attribution-txt.sh [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-01T22:55:36.814Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 [2022-06-01T22:55:36.814Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 [2022-06-01T22:55:36.814Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T22:55:36.814Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T22:55:36.814Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 [2022-06-01T22:55:36.814Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-01T22:55:36.814Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T22:55:36.814Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T22:55:36.815Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-01T22:55:36.815Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-01T22:55:36.815Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-01T22:55:36.815Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T22:55:36.815Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T22:55:36.815Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T22:55:36.815Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T22:55:36.815Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T22:55:36.815Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T22:55:36.815Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T22:55:36.815Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-01T22:55:36.815Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T22:55:36.815Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T22:55:36.815Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-01T22:55:37.093Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-01T22:55:37.093Z] go: downloading golang.org/x/text v0.3.6 [2022-06-01T22:55:38.081Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T22:55:38.081Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T22:55:38.081Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T22:55:38.081Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T22:55:38.081Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T22:55:38.081Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T22:55:38.357Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T22:55:38.630Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T22:55:38.630Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T22:55:38.903Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-01T22:55:40.341Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T22:55:40.341Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T22:55:40.341Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T22:55:40.341Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T22:55:40.341Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T22:55:40.341Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-01T22:55:40.341Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-01T22:55:45.768Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:55:46.434Z] + go mod tidy [2022-06-01T22:55:46.709Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-01T22:55:46.709Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-01T22:55:46.709Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-01T22:55:46.985Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-01T22:55:46.985Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-01T22:55:46.985Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-01T22:55:46.985Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-01T22:55:46.985Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-01T22:55:46.985Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-01T22:55:46.985Z] go: downloading github.com/kr/text v0.2.0 [2022-06-01T22:55:46.985Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-01T22:55:46.985Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-01T22:55:46.985Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-01T22:55:47.260Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-01T22:55:47.260Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-01T22:55:47.260Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-01T22:55:47.260Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-01T22:55:47.260Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-01T22:55:47.260Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-01T22:55:47.260Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-01T22:55:47.260Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-01T22:55:47.533Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-01T22:55:47.533Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-01T22:55:47.533Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-01T22:55:47.558Z] $ docker stop --time=1 6e94bbb0e9c9961b8cde5b51b70daeff1a7ad6cc2f805de474a63a8f8d278ab2 [2022-06-01T22:55:49.974Z] $ docker rm -f 6e94bbb0e9c9961b8cde5b51b70daeff1a7ad6cc2f805de474a63a8f8d278ab2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:55:52.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T22:55:52.287Z] Warning: overwriting stash ‘coverage-report’ [2022-06-01T22:55:52.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T22:55:53.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T22:55:53.695Z] + ls -al . [2022-06-01T22:55:53.695Z] total 180 [2022-06-01T22:55:53.695Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 22:55 . [2022-06-01T22:55:53.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:53 .. [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:53 .dockerignore [2022-06-01T22:55:53.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:53 .git [2022-06-01T22:55:53.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:53 .github [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:53 .gitignore [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:53 Attribution.txt [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:53 CHANGELOG.md [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:53 Dockerfile [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:53 GOVERNANCE.md [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:53 Jenkinsfile [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:53 LICENSE [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:53 Makefile [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:53 OWNERS.md [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:53 README.md [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 22:51 VERSION [2022-06-01T22:55:53.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:53 bin [2022-06-01T22:55:53.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:53 cmd [2022-06-01T22:55:53.695Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:55 coverage.out [2022-06-01T22:55:53.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:53 driver [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:55 go.mod [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:53 go.sum [2022-06-01T22:55:53.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:53 snap [2022-06-01T22:55:53.695Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:53 vendor [2022-06-01T22:55:53.695Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:55:54.064Z] + 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=674470f415deb016340950c491e0ea2a8bbe0e0c --label arch=arm64 --label version=2.1.1-dev.1 . [2022-06-01T22:55:55.496Z] Sending build context to Docker daemon 11.14MB [2022-06-01T22:55:55.496Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:55:55.497Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-01T22:55:55.497Z] ---> 15091416802b [2022-06-01T22:55:55.497Z] Step 3/24 : ARG MAKE='make build' [2022-06-01T22:55:55.497Z] ---> Running in f96cc6196978 [2022-06-01T22:55:55.769Z] Removing intermediate container f96cc6196978 [2022-06-01T22:55:55.769Z] ---> 982ef6c57adc [2022-06-01T22:55:55.769Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:55:55.769Z] ---> Running in 7d61553162a2 [2022-06-01T22:55:56.369Z] Removing intermediate container 7d61553162a2 [2022-06-01T22:55:56.369Z] ---> 62c127974ce8 [2022-06-01T22:55:56.369Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:55:56.369Z] ---> Running in e2b693293e5f [2022-06-01T22:55:56.642Z] Removing intermediate container e2b693293e5f [2022-06-01T22:55:56.642Z] ---> 9d024bc549ef [2022-06-01T22:55:56.642Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:55:56.642Z] ---> Running in dd74f3107174 [2022-06-01T22:55:58.626Z] Removing intermediate container dd74f3107174 [2022-06-01T22:55:58.626Z] ---> 3ef1259f836a [2022-06-01T22:55:58.626Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:55:58.626Z] ---> Running in 6678991d893a [2022-06-01T22:55:59.618Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T22:56:00.597Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T22:56:01.194Z] OK: 224 MiB in 56 packages [2022-06-01T22:56:02.187Z] Removing intermediate container 6678991d893a [2022-06-01T22:56:02.187Z] ---> 779e1d3fe823 [2022-06-01T22:56:02.187Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-01T22:56:02.187Z] ---> Running in 79dec97f91bf [2022-06-01T22:56:02.464Z] Removing intermediate container 79dec97f91bf [2022-06-01T22:56:02.464Z] ---> 29d7e4ff72d7 [2022-06-01T22:56:02.464Z] Step 9/24 : COPY . . [2022-06-01T22:56:06.780Z] ---> 52d3759adf09 [2022-06-01T22:56:06.780Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:56:06.780Z] ---> Running in 4cdb28eb5bd8 [2022-06-01T22:56:07.769Z] skipping... [2022-06-01T22:56:08.371Z] Removing intermediate container 4cdb28eb5bd8 [2022-06-01T22:56:08.371Z] ---> 53294951de25 [2022-06-01T22:56:08.371Z] Step 11/24 : RUN $MAKE [2022-06-01T22:56:08.371Z] ---> Running in 62867f8fb617 [2022-06-01T22:56:09.355Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.1" -o cmd/device-rest ./cmd [2022-06-01T22:56:56.394Z] Removing intermediate container 62867f8fb617 [2022-06-01T22:56:56.394Z] ---> 1d2b9310880c [2022-06-01T22:56:56.394Z] Step 12/24 : FROM alpine:3.14 [2022-06-01T22:56:56.394Z] 3.14: Pulling from library/alpine [2022-06-01T22:56:56.394Z] 455c02918c45: Pulling fs layer [2022-06-01T22:56:56.394Z] 455c02918c45: Download complete [2022-06-01T22:56:56.394Z] 455c02918c45: Pull complete [2022-06-01T22:56:56.394Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T22:56:56.394Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T22:56:56.394Z] ---> ac73e934f311 [2022-06-01T22:56:56.394Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T22:56:56.394Z] ---> Running in 750d5a57fe71 [2022-06-01T22:56:56.394Z] Removing intermediate container 750d5a57fe71 [2022-06-01T22:56:56.394Z] ---> d5720670cada [2022-06-01T22:56:56.394Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T22:56:56.394Z] ---> Running in fe3031e6731a [2022-06-01T22:56:56.394Z] Removing intermediate container fe3031e6731a [2022-06-01T22:56:56.394Z] ---> f8af8edc9611 [2022-06-01T22:56:56.394Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T22:56:56.394Z] ---> Running in c6309ba32809 [2022-06-01T22:56:56.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-01T22:56:56.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-01T22:56:56.394Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T22:56:56.394Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T22:56:56.394Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T22:56:56.394Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T22:56:56.394Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T22:56:56.394Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T22:56:56.394Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T22:56:56.394Z] OK: 8 MiB in 20 packages [2022-06-01T22:56:57.375Z] Removing intermediate container c6309ba32809 [2022-06-01T22:56:57.375Z] ---> cb33322bf421 [2022-06-01T22:56:57.375Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T22:56:58.355Z] ---> dbbd523599a1 [2022-06-01T22:56:58.355Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T22:56:58.954Z] ---> 1dd47ba18595 [2022-06-01T22:56:58.954Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T22:56:59.558Z] ---> ffb0f83f3f7c [2022-06-01T22:56:59.558Z] Step 19/24 : EXPOSE 59986 [2022-06-01T22:56:59.558Z] ---> Running in 0ed3dc23116c [2022-06-01T22:56:59.832Z] Removing intermediate container 0ed3dc23116c [2022-06-01T22:56:59.832Z] ---> 3445cbbc609b [2022-06-01T22:56:59.832Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-01T22:56:59.832Z] ---> Running in 4fcd325ef274 [2022-06-01T22:57:00.107Z] Removing intermediate container 4fcd325ef274 [2022-06-01T22:57:00.107Z] ---> 5a64cb1a2971 [2022-06-01T22:57:00.107Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T22:57:00.385Z] ---> Running in e6669fcda3c5 [2022-06-01T22:57:00.662Z] Removing intermediate container e6669fcda3c5 [2022-06-01T22:57:00.662Z] ---> 64eedc8134f8 [2022-06-01T22:57:00.662Z] Step 22/24 : LABEL arch=arm64 [2022-06-01T22:57:00.662Z] ---> Running in a601c4b4cd64 [2022-06-01T22:57:00.939Z] Removing intermediate container a601c4b4cd64 [2022-06-01T22:57:00.939Z] ---> a7a877cdee1a [2022-06-01T22:57:00.939Z] Step 23/24 : LABEL git_sha=674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:57:01.226Z] ---> Running in 2e4127e02c15 [2022-06-01T22:57:01.499Z] Removing intermediate container 2e4127e02c15 [2022-06-01T22:57:01.499Z] ---> 62ea53203f5a [2022-06-01T22:57:01.499Z] Step 24/24 : LABEL version=2.1.1-dev.1 [2022-06-01T22:57:01.499Z] ---> Running in 82a73faa47e8 [2022-06-01T22:57:01.773Z] Removing intermediate container 82a73faa47e8 [2022-06-01T22:57:01.773Z] ---> 94b8fee75a24 [2022-06-01T22:57:01.773Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T22:57:02.046Z] Successfully built 94b8fee75a24 [2022-06-01T22:57:02.046Z] 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 [2022-06-01T22:57:02.151Z] provisioning config files... [2022-06-01T22:57:02.169Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config7769794803047205710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:57:02.517Z] ---> docker-login.sh [2022-06-01T22:57:02.517Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:57:02.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:57:02.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:57:02.791Z] Configure a credential helper to remove this warning. See [2022-06-01T22:57:02.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:57:02.791Z] [2022-06-01T22:57:02.791Z] Login Succeeded [2022-06-01T22:57:02.791Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:57:03.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:57:03.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:57:03.389Z] Configure a credential helper to remove this warning. See [2022-06-01T22:57:03.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:57:03.389Z] [2022-06-01T22:57:03.389Z] Login Succeeded [2022-06-01T22:57:03.389Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:57:03.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:57:03.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:57:03.936Z] Configure a credential helper to remove this warning. See [2022-06-01T22:57:03.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:57:03.936Z] [2022-06-01T22:57:03.936Z] Login Succeeded [2022-06-01T22:57:03.936Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:57:04.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:57:04.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:57:04.207Z] Configure a credential helper to remove this warning. See [2022-06-01T22:57:04.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:57:04.207Z] [2022-06-01T22:57:04.207Z] Login Succeeded [2022-06-01T22:57:04.207Z] docker.io [2022-06-01T22:57:04.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:57:05.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:57:05.076Z] Configure a credential helper to remove this warning. See [2022-06-01T22:57:05.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:57:05.076Z] [2022-06-01T22:57:05.076Z] Login Succeeded [2022-06-01T22:57:05.076Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:57:05.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T22:57:05.133Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T22:57:05.157Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-01T22:57:05.157Z] 674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:57:05.157Z] 2.1.1-dev.1 [2022-06-01T22:57:05.157Z] 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [2022-06-01T22:57:05.157Z] jakarta [2022-06-01T22:57:05.157Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:05.524Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:05.887Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:57:05.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T22:57:05.887Z] 88a43e0760e9: Preparing [2022-06-01T22:57:05.887Z] 563e02bd1706: Preparing [2022-06-01T22:57:05.887Z] 9937028aafcf: Preparing [2022-06-01T22:57:05.887Z] ccd962080790: Preparing [2022-06-01T22:57:05.887Z] f73e7dbfee58: Preparing [2022-06-01T22:57:06.161Z] f73e7dbfee58: Layer already exists [2022-06-01T22:57:06.161Z] 563e02bd1706: Pushed [2022-06-01T22:57:06.161Z] 88a43e0760e9: Pushed [2022-06-01T22:57:06.772Z] ccd962080790: Pushed [2022-06-01T22:57:08.745Z] 9937028aafcf: Pushed [2022-06-01T22:57:09.019Z] 674470f415deb016340950c491e0ea2a8bbe0e0c: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:09.391Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:09.751Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.1 [2022-06-01T22:57:09.751Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T22:57:09.751Z] 88a43e0760e9: Preparing [2022-06-01T22:57:09.751Z] 563e02bd1706: Preparing [2022-06-01T22:57:09.751Z] 9937028aafcf: Preparing [2022-06-01T22:57:09.751Z] ccd962080790: Preparing [2022-06-01T22:57:09.751Z] f73e7dbfee58: Preparing [2022-06-01T22:57:09.751Z] 9937028aafcf: Layer already exists [2022-06-01T22:57:09.751Z] f73e7dbfee58: Layer already exists [2022-06-01T22:57:09.751Z] 88a43e0760e9: Layer already exists [2022-06-01T22:57:09.751Z] 563e02bd1706: Layer already exists [2022-06-01T22:57:09.751Z] ccd962080790: Layer already exists [2022-06-01T22:57:10.026Z] 2.1.1-dev.1: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:10.402Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:10.768Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [2022-06-01T22:57:10.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T22:57:10.768Z] 88a43e0760e9: Preparing [2022-06-01T22:57:10.768Z] 563e02bd1706: Preparing [2022-06-01T22:57:10.768Z] 9937028aafcf: Preparing [2022-06-01T22:57:10.768Z] ccd962080790: Preparing [2022-06-01T22:57:10.768Z] f73e7dbfee58: Preparing [2022-06-01T22:57:10.768Z] 9937028aafcf: Layer already exists [2022-06-01T22:57:10.768Z] 88a43e0760e9: Layer already exists [2022-06-01T22:57:10.768Z] f73e7dbfee58: Layer already exists [2022-06-01T22:57:10.768Z] 563e02bd1706: Layer already exists [2022-06-01T22:57:10.768Z] ccd962080790: Layer already exists [2022-06-01T22:57:11.042Z] 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:11.412Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:11.779Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [2022-06-01T22:57:11.780Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T22:57:11.780Z] 88a43e0760e9: Preparing [2022-06-01T22:57:11.780Z] 563e02bd1706: Preparing [2022-06-01T22:57:11.780Z] 9937028aafcf: Preparing [2022-06-01T22:57:11.780Z] ccd962080790: Preparing [2022-06-01T22:57:11.780Z] f73e7dbfee58: Preparing [2022-06-01T22:57:11.780Z] f73e7dbfee58: Layer already exists [2022-06-01T22:57:11.780Z] ccd962080790: Layer already exists [2022-06-01T22:57:11.780Z] 88a43e0760e9: Layer already exists [2022-06-01T22:57:11.780Z] 9937028aafcf: Layer already exists [2022-06-01T22:57:11.780Z] 563e02bd1706: Layer already exists [2022-06-01T22:57:12.052Z] jakarta: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T22:57:12.115Z] ===================================================== [Pipeline] echo [2022-06-01T22:57:12.121Z] taggedImages: [2022-06-01T22:57:12.121Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c [2022-06-01T22:57:12.121Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.1 [2022-06-01T22:57:12.121Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [2022-06-01T22:57:12.121Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:12.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T22:57:12.496Z] [2022-06-01T22:57:12.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:12.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T22:57:13.139Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T22:57:13.139Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T22:57:13.139Z] 04944245beec: Pulling fs layer [2022-06-01T22:57:13.139Z] 699f458cf7ca: Pulling fs layer [2022-06-01T22:57:13.139Z] 765212b225bb: Pulling fs layer [2022-06-01T22:57:13.139Z] f23df028b6ca: Pulling fs layer [2022-06-01T22:57:13.139Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T22:57:13.139Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T22:57:13.139Z] 765212b225bb: Waiting [2022-06-01T22:57:13.139Z] f23df028b6ca: Waiting [2022-06-01T22:57:13.139Z] d65c8cfc05b1: Waiting [2022-06-01T22:57:13.139Z] 2437ff75d9bd: Waiting [2022-06-01T22:57:13.139Z] 04944245beec: Verifying Checksum [2022-06-01T22:57:13.139Z] 04944245beec: Download complete [2022-06-01T22:57:13.139Z] 765212b225bb: Verifying Checksum [2022-06-01T22:57:13.139Z] 765212b225bb: Download complete [2022-06-01T22:57:13.139Z] f23df028b6ca: Verifying Checksum [2022-06-01T22:57:13.139Z] f23df028b6ca: Download complete [2022-06-01T22:57:13.139Z] d65c8cfc05b1: Verifying Checksum [2022-06-01T22:57:13.140Z] d65c8cfc05b1: Download complete [2022-06-01T22:57:13.416Z] 699f458cf7ca: Verifying Checksum [2022-06-01T22:57:13.416Z] 699f458cf7ca: Download complete [2022-06-01T22:57:13.694Z] 8998bd30e6a1: Download complete [2022-06-01T22:57:16.341Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T22:57:16.341Z] 2437ff75d9bd: Download complete [2022-06-01T22:57:18.332Z] 8998bd30e6a1: Pull complete [2022-06-01T22:57:18.612Z] 04944245beec: Pull complete [2022-06-01T22:57:20.055Z] 699f458cf7ca: Pull complete [2022-06-01T22:57:20.328Z] 765212b225bb: Pull complete [2022-06-01T22:57:21.313Z] f23df028b6ca: Pull complete [2022-06-01T22:57:21.586Z] d65c8cfc05b1: Pull complete [2022-06-01T22:57:36.678Z] 2437ff75d9bd: Pull complete [2022-06-01T22:57:36.678Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T22:57:36.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T22:57:36.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:57:36.944Z] prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container [2022-06-01T22:57:37.043Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-01T22:57:39.760Z] $ docker top c249d5f0b59a08c78c403f523ee4a75a078179f622f6f3454a0166572b4d67e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:57:40.688Z] ---> job-cost.sh [2022-06-01T22:57:40.688Z] lf-activate-venv: SKIPPING [2022-06-01T22:57:40.688Z] INFO: No Stack... [2022-06-01T22:57:41.286Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T22:57:41.881Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T22:57:42.546Z] + + cut -d, -f6 [2022-06-01T22:57:42.546Z] cat /w/workspace/device-rest-go/5/archives/cost.csv [Pipeline] lock [2022-06-01T22:57:42.612Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [2022-06-01T22:57:42.622Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] did not exist. Created. [2022-06-01T22:57:42.622Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T22:57:43.310Z] /w/workspace/device-rest-go/5@tmp/durable-e507aebb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T22:57:44.045Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T22:57:44.083Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T22:57:44.407Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T22:57:44.415Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T22:57:44.435Z] $ docker stop --time=1 c249d5f0b59a08c78c403f523ee4a75a078179f622f6f3454a0166572b4d67e7 [2022-06-01T22:57:45.969Z] $ docker rm -f c249d5f0b59a08c78c403f523ee4a75a078179f622f6f3454a0166572b4d67e7 [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 [2022-06-01T22:57:46.457Z] provisioning config files... [2022-06-01T22:57:46.467Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8300820118634732758tmp [Pipeline] { [Pipeline] sh [2022-06-01T22:57:46.761Z] + set +x [2022-06-01T22:57:46.761Z] + curl -s https://codecov.io/bash [2022-06-01T22:57:46.761Z] + bash -s -- [2022-06-01T22:57:46.761Z] [2022-06-01T22:57:46.761Z] _____ _ [2022-06-01T22:57:46.761Z] / ____| | | [2022-06-01T22:57:46.761Z] | | ___ __| | ___ ___ _____ __ [2022-06-01T22:57:46.761Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-01T22:57:46.761Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-01T22:57:46.761Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-01T22:57:46.761Z] Bash-1.0.6 [2022-06-01T22:57:46.761Z] [2022-06-01T22:57:46.761Z] [2022-06-01T22:57:46.761Z] ==> git version 2.25.1 found [2022-06-01T22:57:46.761Z] ==> 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 [2022-06-01T22:57:46.761Z] Release-Date: 2020-01-08 [2022-06-01T22:57:46.761Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-01T22:57:46.761Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-01T22:57:46.761Z] ==> Jenkins CI detected. [2022-06-01T22:57:46.761Z] current dir:  /w/workspace/exfoundry_device-rest-go_jakarta [2022-06-01T22:57:46.761Z] project root: . [2022-06-01T22:57:46.761Z] --> token set from env [2022-06-01T22:57:46.761Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-01T22:57:46.761Z] ==> Running gcov in . (disable via -X gcov) [2022-06-01T22:57:46.761Z] ==> Python coveragepy not found [2022-06-01T22:57:46.761Z] ==> Searching for coverage reports in: [2022-06-01T22:57:46.761Z] + . [2022-06-01T22:57:46.761Z] -> Found 1 reports [2022-06-01T22:57:46.761Z] ==> Detecting git/mercurial file structure [2022-06-01T22:57:46.761Z] ==> Reading reports [2022-06-01T22:57:46.761Z] + ./coverage.out bytes=9215 [2022-06-01T22:57:46.761Z] ==> Appending adjustments [2022-06-01T22:57:46.761Z] https://docs.codecov.io/docs/fixing-reports [2022-06-01T22:57:47.021Z] + Found adjustments [2022-06-01T22:57:47.021Z] ==> Gzipping contents [2022-06-01T22:57:47.021Z] 12K /tmp/codecov.J0vgvO.gz [2022-06-01T22:57:47.021Z] ==> Uploading reports [2022-06-01T22:57:47.021Z] url: https://codecov.io [2022-06-01T22:57:47.021Z] query: branch=jakarta&commit=674470f415deb016340950c491e0ea2a8bbe0e0c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-01T22:57:47.021Z] -> Pinging Codecov [2022-06-01T22:57:47.021Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=jakarta&commit=674470f415deb016340950c491e0ea2a8bbe0e0c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-01T22:57:47.280Z] -> Uploading to [2022-06-01T22:57:47.280Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/674470f415deb016340950c491e0ea2a8bbe0e0c/2a0bb593-1014-4c61-abef-cda5ae1410d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T225747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39d68444ef8eb8ec4834ba69fc7356d12e02762f2367ab1835fe8f057a251898 [2022-06-01T22:57:47.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T22:57:47.280Z] Dload Upload Total Spent Left Speed [2022-06-01T22:57:47.540Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 36340 --:--:-- --:--:-- --:--:-- 36340 [2022-06-01T22:57:47.540Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] } [2022-06-01T22:57:47.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-01T22:57:47.690Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-01T22:57:47.701Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:48.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T22:57:48.000Z] [2022-06-01T22:57:48.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:57:48.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T22:57:48.301Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-01T22:57:48.301Z] df9b9388f04a: Pulling fs layer [2022-06-01T22:57:48.301Z] 52dc419b0ee2: Pulling fs layer [2022-06-01T22:57:48.301Z] 25bc292e5bac: Pulling fs layer [2022-06-01T22:57:48.301Z] 114826534d7a: Pulling fs layer [2022-06-01T22:57:48.301Z] 4657fd5d0bcf: Pulling fs layer [2022-06-01T22:57:48.301Z] 6ad1cebc031e: Pulling fs layer [2022-06-01T22:57:48.301Z] 8a3aa393b2d8: Pulling fs layer [2022-06-01T22:57:48.301Z] 6ad1cebc031e: Waiting [2022-06-01T22:57:48.301Z] 4657fd5d0bcf: Waiting [2022-06-01T22:57:48.301Z] 8a3aa393b2d8: Waiting [2022-06-01T22:57:48.301Z] 114826534d7a: Waiting [2022-06-01T22:57:48.301Z] 25bc292e5bac: Download complete [2022-06-01T22:57:48.301Z] 52dc419b0ee2: Download complete [2022-06-01T22:57:48.301Z] 4657fd5d0bcf: Verifying Checksum [2022-06-01T22:57:48.301Z] 4657fd5d0bcf: Download complete [2022-06-01T22:57:48.301Z] df9b9388f04a: Verifying Checksum [2022-06-01T22:57:48.301Z] df9b9388f04a: Download complete [2022-06-01T22:57:48.562Z] 6ad1cebc031e: Verifying Checksum [2022-06-01T22:57:48.562Z] 6ad1cebc031e: Download complete [2022-06-01T22:57:48.562Z] df9b9388f04a: Pull complete [2022-06-01T22:57:48.562Z] 52dc419b0ee2: Pull complete [2022-06-01T22:57:48.822Z] 25bc292e5bac: Pull complete [2022-06-01T22:57:49.081Z] 114826534d7a: Verifying Checksum [2022-06-01T22:57:49.081Z] 114826534d7a: Download complete [2022-06-01T22:57:49.081Z] 8a3aa393b2d8: Verifying Checksum [2022-06-01T22:57:49.081Z] 8a3aa393b2d8: Download complete [2022-06-01T22:57:53.273Z] 114826534d7a: Pull complete [2022-06-01T22:57:53.273Z] 4657fd5d0bcf: Pull complete [2022-06-01T22:57:53.273Z] 6ad1cebc031e: Pull complete [2022-06-01T22:57:55.815Z] 8a3aa393b2d8: Pull complete [2022-06-01T22:57:55.815Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-01T22:57:55.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T22:57:55.815Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:57:55.908Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:57:55.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-01T22:57:57.711Z] $ docker top 80810cb004de19e3debe16bdda9ae5909dba68de816ca6add5bab748982320f6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-01T22:57:57.783Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-06-01T22:57:58.065Z] + set -o pipefail [2022-06-01T22:57:58.065Z] + snyk monitor '--org=edgex-jenkins' [2022-06-01T22:58:01.360Z] [2022-06-01T22:58:01.360Z] Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... [2022-06-01T22:58:01.360Z] [2022-06-01T22:58:01.360Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/392382e9-ad4c-495b-b71c-a2813bdbe74f [2022-06-01T22:58:01.360Z] [2022-06-01T22:58:01.360Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-06-01T22:58:01.360Z] [2022-06-01T22:58:01.360Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-01T22:58:01.360Z] [2022-06-01T22:58:01.360Z] [Pipeline] } [2022-06-01T22:58:01.381Z] $ docker stop --time=1 80810cb004de19e3debe16bdda9ae5909dba68de816ca6add5bab748982320f6 [2022-06-01T22:58:02.708Z] $ docker rm -f 80810cb004de19e3debe16bdda9ae5909dba68de816ca6add5bab748982320f6 [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 [2022-06-01T22:58:03.223Z] + git log --format=format:%s -1 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] sh [2022-06-01T22:58:03.550Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T22:58:03.550Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:58:03.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:58:03.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:58:03.953Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:58:03.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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:latest cat [2022-06-01T22:58:04.405Z] $ docker top a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T22:58:04.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:58:04.499Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:58:04.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:58:04.629Z] $ docker exec a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a ssh-agent [2022-06-01T22:58:04.750Z] SSH_AUTH_SOCK=/tmp/ssh-YdjmMZMGMnL7/agent.33 [2022-06-01T22:58:04.750Z] SSH_AGENT_PID=39 [2022-06-01T22:58:04.755Z] Running ssh-add (command line suppressed) [2022-06-01T22:58:04.868Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_4306554161603650133.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_4306554161603650133.key) [2022-06-01T22:58:04.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:58:05.162Z] + git semver tag [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,355 [run_tag] DEBUG tag force:False [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,355 [check_head_tag] DEBUG check head tag [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,356 [execute] INFO git cat-file --batch-check [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,360 [execute] INFO git cat-file --batch [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,367 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,367 [execute] INFO git tag -a v2.1.1-dev.1 -m v2.1.1-dev.1 [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,368 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.1', '-m', 'v2.1.1-dev.1'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-01T22:58:05.422Z] 2022-06-01 22:58:05,372 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:05.422Z] 2.1.1-dev.1 [Pipeline] } [2022-06-01T22:58:05.436Z] $ docker exec --env ******** --env ******** a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a ssh-agent -k [2022-06-01T22:58:05.542Z] unset SSH_AUTH_SOCK; [2022-06-01T22:58:05.542Z] unset SSH_AGENT_PID; [2022-06-01T22:58:05.543Z] echo Agent pid 39 killed; [2022-06-01T22:58:05.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T22:58:05.870Z] + git semver [Pipeline] } [2022-06-01T22:58:06.148Z] $ docker stop --time=1 a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a [2022-06-01T22:58:07.450Z] $ docker rm -f a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:58:07.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T22:58:07.842Z] [2022-06-01T22:58:07.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:58:08.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T22:58:08.192Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-01T22:58:08.192Z] ab5ef0e58194: Pulling fs layer [2022-06-01T22:58:08.192Z] 9712f1f96733: Pulling fs layer [2022-06-01T22:58:08.192Z] 63f879dbbcfc: Pulling fs layer [2022-06-01T22:58:08.192Z] 0d9ebad4ef96: Pulling fs layer [2022-06-01T22:58:08.192Z] e9a5061849ea: Pulling fs layer [2022-06-01T22:58:08.192Z] d747dcd14b5f: Pulling fs layer [2022-06-01T22:58:08.192Z] 2de7ff778b66: Pulling fs layer [2022-06-01T22:58:08.192Z] 0d9ebad4ef96: Waiting [2022-06-01T22:58:08.192Z] e9a5061849ea: Waiting [2022-06-01T22:58:08.192Z] d747dcd14b5f: Waiting [2022-06-01T22:58:08.192Z] 2de7ff778b66: Waiting [2022-06-01T22:58:08.192Z] 9712f1f96733: Download complete [2022-06-01T22:58:08.452Z] 63f879dbbcfc: Verifying Checksum [2022-06-01T22:58:08.452Z] 63f879dbbcfc: Download complete [2022-06-01T22:58:08.711Z] e9a5061849ea: Verifying Checksum [2022-06-01T22:58:08.711Z] e9a5061849ea: Download complete [2022-06-01T22:58:08.711Z] d747dcd14b5f: Verifying Checksum [2022-06-01T22:58:08.711Z] d747dcd14b5f: Download complete [2022-06-01T22:58:08.711Z] ab5ef0e58194: Verifying Checksum [2022-06-01T22:58:08.711Z] ab5ef0e58194: Download complete [2022-06-01T22:58:08.711Z] 0d9ebad4ef96: Verifying Checksum [2022-06-01T22:58:08.711Z] 0d9ebad4ef96: Download complete [2022-06-01T22:58:08.970Z] 2de7ff778b66: Verifying Checksum [2022-06-01T22:58:08.970Z] 2de7ff778b66: Download complete [2022-06-01T22:58:11.501Z] ab5ef0e58194: Pull complete [2022-06-01T22:58:11.501Z] 9712f1f96733: Pull complete [2022-06-01T22:58:12.449Z] 63f879dbbcfc: Pull complete [2022-06-01T22:58:16.638Z] 0d9ebad4ef96: Pull complete [2022-06-01T22:58:16.638Z] e9a5061849ea: Pull complete [2022-06-01T22:58:16.638Z] d747dcd14b5f: Pull complete [2022-06-01T22:58:17.576Z] 2de7ff778b66: Pull complete [2022-06-01T22:58:17.576Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-01T22:58:17.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T22:58:17.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:58:17.664Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:58:17.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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-lftools:0.23.1-centos7 cat [2022-06-01T22:58:20.024Z] $ docker top 8955a316e5f20f8f18ab13d96464e51329fc6614d0c0ee7064c7b7ee82944d27 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:58:20.112Z] provisioning config files... [2022-06-01T22:58:20.120Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2048259118303600214tmp [2022-06-01T22:58:20.131Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config1752589427981612875tmp [2022-06-01T22:58:20.140Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8515108668492978047tmp [Pipeline] { [Pipeline] echo [2022-06-01T22:58:20.158Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:20.442Z] ---> sigul-configuration.sh [2022-06-01T22:58:20.442Z] gpg: directory `/root/.gnupg' created [2022-06-01T22:58:20.442Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-01T22:58:20.442Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-01T22:58:20.442Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-01T22:58:20.442Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-01T22:58:20.442Z] gpg: CAST5 encrypted data [2022-06-01T22:58:20.442Z] gpg: encrypted with 1 passphrase [2022-06-01T22:58:20.442Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-01T22:58:20.730Z] + mkdir /home/jenkins [2022-06-01T22:58:20.730Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-01T22:58:21.018Z] + 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 [2022-06-01T22:58:21.026Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:21.312Z] ---> sigul-install.sh [2022-06-01T22:58:21.313Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-01T22:58:21.604Z] + git tag --list [2022-06-01T22:58:21.604Z] v1.0.0 [2022-06-01T22:58:21.604Z] v1.1.0 [2022-06-01T22:58:21.604Z] v1.1.1 [2022-06-01T22:58:21.604Z] v1.1.2 [2022-06-01T22:58:21.604Z] v1.2.0 [2022-06-01T22:58:21.604Z] v1.2.1 [2022-06-01T22:58:21.604Z] v2.0.0 [2022-06-01T22:58:21.604Z] v2.1.0 [2022-06-01T22:58:21.604Z] v2.1.1-dev.1 [2022-06-01T22:58:21.604Z] v2.2.0 [2022-06-01T22:58:21.604Z] v2.2.1-dev.1 [2022-06-01T22:58:21.604Z] v2.2.1-dev.2 [Pipeline] sh [2022-06-01T22:58:21.893Z] + lftools sign git-tag v2.1.1-dev.1 [2022-06-01T22:58:22.465Z] Signing Git tag with Sigul... [2022-06-01T22:58:22.465Z] Signing v2.1.1-dev.1 [Pipeline] echo [2022-06-01T22:58:23.046Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:23.332Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-01T22:58:23.340Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-01T22:58:23.361Z] $ docker stop --time=1 8955a316e5f20f8f18ab13d96464e51329fc6614d0c0ee7064c7b7ee82944d27 [2022-06-01T22:58:24.681Z] $ docker rm -f 8955a316e5f20f8f18ab13d96464e51329fc6614d0c0ee7064c7b7ee82944d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-01T22:58:25.107Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T22:58:25.107Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:58:25.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:58:25.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:58:25.489Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:58:25.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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:latest cat [2022-06-01T22:58:25.962Z] $ docker top 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T22:58:26.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:58:26.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:58:26.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:58:26.209Z] $ docker exec 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a ssh-agent [2022-06-01T22:58:26.339Z] SSH_AUTH_SOCK=/tmp/ssh-z1q3qaVRjSRP/agent.32 [2022-06-01T22:58:26.339Z] SSH_AGENT_PID=38 [2022-06-01T22:58:26.344Z] Running ssh-add (command line suppressed) [2022-06-01T22:58:26.469Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7496972318167337326.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7496972318167337326.key) [2022-06-01T22:58:26.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:58:26.775Z] + git semver bump pre [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,010 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,010 [bump_version] DEBUG bumping version:2.1.1-dev.1 on axis:pre with prefix:dev [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,010 [bump_version] DEBUG bumped version:2.1.1-dev.2 [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,010 [write_version] DEBUG write version:2.1.1-dev.2 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:True [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,010 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,010 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,012 [execute] INFO git cat-file --batch-check [2022-06-01T22:58:27.034Z] 2022-06-01 22:58:27,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T22:58:27.035Z] 2022-06-01 22:58:27,019 [execute] INFO git cat-file --batch [2022-06-01T22:58:27.035Z] 2022-06-01 22:58:27,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T22:58:27.035Z] 2022-06-01 22:58:27,025 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:27.035Z] 2.1.1-dev.2 [Pipeline] } [2022-06-01T22:58:27.307Z] $ docker exec --env ******** --env ******** 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a ssh-agent -k [2022-06-01T22:58:27.413Z] unset SSH_AUTH_SOCK; [2022-06-01T22:58:27.414Z] unset SSH_AGENT_PID; [2022-06-01T22:58:27.414Z] echo Agent pid 38 killed; [2022-06-01T22:58:27.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T22:58:27.721Z] + git semver [Pipeline] } [2022-06-01T22:58:27.998Z] $ docker stop --time=1 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a [2022-06-01T22:58:29.333Z] $ docker rm -f 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:58:29.742Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T22:58:29.742Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:58:30.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:58:30.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:58:30.123Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:58:30.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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:latest cat [2022-06-01T22:58:30.529Z] $ docker top 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 -eo pid,comm [2022-06-01T22:58:30.590Z] 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). [2022-06-01T22:58:30.590Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T22:58:30.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:58:30.624Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:58:30.754Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:58:30.760Z] $ docker exec 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 ssh-agent [2022-06-01T22:58:30.880Z] SSH_AUTH_SOCK=/tmp/ssh-GeQlGZpEWx3g/agent.33 [2022-06-01T22:58:30.880Z] SSH_AGENT_PID=40 [2022-06-01T22:58:30.886Z] Running ssh-add (command line suppressed) [2022-06-01T22:58:31.006Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_8133537403735664277.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_8133537403735664277.key) [2022-06-01T22:58:31.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:58:31.307Z] + git semver push [2022-06-01T22:58:31.567Z] 2022-06-01 22:58:31,502 [run_push] DEBUG push [2022-06-01T22:58:31.567Z] 2022-06-01 22:58:31,502 [execute] INFO git push origin semver [2022-06-01T22:58:31.567Z] 2022-06-01 22:58:31,503 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-01T22:58:32.507Z] 2022-06-01 22:58:32,141 [run_push] DEBUG push all version tags [2022-06-01T22:58:32.507Z] 2022-06-01 22:58:32,142 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-01T22:58:32.507Z] 2022-06-01 22:58:32,142 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-01T22:58:33.080Z] 2022-06-01 22:58:32,802 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-01T22:58:33.080Z] 2.1.1-dev.2 [Pipeline] } [2022-06-01T22:58:33.093Z] $ docker exec --env ******** --env ******** 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 ssh-agent -k [2022-06-01T22:58:33.205Z] unset SSH_AUTH_SOCK; [2022-06-01T22:58:33.205Z] unset SSH_AGENT_PID; [2022-06-01T22:58:33.205Z] echo Agent pid 40 killed; [2022-06-01T22:58:33.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T22:58:33.525Z] + git semver [Pipeline] } [2022-06-01T22:58:33.805Z] $ docker stop --time=1 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 [2022-06-01T22:58:35.429Z] $ docker rm -f 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 [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 [2022-06-01T22:58:36.011Z] + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] [2022-06-01T22:58:36.011Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-01T22:58:36.011Z] total 16 [2022-06-01T22:58:36.011Z] drwxr-xr-x 3 root root 4096 Jun 1 22:52 . [2022-06-01T22:58:36.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:58 .. [2022-06-01T22:58:36.011Z] drwxr-xr-x 2 root root 4096 Jun 1 22:52 cost [2022-06-01T22:58:36.011Z] -rw-r--r-- 1 root root 86 Jun 1 22:52 cost.csv [2022-06-01T22:58:36.011Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-01T22:58:36.011Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-01T22:58:36.011Z] total 16 [2022-06-01T22:58:36.011Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:52 . [2022-06-01T22:58:36.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:58 .. [2022-06-01T22:58:36.011Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 22:52 cost [2022-06-01T22:58:36.011Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 1 22:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:36.301Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:37.162Z] ---> package-listing.sh [2022-06-01T22:58:37.162Z] ++ facter osfamily [2022-06-01T22:58:37.162Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T22:58:37.424Z] + OS_FAMILY=debian [2022-06-01T22:58:37.424Z] + workspace=/w/workspace/exfoundry_device-rest-go_jakarta [2022-06-01T22:58:37.424Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T22:58:37.424Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T22:58:37.424Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T22:58:37.424Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T22:58:37.424Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-01T22:58:37.424Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T22:58:37.424Z] + case "${OS_FAMILY}" in [2022-06-01T22:58:37.424Z] + dpkg -l [2022-06-01T22:58:37.424Z] + grep '^ii' [2022-06-01T22:58:37.424Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T22:58:37.424Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T22:58:37.424Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T22:58:37.424Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-01T22:58:37.424Z] + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [2022-06-01T22:58:37.424Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo [2022-06-01T22:58:37.435Z] 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-01T22:58:37.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:58:38.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:58:38.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:58:38.375Z] prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container [2022-06-01T22:58:38.417Z] $ 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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-lftools-log-publisher:latest cat [2022-06-01T22:58:38.681Z] $ docker top 1e4be7a79e9d4d5ef175cb55d1914fd440a3a14946396063c832dcc0de7aeeaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T22:58:39.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T22:58:39.315Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T22:58:39.602Z] + ls /var/log/sa-host [2022-06-01T22:58:39.602Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:58:39.739Z] provisioning config files... [2022-06-01T22:58:39.750Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8522943094399227230tmp [Pipeline] { [Pipeline] echo [2022-06-01T22:58:39.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:40.048Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T22:58:40.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:40.383Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T22:58:40.393Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:40.677Z] ---> sudo-logs.sh [2022-06-01T22:58:40.677Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T22:58:40.702Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:40.997Z] ---> job-cost.sh [2022-06-01T22:58:40.997Z] lf-activate-venv: SKIPPING [2022-06-01T22:58:40.997Z] DEBUG: total: 0.2199999988079071 [2022-06-01T22:58:40.997Z] INFO: Retrieving Stack Cost... [2022-06-01T22:58:41.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T22:58:41.826Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T22:58:41.839Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:58:42.127Z] ---> logs-deploy.sh [2022-06-01T22:58:42.127Z] lf-activate-venv: SKIPPING [2022-06-01T22:58:42.127Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/5 [2022-06-01T22:58:42.127Z] INFO: archiving workspace using pattern(s): [2022-06-01T22:58:43.067Z] Archives upload complete. [2022-06-01T22:58:43.067Z] INFO: archiving logs to Nexus