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 19:31:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:31:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:31:30 ========================================================= 19:31:30 EdgeX Global Pipelines Version Info 19:31:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:31:31 ------------------- 19:31:31 stable info: 19:31:31 ------------------- 19:31:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:31:31 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:31:31 Message: update stable to v1.0.234 19:31:32 ------------------- 19:31:32 experimental info: 19:31:32 ------------------- 19:31:32 Commited By: **** collab-it+edgex@linuxfoundation.org 19:31:32 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:31:32 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d31d9e [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:31:32 provisioning config files... 19:31:32 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3855514386800200053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:33 ---> docker-login.sh 19:31:33 nexus3.edgexfoundry.org:10001 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 nexus3.edgexfoundry.org:10002 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 nexus3.edgexfoundry.org:10003 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 nexus3.edgexfoundry.org:10004 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 docker.io 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:34 Configure a credential helper to remove this warning. See 19:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:34 19:31:34 Login Succeeded 19:31:34 ---> docker-login.sh ends [Pipeline] } 19:31:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:31:34 + git rev-list -1 --merges 2d31d9e569ccd1f7332138296cadf54917855040~1..2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo 19:31:34 -----------> git rev-list -1 --merges 2d31d9e569ccd1f7332138296cadf54917855040~1..2d31d9e569ccd1f7332138296cadf54917855040 2d31d9e569ccd1f7332138296cadf54917855040 [false] [Pipeline] sh 19:31:34 + git log --format=format:%s -1 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo 19:31:34 ========================================================= 19:31:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 19:31:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:31:35 + git log --format=format:%s -1 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] echo 19:31:35 [semverPrep] GIT_COMMIT: 2d31d9e569ccd1f7332138296cadf54917855040, Commit Message: ci(lts-release): LTS release v2.1.1 @c825c9e [Pipeline] echo 19:31:35 [semverPrep] This is not a build commit. [Pipeline] sh 19:31:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:31:35 + grep -v github /etc/ssh/ssh_known_hosts 19:31:35 + [ -e /tmp/ssh_known_hosts ] 19:31:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:31:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:31:35 + sudo tee -a /etc/ssh/ssh_known_hosts 19:31:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:31:35 19:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:31:36 0.1.4: Pulling from edgex-devops/py-git-semver 19:31:36 42c077c10790: Pulling fs layer 19:31:36 f63e77b7563a: Pulling fs layer 19:31:36 bd5fdadae976: Pulling fs layer 19:31:36 205491f53016: Pulling fs layer 19:31:36 df18705c85c3: Pulling fs layer 19:31:36 bdb3f477010e: Pulling fs layer 19:31:36 c8a8fc8e1c8f: Pulling fs layer 19:31:36 2c6e9b1d212d: Pulling fs layer 19:31:36 bdb8f0575790: Pulling fs layer 19:31:36 386e3cb2ff24: Pulling fs layer 19:31:36 2343380bae48: Pulling fs layer 19:31:36 c8a8fc8e1c8f: Waiting 19:31:36 2c6e9b1d212d: Waiting 19:31:36 205491f53016: Waiting 19:31:36 df18705c85c3: Waiting 19:31:36 bdb8f0575790: Waiting 19:31:36 386e3cb2ff24: Waiting 19:31:36 bdb3f477010e: Waiting 19:31:36 f63e77b7563a: Download complete 19:31:36 205491f53016: Verifying Checksum 19:31:36 205491f53016: Download complete 19:31:36 df18705c85c3: Verifying Checksum 19:31:36 df18705c85c3: Download complete 19:31:36 bd5fdadae976: Verifying Checksum 19:31:36 bd5fdadae976: Download complete 19:31:36 bdb3f477010e: Download complete 19:31:36 2c6e9b1d212d: Verifying Checksum 19:31:36 2c6e9b1d212d: Download complete 19:31:36 bdb8f0575790: Verifying Checksum 19:31:36 bdb8f0575790: Download complete 19:31:36 386e3cb2ff24: Download complete 19:31:36 2343380bae48: Verifying Checksum 19:31:36 2343380bae48: Download complete 19:31:36 42c077c10790: Verifying Checksum 19:31:36 42c077c10790: Download complete 19:31:36 c8a8fc8e1c8f: Download complete 19:31:38 42c077c10790: Pull complete 19:31:38 f63e77b7563a: Pull complete 19:31:38 bd5fdadae976: Pull complete 19:31:38 205491f53016: Pull complete 19:31:39 df18705c85c3: Pull complete 19:31:39 bdb3f477010e: Pull complete 19:31:41 c8a8fc8e1c8f: Pull complete 19:31:41 2c6e9b1d212d: Pull complete 19:31:41 bdb8f0575790: Pull complete 19:31:41 386e3cb2ff24: Pull complete 19:31:41 2343380bae48: Pull complete 19:31:41 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 19:31:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:31:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:41 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:31:41 $ 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 19:31:43 $ docker top 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 -eo pid,comm 19:31:43 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). 19:31:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:31:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:31:43 [ssh-agent] Looking for ssh-agent implementation... 19:31:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:31:44 $ docker exec 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent 19:31:44 SSH_AUTH_SOCK=/tmp/ssh-7zwa19rZe4Qn/agent.32 19:31:44 SSH_AGENT_PID=39 19:31:44 Running ssh-add (command line suppressed) 19:31:44 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) 19:31:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:31:44 + git tag --points-at 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } 19:31:44 $ docker exec --env ******** --env ******** 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent -k 19:31:44 unset SSH_AUTH_SOCK; 19:31:44 unset SSH_AGENT_PID; 19:31:44 echo Agent pid 39 killed; 19:31:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:31:44 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.1' [Pipeline] sshagent 19:31:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:31:44 [ssh-agent] Looking for ssh-agent implementation... 19:31:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:31:44 $ docker exec 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent 19:31:45 SSH_AUTH_SOCK=/tmp/ssh-yNPaXQFWlwVu/agent.72 19:31:45 SSH_AGENT_PID=79 19:31:45 Running ssh-add (command line suppressed) 19:31:45 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) 19:31:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:31:45 + git semver init 19:31:45 2022-06-08 19:31:45,698 [run_init] DEBUG init version:0.0.0 force:False 19:31:45 2022-06-08 19:31:45,699 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver 19:31:45 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 19:31:45 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) 19:31:46 2022-06-08 19:31:46,589 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude 19:31:46 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 19:31:46 2022-06-08 19:31:46,589 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 19:31:46 2022-06-08 19:31:46,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 19:31:46 2.1.1 [Pipeline] } 19:31:46 $ docker exec --env ******** --env ******** 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 ssh-agent -k 19:31:46 unset SSH_AUTH_SOCK; 19:31:46 unset SSH_AGENT_PID; 19:31:46 echo Agent pid 79 killed; 19:31:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:31:47 + git semver [Pipeline] } 19:31:47 $ docker stop --time=1 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 19:31:48 $ docker rm -f 09099c39de82ca1fc864a0f8ac4e80cb754b9ce322040cbc989683994d32a188 [Pipeline] // withDockerContainer [Pipeline] sh 19:31:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:31:49 Stashed 1 file(s) [Pipeline] echo 19:31:49 [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 19:31:49 + git checkout 2d31d9e569ccd1f7332138296cadf54917855040 19:31:49 HEAD is now at 2d31d9e ci(lts-release): LTS release v2.1.1 @c825c9e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:31:49 provisioning config files... 19:31:49 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3458875093106871185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:50 ---> docker-login.sh 19:31:50 nexus3.edgexfoundry.org:10001 19:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:50 Configure a credential helper to remove this warning. See 19:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:50 19:31:50 Login Succeeded 19:31:50 nexus3.edgexfoundry.org:10002 19:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:50 Configure a credential helper to remove this warning. See 19:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:50 19:31:50 Login Succeeded 19:31:50 nexus3.edgexfoundry.org:10003 19:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:50 Configure a credential helper to remove this warning. See 19:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:50 19:31:50 Login Succeeded 19:31:50 nexus3.edgexfoundry.org:10004 19:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:50 Configure a credential helper to remove this warning. See 19:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:50 19:31:50 Login Succeeded 19:31:50 docker.io 19:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:50 Configure a credential helper to remove this warning. See 19:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:50 19:31:50 Login Succeeded 19:31:50 ---> docker-login.sh ends [Pipeline] } 19:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:31:51 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 19:31:51 + grep ^go [0-9].[0-9]*+ go.mod 19:31:51 cut -d -f 2 [Pipeline] echo 19:31:51 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:31:51 ========================================================= 19:31:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 19:31:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:51 + 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 . 19:31:51 Sending build context to Docker daemon 21.64MB 19:31:51 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 19:31:51 Step 2/11 : FROM ${BASE} AS builder 19:31:51 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 19:31:51 a0d0a0d46f8b: Pulling fs layer 19:31:51 31adcdaf11c8: Pulling fs layer 19:31:51 b8b176561691: Pulling fs layer 19:31:51 4527c011a84f: Pulling fs layer 19:31:51 5d74067f8e1e: Pulling fs layer 19:31:51 fd57009d33ed: Pulling fs layer 19:31:51 6b058263d067: Pulling fs layer 19:31:51 16d7c86c65f4: Pulling fs layer 19:31:51 1290d154cb4b: Pulling fs layer 19:31:51 5d74067f8e1e: Waiting 19:31:51 16d7c86c65f4: Waiting 19:31:51 fd57009d33ed: Waiting 19:31:51 1290d154cb4b: Waiting 19:31:51 6b058263d067: Waiting 19:31:51 4527c011a84f: Waiting 19:31:51 b8b176561691: Download complete 19:31:51 31adcdaf11c8: Verifying Checksum 19:31:51 31adcdaf11c8: Download complete 19:31:51 5d74067f8e1e: Verifying Checksum 19:31:51 5d74067f8e1e: Download complete 19:31:51 fd57009d33ed: Verifying Checksum 19:31:51 fd57009d33ed: Download complete 19:31:51 a0d0a0d46f8b: Download complete 19:31:51 6b058263d067: Download complete 19:31:51 16d7c86c65f4: Verifying Checksum 19:31:51 16d7c86c65f4: Download complete 19:31:52 a0d0a0d46f8b: Pull complete 19:31:52 31adcdaf11c8: Pull complete 19:31:52 b8b176561691: Pull complete 19:31:52 1290d154cb4b: Verifying Checksum 19:31:52 1290d154cb4b: Download complete 19:31:52 4527c011a84f: Verifying Checksum 19:31:52 4527c011a84f: Download complete 19:31:56 4527c011a84f: Pull complete 19:31:56 5d74067f8e1e: Pull complete 19:31:56 fd57009d33ed: Pull complete 19:31:56 6b058263d067: Pull complete 19:31:56 16d7c86c65f4: Pull complete 19:31:58 1290d154cb4b: Pull complete 19:31:58 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 19:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 19:31:58 ---> de6a6ee31cbe 19:31:58 Step 3/11 : ARG MAKE='make build' 19:31:59 ---> Running in 02adac3841f8 19:32:00 Removing intermediate container 02adac3841f8 19:32:00 ---> eaf74cc2269c 19:32:00 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:32:00 ---> Running in 24130f98a296 19:32:00 Removing intermediate container 24130f98a296 19:32:00 ---> 9b3ec5d84735 19:32:00 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 19:32:00 ---> Running in 9a947a5e1eca 19:32:00 Removing intermediate container 9a947a5e1eca 19:32:00 ---> 1b6262509735 19:32:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:32:00 ---> Running in 14793621f04f 19:32:01 Removing intermediate container 14793621f04f 19:32:01 ---> b86149040d9c 19:32:01 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:32:01 ---> Running in 621bf0403fe2 19:32:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:32:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:32:02 (1/4) Installing openssh-keygen (8.6_p1-r3) 19:32:02 (2/4) Installing libedit (20210216.3.1-r0) 19:32:02 (3/4) Installing openssh-client-common (8.6_p1-r3) 19:32:02 (4/4) Installing openssh-client-default (8.6_p1-r3) 19:32:02 Executing busybox-1.33.1-r3.trigger 19:32:02 OK: 224 MiB in 56 packages 19:32:03 Removing intermediate container 621bf0403fe2 19:32:03 ---> 00cdfb7ff6cb 19:32:03 Step 8/11 : WORKDIR /device-rest-go 19:32:03 ---> Running in 5619c6854e3e 19:32:03 Removing intermediate container 5619c6854e3e 19:32:03 ---> 80e16919f091 19:32:03 Step 9/11 : COPY . . 19:32:04 ---> d125b737ce59 19:32:04 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:04 ---> Running in 772dcc3a86e3 19:32:04 Still waiting to schedule task 19:32:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:32:04 skipping... 19:32:05 Removing intermediate container 772dcc3a86e3 19:32:05 ---> ad28ed2d3255 19:32:05 Step 11/11 : RUN $MAKE 19:32:05 ---> Running in 98075da75424 19:32:05 noop 19:32:05 Removing intermediate container 98075da75424 19:32:05 ---> a1f4e17f46bd 19:32:05 Successfully built a1f4e17f46bd 19:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:06 + docker inspect -f . ci-base-image-x86_64 19:32:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:06 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:32:06 $ 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 19:32:06 $ docker top 0a6115a3f067637e57df4a891bddaf9736774bf5cd64cfe68602264b26f0213a -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:06 + go version 19:32:06 go version go1.16.8 linux/amd64 [Pipeline] } 19:32:06 $ docker stop --time=1 0a6115a3f067637e57df4a891bddaf9736774bf5cd64cfe68602264b26f0213a 19:32:08 $ 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 19:32:08 + docker inspect -f . ci-base-image-x86_64 19:32:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:08 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:32:08 $ 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 19:32:09 $ docker top de42280b508c2ccdbd36298a7536740012fdac43b67500cf717324557f73d555 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:32:09 + make test 19:32:09 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:32:09 ? github.com/edgexfoundry/device-rest-go [no test files] 19:32:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:32:17 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements 19:32:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:32:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:32:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:32:22 ./bin/test-attribution-txt.sh 19:32:22 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 19:32:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 19:32:22 go: downloading github.com/gorilla/mux v1.8.0 19:32:22 go: downloading github.com/spf13/cast v1.4.1 19:32:22 go: downloading github.com/stretchr/testify v1.7.0 19:32:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:32:22 go: downloading github.com/davecgh/go-spew v1.1.1 19:32:22 go: downloading github.com/pmezard/go-difflib v1.0.0 19:32:22 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 19:32:22 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 19:32:22 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:32:22 go: downloading github.com/google/uuid v1.3.0 19:32:22 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 19:32:22 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 19:32:22 go: downloading github.com/pelletier/go-toml v1.9.4 19:32:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:32:22 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 19:32:22 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 19:32:22 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:32:22 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:32:22 go: downloading github.com/hashicorp/consul/api v1.9.1 19:32:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:32:22 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:32:22 go: downloading github.com/go-kit/kit v0.11.0 19:32:22 go: downloading github.com/go-playground/validator/v10 v10.9.0 19:32:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:32:22 go: downloading github.com/pebbe/zmq4 v1.2.7 19:32:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:32:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:32:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:32:22 go: downloading github.com/mitchellh/copystructure v1.0.0 19:32:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:32:22 go: downloading github.com/go-logfmt/logfmt v0.5.0 19:32:22 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 19:32:22 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 19:32:22 go: downloading golang.org/x/text v0.3.6 19:32:22 go: downloading github.com/hashicorp/errwrap v1.0.0 19:32:23 go: downloading github.com/x448/float16 v0.8.4 19:32:23 go: downloading github.com/gorilla/websocket v1.4.2 19:32:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:32:23 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:32:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:32:23 go: downloading github.com/hashicorp/serf v0.9.5 19:32:23 go: downloading github.com/go-playground/universal-translator v0.18.0 19:32:23 go: downloading github.com/leodido/go-urn v1.2.1 19:32:23 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 19:32:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:32:23 go: downloading github.com/fatih/color v1.9.0 19:32:23 go: downloading github.com/mattn/go-colorable v0.1.6 19:32:23 go: downloading github.com/mattn/go-isatty v0.0.12 19:32:23 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:32:23 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 19:32:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 19:32:24 + go mod tidy 19:32:24 go: downloading github.com/go-stack/stack v1.8.0 19:32:24 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:32:24 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 19:32:24 go: downloading github.com/stretchr/objx v0.1.1 19:32:24 go: downloading github.com/hashicorp/consul/sdk v0.8.0 19:32:24 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:32:24 go: downloading github.com/onsi/ginkgo v1.10.1 19:32:25 go: downloading github.com/onsi/gomega v1.7.0 19:32:25 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:32:25 go: downloading github.com/hashicorp/memberlist v0.2.2 19:32:25 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:32:25 go: downloading github.com/kr/pretty v0.3.0 19:32:25 go: downloading github.com/pkg/errors v0.9.1 19:32:25 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:32:25 go: downloading github.com/miekg/dns v1.1.26 19:32:25 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:32:25 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:32:25 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:32:25 go: downloading gopkg.in/yaml.v2 v2.3.0 19:32:25 go: downloading github.com/hpcloud/tail v1.0.0 19:32:25 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:32:25 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:32:25 go: downloading github.com/rogpeppe/go-internal v1.8.0 19:32:25 go: downloading github.com/kr/text v0.2.0 [Pipeline] } 19:32:25 $ docker stop --time=1 de42280b508c2ccdbd36298a7536740012fdac43b67500cf717324557f73d555 19:32:27 $ docker rm -f de42280b508c2ccdbd36298a7536740012fdac43b67500cf717324557f73d555 [Pipeline] // withDockerContainer [Pipeline] sh 19:32:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:32:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:32:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:32:28 + ls -al . 19:32:28 total 184 19:32:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 19:32 . 19:32:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 19:31 .. 19:32:28 -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 19:31 .dockerignore 19:32:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 19:31 .git 19:32:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:31 .github 19:32:28 -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 19:31 .gitignore 19:32:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 19:31 .semver 19:32:28 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 19:31 Attribution.txt 19:32:28 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 19:31 CHANGELOG.md 19:32:28 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 19:31 Dockerfile 19:32:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 19:31 GOVERNANCE.md 19:32:28 -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 19:31 Jenkinsfile 19:32:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 19:31 LICENSE 19:32:28 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 19:31 Makefile 19:32:28 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 19:31 OWNERS.md 19:32:28 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 19:31 README.md 19:32:28 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 19:31 VERSION 19:32:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:31 bin 19:32:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:31 cmd 19:32:28 -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 19:32 coverage.out 19:32:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:31 driver 19:32:28 -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 19:32 go.mod 19:32:28 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 19:31 go.sum 19:32:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:31 snap 19:32:28 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 19:31 vendor 19:32:28 -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 19:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:29 + 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 . 19:32:29 Sending build context to Docker daemon 21.65MB 19:32:29 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 19:32:29 Step 2/24 : FROM ${BASE} AS builder 19:32:29 ---> a1f4e17f46bd 19:32:29 Step 3/24 : ARG MAKE='make build' 19:32:29 ---> Running in 16f2184c1774 19:32:29 Removing intermediate container 16f2184c1774 19:32:29 ---> 68d8c6d80682 19:32:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:32:29 ---> Running in db7898fdf053 19:32:29 Removing intermediate container db7898fdf053 19:32:29 ---> f8e104720b12 19:32:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:32:29 ---> Running in 1a50a2ba672a 19:32:29 Removing intermediate container 1a50a2ba672a 19:32:29 ---> 7796d65fdaf4 19:32:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:32:29 ---> Running in 810aef2a3ab6 19:32:30 Removing intermediate container 810aef2a3ab6 19:32:30 ---> f2db25d83348 19:32:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:32:30 ---> Running in e603eb4f3fa3 19:32:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:32:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:32:31 OK: 224 MiB in 56 packages 19:32:32 Removing intermediate container e603eb4f3fa3 19:32:32 ---> 96316c51ab16 19:32:32 Step 8/24 : WORKDIR /device-rest-go 19:32:32 ---> Running in a9ca27e90335 19:32:32 Removing intermediate container a9ca27e90335 19:32:32 ---> ae9f20436586 19:32:32 Step 9/24 : COPY . . 19:32:33 ---> 95728b4e3ae2 19:32:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:33 ---> Running in 6640c0c95731 19:32:33 skipping... 19:32:34 Removing intermediate container 6640c0c95731 19:32:34 ---> d315c8072d58 19:32:34 Step 11/24 : RUN $MAKE 19:32:34 ---> Running in 3395cf030fdd 19:32:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1" -o cmd/device-rest ./cmd 19:32:42 Removing intermediate container 3395cf030fdd 19:32:42 ---> f5fbd56df68b 19:32:42 Step 12/24 : FROM alpine:3.14 19:32:42 3.14: Pulling from library/alpine 19:32:42 8663204ce13b: Pulling fs layer 19:32:42 8663204ce13b: Verifying Checksum 19:32:42 8663204ce13b: Download complete 19:32:42 8663204ce13b: Pull complete 19:32:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:32:43 Status: Downloaded newer image for alpine:3.14 19:32:43 ---> e04c818066af 19:32:43 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:32:43 ---> Running in 31e244d2ecba 19:32:43 Removing intermediate container 31e244d2ecba 19:32:43 ---> 55b054816fef 19:32:43 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 19:32:43 ---> Running in b43ff71c12a3 19:32:43 Removing intermediate container b43ff71c12a3 19:32:43 ---> b10adb39c014 19:32:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:32:43 ---> Running in 0534ae54c8b3 19:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:32:43 (1/6) Installing dumb-init (1.2.5-r1) 19:32:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:32:43 (3/6) Installing libsodium (1.0.18-r0) 19:32:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:32:43 (5/6) Installing libzmq (4.3.4-r0) 19:32:43 (6/6) Installing zeromq (4.3.4-r0) 19:32:43 Executing busybox-1.33.1-r7.trigger 19:32:43 OK: 8 MiB in 20 packages 19:32:44 Removing intermediate container 0534ae54c8b3 19:32:44 ---> 389c92662fb6 19:32:44 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 19:32:45 ---> 9ac760d31a7f 19:32:45 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 19:32:45 ---> 54135e30f844 19:32:45 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 19:32:45 ---> 5506c5387513 19:32:45 Step 19/24 : EXPOSE 59986 19:32:45 ---> Running in 39e20c5634db 19:32:45 Removing intermediate container 39e20c5634db 19:32:45 ---> 0d8f5df7dd76 19:32:45 Step 20/24 : ENTRYPOINT ["/device-rest"] 19:32:45 ---> Running in 790ea7d469bc 19:32:45 Removing intermediate container 790ea7d469bc 19:32:45 ---> 77eecbe30520 19:32:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:32:45 ---> Running in 7ff4d4418aed 19:32:45 Removing intermediate container 7ff4d4418aed 19:32:45 ---> 5bc3026ffd0d 19:32:45 Step 22/24 : LABEL arch=amd64 19:32:45 ---> Running in 5882db5aed96 19:32:45 Removing intermediate container 5882db5aed96 19:32:45 ---> 7f0c928432e3 19:32:45 Step 23/24 : LABEL git_sha=2d31d9e569ccd1f7332138296cadf54917855040 19:32:45 ---> Running in 72cfe0ffd4df 19:32:45 Removing intermediate container 72cfe0ffd4df 19:32:45 ---> c5f692b29a4d 19:32:45 Step 24/24 : LABEL version=2.1.1 19:32:45 ---> Running in 5e4d9107dc6e 19:32:45 Removing intermediate container 5e4d9107dc6e 19:32:45 ---> 8d17e96a3ac3 19:32:45 [Warning] One or more build-args [ARCH] were not consumed 19:32:45 Successfully built 8d17e96a3ac3 19:32:45 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:32:45 provisioning config files... 19:32:45 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2591939803041046665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:32:46 ---> docker-login.sh 19:32:46 nexus3.edgexfoundry.org:10001 19:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:46 Configure a credential helper to remove this warning. See 19:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:46 19:32:46 Login Succeeded 19:32:46 nexus3.edgexfoundry.org:10002 19:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:46 Configure a credential helper to remove this warning. See 19:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:46 19:32:46 Login Succeeded 19:32:46 nexus3.edgexfoundry.org:10003 19:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:46 Configure a credential helper to remove this warning. See 19:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:46 19:32:46 Login Succeeded 19:32:46 nexus3.edgexfoundry.org:10004 19:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:46 Configure a credential helper to remove this warning. See 19:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:46 19:32:46 Login Succeeded 19:32:46 docker.io 19:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:47 Configure a credential helper to remove this warning. See 19:32:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:47 19:32:47 Login Succeeded 19:32:47 ---> docker-login.sh ends [Pipeline] } 19:32:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:32:47 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:32:47 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 19:32:47 2d31d9e569ccd1f7332138296cadf54917855040 19:32:47 2.1.1 19:32:47 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 19:32:47 jakarta 19:32:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040 19:32:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:32:47 8f33ee17381b: Preparing 19:32:47 fcb04a9ff15f: Preparing 19:32:47 b64ba49f6caf: Preparing 19:32:47 9d631d251f7a: Preparing 19:32:47 b541d28bf3b4: Preparing 19:32:47 b541d28bf3b4: Layer already exists 19:32:47 fcb04a9ff15f: Pushed 19:32:47 8f33ee17381b: Pushed 19:32:47 9d631d251f7a: Pushed 19:32:49 b64ba49f6caf: Pushed 19:32:49 2d31d9e569ccd1f7332138296cadf54917855040: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1 19:32:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:32:49 8f33ee17381b: Preparing 19:32:49 fcb04a9ff15f: Preparing 19:32:49 b64ba49f6caf: Preparing 19:32:49 9d631d251f7a: Preparing 19:32:49 b541d28bf3b4: Preparing 19:32:49 9d631d251f7a: Layer already exists 19:32:49 8f33ee17381b: Layer already exists 19:32:49 b64ba49f6caf: Layer already exists 19:32:49 b541d28bf3b4: Layer already exists 19:32:49 fcb04a9ff15f: Layer already exists 19:32:49 2.1.1: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 19:32:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:32:50 8f33ee17381b: Preparing 19:32:50 fcb04a9ff15f: Preparing 19:32:50 b64ba49f6caf: Preparing 19:32:50 9d631d251f7a: Preparing 19:32:50 b541d28bf3b4: Preparing 19:32:50 b541d28bf3b4: Layer already exists 19:32:50 b64ba49f6caf: Layer already exists 19:32:50 9d631d251f7a: Layer already exists 19:32:50 8f33ee17381b: Layer already exists 19:32:50 fcb04a9ff15f: Layer already exists 19:32:50 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta 19:32:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:32:51 8f33ee17381b: Preparing 19:32:51 fcb04a9ff15f: Preparing 19:32:51 b64ba49f6caf: Preparing 19:32:51 9d631d251f7a: Preparing 19:32:51 b541d28bf3b4: Preparing 19:32:51 b541d28bf3b4: Layer already exists 19:32:51 b64ba49f6caf: Layer already exists 19:32:51 8f33ee17381b: Layer already exists 19:32:51 fcb04a9ff15f: Layer already exists 19:32:51 9d631d251f7a: Layer already exists 19:32:51 jakarta: digest: sha256:5c321313fe2bb9756f777ac97d723eee0c6634e84b21350ac689f96a497e2c7b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:32:51 ===================================================== [Pipeline] echo 19:32:51 taggedImages: 19:32:51 - nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040 19:32:51 - nexus3.edgexfoundry.org:10004/device-rest:2.1.1 19:32:51 - nexus3.edgexfoundry.org:10004/device-rest:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 19:32:51 - 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 19:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:51 19:32:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:52 latest: Pulling from edgex-lftools-log-publisher 19:32:52 5eb5b503b376: Pulling fs layer 19:32:52 5c69ac0246d0: Pulling fs layer 19:32:52 ec43610c2a17: Pulling fs layer 19:32:52 3a2ae6a8a46f: Pulling fs layer 19:32:52 33b1e0a273af: Pulling fs layer 19:32:52 5d3b04190fa2: Pulling fs layer 19:32:52 2f39f015ded8: Pulling fs layer 19:32:52 33b1e0a273af: Waiting 19:32:52 5d3b04190fa2: Waiting 19:32:52 3a2ae6a8a46f: Waiting 19:32:52 5c69ac0246d0: Verifying Checksum 19:32:52 5c69ac0246d0: Download complete 19:32:52 3a2ae6a8a46f: Verifying Checksum 19:32:52 3a2ae6a8a46f: Download complete 19:32:52 33b1e0a273af: Verifying Checksum 19:32:52 33b1e0a273af: Download complete 19:32:52 5d3b04190fa2: Download complete 19:32:52 ec43610c2a17: Verifying Checksum 19:32:52 ec43610c2a17: Download complete 19:32:52 5eb5b503b376: Verifying Checksum 19:32:52 5eb5b503b376: Download complete 19:32:52 2f39f015ded8: Download complete 19:32:53 5eb5b503b376: Pull complete 19:32:53 5c69ac0246d0: Pull complete 19:32:54 ec43610c2a17: Pull complete 19:32:54 3a2ae6a8a46f: Pull complete 19:32:54 33b1e0a273af: Pull complete 19:32:54 5d3b04190fa2: Pull complete 19:32:58 2f39f015ded8: Pull complete 19:32:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:58 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:32:58 $ 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 19:33:01 $ docker top b8ed67b9c6fe73ef49bf64b48dfe0e2a994093ba5f1968344806f3d6249d4e1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:33:01 ---> job-cost.sh 19:33:01 lf-activate-venv: SKIPPING 19:33:01 INFO: No Stack... 19:33:01 INFO: Retrieving Pricing Info for: v3-standard-8 19:33:02 INFO: Archiving Costs [Pipeline] sh 19:33:02 + cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv 19:33:02 + cut -d, -f6 [Pipeline] lock 19:33:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] 19:33:02 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] did not exist. Created. 19:33:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:33:02 + echo total: 0.2199999988079071 [Pipeline] stash 19:33:02 Stashed 1 file(s) [Pipeline] } 19:33:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] // lock [Pipeline] } 19:33:02 $ docker stop --time=1 b8ed67b9c6fe73ef49bf64b48dfe0e2a994093ba5f1968344806f3d6249d4e1d 19:33:04 $ docker rm -f b8ed67b9c6fe73ef49bf64b48dfe0e2a994093ba5f1968344806f3d6249d4e1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:33:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1813 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws 19:33:34 Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout 19:33:34 The recommended git tool is: git 19:33:41 using credential edgex-jenkins-ssh 19:33:41 Cloning the remote Git repository 19:33:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:33:41 > git init /w/workspace/device-rest-go/9 # timeout=10 19:33:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:33:41 > git --version # timeout=10 19:33:42 > git --version # 'git version 2.25.1' 19:33:42 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:33:43 Avoid second fetch 19:33:43 Checking out Revision 2d31d9e569ccd1f7332138296cadf54917855040 (jakarta) 19:33:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:33:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:33:43 > git config core.sparsecheckout # timeout=10 19:33:43 > git checkout -f 2d31d9e569ccd1f7332138296cadf54917855040 # timeout=10 19:33:48 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 19:33:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:33:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:33:49 Dload Upload Total Spent Left Speed 19:33:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98024 0 --:--:-- --:--:-- --:--:-- 98024 [Pipeline] sh 19:33:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:33:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:33:50 + sudo tee /etc/docker/daemon.new 19:33:50 { 19:33:50 "registry-mirrors": [ 19:33:50 "https://nexus3.edgexfoundry.org:10001" 19:33:50 ], 19:33:50 "bip": "10.250.0.254/24", 19:33:50 "hosts": [ 19:33:50 "tcp://0.0.0.0:5555", 19:33:50 "unix:///var/run/docker.sock" 19:33:50 ], 19:33:50 "mtu": 1458, 19:33:50 "selinux-enabled": true, 19:33:50 "seccomp-profile": "/etc/docker/seccomp.json" 19:33:50 } [Pipeline] sh 19:33:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:33:50 + sudo service docker restart [Pipeline] sh 19:34:09 + git checkout 2d31d9e569ccd1f7332138296cadf54917855040 19:34:09 HEAD is now at 2d31d9e ci(lts-release): LTS release v2.1.1 @c825c9e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:34:09 provisioning config files... 19:34:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config3393254532219721569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:34:10 ---> docker-login.sh 19:34:10 nexus3.edgexfoundry.org:10001 19:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:10 Configure a credential helper to remove this warning. See 19:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:10 19:34:10 Login Succeeded 19:34:10 nexus3.edgexfoundry.org:10002 19:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:11 Configure a credential helper to remove this warning. See 19:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:11 19:34:11 Login Succeeded 19:34:11 nexus3.edgexfoundry.org:10003 19:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:11 Configure a credential helper to remove this warning. See 19:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:11 19:34:11 Login Succeeded 19:34:11 nexus3.edgexfoundry.org:10004 19:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:12 Configure a credential helper to remove this warning. See 19:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:12 19:34:12 Login Succeeded 19:34:12 docker.io 19:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:12 Configure a credential helper to remove this warning. See 19:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:12 19:34:12 Login Succeeded 19:34:12 ---> docker-login.sh ends [Pipeline] } 19:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:34:13 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 19:34:13 + + cutgrep -d ^go [0-9].[0-9]* -f go.mod 2 19:34:13 [Pipeline] echo 19:34:13 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:34:13 ========================================================= 19:34:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 19:34:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:13 + 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 . 19:34:14 Sending build context to Docker daemon 11.13MB 19:34:15 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 19:34:15 Step 2/11 : FROM ${BASE} AS builder 19:34:15 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 19:34:15 552d1f2373af: Pulling fs layer 19:34:15 ea3f2d53f512: Pulling fs layer 19:34:15 9e70ebbbe112: Pulling fs layer 19:34:15 7a9cfe048b4a: Pulling fs layer 19:34:15 72dc09318566: Pulling fs layer 19:34:15 f324388ff665: Pulling fs layer 19:34:15 53ef782089cf: Pulling fs layer 19:34:15 2af28fca035d: Pulling fs layer 19:34:15 f324388ff665: Waiting 19:34:15 53ef782089cf: Waiting 19:34:15 2af28fca035d: Waiting 19:34:15 7a9cfe048b4a: Waiting 19:34:15 72dc09318566: Waiting 19:34:15 9e70ebbbe112: Verifying Checksum 19:34:15 9e70ebbbe112: Download complete 19:34:15 ea3f2d53f512: Download complete 19:34:15 72dc09318566: Verifying Checksum 19:34:15 72dc09318566: Download complete 19:34:15 f324388ff665: Verifying Checksum 19:34:15 f324388ff665: Download complete 19:34:15 552d1f2373af: Verifying Checksum 19:34:15 53ef782089cf: Verifying Checksum 19:34:15 53ef782089cf: Download complete 19:34:16 552d1f2373af: Pull complete 19:34:16 ea3f2d53f512: Pull complete 19:34:17 9e70ebbbe112: Pull complete 19:34:17 2af28fca035d: Verifying Checksum 19:34:17 2af28fca035d: Download complete 19:34:18 7a9cfe048b4a: Download complete 19:34:30 7a9cfe048b4a: Pull complete 19:34:30 72dc09318566: Pull complete 19:34:30 f324388ff665: Pull complete 19:34:30 53ef782089cf: Pull complete 19:34:36 2af28fca035d: Pull complete 19:34:36 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 19:34:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 19:34:36 ---> d19f1962542a 19:34:36 Step 3/11 : ARG MAKE='make build' 19:34:37 ---> Running in 8657bb30542f 19:34:37 Removing intermediate container 8657bb30542f 19:34:37 ---> 0fff758b2997 19:34:37 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:34:38 ---> Running in c021f74e7e26 19:34:38 Removing intermediate container c021f74e7e26 19:34:38 ---> 21351ab1b4cf 19:34:38 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 19:34:38 ---> Running in b275a74a55ef 19:34:38 Removing intermediate container b275a74a55ef 19:34:38 ---> b8569390ab3c 19:34:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:34:38 ---> Running in c9dc1d302db5 19:34:40 Removing intermediate container c9dc1d302db5 19:34:40 ---> 4bf6f5a22165 19:34:40 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:34:40 ---> Running in 742e391c53d4 19:34:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:34:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:34:43 (1/4) Installing openssh-keygen (8.6_p1-r3) 19:34:43 (2/4) Installing libedit (20210216.3.1-r0) 19:34:43 (3/4) Installing openssh-client-common (8.6_p1-r3) 19:34:43 (4/4) Installing openssh-client-default (8.6_p1-r3) 19:34:43 Executing busybox-1.33.1-r3.trigger 19:34:43 OK: 223 MiB in 56 packages 19:34:44 Removing intermediate container 742e391c53d4 19:34:44 ---> 7e397ae4de33 19:34:44 Step 8/11 : WORKDIR /device-rest-go 19:34:44 ---> Running in 2efba486449e 19:34:44 Removing intermediate container 2efba486449e 19:34:44 ---> 42c6baf6dffe 19:34:44 Step 9/11 : COPY . . 19:34:48 ---> 2ac2583a7c47 19:34:48 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:34:48 ---> Running in 70bf387181de 19:34:49 skipping... 19:34:49 Removing intermediate container 70bf387181de 19:34:49 ---> e0d6fe75c2bd 19:34:49 Step 11/11 : RUN $MAKE 19:34:49 ---> Running in 066071422a2d 19:34:50 noop 19:34:51 Removing intermediate container 066071422a2d 19:34:51 ---> 5e1254c4cb87 19:34:51 Successfully built 5e1254c4cb87 19:34:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:51 + docker inspect -f . ci-base-image-arm64 19:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:52 prd-ubuntu20.04-docker-arm64-4c-16g-1813 does not seem to be running inside a container 19:34:52 $ 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 19:34:53 $ docker top d6f0ad023daffd6f394b5a1aed1c716e5919bbd1f2d17a3f268fbe5ac5627fef -eo pid,comm [Pipeline] { [Pipeline] sh 19:34:54 + go version 19:34:54 go version go1.16.8 linux/arm64 [Pipeline] } 19:34:54 $ docker stop --time=1 d6f0ad023daffd6f394b5a1aed1c716e5919bbd1f2d17a3f268fbe5ac5627fef 19:34:56 $ 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 19:34:56 + docker inspect -f . ci-base-image-arm64 19:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:56 prd-ubuntu20.04-docker-arm64-4c-16g-1813 does not seem to be running inside a container 19:34:57 $ 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 19:34:58 $ docker top 74b69e17051651a76874b47f3a48949c89501aac0e55ccb51222ab3d544da08e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:34:59 + make test 19:34:59 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:35:00 ? github.com/edgexfoundry/device-rest-go [no test files] 19:35:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:35:56 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 56.0% of statements 19:35:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:36:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:36:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:36:23 ./bin/test-attribution-txt.sh 19:36:23 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 19:36:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 19:36:23 go: downloading github.com/gorilla/mux v1.8.0 19:36:23 go: downloading github.com/spf13/cast v1.4.1 19:36:23 go: downloading github.com/stretchr/testify v1.7.0 19:36:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:36:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 19:36:23 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:36:23 go: downloading github.com/google/uuid v1.3.0 19:36:23 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 19:36:23 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 19:36:23 go: downloading github.com/pelletier/go-toml v1.9.4 19:36:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 19:36:23 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:36:23 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 19:36:23 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 19:36:23 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:36:23 go: downloading github.com/go-kit/kit v0.11.0 19:36:23 go: downloading github.com/go-playground/validator/v10 v10.9.0 19:36:23 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:36:23 go: downloading github.com/hashicorp/consul/api v1.9.1 19:36:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:36:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:36:23 go: downloading github.com/pebbe/zmq4 v1.2.7 19:36:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:36:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:36:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:36:23 go: downloading github.com/mitchellh/copystructure v1.0.0 19:36:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:36:23 go: downloading github.com/go-logfmt/logfmt v0.5.0 19:36:23 go: downloading github.com/davecgh/go-spew v1.1.1 19:36:23 go: downloading github.com/pmezard/go-difflib v1.0.0 19:36:23 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 19:36:23 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 19:36:23 go: downloading golang.org/x/text v0.3.6 19:36:23 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:36:23 go: downloading github.com/hashicorp/errwrap v1.0.0 19:36:23 go: downloading github.com/x448/float16 v0.8.4 19:36:23 go: downloading github.com/go-playground/universal-translator v0.18.0 19:36:23 go: downloading github.com/leodido/go-urn v1.2.1 19:36:23 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 19:36:25 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:36:25 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:36:25 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:36:25 go: downloading github.com/hashicorp/serf v0.9.5 19:36:25 go: downloading github.com/gorilla/websocket v1.4.2 19:36:25 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:36:25 go: downloading github.com/go-playground/locales v0.14.0 19:36:25 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:36:25 go: downloading github.com/fatih/color v1.9.0 19:36:25 go: downloading github.com/mattn/go-colorable v0.1.6 19:36:25 go: downloading github.com/mattn/go-isatty v0.0.12 [Pipeline] echo 19:36:30 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 19:36:30 + go mod tidy 19:36:31 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:36:31 go: downloading github.com/go-stack/stack v1.8.0 19:36:31 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 19:36:31 go: downloading github.com/stretchr/objx v0.1.1 19:36:31 go: downloading github.com/hashicorp/consul/sdk v0.8.0 19:36:31 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:36:31 go: downloading github.com/onsi/ginkgo v1.10.1 19:36:31 go: downloading github.com/onsi/gomega v1.7.0 19:36:31 go: downloading github.com/kr/pretty v0.3.0 19:36:31 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:36:31 go: downloading github.com/hashicorp/memberlist v0.2.2 19:36:31 go: downloading github.com/pkg/errors v0.9.1 19:36:31 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:36:31 go: downloading github.com/kr/text v0.2.0 19:36:31 go: downloading github.com/rogpeppe/go-internal v1.8.0 19:36:31 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:36:31 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:36:31 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:36:31 go: downloading github.com/miekg/dns v1.1.26 19:36:32 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:36:32 go: downloading gopkg.in/yaml.v2 v2.3.0 19:36:32 go: downloading github.com/hpcloud/tail v1.0.0 19:36:32 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:36:32 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 19:36:32 $ docker stop --time=1 74b69e17051651a76874b47f3a48949c89501aac0e55ccb51222ab3d544da08e 19:36:34 $ docker rm -f 74b69e17051651a76874b47f3a48949c89501aac0e55ccb51222ab3d544da08e [Pipeline] // withDockerContainer [Pipeline] sh 19:36:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:36:36 Warning: overwriting stash ‘coverage-report’ 19:36:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:36:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:36:38 + ls -al . 19:36:38 total 180 19:36:38 drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 19:36 . 19:36:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 19:33 .. 19:36:38 -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 19:33 .dockerignore 19:36:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 19:34 .git 19:36:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:33 .github 19:36:38 -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 19:33 .gitignore 19:36:38 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 19:33 Attribution.txt 19:36:38 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 19:33 CHANGELOG.md 19:36:38 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 19:33 Dockerfile 19:36:38 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 19:33 GOVERNANCE.md 19:36:38 -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 19:33 Jenkinsfile 19:36:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 19:33 LICENSE 19:36:38 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 19:33 Makefile 19:36:38 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 19:33 OWNERS.md 19:36:38 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 19:33 README.md 19:36:38 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 19:31 VERSION 19:36:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:33 bin 19:36:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:33 cmd 19:36:38 -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 19:35 coverage.out 19:36:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 19:33 driver 19:36:38 -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 19:36 go.mod 19:36:38 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 19:33 go.sum 19:36:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 19:33 snap 19:36:38 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 19:33 vendor 19:36:38 -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 19:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:36:38 + 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 . 19:36:39 Sending build context to Docker daemon 11.14MB 19:36:39 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 19:36:39 Step 2/24 : FROM ${BASE} AS builder 19:36:39 ---> 5e1254c4cb87 19:36:39 Step 3/24 : ARG MAKE='make build' 19:36:39 ---> Running in 03caa1fe45e5 19:36:40 Removing intermediate container 03caa1fe45e5 19:36:40 ---> 853dcc640461 19:36:40 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:36:40 ---> Running in 222a5740bd0c 19:36:40 Removing intermediate container 222a5740bd0c 19:36:40 ---> 39a75cdacf42 19:36:40 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:36:40 ---> Running in 85211ed34492 19:36:40 Removing intermediate container 85211ed34492 19:36:40 ---> f55197c96715 19:36:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:36:40 ---> Running in c4f0738ab433 19:36:42 Removing intermediate container c4f0738ab433 19:36:42 ---> 5bce92ab6c52 19:36:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:36:42 ---> Running in f268ea191447 19:36:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:36:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:36:45 OK: 223 MiB in 56 packages 19:36:46 Removing intermediate container f268ea191447 19:36:46 ---> 1d86d35fe225 19:36:46 Step 8/24 : WORKDIR /device-rest-go 19:36:46 ---> Running in 09ae62be0d9d 19:36:46 Removing intermediate container 09ae62be0d9d 19:36:46 ---> b6fdaecd0144 19:36:46 Step 9/24 : COPY . . 19:36:51 ---> e32c6b9dbfd0 19:36:51 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:36:51 ---> Running in 138be1f086f4 19:36:51 skipping... 19:36:51 Removing intermediate container 138be1f086f4 19:36:51 ---> a2aa993ad617 19:36:51 Step 11/24 : RUN $MAKE 19:36:52 ---> Running in c80c6e59a7d8 19:36:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1" -o cmd/device-rest ./cmd 19:37:32 Removing intermediate container c80c6e59a7d8 19:37:32 ---> 36a9cd1332e3 19:37:32 Step 12/24 : FROM alpine:3.14 19:37:32 3.14: Pulling from library/alpine 19:37:32 455c02918c45: Pulling fs layer 19:37:32 455c02918c45: Verifying Checksum 19:37:32 455c02918c45: Download complete 19:37:32 455c02918c45: Pull complete 19:37:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:37:32 Status: Downloaded newer image for alpine:3.14 19:37:32 ---> ac73e934f311 19:37:32 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:37:32 ---> Running in 6c3922b2b625 19:37:32 Removing intermediate container 6c3922b2b625 19:37:32 ---> 462069fa4146 19:37:32 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 19:37:32 ---> Running in 3d04d324fb69 19:37:32 Removing intermediate container 3d04d324fb69 19:37:32 ---> 61dd9094bc85 19:37:32 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:37:32 ---> Running in 7642c20635a6 19:37:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:37:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:37:34 (1/6) Installing dumb-init (1.2.5-r1) 19:37:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:37:34 (3/6) Installing libsodium (1.0.18-r0) 19:37:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:37:34 (5/6) Installing libzmq (4.3.4-r0) 19:37:34 (6/6) Installing zeromq (4.3.4-r0) 19:37:34 Executing busybox-1.33.1-r7.trigger 19:37:34 OK: 8 MiB in 20 packages 19:37:35 Removing intermediate container 7642c20635a6 19:37:35 ---> dbcd50ef6631 19:37:35 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 19:37:36 ---> cdf721bd7c26 19:37:36 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 19:37:36 ---> 8b2e4054d7ac 19:37:36 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 19:37:36 ---> cb817996b71d 19:37:36 Step 19/24 : EXPOSE 59986 19:37:36 ---> Running in 89a243f9b226 19:37:37 Removing intermediate container 89a243f9b226 19:37:37 ---> 4bcda627f1ee 19:37:37 Step 20/24 : ENTRYPOINT ["/device-rest"] 19:37:37 ---> Running in 99ed89995d54 19:37:37 Removing intermediate container 99ed89995d54 19:37:37 ---> a13f0cfc4fb5 19:37:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:37:37 ---> Running in c384c7d3c172 19:37:38 Removing intermediate container c384c7d3c172 19:37:38 ---> 8ebd99f45d3a 19:37:38 Step 22/24 : LABEL arch=arm64 19:37:38 ---> Running in 7e9a202172dd 19:37:38 Removing intermediate container 7e9a202172dd 19:37:38 ---> 3e0d5217def4 19:37:38 Step 23/24 : LABEL git_sha=2d31d9e569ccd1f7332138296cadf54917855040 19:37:38 ---> Running in b8a89de7af81 19:37:38 Removing intermediate container b8a89de7af81 19:37:38 ---> 26d325f07a61 19:37:38 Step 24/24 : LABEL version=2.1.1 19:37:38 ---> Running in 8aa832a2f097 19:37:39 Removing intermediate container 8aa832a2f097 19:37:39 ---> 2a71aa0efa97 19:37:39 [Warning] One or more build-args [ARCH] were not consumed 19:37:39 Successfully built 2a71aa0efa97 19:37:39 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 19:37:39 provisioning config files... 19:37:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config4948855106855648390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:37:39 ---> docker-login.sh 19:37:39 nexus3.edgexfoundry.org:10001 19:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:40 Configure a credential helper to remove this warning. See 19:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:40 19:37:40 Login Succeeded 19:37:40 nexus3.edgexfoundry.org:10002 19:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:40 Configure a credential helper to remove this warning. See 19:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:40 19:37:40 Login Succeeded 19:37:40 nexus3.edgexfoundry.org:10003 19:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:41 Configure a credential helper to remove this warning. See 19:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:41 19:37:41 Login Succeeded 19:37:41 nexus3.edgexfoundry.org:10004 19:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:41 Configure a credential helper to remove this warning. See 19:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:41 19:37:41 Login Succeeded 19:37:41 docker.io 19:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:42 Configure a credential helper to remove this warning. See 19:37:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:42 19:37:42 Login Succeeded 19:37:42 ---> docker-login.sh ends [Pipeline] } 19:37:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:37:42 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:37:42 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 19:37:42 2d31d9e569ccd1f7332138296cadf54917855040 19:37:42 2.1.1 19:37:42 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 19:37:42 jakarta 19:37:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040 19:37:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:37:43 014b7e190434: Preparing 19:37:43 3299f8d8e21b: Preparing 19:37:43 4f8ac1e3b75c: Preparing 19:37:43 fa90f9932b79: Preparing 19:37:43 f73e7dbfee58: Preparing 19:37:43 f73e7dbfee58: Layer already exists 19:37:43 014b7e190434: Pushed 19:37:43 3299f8d8e21b: Pushed 19:37:44 fa90f9932b79: Pushed 19:37:46 4f8ac1e3b75c: Pushed 19:37:46 2d31d9e569ccd1f7332138296cadf54917855040: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:47 + 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 19:37:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1 19:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:37:47 014b7e190434: Preparing 19:37:47 3299f8d8e21b: Preparing 19:37:47 4f8ac1e3b75c: Preparing 19:37:47 fa90f9932b79: Preparing 19:37:47 f73e7dbfee58: Preparing 19:37:47 f73e7dbfee58: Layer already exists 19:37:47 4f8ac1e3b75c: Layer already exists 19:37:47 fa90f9932b79: Layer already exists 19:37:47 014b7e190434: Layer already exists 19:37:47 3299f8d8e21b: Layer already exists 19:37:47 2.1.1: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:48 + 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 19:37:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 19:37:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:37:48 014b7e190434: Preparing 19:37:48 3299f8d8e21b: Preparing 19:37:48 4f8ac1e3b75c: Preparing 19:37:48 fa90f9932b79: Preparing 19:37:48 f73e7dbfee58: Preparing 19:37:48 f73e7dbfee58: Layer already exists 19:37:48 4f8ac1e3b75c: Layer already exists 19:37:48 014b7e190434: Layer already exists 19:37:48 3299f8d8e21b: Layer already exists 19:37:48 fa90f9932b79: Layer already exists 19:37:48 2d31d9e569ccd1f7332138296cadf54917855040-2.1.1: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta 19:37:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:37:49 014b7e190434: Preparing 19:37:49 3299f8d8e21b: Preparing 19:37:49 4f8ac1e3b75c: Preparing 19:37:49 fa90f9932b79: Preparing 19:37:49 f73e7dbfee58: Preparing 19:37:49 4f8ac1e3b75c: Layer already exists 19:37:49 014b7e190434: Layer already exists 19:37:49 fa90f9932b79: Layer already exists 19:37:49 f73e7dbfee58: Layer already exists 19:37:49 3299f8d8e21b: Layer already exists 19:37:49 jakarta: digest: sha256:9faa6b609904a65959e970eed80e89a214e321d9b0883768546685b1a95fbb35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:37:49 ===================================================== [Pipeline] echo 19:37:49 taggedImages: 19:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040 19:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1 19:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d31d9e569ccd1f7332138296cadf54917855040-2.1.1 19:37:49 - 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 19:37:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:37:50 19:37:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:37:50 arm64: Pulling from edgex-lftools-log-publisher 19:37:50 8998bd30e6a1: Pulling fs layer 19:37:50 04944245beec: Pulling fs layer 19:37:50 699f458cf7ca: Pulling fs layer 19:37:50 765212b225bb: Pulling fs layer 19:37:50 f23df028b6ca: Pulling fs layer 19:37:50 d65c8cfc05b1: Pulling fs layer 19:37:50 2437ff75d9bd: Pulling fs layer 19:37:50 765212b225bb: Waiting 19:37:50 f23df028b6ca: Waiting 19:37:50 d65c8cfc05b1: Waiting 19:37:50 2437ff75d9bd: Waiting 19:37:50 04944245beec: Verifying Checksum 19:37:50 04944245beec: Download complete 19:37:50 765212b225bb: Verifying Checksum 19:37:50 765212b225bb: Download complete 19:37:50 f23df028b6ca: Verifying Checksum 19:37:50 d65c8cfc05b1: Verifying Checksum 19:37:50 d65c8cfc05b1: Download complete 19:37:51 699f458cf7ca: Verifying Checksum 19:37:51 699f458cf7ca: Download complete 19:37:51 8998bd30e6a1: Verifying Checksum 19:37:51 8998bd30e6a1: Download complete 19:37:54 2437ff75d9bd: Verifying Checksum 19:37:54 2437ff75d9bd: Download complete 19:37:55 8998bd30e6a1: Pull complete 19:37:56 04944245beec: Pull complete 19:37:57 699f458cf7ca: Pull complete 19:37:57 765212b225bb: Pull complete 19:37:58 f23df028b6ca: Pull complete 19:37:58 d65c8cfc05b1: Pull complete 19:38:13 2437ff75d9bd: Pull complete 19:38:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:38:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:38:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:14 prd-ubuntu20.04-docker-arm64-4c-16g-1813 does not seem to be running inside a container 19:38:14 $ 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 19:38:16 $ docker top d77b7dcc1e8fa4c4f45dec20cac0deb3e6999225ed41087fd663a774c1d0d475 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:17 ---> job-cost.sh 19:38:17 lf-activate-venv: SKIPPING 19:38:17 INFO: No Stack... 19:38:18 INFO: Retrieving Pricing Info for: v3-standard-4 19:38:18 INFO: Archiving Costs [Pipeline] sh 19:38:19 + cat /w/workspace/device-rest-go/9/archives/cost.csv 19:38:19 + cut -d, -f6 [Pipeline] lock 19:38:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] 19:38:19 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] did not exist. Created. 19:38:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:38:20 /w/workspace/device-rest-go/9@tmp/durable-e179828a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:38:20 + echo total: 0.10999999940395355 [Pipeline] stash 19:38:20 Warning: overwriting stash ‘stack-cost’ 19:38:21 Stashed 1 file(s) [Pipeline] } 19:38:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-9-stack-cost] [Pipeline] // lock [Pipeline] } 19:38:21 $ docker stop --time=1 d77b7dcc1e8fa4c4f45dec20cac0deb3e6999225ed41087fd663a774c1d0d475 19:38:22 $ 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 19:38:23 provisioning config files... 19:38:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7652477446145168173tmp [Pipeline] { [Pipeline] sh 19:38:23 + set +x 19:38:23 + curl -s https://codecov.io/bash 19:38:23 + bash -s -- 19:38:23 19:38:23 _____ _ 19:38:23 / ____| | | 19:38:23 | | ___ __| | ___ ___ _____ __ 19:38:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:38:23 | |___| (_) | (_| | __/ (_| (_) \ V / 19:38:23 \_____\___/ \__,_|\___|\___\___/ \_/ 19:38:23 Bash-1.0.6 19:38:23 19:38:23 19:38:23 ==> git version 2.25.1 found 19:38:23 ==> 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 19:38:23 Release-Date: 2020-01-08 19:38:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:38:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:38:23 ==> Jenkins CI detected. 19:38:23 current dir:  /w/workspace/exfoundry_device-rest-go_jakarta 19:38:23 project root: . 19:38:23 --> token set from env 19:38:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:38:23 ==> Running gcov in . (disable via -X gcov) 19:38:23 ==> Python coveragepy not found 19:38:23 ==> Searching for coverage reports in: 19:38:23 + . 19:38:23 -> Found 1 reports 19:38:23 ==> Detecting git/mercurial file structure 19:38:23 ==> Reading reports 19:38:23 + ./coverage.out bytes=9215 19:38:23 ==> Appending adjustments 19:38:23 https://docs.codecov.io/docs/fixing-reports 19:38:23 + Found adjustments 19:38:23 ==> Gzipping contents 19:38:23 12K /tmp/codecov.PZqTFY.gz 19:38:23 ==> Uploading reports 19:38:23 url: https://codecov.io 19:38:23 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= 19:38:23 -> Pinging Codecov 19:38:23 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= 19:38:24 -> Uploading to 19:38:24 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 19:38:24 % Total % Received % Xferd Average Speed Time Time Time Current 19:38:24 Dload Upload Total Spent Left Speed 19:38:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 33421 --:--:-- --:--:-- --:--:-- 33556 19:38:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] } 19:38:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:38:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:38:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:38:24 19:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:38:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:38:25 df9b9388f04a: Pulling fs layer 19:38:25 52dc419b0ee2: Pulling fs layer 19:38:25 25bc292e5bac: Pulling fs layer 19:38:25 114826534d7a: Pulling fs layer 19:38:25 4657fd5d0bcf: Pulling fs layer 19:38:25 6ad1cebc031e: Pulling fs layer 19:38:25 8a3aa393b2d8: Pulling fs layer 19:38:25 114826534d7a: Waiting 19:38:25 4657fd5d0bcf: Waiting 19:38:25 6ad1cebc031e: Waiting 19:38:25 8a3aa393b2d8: Waiting 19:38:25 25bc292e5bac: Verifying Checksum 19:38:25 25bc292e5bac: Download complete 19:38:25 52dc419b0ee2: Verifying Checksum 19:38:25 52dc419b0ee2: Download complete 19:38:25 4657fd5d0bcf: Verifying Checksum 19:38:25 4657fd5d0bcf: Download complete 19:38:25 df9b9388f04a: Download complete 19:38:25 6ad1cebc031e: Verifying Checksum 19:38:25 6ad1cebc031e: Download complete 19:38:25 df9b9388f04a: Pull complete 19:38:25 52dc419b0ee2: Pull complete 19:38:25 25bc292e5bac: Pull complete 19:38:25 114826534d7a: Verifying Checksum 19:38:25 114826534d7a: Download complete 19:38:26 8a3aa393b2d8: Verifying Checksum 19:38:26 8a3aa393b2d8: Download complete 19:38:29 114826534d7a: Pull complete 19:38:29 4657fd5d0bcf: Pull complete 19:38:29 6ad1cebc031e: Pull complete 19:38:32 8a3aa393b2d8: Pull complete 19:38:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:38:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:38:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:33 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:38:33 $ 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 19:38:34 $ docker top 00b879a25b2c8465c6ba8c740b3f58e5d1cf525d21bf9aa776bddc5c9e380ad9 -eo pid,comm [Pipeline] { [Pipeline] echo 19:38:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:jakarta' [Pipeline] sh 19:38:35 + set -o pipefail 19:38:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:jakarta' 19:38:37 19:38:37 Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... 19:38:37 19:38:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/23e015b0-e497-416f-a5ee-924b597a28fb/history/ea3e25ea-d3a1-4e0d-a292-9d41f31fd7a2 19:38:37 19:38:37 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 19:38:37 19:38:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:38:37 19:38:37 [Pipeline] } 19:38:37 $ docker stop --time=1 00b879a25b2c8465c6ba8c740b3f58e5d1cf525d21bf9aa776bddc5c9e380ad9 19:38:38 $ 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 19:38:39 + git log --format=format:%s -1 2d31d9e569ccd1f7332138296cadf54917855040 [Pipeline] sh 19:38:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:38:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:38:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:39 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:38:39 $ 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 19:38:40 $ docker top 66843dbefc8c126715e3e7c544e90fb291ac9514a1971deb3a611a41fbacda11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:38:40 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:38:40 + git semver [Pipeline] } 19:38:40 $ docker stop --time=1 66843dbefc8c126715e3e7c544e90fb291ac9514a1971deb3a611a41fbacda11 19:38:42 $ docker rm -f 66843dbefc8c126715e3e7c544e90fb291ac9514a1971deb3a611a41fbacda11 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:38:42 19:38:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:38:42 0.23.1-centos7: Pulling from edgex-lftools 19:38:42 ab5ef0e58194: Pulling fs layer 19:38:42 9712f1f96733: Pulling fs layer 19:38:42 63f879dbbcfc: Pulling fs layer 19:38:42 0d9ebad4ef96: Pulling fs layer 19:38:42 e9a5061849ea: Pulling fs layer 19:38:42 d747dcd14b5f: Pulling fs layer 19:38:42 2de7ff778b66: Pulling fs layer 19:38:42 d747dcd14b5f: Waiting 19:38:42 0d9ebad4ef96: Waiting 19:38:42 e9a5061849ea: Waiting 19:38:42 2de7ff778b66: Waiting 19:38:42 9712f1f96733: Verifying Checksum 19:38:42 9712f1f96733: Download complete 19:38:43 63f879dbbcfc: Verifying Checksum 19:38:43 63f879dbbcfc: Download complete 19:38:43 e9a5061849ea: Verifying Checksum 19:38:43 e9a5061849ea: Download complete 19:38:43 0d9ebad4ef96: Verifying Checksum 19:38:43 0d9ebad4ef96: Download complete 19:38:43 d747dcd14b5f: Verifying Checksum 19:38:43 d747dcd14b5f: Download complete 19:38:43 ab5ef0e58194: Verifying Checksum 19:38:43 ab5ef0e58194: Download complete 19:38:43 2de7ff778b66: Verifying Checksum 19:38:46 ab5ef0e58194: Pull complete 19:38:46 9712f1f96733: Pull complete 19:38:46 63f879dbbcfc: Pull complete 19:38:51 0d9ebad4ef96: Pull complete 19:38:51 e9a5061849ea: Pull complete 19:38:51 d747dcd14b5f: Pull complete 19:38:52 2de7ff778b66: Pull complete 19:38:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:38:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:38:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:52 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:38:52 $ 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 19:38:54 $ docker top 6be3addbd5bb838750876266053cba3e43828e46387387549fe46ef6662707f4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:38:54 provisioning config files... 19:38:54 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5886583964243621809tmp 19:38:54 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4434018455997189041tmp 19:38:54 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7604303504952843552tmp [Pipeline] { [Pipeline] echo 19:38:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:38:54 ---> sigul-configuration.sh 19:38:54 gpg: directory `/root/.gnupg' created 19:38:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:38:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:38:54 gpg: keyring `/root/.gnupg/secring.gpg' created 19:38:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:38:54 gpg: CAST5 encrypted data 19:38:54 gpg: encrypted with 1 passphrase 19:38:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:38:55 + mkdir /home/jenkins 19:38:55 + mkdir /home/jenkins/sigul [Pipeline] sh 19:38:55 + 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 19:38:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:38:55 ---> sigul-install.sh 19:38:55 Sigul already installed; skipping installation. [Pipeline] sh 19:38:55 + git tag --list 19:38:55 v1.0.0 19:38:55 v1.1.0 19:38:55 v1.1.1 19:38:55 v1.1.2 19:38:55 v1.2.0 19:38:55 v1.2.1 19:38:55 v2.0.0 19:38:55 v2.1.0 19:38:55 v2.1.1 19:38:55 v2.1.1-dev.1 19:38:55 v2.1.1-dev.2 19:38:55 v2.1.1-dev.3 19:38:55 v2.2.0 19:38:55 v2.2.1-dev.1 19:38:55 v2.2.1-dev.2 19:38:55 v2.2.1-dev.3 19:38:55 v2.2.1-dev.4 [Pipeline] sh 19:38:56 + lftools sign git-tag v2.1.1 19:38:56 Signing Git tag with Sigul... 19:38:56 Signing v2.1.1 [Pipeline] echo 19:38:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:38:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:38:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:38:57 $ docker stop --time=1 6be3addbd5bb838750876266053cba3e43828e46387387549fe46ef6662707f4 19:38:59 $ docker rm -f 6be3addbd5bb838750876266053cba3e43828e46387387549fe46ef6662707f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:38:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:38:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:38:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:59 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:38:59 $ 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 19:39:00 $ docker top 75fac71aaceb6e03331d6b4f6fc6084215d9570d37e80106ff091367d226bf13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:39:00 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:39:00 + git semver [Pipeline] } 19:39:00 $ docker stop --time=1 75fac71aaceb6e03331d6b4f6fc6084215d9570d37e80106ff091367d226bf13 19:39:02 $ docker rm -f 75fac71aaceb6e03331d6b4f6fc6084215d9570d37e80106ff091367d226bf13 [Pipeline] // withDockerContainer [Pipeline] sh 19:39:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:39:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:39:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:02 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:39:03 $ 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 19:39:03 $ docker top c30601bd6271901ad5b9718894c8736313eff3a2bd830e8a07e675db150d88f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:39:03 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:39:03 + git semver [Pipeline] } 19:39:04 $ docker stop --time=1 c30601bd6271901ad5b9718894c8736313eff3a2bd830e8a07e675db150d88f0 19:39:05 $ 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 19:39:06 + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] 19:39:06 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 19:39:06 total 16 19:39:06 drwxr-xr-x 3 root root 4096 Jun 8 19:33 . 19:39:06 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 19:38 .. 19:39:06 drwxr-xr-x 2 root root 4096 Jun 8 19:33 cost 19:39:06 -rw-r--r-- 1 root root 86 Jun 8 19:33 cost.csv 19:39:06 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives 19:39:06 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 19:39:06 total 16 19:39:06 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 19:33 . 19:39:06 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 19:38 .. 19:39:06 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 19:33 cost 19:39:06 -rw-r--r-- 1 jenkins jenkins 86 Jun 8 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:39:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:39:07 ---> package-listing.sh 19:39:07 ++ facter osfamily 19:39:07 ++ tr '[:upper:]' '[:lower:]' 19:39:07 + OS_FAMILY=debian 19:39:07 + workspace=/w/workspace/exfoundry_device-rest-go_jakarta 19:39:07 + START_PACKAGES=/tmp/packages_start.txt 19:39:07 + END_PACKAGES=/tmp/packages_end.txt 19:39:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:39:07 + PACKAGES=/tmp/packages_start.txt 19:39:07 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 19:39:07 + PACKAGES=/tmp/packages_end.txt 19:39:07 + case "${OS_FAMILY}" in 19:39:07 + dpkg -l 19:39:07 + grep '^ii' 19:39:07 + '[' -f /tmp/packages_start.txt ']' 19:39:07 + '[' -f /tmp/packages_end.txt ']' 19:39:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:39:07 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 19:39:07 + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ 19:39:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo 19:39:07 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 19:39:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:08 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 19:39:08 $ 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 19:39:08 $ docker top 2b59aeea8a4c3335556d20da2ee2787d8f27dc15d2ad858c6c6111b239b02631 -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:09 + touch /tmp/pre-build-complete [Pipeline] sh 19:39:09 + mkdir -p /var/log/sysstat [Pipeline] sh 19:39:09 + ls /var/log/sa-host 19:39:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:39:09 provisioning config files... 19:39:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4924779944417241384tmp [Pipeline] { [Pipeline] echo 19:39:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:39:09 ---> create-netrc.sh [Pipeline] } 19:39:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:39:10 ---> python-tools-install.sh [Pipeline] echo 19:39:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:39:10 ---> sudo-logs.sh 19:39:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:39:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:39:10 ---> job-cost.sh 19:39:10 lf-activate-venv: SKIPPING 19:39:10 DEBUG: total: 0.2199999988079071 19:39:10 INFO: Retrieving Stack Cost... 19:39:11 INFO: Retrieving Pricing Info for: v3-standard-8 19:39:11 INFO: Archiving Costs [Pipeline] echo 19:39:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:39:12 ---> logs-deploy.sh 19:39:12 lf-activate-venv: SKIPPING 19:39:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/9 19:39:12 INFO: archiving workspace using pattern(s): 19:39:13 Archives upload complete. 19:39:13 INFO: archiving logs to Nexus