Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7849af7816baf1c3cc1af121845620dcf422b00f 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-ssh10310094965747878173.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh5352197917902118661.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10227951368569756760.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh15760207436303565251.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh17438719960677793811.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22614’ Running on prd-ubuntu20.04-docker-8c-8g-22616 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 7849af7816baf1c3cc1af121845620dcf422b00f (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 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 Commit message: "build(snap): Upgrade snap hook to 2.4.1 (#209)" > git rev-list --no-walk ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:59:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:59:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:59:08 ========================================================= 13:59:08 EdgeX Global Pipelines Version Info 13:59:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:59:09 ------------------- 13:59:09 stable info: 13:59:09 ------------------- 13:59:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:59:09 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:59:09 Message: update stable to v1.0.238 13:59:09 ------------------- 13:59:09 experimental info: 13:59:09 ------------------- 13:59:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:59:09 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:59:09 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7849af7 [Pipeline] echo 13:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:59:10 provisioning config files... 13:59:10 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config710902623192762110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:11 ---> docker-login.sh 13:59:11 nexus3.edgexfoundry.org:10001 13:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:11 Configure a credential helper to remove this warning. See 13:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:11 13:59:11 Login Succeeded 13:59:11 nexus3.edgexfoundry.org:10002 13:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:11 Configure a credential helper to remove this warning. See 13:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:11 13:59:11 Login Succeeded 13:59:11 nexus3.edgexfoundry.org:10003 13:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:11 Configure a credential helper to remove this warning. See 13:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:11 13:59:11 Login Succeeded 13:59:11 nexus3.edgexfoundry.org:10004 13:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:11 Configure a credential helper to remove this warning. See 13:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:11 13:59:11 Login Succeeded 13:59:11 docker.io 13:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:12 Configure a credential helper to remove this warning. See 13:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:12 13:59:12 Login Succeeded 13:59:12 ---> docker-login.sh ends [Pipeline] } 13:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:59:12 + git rev-list -1 --merges 7849af7816baf1c3cc1af121845620dcf422b00f~1..7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo 13:59:12 -----------> git rev-list -1 --merges 7849af7816baf1c3cc1af121845620dcf422b00f~1..7849af7816baf1c3cc1af121845620dcf422b00f 7849af7816baf1c3cc1af121845620dcf422b00f [false] [Pipeline] sh 13:59:12 + git log --format=format:%s -1 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo 13:59:12 ========================================================= 13:59:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:59:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:59:13 + git log --format=format:%s -1 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] echo 13:59:13 [semverPrep] GIT_COMMIT: 7849af7816baf1c3cc1af121845620dcf422b00f, Commit Message: build(snap): Upgrade snap hook to 2.4.1 (#209) [Pipeline] echo 13:59:13 [semverPrep] This is not a build commit. [Pipeline] sh 13:59:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:59:13 + grep -v github /etc/ssh/ssh_known_hosts 13:59:13 + [ -e /tmp/ssh_known_hosts ] 13:59:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:59:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:59:13 + sudo tee -a /etc/ssh/ssh_known_hosts 13:59:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:59:13 13:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:59:14 0.1.4: Pulling from edgex-devops/py-git-semver 13:59:14 b85a868b505f: Pulling fs layer 13:59:14 e2be974225ed: Pulling fs layer 13:59:14 339a4e72a1f5: Pulling fs layer 13:59:14 988bab9f4d93: Pulling fs layer 13:59:14 1469e6f7b9e6: Pulling fs layer 13:59:14 eaf3925da568: Pulling fs layer 13:59:14 bab4dde63d76: Pulling fs layer 13:59:14 bde34c3a00c8: Pulling fs layer 13:59:14 b352a97aabf1: Pulling fs layer 13:59:14 4872d77fe225: Pulling fs layer 13:59:14 5851b861e8e6: Pulling fs layer 13:59:14 eaf3925da568: Waiting 13:59:14 bab4dde63d76: Waiting 13:59:14 bde34c3a00c8: Waiting 13:59:14 988bab9f4d93: Waiting 13:59:14 b352a97aabf1: Waiting 13:59:14 4872d77fe225: Waiting 13:59:14 5851b861e8e6: Waiting 13:59:14 1469e6f7b9e6: Waiting 13:59:14 e2be974225ed: Verifying Checksum 13:59:14 e2be974225ed: Download complete 13:59:14 988bab9f4d93: Verifying Checksum 13:59:14 988bab9f4d93: Download complete 13:59:14 1469e6f7b9e6: Verifying Checksum 13:59:14 1469e6f7b9e6: Download complete 13:59:14 eaf3925da568: Verifying Checksum 13:59:14 eaf3925da568: Download complete 13:59:14 339a4e72a1f5: Verifying Checksum 13:59:14 339a4e72a1f5: Download complete 13:59:14 bde34c3a00c8: Download complete 13:59:14 b352a97aabf1: Download complete 13:59:14 4872d77fe225: Verifying Checksum 13:59:14 4872d77fe225: Download complete 13:59:14 5851b861e8e6: Verifying Checksum 13:59:14 5851b861e8e6: Download complete 13:59:14 b85a868b505f: Verifying Checksum 13:59:14 b85a868b505f: Download complete 13:59:14 bab4dde63d76: Verifying Checksum 13:59:14 bab4dde63d76: Download complete 13:59:15 b85a868b505f: Pull complete 13:59:15 e2be974225ed: Pull complete 13:59:16 339a4e72a1f5: Pull complete 13:59:16 988bab9f4d93: Pull complete 13:59:16 1469e6f7b9e6: Pull complete 13:59:16 eaf3925da568: Pull complete 13:59:18 bab4dde63d76: Pull complete 13:59:18 bde34c3a00c8: Pull complete 13:59:18 b352a97aabf1: Pull complete 13:59:18 4872d77fe225: Pull complete 13:59:18 5851b861e8e6: Pull complete 13:59:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:59:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:59:18 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 13:59:18 $ 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 13:59:20 $ docker top 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba -eo pid,comm 13:59:20 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). 13:59:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:59:20 [ssh-agent] Looking for ssh-agent implementation... 13:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:59:20 $ docker exec 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent 13:59:21 SSH_AUTH_SOCK=/tmp/ssh-5UmE9AFXTVPf/agent.33 13:59:21 SSH_AGENT_PID=39 13:59:21 Running ssh-add (command line suppressed) 13:59:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7556447858916298931.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7556447858916298931.key) 13:59:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:59:21 + git tag --points-at HEAD [Pipeline] } 13:59:21 $ docker exec --env ******** --env ******** 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent -k 13:59:21 unset SSH_AUTH_SOCK; 13:59:21 unset SSH_AGENT_PID; 13:59:21 echo Agent pid 39 killed; 13:59:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:59:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:59:21 [ssh-agent] Looking for ssh-agent implementation... 13:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:59:21 $ docker exec 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent 13:59:21 SSH_AUTH_SOCK=/tmp/ssh-8Cx9taLoXlrT/agent.71 13:59:21 SSH_AGENT_PID=77 13:59:21 Running ssh-add (command line suppressed) 13:59:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_539952007085121168.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_539952007085121168.key) 13:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:59:22 + git semver init 13:59:22 2022-08-12 13:59:22,463 [run_init] DEBUG init version:0.0.0 force:False 13:59:22 2022-08-12 13:59:22,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 13:59:22 2022-08-12 13:59:22,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 13:59:22 2022-08-12 13:59:22,464 [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) 13:59:23 2022-08-12 13:59:23,435 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 13:59:23 2022-08-12 13:59:23,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 13:59:23 2022-08-12 13:59:23,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:59:23 2022-08-12 13:59:23,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:59:23 2.3.0-dev.11 [Pipeline] } 13:59:23 $ docker exec --env ******** --env ******** 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba ssh-agent -k 13:59:23 unset SSH_AUTH_SOCK; 13:59:23 unset SSH_AGENT_PID; 13:59:23 echo Agent pid 77 killed; 13:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:59:23 + git semver [Pipeline] } 13:59:24 $ docker stop --time=1 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba 13:59:25 $ docker rm -f 53859a80377c170a6822136a8a558eafc2385672e53f0f45e4e8e5f3610f2cba [Pipeline] // withDockerContainer [Pipeline] sh 13:59:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:59:26 Stashed 1 file(s) [Pipeline] echo 13:59:26 [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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 13:59:26 provisioning config files... 13:59:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7312786619955838423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:26 ---> docker-login.sh 13:59:26 nexus3.edgexfoundry.org:10001 13:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:26 Configure a credential helper to remove this warning. See 13:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:26 13:59:26 Login Succeeded 13:59:26 nexus3.edgexfoundry.org:10002 13:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:26 Configure a credential helper to remove this warning. See 13:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:26 13:59:26 Login Succeeded 13:59:26 nexus3.edgexfoundry.org:10003 13:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:26 Configure a credential helper to remove this warning. See 13:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:26 13:59:26 Login Succeeded 13:59:26 nexus3.edgexfoundry.org:10004 13:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:26 Configure a credential helper to remove this warning. See 13:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:26 13:59:26 Login Succeeded 13:59:26 docker.io 13:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:27 Configure a credential helper to remove this warning. See 13:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:27 13:59:27 Login Succeeded 13:59:27 ---> docker-login.sh ends [Pipeline] } 13:59:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:59:27 ========================================================= 13:59:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:59:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:27 + 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 . 13:59:27 Sending build context to Docker daemon 10.71MB 13:59:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:59:27 Step 2/12 : FROM ${BASE} AS builder 13:59:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:59:27 2408cc74d12b: Pulling fs layer 13:59:27 ea60b727a1ce: Pulling fs layer 13:59:27 30c4a7721957: Pulling fs layer 13:59:27 370296b7ddb6: Pulling fs layer 13:59:27 7c6cee850709: Pulling fs layer 13:59:27 39a5fcdaea64: Pulling fs layer 13:59:27 d94ebbe4e438: Pulling fs layer 13:59:27 bcfd1f05c69d: Pulling fs layer 13:59:27 59ccb84bbe0f: Pulling fs layer 13:59:27 370296b7ddb6: Waiting 13:59:27 7c6cee850709: Waiting 13:59:27 39a5fcdaea64: Waiting 13:59:27 d94ebbe4e438: Waiting 13:59:27 bcfd1f05c69d: Waiting 13:59:27 30c4a7721957: Verifying Checksum 13:59:27 30c4a7721957: Download complete 13:59:27 ea60b727a1ce: Download complete 13:59:28 7c6cee850709: Verifying Checksum 13:59:28 7c6cee850709: Download complete 13:59:28 39a5fcdaea64: Verifying Checksum 13:59:28 39a5fcdaea64: Download complete 13:59:28 2408cc74d12b: Verifying Checksum 13:59:28 d94ebbe4e438: Download complete 13:59:28 2408cc74d12b: Pull complete 13:59:28 ea60b727a1ce: Pull complete 13:59:28 30c4a7721957: Pull complete 13:59:28 59ccb84bbe0f: Verifying Checksum 13:59:28 59ccb84bbe0f: Download complete 13:59:28 bcfd1f05c69d: Verifying Checksum 13:59:28 bcfd1f05c69d: Download complete 13:59:28 370296b7ddb6: Verifying Checksum 13:59:28 370296b7ddb6: Download complete 13:59:33 370296b7ddb6: Pull complete 13:59:33 7c6cee850709: Pull complete 13:59:33 39a5fcdaea64: Pull complete 13:59:33 d94ebbe4e438: Pull complete 13:59:34 bcfd1f05c69d: Pull complete 13:59:35 59ccb84bbe0f: Pull complete 13:59:35 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:59:35 ---> a4fb48ad2a94 13:59:35 Step 3/12 : ARG MAKE='make build' 13:59:39 ---> Running in 1f64307b6551 13:59:39 Removing intermediate container 1f64307b6551 13:59:39 ---> 2594a848213d 13:59:39 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:59:39 ---> Running in 52804ce1df05 13:59:39 Removing intermediate container 52804ce1df05 13:59:39 ---> 9d98b9cc1d83 13:59:39 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:59:39 ---> Running in 4512616ba27f 13:59:39 Removing intermediate container 4512616ba27f 13:59:39 ---> ca3a528d60f4 13:59:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:59:39 ---> Running in 53dcb6a6d912 13:59:39 Removing intermediate container 53dcb6a6d912 13:59:39 ---> a0d40e3786bd 13:59:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:59:39 ---> Running in 4d7f0e7fc104 13:59:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:59:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:59:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:59:41 Still waiting to schedule task 13:59:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22615’ 13:59:41 (2/4) Installing libedit (20210910.3.1-r0) 13:59:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:59:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:59:41 Executing busybox-1.35.0-r13.trigger 13:59:41 OK: 216 MiB in 55 packages 13:59:41 Removing intermediate container 4d7f0e7fc104 13:59:41 ---> 2ae0482663c8 13:59:41 Step 8/12 : WORKDIR /device-rest-go 13:59:42 ---> Running in d90b91f2f732 13:59:42 Removing intermediate container d90b91f2f732 13:59:42 ---> 9e0e9adfed71 13:59:42 Step 9/12 : COPY go.mod vendor* ./ 13:59:42 ---> 3f8117030e94 13:59:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:59:42 ---> Running in 6bfd56210e12 14:00:00 Removing intermediate container 6bfd56210e12 14:00:00 ---> 8ad14f8ae311 14:00:00 Step 11/12 : COPY . . 14:00:00 ---> 137a86004d86 14:00:00 Step 12/12 : RUN $MAKE 14:00:00 ---> Running in 793c3e42902b 14:00:00 noop 14:00:00 Removing intermediate container 793c3e42902b 14:00:00 ---> da84d7824f15 14:00:00 Successfully built da84d7824f15 14:00:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:00 + docker inspect -f . ci-base-image-x86_64 14:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:00 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:00:00 $ 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 14:00:00 $ docker top 65cace644bd72c463c43f85f6e8802eca928ba55cdeb15031b35bda5b6bd6efd -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:01 + go version 14:00:01 go version go1.18.3 linux/amd64 [Pipeline] } 14:00:01 $ docker stop --time=1 65cace644bd72c463c43f85f6e8802eca928ba55cdeb15031b35bda5b6bd6efd 14:00:02 $ docker rm -f 65cace644bd72c463c43f85f6e8802eca928ba55cdeb15031b35bda5b6bd6efd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:03 + docker inspect -f . ci-base-image-x86_64 14:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:03 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 14:00:03 $ docker top 7153e1025fb9bada13dbd9f25e3a9b0ceb0e0ed6e6c8c2c50769ab57b7ce9766 -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 14:00:04 + make test 14:00:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:00:04 ? github.com/edgexfoundry/device-rest-go [no test files] 14:00:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:00:14 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 14:00:21 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." 14:00:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:00:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:00:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:00:23 ./bin/test-attribution-txt.sh 14:00:23 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:00:23 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:00:23 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:00:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:00:23 $ docker stop --time=1 7153e1025fb9bada13dbd9f25e3a9b0ceb0e0ed6e6c8c2c50769ab57b7ce9766 14:00:25 $ docker rm -f 7153e1025fb9bada13dbd9f25e3a9b0ceb0e0ed6e6c8c2c50769ab57b7ce9766 [Pipeline] // withDockerContainer [Pipeline] sh 14:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:00:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:00:27 + ls -al . 14:00:27 total 172 14:00:27 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 14:00 . 14:00:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 .. 14:00:27 -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 13:59 .dockerignore 14:00:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 14:00 .git 14:00:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 .github 14:00:27 -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 13:59 .gitignore 14:00:27 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 13:59 .golangci.yml 14:00:27 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 13:59 .semver 14:00:27 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 13:59 Attribution.txt 14:00:27 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 13:59 CHANGELOG.md 14:00:27 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 13:59 Dockerfile 14:00:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 13:59 GOVERNANCE.md 14:00:27 -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 13:59 Jenkinsfile 14:00:27 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 13:59 LICENSE 14:00:27 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 13:59 Makefile 14:00:27 -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 13:59 OWNERS.md 14:00:27 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 13:59 README.md 14:00:27 -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:59 VERSION 14:00:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 bin 14:00:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 13:59 cmd 14:00:27 -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 14:00 coverage.out 14:00:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 13:59 driver 14:00:27 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 13:59 go.mod 14:00:27 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 13:59 go.sum 14:00:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 13:59 snap 14:00:27 -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 13:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:27 + 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=7849af7816baf1c3cc1af121845620dcf422b00f --label arch=amd64 --label version=2.3.0-dev.11 . 14:00:27 Sending build context to Docker daemon 10.72MB 14:00:27 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:00:27 Step 2/25 : FROM ${BASE} AS builder 14:00:27 ---> da84d7824f15 14:00:27 Step 3/25 : ARG MAKE='make build' 14:00:27 ---> Running in 501c8d90c262 14:00:27 Removing intermediate container 501c8d90c262 14:00:27 ---> ef1d581502b2 14:00:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:00:27 ---> Running in 180d6ac13f56 14:00:27 Removing intermediate container 180d6ac13f56 14:00:27 ---> 0a6b21375704 14:00:27 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:00:27 ---> Running in cb3b2c6ae8a6 14:00:27 Removing intermediate container cb3b2c6ae8a6 14:00:27 ---> 9e4060ba7adf 14:00:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:00:27 ---> Running in 3f2c0c74b3bb 14:00:28 Removing intermediate container 3f2c0c74b3bb 14:00:28 ---> ff7cf8246e7e 14:00:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:00:28 ---> Running in defc4dd802e4 14:00:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:00:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:00:30 OK: 216 MiB in 55 packages 14:00:30 Removing intermediate container defc4dd802e4 14:00:30 ---> dfb8b13ee3b4 14:00:30 Step 8/25 : WORKDIR /device-rest-go 14:00:30 ---> Running in 9041a1a1b770 14:00:30 Removing intermediate container 9041a1a1b770 14:00:30 ---> bbe559d888d5 14:00:30 Step 9/25 : COPY go.mod vendor* ./ 14:00:30 ---> 2a012de53642 14:00:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:00:30 ---> Running in 28950c306c29 14:00:31 Removing intermediate container 28950c306c29 14:00:31 ---> 8b67d91b5fdd 14:00:31 Step 11/25 : COPY . . 14:00:31 ---> 131ee5181d7f 14:00:31 Step 12/25 : RUN $MAKE 14:00:31 ---> Running in ae79e9702e72 14:00:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:00:53 Removing intermediate container ae79e9702e72 14:00:53 ---> 57d64cfcf7f2 14:00:53 Step 13/25 : FROM alpine:3.16 14:00:53 3.16: Pulling from library/alpine 14:00:53 213ec9aee27d: Pulling fs layer 14:00:53 213ec9aee27d: Verifying Checksum 14:00:53 213ec9aee27d: Download complete 14:00:53 213ec9aee27d: Pull complete 14:00:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:00:53 Status: Downloaded newer image for alpine:3.16 14:00:53 ---> 9c6f07244728 14:00:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:00:53 ---> Running in 76bfb8b83997 14:00:53 Removing intermediate container 76bfb8b83997 14:00:53 ---> a1ba8e6bec1a 14:00:53 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:00:53 ---> Running in 524e88b2d69c 14:00:53 Removing intermediate container 524e88b2d69c 14:00:53 ---> 5203339e0b33 14:00:53 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:00:53 ---> Running in 25837b702db6 14:00:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:00:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:00:53 (1/6) Installing dumb-init (1.2.5-r1) 14:00:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:00:53 (3/6) Installing libsodium (1.0.18-r0) 14:00:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:00:53 (5/6) Installing libzmq (4.3.4-r0) 14:00:53 (6/6) Installing zeromq (4.3.4-r0) 14:00:53 Executing busybox-1.35.0-r17.trigger 14:00:53 OK: 8 MiB in 20 packages 14:00:53 Removing intermediate container 25837b702db6 14:00:53 ---> 52ab74496042 14:00:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:00:54 ---> 93136367adc2 14:00:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:00:54 ---> c9a8f70c286f 14:00:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:00:54 ---> bb99909955bb 14:00:54 Step 20/25 : EXPOSE 59986 14:00:54 ---> Running in 1d236d31dd3c 14:00:54 Removing intermediate container 1d236d31dd3c 14:00:54 ---> 43ff10fd0f68 14:00:54 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:00:54 ---> Running in 45d9407618d3 14:00:54 Removing intermediate container 45d9407618d3 14:00:54 ---> 3aedc889b16e 14:00:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:00:54 ---> Running in 3b171d08d044 14:00:54 Removing intermediate container 3b171d08d044 14:00:54 ---> d2f5bdd2707e 14:00:54 Step 23/25 : LABEL arch=amd64 14:00:54 ---> Running in 4b4b3d1b855a 14:00:54 Removing intermediate container 4b4b3d1b855a 14:00:54 ---> c8b6e242f139 14:00:54 Step 24/25 : LABEL git_sha=7849af7816baf1c3cc1af121845620dcf422b00f 14:00:54 ---> Running in 297dc74ee953 14:00:55 Removing intermediate container 297dc74ee953 14:00:55 ---> 4212ba971f1d 14:00:55 Step 25/25 : LABEL version=2.3.0-dev.11 14:00:55 ---> Running in 2c4cc28dac6f 14:00:55 Removing intermediate container 2c4cc28dac6f 14:00:55 ---> 55fcee76f540 14:00:55 [Warning] One or more build-args [ARCH] were not consumed 14:00:55 Successfully built 55fcee76f540 14:00:55 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:00:55 provisioning config files... 14:00:55 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1052257938291879963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:55 ---> docker-login.sh 14:00:55 nexus3.edgexfoundry.org:10001 14:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:55 Configure a credential helper to remove this warning. See 14:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:55 14:00:55 Login Succeeded 14:00:55 nexus3.edgexfoundry.org:10002 14:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:55 Configure a credential helper to remove this warning. See 14:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:55 14:00:55 Login Succeeded 14:00:55 nexus3.edgexfoundry.org:10003 14:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:55 Configure a credential helper to remove this warning. See 14:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:55 14:00:55 Login Succeeded 14:00:55 nexus3.edgexfoundry.org:10004 14:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:56 Configure a credential helper to remove this warning. See 14:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:56 14:00:56 Login Succeeded 14:00:56 docker.io 14:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:56 Configure a credential helper to remove this warning. See 14:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:56 14:00:56 Login Succeeded 14:00:56 ---> docker-login.sh ends [Pipeline] } 14:00:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:00:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:00:56 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:00:56 7849af7816baf1c3cc1af121845620dcf422b00f 14:00:56 latest 14:00:56 2.3.0-dev.11 14:00:56 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 14:00:56 main 14:00:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f 14:00:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:00:57 4d27f3162d64: Preparing 14:00:57 29fd8273b1b9: Preparing 14:00:57 0d4e1c0a6b91: Preparing 14:00:57 461ee66eabea: Preparing 14:00:57 994393dc58e7: Preparing 14:00:57 994393dc58e7: Layer already exists 14:00:57 29fd8273b1b9: Pushed 14:00:57 4d27f3162d64: Pushed 14:00:57 461ee66eabea: Pushed 14:00:59 0d4e1c0a6b91: Pushed 14:00:59 7849af7816baf1c3cc1af121845620dcf422b00f: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:01:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:01:00 4d27f3162d64: Preparing 14:01:00 29fd8273b1b9: Preparing 14:01:00 0d4e1c0a6b91: Preparing 14:01:00 461ee66eabea: Preparing 14:01:00 994393dc58e7: Preparing 14:01:00 994393dc58e7: Layer already exists 14:01:00 461ee66eabea: Layer already exists 14:01:00 29fd8273b1b9: Layer already exists 14:01:00 0d4e1c0a6b91: Layer already exists 14:01:00 4d27f3162d64: Layer already exists 14:01:00 latest: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.11 14:01:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:01:01 4d27f3162d64: Preparing 14:01:01 29fd8273b1b9: Preparing 14:01:01 0d4e1c0a6b91: Preparing 14:01:01 461ee66eabea: Preparing 14:01:01 994393dc58e7: Preparing 14:01:01 29fd8273b1b9: Layer already exists 14:01:01 994393dc58e7: Layer already exists 14:01:01 461ee66eabea: Layer already exists 14:01:01 0d4e1c0a6b91: Layer already exists 14:01:01 4d27f3162d64: Layer already exists 14:01:01 2.3.0-dev.11: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 14:01:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:01:01 4d27f3162d64: Preparing 14:01:01 29fd8273b1b9: Preparing 14:01:01 0d4e1c0a6b91: Preparing 14:01:01 461ee66eabea: Preparing 14:01:01 994393dc58e7: Preparing 14:01:01 461ee66eabea: Layer already exists 14:01:01 0d4e1c0a6b91: Layer already exists 14:01:01 994393dc58e7: Layer already exists 14:01:01 4d27f3162d64: Layer already exists 14:01:01 29fd8273b1b9: Layer already exists 14:01:01 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:01:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:01:02 4d27f3162d64: Preparing 14:01:02 29fd8273b1b9: Preparing 14:01:02 0d4e1c0a6b91: Preparing 14:01:02 461ee66eabea: Preparing 14:01:02 994393dc58e7: Preparing 14:01:02 4d27f3162d64: Layer already exists 14:01:02 29fd8273b1b9: Layer already exists 14:01:02 994393dc58e7: Layer already exists 14:01:02 461ee66eabea: Layer already exists 14:01:02 0d4e1c0a6b91: Layer already exists 14:01:02 main: digest: sha256:064f09fffb9031a3bfcff964c920453ec93c8a601a7548edf62bba3e1a8c3d97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:01:02 ===================================================== [Pipeline] echo 14:01:02 taggedImages: 14:01:02 - nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f 14:01:02 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:01:02 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.11 14:01:02 - nexus3.edgexfoundry.org:10004/device-rest:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 14:01:02 - 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 14:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:02 14:01:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:03 latest: Pulling from edgex-lftools-log-publisher 14:01:03 5eb5b503b376: Pulling fs layer 14:01:03 5c69ac0246d0: Pulling fs layer 14:01:03 ec43610c2a17: Pulling fs layer 14:01:03 3a2ae6a8a46f: Pulling fs layer 14:01:03 33b1e0a273af: Pulling fs layer 14:01:03 5d3b04190fa2: Pulling fs layer 14:01:03 2f39f015ded8: Pulling fs layer 14:01:03 33b1e0a273af: Waiting 14:01:03 5d3b04190fa2: Waiting 14:01:03 2f39f015ded8: Waiting 14:01:03 3a2ae6a8a46f: Waiting 14:01:03 5c69ac0246d0: Verifying Checksum 14:01:03 5c69ac0246d0: Download complete 14:01:03 3a2ae6a8a46f: Verifying Checksum 14:01:03 3a2ae6a8a46f: Download complete 14:01:03 33b1e0a273af: Verifying Checksum 14:01:03 33b1e0a273af: Download complete 14:01:03 ec43610c2a17: Verifying Checksum 14:01:03 ec43610c2a17: Download complete 14:01:03 5d3b04190fa2: Verifying Checksum 14:01:03 5d3b04190fa2: Download complete 14:01:03 5eb5b503b376: Verifying Checksum 14:01:03 5eb5b503b376: Download complete 14:01:04 2f39f015ded8: Verifying Checksum 14:01:04 2f39f015ded8: Download complete 14:01:04 5eb5b503b376: Pull complete 14:01:04 5c69ac0246d0: Pull complete 14:01:05 ec43610c2a17: Pull complete 14:01:05 3a2ae6a8a46f: Pull complete 14:01:05 33b1e0a273af: Pull complete 14:01:05 5d3b04190fa2: Pull complete 14:01:11 2f39f015ded8: Pull complete 14:01:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:01:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:01:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:11 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:01:11 $ 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 14:01:13 $ docker top c4aebfece4c540ba8ef2ab0c0911fcad181cce68be83fcb247c9fe3ddeb0a0a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:13 ---> job-cost.sh 14:01:13 lf-activate-venv: SKIPPING 14:01:13 INFO: No Stack... 14:01:14 INFO: Retrieving Pricing Info for: v3-standard-8 14:01:14 INFO: Archiving Costs [Pipeline] sh 14:01:14 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 14:01:14 + cut -d, -f6 [Pipeline] lock 14:01:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] 14:01:14 Resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] did not exist. Created. 14:01:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:01:15 + echo total: 0.2199999988079071 [Pipeline] stash 14:01:15 Stashed 1 file(s) [Pipeline] } 14:01:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 14:01:15 $ docker stop --time=1 c4aebfece4c540ba8ef2ab0c0911fcad181cce68be83fcb247c9fe3ddeb0a0a7 14:01:16 $ docker rm -f c4aebfece4c540ba8ef2ab0c0911fcad181cce68be83fcb247c9fe3ddeb0a0a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:02:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22617 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:02:33 Running in /w/workspace/device-rest-go/55 [Pipeline] { [Pipeline] checkout 14:02:33 The recommended git tool is: git 14:02:40 using credential edgex-jenkins-ssh 14:02:40 Cloning the remote Git repository 14:02:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:02:40 > git init /w/workspace/device-rest-go/55 # timeout=10 14:02:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:02:40 > git --version # timeout=10 14:02:40 > git --version # 'git version 2.25.1' 14:02:40 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:02:42 Avoid second fetch 14:02:42 Checking out Revision 7849af7816baf1c3cc1af121845620dcf422b00f (main) 14:02:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:02:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:02:42 > git config core.sparsecheckout # timeout=10 14:02:42 > git checkout -f 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 14:02:46 Commit message: "build(snap): Upgrade snap hook to 2.4.1 (#209)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:02:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:02:47 % Total % Received % Xferd Average Speed Time Time Time Current 14:02:47 Dload Upload Total Spent Left Speed 14:02:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 14:02:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:02:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:02:48 + sudo tee /etc/docker/daemon.new 14:02:48 { 14:02:48 "registry-mirrors": [ 14:02:48 "https://nexus3.edgexfoundry.org:10001" 14:02:48 ], 14:02:48 "bip": "10.250.0.254/24", 14:02:48 "hosts": [ 14:02:48 "tcp://0.0.0.0:5555", 14:02:48 "unix:///var/run/docker.sock" 14:02:48 ], 14:02:48 "mtu": 1458, 14:02:48 "selinux-enabled": true, 14:02:48 "seccomp-profile": "/etc/docker/seccomp.json" 14:02:48 } [Pipeline] sh 14:02:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:02:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:03:08 provisioning config files... 14:03:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config1271486939946636328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:08 ---> docker-login.sh 14:03:08 nexus3.edgexfoundry.org:10001 14:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:09 Configure a credential helper to remove this warning. See 14:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:09 14:03:09 Login Succeeded 14:03:09 nexus3.edgexfoundry.org:10002 14:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:09 Configure a credential helper to remove this warning. See 14:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:09 14:03:09 Login Succeeded 14:03:09 nexus3.edgexfoundry.org:10003 14:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:10 Configure a credential helper to remove this warning. See 14:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:10 14:03:10 Login Succeeded 14:03:10 nexus3.edgexfoundry.org:10004 14:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:11 Configure a credential helper to remove this warning. See 14:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:11 14:03:11 Login Succeeded 14:03:11 docker.io 14:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:11 Configure a credential helper to remove this warning. See 14:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:11 14:03:11 Login Succeeded 14:03:11 ---> docker-login.sh ends [Pipeline] } 14:03:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:03:12 ========================================================= 14:03:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:03:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:12 + 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 . 14:03:12 Sending build context to Docker daemon 126kB 14:03:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 14:03:12 Step 2/12 : FROM ${BASE} AS builder 14:03:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:03:13 b3c136eddcbf: Pulling fs layer 14:03:13 c0a3192eca97: Pulling fs layer 14:03:13 a050256f5b6f: Pulling fs layer 14:03:13 656be50a0ddc: Pulling fs layer 14:03:13 2bbca73fdf42: Pulling fs layer 14:03:13 46d945488cbd: Pulling fs layer 14:03:13 8a5474983e97: Pulling fs layer 14:03:13 329c88fbcd65: Pulling fs layer 14:03:13 46d945488cbd: Waiting 14:03:13 8a5474983e97: Waiting 14:03:13 329c88fbcd65: Waiting 14:03:13 656be50a0ddc: Waiting 14:03:13 2bbca73fdf42: Waiting 14:03:13 a050256f5b6f: Verifying Checksum 14:03:13 a050256f5b6f: Download complete 14:03:13 c0a3192eca97: Verifying Checksum 14:03:13 c0a3192eca97: Download complete 14:03:13 2bbca73fdf42: Verifying Checksum 14:03:13 2bbca73fdf42: Download complete 14:03:13 46d945488cbd: Verifying Checksum 14:03:13 46d945488cbd: Download complete 14:03:13 b3c136eddcbf: Verifying Checksum 14:03:14 b3c136eddcbf: Pull complete 14:03:14 329c88fbcd65: Verifying Checksum 14:03:14 329c88fbcd65: Download complete 14:03:14 c0a3192eca97: Pull complete 14:03:15 a050256f5b6f: Pull complete 14:03:15 8a5474983e97: Verifying Checksum 14:03:15 8a5474983e97: Download complete 14:03:16 656be50a0ddc: Verifying Checksum 14:03:16 656be50a0ddc: Download complete 14:03:31 656be50a0ddc: Pull complete 14:03:31 2bbca73fdf42: Pull complete 14:03:31 46d945488cbd: Pull complete 14:03:35 8a5474983e97: Pull complete 14:03:38 329c88fbcd65: Pull complete 14:03:38 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 14:03:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:03:38 ---> ff4287adb874 14:03:38 Step 3/12 : ARG MAKE='make build' 14:03:39 ---> Running in fa9cc83dcf65 14:03:40 Removing intermediate container fa9cc83dcf65 14:03:40 ---> 58f198e41967 14:03:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:03:40 ---> Running in 165f05f522fb 14:03:41 Removing intermediate container 165f05f522fb 14:03:41 ---> 33cc4adfb315 14:03:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:03:41 ---> Running in 9b9f7a231736 14:03:41 Removing intermediate container 9b9f7a231736 14:03:41 ---> b5abd5402496 14:03:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:03:42 ---> Running in 547dc98c5bf7 14:03:44 Removing intermediate container 547dc98c5bf7 14:03:44 ---> e7db56fa67cf 14:03:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:03:44 ---> Running in 714a6673e0c9 14:03:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:03:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:03:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:03:46 (2/4) Installing libedit (20210910.3.1-r0) 14:03:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:03:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:03:47 Executing busybox-1.35.0-r13.trigger 14:03:47 OK: 226 MiB in 55 packages 14:03:48 Removing intermediate container 714a6673e0c9 14:03:48 ---> d1a27508f5f0 14:03:48 Step 8/12 : WORKDIR /device-rest-go 14:03:48 ---> Running in 2902fdd1d63d 14:03:48 Removing intermediate container 2902fdd1d63d 14:03:48 ---> 7aaca1901afa 14:03:48 Step 9/12 : COPY go.mod vendor* ./ 14:03:49 ---> b8e70aaf8a7c 14:03:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:03:49 ---> Running in 5f76d091050e 14:04:45 Removing intermediate container 5f76d091050e 14:04:45 ---> 4faeec3f472f 14:04:45 Step 11/12 : COPY . . 14:04:45 ---> 166be2424598 14:04:45 Step 12/12 : RUN $MAKE 14:04:45 ---> Running in eb324f10e0c5 14:04:45 noop 14:04:45 Removing intermediate container eb324f10e0c5 14:04:45 ---> 2ba9d23e7202 14:04:45 Successfully built 2ba9d23e7202 14:04:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:46 + docker inspect -f . ci-base-image-arm64 14:04:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:46 prd-ubuntu20.04-docker-arm64-4c-16g-22617 does not seem to be running inside a container 14:04:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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 14:04:47 $ docker top 1ca9e32ba8053efd1ccd9ba36335bcb1002e222bfa7a0b551b010a3525bbf259 -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:48 + go version 14:04:48 go version go1.18.3 linux/arm64 [Pipeline] } 14:04:48 $ docker stop --time=1 1ca9e32ba8053efd1ccd9ba36335bcb1002e222bfa7a0b551b010a3525bbf259 14:04:50 $ docker rm -f 1ca9e32ba8053efd1ccd9ba36335bcb1002e222bfa7a0b551b010a3525bbf259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:51 + docker inspect -f . ci-base-image-arm64 14:04:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:51 prd-ubuntu20.04-docker-arm64-4c-16g-22617 does not seem to be running inside a container 14:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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 14:04:52 $ docker top e8ead38bc0c5bb26b112f23423afc8b86c026e9382afffe30bd297499d696504 -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:53 + git config --global --add safe.directory /w/workspace/device-rest-go/55 [Pipeline] fileExists [Pipeline] sh 14:04:54 + make test 14:04:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:04:55 ? github.com/edgexfoundry/device-rest-go [no test files] 14:06:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:06:18 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 55.2% of statements 14:06:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:06:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:06:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:06:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:06:41 ./bin/test-attribution-txt.sh 14:06:41 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:06:41 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:06:41 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:06:41 $ docker stop --time=1 e8ead38bc0c5bb26b112f23423afc8b86c026e9382afffe30bd297499d696504 14:06:42 $ docker rm -f e8ead38bc0c5bb26b112f23423afc8b86c026e9382afffe30bd297499d696504 [Pipeline] // withDockerContainer [Pipeline] sh 14:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:06:43 Warning: overwriting stash ‘coverage-report’ 14:06:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:06:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:06:45 + ls -al . 14:06:45 total 168 14:06:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 14:04 . 14:06:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 14:02 .. 14:06:45 -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 14:02 .dockerignore 14:06:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 14:02 .git 14:06:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 14:02 .github 14:06:45 -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 14:02 .gitignore 14:06:45 -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 14:02 .golangci.yml 14:06:45 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 14:02 Attribution.txt 14:06:45 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 14:02 CHANGELOG.md 14:06:45 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 14:02 Dockerfile 14:06:45 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 14:02 GOVERNANCE.md 14:06:45 -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 14:02 Jenkinsfile 14:06:45 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 14:02 LICENSE 14:06:45 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 14:02 Makefile 14:06:45 -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 14:02 OWNERS.md 14:06:45 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 14:02 README.md 14:06:45 -rw-rw-r-- 1 jenkins jenkins 12 Aug 12 13:59 VERSION 14:06:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 14:02 bin 14:06:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 14:02 cmd 14:06:45 -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 14:06 coverage.out 14:06:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 14:02 driver 14:06:45 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 14:02 go.mod 14:06:45 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 14:02 go.sum 14:06:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 14:02 snap 14:06:45 -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 14:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:45 + 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=7849af7816baf1c3cc1af121845620dcf422b00f --label arch=arm64 --label version=2.3.0-dev.11 . 14:06:45 Sending build context to Docker daemon 136.2kB 14:06:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:06:45 Step 2/25 : FROM ${BASE} AS builder 14:06:45 ---> 2ba9d23e7202 14:06:45 Step 3/25 : ARG MAKE='make build' 14:06:46 ---> Running in ab4392c1bdbc 14:06:46 Removing intermediate container ab4392c1bdbc 14:06:46 ---> f326c73178f8 14:06:46 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:06:46 ---> Running in 37882d32fd6e 14:06:47 Removing intermediate container 37882d32fd6e 14:06:47 ---> f17a8f99fc75 14:06:47 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:06:47 ---> Running in 0b89aeec4bbd 14:06:47 Removing intermediate container 0b89aeec4bbd 14:06:47 ---> 0b961ef91f3d 14:06:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:06:47 ---> Running in 50134dfafd39 14:06:48 Removing intermediate container 50134dfafd39 14:06:48 ---> 509e2e52caeb 14:06:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:06:49 ---> Running in d58f6b477260 14:06:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:06:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:06:51 OK: 226 MiB in 55 packages 14:06:52 Removing intermediate container d58f6b477260 14:06:52 ---> 956a925a105d 14:06:52 Step 8/25 : WORKDIR /device-rest-go 14:06:52 ---> Running in d582dda732d8 14:06:53 Removing intermediate container d582dda732d8 14:06:53 ---> db7af18030fe 14:06:53 Step 9/25 : COPY go.mod vendor* ./ 14:06:53 ---> 4fef3108ca5c 14:06:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:06:53 ---> Running in 0352a8390992 14:06:55 Removing intermediate container 0352a8390992 14:06:55 ---> 36a66e1852c9 14:06:55 Step 11/25 : COPY . . 14:06:56 ---> 1d6f436d1405 14:06:56 Step 12/25 : RUN $MAKE 14:06:56 ---> Running in 41baa95ec780 14:06:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:09:04 Removing intermediate container 41baa95ec780 14:09:04 ---> 2ae14eb356c0 14:09:04 Step 13/25 : FROM alpine:3.16 14:09:04 3.16: Pulling from library/alpine 14:09:04 9b18e9b68314: Pulling fs layer 14:09:04 9b18e9b68314: Verifying Checksum 14:09:04 9b18e9b68314: Download complete 14:09:04 9b18e9b68314: Pull complete 14:09:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:09:04 Status: Downloaded newer image for alpine:3.16 14:09:04 ---> a6215f271958 14:09:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:09:04 ---> Running in 781a721d5989 14:09:04 Removing intermediate container 781a721d5989 14:09:04 ---> 89e801f9a6ed 14:09:04 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:09:04 ---> Running in 7ebe00c0f4a8 14:09:04 Removing intermediate container 7ebe00c0f4a8 14:09:04 ---> 96695ca72841 14:09:04 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:09:04 ---> Running in eb01ef6a9302 14:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:09:04 (1/6) Installing dumb-init (1.2.5-r1) 14:09:04 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:09:04 (3/6) Installing libsodium (1.0.18-r0) 14:09:04 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:09:04 (5/6) Installing libzmq (4.3.4-r0) 14:09:04 (6/6) Installing zeromq (4.3.4-r0) 14:09:04 Executing busybox-1.35.0-r17.trigger 14:09:04 OK: 8 MiB in 20 packages 14:09:04 Removing intermediate container eb01ef6a9302 14:09:04 ---> d59978fa2f52 14:09:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:09:04 ---> a7cd065bd4d9 14:09:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:09:05 ---> 0aacaee0d047 14:09:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:09:05 ---> 80f00508a363 14:09:05 Step 20/25 : EXPOSE 59986 14:09:05 ---> Running in 8ff9ce408178 14:09:06 Removing intermediate container 8ff9ce408178 14:09:06 ---> 91285980d6a0 14:09:06 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:09:06 ---> Running in 44d89ee5ab3a 14:09:06 Removing intermediate container 44d89ee5ab3a 14:09:06 ---> 5131de21ccea 14:09:06 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:09:06 ---> Running in 4087b211c35a 14:09:06 Removing intermediate container 4087b211c35a 14:09:06 ---> ff438b55ae63 14:09:06 Step 23/25 : LABEL arch=arm64 14:09:07 ---> Running in c256e3af8a84 14:09:07 Removing intermediate container c256e3af8a84 14:09:07 ---> 65aaaf9ff041 14:09:07 Step 24/25 : LABEL git_sha=7849af7816baf1c3cc1af121845620dcf422b00f 14:09:07 ---> Running in e4eaf9133a2d 14:09:07 Removing intermediate container e4eaf9133a2d 14:09:07 ---> 12e4d3a15a61 14:09:07 Step 25/25 : LABEL version=2.3.0-dev.11 14:09:07 ---> Running in 0491ff034bdb 14:09:08 Removing intermediate container 0491ff034bdb 14:09:08 ---> 841b7f53b2fb 14:09:08 [Warning] One or more build-args [ARCH] were not consumed 14:09:08 Successfully built 841b7f53b2fb 14:09:08 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 14:09:08 provisioning config files... 14:09:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config8816117749238463490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:10 ---> docker-login.sh 14:09:10 nexus3.edgexfoundry.org:10001 14:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:10 Configure a credential helper to remove this warning. See 14:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:10 14:09:10 Login Succeeded 14:09:10 nexus3.edgexfoundry.org:10002 14:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:10 Configure a credential helper to remove this warning. See 14:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:10 14:09:10 Login Succeeded 14:09:10 nexus3.edgexfoundry.org:10003 14:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:10 Configure a credential helper to remove this warning. See 14:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:10 14:09:10 Login Succeeded 14:09:10 nexus3.edgexfoundry.org:10004 14:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:10 Configure a credential helper to remove this warning. See 14:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:10 14:09:10 Login Succeeded 14:09:10 docker.io 14:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:11 Configure a credential helper to remove this warning. See 14:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:11 14:09:11 Login Succeeded 14:09:11 ---> docker-login.sh ends [Pipeline] } 14:09:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:09:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:11 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:09:11 7849af7816baf1c3cc1af121845620dcf422b00f 14:09:11 latest 14:09:11 2.3.0-dev.11 14:09:11 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 14:09:11 main 14:09:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f 14:09:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:09:12 0c14e5a82dbe: Preparing 14:09:12 bee9889fc0c6: Preparing 14:09:12 64e47d128f82: Preparing 14:09:12 cbb1ec76bba3: Preparing 14:09:12 5d3e392a13a0: Preparing 14:09:12 5d3e392a13a0: Layer already exists 14:09:12 0c14e5a82dbe: Pushed 14:09:12 bee9889fc0c6: Pushed 14:09:12 cbb1ec76bba3: Pushed 14:09:18 64e47d128f82: Pushed 14:09:18 7849af7816baf1c3cc1af121845620dcf422b00f: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:09:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:09:19 0c14e5a82dbe: Preparing 14:09:19 bee9889fc0c6: Preparing 14:09:19 64e47d128f82: Preparing 14:09:19 cbb1ec76bba3: Preparing 14:09:19 5d3e392a13a0: Preparing 14:09:19 0c14e5a82dbe: Layer already exists 14:09:19 5d3e392a13a0: Layer already exists 14:09:19 cbb1ec76bba3: Layer already exists 14:09:19 bee9889fc0c6: Layer already exists 14:09:19 64e47d128f82: Layer already exists 14:09:19 latest: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.11 14:09:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:09:20 0c14e5a82dbe: Preparing 14:09:20 bee9889fc0c6: Preparing 14:09:20 64e47d128f82: Preparing 14:09:20 cbb1ec76bba3: Preparing 14:09:20 5d3e392a13a0: Preparing 14:09:20 5d3e392a13a0: Layer already exists 14:09:20 cbb1ec76bba3: Layer already exists 14:09:20 64e47d128f82: Layer already exists 14:09:20 0c14e5a82dbe: Layer already exists 14:09:20 bee9889fc0c6: Layer already exists 14:09:20 2.3.0-dev.11: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 14:09:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:09:21 0c14e5a82dbe: Preparing 14:09:21 bee9889fc0c6: Preparing 14:09:21 64e47d128f82: Preparing 14:09:21 cbb1ec76bba3: Preparing 14:09:21 5d3e392a13a0: Preparing 14:09:21 cbb1ec76bba3: Layer already exists 14:09:21 0c14e5a82dbe: Layer already exists 14:09:21 5d3e392a13a0: Layer already exists 14:09:21 bee9889fc0c6: Layer already exists 14:09:21 64e47d128f82: Layer already exists 14:09:21 7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:09:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:09:22 0c14e5a82dbe: Preparing 14:09:22 bee9889fc0c6: Preparing 14:09:22 64e47d128f82: Preparing 14:09:22 cbb1ec76bba3: Preparing 14:09:22 5d3e392a13a0: Preparing 14:09:22 5d3e392a13a0: Layer already exists 14:09:22 0c14e5a82dbe: Layer already exists 14:09:22 cbb1ec76bba3: Layer already exists 14:09:22 64e47d128f82: Layer already exists 14:09:22 bee9889fc0c6: Layer already exists 14:09:22 main: digest: sha256:8e3113fef5bf65cba1e7ce91202e0c3c927896eff75bf552cba98ff1f6c52e53 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:09:22 ===================================================== [Pipeline] echo 14:09:22 taggedImages: 14:09:22 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f 14:09:22 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:09:22 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.11 14:09:22 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7849af7816baf1c3cc1af121845620dcf422b00f-2.3.0-dev.11 14:09:22 - 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 14:09:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:09:22 14:09:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:09:23 arm64: Pulling from edgex-lftools-log-publisher 14:09:23 8998bd30e6a1: Pulling fs layer 14:09:23 04944245beec: Pulling fs layer 14:09:23 699f458cf7ca: Pulling fs layer 14:09:23 765212b225bb: Pulling fs layer 14:09:23 f23df028b6ca: Pulling fs layer 14:09:23 d65c8cfc05b1: Pulling fs layer 14:09:23 2437ff75d9bd: Pulling fs layer 14:09:23 765212b225bb: Waiting 14:09:23 f23df028b6ca: Waiting 14:09:23 d65c8cfc05b1: Waiting 14:09:23 2437ff75d9bd: Waiting 14:09:23 04944245beec: Verifying Checksum 14:09:23 04944245beec: Download complete 14:09:23 765212b225bb: Download complete 14:09:23 f23df028b6ca: Verifying Checksum 14:09:23 f23df028b6ca: Download complete 14:09:23 d65c8cfc05b1: Verifying Checksum 14:09:23 d65c8cfc05b1: Download complete 14:09:23 699f458cf7ca: Verifying Checksum 14:09:23 699f458cf7ca: Download complete 14:09:24 8998bd30e6a1: Verifying Checksum 14:09:24 8998bd30e6a1: Download complete 14:09:26 2437ff75d9bd: Verifying Checksum 14:09:28 8998bd30e6a1: Pull complete 14:09:28 04944245beec: Pull complete 14:09:30 699f458cf7ca: Pull complete 14:09:30 765212b225bb: Pull complete 14:09:31 f23df028b6ca: Pull complete 14:09:31 d65c8cfc05b1: Pull complete 14:09:46 2437ff75d9bd: Pull complete 14:09:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:09:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:46 prd-ubuntu20.04-docker-arm64-4c-16g-22617 does not seem to be running inside a container 14:09:46 $ 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/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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 14:09:49 $ docker top 13691ae65272e4099d5ad2a6acf08a3a1182f39de8301e5f97c55376ea3cc413 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:50 ---> job-cost.sh 14:09:50 lf-activate-venv: SKIPPING 14:09:50 INFO: No Stack... 14:09:50 INFO: Retrieving Pricing Info for: v3-standard-4 14:09:51 INFO: Archiving Costs [Pipeline] sh 14:09:52 + cat /w/workspace/device-rest-go/55/archives/cost.csv 14:09:52 + cut -d, -f6 [Pipeline] lock 14:09:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] 14:09:52 Resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] did not exist. Created. 14:09:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:09:52 /w/workspace/device-rest-go/55@tmp/durable-0694ea64/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:09:53 + echo total: 0.10999999940395355 [Pipeline] stash 14:09:53 Warning: overwriting stash ‘stack-cost’ 14:09:53 Stashed 1 file(s) [Pipeline] } 14:09:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 14:09:53 $ docker stop --time=1 13691ae65272e4099d5ad2a6acf08a3a1182f39de8301e5f97c55376ea3cc413 14:09:55 $ docker rm -f 13691ae65272e4099d5ad2a6acf08a3a1182f39de8301e5f97c55376ea3cc413 [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 14:09:55 provisioning config files... 14:09:55 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4301481375932634160tmp [Pipeline] { [Pipeline] sh 14:09:55 + set +x 14:09:55 + curl -s https://codecov.io/bash 14:09:55 + bash -s -- 14:09:55 14:09:55 _____ _ 14:09:55 / ____| | | 14:09:55 | | ___ __| | ___ ___ _____ __ 14:09:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:09:55 | |___| (_) | (_| | __/ (_| (_) \ V / 14:09:55 \_____\___/ \__,_|\___|\___\___/ \_/ 14:09:55 Bash-1.0.6 14:09:55 14:09:55 14:09:55 ==> git version 2.25.1 found 14:09:55 ==> 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 14:09:55 Release-Date: 2020-01-08 14:09:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:09:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:09:55 ==> Jenkins CI detected. 14:09:55 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:09:55 project root: . 14:09:55 --> token set from env 14:09:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:09:55 ==> Running gcov in . (disable via -X gcov) 14:09:55 ==> Python coveragepy not found 14:09:55 ==> Searching for coverage reports in: 14:09:55 + . 14:09:55 -> Found 1 reports 14:09:55 ==> Detecting git/mercurial file structure 14:09:55 ==> Reading reports 14:09:55 + ./coverage.out bytes=9355 14:09:55 ==> Appending adjustments 14:09:55 https://docs.codecov.io/docs/fixing-reports 14:09:55 + Found adjustments 14:09:56 ==> Gzipping contents 14:09:56 4.0K /tmp/codecov.8y58by.gz 14:09:56 ==> Uploading reports 14:09:56 url: https://codecov.io 14:09:56 query: branch=main&commit=7849af7816baf1c3cc1af121845620dcf422b00f&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:09:56 -> Pinging Codecov 14:09:56 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=7849af7816baf1c3cc1af121845620dcf422b00f&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:09:56 -> Uploading to 14:09:56 https://storage.googleapis.com/codecov/v4/raw/2022-08-12/4E5D53B4F1F92C436F7061BF334D961C/7849af7816baf1c3cc1af121845620dcf422b00f/6cecfb87-65de-4f96-8fdc-37d5c303348e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T140956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0bb47fbcfebff6acd1544a2bf084d4ccbe88aebc2adc2c3c5c37c1f760381f15 14:09:56 % Total % Received % Xferd Average Speed Time Time Time Current 14:09:56 Dload Upload Total Spent Left Speed 14:09:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7868 --:--:-- --:--:-- --:--:-- 7833 100 1739 0 0 100 1739 0 7012 --:--:-- --:--:-- --:--:-- 6983 14:09:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] } 14:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:09:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:09:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:09:56 14:09:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:09:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:09:57 df9b9388f04a: Pulling fs layer 14:09:57 52dc419b0ee2: Pulling fs layer 14:09:57 25bc292e5bac: Pulling fs layer 14:09:57 114826534d7a: Pulling fs layer 14:09:57 4657fd5d0bcf: Pulling fs layer 14:09:57 6ad1cebc031e: Pulling fs layer 14:09:57 8a3aa393b2d8: Pulling fs layer 14:09:57 114826534d7a: Waiting 14:09:57 6ad1cebc031e: Waiting 14:09:57 8a3aa393b2d8: Waiting 14:09:57 4657fd5d0bcf: Waiting 14:09:57 25bc292e5bac: Download complete 14:09:57 52dc419b0ee2: Verifying Checksum 14:09:57 52dc419b0ee2: Download complete 14:09:57 4657fd5d0bcf: Verifying Checksum 14:09:57 4657fd5d0bcf: Download complete 14:09:57 df9b9388f04a: Download complete 14:09:57 6ad1cebc031e: Verifying Checksum 14:09:57 6ad1cebc031e: Download complete 14:09:57 df9b9388f04a: Pull complete 14:09:57 52dc419b0ee2: Pull complete 14:09:57 25bc292e5bac: Pull complete 14:09:58 114826534d7a: Verifying Checksum 14:09:58 114826534d7a: Download complete 14:09:58 8a3aa393b2d8: Verifying Checksum 14:09:58 8a3aa393b2d8: Download complete 14:10:02 114826534d7a: Pull complete 14:10:02 4657fd5d0bcf: Pull complete 14:10:02 6ad1cebc031e: Pull complete 14:10:05 8a3aa393b2d8: Pull complete 14:10:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:10:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:05 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:10:05 $ 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 14:10:09 $ docker top 13397be21a9125866b2f741121a6a7cbb3a2d6628d17e54c63b881336de18deb -eo pid,comm [Pipeline] { [Pipeline] echo 14:10:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 14:10:10 + set -o pipefail 14:10:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 14:10:15 14:10:15 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:10:15 14:10:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/9111df24-22d0-4448-af1a-bbff51656509 14:10:15 14:10:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:10:15 14:10:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:10:15 14:10:15 [Pipeline] } 14:10:15 $ docker stop --time=1 13397be21a9125866b2f741121a6a7cbb3a2d6628d17e54c63b881336de18deb 14:10:18 $ docker rm -f 13397be21a9125866b2f741121a6a7cbb3a2d6628d17e54c63b881336de18deb [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 14:10:19 + git log --format=format:%s -1 7849af7816baf1c3cc1af121845620dcf422b00f [Pipeline] sh 14:10:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:10:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:10:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:19 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:10:19 $ 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 14:10:20 $ docker top 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:10:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:10:20 [ssh-agent] Looking for ssh-agent implementation... 14:10:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:10:20 $ docker exec 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 ssh-agent 14:10:20 SSH_AUTH_SOCK=/tmp/ssh-6Enq4KaYFsL1/agent.33 14:10:20 SSH_AGENT_PID=39 14:10:20 Running ssh-add (command line suppressed) 14:10:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7478036580045945921.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7478036580045945921.key) 14:10:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:10:21 + git semver tag 14:10:21 2022-08-12 14:10:21,319 [run_tag] DEBUG tag force:False 14:10:21 2022-08-12 14:10:21,320 [check_head_tag] DEBUG check head tag 14:10:21 2022-08-12 14:10:21,320 [execute] INFO git cat-file --batch-check 14:10:21 2022-08-12 14:10:21,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:10:21 2022-08-12 14:10:21,325 [execute] INFO git cat-file --batch 14:10:21 2022-08-12 14:10:21,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:10:21 2022-08-12 14:10:21,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:21 2022-08-12 14:10:21,337 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 14:10:21 2022-08-12 14:10:21,337 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 14:10:21 2022-08-12 14:10:21,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:21 2.3.0-dev.11 [Pipeline] } 14:10:21 $ docker exec --env ******** --env ******** 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 ssh-agent -k 14:10:21 unset SSH_AUTH_SOCK; 14:10:21 unset SSH_AGENT_PID; 14:10:21 echo Agent pid 39 killed; 14:10:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:10:21 + git semver [Pipeline] } 14:10:22 $ docker stop --time=1 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 14:10:23 $ docker rm -f 2cf1e0dec5efbcdeb10b2943533652e9b18ec98d0e68742f581553b293aa0990 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:10:23 14:10:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:10:24 0.23.1-centos7: Pulling from edgex-lftools 14:10:24 ab5ef0e58194: Pulling fs layer 14:10:24 9712f1f96733: Pulling fs layer 14:10:24 63f879dbbcfc: Pulling fs layer 14:10:24 0d9ebad4ef96: Pulling fs layer 14:10:24 e9a5061849ea: Pulling fs layer 14:10:24 d747dcd14b5f: Pulling fs layer 14:10:24 2de7ff778b66: Pulling fs layer 14:10:24 0d9ebad4ef96: Waiting 14:10:24 e9a5061849ea: Waiting 14:10:24 d747dcd14b5f: Waiting 14:10:24 2de7ff778b66: Waiting 14:10:24 9712f1f96733: Verifying Checksum 14:10:24 9712f1f96733: Download complete 14:10:24 63f879dbbcfc: Verifying Checksum 14:10:24 63f879dbbcfc: Download complete 14:10:24 ab5ef0e58194: Verifying Checksum 14:10:24 ab5ef0e58194: Download complete 14:10:24 d747dcd14b5f: Download complete 14:10:24 0d9ebad4ef96: Verifying Checksum 14:10:24 0d9ebad4ef96: Download complete 14:10:24 e9a5061849ea: Verifying Checksum 14:10:24 e9a5061849ea: Download complete 14:10:24 2de7ff778b66: Verifying Checksum 14:10:24 2de7ff778b66: Download complete 14:10:28 ab5ef0e58194: Pull complete 14:10:28 9712f1f96733: Pull complete 14:10:28 63f879dbbcfc: Pull complete 14:10:32 0d9ebad4ef96: Pull complete 14:10:33 e9a5061849ea: Pull complete 14:10:33 d747dcd14b5f: Pull complete 14:10:34 2de7ff778b66: Pull complete 14:10:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:10:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:34 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:10:34 $ 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 14:10:40 $ docker top 126b54e84711b182103c9bb4a5cbbc5a4e44087cee63f21756931836b9a546bd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:10:40 provisioning config files... 14:10:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1322592961119241139tmp 14:10:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1031428675357453445tmp 14:10:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5895587647799573825tmp [Pipeline] { [Pipeline] echo 14:10:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:10:41 ---> sigul-configuration.sh 14:10:41 gpg: directory `/root/.gnupg' created 14:10:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:10:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:10:41 gpg: keyring `/root/.gnupg/secring.gpg' created 14:10:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:10:41 gpg: CAST5 encrypted data 14:10:41 gpg: encrypted with 1 passphrase 14:10:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:10:41 + mkdir /home/jenkins 14:10:41 + mkdir /home/jenkins/sigul [Pipeline] sh 14:10:41 + 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 14:10:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:10:42 ---> sigul-install.sh 14:10:42 Sigul already installed; skipping installation. [Pipeline] sh 14:10:42 + git tag --list 14:10:42 v1.0.0 14:10:42 v1.1.0 14:10:42 v1.1.1 14:10:42 v1.1.2 14:10:42 v1.2.0 14:10:42 v1.2.1 14:10:42 v2.0.0 14:10:42 v2.1.0 14:10:42 v2.1.1 14:10:42 v2.1.1-dev.1 14:10:42 v2.1.1-dev.2 14:10:42 v2.1.1-dev.3 14:10:42 v2.2.0 14:10:42 v2.2.1-dev.1 14:10:42 v2.2.1-dev.2 14:10:42 v2.2.1-dev.3 14:10:42 v2.2.1-dev.4 14:10:42 v2.2.1-dev.5 14:10:42 v2.2.1-dev.6 14:10:42 v2.2.1-dev.7 14:10:42 v2.2.1-dev.8 14:10:42 v2.2.1-dev.9 14:10:42 v2.3.0-dev.10 14:10:42 v2.3.0-dev.11 14:10:42 v2.3.0-dev.9 [Pipeline] sh 14:10:42 + lftools sign git-tag v2.3.0-dev.11 14:10:43 Signing Git tag with Sigul... 14:10:43 Signing v2.3.0-dev.11 [Pipeline] echo 14:10:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:10:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:10:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:10:44 $ docker stop --time=1 126b54e84711b182103c9bb4a5cbbc5a4e44087cee63f21756931836b9a546bd 14:10:45 $ docker rm -f 126b54e84711b182103c9bb4a5cbbc5a4e44087cee63f21756931836b9a546bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:10:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:10:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:46 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:10:46 $ 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 14:10:46 $ docker top e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:10:46 [ssh-agent] Looking for ssh-agent implementation... 14:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:10:47 $ docker exec e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db ssh-agent 14:10:47 SSH_AUTH_SOCK=/tmp/ssh-UywgpMRlPwVC/agent.33 14:10:47 SSH_AGENT_PID=39 14:10:47 Running ssh-add (command line suppressed) 14:10:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5541805451174157850.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5541805451174157850.key) 14:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:10:47 + git semver bump pre 14:10:47 2022-08-12 14:10:47,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:47 2022-08-12 14:10:47,847 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev 14:10:47 2022-08-12 14:10:47,847 [bump_version] DEBUG bumped version:2.3.0-dev.12 14:10:47 2022-08-12 14:10:47,847 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 14:10:47 2022-08-12 14:10:47,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:47 2022-08-12 14:10:47,847 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:47 2022-08-12 14:10:47,849 [execute] INFO git cat-file --batch-check 14:10:47 2022-08-12 14:10:47,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:10:47 2022-08-12 14:10:47,855 [execute] INFO git cat-file --batch 14:10:47 2022-08-12 14:10:47,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:10:47 2022-08-12 14:10:47,859 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:47 2.3.0-dev.12 [Pipeline] } 14:10:47 $ docker exec --env ******** --env ******** e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db ssh-agent -k 14:10:48 unset SSH_AUTH_SOCK; 14:10:48 unset SSH_AGENT_PID; 14:10:48 echo Agent pid 39 killed; 14:10:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:10:48 + git semver [Pipeline] } 14:10:48 $ docker stop --time=1 e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db 14:10:49 $ docker rm -f e5b5b9125b74491b1a318113d1c2054a2e938388040386dbae73180af727d8db [Pipeline] // withDockerContainer [Pipeline] sh 14:10:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:10:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:50 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:10:50 $ 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 14:10:51 $ docker top 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:10:51 [ssh-agent] Looking for ssh-agent implementation... 14:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:10:51 $ docker exec 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d ssh-agent 14:10:51 SSH_AUTH_SOCK=/tmp/ssh-RzWfPCqtCG9H/agent.32 14:10:51 SSH_AGENT_PID=38 14:10:51 Running ssh-add (command line suppressed) 14:10:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5339663327008590736.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5339663327008590736.key) 14:10:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:10:51 + git semver push 14:10:52 2022-08-12 14:10:52,134 [run_push] DEBUG push 14:10:52 2022-08-12 14:10:52,134 [execute] INFO git cat-file --batch-check 14:10:52 2022-08-12 14:10:52,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:10:52 2022-08-12 14:10:52,138 [execute] INFO git rev-list a9691a210b27a705ade30cd6bc8a4a9a7d34e9a1 -- 14:10:52 2022-08-12 14:10:52,138 [execute] DEBUG Popen(['git', 'rev-list', 'a9691a210b27a705ade30cd6bc8a4a9a7d34e9a1', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:10:52 2022-08-12 14:10:52,145 [execute] INFO git fetch -v origin 14:10:52 2022-08-12 14:10:52,146 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:10:52 2022-08-12 14:10:52,635 [run_push] DEBUG no remote changes detected 14:10:52 2022-08-12 14:10:52,635 [execute] INFO git push origin semver 14:10:52 2022-08-12 14:10:52,635 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:10:53 2022-08-12 14:10:53,373 [run_push] DEBUG push all version tags 14:10:53 2022-08-12 14:10:53,373 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:10:53 2022-08-12 14:10:53,374 [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) 14:10:54 2022-08-12 14:10:54,103 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:10:54 2.3.0-dev.12 [Pipeline] } 14:10:54 $ docker exec --env ******** --env ******** 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d ssh-agent -k 14:10:54 unset SSH_AUTH_SOCK; 14:10:54 unset SSH_AGENT_PID; 14:10:54 echo Agent pid 38 killed; 14:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:10:54 + git semver [Pipeline] } 14:10:55 $ docker stop --time=1 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d 14:10:56 $ docker rm -f 95e77771ccd0915c3e23e5502bea899527b569f813571ad1d6ad58a1df21979d [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 14:10:56 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 14:10:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:10:56 total 16 14:10:56 drwxr-xr-x 3 root root 4096 Aug 12 14:01 . 14:10:56 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 14:10 .. 14:10:56 drwxr-xr-x 2 root root 4096 Aug 12 14:01 cost 14:10:56 -rw-r--r-- 1 root root 85 Aug 12 14:01 cost.csv 14:10:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 14:10:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:10:56 total 16 14:10:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 14:01 . 14:10:56 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 14:10 .. 14:10:56 drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 14:01 cost 14:10:56 -rw-r--r-- 1 jenkins jenkins 85 Aug 12 14:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:10:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:10:58 ---> package-listing.sh 14:10:58 ++ facter osfamily 14:10:58 ++ tr '[:upper:]' '[:lower:]' 14:10:58 + OS_FAMILY=debian 14:10:58 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:10:58 + START_PACKAGES=/tmp/packages_start.txt 14:10:58 + END_PACKAGES=/tmp/packages_end.txt 14:10:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:10:58 + PACKAGES=/tmp/packages_start.txt 14:10:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:10:58 + PACKAGES=/tmp/packages_end.txt 14:10:58 + case "${OS_FAMILY}" in 14:10:58 + dpkg -l 14:10:58 + grep '^ii' 14:10:58 + '[' -f /tmp/packages_start.txt ']' 14:10:58 + '[' -f /tmp/packages_end.txt ']' 14:10:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:10:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:10:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:10:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:10:58 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 14:10:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:59 prd-ubuntu20.04-docker-8c-8g-22616 does not seem to be running inside a container 14:10:59 $ 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 14:10:59 $ docker top 3258ca48b0c89841c3fefd5027a812271d0fd88f82878895cf1885c19301a9ea -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:59 + touch /tmp/pre-build-complete [Pipeline] sh 14:11:00 + mkdir -p /var/log/sysstat [Pipeline] sh 14:11:00 + ls /var/log/sa-host 14:11:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:00 provisioning config files... 14:11:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6303962517720383821tmp [Pipeline] { [Pipeline] echo 14:11:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:11:00 ---> create-netrc.sh [Pipeline] } 14:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:11:01 ---> python-tools-install.sh [Pipeline] echo 14:11:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:11:01 ---> sudo-logs.sh 14:11:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:11:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:11:01 ---> job-cost.sh 14:11:01 lf-activate-venv: SKIPPING 14:11:01 DEBUG: total: 0.2199999988079071 14:11:01 INFO: Retrieving Stack Cost... 14:11:02 INFO: Retrieving Pricing Info for: v3-standard-8 14:11:02 INFO: Archiving Costs [Pipeline] echo 14:11:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:11:03 ---> logs-deploy.sh 14:11:03 lf-activate-venv: SKIPPING 14:11:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/55 14:11:03 INFO: archiving workspace using pattern(s): 14:11:04 Archives upload complete. 14:11:04 INFO: archiving logs to Nexus 14:11:04 ---> uname -a: 14:11:04 Linux prd-ubuntu20-04-docker-8c-8g-22616 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 14:11:04 14:11:04 14:11:04 ---> lscpu: 14:11:04 Architecture: x86_64 14:11:04 CPU op-mode(s): 32-bit, 64-bit 14:11:04 Byte Order: Little Endian 14:11:04 Address sizes: 40 bits physical, 48 bits virtual 14:11:04 CPU(s): 8 14:11:04 On-line CPU(s) list: 0-7 14:11:04 Thread(s) per core: 1 14:11:04 Core(s) per socket: 1 14:11:04 Socket(s): 8 14:11:04 NUMA node(s): 1 14:11:04 Vendor ID: AuthenticAMD 14:11:04 CPU family: 23 14:11:04 Model: 49 14:11:04 Model name: AMD EPYC-Rome Processor 14:11:04 Stepping: 0 14:11:04 CPU MHz: 2799.994 14:11:04 BogoMIPS: 5599.98 14:11:04 Virtualization: AMD-V 14:11:04 Hypervisor vendor: KVM 14:11:04 Virtualization type: full 14:11:04 L1d cache: 256 KiB 14:11:04 L1i cache: 256 KiB 14:11:04 L2 cache: 4 MiB 14:11:04 L3 cache: 128 MiB 14:11:04 NUMA node0 CPU(s): 0-7 14:11:04 Vulnerability Itlb multihit: Not affected 14:11:04 Vulnerability L1tf: Not affected 14:11:04 Vulnerability Mds: Not affected 14:11:04 Vulnerability Meltdown: Not affected 14:11:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:11:04 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:11:04 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:11:04 Vulnerability Srbds: Not affected 14:11:04 Vulnerability Tsx async abort: Not affected 14:11:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 14:11:04 14:11:04 14:11:04 ---> nproc: 14:11:04 8 14:11:04 14:11:04 14:11:04 ---> df -h: 14:11:04 Filesystem Size Used Avail Use% Mounted on 14:11:04 overlay 155G 13G 143G 8% / 14:11:04 tmpfs 64M 0 64M 0% /dev 14:11:04 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:11:04 shm 64M 0 64M 0% /dev/shm 14:11:04 /dev/vda1 155G 13G 143G 8% /facter-os 14:11:04 14:11:04 14:11:04 ---> sar -b -r -n DEV: 14:11:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22616) 08/12/22 _x86_64_ (8 CPU) 14:11:04 14:11:04 13:58:30 LINUX RESTART (8 CPU) 14:11:04 14:11:04 13:59:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:11:04 14:00:01 430.66 16.35 414.30 0.00 2233.52 142187.29 0.00 14:11:04 14:01:01 156.29 0.18 156.11 0.00 19.60 23568.47 0.00 14:11:04 14:02:01 33.79 0.02 33.78 0.00 2.67 16760.14 0.00 14:11:04 14:03:01 1.42 0.00 1.42 0.00 0.00 17.08 0.00 14:11:04 14:04:01 1.32 0.02 1.30 0.00 0.13 14.80 0.00 14:11:04 14:05:01 1.27 0.00 1.27 0.00 0.00 15.05 0.00 14:11:04 14:06:01 0.85 0.00 0.85 0.00 0.00 10.80 0.00 14:11:04 14:07:01 1.15 0.00 1.15 0.00 0.00 14.80 0.00 14:11:04 14:08:01 1.10 0.00 1.10 0.00 0.00 12.66 0.00 14:11:04 14:09:01 1.83 0.63 1.20 0.00 22.53 20.00 0.00 14:11:04 14:10:01 6.42 1.05 5.37 0.00 43.33 2014.20 0.00 14:11:04 14:11:01 134.64 0.32 134.33 0.00 18.00 59886.95 0.00 14:11:04 Average: 63.71 1.53 62.19 0.00 192.13 20205.50 0.00 14:11:04 14:11:04 13:59:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:11:04 14:00:01 28358396 31755820 537156 1.63 159692 3451384 2187144 6.45 1143012 2935468 668 14:11:04 14:01:01 28105952 31761736 528840 1.61 165564 3688804 2063820 6.08 1278016 3037720 736 14:11:04 14:02:01 27603268 31768948 520060 1.58 173768 4140688 1864320 5.49 1286756 3476828 152 14:11:04 14:03:01 27603840 31769548 519164 1.58 173788 4140692 1864320 5.49 1286504 3476832 140 14:11:04 14:04:01 27615016 31780948 508004 1.54 173836 4140700 1880616 5.54 1275904 3476996 60 14:11:04 14:05:01 27614488 31780440 508492 1.55 173856 4140700 1880616 5.54 1276060 3476996 24 14:11:04 14:06:01 27623220 31789272 499672 1.52 173880 4140704 1880616 5.54 1266816 3477080 28 14:11:04 14:07:01 27623464 31789524 499336 1.52 173908 4140708 1880616 5.54 1266796 3477088 152 14:11:04 14:08:01 27623156 31789276 499568 1.52 173932 4140700 1880616 5.54 1266852 3477092 20 14:11:04 14:09:01 27622844 31789768 499292 1.52 173988 4141364 1880616 5.54 1268652 3477652 132 14:11:04 14:10:01 27079448 31750168 537816 1.64 178596 4605756 2038176 6.01 1311384 3939840 462320 14:11:04 14:11:01 26096632 31748444 531536 1.62 216644 5451628 1978184 5.83 1407320 4722452 396 14:11:04 Average: 27547477 31772824 515745 1.57 175954 4193652 1939972 5.72 1277839 3537670 38736 14:11:04 14:11:04 13:59:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:11:04 14:00:01 docker0 139.87 171.34 11.54 1680.00 0.00 0.00 0.00 0.00 14:11:04 14:00:01 lo 6.51 6.51 0.63 0.63 0.00 0.00 0.00 0.00 14:11:04 14:00:01 veth54c32d3 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:00:01 ens3 527.10 388.14 7682.50 82.21 0.00 0.00 0.00 0.00 14:11:04 14:01:01 docker0 9.77 14.91 0.58 98.71 0.00 0.00 0.00 0.00 14:11:04 14:01:01 lo 6.20 6.20 0.60 0.60 0.00 0.00 0.00 0.00 14:11:04 14:01:01 ens3 125.40 103.43 201.84 278.69 0.00 0.00 0.00 0.00 14:11:04 14:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:02:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 14:11:04 14:02:01 ens3 136.91 93.42 2527.51 64.03 0.00 0.00 0.00 0.00 14:11:04 14:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:11:04 14:03:01 ens3 0.57 0.53 0.30 0.21 0.00 0.00 0.00 0.00 14:11:04 14:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:04:01 ens3 0.60 0.18 0.12 0.07 0.00 0.00 0.00 0.00 14:11:04 14:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:11:04 14:05:01 ens3 16.25 9.19 14.91 0.78 0.00 0.00 0.00 0.00 14:11:04 14:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:06:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:11:04 14:07:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 14:11:04 14:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:08:01 ens3 0.12 0.02 0.01 0.00 0.00 0.00 0.00 0.00 14:11:04 14:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:11:04 14:09:01 ens3 0.80 0.52 0.80 0.39 0.00 0.00 0.00 0.00 14:11:04 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:04 14:10:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 14:11:04 14:10:01 ens3 142.13 82.74 3969.54 13.55 0.00 0.00 0.00 0.00 14:11:04 14:11:01 docker0 39.66 47.06 3.64 684.56 0.00 0.00 0.00 0.00 14:11:04 14:11:01 lo 1.53 1.53 0.15 0.15 0.00 0.00 0.00 0.00 14:11:04 14:11:01 ens3 290.43 211.11 3966.38 117.61 0.00 0.00 0.00 0.00 14:11:04 Average: docker0 15.60 19.23 1.30 203.20 0.00 0.00 0.00 0.00 14:11:04 Average: lo 1.49 1.49 0.14 0.14 0.00 0.00 0.00 0.00 14:11:04 Average: ens3 102.78 73.67 1521.62 46.41 0.00 0.00 0.00 0.00 14:11:04 14:11:04