Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bfa2c7cebef17aba10611e718aa3e6714bdeddd 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-ssh13986509760269938172.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-ssh3219641986065199516.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-ssh15383941853456071229.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-ssh14053144650760503139.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-ssh378108632329762053.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22865 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 3bfa2c7cebef17aba10611e718aa3e6714bdeddd (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 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 Commit message: "Merge pull request #210 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:29 ========================================================= 23:08:29 EdgeX Global Pipelines Version Info 23:08:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:30 ------------------- 23:08:30 stable info: 23:08:30 ------------------- 23:08:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:08:30 Message: update stable to v1.0.238 23:08:30 ------------------- 23:08:30 experimental info: 23:08:30 ------------------- 23:08:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:08:30 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bfa2c7 [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:31 provisioning config files... 23:08:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2920985369626239332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:31 ---> docker-login.sh 23:08:31 nexus3.edgexfoundry.org:10001 23:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10002 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10003 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10004 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 docker.io 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 ---> docker-login.sh ends [Pipeline] } 23:08:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:08:33 + git rev-list -1 --merges 3bfa2c7cebef17aba10611e718aa3e6714bdeddd~1..3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo 23:08:33 -----------> git rev-list -1 --merges 3bfa2c7cebef17aba10611e718aa3e6714bdeddd~1..3bfa2c7cebef17aba10611e718aa3e6714bdeddd 3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:08:33 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [false] [Pipeline] sh 23:08:33 + git log --format=format:%s -1 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo 23:08:33 ========================================================= 23:08:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:08:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:33 + git log --format=format:%s -1 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo 23:08:34 [semverPrep] GIT_COMMIT: 3bfa2c7cebef17aba10611e718aa3e6714bdeddd, Commit Message: Merge pull request #210 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo 23:08:34 [semverPrep] This is not a build commit. [Pipeline] sh 23:08:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:34 + grep -v github /etc/ssh/ssh_known_hosts 23:08:34 + [ -e /tmp/ssh_known_hosts ] 23:08:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:08:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:08:34 + sudo tee -a /etc/ssh/ssh_known_hosts 23:08:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:34 23:08:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:35 0.1.4: Pulling from edgex-devops/py-git-semver 23:08:35 b85a868b505f: Pulling fs layer 23:08:35 e2be974225ed: Pulling fs layer 23:08:35 339a4e72a1f5: Pulling fs layer 23:08:35 988bab9f4d93: Pulling fs layer 23:08:35 1469e6f7b9e6: Pulling fs layer 23:08:35 eaf3925da568: Pulling fs layer 23:08:35 bab4dde63d76: Pulling fs layer 23:08:35 bde34c3a00c8: Pulling fs layer 23:08:35 b352a97aabf1: Pulling fs layer 23:08:35 4872d77fe225: Pulling fs layer 23:08:35 5851b861e8e6: Pulling fs layer 23:08:35 eaf3925da568: Waiting 23:08:35 1469e6f7b9e6: Waiting 23:08:35 bab4dde63d76: Waiting 23:08:35 4872d77fe225: Waiting 23:08:35 5851b861e8e6: Waiting 23:08:35 bde34c3a00c8: Waiting 23:08:35 988bab9f4d93: Waiting 23:08:35 b352a97aabf1: Waiting 23:08:35 e2be974225ed: Verifying Checksum 23:08:35 e2be974225ed: Download complete 23:08:35 988bab9f4d93: Verifying Checksum 23:08:35 988bab9f4d93: Download complete 23:08:35 1469e6f7b9e6: Verifying Checksum 23:08:35 1469e6f7b9e6: Download complete 23:08:35 eaf3925da568: Verifying Checksum 23:08:35 eaf3925da568: Download complete 23:08:35 339a4e72a1f5: Verifying Checksum 23:08:35 339a4e72a1f5: Download complete 23:08:35 bde34c3a00c8: Download complete 23:08:35 b352a97aabf1: Verifying Checksum 23:08:35 b352a97aabf1: Download complete 23:08:35 4872d77fe225: Verifying Checksum 23:08:35 4872d77fe225: Download complete 23:08:35 5851b861e8e6: Download complete 23:08:35 b85a868b505f: Verifying Checksum 23:08:35 b85a868b505f: Download complete 23:08:35 bab4dde63d76: Verifying Checksum 23:08:35 bab4dde63d76: Download complete 23:08:37 b85a868b505f: Pull complete 23:08:37 e2be974225ed: Pull complete 23:08:37 339a4e72a1f5: Pull complete 23:08:37 988bab9f4d93: Pull complete 23:08:37 1469e6f7b9e6: Pull complete 23:08:38 eaf3925da568: Pull complete 23:08:40 bab4dde63d76: Pull complete 23:08:40 bde34c3a00c8: Pull complete 23:08:40 b352a97aabf1: Pull complete 23:08:40 4872d77fe225: Pull complete 23:08:40 5851b861e8e6: Pull complete 23:08:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:40 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:42 $ docker top c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 -eo pid,comm 23:08:42 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). 23:08:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:42 [ssh-agent] Looking for ssh-agent implementation... 23:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:42 $ docker exec c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent 23:08:42 SSH_AUTH_SOCK=/tmp/ssh-bZ6rEcAiIBAe/agent.33 23:08:42 SSH_AGENT_PID=39 23:08:42 Running ssh-add (command line suppressed) 23:08:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4389458560188078347.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4389458560188078347.key) 23:08:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:43 + git tag --points-at HEAD [Pipeline] } 23:08:43 $ docker exec --env ******** --env ******** c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent -k 23:08:43 unset SSH_AUTH_SOCK; 23:08:43 unset SSH_AGENT_PID; 23:08:43 echo Agent pid 39 killed; 23:08:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:43 [ssh-agent] Looking for ssh-agent implementation... 23:08:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:43 $ docker exec c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent 23:08:43 SSH_AUTH_SOCK=/tmp/ssh-BuiwQ1LsPT2V/agent.71 23:08:43 SSH_AGENT_PID=77 23:08:43 Running ssh-add (command line suppressed) 23:08:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8052438374553535825.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8052438374553535825.key) 23:08:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:44 + git semver init 23:08:44 2022-08-15 23:08:44,330 [run_init] DEBUG init version:0.0.0 force:False 23:08:44 2022-08-15 23:08:44,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:08:44 2022-08-15 23:08:44,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:08:44 2022-08-15 23:08:44,331 [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) 23:08:45 2022-08-15 23:08:45,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:08:45 2022-08-15 23:08:45,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:08:45 2022-08-15 23:08:45,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:08:45 2022-08-15 23:08:45,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:08:45 2.3.0-dev.12 [Pipeline] } 23:08:45 $ docker exec --env ******** --env ******** c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent -k 23:08:45 unset SSH_AUTH_SOCK; 23:08:45 unset SSH_AGENT_PID; 23:08:45 echo Agent pid 77 killed; 23:08:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:46 + git semver [Pipeline] } 23:08:46 $ docker stop --time=1 c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 23:08:47 $ docker rm -f c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:48 Stashed 1 file(s) [Pipeline] echo 23:08:48 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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 23:08:48 provisioning config files... 23:08:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4315766943223721879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:48 ---> docker-login.sh 23:08:48 nexus3.edgexfoundry.org:10001 23:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:48 Configure a credential helper to remove this warning. See 23:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:48 23:08:48 Login Succeeded 23:08:48 nexus3.edgexfoundry.org:10002 23:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:48 Configure a credential helper to remove this warning. See 23:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:48 23:08:48 Login Succeeded 23:08:48 nexus3.edgexfoundry.org:10003 23:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:48 Configure a credential helper to remove this warning. See 23:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:48 23:08:48 Login Succeeded 23:08:48 nexus3.edgexfoundry.org:10004 23:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:49 Configure a credential helper to remove this warning. See 23:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:49 23:08:49 Login Succeeded 23:08:49 docker.io 23:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:49 Configure a credential helper to remove this warning. See 23:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:49 23:08:49 Login Succeeded 23:08:49 ---> docker-login.sh ends [Pipeline] } 23:08:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:49 ========================================================= 23:08:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:08:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:49 + 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 . 23:08:49 Sending build context to Docker daemon 10.7MB 23:08:49 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:08:49 Step 2/12 : FROM ${BASE} AS builder 23:08:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:08:49 2408cc74d12b: Pulling fs layer 23:08:49 ea60b727a1ce: Pulling fs layer 23:08:49 30c4a7721957: Pulling fs layer 23:08:49 370296b7ddb6: Pulling fs layer 23:08:49 7c6cee850709: Pulling fs layer 23:08:49 39a5fcdaea64: Pulling fs layer 23:08:49 d94ebbe4e438: Pulling fs layer 23:08:49 bcfd1f05c69d: Pulling fs layer 23:08:49 59ccb84bbe0f: Pulling fs layer 23:08:49 7c6cee850709: Waiting 23:08:49 bcfd1f05c69d: Waiting 23:08:49 59ccb84bbe0f: Waiting 23:08:49 39a5fcdaea64: Waiting 23:08:49 d94ebbe4e438: Waiting 23:08:49 370296b7ddb6: Waiting 23:08:49 30c4a7721957: Verifying Checksum 23:08:49 30c4a7721957: Download complete 23:08:49 ea60b727a1ce: Download complete 23:08:50 7c6cee850709: Verifying Checksum 23:08:50 7c6cee850709: Download complete 23:08:50 39a5fcdaea64: Verifying Checksum 23:08:50 39a5fcdaea64: Download complete 23:08:50 2408cc74d12b: Verifying Checksum 23:08:50 2408cc74d12b: Download complete 23:08:50 d94ebbe4e438: Download complete 23:08:50 2408cc74d12b: Pull complete 23:08:50 ea60b727a1ce: Pull complete 23:08:50 30c4a7721957: Pull complete 23:08:50 59ccb84bbe0f: Verifying Checksum 23:08:50 59ccb84bbe0f: Download complete 23:08:50 bcfd1f05c69d: Verifying Checksum 23:08:50 bcfd1f05c69d: Download complete 23:08:50 370296b7ddb6: Verifying Checksum 23:08:50 370296b7ddb6: Download complete 23:08:55 370296b7ddb6: Pull complete 23:08:55 7c6cee850709: Pull complete 23:08:55 39a5fcdaea64: Pull complete 23:08:55 d94ebbe4e438: Pull complete 23:08:57 bcfd1f05c69d: Pull complete 23:08:57 59ccb84bbe0f: Pull complete 23:08:57 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:08:57 ---> a4fb48ad2a94 23:08:57 Step 3/12 : ARG MAKE='make build' 23:09:01 ---> Running in b483edbf37d8 23:09:01 Removing intermediate container b483edbf37d8 23:09:01 ---> a998ce2bf428 23:09:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:09:01 ---> Running in b8402cb3862b 23:09:01 Removing intermediate container b8402cb3862b 23:09:01 ---> 48f8abfafabe 23:09:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:09:01 ---> Running in 1ae3ed912840 23:09:01 Removing intermediate container 1ae3ed912840 23:09:01 ---> 79ca577fdbf9 23:09:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:09:01 ---> Running in 9c32af925cc4 23:09:01 Removing intermediate container 9c32af925cc4 23:09:01 ---> f6aa8482f4ff 23:09:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:01 ---> Running in 1140df691f69 23:09:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:09:03 Still waiting to schedule task 23:09:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:09:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:09:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:09:03 (2/4) Installing libedit (20210910.3.1-r0) 23:09:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:09:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:09:03 Executing busybox-1.35.0-r13.trigger 23:09:03 OK: 216 MiB in 55 packages 23:09:04 Removing intermediate container 1140df691f69 23:09:04 ---> 6758dee58cba 23:09:04 Step 8/12 : WORKDIR /device-rest-go 23:09:04 ---> Running in 3fbd473bb194 23:09:04 Removing intermediate container 3fbd473bb194 23:09:04 ---> 98d4e8d99d21 23:09:04 Step 9/12 : COPY go.mod vendor* ./ 23:09:04 ---> cfccfab26400 23:09:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:04 ---> Running in 87c6d818cdae 23:09:26 Removing intermediate container 87c6d818cdae 23:09:26 ---> f3892b2447d5 23:09:26 Step 11/12 : COPY . . 23:09:26 ---> 1385dda9b078 23:09:26 Step 12/12 : RUN $MAKE 23:09:26 ---> Running in 58592a4c5a35 23:09:26 noop 23:09:26 Removing intermediate container 58592a4c5a35 23:09:26 ---> 0a27e6efd097 23:09:26 Successfully built 0a27e6efd097 23:09:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:26 + docker inspect -f . ci-base-image-x86_64 23:09:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:27 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:09:27 $ 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 23:09:27 $ docker top 2a595aeacfbed1be07380a95ad2d4f3cc379102243e9001b842c3ec0c516cd4b -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:27 + go version 23:09:27 go version go1.18.3 linux/amd64 [Pipeline] } 23:09:27 $ docker stop --time=1 2a595aeacfbed1be07380a95ad2d4f3cc379102243e9001b842c3ec0c516cd4b 23:09:29 $ docker rm -f 2a595aeacfbed1be07380a95ad2d4f3cc379102243e9001b842c3ec0c516cd4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:29 + docker inspect -f . ci-base-image-x86_64 23:09:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:29 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:09:29 $ 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 23:09:30 $ docker top dc841f7f5907d889db53260a572165be172eee99f05b427db4a6c840edf61df6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:09:30 + make test 23:09:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:09:31 ? github.com/edgexfoundry/device-rest-go [no test files] 23:09:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:09:41 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 23:09:46 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." 23:09:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:09:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:49 ./bin/test-attribution-txt.sh 23:09:49 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 23:09:49 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 23:09:49 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 23:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:49 $ docker stop --time=1 dc841f7f5907d889db53260a572165be172eee99f05b427db4a6c840edf61df6 23:09:52 $ docker rm -f dc841f7f5907d889db53260a572165be172eee99f05b427db4a6c840edf61df6 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:09:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:09:53 + ls -al . 23:09:53 total 172 23:09:53 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 23:09 . 23:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:08 .. 23:09:53 -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 23:08 .dockerignore 23:09:53 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 23:09 .git 23:09:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:08 .github 23:09:53 -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 23:08 .gitignore 23:09:53 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 23:08 .golangci.yml 23:09:53 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 23:08 .semver 23:09:53 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 23:08 Attribution.txt 23:09:53 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 23:08 CHANGELOG.md 23:09:53 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 23:08 Dockerfile 23:09:53 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 23:08 GOVERNANCE.md 23:09:53 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 23:08 Jenkinsfile 23:09:53 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 23:08 LICENSE 23:09:53 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 23:08 Makefile 23:09:53 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 23:08 OWNERS.md 23:09:53 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 23:08 README.md 23:09:53 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 23:08 VERSION 23:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:08 bin 23:09:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:08 cmd 23:09:53 -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 23:09 coverage.out 23:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:08 driver 23:09:53 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 23:08 go.mod 23:09:53 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 23:08 go.sum 23:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:08 snap 23:09:53 -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:53 + 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=3bfa2c7cebef17aba10611e718aa3e6714bdeddd --label arch=amd64 --label version=2.3.0-dev.12 . 23:09:53 Sending build context to Docker daemon 10.71MB 23:09:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:09:53 Step 2/25 : FROM ${BASE} AS builder 23:09:53 ---> 0a27e6efd097 23:09:53 Step 3/25 : ARG MAKE='make build' 23:09:53 ---> Running in 31347597f88e 23:09:53 Removing intermediate container 31347597f88e 23:09:53 ---> 4407f2ac724c 23:09:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:09:53 ---> Running in 50be3cbf4135 23:09:53 Removing intermediate container 50be3cbf4135 23:09:53 ---> 0d27838f7689 23:09:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:09:54 ---> Running in ef2fa1068f62 23:09:54 Removing intermediate container ef2fa1068f62 23:09:54 ---> 2c023ca05eb8 23:09:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:09:54 ---> Running in 2f083400b2d8 23:09:54 Removing intermediate container 2f083400b2d8 23:09:54 ---> 31e8fa118391 23:09:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:54 ---> Running in e21941fbc1d4 23:09:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:09:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:09:56 OK: 216 MiB in 55 packages 23:09:56 Removing intermediate container e21941fbc1d4 23:09:56 ---> 8350314f6169 23:09:56 Step 8/25 : WORKDIR /device-rest-go 23:09:56 ---> Running in 97b253ef5b71 23:09:56 Removing intermediate container 97b253ef5b71 23:09:56 ---> 8f21a709a492 23:09:56 Step 9/25 : COPY go.mod vendor* ./ 23:09:56 ---> c1a2068d5614 23:09:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:56 ---> Running in bd15344e93df 23:09:57 Removing intermediate container bd15344e93df 23:09:57 ---> 9a51d41648f3 23:09:57 Step 11/25 : COPY . . 23:09:57 ---> 51e9611d54ec 23:09:57 Step 12/25 : RUN $MAKE 23:09:57 ---> Running in 775e5c6bdd97 23:09:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 23:10:20 Removing intermediate container 775e5c6bdd97 23:10:20 ---> 03c3c4979596 23:10:20 Step 13/25 : FROM alpine:3.16 23:10:20 3.16: Pulling from library/alpine 23:10:20 213ec9aee27d: Pulling fs layer 23:10:20 213ec9aee27d: Verifying Checksum 23:10:20 213ec9aee27d: Download complete 23:10:20 213ec9aee27d: Pull complete 23:10:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:10:20 Status: Downloaded newer image for alpine:3.16 23:10:20 ---> 9c6f07244728 23:10:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:10:20 ---> Running in 30ebed1f06b6 23:10:20 Removing intermediate container 30ebed1f06b6 23:10:20 ---> 6dbf953c1924 23:10:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:10:20 ---> Running in 5b2501c66cd9 23:10:20 Removing intermediate container 5b2501c66cd9 23:10:20 ---> 823825d23f79 23:10:20 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:10:20 ---> Running in b32d099b2799 23:10:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:10:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:10:20 (1/6) Installing dumb-init (1.2.5-r1) 23:10:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:10:20 (3/6) Installing libsodium (1.0.18-r0) 23:10:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:10:20 (5/6) Installing libzmq (4.3.4-r0) 23:10:20 (6/6) Installing zeromq (4.3.4-r0) 23:10:20 Executing busybox-1.35.0-r17.trigger 23:10:20 OK: 8 MiB in 20 packages 23:10:21 Removing intermediate container b32d099b2799 23:10:21 ---> f8de84e04984 23:10:21 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:10:21 ---> 3cca36e54133 23:10:21 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:10:21 ---> 9de44a4921df 23:10:21 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:10:21 ---> 48efe6dd9832 23:10:21 Step 20/25 : EXPOSE 59986 23:10:21 ---> Running in 3bbc6775621c 23:10:22 Removing intermediate container 3bbc6775621c 23:10:22 ---> a3bda0bba42b 23:10:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:10:22 ---> Running in de93fbbb71ab 23:10:22 Removing intermediate container de93fbbb71ab 23:10:22 ---> fd078cb46fb8 23:10:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:10:22 ---> Running in 24070a9b90ed 23:10:22 Removing intermediate container 24070a9b90ed 23:10:22 ---> 9f44857d05c3 23:10:22 Step 23/25 : LABEL arch=amd64 23:10:22 ---> Running in 3ce5baf046e9 23:10:22 Removing intermediate container 3ce5baf046e9 23:10:22 ---> 293cfe856e3f 23:10:22 Step 24/25 : LABEL git_sha=3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:10:22 ---> Running in 1331d935a063 23:10:22 Removing intermediate container 1331d935a063 23:10:22 ---> 0653db05b021 23:10:22 Step 25/25 : LABEL version=2.3.0-dev.12 23:10:22 ---> Running in 870b10a97aa6 23:10:22 Removing intermediate container 870b10a97aa6 23:10:22 ---> c4066f2cff9d 23:10:22 [Warning] One or more build-args [ARCH] were not consumed 23:10:22 Successfully built c4066f2cff9d 23:10:22 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:22 provisioning config files... 23:10:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1787137462187516164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:23 ---> docker-login.sh 23:10:23 nexus3.edgexfoundry.org:10001 23:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:23 Configure a credential helper to remove this warning. See 23:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:23 23:10:23 Login Succeeded 23:10:23 nexus3.edgexfoundry.org:10002 23:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:23 Configure a credential helper to remove this warning. See 23:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:23 23:10:23 Login Succeeded 23:10:23 nexus3.edgexfoundry.org:10003 23:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:23 Configure a credential helper to remove this warning. See 23:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:23 23:10:23 Login Succeeded 23:10:23 nexus3.edgexfoundry.org:10004 23:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:23 Configure a credential helper to remove this warning. See 23:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:23 23:10:23 Login Succeeded 23:10:23 docker.io 23:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:23 Configure a credential helper to remove this warning. See 23:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:23 23:10:23 Login Succeeded 23:10:23 ---> docker-login.sh ends [Pipeline] } 23:10:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:10:23 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:10:23 3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:10:23 latest 23:10:23 2.3.0-dev.12 23:10:23 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 23:10:23 main 23:10:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:10:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:24 bf3d82d4b255: Preparing 23:10:24 3167d5a75a9c: Preparing 23:10:24 4fe490e7fab9: Preparing 23:10:24 cc41150b1c8e: Preparing 23:10:24 994393dc58e7: Preparing 23:10:24 994393dc58e7: Layer already exists 23:10:24 3167d5a75a9c: Pushed 23:10:24 bf3d82d4b255: Pushed 23:10:25 cc41150b1c8e: Pushed 23:10:27 4fe490e7fab9: Pushed 23:10:27 3bfa2c7cebef17aba10611e718aa3e6714bdeddd: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:10:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:28 bf3d82d4b255: Preparing 23:10:28 3167d5a75a9c: Preparing 23:10:28 4fe490e7fab9: Preparing 23:10:28 cc41150b1c8e: Preparing 23:10:28 994393dc58e7: Preparing 23:10:28 4fe490e7fab9: Layer already exists 23:10:28 3167d5a75a9c: Layer already exists 23:10:28 994393dc58e7: Layer already exists 23:10:28 bf3d82d4b255: Layer already exists 23:10:28 cc41150b1c8e: Layer already exists 23:10:28 latest: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.12 23:10:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:28 bf3d82d4b255: Preparing 23:10:28 3167d5a75a9c: Preparing 23:10:28 4fe490e7fab9: Preparing 23:10:28 cc41150b1c8e: Preparing 23:10:28 994393dc58e7: Preparing 23:10:28 994393dc58e7: Layer already exists 23:10:28 4fe490e7fab9: Layer already exists 23:10:28 bf3d82d4b255: Layer already exists 23:10:28 cc41150b1c8e: Layer already exists 23:10:28 3167d5a75a9c: Layer already exists 23:10:28 2.3.0-dev.12: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 23:10:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:29 bf3d82d4b255: Preparing 23:10:29 3167d5a75a9c: Preparing 23:10:29 4fe490e7fab9: Preparing 23:10:29 cc41150b1c8e: Preparing 23:10:29 994393dc58e7: Preparing 23:10:29 4fe490e7fab9: Layer already exists 23:10:29 994393dc58e7: Layer already exists 23:10:29 3167d5a75a9c: Layer already exists 23:10:29 cc41150b1c8e: Layer already exists 23:10:29 bf3d82d4b255: Layer already exists 23:10:29 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:10:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:30 bf3d82d4b255: Preparing 23:10:30 3167d5a75a9c: Preparing 23:10:30 4fe490e7fab9: Preparing 23:10:30 cc41150b1c8e: Preparing 23:10:30 994393dc58e7: Preparing 23:10:30 bf3d82d4b255: Layer already exists 23:10:30 994393dc58e7: Layer already exists 23:10:30 cc41150b1c8e: Layer already exists 23:10:30 3167d5a75a9c: Layer already exists 23:10:30 4fe490e7fab9: Layer already exists 23:10:30 main: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:10:30 ===================================================== [Pipeline] echo 23:10:30 taggedImages: 23:10:30 - nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:10:30 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:10:30 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.12 23:10:30 - nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 23:10:30 - 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 23:10:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:30 23:10:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:31 latest: Pulling from edgex-lftools-log-publisher 23:10:31 5eb5b503b376: Pulling fs layer 23:10:31 5c69ac0246d0: Pulling fs layer 23:10:31 ec43610c2a17: Pulling fs layer 23:10:31 3a2ae6a8a46f: Pulling fs layer 23:10:31 33b1e0a273af: Pulling fs layer 23:10:31 5d3b04190fa2: Pulling fs layer 23:10:31 2f39f015ded8: Pulling fs layer 23:10:31 3a2ae6a8a46f: Waiting 23:10:31 33b1e0a273af: Waiting 23:10:31 2f39f015ded8: Waiting 23:10:31 5d3b04190fa2: Waiting 23:10:31 5c69ac0246d0: Verifying Checksum 23:10:31 5c69ac0246d0: Download complete 23:10:31 3a2ae6a8a46f: Verifying Checksum 23:10:31 3a2ae6a8a46f: Download complete 23:10:31 33b1e0a273af: Verifying Checksum 23:10:31 33b1e0a273af: Download complete 23:10:31 5d3b04190fa2: Verifying Checksum 23:10:31 5d3b04190fa2: Download complete 23:10:31 ec43610c2a17: Verifying Checksum 23:10:31 ec43610c2a17: Download complete 23:10:31 5eb5b503b376: Verifying Checksum 23:10:31 5eb5b503b376: Download complete 23:10:31 2f39f015ded8: Download complete 23:10:32 5eb5b503b376: Pull complete 23:10:32 5c69ac0246d0: Pull complete 23:10:33 ec43610c2a17: Pull complete 23:10:33 3a2ae6a8a46f: Pull complete 23:10:33 33b1e0a273af: Pull complete 23:10:33 5d3b04190fa2: Pull complete 23:10:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22866 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:10:38 Running in /w/workspace/device-rest-go/56 [Pipeline] { [Pipeline] checkout 23:10:38 The recommended git tool is: git 23:10:39 2f39f015ded8: Pull complete 23:10:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:39 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:10:39 $ 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 23:10:42 $ docker top 5fea9cdf9ba25e4b406e247ca07f516b77472aa6fae89a8c644256c933bdf557 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:42 ---> job-cost.sh 23:10:42 lf-activate-venv: SKIPPING 23:10:42 INFO: No Stack... 23:10:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:43 INFO: Archiving Costs [Pipeline] sh 23:10:43 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:10:43 + cut -d, -f6 [Pipeline] lock 23:10:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] 23:10:43 Resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] did not exist. Created. 23:10:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:10:43 + echo total: 0.2199999988079071 [Pipeline] stash 23:10:43 Stashed 1 file(s) [Pipeline] } 23:10:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 23:10:44 $ docker stop --time=1 5fea9cdf9ba25e4b406e247ca07f516b77472aa6fae89a8c644256c933bdf557 23:10:44 using credential edgex-jenkins-ssh 23:10:44 Cloning the remote Git repository 23:10:45 $ docker rm -f 5fea9cdf9ba25e4b406e247ca07f516b77472aa6fae89a8c644256c933bdf557 [Pipeline] // withDockerContainer 23:10:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:10:44 > git init /w/workspace/device-rest-go/56 # timeout=10 23:10:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:10:44 > git --version # timeout=10 23:10:44 > git --version # 'git version 2.25.1' 23:10:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:10:46 Avoid second fetch 23:10:46 Checking out Revision 3bfa2c7cebef17aba10611e718aa3e6714bdeddd (main) 23:10:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:10:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:46 > git config core.sparsecheckout # timeout=10 23:10:46 > git checkout -f 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 23:10:50 Commit message: "Merge pull request #210 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:10:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:10:51 % Total % Received % Xferd Average Speed Time Time Time Current 23:10:51 Dload Upload Total Spent Left Speed 23:10:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94137 0 --:--:-- --:--:-- --:--:-- 94137 [Pipeline] sh 23:10:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:10:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:10:52 + sudo tee /etc/docker/daemon.new 23:10:52 { 23:10:52 "registry-mirrors": [ 23:10:52 "https://nexus3.edgexfoundry.org:10001" 23:10:52 ], 23:10:52 "bip": "10.250.0.254/24", 23:10:52 "hosts": [ 23:10:52 "tcp://0.0.0.0:5555", 23:10:52 "unix:///var/run/docker.sock" 23:10:52 ], 23:10:52 "mtu": 1458, 23:10:52 "selinux-enabled": true, 23:10:52 "seccomp-profile": "/etc/docker/seccomp.json" 23:10:52 } [Pipeline] sh 23:10:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:10:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:12 provisioning config files... 23:11:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config2040198388988807077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:12 ---> docker-login.sh 23:11:12 nexus3.edgexfoundry.org:10001 23:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:13 Configure a credential helper to remove this warning. See 23:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:13 23:11:13 Login Succeeded 23:11:13 nexus3.edgexfoundry.org:10002 23:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:14 Configure a credential helper to remove this warning. See 23:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:14 23:11:14 Login Succeeded 23:11:14 nexus3.edgexfoundry.org:10003 23:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:14 Configure a credential helper to remove this warning. See 23:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:14 23:11:14 Login Succeeded 23:11:14 nexus3.edgexfoundry.org:10004 23:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:14 Configure a credential helper to remove this warning. See 23:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:14 23:11:14 Login Succeeded 23:11:14 docker.io 23:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:15 Configure a credential helper to remove this warning. See 23:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:15 23:11:15 Login Succeeded 23:11:15 ---> docker-login.sh ends [Pipeline] } 23:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:15 ========================================================= 23:11:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:11:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:16 + 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 . 23:11:16 Sending build context to Docker daemon 126kB 23:11:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:11:16 Step 2/12 : FROM ${BASE} AS builder 23:11:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:11:16 b3c136eddcbf: Pulling fs layer 23:11:16 c0a3192eca97: Pulling fs layer 23:11:16 a050256f5b6f: Pulling fs layer 23:11:16 656be50a0ddc: Pulling fs layer 23:11:16 2bbca73fdf42: Pulling fs layer 23:11:16 46d945488cbd: Pulling fs layer 23:11:16 8a5474983e97: Pulling fs layer 23:11:16 329c88fbcd65: Pulling fs layer 23:11:16 46d945488cbd: Waiting 23:11:16 8a5474983e97: Waiting 23:11:16 656be50a0ddc: Waiting 23:11:16 2bbca73fdf42: Waiting 23:11:16 329c88fbcd65: Waiting 23:11:16 a050256f5b6f: Verifying Checksum 23:11:16 a050256f5b6f: Download complete 23:11:16 c0a3192eca97: Download complete 23:11:16 2bbca73fdf42: Verifying Checksum 23:11:16 2bbca73fdf42: Download complete 23:11:16 46d945488cbd: Download complete 23:11:16 b3c136eddcbf: Verifying Checksum 23:11:17 b3c136eddcbf: Pull complete 23:11:17 329c88fbcd65: Verifying Checksum 23:11:17 329c88fbcd65: Download complete 23:11:18 c0a3192eca97: Pull complete 23:11:18 a050256f5b6f: Pull complete 23:11:18 8a5474983e97: Verifying Checksum 23:11:18 8a5474983e97: Download complete 23:11:19 656be50a0ddc: Verifying Checksum 23:11:19 656be50a0ddc: Download complete 23:11:34 656be50a0ddc: Pull complete 23:11:34 2bbca73fdf42: Pull complete 23:11:34 46d945488cbd: Pull complete 23:11:39 8a5474983e97: Pull complete 23:11:41 329c88fbcd65: Pull complete 23:11:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:11:41 ---> ff4287adb874 23:11:41 Step 3/12 : ARG MAKE='make build' 23:11:41 ---> Running in 66d5e988070a 23:11:42 Removing intermediate container 66d5e988070a 23:11:42 ---> 2a59cf8001c2 23:11:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:11:42 ---> Running in 472a704966e6 23:11:42 Removing intermediate container 472a704966e6 23:11:42 ---> 9fb16db4d2a6 23:11:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:11:42 ---> Running in bf120ecbea6d 23:11:43 Removing intermediate container bf120ecbea6d 23:11:43 ---> 057ce0b95cd3 23:11:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:43 ---> Running in 4fc2b60f55c9 23:11:46 Removing intermediate container 4fc2b60f55c9 23:11:46 ---> 845b29c87da0 23:11:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:46 ---> Running in cb39ed569588 23:11:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:11:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:11:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:11:48 (2/4) Installing libedit (20210910.3.1-r0) 23:11:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:11:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:11:49 Executing busybox-1.35.0-r13.trigger 23:11:49 OK: 226 MiB in 55 packages 23:11:50 Removing intermediate container cb39ed569588 23:11:50 ---> 86b4a33a5290 23:11:50 Step 8/12 : WORKDIR /device-rest-go 23:11:50 ---> Running in c1238b60924a 23:11:50 Removing intermediate container c1238b60924a 23:11:50 ---> f927d96adbeb 23:11:50 Step 9/12 : COPY go.mod vendor* ./ 23:11:51 ---> 472698a55cb6 23:11:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:51 ---> Running in f0ba1ab96738 23:12:47 Removing intermediate container f0ba1ab96738 23:12:47 ---> 9d90305d418e 23:12:47 Step 11/12 : COPY . . 23:12:47 ---> 726602221132 23:12:47 Step 12/12 : RUN $MAKE 23:12:47 ---> Running in 3e7eec647bba 23:12:47 noop 23:12:47 Removing intermediate container 3e7eec647bba 23:12:47 ---> c5d14560d81c 23:12:47 Successfully built c5d14560d81c 23:12:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:47 + docker inspect -f . ci-base-image-arm64 23:12:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:48 prd-ubuntu20.04-docker-arm64-4c-16g-22866 does not seem to be running inside a container 23:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 23:12:49 $ docker top 505d4bc6e6f83a81bb79f52684e9b9f34b95344f444082fcd4f4d33a24097c7c -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:50 + go version 23:12:50 go version go1.18.3 linux/arm64 [Pipeline] } 23:12:50 $ docker stop --time=1 505d4bc6e6f83a81bb79f52684e9b9f34b95344f444082fcd4f4d33a24097c7c 23:12:52 $ docker rm -f 505d4bc6e6f83a81bb79f52684e9b9f34b95344f444082fcd4f4d33a24097c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:52 + docker inspect -f . ci-base-image-arm64 23:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:53 prd-ubuntu20.04-docker-arm64-4c-16g-22866 does not seem to be running inside a container 23:12:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 23:12:54 $ docker top 26b4d996291bd15326e667615db9c73345ecd253b9c92415a612e7c7d7c1cbbe -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:55 + git config --global --add safe.directory /w/workspace/device-rest-go/56 [Pipeline] fileExists [Pipeline] sh 23:12:55 + make test 23:12:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:12:57 ? github.com/edgexfoundry/device-rest-go [no test files] 23:14:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:14:19 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements 23:14:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:14:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:14:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:37 ./bin/test-attribution-txt.sh 23:14:37 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 23:14:37 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 23:14:37 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 23:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:37 $ docker stop --time=1 26b4d996291bd15326e667615db9c73345ecd253b9c92415a612e7c7d7c1cbbe 23:14:39 $ docker rm -f 26b4d996291bd15326e667615db9c73345ecd253b9c92415a612e7c7d7c1cbbe [Pipeline] // withDockerContainer [Pipeline] sh 23:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:40 Warning: overwriting stash ‘coverage-report’ 23:14:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:41 + ls -al . 23:14:41 total 168 23:14:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 23:12 . 23:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:10 .. 23:14:41 -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 23:10 .dockerignore 23:14:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 23:10 .git 23:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:10 .github 23:14:41 -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 23:10 .gitignore 23:14:41 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 23:10 .golangci.yml 23:14:41 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 23:10 Attribution.txt 23:14:41 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 23:10 CHANGELOG.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 23:10 Dockerfile 23:14:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 23:10 GOVERNANCE.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 23:10 Jenkinsfile 23:14:41 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 23:10 LICENSE 23:14:41 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 23:10 Makefile 23:14:41 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 23:10 OWNERS.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 23:10 README.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 23:08 VERSION 23:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:10 bin 23:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:10 cmd 23:14:41 -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 23:14 coverage.out 23:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:10 driver 23:14:41 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 23:10 go.mod 23:14:41 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 23:10 go.sum 23:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:10 snap 23:14:41 -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:41 + 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=3bfa2c7cebef17aba10611e718aa3e6714bdeddd --label arch=arm64 --label version=2.3.0-dev.12 . 23:14:41 Sending build context to Docker daemon 136.2kB 23:14:42 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:14:42 Step 2/25 : FROM ${BASE} AS builder 23:14:42 ---> c5d14560d81c 23:14:42 Step 3/25 : ARG MAKE='make build' 23:14:42 ---> Running in d72d1591544f 23:14:42 Removing intermediate container d72d1591544f 23:14:42 ---> a989e39e97a7 23:14:42 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:14:42 ---> Running in f7cce27a7c7c 23:14:43 Removing intermediate container f7cce27a7c7c 23:14:43 ---> 64bf7c1ee5c3 23:14:43 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:14:43 ---> Running in bde4d8e0a25a 23:14:43 Removing intermediate container bde4d8e0a25a 23:14:43 ---> c80eaf3a8d79 23:14:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:43 ---> Running in ca63f555de35 23:14:45 Removing intermediate container ca63f555de35 23:14:45 ---> a481916b74a9 23:14:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:45 ---> Running in 127b3a2314d3 23:14:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:14:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:14:47 OK: 226 MiB in 55 packages 23:14:48 Removing intermediate container 127b3a2314d3 23:14:48 ---> f232a4e6ce9c 23:14:48 Step 8/25 : WORKDIR /device-rest-go 23:14:48 ---> Running in 9199536bd8af 23:14:49 Removing intermediate container 9199536bd8af 23:14:49 ---> ddd808b0c9bc 23:14:49 Step 9/25 : COPY go.mod vendor* ./ 23:14:49 ---> db89868b58cc 23:14:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:49 ---> Running in f0d2f328afca 23:14:51 Removing intermediate container f0d2f328afca 23:14:51 ---> 9962fa1a13d0 23:14:51 Step 11/25 : COPY . . 23:14:52 ---> 5a3f551bf103 23:14:52 Step 12/25 : RUN $MAKE 23:14:52 ---> Running in 52fa13cfb87f 23:14:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 23:17:00 Removing intermediate container 52fa13cfb87f 23:17:00 ---> 7ad5bacc967a 23:17:00 Step 13/25 : FROM alpine:3.16 23:17:00 3.16: Pulling from library/alpine 23:17:00 9b18e9b68314: Pulling fs layer 23:17:00 9b18e9b68314: Download complete 23:17:00 9b18e9b68314: Pull complete 23:17:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:17:00 Status: Downloaded newer image for alpine:3.16 23:17:00 ---> a6215f271958 23:17:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:17:00 ---> Running in 5b08c8269a7c 23:17:00 Removing intermediate container 5b08c8269a7c 23:17:00 ---> 4a27d47817c3 23:17:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:17:00 ---> Running in 64ffdbf89321 23:17:00 Removing intermediate container 64ffdbf89321 23:17:00 ---> ccc5559037df 23:17:00 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:17:00 ---> Running in 7fd88c80891e 23:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:17:00 (1/6) Installing dumb-init (1.2.5-r1) 23:17:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:17:00 (3/6) Installing libsodium (1.0.18-r0) 23:17:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:17:00 (5/6) Installing libzmq (4.3.4-r0) 23:17:00 (6/6) Installing zeromq (4.3.4-r0) 23:17:00 Executing busybox-1.35.0-r17.trigger 23:17:00 OK: 8 MiB in 20 packages 23:17:00 Removing intermediate container 7fd88c80891e 23:17:00 ---> 9c942e507726 23:17:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:17:00 ---> 09566f9d8ecf 23:17:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:17:00 ---> acdce2afc3a9 23:17:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:17:01 ---> 4a25a85b9864 23:17:01 Step 20/25 : EXPOSE 59986 23:17:01 ---> Running in acf1ec72acc2 23:17:01 Removing intermediate container acf1ec72acc2 23:17:01 ---> cfa42f2f0e3f 23:17:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:17:02 ---> Running in deffd28978f9 23:17:02 Removing intermediate container deffd28978f9 23:17:02 ---> 0efd85bed7d5 23:17:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:17:02 ---> Running in cdca058b3a37 23:17:02 Removing intermediate container cdca058b3a37 23:17:02 ---> c64cf50760ba 23:17:02 Step 23/25 : LABEL arch=arm64 23:17:02 ---> Running in 6a256241671f 23:17:03 Removing intermediate container 6a256241671f 23:17:03 ---> 5650ed7553c2 23:17:03 Step 24/25 : LABEL git_sha=3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:17:03 ---> Running in 2f99cd386999 23:17:03 Removing intermediate container 2f99cd386999 23:17:03 ---> cbfc14dd1bd3 23:17:03 Step 25/25 : LABEL version=2.3.0-dev.12 23:17:03 ---> Running in 0ae807dc5965 23:17:04 Removing intermediate container 0ae807dc5965 23:17:04 ---> 7c192ee327ae 23:17:04 [Warning] One or more build-args [ARCH] were not consumed 23:17:04 Successfully built 7c192ee327ae 23:17:04 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 23:17:04 provisioning config files... 23:17:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config4118503192925737263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:04 ---> docker-login.sh 23:17:04 nexus3.edgexfoundry.org:10001 23:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:04 Configure a credential helper to remove this warning. See 23:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:04 23:17:04 Login Succeeded 23:17:04 nexus3.edgexfoundry.org:10002 23:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:05 Configure a credential helper to remove this warning. See 23:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:05 23:17:05 Login Succeeded 23:17:05 nexus3.edgexfoundry.org:10003 23:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:05 Configure a credential helper to remove this warning. See 23:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:05 23:17:05 Login Succeeded 23:17:05 nexus3.edgexfoundry.org:10004 23:17:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:06 Configure a credential helper to remove this warning. See 23:17:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:06 23:17:06 Login Succeeded 23:17:06 docker.io 23:17:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:07 Configure a credential helper to remove this warning. See 23:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:07 23:17:07 Login Succeeded 23:17:07 ---> docker-login.sh ends [Pipeline] } 23:17:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:17:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:07 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:17:07 3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:17:07 latest 23:17:07 2.3.0-dev.12 23:17:07 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 23:17:07 main 23:17:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:17:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:07 de18fe30f11a: Preparing 23:17:07 9cb0769736db: Preparing 23:17:07 719d0910aefb: Preparing 23:17:07 ecfa59fad483: Preparing 23:17:07 5d3e392a13a0: Preparing 23:17:08 5d3e392a13a0: Layer already exists 23:17:08 9cb0769736db: Pushed 23:17:08 de18fe30f11a: Pushed 23:17:09 ecfa59fad483: Pushed 23:17:14 719d0910aefb: Pushed 23:17:14 3bfa2c7cebef17aba10611e718aa3e6714bdeddd: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:17:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:15 de18fe30f11a: Preparing 23:17:15 9cb0769736db: Preparing 23:17:15 719d0910aefb: Preparing 23:17:15 ecfa59fad483: Preparing 23:17:15 5d3e392a13a0: Preparing 23:17:15 ecfa59fad483: Layer already exists 23:17:15 5d3e392a13a0: Layer already exists 23:17:15 de18fe30f11a: Layer already exists 23:17:15 719d0910aefb: Layer already exists 23:17:15 9cb0769736db: Layer already exists 23:17:15 latest: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.12 23:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:16 de18fe30f11a: Preparing 23:17:16 9cb0769736db: Preparing 23:17:16 719d0910aefb: Preparing 23:17:16 ecfa59fad483: Preparing 23:17:16 5d3e392a13a0: Preparing 23:17:16 5d3e392a13a0: Layer already exists 23:17:16 de18fe30f11a: Layer already exists 23:17:16 ecfa59fad483: Layer already exists 23:17:16 9cb0769736db: Layer already exists 23:17:16 719d0910aefb: Layer already exists 23:17:16 2.3.0-dev.12: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 23:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:17 de18fe30f11a: Preparing 23:17:17 9cb0769736db: Preparing 23:17:17 719d0910aefb: Preparing 23:17:17 ecfa59fad483: Preparing 23:17:17 5d3e392a13a0: Preparing 23:17:17 5d3e392a13a0: Layer already exists 23:17:17 719d0910aefb: Layer already exists 23:17:17 9cb0769736db: Layer already exists 23:17:17 ecfa59fad483: Layer already exists 23:17:17 de18fe30f11a: Layer already exists 23:17:17 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:17:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:18 de18fe30f11a: Preparing 23:17:18 9cb0769736db: Preparing 23:17:18 719d0910aefb: Preparing 23:17:18 ecfa59fad483: Preparing 23:17:18 5d3e392a13a0: Preparing 23:17:18 de18fe30f11a: Layer already exists 23:17:18 719d0910aefb: Layer already exists 23:17:18 5d3e392a13a0: Layer already exists 23:17:18 ecfa59fad483: Layer already exists 23:17:18 9cb0769736db: Layer already exists 23:17:18 main: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:17:18 ===================================================== [Pipeline] echo 23:17:18 taggedImages: 23:17:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd 23:17:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:17:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.12 23:17:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 23:17:18 - 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 23:17:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:19 23:17:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:19 arm64: Pulling from edgex-lftools-log-publisher 23:17:19 8998bd30e6a1: Pulling fs layer 23:17:19 04944245beec: Pulling fs layer 23:17:19 699f458cf7ca: Pulling fs layer 23:17:19 765212b225bb: Pulling fs layer 23:17:19 f23df028b6ca: Pulling fs layer 23:17:19 d65c8cfc05b1: Pulling fs layer 23:17:19 2437ff75d9bd: Pulling fs layer 23:17:19 765212b225bb: Waiting 23:17:19 f23df028b6ca: Waiting 23:17:19 d65c8cfc05b1: Waiting 23:17:19 2437ff75d9bd: Waiting 23:17:19 04944245beec: Verifying Checksum 23:17:19 04944245beec: Download complete 23:17:19 765212b225bb: Verifying Checksum 23:17:19 765212b225bb: Download complete 23:17:19 f23df028b6ca: Verifying Checksum 23:17:19 f23df028b6ca: Download complete 23:17:19 d65c8cfc05b1: Verifying Checksum 23:17:19 d65c8cfc05b1: Download complete 23:17:20 699f458cf7ca: Verifying Checksum 23:17:20 699f458cf7ca: Download complete 23:17:20 8998bd30e6a1: Verifying Checksum 23:17:20 8998bd30e6a1: Download complete 23:17:23 2437ff75d9bd: Verifying Checksum 23:17:23 2437ff75d9bd: Download complete 23:17:25 8998bd30e6a1: Pull complete 23:17:25 04944245beec: Pull complete 23:17:27 699f458cf7ca: Pull complete 23:17:27 765212b225bb: Pull complete 23:17:28 f23df028b6ca: Pull complete 23:17:28 d65c8cfc05b1: Pull complete 23:17:43 2437ff75d9bd: Pull complete 23:17:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:17:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:43 prd-ubuntu20.04-docker-arm64-4c-16g-22866 does not seem to be running inside a container 23:17:43 $ 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/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 23:17:46 $ docker top d9c1b3c510c315adef9ff9d93bb1a2ed4523d8a22f8657d2e8b7beeeb1e0d1af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:47 ---> job-cost.sh 23:17:47 lf-activate-venv: SKIPPING 23:17:47 INFO: No Stack... 23:17:47 INFO: Retrieving Pricing Info for: v3-standard-4 23:17:48 INFO: Archiving Costs [Pipeline] sh 23:17:49 + cat /w/workspace/device-rest-go/56/archives/cost.csv 23:17:49 + cut -d, -f6 [Pipeline] lock 23:17:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] 23:17:49 Resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] did not exist. Created. 23:17:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:17:50 /w/workspace/device-rest-go/56@tmp/durable-8fd74c94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:17:50 + echo total: 0.10999999940395355 [Pipeline] stash 23:17:50 Warning: overwriting stash ‘stack-cost’ 23:17:50 Stashed 1 file(s) [Pipeline] } 23:17:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 23:17:50 $ docker stop --time=1 d9c1b3c510c315adef9ff9d93bb1a2ed4523d8a22f8657d2e8b7beeeb1e0d1af 23:17:52 $ docker rm -f d9c1b3c510c315adef9ff9d93bb1a2ed4523d8a22f8657d2e8b7beeeb1e0d1af [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 23:17:52 provisioning config files... 23:17:52 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4165251349710042329tmp [Pipeline] { [Pipeline] sh 23:17:53 + set +x 23:17:53 + curl -s https://codecov.io/bash 23:17:53 + bash -s -- 23:17:53 23:17:53 _____ _ 23:17:53 / ____| | | 23:17:53 | | ___ __| | ___ ___ _____ __ 23:17:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:17:53 | |___| (_) | (_| | __/ (_| (_) \ V / 23:17:53 \_____\___/ \__,_|\___|\___\___/ \_/ 23:17:53 Bash-1.0.6 23:17:53 23:17:53 23:17:53 ==> git version 2.25.1 found 23:17:53 ==> 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 23:17:53 Release-Date: 2020-01-08 23:17:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:17:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:17:53 ==> Jenkins CI detected. 23:17:53 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:17:53 project root: . 23:17:53 --> token set from env 23:17:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:17:53 ==> Running gcov in . (disable via -X gcov) 23:17:53 ==> Python coveragepy not found 23:17:53 ==> Searching for coverage reports in: 23:17:53 + . 23:17:53 -> Found 1 reports 23:17:53 ==> Detecting git/mercurial file structure 23:17:53 ==> Reading reports 23:17:53 + ./coverage.out bytes=9355 23:17:53 ==> Appending adjustments 23:17:53 https://docs.codecov.io/docs/fixing-reports 23:17:53 + Found adjustments 23:17:53 ==> Gzipping contents 23:17:53 4.0K /tmp/codecov.Wbl5k1.gz 23:17:53 ==> Uploading reports 23:17:53 url: https://codecov.io 23:17:53 query: branch=main&commit=3bfa2c7cebef17aba10611e718aa3e6714bdeddd&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:17:53 -> Pinging Codecov 23:17:53 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=3bfa2c7cebef17aba10611e718aa3e6714bdeddd&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:17:53 -> Uploading to 23:17:53 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/4E5D53B4F1F92C436F7061BF334D961C/3bfa2c7cebef17aba10611e718aa3e6714bdeddd/81dbfed9-f633-4e0d-9fa1-3c97aa7b83a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T231753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d30443395f1818b5950ebcfa07a927d4ea79b84c4ec45b071011f7a8ec2243c2 23:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:17:53 Dload Upload Total Spent Left Speed 23:17:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 6369 --:--:-- --:--:-- --:--:-- 6369 23:17:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] } 23:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:17:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:17:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:17:54 23:17:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:17:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:17:54 df9b9388f04a: Pulling fs layer 23:17:54 52dc419b0ee2: Pulling fs layer 23:17:54 25bc292e5bac: Pulling fs layer 23:17:54 114826534d7a: Pulling fs layer 23:17:54 4657fd5d0bcf: Pulling fs layer 23:17:54 6ad1cebc031e: Pulling fs layer 23:17:54 8a3aa393b2d8: Pulling fs layer 23:17:54 114826534d7a: Waiting 23:17:54 4657fd5d0bcf: Waiting 23:17:54 6ad1cebc031e: Waiting 23:17:54 8a3aa393b2d8: Waiting 23:17:54 25bc292e5bac: Verifying Checksum 23:17:54 25bc292e5bac: Download complete 23:17:54 52dc419b0ee2: Verifying Checksum 23:17:54 52dc419b0ee2: Download complete 23:17:54 4657fd5d0bcf: Download complete 23:17:54 df9b9388f04a: Download complete 23:17:54 df9b9388f04a: Pull complete 23:17:54 6ad1cebc031e: Verifying Checksum 23:17:54 6ad1cebc031e: Download complete 23:17:54 52dc419b0ee2: Pull complete 23:17:55 25bc292e5bac: Pull complete 23:17:55 114826534d7a: Verifying Checksum 23:17:55 114826534d7a: Download complete 23:17:55 8a3aa393b2d8: Verifying Checksum 23:17:55 8a3aa393b2d8: Download complete 23:17:59 114826534d7a: Pull complete 23:17:59 4657fd5d0bcf: Pull complete 23:17:59 6ad1cebc031e: Pull complete 23:18:02 8a3aa393b2d8: Pull complete 23:18:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:18:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:18:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:02 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:18:02 $ 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 23:18:05 $ docker top f2c4e9a563fcfdb6a7228c13018db4272f629abb1e46ad267ff9a49dfdbf08b5 -eo pid,comm [Pipeline] { [Pipeline] echo 23:18:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:18:06 + set -o pipefail 23:18:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:18:11 23:18:11 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:18:11 23:18:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/dfb4c029-5b9c-499e-9ca0-f621a066454e 23:18:11 23:18:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:18:11 23:18:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:18:11 23:18:11 [Pipeline] } 23:18:11 $ docker stop --time=1 f2c4e9a563fcfdb6a7228c13018db4272f629abb1e46ad267ff9a49dfdbf08b5 23:18:14 $ docker rm -f f2c4e9a563fcfdb6a7228c13018db4272f629abb1e46ad267ff9a49dfdbf08b5 [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 23:18:15 + git log --format=format:%s -1 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] sh 23:18:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:16 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:18:16 $ 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 23:18:16 $ docker top 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:16 [ssh-agent] Looking for ssh-agent implementation... 23:18:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:16 $ docker exec 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af ssh-agent 23:18:17 SSH_AUTH_SOCK=/tmp/ssh-6meqnoBYU5qN/agent.33 23:18:17 SSH_AGENT_PID=39 23:18:17 Running ssh-add (command line suppressed) 23:18:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3653414629741599098.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3653414629741599098.key) 23:18:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:17 + git semver tag 23:18:17 2022-08-15 23:18:17,735 [run_tag] DEBUG tag force:False 23:18:17 2022-08-15 23:18:17,736 [check_head_tag] DEBUG check head tag 23:18:17 2022-08-15 23:18:17,736 [execute] INFO git cat-file --batch-check 23:18:17 2022-08-15 23:18:17,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:18:17 2022-08-15 23:18:17,741 [execute] INFO git cat-file --batch 23:18:17 2022-08-15 23:18:17,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:18:17 2022-08-15 23:18:17,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:17 2022-08-15 23:18:17,754 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 23:18:17 2022-08-15 23:18:17,754 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:18:17 2022-08-15 23:18:17,760 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:17 2.3.0-dev.12 [Pipeline] } 23:18:17 $ docker exec --env ******** --env ******** 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af ssh-agent -k 23:18:17 unset SSH_AUTH_SOCK; 23:18:17 unset SSH_AGENT_PID; 23:18:17 echo Agent pid 39 killed; 23:18:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:18 + git semver [Pipeline] } 23:18:18 $ docker stop --time=1 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af 23:18:19 $ docker rm -f 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:18:20 23:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:18:20 0.23.1-centos7: Pulling from edgex-lftools 23:18:20 ab5ef0e58194: Pulling fs layer 23:18:20 9712f1f96733: Pulling fs layer 23:18:20 63f879dbbcfc: Pulling fs layer 23:18:20 0d9ebad4ef96: Pulling fs layer 23:18:20 e9a5061849ea: Pulling fs layer 23:18:20 d747dcd14b5f: Pulling fs layer 23:18:20 2de7ff778b66: Pulling fs layer 23:18:20 0d9ebad4ef96: Waiting 23:18:20 e9a5061849ea: Waiting 23:18:20 9712f1f96733: Verifying Checksum 23:18:20 9712f1f96733: Download complete 23:18:20 63f879dbbcfc: Verifying Checksum 23:18:20 63f879dbbcfc: Download complete 23:18:21 e9a5061849ea: Verifying Checksum 23:18:21 e9a5061849ea: Download complete 23:18:21 d747dcd14b5f: Download complete 23:18:21 ab5ef0e58194: Verifying Checksum 23:18:21 ab5ef0e58194: Download complete 23:18:21 0d9ebad4ef96: Verifying Checksum 23:18:21 0d9ebad4ef96: Download complete 23:18:21 2de7ff778b66: Verifying Checksum 23:18:21 2de7ff778b66: Download complete 23:18:24 ab5ef0e58194: Pull complete 23:18:24 9712f1f96733: Pull complete 23:18:24 63f879dbbcfc: Pull complete 23:18:29 0d9ebad4ef96: Pull complete 23:18:29 e9a5061849ea: Pull complete 23:18:29 d747dcd14b5f: Pull complete 23:18:30 2de7ff778b66: Pull complete 23:18:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:18:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:30 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:18:30 $ 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 23:18:34 $ docker top d56b39950f131396f1dd4f134e36a0bef134531ec170841332b5f47ba229d0a0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:18:34 provisioning config files... 23:18:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2928119452181689192tmp 23:18:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6853216003220299540tmp 23:18:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config814512959890108tmp [Pipeline] { [Pipeline] echo 23:18:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:18:34 ---> sigul-configuration.sh 23:18:34 gpg: directory `/root/.gnupg' created 23:18:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:18:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:18:34 gpg: keyring `/root/.gnupg/secring.gpg' created 23:18:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:18:34 gpg: CAST5 encrypted data 23:18:34 gpg: encrypted with 1 passphrase 23:18:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:18:35 + mkdir /home/jenkins 23:18:35 + mkdir /home/jenkins/sigul [Pipeline] sh 23:18:35 + 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 23:18:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:18:35 ---> sigul-install.sh 23:18:35 Sigul already installed; skipping installation. [Pipeline] sh 23:18:35 + git tag --list 23:18:35 v1.0.0 23:18:35 v1.1.0 23:18:35 v1.1.1 23:18:35 v1.1.2 23:18:35 v1.2.0 23:18:35 v1.2.1 23:18:35 v2.0.0 23:18:35 v2.1.0 23:18:35 v2.1.1 23:18:35 v2.1.1-dev.1 23:18:35 v2.1.1-dev.2 23:18:35 v2.1.1-dev.3 23:18:35 v2.2.0 23:18:35 v2.2.1-dev.1 23:18:35 v2.2.1-dev.2 23:18:35 v2.2.1-dev.3 23:18:35 v2.2.1-dev.4 23:18:35 v2.2.1-dev.5 23:18:35 v2.2.1-dev.6 23:18:35 v2.2.1-dev.7 23:18:35 v2.2.1-dev.8 23:18:35 v2.2.1-dev.9 23:18:35 v2.3.0-dev.10 23:18:35 v2.3.0-dev.11 23:18:35 v2.3.0-dev.12 23:18:35 v2.3.0-dev.9 [Pipeline] sh 23:18:36 + lftools sign git-tag v2.3.0-dev.12 23:18:36 Signing Git tag with Sigul... 23:18:36 Signing v2.3.0-dev.12 [Pipeline] echo 23:18:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:18:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:18:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:18:37 $ docker stop --time=1 d56b39950f131396f1dd4f134e36a0bef134531ec170841332b5f47ba229d0a0 23:18:38 $ docker rm -f d56b39950f131396f1dd4f134e36a0bef134531ec170841332b5f47ba229d0a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:18:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:39 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:18:39 $ 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 23:18:39 $ docker top 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:39 [ssh-agent] Looking for ssh-agent implementation... 23:18:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:40 $ docker exec 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 ssh-agent 23:18:40 SSH_AUTH_SOCK=/tmp/ssh-BrHY90wplbzo/agent.33 23:18:40 SSH_AGENT_PID=39 23:18:40 Running ssh-add (command line suppressed) 23:18:40 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6881274751694825222.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6881274751694825222.key) 23:18:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:40 + git semver bump pre 23:18:40 2022-08-15 23:18:40,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:40 2022-08-15 23:18:40,915 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 23:18:40 2022-08-15 23:18:40,915 [bump_version] DEBUG bumped version:2.3.0-dev.13 23:18:40 2022-08-15 23:18:40,915 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:18:40 2022-08-15 23:18:40,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:40 2022-08-15 23:18:40,916 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:40 2022-08-15 23:18:40,917 [execute] INFO git cat-file --batch-check 23:18:40 2022-08-15 23:18:40,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:18:40 2022-08-15 23:18:40,923 [execute] INFO git cat-file --batch 23:18:40 2022-08-15 23:18:40,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:18:40 2022-08-15 23:18:40,928 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:40 2.3.0-dev.13 [Pipeline] } 23:18:40 $ docker exec --env ******** --env ******** 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 ssh-agent -k 23:18:41 unset SSH_AUTH_SOCK; 23:18:41 unset SSH_AGENT_PID; 23:18:41 echo Agent pid 39 killed; 23:18:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:41 + git semver [Pipeline] } 23:18:41 $ docker stop --time=1 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 23:18:42 $ docker rm -f 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:43 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:18:43 $ 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 23:18:44 $ docker top 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:44 [ssh-agent] Looking for ssh-agent implementation... 23:18:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:44 $ docker exec 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c ssh-agent 23:18:44 SSH_AUTH_SOCK=/tmp/ssh-SvGhFxSSCMwg/agent.32 23:18:44 SSH_AGENT_PID=38 23:18:44 Running ssh-add (command line suppressed) 23:18:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7384202958470288771.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7384202958470288771.key) 23:18:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:44 + git semver push 23:18:45 2022-08-15 23:18:45,054 [run_push] DEBUG push 23:18:45 2022-08-15 23:18:45,055 [execute] INFO git cat-file --batch-check 23:18:45 2022-08-15 23:18:45,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:18:45 2022-08-15 23:18:45,059 [execute] INFO git rev-list c9eb458f963182e82d444a53605d631b2660b0d5 -- 23:18:45 2022-08-15 23:18:45,059 [execute] DEBUG Popen(['git', 'rev-list', 'c9eb458f963182e82d444a53605d631b2660b0d5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:18:45 2022-08-15 23:18:45,066 [execute] INFO git fetch -v origin 23:18:45 2022-08-15 23:18:45,066 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:18:45 2022-08-15 23:18:45,534 [run_push] DEBUG no remote changes detected 23:18:45 2022-08-15 23:18:45,534 [execute] INFO git push origin semver 23:18:45 2022-08-15 23:18:45,535 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:18:46 2022-08-15 23:18:46,200 [run_push] DEBUG push all version tags 23:18:46 2022-08-15 23:18:46,201 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:18:46 2022-08-15 23:18:46,202 [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) 23:18:47 2022-08-15 23:18:46,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:47 2.3.0-dev.13 [Pipeline] } 23:18:47 $ docker exec --env ******** --env ******** 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c ssh-agent -k 23:18:47 unset SSH_AUTH_SOCK; 23:18:47 unset SSH_AGENT_PID; 23:18:47 echo Agent pid 38 killed; 23:18:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:47 + git semver [Pipeline] } 23:18:47 $ docker stop --time=1 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c 23:18:49 $ docker rm -f 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c [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 23:18:49 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:18:49 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:18:49 total 16 23:18:49 drwxr-xr-x 3 root root 4096 Aug 15 23:10 . 23:18:49 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:18 .. 23:18:49 drwxr-xr-x 2 root root 4096 Aug 15 23:10 cost 23:18:49 -rw-r--r-- 1 root root 85 Aug 15 23:10 cost.csv 23:18:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:18:49 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:18:49 total 16 23:18:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 23:10 . 23:18:49 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:18 .. 23:18:49 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 23:10 cost 23:18:49 -rw-r--r-- 1 jenkins jenkins 85 Aug 15 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:18:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:18:50 ---> package-listing.sh 23:18:50 ++ facter osfamily 23:18:50 ++ tr '[:upper:]' '[:lower:]' 23:18:51 + OS_FAMILY=debian 23:18:51 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:18:51 + START_PACKAGES=/tmp/packages_start.txt 23:18:51 + END_PACKAGES=/tmp/packages_end.txt 23:18:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:18:51 + PACKAGES=/tmp/packages_start.txt 23:18:51 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:18:51 + PACKAGES=/tmp/packages_end.txt 23:18:51 + case "${OS_FAMILY}" in 23:18:51 + dpkg -l 23:18:51 + grep '^ii' 23:18:51 + '[' -f /tmp/packages_start.txt ']' 23:18:51 + '[' -f /tmp/packages_end.txt ']' 23:18:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:18:51 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:18:51 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:18:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:18:51 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 23:18:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:52 prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container 23:18:52 $ 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 23:18:52 $ docker top a336a559ff0162d89b46ec1ccdf31fd2aa637c73d8c2c915a881a169cbeb22f5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:52 + touch /tmp/pre-build-complete [Pipeline] sh 23:18:53 + mkdir -p /var/log/sysstat [Pipeline] sh 23:18:53 + ls /var/log/sa-host 23:18:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:53 provisioning config files... 23:18:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config862428887741593281tmp [Pipeline] { [Pipeline] echo 23:18:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:18:53 ---> create-netrc.sh [Pipeline] } 23:18:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:18:54 ---> python-tools-install.sh [Pipeline] echo 23:18:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:18:54 ---> sudo-logs.sh 23:18:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:18:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:18:54 ---> job-cost.sh 23:18:54 lf-activate-venv: SKIPPING 23:18:54 DEBUG: total: 0.2199999988079071 23:18:54 INFO: Retrieving Stack Cost... 23:18:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:55 INFO: Archiving Costs [Pipeline] echo 23:18:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:18:55 ---> logs-deploy.sh 23:18:55 lf-activate-venv: SKIPPING 23:18:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/56 23:18:55 INFO: archiving workspace using pattern(s): 23:18:57 Archives upload complete. 23:18:57 INFO: archiving logs to Nexus 23:18:57 ---> uname -a: 23:18:57 Linux prd-ubuntu20-04-docker-8c-8g-22865 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 23:18:57 23:18:57