Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 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-ssh660623021105989875.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-ssh4790739986226102197.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12177246335346542736.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-ssh6919776819622910108.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1411541706721035503.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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-758 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 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 (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 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 # timeout=10 Commit message: "Merge pull request #194 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log" > git rev-list --no-walk 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-03T00:36:03.660Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-03T00:36:03.701Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-03T00:36:03.715Z] ========================================================= [2022-06-03T00:36:03.715Z] EdgeX Global Pipelines Version Info [2022-06-03T00:36:03.715Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:36:04.525Z] ------------------- [2022-06-03T00:36:04.525Z] stable info: [2022-06-03T00:36:04.525Z] ------------------- [2022-06-03T00:36:04.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T00:36:04.525Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-03T00:36:04.525Z] Message: update stable to v1.0.230 [2022-06-03T00:36:05.101Z] ------------------- [2022-06-03T00:36:05.101Z] experimental info: [2022-06-03T00:36:05.101Z] ------------------- [2022-06-03T00:36:05.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T00:36:05.101Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T00:36:05.101Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-03T00:36:05.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-03T00:36:05.360Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-03T00:36:05.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-03T00:36:05.381Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-03T00:36:05.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-03T00:36:05.400Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-03T00:36:05.413Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-03T00:36:05.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-03T00:36:05.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-03T00:36:05.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-03T00:36:05.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-03T00:36:05.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-03T00:36:05.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-03T00:36:05.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-03T00:36:05.499Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T00:36:05.509Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T00:36:05.522Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T00:36:05.535Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T00:36:05.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-03T00:36:05.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-03T00:36:05.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-03T00:36:05.606Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-03T00:36:05.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-03T00:36:05.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-03T00:36:05.658Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-03T00:36:05.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-03T00:36:05.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-06-03T00:36:05.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-06-03T00:36:05.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-06-03T00:36:05.726Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo [2022-06-03T00:36:05.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ebceb6 [Pipeline] echo [2022-06-03T00:36:05.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T00:36:05.786Z] provisioning config files... [2022-06-03T00:36:05.799Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7596114905387286896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:36:06.106Z] ---> docker-login.sh [2022-06-03T00:36:06.106Z] nexus3.edgexfoundry.org:10001 [2022-06-03T00:36:06.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:06.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:06.629Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:06.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:06.629Z] [2022-06-03T00:36:06.629Z] Login Succeeded [2022-06-03T00:36:06.629Z] nexus3.edgexfoundry.org:10002 [2022-06-03T00:36:06.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:06.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:06.629Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:06.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:06.629Z] [2022-06-03T00:36:06.629Z] Login Succeeded [2022-06-03T00:36:06.629Z] nexus3.edgexfoundry.org:10003 [2022-06-03T00:36:06.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:06.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:06.889Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:06.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:06.889Z] [2022-06-03T00:36:06.889Z] Login Succeeded [2022-06-03T00:36:06.889Z] nexus3.edgexfoundry.org:10004 [2022-06-03T00:36:06.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:07.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:07.148Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:07.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:07.148Z] [2022-06-03T00:36:07.148Z] Login Succeeded [2022-06-03T00:36:07.148Z] docker.io [2022-06-03T00:36:07.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:07.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:07.411Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:07.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:07.411Z] [2022-06-03T00:36:07.411Z] Login Succeeded [2022-06-03T00:36:07.411Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T00:36:07.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-03T00:36:07.790Z] + git rev-list -1 --merges 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32~1..6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo [2022-06-03T00:36:07.821Z] -----------> git rev-list -1 --merges 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32~1..6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:36:07.821Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [false] [Pipeline] sh [2022-06-03T00:36:08.113Z] + git log --format=format:%s -1 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo [2022-06-03T00:36:08.127Z] ========================================================= [2022-06-03T00:36:08.127Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-03T00:36:08.127Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T00:36:08.459Z] + git log --format=format:%s -1 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo [2022-06-03T00:36:08.474Z] [semverPrep] GIT_COMMIT: 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32, Commit Message: Merge pull request #194 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log [Pipeline] echo [2022-06-03T00:36:08.482Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-03T00:36:08.841Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T00:36:08.841Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-03T00:36:08.841Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-03T00:36:08.841Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-03T00:36:08.841Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-03T00:36:08.841Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-03T00:36:08.841Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:36:09.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T00:36:09.198Z] [2022-06-03T00:36:09.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:36:09.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T00:36:09.508Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-03T00:36:09.508Z] 42c077c10790: Pulling fs layer [2022-06-03T00:36:09.508Z] f63e77b7563a: Pulling fs layer [2022-06-03T00:36:09.508Z] bd5fdadae976: Pulling fs layer [2022-06-03T00:36:09.508Z] 205491f53016: Pulling fs layer [2022-06-03T00:36:09.508Z] df18705c85c3: Pulling fs layer [2022-06-03T00:36:09.508Z] bdb3f477010e: Pulling fs layer [2022-06-03T00:36:09.508Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-03T00:36:09.508Z] 2c6e9b1d212d: Pulling fs layer [2022-06-03T00:36:09.508Z] bdb8f0575790: Pulling fs layer [2022-06-03T00:36:09.508Z] 386e3cb2ff24: Pulling fs layer [2022-06-03T00:36:09.508Z] 2343380bae48: Pulling fs layer [2022-06-03T00:36:09.508Z] 2c6e9b1d212d: Waiting [2022-06-03T00:36:09.508Z] 386e3cb2ff24: Waiting [2022-06-03T00:36:09.508Z] 2343380bae48: Waiting [2022-06-03T00:36:09.508Z] bdb8f0575790: Waiting [2022-06-03T00:36:09.508Z] 205491f53016: Waiting [2022-06-03T00:36:09.508Z] bdb3f477010e: Waiting [2022-06-03T00:36:09.508Z] df18705c85c3: Waiting [2022-06-03T00:36:09.770Z] f63e77b7563a: Verifying Checksum [2022-06-03T00:36:09.770Z] f63e77b7563a: Download complete [2022-06-03T00:36:09.770Z] 205491f53016: Download complete [2022-06-03T00:36:09.770Z] df18705c85c3: Verifying Checksum [2022-06-03T00:36:09.770Z] df18705c85c3: Download complete [2022-06-03T00:36:09.770Z] bdb3f477010e: Verifying Checksum [2022-06-03T00:36:09.770Z] bdb3f477010e: Download complete [2022-06-03T00:36:09.770Z] bd5fdadae976: Verifying Checksum [2022-06-03T00:36:09.770Z] bd5fdadae976: Download complete [2022-06-03T00:36:09.770Z] 2c6e9b1d212d: Verifying Checksum [2022-06-03T00:36:09.770Z] 2c6e9b1d212d: Download complete [2022-06-03T00:36:09.770Z] bdb8f0575790: Download complete [2022-06-03T00:36:09.770Z] 386e3cb2ff24: Verifying Checksum [2022-06-03T00:36:09.770Z] 386e3cb2ff24: Download complete [2022-06-03T00:36:09.770Z] 2343380bae48: Verifying Checksum [2022-06-03T00:36:09.770Z] 2343380bae48: Download complete [2022-06-03T00:36:10.031Z] 42c077c10790: Verifying Checksum [2022-06-03T00:36:10.031Z] 42c077c10790: Download complete [2022-06-03T00:36:10.295Z] c8a8fc8e1c8f: Download complete [2022-06-03T00:36:11.687Z] 42c077c10790: Pull complete [2022-06-03T00:36:11.687Z] f63e77b7563a: Pull complete [2022-06-03T00:36:11.954Z] bd5fdadae976: Pull complete [2022-06-03T00:36:12.216Z] 205491f53016: Pull complete [2022-06-03T00:36:12.477Z] df18705c85c3: Pull complete [2022-06-03T00:36:12.477Z] bdb3f477010e: Pull complete [2022-06-03T00:36:15.029Z] c8a8fc8e1c8f: Pull complete [2022-06-03T00:36:15.029Z] 2c6e9b1d212d: Pull complete [2022-06-03T00:36:15.029Z] bdb8f0575790: Pull complete [2022-06-03T00:36:15.029Z] 386e3cb2ff24: Pull complete [2022-06-03T00:36:15.029Z] 2343380bae48: Pull complete [2022-06-03T00:36:15.291Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-03T00:36:15.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T00:36:15.291Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:36:15.404Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:36:15.448Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-03T00:36:17.474Z] $ docker top 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 -eo pid,comm [2022-06-03T00:36:17.530Z] 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-03T00:36:17.530Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T00:36:17.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T00:36:17.567Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T00:36:17.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T00:36:17.721Z] $ docker exec 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent [2022-06-03T00:36:17.843Z] SSH_AUTH_SOCK=/tmp/ssh-yexoaAU7UGDJ/agent.32 [2022-06-03T00:36:17.843Z] SSH_AGENT_PID=38 [2022-06-03T00:36:17.851Z] Running ssh-add (command line suppressed) [2022-06-03T00:36:17.966Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6403230403338720848.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6403230403338720848.key) [2022-06-03T00:36:17.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T00:36:18.270Z] + git tag --points-at HEAD [Pipeline] } [2022-06-03T00:36:18.296Z] $ docker exec --env ******** --env ******** 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent -k [2022-06-03T00:36:18.413Z] unset SSH_AUTH_SOCK; [2022-06-03T00:36:18.413Z] unset SSH_AGENT_PID; [2022-06-03T00:36:18.413Z] echo Agent pid 38 killed; [2022-06-03T00:36:18.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-03T00:36:18.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T00:36:18.442Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T00:36:18.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T00:36:18.580Z] $ docker exec 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent [2022-06-03T00:36:18.710Z] SSH_AUTH_SOCK=/tmp/ssh-TRZoDc8vNCXa/agent.72 [2022-06-03T00:36:18.710Z] SSH_AGENT_PID=78 [2022-06-03T00:36:18.715Z] Running ssh-add (command line suppressed) [2022-06-03T00:36:18.848Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2939349642726411038.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2939349642726411038.key) [2022-06-03T00:36:18.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T00:36:19.151Z] + git semver init [2022-06-03T00:36:19.410Z] 2022-06-03 00:36:19,377 [run_init] DEBUG init version:0.0.0 force:False [2022-06-03T00:36:19.410Z] 2022-06-03 00:36:19,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-03T00:36:19.410Z] 2022-06-03 00:36:19,379 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-03T00:36:19.410Z] 2022-06-03 00:36:19,379 [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-03T00:36:20.350Z] 2022-06-03 00:36:20,323 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude [2022-06-03T00:36:20.350Z] 2022-06-03 00:36:20,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False [2022-06-03T00:36:20.350Z] 2022-06-03 00:36:20,324 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:36:20.350Z] 2022-06-03 00:36:20,324 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:36:20.350Z] 2.1.1-dev.2 [Pipeline] } [2022-06-03T00:36:20.367Z] $ docker exec --env ******** --env ******** 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent -k [2022-06-03T00:36:20.501Z] unset SSH_AUTH_SOCK; [2022-06-03T00:36:20.501Z] unset SSH_AGENT_PID; [2022-06-03T00:36:20.501Z] echo Agent pid 78 killed; [2022-06-03T00:36:20.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T00:36:20.813Z] + git semver [Pipeline] } [2022-06-03T00:36:21.096Z] $ docker stop --time=1 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 [2022-06-03T00:36:23.132Z] $ docker rm -f 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T00:36:23.548Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-03T00:36:23.942Z] Stashed 1 file(s) [Pipeline] echo [2022-06-03T00:36:23.944Z] [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [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-03T00:36:24.080Z] provisioning config files... [2022-06-03T00:36:24.090Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7343783892523882412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:36:24.390Z] ---> docker-login.sh [2022-06-03T00:36:24.390Z] nexus3.edgexfoundry.org:10001 [2022-06-03T00:36:24.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:24.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:24.390Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:24.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:24.390Z] [2022-06-03T00:36:24.390Z] Login Succeeded [2022-06-03T00:36:24.390Z] nexus3.edgexfoundry.org:10002 [2022-06-03T00:36:24.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:24.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:24.651Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:24.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:24.651Z] [2022-06-03T00:36:24.651Z] Login Succeeded [2022-06-03T00:36:24.651Z] nexus3.edgexfoundry.org:10003 [2022-06-03T00:36:24.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:24.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:24.651Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:24.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:24.651Z] [2022-06-03T00:36:24.651Z] Login Succeeded [2022-06-03T00:36:24.651Z] nexus3.edgexfoundry.org:10004 [2022-06-03T00:36:24.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:24.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:24.910Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:24.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:24.910Z] [2022-06-03T00:36:24.910Z] Login Succeeded [2022-06-03T00:36:24.910Z] docker.io [2022-06-03T00:36:24.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:36:25.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:36:25.171Z] Configure a credential helper to remove this warning. See [2022-06-03T00:36:25.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:36:25.171Z] [2022-06-03T00:36:25.171Z] Login Succeeded [2022-06-03T00:36:25.171Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T00:36:25.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T00:36:25.252Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T00:36:25.265Z] ========================================================= [2022-06-03T00:36:25.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-06-03T00:36:25.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:36:25.582Z] + 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-03T00:36:25.842Z] Sending build context to Docker daemon 21.66MB [2022-06-03T00:36:25.842Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-03T00:36:25.842Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-03T00:36:26.104Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-03T00:36:26.104Z] 59bf1c3509f3: Pulling fs layer [2022-06-03T00:36:26.104Z] 666ba61612fd: Pulling fs layer [2022-06-03T00:36:26.104Z] 8ed8ca486205: Pulling fs layer [2022-06-03T00:36:26.104Z] 4fe6c5a15a65: Pulling fs layer [2022-06-03T00:36:26.104Z] 22a0e8bec74d: Pulling fs layer [2022-06-03T00:36:26.104Z] 812f408151ee: Pulling fs layer [2022-06-03T00:36:26.104Z] bab7bd504b26: Pulling fs layer [2022-06-03T00:36:26.104Z] 070449caade9: Pulling fs layer [2022-06-03T00:36:26.104Z] 8f1a5288e3a6: Pulling fs layer [2022-06-03T00:36:26.104Z] 4fe6c5a15a65: Waiting [2022-06-03T00:36:26.104Z] 22a0e8bec74d: Waiting [2022-06-03T00:36:26.104Z] 812f408151ee: Waiting [2022-06-03T00:36:26.104Z] bab7bd504b26: Waiting [2022-06-03T00:36:26.104Z] 070449caade9: Waiting [2022-06-03T00:36:26.104Z] 8f1a5288e3a6: Waiting [2022-06-03T00:36:26.104Z] 8ed8ca486205: Verifying Checksum [2022-06-03T00:36:26.104Z] 8ed8ca486205: Download complete [2022-06-03T00:36:26.104Z] 666ba61612fd: Verifying Checksum [2022-06-03T00:36:26.104Z] 666ba61612fd: Download complete [2022-06-03T00:36:26.104Z] 22a0e8bec74d: Verifying Checksum [2022-06-03T00:36:26.104Z] 22a0e8bec74d: Download complete [2022-06-03T00:36:26.104Z] 812f408151ee: Download complete [2022-06-03T00:36:26.104Z] bab7bd504b26: Verifying Checksum [2022-06-03T00:36:26.104Z] bab7bd504b26: Download complete [2022-06-03T00:36:26.104Z] 59bf1c3509f3: Verifying Checksum [2022-06-03T00:36:26.104Z] 070449caade9: Verifying Checksum [2022-06-03T00:36:26.104Z] 070449caade9: Download complete [2022-06-03T00:36:26.365Z] 59bf1c3509f3: Pull complete [2022-06-03T00:36:26.644Z] 666ba61612fd: Pull complete [2022-06-03T00:36:26.644Z] 8ed8ca486205: Pull complete [2022-06-03T00:36:26.909Z] 8f1a5288e3a6: Verifying Checksum [2022-06-03T00:36:26.909Z] 8f1a5288e3a6: Download complete [2022-06-03T00:36:26.909Z] 4fe6c5a15a65: Verifying Checksum [2022-06-03T00:36:26.909Z] 4fe6c5a15a65: Download complete [2022-06-03T00:36:31.115Z] 4fe6c5a15a65: Pull complete [2022-06-03T00:36:31.375Z] 22a0e8bec74d: Pull complete [2022-06-03T00:36:31.375Z] 812f408151ee: Pull complete [2022-06-03T00:36:31.634Z] bab7bd504b26: Pull complete [2022-06-03T00:36:31.892Z] 070449caade9: Pull complete [2022-06-03T00:36:34.431Z] 8f1a5288e3a6: Pull complete [2022-06-03T00:36:34.431Z] Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 [2022-06-03T00:36:34.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-06-03T00:36:34.431Z] ---> c47586b81864 [2022-06-03T00:36:34.431Z] Step 3/11 : ARG MAKE='make build' [2022-06-03T00:36:36.990Z] ---> Running in faa326992ac9 [2022-06-03T00:36:36.990Z] Removing intermediate container faa326992ac9 [2022-06-03T00:36:36.990Z] ---> a8f04adfae3e [2022-06-03T00:36:36.990Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T00:36:36.990Z] ---> Running in 56132d4556fd [2022-06-03T00:36:37.252Z] Removing intermediate container 56132d4556fd [2022-06-03T00:36:37.252Z] ---> 3f8942879cf9 [2022-06-03T00:36:37.252Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T00:36:37.252Z] ---> Running in 560f70a6f59a [2022-06-03T00:36:37.252Z] Removing intermediate container 560f70a6f59a [2022-06-03T00:36:37.252Z] ---> 3a4d4625894e [2022-06-03T00:36:37.252Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T00:36:37.252Z] ---> Running in ca854edc7d15 [2022-06-03T00:36:38.206Z] Removing intermediate container ca854edc7d15 [2022-06-03T00:36:38.206Z] ---> f9c2427a2079 [2022-06-03T00:36:38.206Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T00:36:38.206Z] ---> Running in 3c51764f299f [2022-06-03T00:36:38.206Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T00:36:39.051Z] Still waiting to schedule task [2022-06-03T00:36:39.051Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-03T00:36:39.155Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T00:36:39.416Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T00:36:39.416Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T00:36:39.676Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T00:36:39.676Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T00:36:39.936Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T00:36:39.936Z] OK: 224 MiB in 56 packages [2022-06-03T00:36:40.195Z] Removing intermediate container 3c51764f299f [2022-06-03T00:36:40.195Z] ---> dcab7127af78 [2022-06-03T00:36:40.195Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-03T00:36:40.195Z] ---> Running in e5f6995cb72c [2022-06-03T00:36:40.459Z] Removing intermediate container e5f6995cb72c [2022-06-03T00:36:40.459Z] ---> d5b573ac5257 [2022-06-03T00:36:40.459Z] Step 9/11 : COPY . . [2022-06-03T00:36:41.402Z] ---> 7bf4e59033a2 [2022-06-03T00:36:41.402Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T00:36:41.402Z] ---> Running in 43c372df9e25 [2022-06-03T00:36:41.662Z] skipping... [2022-06-03T00:36:41.926Z] Removing intermediate container 43c372df9e25 [2022-06-03T00:36:41.926Z] ---> a8138f792109 [2022-06-03T00:36:41.926Z] Step 11/11 : RUN $MAKE [2022-06-03T00:36:42.189Z] ---> Running in 12c1001d3cbf [2022-06-03T00:36:42.449Z] noop [2022-06-03T00:36:42.709Z] Removing intermediate container 12c1001d3cbf [2022-06-03T00:36:42.709Z] ---> 6166cb826a2c [2022-06-03T00:36:42.709Z] Successfully built 6166cb826a2c [2022-06-03T00:36:42.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:36:43.029Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T00:36:43.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:36:43.117Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:36:43.157Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-03T00:36:43.561Z] $ docker top a1b029fd93393978ae157ab3221e29976fa434b828e96c9956d5c4dd11677212 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T00:36:43.927Z] + go version [2022-06-03T00:36:43.927Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-03T00:36:43.959Z] $ docker stop --time=1 a1b029fd93393978ae157ab3221e29976fa434b828e96c9956d5c4dd11677212 [2022-06-03T00:36:45.542Z] $ docker rm -f a1b029fd93393978ae157ab3221e29976fa434b828e96c9956d5c4dd11677212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:36:46.014Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T00:36:46.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:36:46.115Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:36:46.164Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-03T00:36:46.858Z] $ docker top 1c1de851734d41ae737650f2bb448164aff57547ca8d2f802bdeddcd6bc7360a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T00:36:47.223Z] + make test [2022-06-03T00:36:47.223Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-03T00:36:47.482Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-03T00:36:54.057Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-03T00:36:54.628Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 56.0% of statements [2022-06-03T00:36:54.628Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T00:36:57.916Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T00:36:57.916Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T00:36:57.916Z] ./bin/test-attribution-txt.sh [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-03T00:36:58.483Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-03T00:36:58.483Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-03T00:36:58.483Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-03T00:36:58.483Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-03T00:36:58.483Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-03T00:36:58.483Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-03T00:36:58.483Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-03T00:36:58.483Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-03T00:36:58.483Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-03T00:36:58.483Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-03T00:36:58.483Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-03T00:36:58.483Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-03T00:36:58.483Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-03T00:36:58.483Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-03T00:36:58.483Z] go: downloading golang.org/x/text v0.3.6 [2022-06-03T00:36:58.742Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-03T00:36:58.742Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-03T00:36:58.742Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-03T00:36:58.742Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-03T00:36:58.742Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-03T00:36:58.742Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-03T00:36:58.742Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-03T00:36:58.742Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-03T00:36:58.742Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-03T00:36:58.742Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-03T00:36:58.742Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-03T00:36:58.742Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-03T00:36:58.742Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-03T00:36:58.742Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-03T00:36:58.742Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-03T00:36:59.001Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-03T00:36:59.001Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-03T00:36:59.001Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-03T00:36:59.955Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-03T00:37:00.250Z] + go mod tidy [2022-06-03T00:37:00.250Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-03T00:37:00.250Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-03T00:37:00.250Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-03T00:37:00.250Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-03T00:37:00.250Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-03T00:37:00.250Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-03T00:37:00.250Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-03T00:37:00.250Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-03T00:37:00.510Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-03T00:37:00.510Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-03T00:37:00.510Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-03T00:37:00.510Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/kr/text v0.2.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-03T00:37:00.510Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-03T00:37:00.510Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-03T00:37:00.510Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-03T00:37:00.510Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-03T00:37:00.510Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-03T00:37:00.510Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-03T00:37:00.531Z] $ docker stop --time=1 1c1de851734d41ae737650f2bb448164aff57547ca8d2f802bdeddcd6bc7360a [2022-06-03T00:37:02.562Z] $ docker rm -f 1c1de851734d41ae737650f2bb448164aff57547ca8d2f802bdeddcd6bc7360a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T00:37:03.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T00:37:03.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-03T00:37:03.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T00:37:03.903Z] + ls -al . [2022-06-03T00:37:03.903Z] total 184 [2022-06-03T00:37:03.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 00:36 . [2022-06-03T00:37:03.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:35 .. [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 00:35 .dockerignore [2022-06-03T00:37:03.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:36 .git [2022-06-03T00:37:03.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 .github [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 3 00:35 .gitignore [2022-06-03T00:37:03.903Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:36 .semver [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 3 00:35 Attribution.txt [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 3 00:35 CHANGELOG.md [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 3 00:35 Dockerfile [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:35 GOVERNANCE.md [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 00:35 Jenkinsfile [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:35 LICENSE [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 3 00:35 Makefile [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 3 00:35 OWNERS.md [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 3 00:35 README.md [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 00:36 VERSION [2022-06-03T00:37:03.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 bin [2022-06-03T00:37:03.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:35 cmd [2022-06-03T00:37:03.903Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 3 00:36 coverage.out [2022-06-03T00:37:03.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 driver [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 3 00:37 go.mod [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 3 00:35 go.sum [2022-06-03T00:37:03.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:35 snap [2022-06-03T00:37:03.903Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:35 vendor [2022-06-03T00:37:03.903Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 00:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:04.210Z] + 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=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 --label arch=amd64 --label version=2.1.1-dev.2 . [2022-06-03T00:37:04.468Z] Sending build context to Docker daemon 21.67MB [2022-06-03T00:37:04.468Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-03T00:37:04.468Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-03T00:37:04.468Z] ---> 6166cb826a2c [2022-06-03T00:37:04.468Z] Step 3/24 : ARG MAKE='make build' [2022-06-03T00:37:04.468Z] ---> Running in 821b73d221bb [2022-06-03T00:37:04.728Z] Removing intermediate container 821b73d221bb [2022-06-03T00:37:04.728Z] ---> 41f2c4e4a033 [2022-06-03T00:37:04.728Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T00:37:04.728Z] ---> Running in ac59655de55f [2022-06-03T00:37:04.728Z] Removing intermediate container ac59655de55f [2022-06-03T00:37:04.728Z] ---> aba1073e7428 [2022-06-03T00:37:04.728Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T00:37:04.728Z] ---> Running in 26848a85bd69 [2022-06-03T00:37:04.987Z] Removing intermediate container 26848a85bd69 [2022-06-03T00:37:04.987Z] ---> 8f9100bd8a8b [2022-06-03T00:37:04.987Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T00:37:04.987Z] ---> Running in 6b3e0b067c5b [2022-06-03T00:37:05.643Z] Removing intermediate container 6b3e0b067c5b [2022-06-03T00:37:05.643Z] ---> 4de00e6c42d6 [2022-06-03T00:37:05.643Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T00:37:05.643Z] ---> Running in faf16791950f [2022-06-03T00:37:05.903Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T00:37:06.861Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T00:37:07.122Z] OK: 224 MiB in 56 packages [2022-06-03T00:37:07.382Z] Removing intermediate container faf16791950f [2022-06-03T00:37:07.382Z] ---> 709861582b28 [2022-06-03T00:37:07.382Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-03T00:37:07.382Z] ---> Running in 51fedb2263f6 [2022-06-03T00:37:07.382Z] Removing intermediate container 51fedb2263f6 [2022-06-03T00:37:07.382Z] ---> 0eaf16b7363e [2022-06-03T00:37:07.382Z] Step 9/24 : COPY . . [2022-06-03T00:37:08.769Z] ---> 29894f6ccd33 [2022-06-03T00:37:08.769Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T00:37:08.769Z] ---> Running in d0eeec6e15d0 [2022-06-03T00:37:09.029Z] skipping... [2022-06-03T00:37:09.289Z] Removing intermediate container d0eeec6e15d0 [2022-06-03T00:37:09.289Z] ---> 9cf01ce8b7b4 [2022-06-03T00:37:09.289Z] Step 11/24 : RUN $MAKE [2022-06-03T00:37:09.289Z] ---> Running in 88b796955f92 [2022-06-03T00:37:09.546Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.2" -o cmd/device-rest ./cmd [2022-06-03T00:37:17.681Z] Removing intermediate container 88b796955f92 [2022-06-03T00:37:17.681Z] ---> 2fc60ed458d8 [2022-06-03T00:37:17.681Z] Step 12/24 : FROM alpine:3.14 [2022-06-03T00:37:17.681Z] 3.14: Pulling from library/alpine [2022-06-03T00:37:17.681Z] 8663204ce13b: Pulling fs layer [2022-06-03T00:37:17.681Z] 8663204ce13b: Verifying Checksum [2022-06-03T00:37:17.681Z] 8663204ce13b: Download complete [2022-06-03T00:37:17.944Z] 8663204ce13b: Pull complete [2022-06-03T00:37:17.944Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T00:37:17.944Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T00:37:17.944Z] ---> e04c818066af [2022-06-03T00:37:17.944Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-03T00:37:18.203Z] ---> Running in f8dda1b3a368 [2022-06-03T00:37:18.203Z] Removing intermediate container f8dda1b3a368 [2022-06-03T00:37:18.203Z] ---> 82aa9495082d [2022-06-03T00:37:18.203Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-03T00:37:18.203Z] ---> Running in 402c966c5996 [2022-06-03T00:37:18.467Z] Removing intermediate container 402c966c5996 [2022-06-03T00:37:18.467Z] ---> 13a9dc4ba2f6 [2022-06-03T00:37:18.467Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T00:37:18.467Z] ---> Running in 1880429f081e [2022-06-03T00:37:18.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-03T00:37:18.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-03T00:37:18.993Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T00:37:18.993Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T00:37:18.993Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T00:37:18.993Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T00:37:18.993Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T00:37:19.253Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T00:37:19.253Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T00:37:19.253Z] OK: 8 MiB in 20 packages [2022-06-03T00:37:19.512Z] Removing intermediate container 1880429f081e [2022-06-03T00:37:19.512Z] ---> 5ddad93eeca9 [2022-06-03T00:37:19.512Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-03T00:37:20.084Z] ---> 63a0580331d5 [2022-06-03T00:37:20.084Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-03T00:37:20.084Z] ---> 7c502b91b2f5 [2022-06-03T00:37:20.084Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-03T00:37:20.344Z] ---> 46819809e2a1 [2022-06-03T00:37:20.344Z] Step 19/24 : EXPOSE 59986 [2022-06-03T00:37:20.344Z] ---> Running in 8db9481177d4 [2022-06-03T00:37:20.344Z] Removing intermediate container 8db9481177d4 [2022-06-03T00:37:20.344Z] ---> 80f32db06296 [2022-06-03T00:37:20.344Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-03T00:37:20.344Z] ---> Running in 58ae96952fba [2022-06-03T00:37:20.605Z] Removing intermediate container 58ae96952fba [2022-06-03T00:37:20.605Z] ---> f409a7d10062 [2022-06-03T00:37:20.605Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-03T00:37:20.605Z] ---> Running in ca651314f596 [2022-06-03T00:37:20.605Z] Removing intermediate container ca651314f596 [2022-06-03T00:37:20.605Z] ---> cc9d9d955291 [2022-06-03T00:37:20.605Z] Step 22/24 : LABEL arch=amd64 [2022-06-03T00:37:20.867Z] ---> Running in d7f0c0a4ca47 [2022-06-03T00:37:20.867Z] Removing intermediate container d7f0c0a4ca47 [2022-06-03T00:37:20.867Z] ---> 7d65b290fc4c [2022-06-03T00:37:20.867Z] Step 23/24 : LABEL git_sha=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:37:20.867Z] ---> Running in ef51e526b9af [2022-06-03T00:37:20.867Z] Removing intermediate container ef51e526b9af [2022-06-03T00:37:20.867Z] ---> d4d9bc061895 [2022-06-03T00:37:20.867Z] Step 24/24 : LABEL version=2.1.1-dev.2 [2022-06-03T00:37:21.129Z] ---> Running in 8c2e3ba68b51 [2022-06-03T00:37:21.129Z] Removing intermediate container 8c2e3ba68b51 [2022-06-03T00:37:21.129Z] ---> da8599d07595 [2022-06-03T00:37:21.129Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T00:37:21.129Z] Successfully built da8599d07595 [2022-06-03T00:37:21.129Z] 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-03T00:37:21.237Z] provisioning config files... [2022-06-03T00:37:21.246Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5962153602036982736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:37:21.540Z] ---> docker-login.sh [2022-06-03T00:37:21.540Z] nexus3.edgexfoundry.org:10001 [2022-06-03T00:37:21.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:37:21.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:37:21.540Z] Configure a credential helper to remove this warning. See [2022-06-03T00:37:21.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:37:21.540Z] [2022-06-03T00:37:21.540Z] Login Succeeded [2022-06-03T00:37:21.540Z] nexus3.edgexfoundry.org:10002 [2022-06-03T00:37:21.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:37:21.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:37:21.801Z] Configure a credential helper to remove this warning. See [2022-06-03T00:37:21.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:37:21.801Z] [2022-06-03T00:37:21.801Z] Login Succeeded [2022-06-03T00:37:21.801Z] nexus3.edgexfoundry.org:10003 [2022-06-03T00:37:21.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:37:21.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:37:21.801Z] Configure a credential helper to remove this warning. See [2022-06-03T00:37:21.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:37:21.801Z] [2022-06-03T00:37:21.801Z] Login Succeeded [2022-06-03T00:37:21.801Z] nexus3.edgexfoundry.org:10004 [2022-06-03T00:37:22.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:37:22.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:37:22.061Z] Configure a credential helper to remove this warning. See [2022-06-03T00:37:22.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:37:22.061Z] [2022-06-03T00:37:22.061Z] Login Succeeded [2022-06-03T00:37:22.061Z] docker.io [2022-06-03T00:37:22.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:37:22.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:37:22.321Z] Configure a credential helper to remove this warning. See [2022-06-03T00:37:22.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:37:22.321Z] [2022-06-03T00:37:22.321Z] Login Succeeded [2022-06-03T00:37:22.321Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T00:37:22.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-03T00:37:22.360Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T00:37:22.384Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-03T00:37:22.384Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:37:22.384Z] 2.1.1-dev.2 [2022-06-03T00:37:22.384Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [2022-06-03T00:37:22.384Z] jakarta [2022-06-03T00:37:22.384Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:22.715Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:23.017Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:37:23.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-03T00:37:23.017Z] 7059cf75dc1a: Preparing [2022-06-03T00:37:23.017Z] d4f43720d4f4: Preparing [2022-06-03T00:37:23.017Z] fdf072450bbc: Preparing [2022-06-03T00:37:23.017Z] 2d357b5e9cb9: Preparing [2022-06-03T00:37:23.017Z] b541d28bf3b4: Preparing [2022-06-03T00:37:23.017Z] b541d28bf3b4: Layer already exists [2022-06-03T00:37:23.017Z] d4f43720d4f4: Pushed [2022-06-03T00:37:23.017Z] 7059cf75dc1a: Pushed [2022-06-03T00:37:23.277Z] 2d357b5e9cb9: Pushed [2022-06-03T00:37:24.658Z] fdf072450bbc: Pushed [2022-06-03T00:37:24.658Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:24.975Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:25.287Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.2 [2022-06-03T00:37:25.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-03T00:37:25.287Z] 7059cf75dc1a: Preparing [2022-06-03T00:37:25.287Z] d4f43720d4f4: Preparing [2022-06-03T00:37:25.287Z] fdf072450bbc: Preparing [2022-06-03T00:37:25.287Z] 2d357b5e9cb9: Preparing [2022-06-03T00:37:25.287Z] b541d28bf3b4: Preparing [2022-06-03T00:37:25.287Z] fdf072450bbc: Layer already exists [2022-06-03T00:37:25.287Z] d4f43720d4f4: Layer already exists [2022-06-03T00:37:25.287Z] 7059cf75dc1a: Layer already exists [2022-06-03T00:37:25.287Z] 2d357b5e9cb9: Layer already exists [2022-06-03T00:37:25.287Z] b541d28bf3b4: Layer already exists [2022-06-03T00:37:25.287Z] 2.1.1-dev.2: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:25.608Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:25.919Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [2022-06-03T00:37:25.919Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-03T00:37:25.919Z] 7059cf75dc1a: Preparing [2022-06-03T00:37:25.919Z] d4f43720d4f4: Preparing [2022-06-03T00:37:25.919Z] fdf072450bbc: Preparing [2022-06-03T00:37:25.919Z] 2d357b5e9cb9: Preparing [2022-06-03T00:37:25.919Z] b541d28bf3b4: Preparing [2022-06-03T00:37:25.919Z] b541d28bf3b4: Layer already exists [2022-06-03T00:37:25.919Z] d4f43720d4f4: Layer already exists [2022-06-03T00:37:25.919Z] 2d357b5e9cb9: Layer already exists [2022-06-03T00:37:25.919Z] fdf072450bbc: Layer already exists [2022-06-03T00:37:25.919Z] 7059cf75dc1a: Layer already exists [2022-06-03T00:37:25.919Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:26.289Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:26.635Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta [2022-06-03T00:37:26.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-03T00:37:26.635Z] 7059cf75dc1a: Preparing [2022-06-03T00:37:26.635Z] d4f43720d4f4: Preparing [2022-06-03T00:37:26.635Z] fdf072450bbc: Preparing [2022-06-03T00:37:26.635Z] 2d357b5e9cb9: Preparing [2022-06-03T00:37:26.635Z] b541d28bf3b4: Preparing [2022-06-03T00:37:26.635Z] b541d28bf3b4: Layer already exists [2022-06-03T00:37:26.635Z] fdf072450bbc: Layer already exists [2022-06-03T00:37:26.635Z] 7059cf75dc1a: Layer already exists [2022-06-03T00:37:26.635Z] 2d357b5e9cb9: Layer already exists [2022-06-03T00:37:26.635Z] d4f43720d4f4: Layer already exists [2022-06-03T00:37:26.635Z] jakarta: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-03T00:37:26.687Z] ===================================================== [Pipeline] echo [2022-06-03T00:37:26.697Z] taggedImages: [2022-06-03T00:37:26.697Z] - nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:37:26.697Z] - nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.2 [2022-06-03T00:37:26.697Z] - nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [2022-06-03T00:37:26.697Z] - 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-03T00:37:27.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T00:37:27.071Z] [2022-06-03T00:37:27.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:37:27.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T00:37:27.376Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-03T00:37:27.376Z] 5eb5b503b376: Pulling fs layer [2022-06-03T00:37:27.376Z] 5c69ac0246d0: Pulling fs layer [2022-06-03T00:37:27.376Z] ec43610c2a17: Pulling fs layer [2022-06-03T00:37:27.376Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-03T00:37:27.376Z] 33b1e0a273af: Pulling fs layer [2022-06-03T00:37:27.376Z] 5d3b04190fa2: Pulling fs layer [2022-06-03T00:37:27.376Z] 2f39f015ded8: Pulling fs layer [2022-06-03T00:37:27.376Z] 3a2ae6a8a46f: Waiting [2022-06-03T00:37:27.376Z] 33b1e0a273af: Waiting [2022-06-03T00:37:27.376Z] 5d3b04190fa2: Waiting [2022-06-03T00:37:27.376Z] 2f39f015ded8: Waiting [2022-06-03T00:37:27.376Z] 5c69ac0246d0: Download complete [2022-06-03T00:37:27.376Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-03T00:37:27.376Z] 3a2ae6a8a46f: Download complete [2022-06-03T00:37:27.376Z] 33b1e0a273af: Verifying Checksum [2022-06-03T00:37:27.376Z] 33b1e0a273af: Download complete [2022-06-03T00:37:27.376Z] ec43610c2a17: Verifying Checksum [2022-06-03T00:37:27.376Z] ec43610c2a17: Download complete [2022-06-03T00:37:27.376Z] 5d3b04190fa2: Download complete [2022-06-03T00:37:27.635Z] 5eb5b503b376: Verifying Checksum [2022-06-03T00:37:27.635Z] 5eb5b503b376: Download complete [2022-06-03T00:37:28.225Z] 2f39f015ded8: Download complete [2022-06-03T00:37:28.791Z] 5eb5b503b376: Pull complete [2022-06-03T00:37:29.050Z] 5c69ac0246d0: Pull complete [2022-06-03T00:37:29.309Z] ec43610c2a17: Pull complete [2022-06-03T00:37:29.570Z] 3a2ae6a8a46f: Pull complete [2022-06-03T00:37:29.830Z] 33b1e0a273af: Pull complete [2022-06-03T00:37:29.830Z] 5d3b04190fa2: Pull complete [2022-06-03T00:37:34.036Z] 2f39f015ded8: Pull complete [2022-06-03T00:37:34.036Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-03T00:37:34.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T00:37:34.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:37:34.383Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:37:34.420Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T00:37:36.344Z] $ docker top f296be34462af18de5624b1d81442504c8bc20f305042550438a0dfcf2804505 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:37:36.772Z] ---> job-cost.sh [2022-06-03T00:37:36.772Z] lf-activate-venv: SKIPPING [2022-06-03T00:37:36.772Z] INFO: No Stack... [2022-06-03T00:37:37.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T00:37:37.603Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T00:37:37.900Z] + + cut -d, -f6 [2022-06-03T00:37:37.900Z] cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv [Pipeline] lock [2022-06-03T00:37:37.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [2022-06-03T00:37:37.920Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] did not exist. Created. [2022-06-03T00:37:37.920Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T00:37:38.232Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-03T00:37:38.284Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T00:37:38.291Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T00:37:38.319Z] $ docker stop --time=1 f296be34462af18de5624b1d81442504c8bc20f305042550438a0dfcf2804505 [2022-06-03T00:37:39.577Z] $ docker rm -f f296be34462af18de5624b1d81442504c8bc20f305042550438a0dfcf2804505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T00:44:32.876Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-875 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws [2022-06-03T00:44:32.886Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2022-06-03T00:44:32.965Z] The recommended git tool is: git [2022-06-03T00:44:40.997Z] using credential edgex-jenkins-ssh [2022-06-03T00:44:41.019Z] Cloning the remote Git repository [2022-06-03T00:44:41.102Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-03T00:44:41.207Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2022-06-03T00:44:41.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-03T00:44:41.405Z] > git --version # timeout=10 [2022-06-03T00:44:41.460Z] > git --version # 'git version 2.25.1' [2022-06-03T00:44:41.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T00:44:41.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T00:44:43.647Z] Avoid second fetch [2022-06-03T00:44:43.648Z] Checking out Revision 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 (jakarta) [2022-06-03T00:44:43.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-03T00:44:43.626Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T00:44:43.682Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T00:44:43.699Z] > git checkout -f 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 # timeout=10 [2022-06-03T00:44:48.547Z] Commit message: "Merge pull request #194 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T00:44:49.431Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T00:44:49.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T00:44:49.431Z] Dload Upload Total Spent Left Speed [2022-06-03T00:44:49.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-06-03T00:44:50.166Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T00:44:50.537Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-03T00:44:50.537Z] + sudo tee /etc/docker/daemon.new [2022-06-03T00:44:50.537Z] { [2022-06-03T00:44:50.537Z] "registry-mirrors": [ [2022-06-03T00:44:50.537Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T00:44:50.537Z] ], [2022-06-03T00:44:50.537Z] "bip": "10.250.0.254/24", [2022-06-03T00:44:50.537Z] "hosts": [ [2022-06-03T00:44:50.537Z] "tcp://0.0.0.0:5555", [2022-06-03T00:44:50.537Z] "unix:///var/run/docker.sock" [2022-06-03T00:44:50.537Z] ], [2022-06-03T00:44:50.537Z] "mtu": 1458, [2022-06-03T00:44:50.537Z] "selinux-enabled": true, [2022-06-03T00:44:50.537Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T00:44:50.537Z] } [Pipeline] sh [2022-06-03T00:44:50.912Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T00:44:51.342Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T00:45:09.689Z] provisioning config files... [2022-06-03T00:45:09.717Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config3256538606367225240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:45:10.091Z] ---> docker-login.sh [2022-06-03T00:45:10.091Z] nexus3.edgexfoundry.org:10001 [2022-06-03T00:45:10.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:45:10.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:45:10.964Z] Configure a credential helper to remove this warning. See [2022-06-03T00:45:10.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:45:10.964Z] [2022-06-03T00:45:10.964Z] Login Succeeded [2022-06-03T00:45:10.964Z] nexus3.edgexfoundry.org:10002 [2022-06-03T00:45:11.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:45:11.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:45:11.566Z] Configure a credential helper to remove this warning. See [2022-06-03T00:45:11.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:45:11.566Z] [2022-06-03T00:45:11.566Z] Login Succeeded [2022-06-03T00:45:11.566Z] nexus3.edgexfoundry.org:10003 [2022-06-03T00:45:12.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:45:12.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:45:12.174Z] Configure a credential helper to remove this warning. See [2022-06-03T00:45:12.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:45:12.174Z] [2022-06-03T00:45:12.174Z] Login Succeeded [2022-06-03T00:45:12.174Z] nexus3.edgexfoundry.org:10004 [2022-06-03T00:45:12.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:45:12.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:45:12.739Z] Configure a credential helper to remove this warning. See [2022-06-03T00:45:12.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:45:12.739Z] [2022-06-03T00:45:12.739Z] Login Succeeded [2022-06-03T00:45:12.739Z] docker.io [2022-06-03T00:45:13.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:45:13.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:45:13.292Z] Configure a credential helper to remove this warning. See [2022-06-03T00:45:13.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:45:13.292Z] [2022-06-03T00:45:13.292Z] Login Succeeded [2022-06-03T00:45:13.292Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T00:45:13.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T00:45:13.946Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T00:45:13.957Z] ========================================================= [2022-06-03T00:45:13.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-06-03T00:45:13.957Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:45:14.376Z] + 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-03T00:45:15.844Z] Sending build context to Docker daemon 11.13MB [2022-06-03T00:45:15.844Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-03T00:45:15.844Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-03T00:45:15.844Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T00:45:15.844Z] 9b3977197b4f: Pulling fs layer [2022-06-03T00:45:15.844Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T00:45:15.844Z] 94645a83ff95: Pulling fs layer [2022-06-03T00:45:15.844Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T00:45:15.844Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T00:45:15.844Z] 63b1bc5785f6: Pulling fs layer [2022-06-03T00:45:15.844Z] 626d30ff41c6: Pulling fs layer [2022-06-03T00:45:15.844Z] de1d54c125be: Pulling fs layer [2022-06-03T00:45:15.844Z] 0c92f367c5e7: Waiting [2022-06-03T00:45:15.844Z] 63b1bc5785f6: Waiting [2022-06-03T00:45:15.844Z] 626d30ff41c6: Waiting [2022-06-03T00:45:15.844Z] de1d54c125be: Waiting [2022-06-03T00:45:15.844Z] 3f3a8bcf1eab: Waiting [2022-06-03T00:45:15.844Z] 94645a83ff95: Verifying Checksum [2022-06-03T00:45:15.844Z] 94645a83ff95: Download complete [2022-06-03T00:45:15.844Z] 1a89e8eeedd5: Verifying Checksum [2022-06-03T00:45:15.844Z] 1a89e8eeedd5: Download complete [2022-06-03T00:45:15.844Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T00:45:15.844Z] 0c92f367c5e7: Download complete [2022-06-03T00:45:16.134Z] 63b1bc5785f6: Verifying Checksum [2022-06-03T00:45:16.134Z] 63b1bc5785f6: Download complete [2022-06-03T00:45:16.134Z] 9b3977197b4f: Download complete [2022-06-03T00:45:16.134Z] 626d30ff41c6: Verifying Checksum [2022-06-03T00:45:16.134Z] 626d30ff41c6: Download complete [2022-06-03T00:45:16.745Z] 9b3977197b4f: Pull complete [2022-06-03T00:45:17.374Z] 1a89e8eeedd5: Pull complete [2022-06-03T00:45:17.670Z] 94645a83ff95: Pull complete [2022-06-03T00:45:18.679Z] de1d54c125be: Download complete [2022-06-03T00:45:18.959Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-03T00:45:18.959Z] 3f3a8bcf1eab: Download complete [2022-06-03T00:45:31.416Z] 3f3a8bcf1eab: Pull complete [2022-06-03T00:45:31.694Z] 0c92f367c5e7: Pull complete [2022-06-03T00:45:31.970Z] 63b1bc5785f6: Pull complete [2022-06-03T00:45:32.254Z] 626d30ff41c6: Pull complete [2022-06-03T00:45:39.000Z] de1d54c125be: Pull complete [2022-06-03T00:45:39.000Z] Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 [2022-06-03T00:45:39.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-06-03T00:45:39.000Z] ---> 5f011755c4a2 [2022-06-03T00:45:39.000Z] Step 3/11 : ARG MAKE='make build' [2022-06-03T00:45:41.001Z] ---> Running in 49acb3ba5d2b [2022-06-03T00:45:41.278Z] Removing intermediate container 49acb3ba5d2b [2022-06-03T00:45:41.278Z] ---> cf6cff70beb9 [2022-06-03T00:45:41.278Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T00:45:41.551Z] ---> Running in b21d22f672bd [2022-06-03T00:45:41.823Z] Removing intermediate container b21d22f672bd [2022-06-03T00:45:41.823Z] ---> 1b90cfd017dc [2022-06-03T00:45:41.823Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T00:45:42.103Z] ---> Running in 671f163943cc [2022-06-03T00:45:42.378Z] Removing intermediate container 671f163943cc [2022-06-03T00:45:42.378Z] ---> df35299466c6 [2022-06-03T00:45:42.378Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T00:45:42.378Z] ---> Running in 56b02bb8bcbd [2022-06-03T00:45:44.353Z] Removing intermediate container 56b02bb8bcbd [2022-06-03T00:45:44.353Z] ---> cfca5ba4bc60 [2022-06-03T00:45:44.353Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T00:45:44.353Z] ---> Running in 5c0cc8f5979e [2022-06-03T00:45:45.330Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T00:45:46.306Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T00:45:47.283Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T00:45:47.283Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T00:45:47.283Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T00:45:47.556Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T00:45:47.827Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T00:45:47.827Z] OK: 224 MiB in 56 packages [2022-06-03T00:45:48.801Z] Removing intermediate container 5c0cc8f5979e [2022-06-03T00:45:48.801Z] ---> f5fec27c3b16 [2022-06-03T00:45:48.801Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-03T00:45:48.801Z] ---> Running in 754b9c648aca [2022-06-03T00:45:49.073Z] Removing intermediate container 754b9c648aca [2022-06-03T00:45:49.073Z] ---> 5c7cb7881adf [2022-06-03T00:45:49.073Z] Step 9/11 : COPY . . [2022-06-03T00:45:53.380Z] ---> 02bba85ac7db [2022-06-03T00:45:53.380Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T00:45:53.380Z] ---> Running in 79956d26ea36 [2022-06-03T00:45:53.974Z] skipping... [2022-06-03T00:45:54.600Z] Removing intermediate container 79956d26ea36 [2022-06-03T00:45:54.600Z] ---> 538169a6daa4 [2022-06-03T00:45:54.600Z] Step 11/11 : RUN $MAKE [2022-06-03T00:45:54.600Z] ---> Running in 68ffcb2527f3 [2022-06-03T00:45:55.586Z] noop [2022-06-03T00:45:56.181Z] Removing intermediate container 68ffcb2527f3 [2022-06-03T00:45:56.181Z] ---> 54e0a14bd908 [2022-06-03T00:45:56.512Z] Successfully built 54e0a14bd908 [2022-06-03T00:45:56.512Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:45:57.033Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T00:45:57.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:45:57.287Z] prd-ubuntu20.04-docker-arm64-4c-16g-875 does not seem to be running inside a container [2022-06-03T00:45:57.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-03T00:45:58.792Z] $ docker top 4bb2509127b6a7ed8d1d737621a7c55da3f9649cfbcf86c4b872fab5edc6a3fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T00:45:59.741Z] + go version [2022-06-03T00:45:59.741Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T00:45:59.774Z] $ docker stop --time=1 4bb2509127b6a7ed8d1d737621a7c55da3f9649cfbcf86c4b872fab5edc6a3fa [2022-06-03T00:46:01.489Z] $ docker rm -f 4bb2509127b6a7ed8d1d737621a7c55da3f9649cfbcf86c4b872fab5edc6a3fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:46:02.116Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T00:46:02.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:46:02.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-875 does not seem to be running inside a container [2022-06-03T00:46:02.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-03T00:46:03.875Z] $ docker top 6dd2618e66567f7237b41b95e487abbd21a08e3bc83e52c786725cc50ff9fcf0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T00:46:04.853Z] + make test [2022-06-03T00:46:04.853Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-03T00:46:06.302Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-03T00:47:02.973Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-03T00:47:07.301Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 56.0% of statements [2022-06-03T00:47:07.301Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T00:47:29.515Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T00:47:29.515Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T00:47:29.515Z] ./bin/test-attribution-txt.sh [2022-06-03T00:47:30.494Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-03T00:47:30.494Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-03T00:47:30.769Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-03T00:47:30.769Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-03T00:47:30.769Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-03T00:47:30.769Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-03T00:47:31.043Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-03T00:47:31.043Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-03T00:47:31.043Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-03T00:47:31.043Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-03T00:47:31.043Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-03T00:47:31.043Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-03T00:47:31.043Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-03T00:47:31.043Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-03T00:47:31.043Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-03T00:47:31.043Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-03T00:47:31.317Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-03T00:47:31.317Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-03T00:47:31.317Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-03T00:47:31.317Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-03T00:47:31.317Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-03T00:47:31.317Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-03T00:47:31.317Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-03T00:47:31.594Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-03T00:47:31.594Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-03T00:47:31.594Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-03T00:47:31.594Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-03T00:47:31.594Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-03T00:47:31.594Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-03T00:47:31.594Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-03T00:47:31.594Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-03T00:47:31.594Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-03T00:47:31.594Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-03T00:47:31.594Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-03T00:47:31.594Z] go: downloading golang.org/x/text v0.3.6 [2022-06-03T00:47:33.031Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-03T00:47:33.031Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-03T00:47:33.031Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-03T00:47:33.031Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-03T00:47:33.031Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-03T00:47:33.031Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-03T00:47:33.031Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-03T00:47:33.303Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-03T00:47:33.303Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-03T00:47:33.574Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-03T00:47:35.009Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-03T00:47:35.009Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-03T00:47:35.009Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-03T00:47:35.009Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-03T00:47:35.009Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-03T00:47:35.009Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-03T00:47:35.289Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-03T00:47:40.720Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-03T00:47:41.398Z] + go mod tidy [2022-06-03T00:47:41.672Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-03T00:47:41.672Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-03T00:47:41.672Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-03T00:47:41.944Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-03T00:47:41.944Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-03T00:47:41.944Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-03T00:47:41.944Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-03T00:47:41.944Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-03T00:47:41.944Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-03T00:47:41.944Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-03T00:47:41.944Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-03T00:47:42.247Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-03T00:47:42.247Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-03T00:47:42.247Z] go: downloading github.com/kr/text v0.2.0 [2022-06-03T00:47:42.247Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-03T00:47:42.247Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-03T00:47:42.247Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-03T00:47:42.247Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-03T00:47:42.247Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-03T00:47:42.567Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-03T00:47:42.567Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-03T00:47:42.567Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-03T00:47:42.849Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-03T00:47:42.849Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-03T00:47:42.882Z] $ docker stop --time=1 6dd2618e66567f7237b41b95e487abbd21a08e3bc83e52c786725cc50ff9fcf0 [2022-06-03T00:47:45.459Z] $ docker rm -f 6dd2618e66567f7237b41b95e487abbd21a08e3bc83e52c786725cc50ff9fcf0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T00:47:48.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T00:47:48.109Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T00:47:49.061Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T00:47:49.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T00:47:49.856Z] + ls -al . [2022-06-03T00:47:49.856Z] total 180 [2022-06-03T00:47:49.856Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 00:47 . [2022-06-03T00:47:49.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:44 .. [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 00:44 .dockerignore [2022-06-03T00:47:49.856Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:44 .git [2022-06-03T00:47:49.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 .github [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 3 00:44 .gitignore [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 3 00:44 Attribution.txt [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 3 00:44 CHANGELOG.md [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 3 00:44 Dockerfile [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:44 GOVERNANCE.md [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 00:44 Jenkinsfile [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:44 LICENSE [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 3 00:44 Makefile [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 3 00:44 OWNERS.md [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 3 00:44 README.md [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 00:36 VERSION [2022-06-03T00:47:49.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 bin [2022-06-03T00:47:49.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:44 cmd [2022-06-03T00:47:49.856Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 3 00:47 coverage.out [2022-06-03T00:47:49.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 driver [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 3 00:47 go.mod [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 3 00:44 go.sum [2022-06-03T00:47:49.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:44 snap [2022-06-03T00:47:49.856Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:44 vendor [2022-06-03T00:47:49.856Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:47:50.215Z] + 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=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 --label arch=arm64 --label version=2.1.1-dev.2 . [2022-06-03T00:47:51.649Z] Sending build context to Docker daemon 11.14MB [2022-06-03T00:47:51.649Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-03T00:47:51.649Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-03T00:47:51.649Z] ---> 54e0a14bd908 [2022-06-03T00:47:51.649Z] Step 3/24 : ARG MAKE='make build' [2022-06-03T00:47:51.649Z] ---> Running in 4996fe31d876 [2022-06-03T00:47:51.925Z] Removing intermediate container 4996fe31d876 [2022-06-03T00:47:51.925Z] ---> ab3de129a3fa [2022-06-03T00:47:51.925Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T00:47:52.198Z] ---> Running in 944a40906faf [2022-06-03T00:47:52.470Z] Removing intermediate container 944a40906faf [2022-06-03T00:47:52.470Z] ---> 1cfcb9c30fdc [2022-06-03T00:47:52.470Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T00:47:52.470Z] ---> Running in 21ce2c774d03 [2022-06-03T00:47:52.754Z] Removing intermediate container 21ce2c774d03 [2022-06-03T00:47:52.754Z] ---> 38f38c484925 [2022-06-03T00:47:52.754Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T00:47:52.754Z] ---> Running in 9a25cbcf465a [2022-06-03T00:47:54.731Z] Removing intermediate container 9a25cbcf465a [2022-06-03T00:47:54.731Z] ---> 232174c472d9 [2022-06-03T00:47:54.731Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T00:47:54.731Z] ---> Running in 6c185428bbb1 [2022-06-03T00:47:55.706Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T00:47:56.680Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T00:47:57.654Z] OK: 224 MiB in 56 packages [2022-06-03T00:47:58.629Z] Removing intermediate container 6c185428bbb1 [2022-06-03T00:47:58.629Z] ---> dc663aa659c5 [2022-06-03T00:47:58.629Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-03T00:47:58.629Z] ---> Running in 03ea976f989f [2022-06-03T00:47:58.905Z] Removing intermediate container 03ea976f989f [2022-06-03T00:47:58.905Z] ---> 644e3e765f9a [2022-06-03T00:47:58.905Z] Step 9/24 : COPY . . [2022-06-03T00:48:03.216Z] ---> cb6b67f78c89 [2022-06-03T00:48:03.216Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T00:48:03.216Z] ---> Running in c8a6e73283ea [2022-06-03T00:48:04.198Z] skipping... [2022-06-03T00:48:04.796Z] Removing intermediate container c8a6e73283ea [2022-06-03T00:48:04.796Z] ---> df1afeae3537 [2022-06-03T00:48:04.796Z] Step 11/24 : RUN $MAKE [2022-06-03T00:48:04.796Z] ---> Running in 85a5a520081e [2022-06-03T00:48:05.778Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.2" -o cmd/device-rest ./cmd [2022-06-03T00:48:52.795Z] Removing intermediate container 85a5a520081e [2022-06-03T00:48:52.795Z] ---> d9276ef49af5 [2022-06-03T00:48:52.795Z] Step 12/24 : FROM alpine:3.14 [2022-06-03T00:48:52.795Z] 3.14: Pulling from library/alpine [2022-06-03T00:48:52.795Z] 455c02918c45: Pulling fs layer [2022-06-03T00:48:52.795Z] 455c02918c45: Download complete [2022-06-03T00:48:53.074Z] 455c02918c45: Pull complete [2022-06-03T00:48:53.074Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T00:48:53.074Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T00:48:53.074Z] ---> ac73e934f311 [2022-06-03T00:48:53.074Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-03T00:48:53.074Z] ---> Running in ba12f1c54efc [2022-06-03T00:48:53.676Z] Removing intermediate container ba12f1c54efc [2022-06-03T00:48:53.676Z] ---> 76ec09b8fe2f [2022-06-03T00:48:53.676Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-03T00:48:53.676Z] ---> Running in 02f04676e2d5 [2022-06-03T00:48:53.954Z] Removing intermediate container 02f04676e2d5 [2022-06-03T00:48:53.954Z] ---> 6149449038a0 [2022-06-03T00:48:53.954Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T00:48:53.954Z] ---> Running in 2688cfdfb0e8 [2022-06-03T00:48:55.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T00:48:55.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T00:48:56.672Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T00:48:56.672Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T00:48:56.672Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T00:48:56.672Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T00:48:56.672Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T00:48:56.672Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T00:48:56.672Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T00:48:56.672Z] OK: 8 MiB in 20 packages [2022-06-03T00:48:57.660Z] Removing intermediate container 2688cfdfb0e8 [2022-06-03T00:48:57.660Z] ---> 66c9d9ed6d21 [2022-06-03T00:48:57.660Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-03T00:48:59.108Z] ---> 073416ca2fe4 [2022-06-03T00:48:59.108Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-03T00:48:59.399Z] ---> e865efa13538 [2022-06-03T00:48:59.399Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-03T00:49:00.008Z] ---> 12b4a7efa130 [2022-06-03T00:49:00.008Z] Step 19/24 : EXPOSE 59986 [2022-06-03T00:49:00.285Z] ---> Running in 8435a77353dd [2022-06-03T00:49:00.557Z] Removing intermediate container 8435a77353dd [2022-06-03T00:49:00.557Z] ---> 6a6e23f5118c [2022-06-03T00:49:00.557Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-03T00:49:00.557Z] ---> Running in b7d116a3663f [2022-06-03T00:49:01.163Z] Removing intermediate container b7d116a3663f [2022-06-03T00:49:01.163Z] ---> e0f9bdbb316d [2022-06-03T00:49:01.163Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-03T00:49:01.163Z] ---> Running in ce1a878988dc [2022-06-03T00:49:01.436Z] Removing intermediate container ce1a878988dc [2022-06-03T00:49:01.436Z] ---> da32c356065e [2022-06-03T00:49:01.436Z] Step 22/24 : LABEL arch=arm64 [2022-06-03T00:49:01.436Z] ---> Running in 0102c72668c2 [2022-06-03T00:49:01.718Z] Removing intermediate container 0102c72668c2 [2022-06-03T00:49:01.718Z] ---> eb96ebee7613 [2022-06-03T00:49:01.718Z] Step 23/24 : LABEL git_sha=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:49:01.996Z] ---> Running in 3b61334e3d47 [2022-06-03T00:49:02.271Z] Removing intermediate container 3b61334e3d47 [2022-06-03T00:49:02.271Z] ---> b27ec0021e61 [2022-06-03T00:49:02.271Z] Step 24/24 : LABEL version=2.1.1-dev.2 [2022-06-03T00:49:02.271Z] ---> Running in a39902e750ff [2022-06-03T00:49:02.543Z] Removing intermediate container a39902e750ff [2022-06-03T00:49:02.543Z] ---> 2180102784f4 [2022-06-03T00:49:02.543Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T00:49:02.814Z] Successfully built 2180102784f4 [2022-06-03T00:49:02.814Z] 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-03T00:49:02.934Z] provisioning config files... [2022-06-03T00:49:02.955Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config2663123646166680547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:49:03.308Z] ---> docker-login.sh [2022-06-03T00:49:03.308Z] nexus3.edgexfoundry.org:10001 [2022-06-03T00:49:03.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:49:03.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:49:03.857Z] Configure a credential helper to remove this warning. See [2022-06-03T00:49:03.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:49:03.857Z] [2022-06-03T00:49:03.857Z] Login Succeeded [2022-06-03T00:49:03.857Z] nexus3.edgexfoundry.org:10002 [2022-06-03T00:49:04.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:49:04.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:49:04.404Z] Configure a credential helper to remove this warning. See [2022-06-03T00:49:04.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:49:04.404Z] [2022-06-03T00:49:04.404Z] Login Succeeded [2022-06-03T00:49:04.404Z] nexus3.edgexfoundry.org:10003 [2022-06-03T00:49:04.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:49:04.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:49:04.943Z] Configure a credential helper to remove this warning. See [2022-06-03T00:49:04.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:49:04.943Z] [2022-06-03T00:49:04.943Z] Login Succeeded [2022-06-03T00:49:04.943Z] nexus3.edgexfoundry.org:10004 [2022-06-03T00:49:05.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:49:05.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:49:05.212Z] Configure a credential helper to remove this warning. See [2022-06-03T00:49:05.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:49:05.212Z] [2022-06-03T00:49:05.212Z] Login Succeeded [2022-06-03T00:49:05.483Z] docker.io [2022-06-03T00:49:05.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:49:06.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:49:06.025Z] Configure a credential helper to remove this warning. See [2022-06-03T00:49:06.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:49:06.025Z] [2022-06-03T00:49:06.025Z] Login Succeeded [2022-06-03T00:49:06.025Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T00:49:06.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-03T00:49:06.076Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T00:49:06.099Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-03T00:49:06.099Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:49:06.099Z] 2.1.1-dev.2 [2022-06-03T00:49:06.099Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [2022-06-03T00:49:06.099Z] jakarta [2022-06-03T00:49:06.099Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:06.475Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:06.839Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:49:06.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-03T00:49:06.839Z] eda38f02a5f9: Preparing [2022-06-03T00:49:06.839Z] 6ccbd0b859b5: Preparing [2022-06-03T00:49:06.839Z] 579f0ad625cf: Preparing [2022-06-03T00:49:06.839Z] 261b6554ff5e: Preparing [2022-06-03T00:49:06.839Z] f73e7dbfee58: Preparing [2022-06-03T00:49:07.111Z] f73e7dbfee58: Layer already exists [2022-06-03T00:49:07.111Z] 6ccbd0b859b5: Pushed [2022-06-03T00:49:07.111Z] eda38f02a5f9: Pushed [2022-06-03T00:49:07.705Z] 261b6554ff5e: Pushed [2022-06-03T00:49:09.695Z] 579f0ad625cf: Pushed [2022-06-03T00:49:09.976Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:10.357Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:10.740Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.2 [2022-06-03T00:49:10.740Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-03T00:49:10.740Z] eda38f02a5f9: Preparing [2022-06-03T00:49:10.740Z] 6ccbd0b859b5: Preparing [2022-06-03T00:49:10.740Z] 579f0ad625cf: Preparing [2022-06-03T00:49:10.740Z] 261b6554ff5e: Preparing [2022-06-03T00:49:10.740Z] f73e7dbfee58: Preparing [2022-06-03T00:49:10.740Z] f73e7dbfee58: Layer already exists [2022-06-03T00:49:10.740Z] 579f0ad625cf: Layer already exists [2022-06-03T00:49:10.740Z] eda38f02a5f9: Layer already exists [2022-06-03T00:49:10.740Z] 6ccbd0b859b5: Layer already exists [2022-06-03T00:49:10.740Z] 261b6554ff5e: Layer already exists [2022-06-03T00:49:11.018Z] 2.1.1-dev.2: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:11.397Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:11.763Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [2022-06-03T00:49:11.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-03T00:49:11.763Z] eda38f02a5f9: Preparing [2022-06-03T00:49:11.763Z] 6ccbd0b859b5: Preparing [2022-06-03T00:49:11.763Z] 579f0ad625cf: Preparing [2022-06-03T00:49:11.763Z] 261b6554ff5e: Preparing [2022-06-03T00:49:11.763Z] f73e7dbfee58: Preparing [2022-06-03T00:49:11.763Z] f73e7dbfee58: Layer already exists [2022-06-03T00:49:11.763Z] 6ccbd0b859b5: Layer already exists [2022-06-03T00:49:11.763Z] 579f0ad625cf: Layer already exists [2022-06-03T00:49:11.763Z] 261b6554ff5e: Layer already exists [2022-06-03T00:49:11.763Z] eda38f02a5f9: Layer already exists [2022-06-03T00:49:12.033Z] 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:12.418Z] + 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-03T00:49:12.775Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [2022-06-03T00:49:12.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-03T00:49:12.775Z] eda38f02a5f9: Preparing [2022-06-03T00:49:12.775Z] 6ccbd0b859b5: Preparing [2022-06-03T00:49:12.775Z] 579f0ad625cf: Preparing [2022-06-03T00:49:12.775Z] 261b6554ff5e: Preparing [2022-06-03T00:49:12.775Z] f73e7dbfee58: Preparing [2022-06-03T00:49:12.775Z] eda38f02a5f9: Layer already exists [2022-06-03T00:49:12.775Z] 6ccbd0b859b5: Layer already exists [2022-06-03T00:49:12.775Z] 579f0ad625cf: Layer already exists [2022-06-03T00:49:12.775Z] 261b6554ff5e: Layer already exists [2022-06-03T00:49:12.775Z] f73e7dbfee58: Layer already exists [2022-06-03T00:49:13.046Z] jakarta: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-03T00:49:13.106Z] ===================================================== [Pipeline] echo [2022-06-03T00:49:13.114Z] taggedImages: [2022-06-03T00:49:13.114Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [2022-06-03T00:49:13.114Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.2 [2022-06-03T00:49:13.114Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [2022-06-03T00:49:13.114Z] - 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-03T00:49:13.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T00:49:13.488Z] [2022-06-03T00:49:13.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:13.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T00:49:14.114Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T00:49:14.114Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T00:49:14.114Z] 04944245beec: Pulling fs layer [2022-06-03T00:49:14.114Z] 699f458cf7ca: Pulling fs layer [2022-06-03T00:49:14.114Z] 765212b225bb: Pulling fs layer [2022-06-03T00:49:14.114Z] f23df028b6ca: Pulling fs layer [2022-06-03T00:49:14.114Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T00:49:14.114Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T00:49:14.114Z] 765212b225bb: Waiting [2022-06-03T00:49:14.114Z] f23df028b6ca: Waiting [2022-06-03T00:49:14.114Z] d65c8cfc05b1: Waiting [2022-06-03T00:49:14.114Z] 2437ff75d9bd: Waiting [2022-06-03T00:49:14.114Z] 04944245beec: Verifying Checksum [2022-06-03T00:49:14.114Z] 04944245beec: Download complete [2022-06-03T00:49:14.114Z] 765212b225bb: Verifying Checksum [2022-06-03T00:49:14.114Z] 765212b225bb: Download complete [2022-06-03T00:49:14.114Z] f23df028b6ca: Verifying Checksum [2022-06-03T00:49:14.114Z] f23df028b6ca: Download complete [2022-06-03T00:49:14.389Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T00:49:14.389Z] d65c8cfc05b1: Download complete [2022-06-03T00:49:14.389Z] 699f458cf7ca: Verifying Checksum [2022-06-03T00:49:14.389Z] 699f458cf7ca: Download complete [2022-06-03T00:49:14.664Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T00:49:14.664Z] 8998bd30e6a1: Download complete [2022-06-03T00:49:17.289Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T00:49:17.289Z] 2437ff75d9bd: Download complete [2022-06-03T00:49:19.262Z] 8998bd30e6a1: Pull complete [2022-06-03T00:49:19.534Z] 04944245beec: Pull complete [2022-06-03T00:49:20.959Z] 699f458cf7ca: Pull complete [2022-06-03T00:49:21.232Z] 765212b225bb: Pull complete [2022-06-03T00:49:21.829Z] f23df028b6ca: Pull complete [2022-06-03T00:49:22.099Z] d65c8cfc05b1: Pull complete [2022-06-03T00:49:37.188Z] 2437ff75d9bd: Pull complete [2022-06-03T00:49:37.188Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T00:49:37.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T00:49:37.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:49:37.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-875 does not seem to be running inside a container [2022-06-03T00:49:37.564Z] $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-03T00:49:40.336Z] $ docker top 00b98f5743fdf366e0102017355fbb6c315dcf522edc2f816dc897ecc1f2a1ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:49:41.268Z] ---> job-cost.sh [2022-06-03T00:49:41.268Z] lf-activate-venv: SKIPPING [2022-06-03T00:49:41.268Z] INFO: No Stack... [2022-06-03T00:49:41.864Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T00:49:42.458Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T00:49:43.149Z] + cat /w/workspace/device-rest-go/6/archives/cost.csv [2022-06-03T00:49:43.149Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T00:49:43.258Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [2022-06-03T00:49:43.263Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] did not exist. Created. [2022-06-03T00:49:43.263Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T00:49:43.959Z] /w/workspace/device-rest-go/6@tmp/durable-d78f5933/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T00:49:44.641Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T00:49:44.675Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T00:49:44.933Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T00:49:44.939Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T00:49:44.964Z] $ docker stop --time=1 00b98f5743fdf366e0102017355fbb6c315dcf522edc2f816dc897ecc1f2a1ed [2022-06-03T00:49:46.550Z] $ docker rm -f 00b98f5743fdf366e0102017355fbb6c315dcf522edc2f816dc897ecc1f2a1ed [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-03T00:49:47.014Z] provisioning config files... [2022-06-03T00:49:47.023Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3356611678445982306tmp [Pipeline] { [Pipeline] sh [2022-06-03T00:49:47.321Z] + set +x [2022-06-03T00:49:47.321Z] + curl -s https://codecov.io/bash [2022-06-03T00:49:47.321Z] + bash -s -- [2022-06-03T00:49:47.321Z] [2022-06-03T00:49:47.321Z] _____ _ [2022-06-03T00:49:47.321Z] / ____| | | [2022-06-03T00:49:47.321Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T00:49:47.321Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T00:49:47.321Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T00:49:47.321Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T00:49:47.321Z] Bash-1.0.6 [2022-06-03T00:49:47.321Z] [2022-06-03T00:49:47.321Z] [2022-06-03T00:49:47.321Z] ==> git version 2.25.1 found [2022-06-03T00:49:47.321Z] ==> 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-03T00:49:47.321Z] Release-Date: 2020-01-08 [2022-06-03T00:49:47.321Z] 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-03T00:49:47.321Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-03T00:49:47.321Z] ==> Jenkins CI detected. [2022-06-03T00:49:47.321Z] current dir:  /w/workspace/exfoundry_device-rest-go_jakarta [2022-06-03T00:49:47.321Z] project root: . [2022-06-03T00:49:47.321Z] --> token set from env [2022-06-03T00:49:47.321Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T00:49:47.321Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T00:49:47.321Z] ==> Python coveragepy not found [2022-06-03T00:49:47.321Z] ==> Searching for coverage reports in: [2022-06-03T00:49:47.321Z] + . [2022-06-03T00:49:47.321Z] -> Found 1 reports [2022-06-03T00:49:47.321Z] ==> Detecting git/mercurial file structure [2022-06-03T00:49:47.321Z] ==> Reading reports [2022-06-03T00:49:47.321Z] + ./coverage.out bytes=9215 [2022-06-03T00:49:47.321Z] ==> Appending adjustments [2022-06-03T00:49:47.321Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T00:49:47.581Z] + Found adjustments [2022-06-03T00:49:47.581Z] ==> Gzipping contents [2022-06-03T00:49:47.581Z] 12K /tmp/codecov.22GKpx.gz [2022-06-03T00:49:47.581Z] ==> Uploading reports [2022-06-03T00:49:47.581Z] url: https://codecov.io [2022-06-03T00:49:47.581Z] query: branch=jakarta&commit=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-03T00:49:47.581Z] -> Pinging Codecov [2022-06-03T00:49:47.581Z] 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=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-03T00:49:47.842Z] -> Uploading to [2022-06-03T00:49:47.842Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/4E5D53B4F1F92C436F7061BF334D961C/6ebceb65a7426d72f493083b4c0a3b77c8bc8a32/2f83139a-cc67-47ab-8fe1-fa695cc5f592.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T004947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=018ca7f02eccc79e1e860497c3e698af1a7983b61b1dd7d1463af58b8bdfffab [2022-06-03T00:49:47.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T00:49:47.842Z] Dload Upload Total Spent Left Speed [2022-06-03T00:49:48.102Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 38706 --:--:-- --:--:-- --:--:-- 38706 [2022-06-03T00:49:48.102Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] } [2022-06-03T00:49:48.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-03T00:49:48.214Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-03T00:49:48.224Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:49:48.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-03T00:49:48.524Z] [2022-06-03T00:49:48.524Z] 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-03T00:49:48.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-03T00:49:48.826Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-03T00:49:48.826Z] df9b9388f04a: Pulling fs layer [2022-06-03T00:49:48.826Z] 52dc419b0ee2: Pulling fs layer [2022-06-03T00:49:48.826Z] 25bc292e5bac: Pulling fs layer [2022-06-03T00:49:48.826Z] 114826534d7a: Pulling fs layer [2022-06-03T00:49:48.826Z] 4657fd5d0bcf: Pulling fs layer [2022-06-03T00:49:48.826Z] 6ad1cebc031e: Pulling fs layer [2022-06-03T00:49:48.826Z] 8a3aa393b2d8: Pulling fs layer [2022-06-03T00:49:48.826Z] 114826534d7a: Waiting [2022-06-03T00:49:48.826Z] 4657fd5d0bcf: Waiting [2022-06-03T00:49:48.826Z] 6ad1cebc031e: Waiting [2022-06-03T00:49:48.826Z] 8a3aa393b2d8: Waiting [2022-06-03T00:49:48.826Z] 25bc292e5bac: Verifying Checksum [2022-06-03T00:49:48.826Z] 25bc292e5bac: Download complete [2022-06-03T00:49:48.826Z] 52dc419b0ee2: Verifying Checksum [2022-06-03T00:49:48.826Z] 52dc419b0ee2: Download complete [2022-06-03T00:49:48.826Z] 4657fd5d0bcf: Verifying Checksum [2022-06-03T00:49:48.826Z] 4657fd5d0bcf: Download complete [2022-06-03T00:49:48.826Z] df9b9388f04a: Verifying Checksum [2022-06-03T00:49:48.826Z] df9b9388f04a: Download complete [2022-06-03T00:49:49.101Z] df9b9388f04a: Pull complete [2022-06-03T00:49:49.101Z] 6ad1cebc031e: Verifying Checksum [2022-06-03T00:49:49.101Z] 6ad1cebc031e: Download complete [2022-06-03T00:49:49.101Z] 52dc419b0ee2: Pull complete [2022-06-03T00:49:49.101Z] 25bc292e5bac: Pull complete [2022-06-03T00:49:49.672Z] 114826534d7a: Verifying Checksum [2022-06-03T00:49:49.672Z] 114826534d7a: Download complete [2022-06-03T00:49:49.672Z] 8a3aa393b2d8: Verifying Checksum [2022-06-03T00:49:49.672Z] 8a3aa393b2d8: Download complete [2022-06-03T00:49:52.962Z] 114826534d7a: Pull complete [2022-06-03T00:49:52.962Z] 4657fd5d0bcf: Pull complete [2022-06-03T00:49:53.221Z] 6ad1cebc031e: Pull complete [2022-06-03T00:49:56.519Z] 8a3aa393b2d8: Pull complete [2022-06-03T00:49:56.519Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-03T00:49:56.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-03T00:49:56.519Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:49:56.609Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:49:56.648Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-03T00:49:58.707Z] $ docker top 23b074b3f102a8b5e400a13680745adb1872ab4d606d6b55e93653590433633f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-03T00:49:58.779Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-06-03T00:49:59.060Z] + set -o pipefail [2022-06-03T00:49:59.060Z] + snyk monitor '--org=edgex-jenkins' [2022-06-03T00:50:00.971Z] [2022-06-03T00:50:00.971Z] Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... [2022-06-03T00:50:00.971Z] [2022-06-03T00:50:00.971Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/29ecf877-d5bd-47c2-9ab1-2dca45172682 [2022-06-03T00:50:00.971Z] [2022-06-03T00:50:00.971Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-06-03T00:50:00.971Z] [2022-06-03T00:50:00.971Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-03T00:50:00.971Z] [2022-06-03T00:50:01.232Z] [Pipeline] } [2022-06-03T00:50:01.257Z] $ docker stop --time=1 23b074b3f102a8b5e400a13680745adb1872ab4d606d6b55e93653590433633f [2022-06-03T00:50:02.659Z] $ docker rm -f 23b074b3f102a8b5e400a13680745adb1872ab4d606d6b55e93653590433633f [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-03T00:50:03.158Z] + git log --format=format:%s -1 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] sh [2022-06-03T00:50:03.451Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T00:50:03.451Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:50:03.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T00:50:03.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:50:03.822Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:50:03.859Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-03T00:50:04.246Z] $ docker top 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T00:50:04.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T00:50:04.338Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T00:50:04.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T00:50:04.466Z] $ docker exec 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 ssh-agent [2022-06-03T00:50:04.577Z] SSH_AUTH_SOCK=/tmp/ssh-UCojyZ1r5AhN/agent.33 [2022-06-03T00:50:04.577Z] SSH_AGENT_PID=40 [2022-06-03T00:50:04.583Z] Running ssh-add (command line suppressed) [2022-06-03T00:50:04.701Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_5111517018090926937.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_5111517018090926937.key) [2022-06-03T00:50:04.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T00:50:04.997Z] + git semver tag [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,169 [run_tag] DEBUG tag force:False [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,169 [check_head_tag] DEBUG check head tag [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,170 [execute] INFO git cat-file --batch-check [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,173 [execute] INFO git cat-file --batch [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,180 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,180 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,181 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-03T00:50:05.256Z] 2022-06-03 00:50:05,185 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:05.256Z] 2.1.1-dev.2 [Pipeline] } [2022-06-03T00:50:05.268Z] $ docker exec --env ******** --env ******** 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 ssh-agent -k [2022-06-03T00:50:05.376Z] unset SSH_AUTH_SOCK; [2022-06-03T00:50:05.376Z] unset SSH_AGENT_PID; [2022-06-03T00:50:05.377Z] echo Agent pid 40 killed; [2022-06-03T00:50:05.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T00:50:05.746Z] + git semver [Pipeline] } [2022-06-03T00:50:06.021Z] $ docker stop --time=1 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 [2022-06-03T00:50:07.315Z] $ docker rm -f 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:50:07.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-03T00:50:07.718Z] [2022-06-03T00:50:07.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:50:08.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-03T00:50:08.026Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-03T00:50:08.026Z] ab5ef0e58194: Pulling fs layer [2022-06-03T00:50:08.026Z] 9712f1f96733: Pulling fs layer [2022-06-03T00:50:08.026Z] 63f879dbbcfc: Pulling fs layer [2022-06-03T00:50:08.026Z] 0d9ebad4ef96: Pulling fs layer [2022-06-03T00:50:08.026Z] e9a5061849ea: Pulling fs layer [2022-06-03T00:50:08.026Z] d747dcd14b5f: Pulling fs layer [2022-06-03T00:50:08.026Z] 2de7ff778b66: Pulling fs layer [2022-06-03T00:50:08.026Z] 0d9ebad4ef96: Waiting [2022-06-03T00:50:08.026Z] e9a5061849ea: Waiting [2022-06-03T00:50:08.026Z] d747dcd14b5f: Waiting [2022-06-03T00:50:08.026Z] 2de7ff778b66: Waiting [2022-06-03T00:50:08.026Z] 9712f1f96733: Verifying Checksum [2022-06-03T00:50:08.026Z] 9712f1f96733: Download complete [2022-06-03T00:50:08.617Z] 63f879dbbcfc: Verifying Checksum [2022-06-03T00:50:08.617Z] 63f879dbbcfc: Download complete [2022-06-03T00:50:08.617Z] e9a5061849ea: Verifying Checksum [2022-06-03T00:50:08.617Z] d747dcd14b5f: Verifying Checksum [2022-06-03T00:50:08.617Z] d747dcd14b5f: Download complete [2022-06-03T00:50:08.617Z] 0d9ebad4ef96: Verifying Checksum [2022-06-03T00:50:08.617Z] 0d9ebad4ef96: Download complete [2022-06-03T00:50:08.878Z] ab5ef0e58194: Verifying Checksum [2022-06-03T00:50:08.878Z] ab5ef0e58194: Download complete [2022-06-03T00:50:08.878Z] 2de7ff778b66: Verifying Checksum [2022-06-03T00:50:08.878Z] 2de7ff778b66: Download complete [2022-06-03T00:50:11.410Z] ab5ef0e58194: Pull complete [2022-06-03T00:50:11.410Z] 9712f1f96733: Pull complete [2022-06-03T00:50:11.977Z] 63f879dbbcfc: Pull complete [2022-06-03T00:50:16.173Z] 0d9ebad4ef96: Pull complete [2022-06-03T00:50:16.173Z] e9a5061849ea: Pull complete [2022-06-03T00:50:16.173Z] d747dcd14b5f: Pull complete [2022-06-03T00:50:17.107Z] 2de7ff778b66: Pull complete [2022-06-03T00:50:17.107Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-03T00:50:17.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-03T00:50:17.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:50:17.201Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:50:17.236Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-03T00:50:19.617Z] $ docker top 1ac86a6d30008313870e9b85d4986c130c2e4703911beacd8bb544baaadcbdee -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-03T00:50:19.691Z] provisioning config files... [2022-06-03T00:50:19.701Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4920234674212413240tmp [2022-06-03T00:50:19.712Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8472213109039699205tmp [2022-06-03T00:50:19.723Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8404083883384613064tmp [Pipeline] { [Pipeline] echo [2022-06-03T00:50:19.738Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:20.023Z] ---> sigul-configuration.sh [2022-06-03T00:50:20.024Z] gpg: directory `/root/.gnupg' created [2022-06-03T00:50:20.024Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-03T00:50:20.024Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-03T00:50:20.024Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-03T00:50:20.024Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-03T00:50:20.024Z] gpg: CAST5 encrypted data [2022-06-03T00:50:20.024Z] gpg: encrypted with 1 passphrase [2022-06-03T00:50:20.024Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-03T00:50:20.315Z] + mkdir /home/jenkins [2022-06-03T00:50:20.315Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-03T00:50:20.605Z] + 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-03T00:50:20.614Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:20.901Z] ---> sigul-install.sh [2022-06-03T00:50:20.901Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-03T00:50:21.191Z] + git tag --list [2022-06-03T00:50:21.191Z] v1.0.0 [2022-06-03T00:50:21.191Z] v1.1.0 [2022-06-03T00:50:21.191Z] v1.1.1 [2022-06-03T00:50:21.191Z] v1.1.2 [2022-06-03T00:50:21.191Z] v1.2.0 [2022-06-03T00:50:21.191Z] v1.2.1 [2022-06-03T00:50:21.191Z] v2.0.0 [2022-06-03T00:50:21.191Z] v2.1.0 [2022-06-03T00:50:21.191Z] v2.1.1-dev.1 [2022-06-03T00:50:21.191Z] v2.1.1-dev.2 [2022-06-03T00:50:21.191Z] v2.2.0 [2022-06-03T00:50:21.191Z] v2.2.1-dev.1 [2022-06-03T00:50:21.191Z] v2.2.1-dev.2 [Pipeline] sh [2022-06-03T00:50:21.480Z] + lftools sign git-tag v2.1.1-dev.2 [2022-06-03T00:50:22.051Z] Signing Git tag with Sigul... [2022-06-03T00:50:22.051Z] Signing v2.1.1-dev.2 [Pipeline] echo [2022-06-03T00:50:22.321Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:22.611Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-03T00:50:22.619Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-03T00:50:22.639Z] $ docker stop --time=1 1ac86a6d30008313870e9b85d4986c130c2e4703911beacd8bb544baaadcbdee [2022-06-03T00:50:23.962Z] $ docker rm -f 1ac86a6d30008313870e9b85d4986c130c2e4703911beacd8bb544baaadcbdee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-03T00:50:24.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T00:50:24.383Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:50:24.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T00:50:24.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:50:24.769Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:50:24.808Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-03T00:50:25.214Z] $ docker top 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T00:50:25.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T00:50:25.305Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T00:50:25.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T00:50:25.445Z] $ docker exec 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 ssh-agent [2022-06-03T00:50:25.569Z] SSH_AUTH_SOCK=/tmp/ssh-d9uia7rjjlbm/agent.32 [2022-06-03T00:50:25.569Z] SSH_AGENT_PID=39 [2022-06-03T00:50:25.575Z] Running ssh-add (command line suppressed) [2022-06-03T00:50:25.700Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1008178389951818109.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1008178389951818109.key) [2022-06-03T00:50:25.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T00:50:26.001Z] + git semver bump pre [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,197 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,197 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,197 [bump_version] DEBUG bumped version:2.1.1-dev.3 [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,197 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:True [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,197 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,197 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,200 [execute] INFO git cat-file --batch-check [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,200 [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-03T00:50:26.261Z] 2022-06-03 00:50:26,205 [execute] INFO git cat-file --batch [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T00:50:26.261Z] 2022-06-03 00:50:26,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:26.261Z] 2.1.1-dev.3 [Pipeline] } [2022-06-03T00:50:26.274Z] $ docker exec --env ******** --env ******** 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 ssh-agent -k [2022-06-03T00:50:26.403Z] unset SSH_AUTH_SOCK; [2022-06-03T00:50:26.404Z] unset SSH_AGENT_PID; [2022-06-03T00:50:26.404Z] echo Agent pid 39 killed; [2022-06-03T00:50:26.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T00:50:26.755Z] + git semver [Pipeline] } [2022-06-03T00:50:27.037Z] $ docker stop --time=1 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 [2022-06-03T00:50:28.335Z] $ docker rm -f 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T00:50:28.689Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T00:50:28.689Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:50:28.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T00:50:28.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:50:29.069Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:50:29.106Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-03T00:50:29.507Z] $ docker top 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T00:50:29.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T00:50:29.603Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T00:50:29.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T00:50:29.736Z] $ docker exec 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 ssh-agent [2022-06-03T00:50:29.856Z] SSH_AUTH_SOCK=/tmp/ssh-TLgm9t5ytZ7C/agent.33 [2022-06-03T00:50:29.856Z] SSH_AGENT_PID=39 [2022-06-03T00:50:29.861Z] Running ssh-add (command line suppressed) [2022-06-03T00:50:29.968Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6694072118728089507.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6694072118728089507.key) [2022-06-03T00:50:29.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T00:50:30.268Z] + git semver push [2022-06-03T00:50:30.528Z] 2022-06-03 00:50:30,442 [run_push] DEBUG push [2022-06-03T00:50:30.528Z] 2022-06-03 00:50:30,442 [execute] INFO git cat-file --batch-check [2022-06-03T00:50:30.529Z] 2022-06-03 00:50:30,443 [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-03T00:50:30.529Z] 2022-06-03 00:50:30,446 [execute] INFO git rev-list 8f81ed58377c233876ad3b52d1d8c0edb5f5a0a8 -- [2022-06-03T00:50:30.529Z] 2022-06-03 00:50:30,446 [execute] DEBUG Popen(['git', 'rev-list', '8f81ed58377c233876ad3b52d1d8c0edb5f5a0a8', '--'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-03T00:50:30.529Z] 2022-06-03 00:50:30,453 [execute] INFO git fetch -v origin [2022-06-03T00:50:30.529Z] 2022-06-03 00:50:30,453 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-03T00:50:31.100Z] 2022-06-03 00:50:30,916 [run_push] DEBUG no remote changes detected [2022-06-03T00:50:31.100Z] 2022-06-03 00:50:30,916 [execute] INFO git push origin semver [2022-06-03T00:50:31.100Z] 2022-06-03 00:50:30,916 [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-03T00:50:31.671Z] 2022-06-03 00:50:31,612 [run_push] DEBUG push all version tags [2022-06-03T00:50:31.671Z] 2022-06-03 00:50:31,613 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-03T00:50:31.671Z] 2022-06-03 00:50:31,613 [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-03T00:50:32.611Z] 2022-06-03 00:50:32,263 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-03T00:50:32.611Z] 2.1.1-dev.3 [Pipeline] } [2022-06-03T00:50:32.624Z] $ docker exec --env ******** --env ******** 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 ssh-agent -k [2022-06-03T00:50:32.732Z] unset SSH_AUTH_SOCK; [2022-06-03T00:50:32.732Z] unset SSH_AGENT_PID; [2022-06-03T00:50:32.732Z] echo Agent pid 39 killed; [2022-06-03T00:50:32.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T00:50:33.042Z] + git semver [Pipeline] } [2022-06-03T00:50:33.318Z] $ docker stop --time=1 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 [2022-06-03T00:50:34.624Z] $ docker rm -f 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 [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-03T00:50:35.170Z] + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] [2022-06-03T00:50:35.170Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-03T00:50:35.170Z] total 16 [2022-06-03T00:50:35.170Z] drwxr-xr-x 3 root root 4096 Jun 3 00:37 . [2022-06-03T00:50:35.170Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 3 00:50 .. [2022-06-03T00:50:35.170Z] drwxr-xr-x 2 root root 4096 Jun 3 00:37 cost [2022-06-03T00:50:35.170Z] -rw-r--r-- 1 root root 86 Jun 3 00:37 cost.csv [2022-06-03T00:50:35.170Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-03T00:50:35.170Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-03T00:50:35.170Z] total 16 [2022-06-03T00:50:35.170Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:37 . [2022-06-03T00:50:35.170Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 3 00:50 .. [2022-06-03T00:50:35.170Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 00:37 cost [2022-06-03T00:50:35.170Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 3 00:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:35.462Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:36.315Z] ---> package-listing.sh [2022-06-03T00:50:36.315Z] ++ facter osfamily [2022-06-03T00:50:36.315Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T00:50:36.573Z] + OS_FAMILY=debian [2022-06-03T00:50:36.573Z] + workspace=/w/workspace/exfoundry_device-rest-go_jakarta [2022-06-03T00:50:36.573Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T00:50:36.573Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T00:50:36.573Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T00:50:36.573Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T00:50:36.573Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-03T00:50:36.573Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T00:50:36.573Z] + case "${OS_FAMILY}" in [2022-06-03T00:50:36.573Z] + dpkg -l [2022-06-03T00:50:36.573Z] + grep '^ii' [2022-06-03T00:50:36.573Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T00:50:36.573Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T00:50:36.573Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T00:50:36.573Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-03T00:50:36.573Z] + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [2022-06-03T00:50:36.573Z] + 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-03T00:50:36.581Z] 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-03T00:50:36.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:50:37.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T00:50:37.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:50:37.495Z] prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container [2022-06-03T00:50:37.529Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T00:50:37.767Z] $ docker top b814072c651073190707846fc255b90c783fb060d6b27db6a8bc52432abefa07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T00:50:38.115Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T00:50:38.397Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T00:50:38.681Z] + ls /var/log/sa-host [2022-06-03T00:50:38.682Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T00:50:38.744Z] provisioning config files... [2022-06-03T00:50:38.752Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config9079654342756227013tmp [Pipeline] { [Pipeline] echo [2022-06-03T00:50:38.767Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:39.047Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T00:50:39.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:39.374Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T00:50:39.383Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:39.670Z] ---> sudo-logs.sh [2022-06-03T00:50:39.670Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T00:50:39.701Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:39.988Z] ---> job-cost.sh [2022-06-03T00:50:39.988Z] lf-activate-venv: SKIPPING [2022-06-03T00:50:39.988Z] DEBUG: total: 0.2199999988079071 [2022-06-03T00:50:39.988Z] INFO: Retrieving Stack Cost... [2022-06-03T00:50:40.557Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T00:50:41.127Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T00:50:41.138Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:50:41.425Z] ---> logs-deploy.sh [2022-06-03T00:50:41.425Z] lf-activate-venv: SKIPPING [2022-06-03T00:50:41.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/6 [2022-06-03T00:50:41.425Z] INFO: archiving workspace using pattern(s): [2022-06-03T00:50:42.365Z] Archives upload complete. [2022-06-03T00:50:42.365Z] INFO: archiving logs to Nexus