Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8541e7e07d14b35bcb3c6fb0ee347edefdec343 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-ssh14847732049994400475.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9835288666727634797.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17226985213827974636.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16542260092186273166.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15363768152268652616.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5003 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API (#247)" > git rev-list --no-walk 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:45:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:45:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:45:09 ========================================================= 22:45:09 EdgeX Global Pipelines Version Info 22:45:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:45:10 ------------------- 22:45:10 stable info: 22:45:10 ------------------- 22:45:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:45:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:45:10 Message: update stable to v1.0.244 22:45:11 ------------------- 22:45:11 experimental info: 22:45:11 ------------------- 22:45:11 Commited By: **** collab-it+edgex@linuxfoundation.org 22:45:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:45:11 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8541e7 [Pipeline] echo 22:45:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:11 provisioning config files... 22:45:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2050662986770633437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:12 ---> docker-login.sh 22:45:12 nexus3.edgexfoundry.org:10001 22:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:12 Configure a credential helper to remove this warning. See 22:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:12 22:45:12 Login Succeeded 22:45:12 nexus3.edgexfoundry.org:10002 22:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:12 Configure a credential helper to remove this warning. See 22:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:12 22:45:12 Login Succeeded 22:45:12 nexus3.edgexfoundry.org:10003 22:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:12 Configure a credential helper to remove this warning. See 22:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:12 22:45:12 Login Succeeded 22:45:12 nexus3.edgexfoundry.org:10004 22:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:12 Configure a credential helper to remove this warning. See 22:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:12 22:45:12 Login Succeeded 22:45:12 docker.io 22:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:13 Configure a credential helper to remove this warning. See 22:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:13 22:45:13 Login Succeeded 22:45:13 ---> docker-login.sh ends [Pipeline] } 22:45:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:45:13 + git rev-list -1 --merges b8541e7e07d14b35bcb3c6fb0ee347edefdec343~1..b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo 22:45:13 -----------> git rev-list -1 --merges b8541e7e07d14b35bcb3c6fb0ee347edefdec343~1..b8541e7e07d14b35bcb3c6fb0ee347edefdec343 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [false] [Pipeline] sh 22:45:13 + git log --format=format:%s -1 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo 22:45:13 ========================================================= 22:45:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:45:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:14 + git log --format=format:%s -1 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo 22:45:14 [semverPrep] GIT_COMMIT: b8541e7e07d14b35bcb3c6fb0ee347edefdec343, Commit Message: feat!: Use latest SDK for MessageBus Request API (#247) [Pipeline] echo 22:45:14 [semverPrep] This is not a build commit. [Pipeline] sh 22:45:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:45:14 + grep -v github /etc/ssh/ssh_known_hosts 22:45:14 + [ -e /tmp/ssh_known_hosts ] 22:45:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:45:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:45:14 + sudo tee -a /etc/ssh/ssh_known_hosts 22:45:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:45:14 22:45:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:45:15 0.1.4: Pulling from edgex-devops/py-git-semver 22:45:15 b85a868b505f: Pulling fs layer 22:45:15 e2be974225ed: Pulling fs layer 22:45:15 339a4e72a1f5: Pulling fs layer 22:45:15 988bab9f4d93: Pulling fs layer 22:45:15 1469e6f7b9e6: Pulling fs layer 22:45:15 eaf3925da568: Pulling fs layer 22:45:15 bab4dde63d76: Pulling fs layer 22:45:15 bde34c3a00c8: Pulling fs layer 22:45:15 b352a97aabf1: Pulling fs layer 22:45:15 4872d77fe225: Pulling fs layer 22:45:15 5851b861e8e6: Pulling fs layer 22:45:15 988bab9f4d93: Waiting 22:45:15 1469e6f7b9e6: Waiting 22:45:15 4872d77fe225: Waiting 22:45:15 5851b861e8e6: Waiting 22:45:15 bde34c3a00c8: Waiting 22:45:15 bab4dde63d76: Waiting 22:45:15 eaf3925da568: Waiting 22:45:15 b352a97aabf1: Waiting 22:45:15 e2be974225ed: Download complete 22:45:15 988bab9f4d93: Download complete 22:45:15 339a4e72a1f5: Verifying Checksum 22:45:15 339a4e72a1f5: Download complete 22:45:15 eaf3925da568: Verifying Checksum 22:45:15 eaf3925da568: Download complete 22:45:15 1469e6f7b9e6: Verifying Checksum 22:45:15 1469e6f7b9e6: Download complete 22:45:15 bde34c3a00c8: Download complete 22:45:15 b85a868b505f: Verifying Checksum 22:45:15 b85a868b505f: Download complete 22:45:15 4872d77fe225: Verifying Checksum 22:45:15 4872d77fe225: Download complete 22:45:15 5851b861e8e6: Verifying Checksum 22:45:15 5851b861e8e6: Download complete 22:45:15 b352a97aabf1: Verifying Checksum 22:45:15 b352a97aabf1: Download complete 22:45:16 bab4dde63d76: Verifying Checksum 22:45:16 bab4dde63d76: Download complete 22:45:17 b85a868b505f: Pull complete 22:45:17 e2be974225ed: Pull complete 22:45:18 339a4e72a1f5: Pull complete 22:45:19 988bab9f4d93: Pull complete 22:45:20 1469e6f7b9e6: Pull complete 22:45:20 eaf3925da568: Pull complete 22:45:22 bab4dde63d76: Pull complete 22:45:22 bde34c3a00c8: Pull complete 22:45:22 b352a97aabf1: Pull complete 22:45:22 4872d77fe225: Pull complete 22:45:22 5851b861e8e6: Pull complete 22:45:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:45:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:45:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:22 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:45:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:45:25 $ docker top 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 -eo pid,comm 22:45:25 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). 22:45:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:25 [ssh-agent] Looking for ssh-agent implementation... 22:45:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:25 $ docker exec 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent 22:45:26 SSH_AUTH_SOCK=/tmp/ssh-GAKF6sUMFnJz/agent.15 22:45:26 SSH_AGENT_PID=21 22:45:26 Running ssh-add (command line suppressed) 22:45:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16808464559876670763.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16808464559876670763.key) 22:45:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:26 + git tag --points-at HEAD [Pipeline] } 22:45:26 $ docker exec --env ******** --env ******** 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent -k 22:45:26 unset SSH_AUTH_SOCK; 22:45:26 unset SSH_AGENT_PID; 22:45:26 echo Agent pid 21 killed; 22:45:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:45:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:26 [ssh-agent] Looking for ssh-agent implementation... 22:45:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:26 $ docker exec 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent 22:45:26 SSH_AUTH_SOCK=/tmp/ssh-UHeJkgsv9bvM/agent.53 22:45:26 SSH_AGENT_PID=59 22:45:26 Running ssh-add (command line suppressed) 22:45:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716368336801205848.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716368336801205848.key) 22:45:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:27 + git semver init 22:45:27 2023-02-07 22:45:27,471 [run_init] DEBUG init version:0.0.0 force:False 22:45:27 2023-02-07 22:45:27,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:45:27 2023-02-07 22:45:27,473 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:45:27 2023-02-07 22:45:27,474 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:45:29 2023-02-07 22:45:29,349 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:45:29 2023-02-07 22:45:29,350 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:45:29 2023-02-07 22:45:29,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:29 2023-02-07 22:45:29,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:29 3.0.0-dev.8 [Pipeline] } 22:45:29 $ docker exec --env ******** --env ******** 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent -k 22:45:29 unset SSH_AUTH_SOCK; 22:45:29 unset SSH_AGENT_PID; 22:45:29 echo Agent pid 59 killed; 22:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:29 + git semver [Pipeline] } 22:45:30 $ docker stop --time=1 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 22:45:31 $ docker rm -f --volumes 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:45:32 Stashed 1 file(s) [Pipeline] echo 22:45:32 [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:32 provisioning config files... 22:45:32 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3143923122860328788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:32 ---> docker-login.sh 22:45:32 nexus3.edgexfoundry.org:10001 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 nexus3.edgexfoundry.org:10002 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 nexus3.edgexfoundry.org:10003 22:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:33 Configure a credential helper to remove this warning. See 22:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:33 22:45:33 Login Succeeded 22:45:33 nexus3.edgexfoundry.org:10004 22:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:33 Configure a credential helper to remove this warning. See 22:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:33 22:45:33 Login Succeeded 22:45:33 docker.io 22:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:33 Configure a credential helper to remove this warning. See 22:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:33 22:45:33 Login Succeeded 22:45:33 ---> docker-login.sh ends [Pipeline] } 22:45:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:33 ========================================================= 22:45:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:45:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:45:34 Sending build context to Docker daemon 10.82MB 22:45:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:45:34 Step 2/12 : FROM ${BASE} AS builder 22:45:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:34 213ec9aee27d: Pulling fs layer 22:45:34 4583459ba037: Pulling fs layer 22:45:34 93c1e223e6f2: Pulling fs layer 22:45:34 53926ce57604: Pulling fs layer 22:45:34 21b2b0c7a3f4: Pulling fs layer 22:45:34 22ff95d597cd: Pulling fs layer 22:45:34 12d6caf4c0d1: Pulling fs layer 22:45:34 53926ce57604: Waiting 22:45:34 21b2b0c7a3f4: Waiting 22:45:34 22ff95d597cd: Waiting 22:45:34 96b7cbca73a9: Pulling fs layer 22:45:34 a7acece74701: Pulling fs layer 22:45:34 12d6caf4c0d1: Waiting 22:45:34 93c1e223e6f2: Verifying Checksum 22:45:34 93c1e223e6f2: Download complete 22:45:34 4583459ba037: Download complete 22:45:34 21b2b0c7a3f4: Verifying Checksum 22:45:34 21b2b0c7a3f4: Download complete 22:45:34 22ff95d597cd: Verifying Checksum 22:45:34 22ff95d597cd: Download complete 22:45:34 213ec9aee27d: Verifying Checksum 22:45:34 213ec9aee27d: Download complete 22:45:34 12d6caf4c0d1: Download complete 22:45:34 213ec9aee27d: Pull complete 22:45:34 4583459ba037: Pull complete 22:45:34 93c1e223e6f2: Pull complete 22:45:35 a7acece74701: Verifying Checksum 22:45:35 a7acece74701: Download complete 22:45:35 53926ce57604: Verifying Checksum 22:45:35 53926ce57604: Download complete 22:45:36 96b7cbca73a9: Verifying Checksum 22:45:36 96b7cbca73a9: Download complete 22:45:40 53926ce57604: Pull complete 22:45:40 21b2b0c7a3f4: Pull complete 22:45:40 22ff95d597cd: Pull complete 22:45:41 12d6caf4c0d1: Pull complete 22:45:43 96b7cbca73a9: Pull complete 22:45:45 a7acece74701: Pull complete 22:45:45 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:45:45 ---> db6d94c90886 22:45:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:45:47 Still waiting to schedule task 22:45:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5001’ is offline 22:45:53 ---> Running in b0ac666db59d 22:45:53 Removing intermediate container b0ac666db59d 22:45:53 ---> e3a16506b29c 22:45:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:53 ---> Running in ef44e22a757a 22:45:53 Removing intermediate container ef44e22a757a 22:45:53 ---> 622fd97522be 22:45:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:45:53 ---> Running in 623e73346c4c 22:45:53 Removing intermediate container 623e73346c4c 22:45:53 ---> c624a9770b5f 22:45:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:45:53 ---> Running in bab92b91530b 22:45:53 Removing intermediate container bab92b91530b 22:45:53 ---> fab0dea36653 22:45:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:53 ---> Running in d5e8ab0cca4a 22:45:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:45:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:45:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:45:53 (2/4) Installing libedit (20210910.3.1-r0) 22:45:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:45:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:45:53 Executing busybox-1.35.0-r17.trigger 22:45:53 OK: 216 MiB in 55 packages 22:45:54 Removing intermediate container d5e8ab0cca4a 22:45:54 ---> abe1d75d32ef 22:45:54 Step 8/12 : WORKDIR /device-rest-go 22:45:54 ---> Running in dbb73c6a48c7 22:45:54 Removing intermediate container dbb73c6a48c7 22:45:54 ---> 861123496396 22:45:54 Step 9/12 : COPY go.mod vendor* ./ 22:45:54 ---> 9c9777e34fdb 22:45:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:54 ---> Running in d979fd0a7738 22:46:41 Removing intermediate container d979fd0a7738 22:46:41 ---> e9c8d1432ba9 22:46:41 Step 11/12 : COPY . . 22:46:41 ---> 65d0bb33547d 22:46:41 Step 12/12 : RUN $MAKE 22:46:41 ---> Running in 30a46ff72cb0 22:46:41 noop 22:46:41 Removing intermediate container 30a46ff72cb0 22:46:41 ---> 99da7314564d 22:46:41 Successfully built 99da7314564d 22:46:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:41 + docker inspect -f . ci-base-image-x86_64 22:46:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:41 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:46:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:46:42 $ docker top 6f5eec0cfc505778f9747dc8e495fe4cfab0fc89ed94d800df1c4a1a46951fdd -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:42 + go version 22:46:42 go version go1.18.7 linux/amd64 [Pipeline] } 22:46:42 $ docker stop --time=1 6f5eec0cfc505778f9747dc8e495fe4cfab0fc89ed94d800df1c4a1a46951fdd 22:46:44 $ docker rm -f --volumes 6f5eec0cfc505778f9747dc8e495fe4cfab0fc89ed94d800df1c4a1a46951fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:45 + docker inspect -f . ci-base-image-x86_64 22:46:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:45 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:46:46 $ docker top 8401ecd0db00590870baf1b5bbc7a0a709baa48f8b064397ec0ab26137c6d5a9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:46:46 + make test 22:46:46 go test ./... -coverprofile=coverage.out ./... 22:46:47 ? github.com/edgexfoundry/device-rest-go [no test files] 22:46:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:46:59 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 33.9% of statements 22:47:05 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:47:05 go vet ./... 22:47:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:47:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:47:09 ./bin/test-attribution-txt.sh 22:47:09 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 22:47:09 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 22:47:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:47:09 $ docker stop --time=1 8401ecd0db00590870baf1b5bbc7a0a709baa48f8b064397ec0ab26137c6d5a9 22:47:12 $ docker rm -f --volumes 8401ecd0db00590870baf1b5bbc7a0a709baa48f8b064397ec0ab26137c6d5a9 [Pipeline] // withDockerContainer [Pipeline] sh 22:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:13 + ls -al . 22:47:13 total 188 22:47:13 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:46 . 22:47:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:45 .. 22:47:13 -rw-rw-r-- 1 jenkins jenkins 151 Feb 7 22:45 .dockerignore 22:47:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:46 .git 22:47:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 .github 22:47:13 -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 22:45 .gitignore 22:47:13 -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:45 .golangci.yml 22:47:13 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:45 .semver 22:47:13 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 7 22:45 Attribution.txt 22:47:13 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 7 22:45 CHANGELOG.md 22:47:13 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 7 22:45 Dockerfile 22:47:13 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:45 GOVERNANCE.md 22:47:13 -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:45 Jenkinsfile 22:47:13 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:45 LICENSE 22:47:13 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 7 22:45 Makefile 22:47:13 -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 22:45 OWNERS.md 22:47:13 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 7 22:45 README.md 22:47:13 -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:45 VERSION 22:47:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:45 bin 22:47:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 cmd 22:47:13 -rw-r--r-- 1 jenkins jenkins 13744 Feb 7 22:46 coverage.out 22:47:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:45 driver 22:47:13 -rw-rw-r-- 1 jenkins jenkins 3399 Feb 7 22:45 go.mod 22:47:13 -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 22:45 go.sum 22:47:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:45 snap 22:47:13 -rw-rw-r-- 1 jenkins jenkins 713 Feb 7 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:14 + 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=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 --label arch=amd64 --label version=3.0.0-dev.8 . 22:47:14 Sending build context to Docker daemon 10.84MB 22:47:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:47:14 Step 2/25 : FROM ${BASE} AS builder 22:47:14 ---> 99da7314564d 22:47:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:47:14 ---> Running in 3edb6ff9ee4b 22:47:14 Removing intermediate container 3edb6ff9ee4b 22:47:14 ---> b83511077477 22:47:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:47:14 ---> Running in 9708c80938a5 22:47:14 Removing intermediate container 9708c80938a5 22:47:14 ---> 749759a3814d 22:47:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:47:14 ---> Running in 6a5123b531a6 22:47:14 Removing intermediate container 6a5123b531a6 22:47:14 ---> be8ca53f1fef 22:47:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:47:14 ---> Running in 844b6f75fa21 22:47:15 Removing intermediate container 844b6f75fa21 22:47:15 ---> 2f07eec05444 22:47:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:15 ---> Running in 0eea037927e1 22:47:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:47:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:47:16 OK: 216 MiB in 55 packages 22:47:16 Removing intermediate container 0eea037927e1 22:47:16 ---> b774db3b8d78 22:47:16 Step 8/25 : WORKDIR /device-rest-go 22:47:16 ---> Running in d7f2882ce5d8 22:47:16 Removing intermediate container d7f2882ce5d8 22:47:16 ---> c489ed484bde 22:47:16 Step 9/25 : COPY go.mod vendor* ./ 22:47:16 ---> 879e2e63a6a8 22:47:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:16 ---> Running in f61deb9f9210 22:47:17 Removing intermediate container f61deb9f9210 22:47:17 ---> f82c7fe11180 22:47:17 Step 11/25 : COPY . . 22:47:18 ---> fe5cffef505b 22:47:18 Step 12/25 : RUN $MAKE 22:47:18 ---> Running in 7888f0d313c1 22:47:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:47:45 Removing intermediate container 7888f0d313c1 22:47:45 ---> 77a6b1f91cac 22:47:45 Step 13/25 : FROM alpine:3.16 22:47:45 3.16: Pulling from library/alpine 22:47:45 ca7dd9ec2225: Pulling fs layer 22:47:45 ca7dd9ec2225: Verifying Checksum 22:47:45 ca7dd9ec2225: Download complete 22:47:45 ca7dd9ec2225: Pull complete 22:47:45 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:47:45 Status: Downloaded newer image for alpine:3.16 22:47:45 ---> bfe296a52501 22:47:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:47:45 ---> Running in 090ee3f236f7 22:47:45 Removing intermediate container 090ee3f236f7 22:47:45 ---> 3fbce0b03eaf 22:47:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:47:45 ---> Running in 46e15bea9f05 22:47:45 Removing intermediate container 46e15bea9f05 22:47:45 ---> 1844d2f5f58d 22:47:45 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:47:45 ---> Running in 0b18b7602c1a 22:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:47:45 (1/1) Installing dumb-init (1.2.5-r1) 22:47:45 Executing busybox-1.35.0-r17.trigger 22:47:45 OK: 6 MiB in 15 packages 22:47:46 Removing intermediate container 0b18b7602c1a 22:47:46 ---> dccfe09efad7 22:47:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:47:46 ---> 99a175f4c624 22:47:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:47:47 ---> 99365d0213ff 22:47:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:47:47 ---> f0e726e3497e 22:47:47 Step 20/25 : EXPOSE 59986 22:47:48 ---> Running in 4f225b528374 22:47:48 Removing intermediate container 4f225b528374 22:47:48 ---> 1a34743b7ce7 22:47:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:47:48 ---> Running in 19296dde0a59 22:47:48 Removing intermediate container 19296dde0a59 22:47:48 ---> e92e4262adf0 22:47:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:47:48 ---> Running in d322f3979521 22:47:49 Removing intermediate container d322f3979521 22:47:49 ---> c0affbebbc0c 22:47:49 Step 23/25 : LABEL arch=amd64 22:47:49 ---> Running in 989ef000879d 22:47:49 Removing intermediate container 989ef000879d 22:47:49 ---> 5686e7f03846 22:47:49 Step 24/25 : LABEL git_sha=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:47:49 ---> Running in b194c638a824 22:47:49 Removing intermediate container b194c638a824 22:47:49 ---> 88879c8bed55 22:47:49 Step 25/25 : LABEL version=3.0.0-dev.8 22:47:49 ---> Running in 6e55ad77be93 22:47:50 Removing intermediate container 6e55ad77be93 22:47:50 ---> e8e2a39183ea 22:47:50 [Warning] One or more build-args [ARCH] were not consumed 22:47:50 Successfully built e8e2a39183ea 22:47:50 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:50 provisioning config files... 22:47:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config617866902165616853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:50 ---> docker-login.sh 22:47:50 nexus3.edgexfoundry.org:10001 22:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:50 Configure a credential helper to remove this warning. See 22:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:50 22:47:50 Login Succeeded 22:47:50 nexus3.edgexfoundry.org:10002 22:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5009 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:47:50 Running in /w/workspace/device-rest-go/80 [Pipeline] { [Pipeline] checkout 22:47:50 The recommended git tool is: git 22:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:50 Configure a credential helper to remove this warning. See 22:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:50 22:47:50 Login Succeeded 22:47:50 nexus3.edgexfoundry.org:10003 22:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:50 Configure a credential helper to remove this warning. See 22:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:50 22:47:50 Login Succeeded 22:47:50 nexus3.edgexfoundry.org:10004 22:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:50 Configure a credential helper to remove this warning. See 22:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:50 22:47:50 Login Succeeded 22:47:50 docker.io 22:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:51 Configure a credential helper to remove this warning. See 22:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:51 22:47:51 Login Succeeded 22:47:51 ---> docker-login.sh ends [Pipeline] } 22:47:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:47:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:51 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:47:51 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:47:51 latest 22:47:51 3.0.0-dev.8 22:47:51 b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 22:47:51 main 22:47:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:47:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:52 992256820781: Preparing 22:47:52 c83af364e60d: Preparing 22:47:52 e2032c660894: Preparing 22:47:52 25c41e94e422: Preparing 22:47:52 e5e13b0c77cb: Preparing 22:47:52 e5e13b0c77cb: Layer already exists 22:47:52 25c41e94e422: Pushed 22:47:52 c83af364e60d: Pushed 22:47:52 992256820781: Pushed 22:47:54 e2032c660894: Pushed 22:47:54 b8541e7e07d14b35bcb3c6fb0ee347edefdec343: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:47:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:55 992256820781: Preparing 22:47:55 c83af364e60d: Preparing 22:47:55 e2032c660894: Preparing 22:47:55 25c41e94e422: Preparing 22:47:55 e5e13b0c77cb: Preparing 22:47:55 e2032c660894: Layer already exists 22:47:55 992256820781: Layer already exists 22:47:55 c83af364e60d: Layer already exists 22:47:55 25c41e94e422: Layer already exists 22:47:55 e5e13b0c77cb: Layer already exists 22:47:55 latest: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.8 22:47:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:55 992256820781: Preparing 22:47:55 c83af364e60d: Preparing 22:47:55 e2032c660894: Preparing 22:47:55 25c41e94e422: Preparing 22:47:55 e5e13b0c77cb: Preparing 22:47:55 e5e13b0c77cb: Layer already exists 22:47:55 c83af364e60d: Layer already exists 22:47:55 25c41e94e422: Layer already exists 22:47:55 e2032c660894: Layer already exists 22:47:55 992256820781: Layer already exists 22:47:55 3.0.0-dev.8: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 22:47:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:56 992256820781: Preparing 22:47:56 c83af364e60d: Preparing 22:47:56 e2032c660894: Preparing 22:47:56 25c41e94e422: Preparing 22:47:56 e5e13b0c77cb: Preparing 22:47:56 25c41e94e422: Layer already exists 22:47:56 c83af364e60d: Layer already exists 22:47:56 e2032c660894: Layer already exists 22:47:56 992256820781: Layer already exists 22:47:56 e5e13b0c77cb: Layer already exists 22:47:56 b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:56 using credential edgex-jenkins-ssh 22:47:56 Cloning the remote Git repository 22:47:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:47:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:47:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:47:57 992256820781: Preparing 22:47:57 c83af364e60d: Preparing 22:47:57 e2032c660894: Preparing 22:47:57 25c41e94e422: Preparing 22:47:57 e5e13b0c77cb: Preparing 22:47:57 c83af364e60d: Layer already exists 22:47:57 e5e13b0c77cb: Layer already exists 22:47:57 992256820781: Layer already exists 22:47:57 e2032c660894: Layer already exists 22:47:57 25c41e94e422: Layer already exists 22:47:57 main: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:47:57 ===================================================== [Pipeline] echo 22:47:57 taggedImages: 22:47:57 - nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:47:57 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:47:57 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.8 22:47:57 - nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 22:47:57 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:57 22:47:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:58 latest: Pulling from edgex-lftools-log-publisher 22:47:58 5eb5b503b376: Pulling fs layer 22:47:58 5c69ac0246d0: Pulling fs layer 22:47:58 ec43610c2a17: Pulling fs layer 22:47:58 3a2ae6a8a46f: Pulling fs layer 22:47:58 33b1e0a273af: Pulling fs layer 22:47:58 5d3b04190fa2: Pulling fs layer 22:47:58 2f39f015ded8: Pulling fs layer 22:47:58 3a2ae6a8a46f: Waiting 22:47:58 33b1e0a273af: Waiting 22:47:58 5d3b04190fa2: Waiting 22:47:58 5c69ac0246d0: Verifying Checksum 22:47:58 5c69ac0246d0: Download complete 22:47:58 3a2ae6a8a46f: Verifying Checksum 22:47:58 3a2ae6a8a46f: Download complete 22:47:57 > git init /w/workspace/device-rest-go/80 # timeout=10 22:47:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:47:57 > git --version # timeout=10 22:47:57 > git --version # 'git version 2.25.1' 22:47:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:58 33b1e0a273af: Verifying Checksum 22:47:58 33b1e0a273af: Download complete 22:47:58 5d3b04190fa2: Download complete 22:47:58 ec43610c2a17: Verifying Checksum 22:47:58 ec43610c2a17: Download complete 22:47:58 5eb5b503b376: Verifying Checksum 22:47:58 5eb5b503b376: Download complete 22:47:59 2f39f015ded8: Verifying Checksum 22:47:59 2f39f015ded8: Download complete 22:47:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:47:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:59 5eb5b503b376: Pull complete 22:48:00 5c69ac0246d0: Pull complete 22:48:00 Avoid second fetch 22:48:00 Checking out Revision b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (main) 22:48:00 > git config core.sparsecheckout # timeout=10 22:48:00 > git checkout -f b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 22:48:01 Commit message: "feat!: Use latest SDK for MessageBus Request API (#247)" 22:48:01 ec43610c2a17: Pull complete 22:48:01 22:48:01 GitHub has been notified of this commit’s build result 22:48:01 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:01 3a2ae6a8a46f: Pull complete 22:48:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:48:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:02 Dload Upload Total Spent Left Speed 22:48:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k 22:48:02 33b1e0a273af: Pull complete [Pipeline] sh 22:48:02 5d3b04190fa2: Pull complete 22:48:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:48:03 + sudo tee /etc/docker/daemon.new 22:48:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:48:03 { 22:48:03 "registry-mirrors": [ 22:48:03 "https://nexus3.edgexfoundry.org:10001" 22:48:03 ], 22:48:03 "bip": "10.250.0.254/24", 22:48:03 "hosts": [ 22:48:03 "tcp://0.0.0.0:5555", 22:48:03 "unix:///var/run/docker.sock" 22:48:03 ], 22:48:03 "mtu": 1458, 22:48:03 "selinux-enabled": true, 22:48:03 "seccomp-profile": "/etc/docker/seccomp.json" 22:48:03 } [Pipeline] sh 22:48:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:48:03 + sudo service docker restart 22:48:08 2f39f015ded8: Pull complete 22:48:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:08 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:48:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:48:16 $ docker top 03916c7424f474f22609eb4bac58c3d19892bf7c6d5f67ad859fd0fef3c9d767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:17 ---> job-cost.sh 22:48:17 lf-activate-venv: SKIPPING 22:48:17 INFO: No Stack... 22:48:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:48:17 INFO: Archiving Costs [Pipeline] sh 22:48:18 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:48:18 + cut -d, -f6 [Pipeline] lock 22:48:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] 22:48:18 Resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] did not exist. Created. 22:48:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:18 + echo total: 0.2199999988079071 [Pipeline] stash 22:48:18 Stashed 1 file(s) [Pipeline] } 22:48:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 22:48:18 $ docker stop --time=1 03916c7424f474f22609eb4bac58c3d19892bf7c6d5f67ad859fd0fef3c9d767 22:48:21 $ docker rm -f --volumes 03916c7424f474f22609eb4bac58c3d19892bf7c6d5f67ad859fd0fef3c9d767 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:22 provisioning config files... 22:48:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/80@tmp/config13397880036883279931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:22 ---> docker-login.sh 22:48:22 nexus3.edgexfoundry.org:10001 22:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:23 Configure a credential helper to remove this warning. See 22:48:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:23 22:48:23 Login Succeeded 22:48:23 nexus3.edgexfoundry.org:10002 22:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:23 Configure a credential helper to remove this warning. See 22:48:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:23 22:48:23 Login Succeeded 22:48:23 nexus3.edgexfoundry.org:10003 22:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:24 Configure a credential helper to remove this warning. See 22:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:24 22:48:24 Login Succeeded 22:48:24 nexus3.edgexfoundry.org:10004 22:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:24 Configure a credential helper to remove this warning. See 22:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:24 22:48:24 Login Succeeded 22:48:24 docker.io 22:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:25 Configure a credential helper to remove this warning. See 22:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:25 22:48:25 Login Succeeded 22:48:25 ---> docker-login.sh ends [Pipeline] } 22:48:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:48:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:25 ========================================================= 22:48:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:48:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:48:25 Sending build context to Docker daemon 142.8kB 22:48:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:48:26 Step 2/12 : FROM ${BASE} AS builder 22:48:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:48:26 9b18e9b68314: Pulling fs layer 22:48:26 35d82f9e3411: Pulling fs layer 22:48:26 e16973657156: Pulling fs layer 22:48:26 fc693d55d65f: Pulling fs layer 22:48:26 7e9fc2657dce: Pulling fs layer 22:48:26 dda99020689f: Pulling fs layer 22:48:26 db1c61fa0a46: Pulling fs layer 22:48:26 891c053d2c06: Pulling fs layer 22:48:26 fc693d55d65f: Waiting 22:48:26 7e9fc2657dce: Waiting 22:48:26 dda99020689f: Waiting 22:48:26 db1c61fa0a46: Waiting 22:48:26 891c053d2c06: Waiting 22:48:26 e16973657156: Download complete 22:48:26 35d82f9e3411: Verifying Checksum 22:48:26 35d82f9e3411: Download complete 22:48:26 7e9fc2657dce: Verifying Checksum 22:48:26 7e9fc2657dce: Download complete 22:48:26 dda99020689f: Verifying Checksum 22:48:26 dda99020689f: Download complete 22:48:26 9b18e9b68314: Verifying Checksum 22:48:26 9b18e9b68314: Download complete 22:48:27 9b18e9b68314: Pull complete 22:48:27 891c053d2c06: Verifying Checksum 22:48:27 891c053d2c06: Download complete 22:48:28 35d82f9e3411: Pull complete 22:48:28 e16973657156: Pull complete 22:48:28 db1c61fa0a46: Verifying Checksum 22:48:28 db1c61fa0a46: Download complete 22:48:29 fc693d55d65f: Verifying Checksum 22:48:29 fc693d55d65f: Download complete 22:48:41 fc693d55d65f: Pull complete 22:48:41 7e9fc2657dce: Pull complete 22:48:42 dda99020689f: Pull complete 22:48:48 db1c61fa0a46: Pull complete 22:48:50 891c053d2c06: Pull complete 22:48:50 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:48:50 ---> f96f9c87975a 22:48:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:48:53 ---> Running in cef8d78271dc 22:48:53 Removing intermediate container cef8d78271dc 22:48:53 ---> 456e11a55bc9 22:48:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:53 ---> Running in 6fa5a48ff5c2 22:48:53 Removing intermediate container 6fa5a48ff5c2 22:48:53 ---> 8b2a188e7f6e 22:48:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:48:53 ---> Running in 1fced18b50f1 22:48:54 Removing intermediate container 1fced18b50f1 22:48:54 ---> abc83d2477ce 22:48:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:48:54 ---> Running in 946457acf2d6 22:48:54 Removing intermediate container 946457acf2d6 22:48:54 ---> d1a9fa7ee7fa 22:48:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:48:54 ---> Running in bd9ff7e97932 22:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:48:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:48:57 (2/4) Installing libedit (20210910.3.1-r0) 22:48:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:48:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:48:57 Executing busybox-1.35.0-r17.trigger 22:48:57 OK: 226 MiB in 55 packages 22:48:58 Removing intermediate container bd9ff7e97932 22:48:58 ---> 7c1de0c00146 22:48:58 Step 8/12 : WORKDIR /device-rest-go 22:48:58 ---> Running in 7e56319c46f7 22:48:59 Removing intermediate container 7e56319c46f7 22:48:59 ---> 90d771f7c2e8 22:48:59 Step 9/12 : COPY go.mod vendor* ./ 22:48:59 ---> 8790fca34354 22:48:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:48:59 ---> Running in 2156f5a22291 22:50:21 Removing intermediate container 2156f5a22291 22:50:21 ---> d175f99a79b6 22:50:21 Step 11/12 : COPY . . 22:50:21 ---> c0371d6efb4c 22:50:21 Step 12/12 : RUN $MAKE 22:50:21 ---> Running in 57e9d1f4abd8 22:50:21 noop 22:50:21 Removing intermediate container 57e9d1f4abd8 22:50:21 ---> 9ecc52136d5c 22:50:21 Successfully built 9ecc52136d5c 22:50:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:21 + docker inspect -f . ci-base-image-arm64 22:50:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:22 prd-ubuntu20.04-docker-arm64-4c-16g-5009 does not seem to be running inside a container 22:50:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/80 -v /w/workspace/device-rest-go/80:/w/workspace/device-rest-go/80:rw,z -v /w/workspace/device-rest-go/80@tmp:/w/workspace/device-rest-go/80@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 22:50:23 $ docker top 9844ca5b885e648c3df46ff5be349c9b5018b32bf52256400e61848135178b2a -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:24 + go version 22:50:24 go version go1.18.7 linux/arm64 [Pipeline] } 22:50:24 $ docker stop --time=1 9844ca5b885e648c3df46ff5be349c9b5018b32bf52256400e61848135178b2a 22:50:26 $ docker rm -f --volumes 9844ca5b885e648c3df46ff5be349c9b5018b32bf52256400e61848135178b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:26 + docker inspect -f . ci-base-image-arm64 22:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:27 prd-ubuntu20.04-docker-arm64-4c-16g-5009 does not seem to be running inside a container 22:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/80 -v /w/workspace/device-rest-go/80:/w/workspace/device-rest-go/80:rw,z -v /w/workspace/device-rest-go/80@tmp:/w/workspace/device-rest-go/80@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 22:50:28 $ docker top 725865ab95c6b3b824cab7b5f85372d6e42c70c5187e9920e08d3cf20f3eed8b -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:29 + git config --global --add safe.directory /w/workspace/device-rest-go/80 [Pipeline] fileExists [Pipeline] sh 22:50:29 + make test 22:50:29 go test ./... -coverprofile=coverage.out ./... 22:50:32 ? github.com/edgexfoundry/device-rest-go [no test files] 22:52:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:52:09 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.9% of statements 22:52:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:52:09 go vet ./... 22:52:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:52:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:52:37 ./bin/test-attribution-txt.sh 22:52:37 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 22:52:37 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 22:52:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:52:37 $ docker stop --time=1 725865ab95c6b3b824cab7b5f85372d6e42c70c5187e9920e08d3cf20f3eed8b 22:52:39 $ docker rm -f --volumes 725865ab95c6b3b824cab7b5f85372d6e42c70c5187e9920e08d3cf20f3eed8b [Pipeline] // withDockerContainer [Pipeline] sh 22:52:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:52:40 Warning: overwriting stash ‘coverage-report’ 22:52:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:52:42 + ls -al . 22:52:42 total 184 22:52:42 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:50 . 22:52:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:47 .. 22:52:42 -rw-rw-r-- 1 jenkins jenkins 151 Feb 7 22:48 .dockerignore 22:52:42 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:48 .git 22:52:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:48 .github 22:52:42 -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 22:48 .gitignore 22:52:42 -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:48 .golangci.yml 22:52:42 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 7 22:48 Attribution.txt 22:52:42 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 7 22:48 CHANGELOG.md 22:52:42 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 7 22:48 Dockerfile 22:52:42 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:48 GOVERNANCE.md 22:52:42 -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:48 Jenkinsfile 22:52:42 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:48 LICENSE 22:52:42 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 7 22:48 Makefile 22:52:42 -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 22:48 OWNERS.md 22:52:42 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 7 22:48 README.md 22:52:42 -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:45 VERSION 22:52:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:48 bin 22:52:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:48 cmd 22:52:42 -rw-r--r-- 1 jenkins jenkins 13744 Feb 7 22:52 coverage.out 22:52:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:48 driver 22:52:42 -rw-rw-r-- 1 jenkins jenkins 3399 Feb 7 22:48 go.mod 22:52:42 -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 22:48 go.sum 22:52:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:48 snap 22:52:42 -rw-rw-r-- 1 jenkins jenkins 713 Feb 7 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:42 + 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=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 --label arch=arm64 --label version=3.0.0-dev.8 . 22:52:42 Sending build context to Docker daemon 157.2kB 22:52:42 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:52:42 Step 2/25 : FROM ${BASE} AS builder 22:52:42 ---> 9ecc52136d5c 22:52:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:52:43 ---> Running in d812436cbf18 22:52:43 Removing intermediate container d812436cbf18 22:52:43 ---> 67903e5a133a 22:52:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:52:43 ---> Running in a985d30d1c58 22:52:43 Removing intermediate container a985d30d1c58 22:52:43 ---> 353b46cb944f 22:52:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:52:43 ---> Running in 002e407eec68 22:52:44 Removing intermediate container 002e407eec68 22:52:44 ---> 14856d416ae6 22:52:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:52:44 ---> Running in 79bd191292ae 22:52:44 Removing intermediate container 79bd191292ae 22:52:44 ---> 414ba4ea19d0 22:52:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:52:44 ---> Running in a734fcf74846 22:52:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:52:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:52:47 OK: 226 MiB in 55 packages 22:52:49 Removing intermediate container a734fcf74846 22:52:49 ---> 023e41eff349 22:52:49 Step 8/25 : WORKDIR /device-rest-go 22:52:49 ---> Running in d1526c6f0a49 22:52:50 Removing intermediate container d1526c6f0a49 22:52:50 ---> 4c3e34beae1a 22:52:50 Step 9/25 : COPY go.mod vendor* ./ 22:52:50 ---> 48f24f5877b3 22:52:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:52:50 ---> Running in 50ea903e5306 22:52:54 Removing intermediate container 50ea903e5306 22:52:54 ---> 09b7ef1e2309 22:52:54 Step 11/25 : COPY . . 22:52:54 ---> a1bf7c2cb8f1 22:52:54 Step 12/25 : RUN $MAKE 22:52:54 ---> Running in 2929fe904273 22:52:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:55:32 Removing intermediate container 2929fe904273 22:55:32 ---> 3d9b0dde2a0e 22:55:32 Step 13/25 : FROM alpine:3.16 22:55:32 3.16: Pulling from library/alpine 22:55:32 6875df1f5354: Pulling fs layer 22:55:32 6875df1f5354: Download complete 22:55:32 6875df1f5354: Pull complete 22:55:32 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:55:32 Status: Downloaded newer image for alpine:3.16 22:55:32 ---> 2b4661558fb8 22:55:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:55:32 ---> Running in 8b05c015c701 22:55:32 Removing intermediate container 8b05c015c701 22:55:32 ---> 8ef2448725dc 22:55:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:55:32 ---> Running in aaf11f49b65b 22:55:32 Removing intermediate container aaf11f49b65b 22:55:32 ---> e547795ece58 22:55:32 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:55:32 ---> Running in 0a4870b43d83 22:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:55:32 (1/1) Installing dumb-init (1.2.5-r1) 22:55:32 Executing busybox-1.35.0-r17.trigger 22:55:32 OK: 5 MiB in 15 packages 22:55:32 Removing intermediate container 0a4870b43d83 22:55:32 ---> 67b6a763bfa4 22:55:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:55:32 ---> e5295ae5edb5 22:55:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:55:32 ---> 04966dfd626c 22:55:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:55:32 ---> e0e88021d401 22:55:32 Step 20/25 : EXPOSE 59986 22:55:32 ---> Running in eccdc04b0e9f 22:55:32 Removing intermediate container eccdc04b0e9f 22:55:32 ---> ec067398f445 22:55:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:55:32 ---> Running in 7ca8a5ce1801 22:55:32 Removing intermediate container 7ca8a5ce1801 22:55:32 ---> de5319cbb20b 22:55:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:55:32 ---> Running in 9a4b9f387292 22:55:32 Removing intermediate container 9a4b9f387292 22:55:32 ---> 41b4b3ee3476 22:55:32 Step 23/25 : LABEL arch=arm64 22:55:32 ---> Running in 2d55b156df1d 22:55:32 Removing intermediate container 2d55b156df1d 22:55:32 ---> 3d3467100adf 22:55:32 Step 24/25 : LABEL git_sha=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:55:32 ---> Running in 01ef52636bb5 22:55:32 Removing intermediate container 01ef52636bb5 22:55:32 ---> 394183e3c6ed 22:55:32 Step 25/25 : LABEL version=3.0.0-dev.8 22:55:32 ---> Running in a9fc2ffcb08a 22:55:32 Removing intermediate container a9fc2ffcb08a 22:55:32 ---> 162b35531a27 22:55:32 [Warning] One or more build-args [ARCH] were not consumed 22:55:32 Successfully built 162b35531a27 22:55:32 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 22:55:33 provisioning config files... 22:55:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/80@tmp/config14169662579396264454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:33 ---> docker-login.sh 22:55:33 nexus3.edgexfoundry.org:10001 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10002 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 nexus3.edgexfoundry.org:10003 22:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 nexus3.edgexfoundry.org:10004 22:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:35 Configure a credential helper to remove this warning. See 22:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:35 22:55:35 Login Succeeded 22:55:35 docker.io 22:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:35 Configure a credential helper to remove this warning. See 22:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:35 22:55:35 Login Succeeded 22:55:35 ---> docker-login.sh ends [Pipeline] } 22:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:35 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:55:35 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:55:35 latest 22:55:35 3.0.0-dev.8 22:55:35 b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 22:55:35 main 22:55:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:55:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:55:36 9d016dd4ecc0: Preparing 22:55:36 d5c0bfeeb8b0: Preparing 22:55:36 dcb3d413808f: Preparing 22:55:36 1308065ee8db: Preparing 22:55:36 17bec77d7fdc: Preparing 22:55:36 17bec77d7fdc: Layer already exists 22:55:36 d5c0bfeeb8b0: Pushed 22:55:36 9d016dd4ecc0: Pushed 22:55:36 1308065ee8db: Pushed 22:55:41 dcb3d413808f: Pushed 22:55:41 b8541e7e07d14b35bcb3c6fb0ee347edefdec343: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:55:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:55:42 9d016dd4ecc0: Preparing 22:55:42 d5c0bfeeb8b0: Preparing 22:55:42 dcb3d413808f: Preparing 22:55:42 1308065ee8db: Preparing 22:55:42 17bec77d7fdc: Preparing 22:55:42 17bec77d7fdc: Layer already exists 22:55:42 9d016dd4ecc0: Layer already exists 22:55:42 dcb3d413808f: Layer already exists 22:55:42 1308065ee8db: Layer already exists 22:55:42 d5c0bfeeb8b0: Layer already exists 22:55:42 latest: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.8 22:55:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:55:43 9d016dd4ecc0: Preparing 22:55:43 d5c0bfeeb8b0: Preparing 22:55:43 dcb3d413808f: Preparing 22:55:43 1308065ee8db: Preparing 22:55:43 17bec77d7fdc: Preparing 22:55:43 dcb3d413808f: Layer already exists 22:55:43 d5c0bfeeb8b0: Layer already exists 22:55:43 9d016dd4ecc0: Layer already exists 22:55:43 1308065ee8db: Layer already exists 22:55:43 17bec77d7fdc: Layer already exists 22:55:43 3.0.0-dev.8: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 22:55:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:55:44 9d016dd4ecc0: Preparing 22:55:44 d5c0bfeeb8b0: Preparing 22:55:44 dcb3d413808f: Preparing 22:55:44 1308065ee8db: Preparing 22:55:44 17bec77d7fdc: Preparing 22:55:44 d5c0bfeeb8b0: Layer already exists 22:55:44 17bec77d7fdc: Layer already exists 22:55:44 9d016dd4ecc0: Layer already exists 22:55:44 1308065ee8db: Layer already exists 22:55:44 dcb3d413808f: Layer already exists 22:55:44 b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:55:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:55:45 9d016dd4ecc0: Preparing 22:55:45 d5c0bfeeb8b0: Preparing 22:55:45 dcb3d413808f: Preparing 22:55:45 1308065ee8db: Preparing 22:55:45 17bec77d7fdc: Preparing 22:55:45 17bec77d7fdc: Layer already exists 22:55:45 9d016dd4ecc0: Layer already exists 22:55:45 d5c0bfeeb8b0: Layer already exists 22:55:45 dcb3d413808f: Layer already exists 22:55:45 1308065ee8db: Layer already exists 22:55:45 main: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:55:46 ===================================================== [Pipeline] echo 22:55:46 taggedImages: 22:55:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 22:55:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:55:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.8 22:55:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 22:55:46 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:55:46 22:55:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:55:46 arm64: Pulling from edgex-lftools-log-publisher 22:55:46 8998bd30e6a1: Pulling fs layer 22:55:46 04944245beec: Pulling fs layer 22:55:46 699f458cf7ca: Pulling fs layer 22:55:46 765212b225bb: Pulling fs layer 22:55:46 f23df028b6ca: Pulling fs layer 22:55:46 d65c8cfc05b1: Pulling fs layer 22:55:46 2437ff75d9bd: Pulling fs layer 22:55:46 f23df028b6ca: Waiting 22:55:46 d65c8cfc05b1: Waiting 22:55:46 765212b225bb: Waiting 22:55:46 2437ff75d9bd: Waiting 22:55:46 04944245beec: Verifying Checksum 22:55:46 04944245beec: Download complete 22:55:46 765212b225bb: Verifying Checksum 22:55:46 765212b225bb: Download complete 22:55:46 f23df028b6ca: Verifying Checksum 22:55:46 f23df028b6ca: Download complete 22:55:46 d65c8cfc05b1: Verifying Checksum 22:55:46 d65c8cfc05b1: Download complete 22:55:47 699f458cf7ca: Verifying Checksum 22:55:47 699f458cf7ca: Download complete 22:55:47 8998bd30e6a1: Verifying Checksum 22:55:47 8998bd30e6a1: Download complete 22:55:50 2437ff75d9bd: Download complete 22:55:51 8998bd30e6a1: Pull complete 22:55:52 04944245beec: Pull complete 22:55:53 699f458cf7ca: Pull complete 22:55:53 765212b225bb: Pull complete 22:55:54 f23df028b6ca: Pull complete 22:55:54 d65c8cfc05b1: Pull complete 22:56:09 2437ff75d9bd: Pull complete 22:56:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:56:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:09 prd-ubuntu20.04-docker-arm64-4c-16g-5009 does not seem to be running inside a container 22:56:10 $ 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/80 -v /w/workspace/device-rest-go/80:/w/workspace/device-rest-go/80:rw,z -v /w/workspace/device-rest-go/80@tmp:/w/workspace/device-rest-go/80@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 22:56:12 $ docker top c43d1a1ce88f50a409b3e8f8a554ab21561d2701ed3b7273f6f9c8dfb042edc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:13 ---> job-cost.sh 22:56:13 lf-activate-venv: SKIPPING 22:56:13 INFO: No Stack... 22:56:14 INFO: Retrieving Pricing Info for: v3-standard-4 22:56:15 INFO: Archiving Costs [Pipeline] sh 22:56:16 + cat /w/workspace/device-rest-go/80/archives/cost.csv 22:56:16 + cut -d, -f6 [Pipeline] lock 22:56:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] 22:56:16 Resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] did not exist. Created. 22:56:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:16 /w/workspace/device-rest-go/80@tmp/durable-68e6e3af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:56:17 + echo total: 0.10999999940395355 [Pipeline] stash 22:56:17 Warning: overwriting stash ‘stack-cost’ 22:56:17 Stashed 1 file(s) [Pipeline] } 22:56:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:17 $ docker stop --time=1 c43d1a1ce88f50a409b3e8f8a554ab21561d2701ed3b7273f6f9c8dfb042edc2 22:56:19 $ docker rm -f --volumes c43d1a1ce88f50a409b3e8f8a554ab21561d2701ed3b7273f6f9c8dfb042edc2 [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 22:56:19 provisioning config files... 22:56:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17945624518950187037tmp [Pipeline] { [Pipeline] sh 22:56:19 + set +x 22:56:19 + curl -s https://codecov.io/bash 22:56:19 + bash -s -- 22:56:19 22:56:19 _____ _ 22:56:19 / ____| | | 22:56:19 | | ___ __| | ___ ___ _____ __ 22:56:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:56:19 | |___| (_) | (_| | __/ (_| (_) \ V / 22:56:19 \_____\___/ \__,_|\___|\___\___/ \_/ 22:56:19 Bash-1.0.6 22:56:19 22:56:19 22:56:19 ==> git version 2.25.1 found 22:56:19 ==> 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 22:56:19 Release-Date: 2020-01-08 22:56:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:56:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:56:19 ==> Jenkins CI detected. 22:56:19 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:56:19 project root: . 22:56:19 --> token set from env 22:56:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:56:19 ==> Running gcov in . (disable via -X gcov) 22:56:19 ==> Python coveragepy not found 22:56:19 ==> Searching for coverage reports in: 22:56:19 + . 22:56:19 -> Found 1 reports 22:56:19 ==> Detecting git/mercurial file structure 22:56:19 ==> Reading reports 22:56:19 + ./coverage.out bytes=13744 22:56:19 ==> Appending adjustments 22:56:19 https://docs.codecov.io/docs/fixing-reports 22:56:20 + Found adjustments 22:56:20 ==> Gzipping contents 22:56:20 4.0K /tmp/codecov.xbRTs2.gz 22:56:20 ==> Uploading reports 22:56:20 url: https://codecov.io 22:56:20 query: branch=main&commit=b8541e7e07d14b35bcb3c6fb0ee347edefdec343&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:56:20 -> Pinging Codecov 22:56:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=b8541e7e07d14b35bcb3c6fb0ee347edefdec343&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:56:20 -> Uploading to 22:56:20 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/4E5D53B4F1F92C436F7061BF334D961C/b8541e7e07d14b35bcb3c6fb0ee347edefdec343/d4379ca0-1f6d-4baf-82c7-d76712b1e5ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T225620Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa37e731305257db38e17fe7bc8a1ca96bd43ed3a37b8b6b57c0e2f6c61106f6 22:56:20 % Total % Received % Xferd Average Speed Time Time Time Current 22:56:20 Dload Upload Total Spent Left Speed 22:56:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2438 0 0 100 2438 0 9713 --:--:-- --:--:-- --:--:-- 9713 22:56:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] } 22:56:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:56:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:56:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:56:21 22:56:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:56:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:56:21 df9b9388f04a: Pulling fs layer 22:56:21 52dc419b0ee2: Pulling fs layer 22:56:21 25bc292e5bac: Pulling fs layer 22:56:21 114826534d7a: Pulling fs layer 22:56:21 4657fd5d0bcf: Pulling fs layer 22:56:21 6ad1cebc031e: Pulling fs layer 22:56:21 8a3aa393b2d8: Pulling fs layer 22:56:21 4657fd5d0bcf: Waiting 22:56:21 114826534d7a: Waiting 22:56:21 6ad1cebc031e: Waiting 22:56:21 8a3aa393b2d8: Waiting 22:56:21 25bc292e5bac: Download complete 22:56:21 52dc419b0ee2: Download complete 22:56:21 4657fd5d0bcf: Verifying Checksum 22:56:21 4657fd5d0bcf: Download complete 22:56:21 df9b9388f04a: Verifying Checksum 22:56:21 df9b9388f04a: Download complete 22:56:21 df9b9388f04a: Pull complete 22:56:21 52dc419b0ee2: Pull complete 22:56:21 25bc292e5bac: Pull complete 22:56:21 6ad1cebc031e: Verifying Checksum 22:56:21 6ad1cebc031e: Download complete 22:56:22 114826534d7a: Verifying Checksum 22:56:22 114826534d7a: Download complete 22:56:23 8a3aa393b2d8: Verifying Checksum 22:56:23 8a3aa393b2d8: Download complete 22:56:26 114826534d7a: Pull complete 22:56:26 4657fd5d0bcf: Pull complete 22:56:26 6ad1cebc031e: Pull complete 22:56:29 8a3aa393b2d8: Pull complete 22:56:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:56:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:56:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:29 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:56:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:56:31 $ docker top 36893caa47798ae92caa5369d9dbcdc8bf47c5ac89bdd74571151d8709434416 -eo pid,comm [Pipeline] { [Pipeline] echo 22:56:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:56:32 + set -o pipefail 22:56:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:56:36 22:56:36 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:56:36 22:56:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/1deeec12-a06a-4d00-a7a7-aca5be5894a0 22:56:36 22:56:36 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:56:36 22:56:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:56:36 22:56:36 22:56:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:56:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:56:36 More details here: https://snyk.co/ue1NS [Pipeline] } 22:56:36 $ docker stop --time=1 36893caa47798ae92caa5369d9dbcdc8bf47c5ac89bdd74571151d8709434416 22:56:38 $ docker rm -f --volumes 36893caa47798ae92caa5369d9dbcdc8bf47c5ac89bdd74571151d8709434416 [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 22:56:39 + git log --format=format:%s -1 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] sh 22:56:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:56:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:40 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:56:40 $ docker top 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:56:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:56:40 [ssh-agent] Looking for ssh-agent implementation... 22:56:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:56:40 $ docker exec 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 ssh-agent 22:56:41 SSH_AUTH_SOCK=/tmp/ssh-tFKGs1uGDTCc/agent.32 22:56:41 SSH_AGENT_PID=38 22:56:41 Running ssh-add (command line suppressed) 22:56:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2954513340505367828.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2954513340505367828.key) 22:56:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:56:41 + git semver tag 22:56:41 2023-02-07 22:56:41,616 [run_tag] DEBUG tag force:False 22:56:41 2023-02-07 22:56:41,616 [check_head_tag] DEBUG check head tag 22:56:41 2023-02-07 22:56:41,618 [execute] INFO git cat-file --batch-check 22:56:41 2023-02-07 22:56:41,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:56:41 2023-02-07 22:56:41,623 [execute] INFO git cat-file --batch 22:56:41 2023-02-07 22:56:41,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:56:41 2023-02-07 22:56:41,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:56:41 2023-02-07 22:56:41,640 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 22:56:41 2023-02-07 22:56:41,640 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:56:41 2023-02-07 22:56:41,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:56:41 3.0.0-dev.8 [Pipeline] } 22:56:41 $ docker exec --env ******** --env ******** 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 ssh-agent -k 22:56:41 unset SSH_AUTH_SOCK; 22:56:41 unset SSH_AGENT_PID; 22:56:41 echo Agent pid 38 killed; 22:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:56:42 + git semver [Pipeline] } 22:56:42 $ docker stop --time=1 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 22:56:43 $ docker rm -f --volumes 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:56:44 22:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:56:44 0.23.1-centos7: Pulling from edgex-lftools 22:56:44 ab5ef0e58194: Pulling fs layer 22:56:44 9712f1f96733: Pulling fs layer 22:56:44 63f879dbbcfc: Pulling fs layer 22:56:44 0d9ebad4ef96: Pulling fs layer 22:56:44 e9a5061849ea: Pulling fs layer 22:56:44 d747dcd14b5f: Pulling fs layer 22:56:44 2de7ff778b66: Pulling fs layer 22:56:44 e9a5061849ea: Waiting 22:56:44 2de7ff778b66: Waiting 22:56:44 d747dcd14b5f: Waiting 22:56:44 0d9ebad4ef96: Waiting 22:56:44 9712f1f96733: Verifying Checksum 22:56:44 9712f1f96733: Download complete 22:56:45 63f879dbbcfc: Download complete 22:56:45 e9a5061849ea: Verifying Checksum 22:56:45 e9a5061849ea: Download complete 22:56:45 d747dcd14b5f: Verifying Checksum 22:56:45 d747dcd14b5f: Download complete 22:56:45 ab5ef0e58194: Download complete 22:56:45 0d9ebad4ef96: Verifying Checksum 22:56:45 0d9ebad4ef96: Download complete 22:56:45 2de7ff778b66: Verifying Checksum 22:56:48 ab5ef0e58194: Pull complete 22:56:48 9712f1f96733: Pull complete 22:56:49 63f879dbbcfc: Pull complete 22:56:52 0d9ebad4ef96: Pull complete 22:56:52 e9a5061849ea: Pull complete 22:56:52 d747dcd14b5f: Pull complete 22:56:53 2de7ff778b66: Pull complete 22:56:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:56:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:56:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:53 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:56:57 $ docker top 97cab245658610bff124e1ff34f797b875f22d925d9731aa7d889760b3cd1ebc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:56:57 provisioning config files... 22:56:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9534246514993710016tmp 22:56:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15648541449349435110tmp 22:56:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1074635673217059626tmp [Pipeline] { [Pipeline] echo 22:56:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:56:57 ---> sigul-configuration.sh 22:56:57 gpg: directory `/root/.gnupg' created 22:56:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:56:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:56:57 gpg: keyring `/root/.gnupg/secring.gpg' created 22:56:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:56:57 gpg: CAST5 encrypted data 22:56:57 gpg: encrypted with 1 passphrase 22:56:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:56:57 + mkdir /home/jenkins 22:56:57 + mkdir /home/jenkins/sigul [Pipeline] sh 22:56:58 + 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 22:56:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:56:58 ---> sigul-install.sh 22:56:58 Sigul already installed; skipping installation. [Pipeline] sh 22:56:58 + git tag --list 22:56:58 v1.0.0 22:56:58 v1.1.0 22:56:58 v1.1.1 22:56:58 v1.1.2 22:56:58 v1.2.0 22:56:58 v1.2.1 22:56:58 v2.0.0 22:56:58 v2.1.0 22:56:58 v2.1.1 22:56:58 v2.1.1-dev.1 22:56:58 v2.1.1-dev.2 22:56:58 v2.1.1-dev.3 22:56:58 v2.2.0 22:56:58 v2.2.1-dev.1 22:56:58 v2.2.1-dev.2 22:56:58 v2.2.1-dev.3 22:56:58 v2.2.1-dev.4 22:56:58 v2.2.1-dev.5 22:56:58 v2.2.1-dev.6 22:56:58 v2.2.1-dev.7 22:56:58 v2.2.1-dev.8 22:56:58 v2.2.1-dev.9 22:56:58 v2.3.0 22:56:58 v2.3.0-dev.10 22:56:58 v2.3.0-dev.11 22:56:58 v2.3.0-dev.12 22:56:58 v2.3.0-dev.13 22:56:58 v2.3.0-dev.14 22:56:58 v2.3.0-dev.15 22:56:58 v2.3.0-dev.16 22:56:58 v2.3.0-dev.17 22:56:58 v2.3.0-dev.18 22:56:58 v2.3.0-dev.19 22:56:58 v2.3.0-dev.20 22:56:58 v2.3.0-dev.21 22:56:58 v2.3.0-dev.22 22:56:58 v2.3.0-dev.23 22:56:58 v2.3.0-dev.24 22:56:58 v2.3.0-dev.25 22:56:58 v2.3.0-dev.9 22:56:58 v3.0.0-dev.1 22:56:58 v3.0.0-dev.2 22:56:58 v3.0.0-dev.3 22:56:58 v3.0.0-dev.4 22:56:58 v3.0.0-dev.5 22:56:58 v3.0.0-dev.6 22:56:58 v3.0.0-dev.7 22:56:58 v3.0.0-dev.8 [Pipeline] sh 22:56:59 + lftools sign git-tag v3.0.0-dev.8 22:56:59 Signing Git tag with Sigul... 22:56:59 Signing v3.0.0-dev.8 [Pipeline] echo 22:56:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:57:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:57:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:57:00 $ docker stop --time=1 97cab245658610bff124e1ff34f797b875f22d925d9731aa7d889760b3cd1ebc 22:57:01 $ docker rm -f --volumes 97cab245658610bff124e1ff34f797b875f22d925d9731aa7d889760b3cd1ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:57:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:57:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:02 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:57:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:57:02 $ docker top c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d -eo pid,comm 22:57:02 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). 22:57:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:02 [ssh-agent] Looking for ssh-agent implementation... 22:57:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:02 $ docker exec c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d ssh-agent 22:57:03 SSH_AUTH_SOCK=/tmp/ssh-l5aSMvXCg9f3/agent.33 22:57:03 SSH_AGENT_PID=39 22:57:03 Running ssh-add (command line suppressed) 22:57:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11770079070102338.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11770079070102338.key) 22:57:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:03 + git semver bump pre 22:57:03 2023-02-07 22:57:03,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:57:03 2023-02-07 22:57:03,641 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev 22:57:03 2023-02-07 22:57:03,641 [bump_version] DEBUG bumped version:3.0.0-dev.9 22:57:03 2023-02-07 22:57:03,641 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:57:03 2023-02-07 22:57:03,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:57:03 2023-02-07 22:57:03,641 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:57:03 2023-02-07 22:57:03,643 [execute] INFO git cat-file --batch-check 22:57:03 2023-02-07 22:57:03,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:57:03 2023-02-07 22:57:03,648 [execute] INFO git cat-file --batch 22:57:03 2023-02-07 22:57:03,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:57:03 2023-02-07 22:57:03,653 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:57:03 3.0.0-dev.9 [Pipeline] } 22:57:03 $ docker exec --env ******** --env ******** c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d ssh-agent -k 22:57:03 unset SSH_AUTH_SOCK; 22:57:03 unset SSH_AGENT_PID; 22:57:03 echo Agent pid 39 killed; 22:57:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:04 + git semver [Pipeline] } 22:57:04 $ docker stop --time=1 c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d 22:57:05 $ docker rm -f --volumes c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d [Pipeline] // withDockerContainer [Pipeline] sh 22:57:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:57:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:06 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:57:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:57:06 $ docker top 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:06 [ssh-agent] Looking for ssh-agent implementation... 22:57:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:06 $ docker exec 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 ssh-agent 22:57:07 SSH_AUTH_SOCK=/tmp/ssh-nP6NLK48pG4G/agent.33 22:57:07 SSH_AGENT_PID=39 22:57:07 Running ssh-add (command line suppressed) 22:57:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8387834109131172656.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8387834109131172656.key) 22:57:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:07 + git semver push 22:57:07 2023-02-07 22:57:07,748 [run_push] DEBUG push 22:57:07 2023-02-07 22:57:07,749 [execute] INFO git cat-file --batch-check 22:57:07 2023-02-07 22:57:07,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:57:07 2023-02-07 22:57:07,753 [execute] INFO git rev-list 03efebe609c2fc082ea5acccf25ed0c6ee6aed4c -- 22:57:07 2023-02-07 22:57:07,753 [execute] DEBUG Popen(['git', 'rev-list', '03efebe609c2fc082ea5acccf25ed0c6ee6aed4c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:57:07 2023-02-07 22:57:07,758 [execute] INFO git fetch -v origin 22:57:07 2023-02-07 22:57:07,758 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:57:08 2023-02-07 22:57:08,337 [run_push] DEBUG no remote changes detected 22:57:08 2023-02-07 22:57:08,337 [execute] INFO git push origin semver 22:57:08 2023-02-07 22:57:08,338 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:57:09 2023-02-07 22:57:09,176 [run_push] DEBUG push all version tags 22:57:09 2023-02-07 22:57:09,176 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:57:09 2023-02-07 22:57:09,177 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:57:10 2023-02-07 22:57:10,082 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:57:10 3.0.0-dev.9 [Pipeline] } 22:57:10 $ docker exec --env ******** --env ******** 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 ssh-agent -k 22:57:10 unset SSH_AUTH_SOCK; 22:57:10 unset SSH_AGENT_PID; 22:57:10 echo Agent pid 39 killed; 22:57:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:10 + git semver [Pipeline] } 22:57:11 $ docker stop --time=1 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 22:57:12 $ docker rm -f --volumes 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 [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 22:57:12 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:57:12 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:57:12 total 16 22:57:12 drwxr-xr-x 3 root root 4096 Feb 7 22:48 . 22:57:12 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:56 .. 22:57:12 drwxr-xr-x 2 root root 4096 Feb 7 22:48 cost 22:57:12 -rw-r--r-- 1 root root 85 Feb 7 22:48 cost.csv 22:57:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:57:12 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:57:12 total 16 22:57:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:48 . 22:57:12 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:56 .. 22:57:12 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:48 cost 22:57:12 -rw-r--r-- 1 jenkins jenkins 85 Feb 7 22:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:57:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:57:14 ---> package-listing.sh 22:57:14 ++ facter osfamily 22:57:14 ++ tr '[:upper:]' '[:lower:]' 22:57:14 + OS_FAMILY=debian 22:57:14 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:57:14 + START_PACKAGES=/tmp/packages_start.txt 22:57:14 + END_PACKAGES=/tmp/packages_end.txt 22:57:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:57:14 + PACKAGES=/tmp/packages_start.txt 22:57:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:57:14 + PACKAGES=/tmp/packages_end.txt 22:57:14 + case "${OS_FAMILY}" in 22:57:14 + dpkg -l 22:57:14 + grep '^ii' 22:57:14 + '[' -f /tmp/packages_start.txt ']' 22:57:14 + '[' -f /tmp/packages_end.txt ']' 22:57:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:57:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:57:14 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:57:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:57:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:57:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:15 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 22:57:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:57:15 $ docker top 408f0c7d9d3c0575bbbb68da0cf363cb67941205f39e102090b1ebff081399a6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:15 + touch /tmp/pre-build-complete [Pipeline] sh 22:57:16 + mkdir -p /var/log/sysstat [Pipeline] sh 22:57:16 + ls /var/log/sa-host 22:57:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:16 provisioning config files... 22:57:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8639382678206159938tmp [Pipeline] { [Pipeline] echo 22:57:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:57:16 ---> create-netrc.sh [Pipeline] } 22:57:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:57:17 ---> python-tools-install.sh [Pipeline] echo 22:57:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:57:17 ---> sudo-logs.sh 22:57:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:57:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:57:17 ---> job-cost.sh 22:57:17 lf-activate-venv: SKIPPING 22:57:17 DEBUG: total: 0.2199999988079071 22:57:17 INFO: Retrieving Stack Cost... 22:57:18 INFO: Retrieving Pricing Info for: v3-standard-8 22:57:18 INFO: Archiving Costs [Pipeline] echo 22:57:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:57:18 ---> logs-deploy.sh 22:57:18 lf-activate-venv: SKIPPING 22:57:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/80 22:57:18 INFO: archiving workspace using pattern(s): 22:57:19 Archives upload complete. 22:57:19 INFO: archiving logs to Nexus