Started by upstream project "edgexfoundry/cd-management/release-lts" build number 37 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d31d9e569ccd1f7332138296cadf54917855040 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-ssh2700187104971688691.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14303407305453987165.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3844100254479644373.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh1055313474746389598.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-ssh2135134984184138916.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1794 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 2d31d9e569ccd1f7332138296cadf54917855040 (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 2d31d9e569ccd1f7332138296cadf54917855040 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.1 @c825c9e" > git rev-list --no-walk 2d31d9e569ccd1f7332138296cadf54917855040 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-08T19:31:30.705Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-08T19:31:30.776Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T19:31:30.796Z] ========================================================= [2022-06-08T19:31:30.796Z] EdgeX Global Pipelines Version Info [2022-06-08T19:31:30.796Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:31:31.550Z] ------------------- [2022-06-08T19:31:31.550Z] stable info: [2022-06-08T19:31:31.550Z] ------------------- [2022-06-08T19:31:31.550Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-08T19:31:31.550Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T19:31:31.550Z] Message: update stable to v1.0.234 [2022-06-08T19:31:32.123Z] ------------------- [2022-06-08T19:31:32.123Z] experimental info: [2022-06-08T19:31:32.123Z] ------------------- [2022-06-08T19:31:32.123Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-08T19:31:32.123Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T19:31:32.123Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-08T19:31:32.331Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-08T19:31:32.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-08T19:31:32.355Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-08T19:31:32.368Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-08T19:31:32.379Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-08T19:31:32.390Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-08T19:31:32.402Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-08T19:31:32.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-08T19:31:32.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-08T19:31:32.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-08T19:31:32.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-08T19:31:32.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-08T19:31:32.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-08T19:31:32.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-08T19:31:32.480Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T19:31:32.499Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T19:31:32.512Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T19:31:32.523Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T19:31:32.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-08T19:31:32.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-08T19:31:32.557Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-08T19:31:32.567Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-08T19:31:32.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-08T19:31:32.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-08T19:31:32.598Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-08T19:31:32.606Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-08T19:31:32.623Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-08T19:31:32.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-06-08T19:31:32.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-06-08T19:31:32.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-06-08T19:31:32.661Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo [2022-06-08T19:31:32.671Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d31d9e [Pipeline] echo [2022-06-08T19:31:32.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T19:31:32.710Z] provisioning config files... [2022-06-08T19:31:32.724Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3855514386800200053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:31:33.045Z] ---> docker-login.sh [2022-06-08T19:31:33.045Z] nexus3.edgexfoundry.org:10001 [2022-06-08T19:31:33.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:33.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:33.310Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:33.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:33.310Z] [2022-06-08T19:31:33.310Z] Login Succeeded [2022-06-08T19:31:33.310Z] nexus3.edgexfoundry.org:10002 [2022-06-08T19:31:33.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:33.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:33.572Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:33.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:33.572Z] [2022-06-08T19:31:33.572Z] Login Succeeded [2022-06-08T19:31:33.572Z] nexus3.edgexfoundry.org:10003 [2022-06-08T19:31:33.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:33.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:33.572Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:33.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:33.572Z] [2022-06-08T19:31:33.572Z] Login Succeeded [2022-06-08T19:31:33.572Z] nexus3.edgexfoundry.org:10004 [2022-06-08T19:31:33.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:33.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:33.832Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:33.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:33.832Z] [2022-06-08T19:31:33.832Z] Login Succeeded [2022-06-08T19:31:33.832Z] docker.io [2022-06-08T19:31:33.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:34.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:34.093Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:34.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:34.093Z] [2022-06-08T19:31:34.093Z] Login Succeeded [2022-06-08T19:31:34.093Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T19:31:34.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-08T19:31:34.474Z] + git rev-list -1 --merges 2d31d9e569ccd1f7332138296cadf54917855040~1..2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo [2022-06-08T19:31:34.508Z] -----------> git rev-list -1 --merges 2d31d9e569ccd1f7332138296cadf54917855040~1..2d31d9e569ccd1f7332138296cadf54917855040 2d31d9e569ccd1f7332138296cadf54917855040 [false] [Pipeline] sh [2022-06-08T19:31:34.799Z] + git log --format=format:%s -1 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo [2022-06-08T19:31:34.815Z] ========================================================= [2022-06-08T19:31:34.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-06-08T19:31:34.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T19:31:35.149Z] + git log --format=format:%s -1 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo [2022-06-08T19:31:35.161Z] [semverPrep] GIT_COMMIT: 2d31d9e569ccd1f7332138296cadf54917855040, Commit Message: ci(lts-release): LTS release v2.1.1 @c825c9e [Pipeline] echo [2022-06-08T19:31:35.169Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-08T19:31:35.512Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T19:31:35.512Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-08T19:31:35.512Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-08T19:31:35.512Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-08T19:31:35.512Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-08T19:31:35.512Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-08T19:31:35.512Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:31:35.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T19:31:35.874Z] [2022-06-08T19:31:35.874Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:31:36.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T19:31:36.445Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-08T19:31:36.445Z] 42c077c10790: Pulling fs layer [2022-06-08T19:31:36.445Z] f63e77b7563a: Pulling fs layer [2022-06-08T19:31:36.445Z] bd5fdadae976: Pulling fs layer [2022-06-08T19:31:36.445Z] 205491f53016: Pulling fs layer [2022-06-08T19:31:36.445Z] df18705c85c3: Pulling fs layer [2022-06-08T19:31:36.445Z] bdb3f477010e: Pulling fs layer [2022-06-08T19:31:36.445Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-08T19:31:36.445Z] 2c6e9b1d212d: Pulling fs layer [2022-06-08T19:31:36.445Z] bdb8f0575790: Pulling fs layer [2022-06-08T19:31:36.445Z] 386e3cb2ff24: Pulling fs layer [2022-06-08T19:31:36.445Z] 2343380bae48: Pulling fs layer [2022-06-08T19:31:36.445Z] c8a8fc8e1c8f: Waiting [2022-06-08T19:31:36.445Z] 2c6e9b1d212d: Waiting [2022-06-08T19:31:36.445Z] 205491f53016: Waiting [2022-06-08T19:31:36.445Z] df18705c85c3: Waiting [2022-06-08T19:31:36.445Z] bdb8f0575790: Waiting [2022-06-08T19:31:36.445Z] 386e3cb2ff24: Waiting [2022-06-08T19:31:36.445Z] bdb3f477010e: Waiting [2022-06-08T19:31:36.445Z] f63e77b7563a: Download complete [2022-06-08T19:31:36.445Z] 205491f53016: Verifying Checksum [2022-06-08T19:31:36.445Z] 205491f53016: Download complete [2022-06-08T19:31:36.445Z] df18705c85c3: Verifying Checksum [2022-06-08T19:31:36.445Z] df18705c85c3: Download complete [2022-06-08T19:31:36.445Z] bd5fdadae976: Verifying Checksum [2022-06-08T19:31:36.445Z] bd5fdadae976: Download complete [2022-06-08T19:31:36.445Z] bdb3f477010e: Download complete [2022-06-08T19:31:36.445Z] 2c6e9b1d212d: Verifying Checksum [2022-06-08T19:31:36.445Z] 2c6e9b1d212d: Download complete [2022-06-08T19:31:36.445Z] bdb8f0575790: Verifying Checksum [2022-06-08T19:31:36.445Z] bdb8f0575790: Download complete [2022-06-08T19:31:36.445Z] 386e3cb2ff24: Download complete [2022-06-08T19:31:36.445Z] 2343380bae48: Verifying Checksum [2022-06-08T19:31:36.445Z] 2343380bae48: Download complete [2022-06-08T19:31:36.715Z] 42c077c10790: Verifying Checksum [2022-06-08T19:31:36.715Z] 42c077c10790: Download complete [2022-06-08T19:31:36.976Z] c8a8fc8e1c8f: Download complete [2022-06-08T19:31:38.359Z] 42c077c10790: Pull complete [2022-06-08T19:31:38.359Z] f63e77b7563a: Pull complete [2022-06-08T19:31:38.932Z] bd5fdadae976: Pull complete [2022-06-08T19:31:38.932Z] 205491f53016: Pull complete [2022-06-08T19:31:39.505Z] df18705c85c3: Pull complete [2022-06-08T19:31:39.505Z] bdb3f477010e: Pull complete [2022-06-08T19:31:41.426Z] c8a8fc8e1c8f: Pull complete [2022-06-08T19:31:41.426Z] 2c6e9b1d212d: Pull complete [2022-06-08T19:31:41.687Z] bdb8f0575790: Pull complete [2022-06-08T19:31:41.687Z] 386e3cb2ff24: Pull complete [2022-06-08T19:31:41.687Z] 2343380bae48: Pull complete [2022-06-08T19:31:41.687Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-08T19:31:41.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T19:31:41.688Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:31:41.783Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:31:41.828Z] $ 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:0.1.4 cat [2022-06-08T19:31:43.859Z] $ docker top 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 -eo pid,comm [2022-06-08T19:31:43.918Z] 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-08T19:31:43.918Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T19:31:43.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T19:31:43.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T19:31:44.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T19:31:44.094Z] $ docker exec 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent [2022-06-08T19:31:44.208Z] SSH_AUTH_SOCK=/tmp/ssh-7zwa19rZe4Qn/agent.32 [2022-06-08T19:31:44.208Z] SSH_AGENT_PID=39 [2022-06-08T19:31:44.215Z] Running ssh-add (command line suppressed) [2022-06-08T19:31:44.332Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_3382901030934142011.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_3382901030934142011.key) [2022-06-08T19:31:44.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T19:31:44.629Z] + git tag --points-at 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } [2022-06-08T19:31:44.647Z] $ docker exec --env ******** --env ******** 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent -k [2022-06-08T19:31:44.759Z] unset SSH_AUTH_SOCK; [2022-06-08T19:31:44.760Z] unset SSH_AGENT_PID; [2022-06-08T19:31:44.760Z] echo Agent pid 39 killed; [2022-06-08T19:31:44.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-06-08T19:31:44.785Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.1' [Pipeline] sshagent [2022-06-08T19:31:44.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T19:31:44.798Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T19:31:44.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T19:31:44.928Z] $ docker exec 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent [2022-06-08T19:31:45.044Z] SSH_AUTH_SOCK=/tmp/ssh-yNPaXQFWlwVu/agent.72 [2022-06-08T19:31:45.044Z] SSH_AGENT_PID=79 [2022-06-08T19:31:45.049Z] Running ssh-add (command line suppressed) [2022-06-08T19:31:45.167Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2384681705768725816.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2384681705768725816.key) [2022-06-08T19:31:45.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T19:31:45.480Z] + git semver init [2022-06-08T19:31:45.741Z] 2022-06-08 19:31:45,698 [run_init] DEBUG init version:0.0.0 force:False [2022-06-08T19:31:45.741Z] 2022-06-08 19:31:45,699 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-08T19:31:45.741Z] 2022-06-08 19:31:45,699 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-08T19:31:45.741Z] 2022-06-08 19:31:45,700 [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-08T19:31:46.682Z] 2022-06-08 19:31:46,589 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude [2022-06-08T19:31:46.682Z] 2022-06-08 19:31:46,589 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False [2022-06-08T19:31:46.682Z] 2022-06-08 19:31:46,589 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T19:31:46.682Z] 2022-06-08 19:31:46,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T19:31:46.682Z] 2.1.1 [Pipeline] } [2022-06-08T19:31:46.696Z] $ docker exec --env ******** --env ******** 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent -k [2022-06-08T19:31:46.798Z] unset SSH_AUTH_SOCK; [2022-06-08T19:31:46.799Z] unset SSH_AGENT_PID; [2022-06-08T19:31:46.799Z] echo Agent pid 79 killed; [2022-06-08T19:31:46.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T19:31:47.108Z] + git semver [Pipeline] } [2022-06-08T19:31:47.387Z] $ docker stop --time=1 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 [2022-06-08T19:31:48.883Z] $ docker rm -f 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T19:31:49.243Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-08T19:31:49.502Z] Stashed 1 file(s) [Pipeline] echo [2022-06-08T19:31:49.504Z] [edgeXSemver]: initialized semver on version 2.1.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T19:31:49.875Z] + git checkout 2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:31:49.875Z] HEAD is now at 2d31d9e ci(lts-release): LTS release v2.1.1 @c825c9e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T19:31:49.898Z] provisioning config files... [2022-06-08T19:31:49.907Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3458875093106871185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:31:50.200Z] ---> docker-login.sh [2022-06-08T19:31:50.200Z] nexus3.edgexfoundry.org:10001 [2022-06-08T19:31:50.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:50.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:50.200Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:50.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:50.200Z] [2022-06-08T19:31:50.200Z] Login Succeeded [2022-06-08T19:31:50.200Z] nexus3.edgexfoundry.org:10002 [2022-06-08T19:31:50.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:50.460Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:50.460Z] [2022-06-08T19:31:50.460Z] Login Succeeded [2022-06-08T19:31:50.460Z] nexus3.edgexfoundry.org:10003 [2022-06-08T19:31:50.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:50.460Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:50.460Z] [2022-06-08T19:31:50.460Z] Login Succeeded [2022-06-08T19:31:50.460Z] nexus3.edgexfoundry.org:10004 [2022-06-08T19:31:50.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:50.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:50.723Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:50.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:50.723Z] [2022-06-08T19:31:50.723Z] Login Succeeded [2022-06-08T19:31:50.723Z] docker.io [2022-06-08T19:31:50.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:31:50.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:31:50.984Z] Configure a credential helper to remove this warning. See [2022-06-08T19:31:50.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:31:50.984Z] [2022-06-08T19:31:50.984Z] Login Succeeded [2022-06-08T19:31:50.984Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T19:31:50.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T19:31:51.060Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T19:31:51.360Z] + grep ^go [0-9].[0-9]*+ go.mod [2022-06-08T19:31:51.360Z] cut -d -f 2 [Pipeline] echo [2022-06-08T19:31:51.374Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T19:31:51.383Z] ========================================================= [2022-06-08T19:31:51.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2022-06-08T19:31:51.384Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:31:51.699Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T19:31:51.699Z] Sending build context to Docker daemon 21.64MB [2022-06-08T19:31:51.699Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T19:31:51.699Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-08T19:31:51.960Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-08T19:31:51.960Z] a0d0a0d46f8b: Pulling fs layer [2022-06-08T19:31:51.960Z] 31adcdaf11c8: Pulling fs layer [2022-06-08T19:31:51.960Z] b8b176561691: Pulling fs layer [2022-06-08T19:31:51.960Z] 4527c011a84f: Pulling fs layer [2022-06-08T19:31:51.960Z] 5d74067f8e1e: Pulling fs layer [2022-06-08T19:31:51.960Z] fd57009d33ed: Pulling fs layer [2022-06-08T19:31:51.960Z] 6b058263d067: Pulling fs layer [2022-06-08T19:31:51.960Z] 16d7c86c65f4: Pulling fs layer [2022-06-08T19:31:51.960Z] 1290d154cb4b: Pulling fs layer [2022-06-08T19:31:51.960Z] 5d74067f8e1e: Waiting [2022-06-08T19:31:51.960Z] 16d7c86c65f4: Waiting [2022-06-08T19:31:51.960Z] fd57009d33ed: Waiting [2022-06-08T19:31:51.960Z] 1290d154cb4b: Waiting [2022-06-08T19:31:51.960Z] 6b058263d067: Waiting [2022-06-08T19:31:51.960Z] 4527c011a84f: Waiting [2022-06-08T19:31:51.960Z] b8b176561691: Download complete [2022-06-08T19:31:51.960Z] 31adcdaf11c8: Verifying Checksum [2022-06-08T19:31:51.960Z] 31adcdaf11c8: Download complete [2022-06-08T19:31:51.960Z] 5d74067f8e1e: Verifying Checksum [2022-06-08T19:31:51.960Z] 5d74067f8e1e: Download complete [2022-06-08T19:31:51.960Z] fd57009d33ed: Verifying Checksum [2022-06-08T19:31:51.960Z] fd57009d33ed: Download complete [2022-06-08T19:31:51.960Z] a0d0a0d46f8b: Download complete [2022-06-08T19:31:51.960Z] 6b058263d067: Download complete [2022-06-08T19:31:51.960Z] 16d7c86c65f4: Verifying Checksum [2022-06-08T19:31:51.960Z] 16d7c86c65f4: Download complete [2022-06-08T19:31:52.219Z] a0d0a0d46f8b: Pull complete [2022-06-08T19:31:52.219Z] 31adcdaf11c8: Pull complete [2022-06-08T19:31:52.479Z] b8b176561691: Pull complete [2022-06-08T19:31:52.479Z] 1290d154cb4b: Verifying Checksum [2022-06-08T19:31:52.479Z] 1290d154cb4b: Download complete [2022-06-08T19:31:52.739Z] 4527c011a84f: Verifying Checksum [2022-06-08T19:31:52.739Z] 4527c011a84f: Download complete [2022-06-08T19:31:56.027Z] 4527c011a84f: Pull complete [2022-06-08T19:31:56.027Z] 5d74067f8e1e: Pull complete [2022-06-08T19:31:56.027Z] fd57009d33ed: Pull complete [2022-06-08T19:31:56.291Z] 6b058263d067: Pull complete [2022-06-08T19:31:56.291Z] 16d7c86c65f4: Pull complete [2022-06-08T19:31:58.834Z] 1290d154cb4b: Pull complete [2022-06-08T19:31:58.834Z] Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 [2022-06-08T19:31:58.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2022-06-08T19:31:58.834Z] ---> de6a6ee31cbe [2022-06-08T19:31:58.834Z] Step 3/11 : ARG MAKE='make build' [2022-06-08T19:31:59.774Z] ---> Running in 02adac3841f8 [2022-06-08T19:32:00.034Z] Removing intermediate container 02adac3841f8 [2022-06-08T19:32:00.034Z] ---> eaf74cc2269c [2022-06-08T19:32:00.034Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T19:32:00.034Z] ---> Running in 24130f98a296 [2022-06-08T19:32:00.034Z] Removing intermediate container 24130f98a296 [2022-06-08T19:32:00.034Z] ---> 9b3ec5d84735 [2022-06-08T19:32:00.034Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T19:32:00.034Z] ---> Running in 9a947a5e1eca [2022-06-08T19:32:00.301Z] Removing intermediate container 9a947a5e1eca [2022-06-08T19:32:00.301Z] ---> 1b6262509735 [2022-06-08T19:32:00.301Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T19:32:00.563Z] ---> Running in 14793621f04f [2022-06-08T19:32:01.135Z] Removing intermediate container 14793621f04f [2022-06-08T19:32:01.135Z] ---> b86149040d9c [2022-06-08T19:32:01.135Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T19:32:01.135Z] ---> Running in 621bf0403fe2 [2022-06-08T19:32:01.399Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T19:32:02.344Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T19:32:02.605Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T19:32:02.605Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-06-08T19:32:02.866Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T19:32:02.866Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T19:32:02.866Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T19:32:02.866Z] OK: 224 MiB in 56 packages [2022-06-08T19:32:03.437Z] Removing intermediate container 621bf0403fe2 [2022-06-08T19:32:03.437Z] ---> 00cdfb7ff6cb [2022-06-08T19:32:03.437Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-08T19:32:03.437Z] ---> Running in 5619c6854e3e [2022-06-08T19:32:03.437Z] Removing intermediate container 5619c6854e3e [2022-06-08T19:32:03.437Z] ---> 80e16919f091 [2022-06-08T19:32:03.437Z] Step 9/11 : COPY . . [2022-06-08T19:32:04.378Z] ---> d125b737ce59 [2022-06-08T19:32:04.378Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T19:32:04.378Z] ---> Running in 772dcc3a86e3 [2022-06-08T19:32:04.571Z] Still waiting to schedule task [2022-06-08T19:32:04.572Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-08T19:32:04.638Z] skipping... [2022-06-08T19:32:05.210Z] Removing intermediate container 772dcc3a86e3 [2022-06-08T19:32:05.210Z] ---> ad28ed2d3255 [2022-06-08T19:32:05.210Z] Step 11/11 : RUN $MAKE [2022-06-08T19:32:05.210Z] ---> Running in 98075da75424 [2022-06-08T19:32:05.469Z] noop [2022-06-08T19:32:05.730Z] Removing intermediate container 98075da75424 [2022-06-08T19:32:05.730Z] ---> a1f4e17f46bd [2022-06-08T19:32:05.730Z] Successfully built a1f4e17f46bd [2022-06-08T19:32:05.730Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:06.043Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T19:32:06.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:32:06.160Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:32:06.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T19:32:06.603Z] $ docker top 0a6115a3f067637e57df4a891bddaf9736774bf5cd64cfe68602264b26f0213a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T19:32:06.955Z] + go version [2022-06-08T19:32:06.955Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-06-08T19:32:06.971Z] $ docker stop --time=1 0a6115a3f067637e57df4a891bddaf9736774bf5cd64cfe68602264b26f0213a [2022-06-08T19:32:08.273Z] $ docker rm -f 0a6115a3f067637e57df4a891bddaf9736774bf5cd64cfe68602264b26f0213a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:08.707Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T19:32:08.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:32:08.791Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:32:08.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T19:32:09.209Z] $ docker top de42280b508c2ccdbd36298a7536740012fdac43b67500cf717324557f73d555 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T19:32:09.575Z] + make test [2022-06-08T19:32:09.575Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-08T19:32:09.834Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-08T19:32:17.961Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-08T19:32:17.961Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements [2022-06-08T19:32:17.961Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T19:32:22.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T19:32:22.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T19:32:22.155Z] ./bin/test-attribution-txt.sh [2022-06-08T19:32:22.725Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T19:32:22.725Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T19:32:22.725Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T19:32:22.725Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-08T19:32:22.725Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T19:32:22.725Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T19:32:22.725Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T19:32:22.725Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T19:32:22.725Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T19:32:22.987Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T19:32:22.987Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T19:32:22.987Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T19:32:22.987Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T19:32:22.987Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T19:32:22.987Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T19:32:22.987Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T19:32:22.987Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T19:32:22.987Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T19:32:22.987Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T19:32:22.987Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T19:32:22.987Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T19:32:22.987Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T19:32:22.987Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T19:32:22.988Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T19:32:22.988Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T19:32:22.988Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T19:32:22.988Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T19:32:22.988Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T19:32:22.988Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T19:32:22.988Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T19:32:22.988Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T19:32:22.988Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T19:32:22.988Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T19:32:22.988Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T19:32:22.988Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T19:32:22.988Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T19:32:22.988Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T19:32:23.253Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T19:32:23.253Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T19:32:23.253Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T19:32:23.253Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T19:32:23.253Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T19:32:23.253Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T19:32:23.253Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T19:32:23.253Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T19:32:23.253Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T19:32:23.514Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T19:32:23.514Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T19:32:23.514Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T19:32:23.514Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T19:32:23.514Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T19:32:23.514Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T19:32:24.468Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T19:32:24.766Z] + go mod tidy [2022-06-08T19:32:24.766Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T19:32:24.767Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T19:32:24.767Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T19:32:24.767Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T19:32:24.767Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T19:32:24.767Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T19:32:24.767Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T19:32:25.026Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T19:32:25.026Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T19:32:25.026Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T19:32:25.026Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T19:32:25.026Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T19:32:25.026Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T19:32:25.026Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T19:32:25.026Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T19:32:25.026Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T19:32:25.026Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T19:32:25.026Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T19:32:25.026Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T19:32:25.026Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T19:32:25.026Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T19:32:25.026Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-06-08T19:32:25.026Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T19:32:25.026Z] go: downloading github.com/kr/text v0.2.0 [Pipeline] } [2022-06-08T19:32:25.304Z] $ docker stop --time=1 de42280b508c2ccdbd36298a7536740012fdac43b67500cf717324557f73d555 [2022-06-08T19:32:27.484Z] $ docker rm -f de42280b508c2ccdbd36298a7536740012fdac43b67500cf717324557f73d555 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T19:32:28.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T19:32:28.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-08T19:32:28.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T19:32:28.806Z] + ls -al . [2022-06-08T19:32:28.806Z] total 184 [2022-06-08T19:32:28.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 19:32 . [2022-06-08T19:32:28.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 19:31 .. [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 19:31 .dockerignore [2022-06-08T19:32:28.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 19:31 .git [2022-06-08T19:32:28.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:31 .github [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 19:31 .gitignore [2022-06-08T19:32:28.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 19:31 .semver [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 19:31 Attribution.txt [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 19:31 CHANGELOG.md [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 19:31 Dockerfile [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 19:31 GOVERNANCE.md [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 19:31 Jenkinsfile [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 19:31 LICENSE [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 19:31 Makefile [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 19:31 OWNERS.md [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 19:31 README.md [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 19:31 VERSION [2022-06-08T19:32:28.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:31 bin [2022-06-08T19:32:28.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:31 cmd [2022-06-08T19:32:28.806Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 19:32 coverage.out [2022-06-08T19:32:28.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:31 driver [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 19:32 go.mod [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 19:31 go.sum [2022-06-08T19:32:28.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:31 snap [2022-06-08T19:32:28.806Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 19:31 vendor [2022-06-08T19:32:28.806Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 19:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:29.120Z] + 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=2d31d9e569ccd1f7332138296cadf54917855040 --label arch=amd64 --label version=2.1.1 . [2022-06-08T19:32:29.379Z] Sending build context to Docker daemon 21.65MB [2022-06-08T19:32:29.379Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T19:32:29.379Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-08T19:32:29.379Z] ---> a1f4e17f46bd [2022-06-08T19:32:29.379Z] Step 3/24 : ARG MAKE='make build' [2022-06-08T19:32:29.639Z] ---> Running in 16f2184c1774 [2022-06-08T19:32:29.639Z] Removing intermediate container 16f2184c1774 [2022-06-08T19:32:29.639Z] ---> 68d8c6d80682 [2022-06-08T19:32:29.639Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T19:32:29.639Z] ---> Running in db7898fdf053 [2022-06-08T19:32:29.639Z] Removing intermediate container db7898fdf053 [2022-06-08T19:32:29.639Z] ---> f8e104720b12 [2022-06-08T19:32:29.639Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T19:32:29.639Z] ---> Running in 1a50a2ba672a [2022-06-08T19:32:29.899Z] Removing intermediate container 1a50a2ba672a [2022-06-08T19:32:29.899Z] ---> 7796d65fdaf4 [2022-06-08T19:32:29.899Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T19:32:29.899Z] ---> Running in 810aef2a3ab6 [2022-06-08T19:32:30.470Z] Removing intermediate container 810aef2a3ab6 [2022-06-08T19:32:30.470Z] ---> f2db25d83348 [2022-06-08T19:32:30.470Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T19:32:30.470Z] ---> Running in e603eb4f3fa3 [2022-06-08T19:32:30.731Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T19:32:31.671Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T19:32:31.932Z] OK: 224 MiB in 56 packages [2022-06-08T19:32:32.192Z] Removing intermediate container e603eb4f3fa3 [2022-06-08T19:32:32.192Z] ---> 96316c51ab16 [2022-06-08T19:32:32.192Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-08T19:32:32.192Z] ---> Running in a9ca27e90335 [2022-06-08T19:32:32.452Z] Removing intermediate container a9ca27e90335 [2022-06-08T19:32:32.452Z] ---> ae9f20436586 [2022-06-08T19:32:32.452Z] Step 9/24 : COPY . . [2022-06-08T19:32:33.393Z] ---> 95728b4e3ae2 [2022-06-08T19:32:33.393Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T19:32:33.393Z] ---> Running in 6640c0c95731 [2022-06-08T19:32:33.655Z] skipping... [2022-06-08T19:32:34.228Z] Removing intermediate container 6640c0c95731 [2022-06-08T19:32:34.228Z] ---> d315c8072d58 [2022-06-08T19:32:34.229Z] Step 11/24 : RUN $MAKE [2022-06-08T19:32:34.229Z] ---> Running in 3395cf030fdd [2022-06-08T19:32:34.487Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1" -o cmd/device-rest ./cmd [2022-06-08T19:32:42.610Z] Removing intermediate container 3395cf030fdd [2022-06-08T19:32:42.610Z] ---> f5fbd56df68b [2022-06-08T19:32:42.610Z] Step 12/24 : FROM alpine:3.14 [2022-06-08T19:32:42.610Z] 3.14: Pulling from library/alpine [2022-06-08T19:32:42.610Z] 8663204ce13b: Pulling fs layer [2022-06-08T19:32:42.871Z] 8663204ce13b: Verifying Checksum [2022-06-08T19:32:42.871Z] 8663204ce13b: Download complete [2022-06-08T19:32:42.871Z] 8663204ce13b: Pull complete [2022-06-08T19:32:43.132Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T19:32:43.132Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T19:32:43.132Z] ---> e04c818066af [2022-06-08T19:32:43.132Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-08T19:32:43.132Z] ---> Running in 31e244d2ecba [2022-06-08T19:32:43.132Z] Removing intermediate container 31e244d2ecba [2022-06-08T19:32:43.132Z] ---> 55b054816fef [2022-06-08T19:32:43.132Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-08T19:32:43.132Z] ---> Running in b43ff71c12a3 [2022-06-08T19:32:43.393Z] Removing intermediate container b43ff71c12a3 [2022-06-08T19:32:43.393Z] ---> b10adb39c014 [2022-06-08T19:32:43.393Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T19:32:43.393Z] ---> Running in 0534ae54c8b3 [2022-06-08T19:32:43.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T19:32:43.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T19:32:43.913Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T19:32:43.913Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T19:32:43.913Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T19:32:43.913Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T19:32:43.913Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T19:32:43.913Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T19:32:43.913Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T19:32:43.913Z] OK: 8 MiB in 20 packages [2022-06-08T19:32:44.484Z] Removing intermediate container 0534ae54c8b3 [2022-06-08T19:32:44.484Z] ---> 389c92662fb6 [2022-06-08T19:32:44.484Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-08T19:32:45.054Z] ---> 9ac760d31a7f [2022-06-08T19:32:45.054Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-08T19:32:45.054Z] ---> 54135e30f844 [2022-06-08T19:32:45.054Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-08T19:32:45.054Z] ---> 5506c5387513 [2022-06-08T19:32:45.054Z] Step 19/24 : EXPOSE 59986 [2022-06-08T19:32:45.317Z] ---> Running in 39e20c5634db [2022-06-08T19:32:45.317Z] Removing intermediate container 39e20c5634db [2022-06-08T19:32:45.317Z] ---> 0d8f5df7dd76 [2022-06-08T19:32:45.317Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-08T19:32:45.317Z] ---> Running in 790ea7d469bc [2022-06-08T19:32:45.317Z] Removing intermediate container 790ea7d469bc [2022-06-08T19:32:45.317Z] ---> 77eecbe30520 [2022-06-08T19:32:45.317Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-08T19:32:45.578Z] ---> Running in 7ff4d4418aed [2022-06-08T19:32:45.578Z] Removing intermediate container 7ff4d4418aed [2022-06-08T19:32:45.578Z] ---> 5bc3026ffd0d [2022-06-08T19:32:45.578Z] Step 22/24 : LABEL arch=amd64 [2022-06-08T19:32:45.578Z] ---> Running in 5882db5aed96 [2022-06-08T19:32:45.578Z] Removing intermediate container 5882db5aed96 [2022-06-08T19:32:45.578Z] ---> 7f0c928432e3 [2022-06-08T19:32:45.578Z] Step 23/24 : LABEL git_sha=2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:32:45.850Z] ---> Running in 72cfe0ffd4df [2022-06-08T19:32:45.850Z] Removing intermediate container 72cfe0ffd4df [2022-06-08T19:32:45.850Z] ---> c5f692b29a4d [2022-06-08T19:32:45.850Z] Step 24/24 : LABEL version=2.1.1 [2022-06-08T19:32:45.850Z] ---> Running in 5e4d9107dc6e [2022-06-08T19:32:45.850Z] Removing intermediate container 5e4d9107dc6e [2022-06-08T19:32:45.850Z] ---> 8d17e96a3ac3 [2022-06-08T19:32:45.850Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T19:32:45.850Z] Successfully built 8d17e96a3ac3 [2022-06-08T19:32:45.850Z] 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-08T19:32:45.939Z] provisioning config files... [2022-06-08T19:32:45.949Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2591939803041046665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:32:46.242Z] ---> docker-login.sh [2022-06-08T19:32:46.242Z] nexus3.edgexfoundry.org:10001 [2022-06-08T19:32:46.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:32:46.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:32:46.242Z] Configure a credential helper to remove this warning. See [2022-06-08T19:32:46.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:32:46.242Z] [2022-06-08T19:32:46.242Z] Login Succeeded [2022-06-08T19:32:46.242Z] nexus3.edgexfoundry.org:10002 [2022-06-08T19:32:46.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:32:46.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:32:46.501Z] Configure a credential helper to remove this warning. See [2022-06-08T19:32:46.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:32:46.501Z] [2022-06-08T19:32:46.501Z] Login Succeeded [2022-06-08T19:32:46.501Z] nexus3.edgexfoundry.org:10003 [2022-06-08T19:32:46.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:32:46.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:32:46.501Z] Configure a credential helper to remove this warning. See [2022-06-08T19:32:46.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:32:46.501Z] [2022-06-08T19:32:46.501Z] Login Succeeded [2022-06-08T19:32:46.501Z] nexus3.edgexfoundry.org:10004 [2022-06-08T19:32:46.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:32:46.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:32:46.762Z] Configure a credential helper to remove this warning. See [2022-06-08T19:32:46.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:32:46.762Z] [2022-06-08T19:32:46.762Z] Login Succeeded [2022-06-08T19:32:46.762Z] docker.io [2022-06-08T19:32:46.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:32:47.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:32:47.022Z] Configure a credential helper to remove this warning. See [2022-06-08T19:32:47.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:32:47.022Z] [2022-06-08T19:32:47.022Z] Login Succeeded [2022-06-08T19:32:47.022Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T19:32:47.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T19:32:47.065Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T19:32:47.086Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-08T19:32:47.086Z] 2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:32:47.086Z] 2.1.1 [2022-06-08T19:32:47.086Z] 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [2022-06-08T19:32:47.086Z] jakarta [2022-06-08T19:32:47.086Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:47.409Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:47.720Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:32:47.720Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T19:32:47.720Z] 8f33ee17381b: Preparing [2022-06-08T19:32:47.720Z] fcb04a9ff15f: Preparing [2022-06-08T19:32:47.720Z] b64ba49f6caf: Preparing [2022-06-08T19:32:47.720Z] 9d631d251f7a: Preparing [2022-06-08T19:32:47.720Z] b541d28bf3b4: Preparing [2022-06-08T19:32:47.720Z] b541d28bf3b4: Layer already exists [2022-06-08T19:32:47.720Z] fcb04a9ff15f: Pushed [2022-06-08T19:32:47.720Z] 8f33ee17381b: Pushed [2022-06-08T19:32:47.980Z] 9d631d251f7a: Pushed [2022-06-08T19:32:49.364Z] b64ba49f6caf: Pushed [2022-06-08T19:32:49.364Z] 2d31d9e569ccd1f7332138296cadf54917855040: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:49.683Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:49.991Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1 [2022-06-08T19:32:49.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T19:32:49.991Z] 8f33ee17381b: Preparing [2022-06-08T19:32:49.991Z] fcb04a9ff15f: Preparing [2022-06-08T19:32:49.991Z] b64ba49f6caf: Preparing [2022-06-08T19:32:49.991Z] 9d631d251f7a: Preparing [2022-06-08T19:32:49.991Z] b541d28bf3b4: Preparing [2022-06-08T19:32:49.991Z] 9d631d251f7a: Layer already exists [2022-06-08T19:32:49.991Z] 8f33ee17381b: Layer already exists [2022-06-08T19:32:49.991Z] b64ba49f6caf: Layer already exists [2022-06-08T19:32:49.991Z] b541d28bf3b4: Layer already exists [2022-06-08T19:32:49.991Z] fcb04a9ff15f: Layer already exists [2022-06-08T19:32:49.991Z] 2.1.1: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:50.309Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:50.624Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [2022-06-08T19:32:50.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T19:32:50.624Z] 8f33ee17381b: Preparing [2022-06-08T19:32:50.624Z] fcb04a9ff15f: Preparing [2022-06-08T19:32:50.624Z] b64ba49f6caf: Preparing [2022-06-08T19:32:50.624Z] 9d631d251f7a: Preparing [2022-06-08T19:32:50.624Z] b541d28bf3b4: Preparing [2022-06-08T19:32:50.624Z] b541d28bf3b4: Layer already exists [2022-06-08T19:32:50.624Z] b64ba49f6caf: Layer already exists [2022-06-08T19:32:50.624Z] 9d631d251f7a: Layer already exists [2022-06-08T19:32:50.624Z] 8f33ee17381b: Layer already exists [2022-06-08T19:32:50.624Z] fcb04a9ff15f: Layer already exists [2022-06-08T19:32:50.624Z] 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:50.975Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:51.312Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta [2022-06-08T19:32:51.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T19:32:51.312Z] 8f33ee17381b: Preparing [2022-06-08T19:32:51.312Z] fcb04a9ff15f: Preparing [2022-06-08T19:32:51.312Z] b64ba49f6caf: Preparing [2022-06-08T19:32:51.312Z] 9d631d251f7a: Preparing [2022-06-08T19:32:51.312Z] b541d28bf3b4: Preparing [2022-06-08T19:32:51.312Z] b541d28bf3b4: Layer already exists [2022-06-08T19:32:51.312Z] b64ba49f6caf: Layer already exists [2022-06-08T19:32:51.312Z] 8f33ee17381b: Layer already exists [2022-06-08T19:32:51.312Z] fcb04a9ff15f: Layer already exists [2022-06-08T19:32:51.312Z] 9d631d251f7a: Layer already exists [2022-06-08T19:32:51.312Z] jakarta: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T19:32:51.355Z] ===================================================== [Pipeline] echo [2022-06-08T19:32:51.365Z] taggedImages: [2022-06-08T19:32:51.365Z] - nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:32:51.365Z] - nexus3.edgexfoundry.org:10004/device-rest:2.1.1 [2022-06-08T19:32:51.365Z] - nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [2022-06-08T19:32:51.365Z] - 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-08T19:32:51.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T19:32:51.779Z] [2022-06-08T19:32:51.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:32:52.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T19:32:52.076Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-08T19:32:52.076Z] 5eb5b503b376: Pulling fs layer [2022-06-08T19:32:52.076Z] 5c69ac0246d0: Pulling fs layer [2022-06-08T19:32:52.076Z] ec43610c2a17: Pulling fs layer [2022-06-08T19:32:52.076Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-08T19:32:52.076Z] 33b1e0a273af: Pulling fs layer [2022-06-08T19:32:52.076Z] 5d3b04190fa2: Pulling fs layer [2022-06-08T19:32:52.076Z] 2f39f015ded8: Pulling fs layer [2022-06-08T19:32:52.076Z] 33b1e0a273af: Waiting [2022-06-08T19:32:52.076Z] 5d3b04190fa2: Waiting [2022-06-08T19:32:52.076Z] 3a2ae6a8a46f: Waiting [2022-06-08T19:32:52.076Z] 5c69ac0246d0: Verifying Checksum [2022-06-08T19:32:52.076Z] 5c69ac0246d0: Download complete [2022-06-08T19:32:52.076Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-08T19:32:52.076Z] 3a2ae6a8a46f: Download complete [2022-06-08T19:32:52.076Z] 33b1e0a273af: Verifying Checksum [2022-06-08T19:32:52.076Z] 33b1e0a273af: Download complete [2022-06-08T19:32:52.076Z] 5d3b04190fa2: Download complete [2022-06-08T19:32:52.335Z] ec43610c2a17: Verifying Checksum [2022-06-08T19:32:52.335Z] ec43610c2a17: Download complete [2022-06-08T19:32:52.335Z] 5eb5b503b376: Verifying Checksum [2022-06-08T19:32:52.335Z] 5eb5b503b376: Download complete [2022-06-08T19:32:52.901Z] 2f39f015ded8: Download complete [2022-06-08T19:32:53.468Z] 5eb5b503b376: Pull complete [2022-06-08T19:32:53.468Z] 5c69ac0246d0: Pull complete [2022-06-08T19:32:54.037Z] ec43610c2a17: Pull complete [2022-06-08T19:32:54.037Z] 3a2ae6a8a46f: Pull complete [2022-06-08T19:32:54.296Z] 33b1e0a273af: Pull complete [2022-06-08T19:32:54.296Z] 5d3b04190fa2: Pull complete [2022-06-08T19:32:58.492Z] 2f39f015ded8: Pull complete [2022-06-08T19:32:58.492Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-08T19:32:58.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T19:32:58.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:32:58.584Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:32:58.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T19:33:01.039Z] $ docker top b8ed67b9c6fe73ef49bf64b48dfe0e2a994093ba5f1968344806f3d6249d4e1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:33:01.444Z] ---> job-cost.sh [2022-06-08T19:33:01.445Z] lf-activate-venv: SKIPPING [2022-06-08T19:33:01.445Z] INFO: No Stack... [2022-06-08T19:33:01.705Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T19:33:02.277Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T19:33:02.569Z] + cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv [2022-06-08T19:33:02.569Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T19:33:02.582Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [2022-06-08T19:33:02.589Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] did not exist. Created. [2022-06-08T19:33:02.589Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T19:33:02.897Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-08T19:33:02.943Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T19:33:02.949Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T19:33:02.975Z] $ docker stop --time=1 b8ed67b9c6fe73ef49bf64b48dfe0e2a994093ba5f1968344806f3d6249d4e1d [2022-06-08T19:33:04.187Z] $ docker rm -f b8ed67b9c6fe73ef49bf64b48dfe0e2a994093ba5f1968344806f3d6249d4e1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-08T19:33:34.811Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1813 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws [2022-06-08T19:33:34.824Z] Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout [2022-06-08T19:33:34.861Z] The recommended git tool is: git [2022-06-08T19:33:41.640Z] using credential edgex-jenkins-ssh [2022-06-08T19:33:41.658Z] Cloning the remote Git repository [2022-06-08T19:33:41.768Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-08T19:33:41.856Z] > git init /w/workspace/device-rest-go/9 # timeout=10 [2022-06-08T19:33:41.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-08T19:33:41.970Z] > git --version # timeout=10 [2022-06-08T19:33:42.014Z] > git --version # 'git version 2.25.1' [2022-06-08T19:33:42.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T19:33:42.134Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T19:33:43.761Z] Avoid second fetch [2022-06-08T19:33:43.762Z] Checking out Revision 2d31d9e569ccd1f7332138296cadf54917855040 (jakarta) [2022-06-08T19:33:43.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-08T19:33:43.747Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T19:33:43.784Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T19:33:43.798Z] > git checkout -f 2d31d9e569ccd1f7332138296cadf54917855040 # timeout=10 [2022-06-08T19:33:48.281Z] Commit message: "ci(lts-release): LTS release v2.1.1 @c825c9e" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T19:33:49.068Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-08T19:33:49.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T19:33:49.068Z] Dload Upload Total Spent Left Speed [2022-06-08T19:33:49.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98024 0 --:--:-- --:--:-- --:--:-- 98024 [Pipeline] sh [2022-06-08T19:33:49.816Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-08T19:33:50.165Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-08T19:33:50.165Z] + sudo tee /etc/docker/daemon.new [2022-06-08T19:33:50.165Z] { [2022-06-08T19:33:50.165Z] "registry-mirrors": [ [2022-06-08T19:33:50.165Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-08T19:33:50.165Z] ], [2022-06-08T19:33:50.165Z] "bip": "10.250.0.254/24", [2022-06-08T19:33:50.165Z] "hosts": [ [2022-06-08T19:33:50.165Z] "tcp://0.0.0.0:5555", [2022-06-08T19:33:50.165Z] "unix:///var/run/docker.sock" [2022-06-08T19:33:50.165Z] ], [2022-06-08T19:33:50.165Z] "mtu": 1458, [2022-06-08T19:33:50.165Z] "selinux-enabled": true, [2022-06-08T19:33:50.165Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-08T19:33:50.165Z] } [Pipeline] sh [2022-06-08T19:33:50.510Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-08T19:33:50.847Z] + sudo service docker restart [Pipeline] sh [2022-06-08T19:34:09.467Z] + git checkout 2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:34:09.468Z] HEAD is now at 2d31d9e ci(lts-release): LTS release v2.1.1 @c825c9e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T19:34:09.498Z] provisioning config files... [2022-06-08T19:34:09.521Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config3393254532219721569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:34:10.090Z] ---> docker-login.sh [2022-06-08T19:34:10.090Z] nexus3.edgexfoundry.org:10001 [2022-06-08T19:34:10.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:34:10.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:34:10.964Z] Configure a credential helper to remove this warning. See [2022-06-08T19:34:10.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:34:10.964Z] [2022-06-08T19:34:10.964Z] Login Succeeded [2022-06-08T19:34:10.965Z] nexus3.edgexfoundry.org:10002 [2022-06-08T19:34:11.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:34:11.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:34:11.520Z] Configure a credential helper to remove this warning. See [2022-06-08T19:34:11.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:34:11.520Z] [2022-06-08T19:34:11.520Z] Login Succeeded [2022-06-08T19:34:11.520Z] nexus3.edgexfoundry.org:10003 [2022-06-08T19:34:11.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:34:11.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:34:11.794Z] Configure a credential helper to remove this warning. See [2022-06-08T19:34:11.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:34:11.794Z] [2022-06-08T19:34:11.794Z] Login Succeeded [2022-06-08T19:34:11.794Z] nexus3.edgexfoundry.org:10004 [2022-06-08T19:34:12.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:34:12.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:34:12.396Z] Configure a credential helper to remove this warning. See [2022-06-08T19:34:12.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:34:12.396Z] [2022-06-08T19:34:12.396Z] Login Succeeded [2022-06-08T19:34:12.396Z] docker.io [2022-06-08T19:34:12.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:34:12.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:34:12.944Z] Configure a credential helper to remove this warning. See [2022-06-08T19:34:12.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:34:12.944Z] [2022-06-08T19:34:12.944Z] Login Succeeded [2022-06-08T19:34:12.944Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T19:34:12.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T19:34:13.215Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T19:34:13.566Z] + + cutgrep -d ^go [0-9].[0-9]* -f go.mod 2 [2022-06-08T19:34:13.566Z] [Pipeline] echo [2022-06-08T19:34:13.633Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T19:34:13.644Z] ========================================================= [2022-06-08T19:34:13.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2022-06-08T19:34:13.644Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:34:13.997Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T19:34:14.980Z] Sending build context to Docker daemon 11.13MB [2022-06-08T19:34:15.251Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T19:34:15.251Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-08T19:34:15.251Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-08T19:34:15.251Z] 552d1f2373af: Pulling fs layer [2022-06-08T19:34:15.251Z] ea3f2d53f512: Pulling fs layer [2022-06-08T19:34:15.251Z] 9e70ebbbe112: Pulling fs layer [2022-06-08T19:34:15.251Z] 7a9cfe048b4a: Pulling fs layer [2022-06-08T19:34:15.251Z] 72dc09318566: Pulling fs layer [2022-06-08T19:34:15.251Z] f324388ff665: Pulling fs layer [2022-06-08T19:34:15.251Z] 53ef782089cf: Pulling fs layer [2022-06-08T19:34:15.251Z] 2af28fca035d: Pulling fs layer [2022-06-08T19:34:15.251Z] f324388ff665: Waiting [2022-06-08T19:34:15.251Z] 53ef782089cf: Waiting [2022-06-08T19:34:15.251Z] 2af28fca035d: Waiting [2022-06-08T19:34:15.251Z] 7a9cfe048b4a: Waiting [2022-06-08T19:34:15.251Z] 72dc09318566: Waiting [2022-06-08T19:34:15.527Z] 9e70ebbbe112: Verifying Checksum [2022-06-08T19:34:15.527Z] 9e70ebbbe112: Download complete [2022-06-08T19:34:15.527Z] ea3f2d53f512: Download complete [2022-06-08T19:34:15.527Z] 72dc09318566: Verifying Checksum [2022-06-08T19:34:15.527Z] 72dc09318566: Download complete [2022-06-08T19:34:15.527Z] f324388ff665: Verifying Checksum [2022-06-08T19:34:15.527Z] f324388ff665: Download complete [2022-06-08T19:34:15.527Z] 552d1f2373af: Verifying Checksum [2022-06-08T19:34:15.527Z] 53ef782089cf: Verifying Checksum [2022-06-08T19:34:15.527Z] 53ef782089cf: Download complete [2022-06-08T19:34:16.141Z] 552d1f2373af: Pull complete [2022-06-08T19:34:16.741Z] ea3f2d53f512: Pull complete [2022-06-08T19:34:17.018Z] 9e70ebbbe112: Pull complete [2022-06-08T19:34:17.616Z] 2af28fca035d: Verifying Checksum [2022-06-08T19:34:17.616Z] 2af28fca035d: Download complete [2022-06-08T19:34:18.215Z] 7a9cfe048b4a: Download complete [2022-06-08T19:34:30.634Z] 7a9cfe048b4a: Pull complete [2022-06-08T19:34:30.634Z] 72dc09318566: Pull complete [2022-06-08T19:34:30.634Z] f324388ff665: Pull complete [2022-06-08T19:34:30.634Z] 53ef782089cf: Pull complete [2022-06-08T19:34:36.054Z] 2af28fca035d: Pull complete [2022-06-08T19:34:36.054Z] Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 [2022-06-08T19:34:36.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2022-06-08T19:34:36.054Z] ---> d19f1962542a [2022-06-08T19:34:36.054Z] Step 3/11 : ARG MAKE='make build' [2022-06-08T19:34:37.489Z] ---> Running in 8657bb30542f [2022-06-08T19:34:37.767Z] Removing intermediate container 8657bb30542f [2022-06-08T19:34:37.768Z] ---> 0fff758b2997 [2022-06-08T19:34:37.768Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T19:34:38.044Z] ---> Running in c021f74e7e26 [2022-06-08T19:34:38.319Z] Removing intermediate container c021f74e7e26 [2022-06-08T19:34:38.319Z] ---> 21351ab1b4cf [2022-06-08T19:34:38.319Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T19:34:38.319Z] ---> Running in b275a74a55ef [2022-06-08T19:34:38.592Z] Removing intermediate container b275a74a55ef [2022-06-08T19:34:38.592Z] ---> b8569390ab3c [2022-06-08T19:34:38.592Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T19:34:38.592Z] ---> Running in c9dc1d302db5 [2022-06-08T19:34:40.579Z] Removing intermediate container c9dc1d302db5 [2022-06-08T19:34:40.579Z] ---> 4bf6f5a22165 [2022-06-08T19:34:40.579Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T19:34:40.579Z] ---> Running in 742e391c53d4 [2022-06-08T19:34:41.562Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T19:34:42.154Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T19:34:43.146Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T19:34:43.146Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-06-08T19:34:43.146Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T19:34:43.422Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T19:34:43.422Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T19:34:43.422Z] OK: 223 MiB in 56 packages [2022-06-08T19:34:44.424Z] Removing intermediate container 742e391c53d4 [2022-06-08T19:34:44.424Z] ---> 7e397ae4de33 [2022-06-08T19:34:44.424Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-08T19:34:44.424Z] ---> Running in 2efba486449e [2022-06-08T19:34:44.701Z] Removing intermediate container 2efba486449e [2022-06-08T19:34:44.701Z] ---> 42c6baf6dffe [2022-06-08T19:34:44.701Z] Step 9/11 : COPY . . [2022-06-08T19:34:48.114Z] ---> 2ac2583a7c47 [2022-06-08T19:34:48.114Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T19:34:48.391Z] ---> Running in 70bf387181de [2022-06-08T19:34:49.383Z] skipping... [2022-06-08T19:34:49.982Z] Removing intermediate container 70bf387181de [2022-06-08T19:34:49.982Z] ---> e0d6fe75c2bd [2022-06-08T19:34:49.982Z] Step 11/11 : RUN $MAKE [2022-06-08T19:34:49.982Z] ---> Running in 066071422a2d [2022-06-08T19:34:50.964Z] noop [2022-06-08T19:34:51.559Z] Removing intermediate container 066071422a2d [2022-06-08T19:34:51.559Z] ---> 5e1254c4cb87 [2022-06-08T19:34:51.559Z] Successfully built 5e1254c4cb87 [2022-06-08T19:34:51.559Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:34:51.929Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T19:34:51.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:34:52.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-1813 does not seem to be running inside a container [2022-06-08T19:34:52.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T19:34:53.560Z] $ docker top d6f0ad023daffd6f394b5a1aed1c716e5919bbd1f2d17a3f268fbe5ac5627fef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T19:34:54.478Z] + go version [2022-06-08T19:34:54.478Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-06-08T19:34:54.505Z] $ docker stop --time=1 d6f0ad023daffd6f394b5a1aed1c716e5919bbd1f2d17a3f268fbe5ac5627fef [2022-06-08T19:34:56.092Z] $ docker rm -f d6f0ad023daffd6f394b5a1aed1c716e5919bbd1f2d17a3f268fbe5ac5627fef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:34:56.715Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T19:34:56.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:34:56.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-1813 does not seem to be running inside a container [2022-06-08T19:34:57.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T19:34:58.300Z] $ docker top 74b69e17051651a76874b47f3a48949c89501aac0e55ccb51222ab3d544da08e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T19:34:59.227Z] + make test [2022-06-08T19:34:59.227Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-08T19:35:00.210Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-08T19:35:56.809Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-08T19:35:56.809Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 56.0% of statements [2022-06-08T19:35:56.809Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T19:36:23.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T19:36:23.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T19:36:23.671Z] ./bin/test-attribution-txt.sh [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T19:36:23.671Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T19:36:23.671Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T19:36:23.671Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T19:36:23.671Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T19:36:23.671Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T19:36:23.671Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T19:36:23.671Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T19:36:23.671Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T19:36:23.671Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T19:36:23.671Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T19:36:23.671Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T19:36:23.671Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T19:36:23.671Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T19:36:23.671Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T19:36:23.671Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T19:36:23.671Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T19:36:23.954Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T19:36:25.932Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T19:36:25.933Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T19:36:25.933Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T19:36:25.933Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T19:36:25.933Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T19:36:25.933Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T19:36:25.933Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-06-08T19:36:25.933Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T19:36:25.933Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T19:36:25.933Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T19:36:25.933Z] go: downloading github.com/mattn/go-isatty v0.0.12 [Pipeline] echo [2022-06-08T19:36:30.259Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T19:36:30.918Z] + go mod tidy [2022-06-08T19:36:31.192Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T19:36:31.192Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T19:36:31.192Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T19:36:31.466Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T19:36:31.466Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T19:36:31.466Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T19:36:31.466Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T19:36:31.466Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T19:36:31.466Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T19:36:31.466Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T19:36:31.739Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T19:36:31.739Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T19:36:31.739Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T19:36:31.739Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T19:36:31.739Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T19:36:31.739Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T19:36:31.739Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T19:36:31.739Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T19:36:31.739Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T19:36:32.014Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T19:36:32.014Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T19:36:32.014Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T19:36:32.014Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T19:36:32.014Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T19:36:32.314Z] $ docker stop --time=1 74b69e17051651a76874b47f3a48949c89501aac0e55ccb51222ab3d544da08e [2022-06-08T19:36:34.561Z] $ docker rm -f 74b69e17051651a76874b47f3a48949c89501aac0e55ccb51222ab3d544da08e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T19:36:36.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T19:36:36.792Z] Warning: overwriting stash ‘coverage-report’ [2022-06-08T19:36:37.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T19:36:37.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T19:36:38.165Z] + ls -al . [2022-06-08T19:36:38.165Z] total 180 [2022-06-08T19:36:38.165Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 19:36 . [2022-06-08T19:36:38.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 19:33 .. [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 19:33 .dockerignore [2022-06-08T19:36:38.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 19:34 .git [2022-06-08T19:36:38.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:33 .github [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 19:33 .gitignore [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 19:33 Attribution.txt [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 19:33 CHANGELOG.md [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 19:33 Dockerfile [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 19:33 GOVERNANCE.md [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 19:33 Jenkinsfile [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 19:33 LICENSE [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 19:33 Makefile [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 19:33 OWNERS.md [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 19:33 README.md [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 19:31 VERSION [2022-06-08T19:36:38.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:33 bin [2022-06-08T19:36:38.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:33 cmd [2022-06-08T19:36:38.165Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 19:35 coverage.out [2022-06-08T19:36:38.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:33 driver [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 19:36 go.mod [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 19:33 go.sum [2022-06-08T19:36:38.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:33 snap [2022-06-08T19:36:38.165Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 19:33 vendor [2022-06-08T19:36:38.165Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 19:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:36:38.534Z] + 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=2d31d9e569ccd1f7332138296cadf54917855040 --label arch=arm64 --label version=2.1.1 . [2022-06-08T19:36:39.534Z] Sending build context to Docker daemon 11.14MB [2022-06-08T19:36:39.807Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T19:36:39.807Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-08T19:36:39.807Z] ---> 5e1254c4cb87 [2022-06-08T19:36:39.807Z] Step 3/24 : ARG MAKE='make build' [2022-06-08T19:36:39.807Z] ---> Running in 03caa1fe45e5 [2022-06-08T19:36:40.088Z] Removing intermediate container 03caa1fe45e5 [2022-06-08T19:36:40.088Z] ---> 853dcc640461 [2022-06-08T19:36:40.088Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T19:36:40.366Z] ---> Running in 222a5740bd0c [2022-06-08T19:36:40.641Z] Removing intermediate container 222a5740bd0c [2022-06-08T19:36:40.641Z] ---> 39a75cdacf42 [2022-06-08T19:36:40.641Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T19:36:40.641Z] ---> Running in 85211ed34492 [2022-06-08T19:36:40.921Z] Removing intermediate container 85211ed34492 [2022-06-08T19:36:40.921Z] ---> f55197c96715 [2022-06-08T19:36:40.921Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T19:36:40.921Z] ---> Running in c4f0738ab433 [2022-06-08T19:36:42.902Z] Removing intermediate container c4f0738ab433 [2022-06-08T19:36:42.902Z] ---> 5bce92ab6c52 [2022-06-08T19:36:42.902Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T19:36:42.902Z] ---> Running in f268ea191447 [2022-06-08T19:36:43.500Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T19:36:44.485Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T19:36:45.466Z] OK: 223 MiB in 56 packages [2022-06-08T19:36:46.455Z] Removing intermediate container f268ea191447 [2022-06-08T19:36:46.455Z] ---> 1d86d35fe225 [2022-06-08T19:36:46.455Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-08T19:36:46.455Z] ---> Running in 09ae62be0d9d [2022-06-08T19:36:46.730Z] Removing intermediate container 09ae62be0d9d [2022-06-08T19:36:46.730Z] ---> b6fdaecd0144 [2022-06-08T19:36:46.730Z] Step 9/24 : COPY . . [2022-06-08T19:36:51.051Z] ---> e32c6b9dbfd0 [2022-06-08T19:36:51.051Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T19:36:51.051Z] ---> Running in 138be1f086f4 [2022-06-08T19:36:51.327Z] skipping... [2022-06-08T19:36:51.929Z] Removing intermediate container 138be1f086f4 [2022-06-08T19:36:51.929Z] ---> a2aa993ad617 [2022-06-08T19:36:51.929Z] Step 11/24 : RUN $MAKE [2022-06-08T19:36:52.207Z] ---> Running in c80c6e59a7d8 [2022-06-08T19:36:53.199Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1" -o cmd/device-rest ./cmd [2022-06-08T19:37:32.258Z] Removing intermediate container c80c6e59a7d8 [2022-06-08T19:37:32.258Z] ---> 36a9cd1332e3 [2022-06-08T19:37:32.258Z] Step 12/24 : FROM alpine:3.14 [2022-06-08T19:37:32.258Z] 3.14: Pulling from library/alpine [2022-06-08T19:37:32.258Z] 455c02918c45: Pulling fs layer [2022-06-08T19:37:32.258Z] 455c02918c45: Verifying Checksum [2022-06-08T19:37:32.258Z] 455c02918c45: Download complete [2022-06-08T19:37:32.258Z] 455c02918c45: Pull complete [2022-06-08T19:37:32.258Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T19:37:32.258Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T19:37:32.258Z] ---> ac73e934f311 [2022-06-08T19:37:32.258Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-08T19:37:32.258Z] ---> Running in 6c3922b2b625 [2022-06-08T19:37:32.258Z] Removing intermediate container 6c3922b2b625 [2022-06-08T19:37:32.258Z] ---> 462069fa4146 [2022-06-08T19:37:32.258Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-08T19:37:32.258Z] ---> Running in 3d04d324fb69 [2022-06-08T19:37:32.258Z] Removing intermediate container 3d04d324fb69 [2022-06-08T19:37:32.258Z] ---> 61dd9094bc85 [2022-06-08T19:37:32.258Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T19:37:32.258Z] ---> Running in 7642c20635a6 [2022-06-08T19:37:32.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T19:37:33.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T19:37:34.116Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T19:37:34.116Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T19:37:34.116Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T19:37:34.116Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T19:37:34.116Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T19:37:34.116Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T19:37:34.116Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T19:37:34.116Z] OK: 8 MiB in 20 packages [2022-06-08T19:37:35.107Z] Removing intermediate container 7642c20635a6 [2022-06-08T19:37:35.107Z] ---> dbcd50ef6631 [2022-06-08T19:37:35.107Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-08T19:37:36.090Z] ---> cdf721bd7c26 [2022-06-08T19:37:36.090Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-08T19:37:36.364Z] ---> 8b2e4054d7ac [2022-06-08T19:37:36.364Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-08T19:37:36.965Z] ---> cb817996b71d [2022-06-08T19:37:36.965Z] Step 19/24 : EXPOSE 59986 [2022-06-08T19:37:36.965Z] ---> Running in 89a243f9b226 [2022-06-08T19:37:37.566Z] Removing intermediate container 89a243f9b226 [2022-06-08T19:37:37.566Z] ---> 4bcda627f1ee [2022-06-08T19:37:37.566Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-08T19:37:37.566Z] ---> Running in 99ed89995d54 [2022-06-08T19:37:37.840Z] Removing intermediate container 99ed89995d54 [2022-06-08T19:37:37.840Z] ---> a13f0cfc4fb5 [2022-06-08T19:37:37.840Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-08T19:37:37.840Z] ---> Running in c384c7d3c172 [2022-06-08T19:37:38.112Z] Removing intermediate container c384c7d3c172 [2022-06-08T19:37:38.112Z] ---> 8ebd99f45d3a [2022-06-08T19:37:38.112Z] Step 22/24 : LABEL arch=arm64 [2022-06-08T19:37:38.112Z] ---> Running in 7e9a202172dd [2022-06-08T19:37:38.388Z] Removing intermediate container 7e9a202172dd [2022-06-08T19:37:38.388Z] ---> 3e0d5217def4 [2022-06-08T19:37:38.388Z] Step 23/24 : LABEL git_sha=2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:37:38.664Z] ---> Running in b8a89de7af81 [2022-06-08T19:37:38.938Z] Removing intermediate container b8a89de7af81 [2022-06-08T19:37:38.938Z] ---> 26d325f07a61 [2022-06-08T19:37:38.938Z] Step 24/24 : LABEL version=2.1.1 [2022-06-08T19:37:38.938Z] ---> Running in 8aa832a2f097 [2022-06-08T19:37:39.213Z] Removing intermediate container 8aa832a2f097 [2022-06-08T19:37:39.213Z] ---> 2a71aa0efa97 [2022-06-08T19:37:39.213Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T19:37:39.486Z] Successfully built 2a71aa0efa97 [2022-06-08T19:37:39.486Z] 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-08T19:37:39.611Z] provisioning config files... [2022-06-08T19:37:39.632Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config4948855106855648390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:37:39.993Z] ---> docker-login.sh [2022-06-08T19:37:39.993Z] nexus3.edgexfoundry.org:10001 [2022-06-08T19:37:40.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:37:40.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:37:40.269Z] Configure a credential helper to remove this warning. See [2022-06-08T19:37:40.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:37:40.269Z] [2022-06-08T19:37:40.269Z] Login Succeeded [2022-06-08T19:37:40.269Z] nexus3.edgexfoundry.org:10002 [2022-06-08T19:37:40.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:37:40.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:37:40.831Z] Configure a credential helper to remove this warning. See [2022-06-08T19:37:40.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:37:40.831Z] [2022-06-08T19:37:40.831Z] Login Succeeded [2022-06-08T19:37:40.831Z] nexus3.edgexfoundry.org:10003 [2022-06-08T19:37:41.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:37:41.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:37:41.380Z] Configure a credential helper to remove this warning. See [2022-06-08T19:37:41.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:37:41.380Z] [2022-06-08T19:37:41.380Z] Login Succeeded [2022-06-08T19:37:41.380Z] nexus3.edgexfoundry.org:10004 [2022-06-08T19:37:41.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:37:41.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:37:41.653Z] Configure a credential helper to remove this warning. See [2022-06-08T19:37:41.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:37:41.654Z] [2022-06-08T19:37:41.654Z] Login Succeeded [2022-06-08T19:37:41.654Z] docker.io [2022-06-08T19:37:42.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T19:37:42.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T19:37:42.525Z] Configure a credential helper to remove this warning. See [2022-06-08T19:37:42.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T19:37:42.525Z] [2022-06-08T19:37:42.525Z] Login Succeeded [2022-06-08T19:37:42.525Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T19:37:42.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T19:37:42.570Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T19:37:42.585Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-08T19:37:42.585Z] 2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:37:42.585Z] 2.1.1 [2022-06-08T19:37:42.585Z] 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [2022-06-08T19:37:42.585Z] jakarta [2022-06-08T19:37:42.585Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:42.936Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:43.302Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:37:43.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T19:37:43.302Z] 014b7e190434: Preparing [2022-06-08T19:37:43.302Z] 3299f8d8e21b: Preparing [2022-06-08T19:37:43.302Z] 4f8ac1e3b75c: Preparing [2022-06-08T19:37:43.302Z] fa90f9932b79: Preparing [2022-06-08T19:37:43.302Z] f73e7dbfee58: Preparing [2022-06-08T19:37:43.302Z] f73e7dbfee58: Layer already exists [2022-06-08T19:37:43.577Z] 014b7e190434: Pushed [2022-06-08T19:37:43.577Z] 3299f8d8e21b: Pushed [2022-06-08T19:37:44.180Z] fa90f9932b79: Pushed [2022-06-08T19:37:46.793Z] 4f8ac1e3b75c: Pushed [2022-06-08T19:37:46.793Z] 2d31d9e569ccd1f7332138296cadf54917855040: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:47.167Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:47.530Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1 [2022-06-08T19:37:47.530Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T19:37:47.530Z] 014b7e190434: Preparing [2022-06-08T19:37:47.530Z] 3299f8d8e21b: Preparing [2022-06-08T19:37:47.530Z] 4f8ac1e3b75c: Preparing [2022-06-08T19:37:47.530Z] fa90f9932b79: Preparing [2022-06-08T19:37:47.530Z] f73e7dbfee58: Preparing [2022-06-08T19:37:47.530Z] f73e7dbfee58: Layer already exists [2022-06-08T19:37:47.530Z] 4f8ac1e3b75c: Layer already exists [2022-06-08T19:37:47.530Z] fa90f9932b79: Layer already exists [2022-06-08T19:37:47.530Z] 014b7e190434: Layer already exists [2022-06-08T19:37:47.530Z] 3299f8d8e21b: Layer already exists [2022-06-08T19:37:47.802Z] 2.1.1: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:48.172Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:48.528Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [2022-06-08T19:37:48.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T19:37:48.528Z] 014b7e190434: Preparing [2022-06-08T19:37:48.528Z] 3299f8d8e21b: Preparing [2022-06-08T19:37:48.528Z] 4f8ac1e3b75c: Preparing [2022-06-08T19:37:48.528Z] fa90f9932b79: Preparing [2022-06-08T19:37:48.528Z] f73e7dbfee58: Preparing [2022-06-08T19:37:48.528Z] f73e7dbfee58: Layer already exists [2022-06-08T19:37:48.528Z] 4f8ac1e3b75c: Layer already exists [2022-06-08T19:37:48.528Z] 014b7e190434: Layer already exists [2022-06-08T19:37:48.528Z] 3299f8d8e21b: Layer already exists [2022-06-08T19:37:48.528Z] fa90f9932b79: Layer already exists [2022-06-08T19:37:48.799Z] 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:49.167Z] + 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-08T19:37:49.519Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [2022-06-08T19:37:49.519Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T19:37:49.519Z] 014b7e190434: Preparing [2022-06-08T19:37:49.519Z] 3299f8d8e21b: Preparing [2022-06-08T19:37:49.519Z] 4f8ac1e3b75c: Preparing [2022-06-08T19:37:49.519Z] fa90f9932b79: Preparing [2022-06-08T19:37:49.519Z] f73e7dbfee58: Preparing [2022-06-08T19:37:49.519Z] 4f8ac1e3b75c: Layer already exists [2022-06-08T19:37:49.519Z] 014b7e190434: Layer already exists [2022-06-08T19:37:49.519Z] fa90f9932b79: Layer already exists [2022-06-08T19:37:49.519Z] f73e7dbfee58: Layer already exists [2022-06-08T19:37:49.519Z] 3299f8d8e21b: Layer already exists [2022-06-08T19:37:49.791Z] jakarta: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T19:37:49.853Z] ===================================================== [Pipeline] echo [2022-06-08T19:37:49.861Z] taggedImages: [2022-06-08T19:37:49.861Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040 [2022-06-08T19:37:49.861Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1 [2022-06-08T19:37:49.861Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [2022-06-08T19:37:49.861Z] - 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-08T19:37:50.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T19:37:50.239Z] [2022-06-08T19:37:50.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:37:50.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T19:37:50.873Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-08T19:37:50.873Z] 8998bd30e6a1: Pulling fs layer [2022-06-08T19:37:50.873Z] 04944245beec: Pulling fs layer [2022-06-08T19:37:50.873Z] 699f458cf7ca: Pulling fs layer [2022-06-08T19:37:50.873Z] 765212b225bb: Pulling fs layer [2022-06-08T19:37:50.873Z] f23df028b6ca: Pulling fs layer [2022-06-08T19:37:50.873Z] d65c8cfc05b1: Pulling fs layer [2022-06-08T19:37:50.873Z] 2437ff75d9bd: Pulling fs layer [2022-06-08T19:37:50.873Z] 765212b225bb: Waiting [2022-06-08T19:37:50.873Z] f23df028b6ca: Waiting [2022-06-08T19:37:50.873Z] d65c8cfc05b1: Waiting [2022-06-08T19:37:50.873Z] 2437ff75d9bd: Waiting [2022-06-08T19:37:50.873Z] 04944245beec: Verifying Checksum [2022-06-08T19:37:50.873Z] 04944245beec: Download complete [2022-06-08T19:37:50.873Z] 765212b225bb: Verifying Checksum [2022-06-08T19:37:50.873Z] 765212b225bb: Download complete [2022-06-08T19:37:50.873Z] f23df028b6ca: Verifying Checksum [2022-06-08T19:37:50.873Z] d65c8cfc05b1: Verifying Checksum [2022-06-08T19:37:50.873Z] d65c8cfc05b1: Download complete [2022-06-08T19:37:51.148Z] 699f458cf7ca: Verifying Checksum [2022-06-08T19:37:51.148Z] 699f458cf7ca: Download complete [2022-06-08T19:37:51.426Z] 8998bd30e6a1: Verifying Checksum [2022-06-08T19:37:51.426Z] 8998bd30e6a1: Download complete [2022-06-08T19:37:54.052Z] 2437ff75d9bd: Verifying Checksum [2022-06-08T19:37:54.052Z] 2437ff75d9bd: Download complete [2022-06-08T19:37:55.493Z] 8998bd30e6a1: Pull complete [2022-06-08T19:37:56.091Z] 04944245beec: Pull complete [2022-06-08T19:37:57.529Z] 699f458cf7ca: Pull complete [2022-06-08T19:37:57.803Z] 765212b225bb: Pull complete [2022-06-08T19:37:58.781Z] f23df028b6ca: Pull complete [2022-06-08T19:37:58.781Z] d65c8cfc05b1: Pull complete [2022-06-08T19:38:13.885Z] 2437ff75d9bd: Pull complete [2022-06-08T19:38:13.885Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-08T19:38:13.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T19:38:13.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:38:14.144Z] prd-ubuntu20.04-docker-arm64-4c-16g-1813 does not seem to be running inside a container [2022-06-08T19:38:14.242Z] $ 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/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-08T19:38:16.759Z] $ docker top d77b7dcc1e8fa4c4f45dec20cac0deb3e6999225ed41087fd663a774c1d0d475 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:38:17.705Z] ---> job-cost.sh [2022-06-08T19:38:17.705Z] lf-activate-venv: SKIPPING [2022-06-08T19:38:17.705Z] INFO: No Stack... [2022-06-08T19:38:18.298Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-08T19:38:18.893Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T19:38:19.553Z] + cat /w/workspace/device-rest-go/9/archives/cost.csv [2022-06-08T19:38:19.553Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T19:38:19.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [2022-06-08T19:38:19.585Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] did not exist. Created. [2022-06-08T19:38:19.585Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T19:38:20.266Z] /w/workspace/device-rest-go/9@tmp/durable-e179828a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-08T19:38:20.939Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-08T19:38:20.960Z] Warning: overwriting stash ‘stack-cost’ [2022-06-08T19:38:21.190Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T19:38:21.196Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T19:38:21.220Z] $ docker stop --time=1 d77b7dcc1e8fa4c4f45dec20cac0deb3e6999225ed41087fd663a774c1d0d475 [2022-06-08T19:38:22.702Z] $ docker rm -f d77b7dcc1e8fa4c4f45dec20cac0deb3e6999225ed41087fd663a774c1d0d475 [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-08T19:38:23.205Z] provisioning config files... [2022-06-08T19:38:23.215Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7652477446145168173tmp [Pipeline] { [Pipeline] sh [2022-06-08T19:38:23.506Z] + set +x [2022-06-08T19:38:23.506Z] + curl -s https://codecov.io/bash [2022-06-08T19:38:23.506Z] + bash -s -- [2022-06-08T19:38:23.506Z] [2022-06-08T19:38:23.506Z] _____ _ [2022-06-08T19:38:23.506Z] / ____| | | [2022-06-08T19:38:23.506Z] | | ___ __| | ___ ___ _____ __ [2022-06-08T19:38:23.506Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-08T19:38:23.506Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-08T19:38:23.506Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-08T19:38:23.506Z] Bash-1.0.6 [2022-06-08T19:38:23.506Z] [2022-06-08T19:38:23.506Z] [2022-06-08T19:38:23.506Z] ==> git version 2.25.1 found [2022-06-08T19:38:23.507Z] ==> 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-08T19:38:23.507Z] Release-Date: 2020-01-08 [2022-06-08T19:38:23.507Z] 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-08T19:38:23.507Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-08T19:38:23.507Z] ==> Jenkins CI detected. [2022-06-08T19:38:23.507Z] current dir:  /w/workspace/exfoundry_device-rest-go_jakarta [2022-06-08T19:38:23.507Z] project root: . [2022-06-08T19:38:23.507Z] --> token set from env [2022-06-08T19:38:23.507Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-08T19:38:23.507Z] ==> Running gcov in . (disable via -X gcov) [2022-06-08T19:38:23.507Z] ==> Python coveragepy not found [2022-06-08T19:38:23.507Z] ==> Searching for coverage reports in: [2022-06-08T19:38:23.507Z] + . [2022-06-08T19:38:23.507Z] -> Found 1 reports [2022-06-08T19:38:23.507Z] ==> Detecting git/mercurial file structure [2022-06-08T19:38:23.764Z] ==> Reading reports [2022-06-08T19:38:23.764Z] + ./coverage.out bytes=9215 [2022-06-08T19:38:23.764Z] ==> Appending adjustments [2022-06-08T19:38:23.764Z] https://docs.codecov.io/docs/fixing-reports [2022-06-08T19:38:23.764Z] + Found adjustments [2022-06-08T19:38:23.764Z] ==> Gzipping contents [2022-06-08T19:38:23.764Z] 12K /tmp/codecov.PZqTFY.gz [2022-06-08T19:38:23.764Z] ==> Uploading reports [2022-06-08T19:38:23.764Z] url: https://codecov.io [2022-06-08T19:38:23.764Z] query: branch=jakarta&commit=2d31d9e569ccd1f7332138296cadf54917855040&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-08T19:38:23.764Z] -> Pinging Codecov [2022-06-08T19:38:23.764Z] 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=2d31d9e569ccd1f7332138296cadf54917855040&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-08T19:38:24.024Z] -> Uploading to [2022-06-08T19:38:24.024Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-08/4E5D53B4F1F92C436F7061BF334D961C/2d31d9e569ccd1f7332138296cadf54917855040/0228ad42-71e9-4c61-b4d7-b9c0802fe0e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T193823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cba57f3aaee8a8a62484e413e1abcd2f07194c85ae4aebcc9b4dfcb3fb7769fd [2022-06-08T19:38:24.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T19:38:24.024Z] Dload Upload Total Spent Left Speed [2022-06-08T19:38:24.284Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 33421 --:--:-- --:--:-- --:--:-- 33556 [2022-06-08T19:38:24.284Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } [2022-06-08T19:38:24.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-08T19:38:24.470Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-08T19:38:24.481Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:38:24.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T19:38:24.786Z] [2022-06-08T19:38:24.786Z] 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-08T19:38:25.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T19:38:25.089Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-08T19:38:25.089Z] df9b9388f04a: Pulling fs layer [2022-06-08T19:38:25.089Z] 52dc419b0ee2: Pulling fs layer [2022-06-08T19:38:25.089Z] 25bc292e5bac: Pulling fs layer [2022-06-08T19:38:25.089Z] 114826534d7a: Pulling fs layer [2022-06-08T19:38:25.089Z] 4657fd5d0bcf: Pulling fs layer [2022-06-08T19:38:25.089Z] 6ad1cebc031e: Pulling fs layer [2022-06-08T19:38:25.089Z] 8a3aa393b2d8: Pulling fs layer [2022-06-08T19:38:25.089Z] 114826534d7a: Waiting [2022-06-08T19:38:25.089Z] 4657fd5d0bcf: Waiting [2022-06-08T19:38:25.089Z] 6ad1cebc031e: Waiting [2022-06-08T19:38:25.089Z] 8a3aa393b2d8: Waiting [2022-06-08T19:38:25.089Z] 25bc292e5bac: Verifying Checksum [2022-06-08T19:38:25.089Z] 25bc292e5bac: Download complete [2022-06-08T19:38:25.089Z] 52dc419b0ee2: Verifying Checksum [2022-06-08T19:38:25.089Z] 52dc419b0ee2: Download complete [2022-06-08T19:38:25.089Z] 4657fd5d0bcf: Verifying Checksum [2022-06-08T19:38:25.089Z] 4657fd5d0bcf: Download complete [2022-06-08T19:38:25.089Z] df9b9388f04a: Download complete [2022-06-08T19:38:25.349Z] 6ad1cebc031e: Verifying Checksum [2022-06-08T19:38:25.349Z] 6ad1cebc031e: Download complete [2022-06-08T19:38:25.349Z] df9b9388f04a: Pull complete [2022-06-08T19:38:25.349Z] 52dc419b0ee2: Pull complete [2022-06-08T19:38:25.610Z] 25bc292e5bac: Pull complete [2022-06-08T19:38:25.869Z] 114826534d7a: Verifying Checksum [2022-06-08T19:38:25.869Z] 114826534d7a: Download complete [2022-06-08T19:38:26.128Z] 8a3aa393b2d8: Verifying Checksum [2022-06-08T19:38:26.128Z] 8a3aa393b2d8: Download complete [2022-06-08T19:38:29.417Z] 114826534d7a: Pull complete [2022-06-08T19:38:29.418Z] 4657fd5d0bcf: Pull complete [2022-06-08T19:38:29.676Z] 6ad1cebc031e: Pull complete [2022-06-08T19:38:32.970Z] 8a3aa393b2d8: Pull complete [2022-06-08T19:38:32.970Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-08T19:38:32.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T19:38:32.970Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:38:33.065Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:38:33.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-08T19:38:34.851Z] $ docker top 00b879a25b2c8465c6ba8c740b3f58e5d1cf525d21bf9aa776bddc5c9e380ad9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-08T19:38:34.934Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:jakarta' [Pipeline] sh [2022-06-08T19:38:35.217Z] + set -o pipefail [2022-06-08T19:38:35.217Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:jakarta' [2022-06-08T19:38:37.129Z] [2022-06-08T19:38:37.129Z] Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... [2022-06-08T19:38:37.129Z] [2022-06-08T19:38:37.129Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/23e015b0-e497-416f-a5ee-924b597a28fb/history/ea3e25ea-d3a1-4e0d-a292-9d41f31fd7a2 [2022-06-08T19:38:37.129Z] [2022-06-08T19:38:37.129Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-06-08T19:38:37.129Z] [2022-06-08T19:38:37.129Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-08T19:38:37.129Z] [2022-06-08T19:38:37.129Z] [Pipeline] } [2022-06-08T19:38:37.147Z] $ docker stop --time=1 00b879a25b2c8465c6ba8c740b3f58e5d1cf525d21bf9aa776bddc5c9e380ad9 [2022-06-08T19:38:38.483Z] $ docker rm -f 00b879a25b2c8465c6ba8c740b3f58e5d1cf525d21bf9aa776bddc5c9e380ad9 [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-08T19:38:39.091Z] + git log --format=format:%s -1 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] sh [2022-06-08T19:38:39.383Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T19:38:39.383Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:38:39.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T19:38:39.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:38:39.785Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:38:39.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T19:38:40.239Z] $ docker top 66843dbefc8c126715e3e7c544e90fb291ac9514a1971deb3a611a41fbacda11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T19:38:40.325Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T19:38:40.623Z] + git semver [Pipeline] } [2022-06-08T19:38:40.902Z] $ docker stop --time=1 66843dbefc8c126715e3e7c544e90fb291ac9514a1971deb3a611a41fbacda11 [2022-06-08T19:38:42.204Z] $ docker rm -f 66843dbefc8c126715e3e7c544e90fb291ac9514a1971deb3a611a41fbacda11 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:38:42.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T19:38:42.602Z] [2022-06-08T19:38:42.602Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:38:42.911Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T19:38:42.911Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-08T19:38:42.911Z] ab5ef0e58194: Pulling fs layer [2022-06-08T19:38:42.911Z] 9712f1f96733: Pulling fs layer [2022-06-08T19:38:42.911Z] 63f879dbbcfc: Pulling fs layer [2022-06-08T19:38:42.911Z] 0d9ebad4ef96: Pulling fs layer [2022-06-08T19:38:42.911Z] e9a5061849ea: Pulling fs layer [2022-06-08T19:38:42.911Z] d747dcd14b5f: Pulling fs layer [2022-06-08T19:38:42.911Z] 2de7ff778b66: Pulling fs layer [2022-06-08T19:38:42.911Z] d747dcd14b5f: Waiting [2022-06-08T19:38:42.911Z] 0d9ebad4ef96: Waiting [2022-06-08T19:38:42.911Z] e9a5061849ea: Waiting [2022-06-08T19:38:42.911Z] 2de7ff778b66: Waiting [2022-06-08T19:38:42.911Z] 9712f1f96733: Verifying Checksum [2022-06-08T19:38:42.911Z] 9712f1f96733: Download complete [2022-06-08T19:38:43.180Z] 63f879dbbcfc: Verifying Checksum [2022-06-08T19:38:43.180Z] 63f879dbbcfc: Download complete [2022-06-08T19:38:43.441Z] e9a5061849ea: Verifying Checksum [2022-06-08T19:38:43.441Z] e9a5061849ea: Download complete [2022-06-08T19:38:43.441Z] 0d9ebad4ef96: Verifying Checksum [2022-06-08T19:38:43.441Z] 0d9ebad4ef96: Download complete [2022-06-08T19:38:43.441Z] d747dcd14b5f: Verifying Checksum [2022-06-08T19:38:43.441Z] d747dcd14b5f: Download complete [2022-06-08T19:38:43.441Z] ab5ef0e58194: Verifying Checksum [2022-06-08T19:38:43.442Z] ab5ef0e58194: Download complete [2022-06-08T19:38:43.442Z] 2de7ff778b66: Verifying Checksum [2022-06-08T19:38:46.737Z] ab5ef0e58194: Pull complete [2022-06-08T19:38:46.737Z] 9712f1f96733: Pull complete [2022-06-08T19:38:46.997Z] 63f879dbbcfc: Pull complete [2022-06-08T19:38:51.186Z] 0d9ebad4ef96: Pull complete [2022-06-08T19:38:51.186Z] e9a5061849ea: Pull complete [2022-06-08T19:38:51.186Z] d747dcd14b5f: Pull complete [2022-06-08T19:38:52.123Z] 2de7ff778b66: Pull complete [2022-06-08T19:38:52.123Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-08T19:38:52.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T19:38:52.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:38:52.218Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:38:52.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-08T19:38:54.400Z] $ docker top 6be3addbd5bb838750876266053cba3e43828e46387387549fe46ef6662707f4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-08T19:38:54.472Z] provisioning config files... [2022-06-08T19:38:54.479Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5886583964243621809tmp [2022-06-08T19:38:54.490Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4434018455997189041tmp [2022-06-08T19:38:54.505Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7604303504952843552tmp [Pipeline] { [Pipeline] echo [2022-06-08T19:38:54.517Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:38:54.800Z] ---> sigul-configuration.sh [2022-06-08T19:38:54.800Z] gpg: directory `/root/.gnupg' created [2022-06-08T19:38:54.800Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-08T19:38:54.800Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-08T19:38:54.800Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-08T19:38:54.800Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-08T19:38:54.800Z] gpg: CAST5 encrypted data [2022-06-08T19:38:54.800Z] gpg: encrypted with 1 passphrase [2022-06-08T19:38:54.800Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-08T19:38:55.085Z] + mkdir /home/jenkins [2022-06-08T19:38:55.085Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-08T19:38:55.375Z] + 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-08T19:38:55.384Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:38:55.671Z] ---> sigul-install.sh [2022-06-08T19:38:55.671Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-08T19:38:55.962Z] + git tag --list [2022-06-08T19:38:55.962Z] v1.0.0 [2022-06-08T19:38:55.962Z] v1.1.0 [2022-06-08T19:38:55.962Z] v1.1.1 [2022-06-08T19:38:55.962Z] v1.1.2 [2022-06-08T19:38:55.962Z] v1.2.0 [2022-06-08T19:38:55.962Z] v1.2.1 [2022-06-08T19:38:55.962Z] v2.0.0 [2022-06-08T19:38:55.962Z] v2.1.0 [2022-06-08T19:38:55.962Z] v2.1.1 [2022-06-08T19:38:55.962Z] v2.1.1-dev.1 [2022-06-08T19:38:55.962Z] v2.1.1-dev.2 [2022-06-08T19:38:55.962Z] v2.1.1-dev.3 [2022-06-08T19:38:55.962Z] v2.2.0 [2022-06-08T19:38:55.962Z] v2.2.1-dev.1 [2022-06-08T19:38:55.962Z] v2.2.1-dev.2 [2022-06-08T19:38:55.962Z] v2.2.1-dev.3 [2022-06-08T19:38:55.962Z] v2.2.1-dev.4 [Pipeline] sh [2022-06-08T19:38:56.251Z] + lftools sign git-tag v2.1.1 [2022-06-08T19:38:56.823Z] Signing Git tag with Sigul... [2022-06-08T19:38:56.823Z] Signing v2.1.1 [Pipeline] echo [2022-06-08T19:38:57.404Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:38:57.691Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-08T19:38:57.700Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-08T19:38:57.728Z] $ docker stop --time=1 6be3addbd5bb838750876266053cba3e43828e46387387549fe46ef6662707f4 [2022-06-08T19:38:59.045Z] $ docker rm -f 6be3addbd5bb838750876266053cba3e43828e46387387549fe46ef6662707f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-08T19:38:59.458Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T19:38:59.458Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:38:59.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T19:38:59.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:38:59.847Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:38:59.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T19:39:00.280Z] $ docker top 75fac71aaceb6e03331d6b4f6fc6084215d9570d37e80106ff091367d226bf13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T19:39:00.369Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T19:39:00.665Z] + git semver [Pipeline] } [2022-06-08T19:39:00.946Z] $ docker stop --time=1 75fac71aaceb6e03331d6b4f6fc6084215d9570d37e80106ff091367d226bf13 [2022-06-08T19:39:02.237Z] $ docker rm -f 75fac71aaceb6e03331d6b4f6fc6084215d9570d37e80106ff091367d226bf13 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T19:39:02.590Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T19:39:02.590Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:39:02.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T19:39:02.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:39:02.977Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:39:03.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T19:39:03.408Z] $ docker top c30601bd6271901ad5b9718894c8736313eff3a2bd830e8a07e675db150d88f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T19:39:03.488Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T19:39:03.780Z] + git semver [Pipeline] } [2022-06-08T19:39:04.058Z] $ docker stop --time=1 c30601bd6271901ad5b9718894c8736313eff3a2bd830e8a07e675db150d88f0 [2022-06-08T19:39:05.368Z] $ docker rm -f c30601bd6271901ad5b9718894c8736313eff3a2bd830e8a07e675db150d88f0 [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-08T19:39:06.033Z] + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] [2022-06-08T19:39:06.033Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-08T19:39:06.033Z] total 16 [2022-06-08T19:39:06.033Z] drwxr-xr-x 3 root root 4096 Jun 8 19:33 . [2022-06-08T19:39:06.033Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 19:38 .. [2022-06-08T19:39:06.033Z] drwxr-xr-x 2 root root 4096 Jun 8 19:33 cost [2022-06-08T19:39:06.033Z] -rw-r--r-- 1 root root 86 Jun 8 19:33 cost.csv [2022-06-08T19:39:06.033Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-08T19:39:06.033Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-08T19:39:06.033Z] total 16 [2022-06-08T19:39:06.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 19:33 . [2022-06-08T19:39:06.033Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 19:38 .. [2022-06-08T19:39:06.033Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 19:33 cost [2022-06-08T19:39:06.033Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 8 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:06.328Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:07.199Z] ---> package-listing.sh [2022-06-08T19:39:07.199Z] ++ facter osfamily [2022-06-08T19:39:07.199Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-08T19:39:07.460Z] + OS_FAMILY=debian [2022-06-08T19:39:07.460Z] + workspace=/w/workspace/exfoundry_device-rest-go_jakarta [2022-06-08T19:39:07.460Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-08T19:39:07.460Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-08T19:39:07.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-08T19:39:07.460Z] + PACKAGES=/tmp/packages_start.txt [2022-06-08T19:39:07.460Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-08T19:39:07.460Z] + PACKAGES=/tmp/packages_end.txt [2022-06-08T19:39:07.460Z] + case "${OS_FAMILY}" in [2022-06-08T19:39:07.460Z] + dpkg -l [2022-06-08T19:39:07.460Z] + grep '^ii' [2022-06-08T19:39:07.460Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-08T19:39:07.460Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-08T19:39:07.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-08T19:39:07.460Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-08T19:39:07.460Z] + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [2022-06-08T19:39:07.460Z] + 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-08T19:39:07.472Z] 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-08T19:39:07.747Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T19:39:08.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T19:39:08.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T19:39:08.391Z] prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container [2022-06-08T19:39:08.431Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T19:39:08.687Z] $ docker top 2b59aeea8a4c3335556d20da2ee2787d8f27dc15d2ad858c6c6111b239b02631 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T19:39:09.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-08T19:39:09.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-08T19:39:09.612Z] + ls /var/log/sa-host [2022-06-08T19:39:09.612Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T19:39:09.679Z] provisioning config files... [2022-06-08T19:39:09.688Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4924779944417241384tmp [Pipeline] { [Pipeline] echo [2022-06-08T19:39:09.705Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:09.990Z] ---> create-netrc.sh [Pipeline] } [2022-06-08T19:39:09.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:10.322Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-08T19:39:10.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:10.618Z] ---> sudo-logs.sh [2022-06-08T19:39:10.618Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-08T19:39:10.650Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:10.940Z] ---> job-cost.sh [2022-06-08T19:39:10.940Z] lf-activate-venv: SKIPPING [2022-06-08T19:39:10.940Z] DEBUG: total: 0.2199999988079071 [2022-06-08T19:39:10.940Z] INFO: Retrieving Stack Cost... [2022-06-08T19:39:11.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T19:39:11.771Z] INFO: Archiving Costs [Pipeline] echo [2022-06-08T19:39:11.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T19:39:12.067Z] ---> logs-deploy.sh [2022-06-08T19:39:12.067Z] lf-activate-venv: SKIPPING [2022-06-08T19:39:12.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/9 [2022-06-08T19:39:12.067Z] INFO: archiving workspace using pattern(s): [2022-06-08T19:39:13.013Z] Archives upload complete. [2022-06-08T19:39:13.013Z] INFO: archiving logs to Nexus