Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 885eff3573f731dbb8051040958eb45753ebbb2c 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-ssh11963510256584453545.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15128945066349858377.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3522835991333463991.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17908586750312804136.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10660382061262548965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-181 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 885eff3573f731dbb8051040958eb45753ebbb2c (main) Commit message: "Merge pull request #231 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" > 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 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 > git rev-list --no-walk 92bd9c00148e5243a860f84a1cf80326c22a5698 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:28:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:28:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:28:37 ========================================================= 23:28:37 EdgeX Global Pipelines Version Info 23:28:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:28:38 ------------------- 23:28:38 stable info: 23:28:38 ------------------- 23:28:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:28:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:28:38 Message: update stable to v1.0.244 23:28:39 ------------------- 23:28:39 experimental info: 23:28:39 ------------------- 23:28:39 Commited By: **** collab-it+edgex@linuxfoundation.org 23:28:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:28:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 885eff3 [Pipeline] echo 23:28:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:39 provisioning config files... 23:28:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7989845769626416024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:40 ---> docker-login.sh 23:28:40 nexus3.edgexfoundry.org:10001 23:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:40 Configure a credential helper to remove this warning. See 23:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:40 23:28:40 Login Succeeded 23:28:40 nexus3.edgexfoundry.org:10002 23:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:40 Configure a credential helper to remove this warning. See 23:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:40 23:28:40 Login Succeeded 23:28:40 nexus3.edgexfoundry.org:10003 23:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:40 Configure a credential helper to remove this warning. See 23:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:40 23:28:40 Login Succeeded 23:28:40 nexus3.edgexfoundry.org:10004 23:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:40 Configure a credential helper to remove this warning. See 23:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:40 23:28:40 Login Succeeded 23:28:40 docker.io 23:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:41 Configure a credential helper to remove this warning. See 23:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:41 23:28:41 Login Succeeded 23:28:41 ---> docker-login.sh ends [Pipeline] } 23:28:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:28:41 + git rev-list -1 --merges 885eff3573f731dbb8051040958eb45753ebbb2c~1..885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] echo 23:28:41 -----------> git rev-list -1 --merges 885eff3573f731dbb8051040958eb45753ebbb2c~1..885eff3573f731dbb8051040958eb45753ebbb2c 885eff3573f731dbb8051040958eb45753ebbb2c 23:28:41 885eff3573f731dbb8051040958eb45753ebbb2c [false] [Pipeline] sh 23:28:41 + git log --format=format:%s -1 885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] echo 23:28:41 ========================================================= 23:28:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:28:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:42 + git log --format=format:%s -1 885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] echo 23:28:42 [semverPrep] GIT_COMMIT: 885eff3573f731dbb8051040958eb45753ebbb2c, Commit Message: Merge pull request #231 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4 [Pipeline] echo 23:28:42 [semverPrep] This is not a build commit. [Pipeline] sh 23:28:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:42 + grep -v github /etc/ssh/ssh_known_hosts 23:28:42 + [ -e /tmp/ssh_known_hosts ] 23:28:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:28:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:28:42 + sudo tee -a /etc/ssh/ssh_known_hosts 23:28:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:42 23:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:43 0.1.4: Pulling from edgex-devops/py-git-semver 23:28:43 b85a868b505f: Pulling fs layer 23:28:43 e2be974225ed: Pulling fs layer 23:28:43 339a4e72a1f5: Pulling fs layer 23:28:43 988bab9f4d93: Pulling fs layer 23:28:43 1469e6f7b9e6: Pulling fs layer 23:28:43 eaf3925da568: Pulling fs layer 23:28:43 bab4dde63d76: Pulling fs layer 23:28:43 bde34c3a00c8: Pulling fs layer 23:28:43 b352a97aabf1: Pulling fs layer 23:28:43 4872d77fe225: Pulling fs layer 23:28:43 5851b861e8e6: Pulling fs layer 23:28:43 988bab9f4d93: Waiting 23:28:43 eaf3925da568: Waiting 23:28:43 bde34c3a00c8: Waiting 23:28:43 bab4dde63d76: Waiting 23:28:43 b352a97aabf1: Waiting 23:28:43 4872d77fe225: Waiting 23:28:43 1469e6f7b9e6: Waiting 23:28:43 5851b861e8e6: Waiting 23:28:43 e2be974225ed: Download complete 23:28:43 1469e6f7b9e6: Verifying Checksum 23:28:43 1469e6f7b9e6: Download complete 23:28:43 eaf3925da568: Verifying Checksum 23:28:43 eaf3925da568: Download complete 23:28:43 339a4e72a1f5: Verifying Checksum 23:28:43 339a4e72a1f5: Download complete 23:28:43 bde34c3a00c8: Download complete 23:28:43 b352a97aabf1: Verifying Checksum 23:28:43 b352a97aabf1: Download complete 23:28:43 4872d77fe225: Verifying Checksum 23:28:43 4872d77fe225: Download complete 23:28:43 5851b861e8e6: Download complete 23:28:43 b85a868b505f: Verifying Checksum 23:28:43 b85a868b505f: Download complete 23:28:43 bab4dde63d76: Verifying Checksum 23:28:43 bab4dde63d76: Download complete 23:28:44 b85a868b505f: Pull complete 23:28:45 e2be974225ed: Pull complete 23:28:45 339a4e72a1f5: Pull complete 23:28:45 988bab9f4d93: Pull complete 23:28:45 1469e6f7b9e6: Pull complete 23:28:45 eaf3925da568: Pull complete 23:28:47 bab4dde63d76: Pull complete 23:28:47 bde34c3a00c8: Pull complete 23:28:47 b352a97aabf1: Pull complete 23:28:47 4872d77fe225: Pull complete 23:28:48 5851b861e8e6: Pull complete 23:28:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:28:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:48 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:28:48 $ 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:28:49 $ docker top c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf -eo pid,comm 23:28:49 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:28:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:49 [ssh-agent] Looking for ssh-agent implementation... 23:28:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:49 $ docker exec c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf ssh-agent 23:28:49 SSH_AUTH_SOCK=/tmp/ssh-4xWC4CDPdanR/agent.32 23:28:49 SSH_AGENT_PID=38 23:28:49 Running ssh-add (command line suppressed) 23:28:49 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9204810514098537372.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9204810514098537372.key) 23:28:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:50 + git tag --points-at HEAD [Pipeline] } 23:28:50 $ docker exec --env ******** --env ******** c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf ssh-agent -k 23:28:50 unset SSH_AUTH_SOCK; 23:28:50 unset SSH_AGENT_PID; 23:28:50 echo Agent pid 38 killed; 23:28:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:50 [ssh-agent] Looking for ssh-agent implementation... 23:28:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:50 $ docker exec c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf ssh-agent 23:28:50 SSH_AUTH_SOCK=/tmp/ssh-LqWhWMExXJ4E/agent.71 23:28:50 SSH_AGENT_PID=77 23:28:50 Running ssh-add (command line suppressed) 23:28:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5055300168334651838.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5055300168334651838.key) 23:28:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:50 + git semver init 23:28:51 2022-12-19 23:28:51,036 [run_init] DEBUG init version:0.0.0 force:False 23:28:51 2022-12-19 23:28:51,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:28:51 2022-12-19 23:28:51,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:28:51 2022-12-19 23:28:51,037 [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:28:52 2022-12-19 23:28:52,008 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:28:52 2022-12-19 23:28:52,009 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:28:52 2022-12-19 23:28:52,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:28:52 2022-12-19 23:28:52,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:28:52 3.0.0-dev.2 [Pipeline] } 23:28:52 $ docker exec --env ******** --env ******** c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf ssh-agent -k 23:28:52 unset SSH_AUTH_SOCK; 23:28:52 unset SSH_AGENT_PID; 23:28:52 echo Agent pid 77 killed; 23:28:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:52 + git semver [Pipeline] } 23:28:52 $ docker stop --time=1 c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf 23:28:54 $ docker rm -f --volumes c80aa3743e6a1c6fc120c67d6bbab145681d5d2530e4436dacec08e8c9116dbf [Pipeline] // withDockerContainer [Pipeline] sh 23:28:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:54 Stashed 1 file(s) [Pipeline] echo 23:28:54 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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:28:54 provisioning config files... 23:28:54 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9784232813960645780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:55 ---> docker-login.sh 23:28:55 nexus3.edgexfoundry.org:10001 23:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:55 Configure a credential helper to remove this warning. See 23:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:55 23:28:55 Login Succeeded 23:28:55 nexus3.edgexfoundry.org:10002 23:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:55 Configure a credential helper to remove this warning. See 23:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:55 23:28:55 Login Succeeded 23:28:55 nexus3.edgexfoundry.org:10003 23:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:55 Configure a credential helper to remove this warning. See 23:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:55 23:28:55 Login Succeeded 23:28:55 nexus3.edgexfoundry.org:10004 23:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:55 Configure a credential helper to remove this warning. See 23:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:55 23:28:55 Login Succeeded 23:28:55 docker.io 23:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:55 Configure a credential helper to remove this warning. See 23:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:55 23:28:55 Login Succeeded 23:28:55 ---> docker-login.sh ends [Pipeline] } 23:28:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:56 ========================================================= 23:28:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:28:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:56 + 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:28:56 Sending build context to Docker daemon 10.78MB 23:28:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:28:56 Step 2/12 : FROM ${BASE} AS builder 23:28:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:28:56 213ec9aee27d: Pulling fs layer 23:28:56 4583459ba037: Pulling fs layer 23:28:56 93c1e223e6f2: Pulling fs layer 23:28:56 53926ce57604: Pulling fs layer 23:28:56 21b2b0c7a3f4: Pulling fs layer 23:28:56 22ff95d597cd: Pulling fs layer 23:28:56 12d6caf4c0d1: Pulling fs layer 23:28:56 96b7cbca73a9: Pulling fs layer 23:28:56 a7acece74701: Pulling fs layer 23:28:56 53926ce57604: Waiting 23:28:56 21b2b0c7a3f4: Waiting 23:28:56 22ff95d597cd: Waiting 23:28:56 12d6caf4c0d1: Waiting 23:28:56 96b7cbca73a9: Waiting 23:28:56 a7acece74701: Waiting 23:28:56 93c1e223e6f2: Verifying Checksum 23:28:56 93c1e223e6f2: Download complete 23:28:56 4583459ba037: Verifying Checksum 23:28:56 4583459ba037: Download complete 23:28:56 21b2b0c7a3f4: Download complete 23:28:56 22ff95d597cd: Verifying Checksum 23:28:56 22ff95d597cd: Download complete 23:28:56 213ec9aee27d: Download complete 23:28:56 12d6caf4c0d1: Verifying Checksum 23:28:56 12d6caf4c0d1: Download complete 23:28:56 213ec9aee27d: Pull complete 23:28:57 4583459ba037: Pull complete 23:28:57 93c1e223e6f2: Pull complete 23:28:57 a7acece74701: Verifying Checksum 23:28:57 a7acece74701: Download complete 23:28:57 96b7cbca73a9: Verifying Checksum 23:28:57 96b7cbca73a9: Download complete 23:28:57 53926ce57604: Verifying Checksum 23:28:57 53926ce57604: Download complete 23:29:01 53926ce57604: Pull complete 23:29:01 21b2b0c7a3f4: Pull complete 23:29:01 22ff95d597cd: Pull complete 23:29:01 12d6caf4c0d1: Pull complete 23:29:03 96b7cbca73a9: Pull complete 23:29:04 a7acece74701: Pull complete 23:29:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:29:04 ---> db6d94c90886 23:29:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:29:05 ---> Running in 0b747e72f14b 23:29:05 Removing intermediate container 0b747e72f14b 23:29:05 ---> d651b051b302 23:29:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:05 ---> Running in e42cea9be9ba 23:29:05 Removing intermediate container e42cea9be9ba 23:29:05 ---> 847bbcbedbaa 23:29:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:29:05 ---> Running in 98960b2f0903 23:29:05 Removing intermediate container 98960b2f0903 23:29:05 ---> 80a0ad85f1fa 23:29:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:29:05 ---> Running in 0aff7934f2b3 23:29:05 Removing intermediate container 0aff7934f2b3 23:29:05 ---> 046a401c83d6 23:29:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:05 ---> Running in a3eab187d94f 23:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:29:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:29:06 (2/4) Installing libedit (20210910.3.1-r0) 23:29:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:29:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:29:06 Executing busybox-1.35.0-r17.trigger 23:29:06 OK: 216 MiB in 55 packages 23:29:07 Removing intermediate container a3eab187d94f 23:29:07 ---> 53bd51fa2966 23:29:07 Step 8/12 : WORKDIR /device-rest-go 23:29:07 ---> Running in 9be4bb1f5eb9 23:29:07 Removing intermediate container 9be4bb1f5eb9 23:29:07 ---> 545f289fa712 23:29:07 Step 9/12 : COPY go.mod vendor* ./ 23:29:07 ---> ed7770328cec 23:29:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:07 ---> Running in 3529a0026e58 23:29:09 Still waiting to schedule task 23:29:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:29:29 Removing intermediate container 3529a0026e58 23:29:29 ---> faed7b4aa643 23:29:29 Step 11/12 : COPY . . 23:29:29 ---> 34980afb1d58 23:29:29 Step 12/12 : RUN $MAKE 23:29:29 ---> Running in 0074dff762c2 23:29:29 noop 23:29:30 Removing intermediate container 0074dff762c2 23:29:30 ---> 859c147ab40f 23:29:30 Successfully built 859c147ab40f 23:29:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:30 + docker inspect -f . ci-base-image-x86_64 23:29:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:30 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:29: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 ******** -e ******** ci-base-image-x86_64 cat 23:29:30 $ docker top 4c761b6b11e4cc6e6a690ad83fba0b0e4a91a97f54ca7b581555fc9d148e25d0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:31 + go version 23:29:31 go version go1.18.7 linux/amd64 [Pipeline] } 23:29:31 $ docker stop --time=1 4c761b6b11e4cc6e6a690ad83fba0b0e4a91a97f54ca7b581555fc9d148e25d0 23:29:32 $ docker rm -f --volumes 4c761b6b11e4cc6e6a690ad83fba0b0e4a91a97f54ca7b581555fc9d148e25d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:32 + docker inspect -f . ci-base-image-x86_64 23:29:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:32 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:29:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:33 $ docker top 5b8b8664d891e38c24126ae399e89be9f83c8dfcb49f5ac276261b655625b5fc -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:29:33 + make test 23:29:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:29:34 ? github.com/edgexfoundry/device-rest-go [no test files] 23:29:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:29:44 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 23:29:52 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:29:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:29:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:29:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:29:54 ./bin/test-attribution-txt.sh [Pipeline] echo 23:29:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:29:54 $ docker stop --time=1 5b8b8664d891e38c24126ae399e89be9f83c8dfcb49f5ac276261b655625b5fc 23:29:56 $ docker rm -f --volumes 5b8b8664d891e38c24126ae399e89be9f83c8dfcb49f5ac276261b655625b5fc [Pipeline] // withDockerContainer [Pipeline] sh 23:29:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:29:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:29:57 + ls -al . 23:29:57 total 188 23:29:57 drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 23:29 . 23:29:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 23:28 .. 23:29:57 -rw-rw-r-- 1 jenkins jenkins 151 Dec 19 23:28 .dockerignore 23:29:57 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 23:29 .git 23:29:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 23:28 .github 23:29:57 -rw-rw-r-- 1 jenkins jenkins 329 Dec 19 23:28 .gitignore 23:29:57 -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 23:28 .golangci.yml 23:29:57 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 23:28 .semver 23:29:57 -rw-rw-r-- 1 jenkins jenkins 9100 Dec 19 23:28 Attribution.txt 23:29:57 -rw-rw-r-- 1 jenkins jenkins 13085 Dec 19 23:28 CHANGELOG.md 23:29:57 -rw-rw-r-- 1 jenkins jenkins 1641 Dec 19 23:28 Dockerfile 23:29:57 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 23:28 GOVERNANCE.md 23:29:57 -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 23:28 Jenkinsfile 23:29:57 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 23:28 LICENSE 23:29:57 -rw-rw-r-- 1 jenkins jenkins 2173 Dec 19 23:28 Makefile 23:29:57 -rw-rw-r-- 1 jenkins jenkins 620 Dec 19 23:28 OWNERS.md 23:29:57 -rw-rw-r-- 1 jenkins jenkins 8667 Dec 19 23:28 README.md 23:29:57 -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 23:28 VERSION 23:29:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 23:28 bin 23:29:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 23:28 cmd 23:29:57 -rw-r--r-- 1 jenkins jenkins 9355 Dec 19 23:29 coverage.out 23:29:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 23:28 driver 23:29:57 -rw-rw-r-- 1 jenkins jenkins 3488 Dec 19 23:28 go.mod 23:29:57 -rw-rw-r-- 1 jenkins jenkins 45013 Dec 19 23:28 go.sum 23:29:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 23:28 snap 23:29:57 -rw-rw-r-- 1 jenkins jenkins 713 Dec 19 23:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:58 + 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=885eff3573f731dbb8051040958eb45753ebbb2c --label arch=amd64 --label version=3.0.0-dev.2 . 23:29:58 Sending build context to Docker daemon 10.79MB 23:29:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:29:58 Step 2/25 : FROM ${BASE} AS builder 23:29:58 ---> 859c147ab40f 23:29:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:29:58 ---> Running in 8c5c00c9c2a0 23:29:58 Removing intermediate container 8c5c00c9c2a0 23:29:58 ---> 0fead2875e6d 23:29:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:58 ---> Running in bcdc27ee6df4 23:29:58 Removing intermediate container bcdc27ee6df4 23:29:58 ---> fe6f84311d68 23:29:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:29:58 ---> Running in 505afff5d417 23:29:58 Removing intermediate container 505afff5d417 23:29:58 ---> 9d22b47c73b9 23:29:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:29:58 ---> Running in e4788f378773 23:29:58 Removing intermediate container e4788f378773 23:29:58 ---> 8086c092444f 23:29:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:58 ---> Running in 4c9b258f41cd 23:29:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:29:59 OK: 216 MiB in 55 packages 23:29:59 Removing intermediate container 4c9b258f41cd 23:29:59 ---> b736f2cf0719 23:29:59 Step 8/25 : WORKDIR /device-rest-go 23:29:59 ---> Running in 5b9c336e1e88 23:29:59 Removing intermediate container 5b9c336e1e88 23:29:59 ---> 655a5bc51d64 23:29:59 Step 9/25 : COPY go.mod vendor* ./ 23:29:59 ---> c56c3ad15b0d 23:29:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:59 ---> Running in 906ba4c0f549 23:30:00 Removing intermediate container 906ba4c0f549 23:30:00 ---> 21867b54b1f6 23:30:00 Step 11/25 : COPY . . 23:30:00 ---> 293050c725c7 23:30:00 Step 12/25 : RUN $MAKE 23:30:00 ---> Running in 806e1ad0aabc 23:30:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 23:30:22 Removing intermediate container 806e1ad0aabc 23:30:22 ---> 1f15c25c2b26 23:30:22 Step 13/25 : FROM alpine:3.16 23:30:22 3.16: Pulling from library/alpine 23:30:22 ca7dd9ec2225: Pulling fs layer 23:30:22 ca7dd9ec2225: Verifying Checksum 23:30:22 ca7dd9ec2225: Download complete 23:30:22 ca7dd9ec2225: Pull complete 23:30:22 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:30:22 Status: Downloaded newer image for alpine:3.16 23:30:22 ---> bfe296a52501 23:30:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:30:22 ---> Running in a87291d25573 23:30:22 Removing intermediate container a87291d25573 23:30:22 ---> 0b41f7e090a6 23:30:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:30:22 ---> Running in 7760694dba6d 23:30:22 Removing intermediate container 7760694dba6d 23:30:22 ---> ca731ee24cfe 23:30:22 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:30:22 ---> Running in 99cda3dc7a44 23:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:30:22 (1/6) Installing dumb-init (1.2.5-r1) 23:30:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:30:22 (3/6) Installing libsodium (1.0.18-r0) 23:30:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:30:22 (5/6) Installing libzmq (4.3.4-r0) 23:30:22 (6/6) Installing zeromq (4.3.4-r0) 23:30:22 Executing busybox-1.35.0-r17.trigger 23:30:22 OK: 8 MiB in 20 packages 23:30:22 Removing intermediate container 99cda3dc7a44 23:30:22 ---> d957a41d25cd 23:30:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:30:22 ---> 0139713f073f 23:30:22 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:30:23 ---> 0a70e19418ab 23:30:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:30:23 ---> c3a4dcc332ac 23:30:23 Step 20/25 : EXPOSE 59986 23:30:23 ---> Running in d2801b01f747 23:30:23 Removing intermediate container d2801b01f747 23:30:23 ---> f706d1850d23 23:30:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:30:23 ---> Running in b306a1851ac7 23:30:23 Removing intermediate container b306a1851ac7 23:30:23 ---> 61cc139d58f6 23:30:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:30:23 ---> Running in 8bacae9b2558 23:30:23 Removing intermediate container 8bacae9b2558 23:30:23 ---> b66793bd6a44 23:30:23 Step 23/25 : LABEL arch=amd64 23:30:23 ---> Running in 3887902e3017 23:30:23 Removing intermediate container 3887902e3017 23:30:23 ---> 3d6fd3e77498 23:30:23 Step 24/25 : LABEL git_sha=885eff3573f731dbb8051040958eb45753ebbb2c 23:30:23 ---> Running in 314e1ec60758 23:30:23 Removing intermediate container 314e1ec60758 23:30:23 ---> 75bfde74b718 23:30:23 Step 25/25 : LABEL version=3.0.0-dev.2 23:30:23 ---> Running in 64e7af5a683d 23:30:23 Removing intermediate container 64e7af5a683d 23:30:23 ---> 620b1f97c91d 23:30:23 [Warning] One or more build-args [ARCH] were not consumed 23:30:23 Successfully built 620b1f97c91d 23:30:23 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:30:24 provisioning config files... 23:30:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4428379361308142215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:24 ---> docker-login.sh 23:30:24 nexus3.edgexfoundry.org:10001 23:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:24 Configure a credential helper to remove this warning. See 23:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:24 23:30:24 Login Succeeded 23:30:24 nexus3.edgexfoundry.org:10002 23:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:24 Configure a credential helper to remove this warning. See 23:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:24 23:30:24 Login Succeeded 23:30:24 nexus3.edgexfoundry.org:10003 23:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:24 Configure a credential helper to remove this warning. See 23:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:24 23:30:24 Login Succeeded 23:30:24 nexus3.edgexfoundry.org:10004 23:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:24 Configure a credential helper to remove this warning. See 23:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:24 23:30:24 Login Succeeded 23:30:24 docker.io 23:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:24 Configure a credential helper to remove this warning. See 23:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:24 23:30:24 Login Succeeded 23:30:24 ---> docker-login.sh ends [Pipeline] } 23:30:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:30:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:24 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:30:24 885eff3573f731dbb8051040958eb45753ebbb2c 23:30:24 latest 23:30:24 3.0.0-dev.2 23:30:24 885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 23:30:24 main 23:30:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:885eff3573f731dbb8051040958eb45753ebbb2c 23:30:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:30:25 7426fe41b390: Preparing 23:30:25 09c631216f97: Preparing 23:30:25 332070430e26: Preparing 23:30:25 85aa7b1fec90: Preparing 23:30:25 e5e13b0c77cb: Preparing 23:30:25 e5e13b0c77cb: Layer already exists 23:30:25 09c631216f97: Pushed 23:30:25 7426fe41b390: Pushed 23:30:25 85aa7b1fec90: Pushed 23:30:28 332070430e26: Pushed 23:30:28 885eff3573f731dbb8051040958eb45753ebbb2c: digest: sha256:031c886561d6476c2f9e805b8244e0d4e476f24a2bbe916807614d4e082ef2ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:30:29 7426fe41b390: Preparing 23:30:29 09c631216f97: Preparing 23:30:29 332070430e26: Preparing 23:30:29 85aa7b1fec90: Preparing 23:30:29 e5e13b0c77cb: Preparing 23:30:29 7426fe41b390: Layer already exists 23:30:29 85aa7b1fec90: Layer already exists 23:30:29 332070430e26: Layer already exists 23:30:29 09c631216f97: Layer already exists 23:30:29 e5e13b0c77cb: Layer already exists 23:30:29 latest: digest: sha256:031c886561d6476c2f9e805b8244e0d4e476f24a2bbe916807614d4e082ef2ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.2 23:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:30:29 7426fe41b390: Preparing 23:30:29 09c631216f97: Preparing 23:30:29 332070430e26: Preparing 23:30:29 85aa7b1fec90: Preparing 23:30:29 e5e13b0c77cb: Preparing 23:30:29 7426fe41b390: Layer already exists 23:30:29 09c631216f97: Layer already exists 23:30:29 e5e13b0c77cb: Layer already exists 23:30:29 85aa7b1fec90: Layer already exists 23:30:29 332070430e26: Layer already exists 23:30:29 3.0.0-dev.2: digest: sha256:031c886561d6476c2f9e805b8244e0d4e476f24a2bbe916807614d4e082ef2ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 23:30:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:30:30 7426fe41b390: Preparing 23:30:30 09c631216f97: Preparing 23:30:30 332070430e26: Preparing 23:30:30 85aa7b1fec90: Preparing 23:30:30 e5e13b0c77cb: Preparing 23:30:30 e5e13b0c77cb: Layer already exists 23:30:30 85aa7b1fec90: Layer already exists 23:30:30 09c631216f97: Layer already exists 23:30:30 332070430e26: Layer already exists 23:30:30 7426fe41b390: Layer already exists 23:30:30 885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2: digest: sha256:031c886561d6476c2f9e805b8244e0d4e476f24a2bbe916807614d4e082ef2ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:30:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:30:30 7426fe41b390: Preparing 23:30:30 09c631216f97: Preparing 23:30:30 332070430e26: Preparing 23:30:30 85aa7b1fec90: Preparing 23:30:30 e5e13b0c77cb: Preparing 23:30:30 e5e13b0c77cb: Layer already exists 23:30:30 09c631216f97: Layer already exists 23:30:30 85aa7b1fec90: Layer already exists 23:30:30 332070430e26: Layer already exists 23:30:30 7426fe41b390: Layer already exists 23:30:30 main: digest: sha256:031c886561d6476c2f9e805b8244e0d4e476f24a2bbe916807614d4e082ef2ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:30:30 ===================================================== [Pipeline] echo 23:30:31 taggedImages: 23:30:31 - nexus3.edgexfoundry.org:10004/device-rest:885eff3573f731dbb8051040958eb45753ebbb2c 23:30:31 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:30:31 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.2 23:30:31 - nexus3.edgexfoundry.org:10004/device-rest:885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 23:30:31 - 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:30:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:31 23:30:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:31 latest: Pulling from edgex-lftools-log-publisher 23:30:31 5eb5b503b376: Pulling fs layer 23:30:31 5c69ac0246d0: Pulling fs layer 23:30:31 ec43610c2a17: Pulling fs layer 23:30:31 3a2ae6a8a46f: Pulling fs layer 23:30:31 33b1e0a273af: Pulling fs layer 23:30:31 5d3b04190fa2: Pulling fs layer 23:30:31 2f39f015ded8: Pulling fs layer 23:30:31 3a2ae6a8a46f: Waiting 23:30:31 33b1e0a273af: Waiting 23:30:31 5d3b04190fa2: Waiting 23:30:31 2f39f015ded8: Waiting 23:30:31 5c69ac0246d0: Download complete 23:30:31 3a2ae6a8a46f: Download complete 23:30:31 33b1e0a273af: Verifying Checksum 23:30:31 33b1e0a273af: Download complete 23:30:31 5d3b04190fa2: Verifying Checksum 23:30:31 5d3b04190fa2: Download complete 23:30:31 ec43610c2a17: Verifying Checksum 23:30:31 ec43610c2a17: Download complete 23:30:31 5eb5b503b376: Verifying Checksum 23:30:31 5eb5b503b376: Download complete 23:30:32 2f39f015ded8: Download complete 23:30:33 5eb5b503b376: Pull complete 23:30:33 5c69ac0246d0: Pull complete 23:30:33 ec43610c2a17: Pull complete 23:30:33 3a2ae6a8a46f: Pull complete 23:30:34 33b1e0a273af: Pull complete 23:30:34 5d3b04190fa2: Pull complete 23:30:38 2f39f015ded8: Pull complete 23:30:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:38 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:30:38 $ 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:30:39 $ docker top 2130dfd22e0e07b7d05748ca9f8eefba4f090ae03e1ed39004a48e32c1497523 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:39 ---> job-cost.sh 23:30:39 lf-activate-venv: SKIPPING 23:30:39 INFO: No Stack... 23:30:40 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:40 INFO: Archiving Costs [Pipeline] sh 23:30:40 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:30:40 + cut -d, -f6 [Pipeline] lock 23:30:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] 23:30:40 Resource [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] did not exist. Created. 23:30:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:40 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:41 Stashed 1 file(s) [Pipeline] } 23:30:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:41 $ docker stop --time=1 2130dfd22e0e07b7d05748ca9f8eefba4f090ae03e1ed39004a48e32c1497523 23:30:42 $ docker rm -f --volumes 2130dfd22e0e07b7d05748ca9f8eefba4f090ae03e1ed39004a48e32c1497523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-182 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:30:42 Running in /w/workspace/device-rest-go/74 [Pipeline] { [Pipeline] checkout 23:30:42 The recommended git tool is: git 23:30:48 using credential edgex-jenkins-ssh 23:30:48 Cloning the remote Git repository 23:30:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:30:48 > git init /w/workspace/device-rest-go/74 # timeout=10 23:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:30:48 > git --version # timeout=10 23:30:48 > git --version # 'git version 2.25.1' 23:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:30:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:52 Avoid second fetch 23:30:52 Checking out Revision 885eff3573f731dbb8051040958eb45753ebbb2c (main) 23:30:52 Commit message: "Merge pull request #231 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" 23:30:52 > git config core.sparsecheckout # timeout=10 23:30:52 > git checkout -f 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:53 Dload Upload Total Spent Left Speed 23:30:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 23:30:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:54 + sudo tee /etc/docker/daemon.new 23:30:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:30:54 { 23:30:54 "registry-mirrors": [ 23:30:54 "https://nexus3.edgexfoundry.org:10001" 23:30:54 ], 23:30:54 "bip": "10.250.0.254/24", 23:30:54 "hosts": [ 23:30:54 "tcp://0.0.0.0:5555", 23:30:54 "unix:///var/run/docker.sock" 23:30:54 ], 23:30:54 "mtu": 1458, 23:30:54 "selinux-enabled": true, 23:30:54 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:54 } [Pipeline] sh 23:30:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:13 provisioning config files... 23:31:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/74@tmp/config10212833781442443048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:13 ---> docker-login.sh 23:31:13 nexus3.edgexfoundry.org:10001 23:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:14 Configure a credential helper to remove this warning. See 23:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:14 23:31:14 Login Succeeded 23:31:14 nexus3.edgexfoundry.org:10002 23:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:15 Configure a credential helper to remove this warning. See 23:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:15 23:31:15 Login Succeeded 23:31:15 nexus3.edgexfoundry.org:10003 23:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:15 Configure a credential helper to remove this warning. See 23:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:15 23:31:15 Login Succeeded 23:31:15 nexus3.edgexfoundry.org:10004 23:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:15 Configure a credential helper to remove this warning. See 23:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:15 23:31:15 Login Succeeded 23:31:15 docker.io 23:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:16 Configure a credential helper to remove this warning. See 23:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:16 23:31:16 Login Succeeded 23:31:16 ---> docker-login.sh ends [Pipeline] } 23:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:16 ========================================================= 23:31:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:31:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31: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:31:16 Sending build context to Docker daemon 129.5kB 23:31:17 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:31:17 Step 2/12 : FROM ${BASE} AS builder 23:31:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:31:17 9b18e9b68314: Pulling fs layer 23:31:17 35d82f9e3411: Pulling fs layer 23:31:17 e16973657156: Pulling fs layer 23:31:17 fc693d55d65f: Pulling fs layer 23:31:17 7e9fc2657dce: Pulling fs layer 23:31:17 dda99020689f: Pulling fs layer 23:31:17 db1c61fa0a46: Pulling fs layer 23:31:17 891c053d2c06: Pulling fs layer 23:31:17 fc693d55d65f: Waiting 23:31:17 7e9fc2657dce: Waiting 23:31:17 dda99020689f: Waiting 23:31:17 db1c61fa0a46: Waiting 23:31:17 891c053d2c06: Waiting 23:31:17 e16973657156: Verifying Checksum 23:31:17 e16973657156: Download complete 23:31:17 35d82f9e3411: Verifying Checksum 23:31:17 35d82f9e3411: Download complete 23:31:17 7e9fc2657dce: Verifying Checksum 23:31:17 7e9fc2657dce: Download complete 23:31:17 dda99020689f: Verifying Checksum 23:31:17 dda99020689f: Download complete 23:31:17 9b18e9b68314: Verifying Checksum 23:31:17 9b18e9b68314: Download complete 23:31:18 9b18e9b68314: Pull complete 23:31:18 891c053d2c06: Verifying Checksum 23:31:18 891c053d2c06: Download complete 23:31:18 35d82f9e3411: Pull complete 23:31:18 e16973657156: Pull complete 23:31:19 db1c61fa0a46: Verifying Checksum 23:31:19 db1c61fa0a46: Download complete 23:31:20 fc693d55d65f: Verifying Checksum 23:31:20 fc693d55d65f: Download complete 23:31:32 fc693d55d65f: Pull complete 23:31:32 7e9fc2657dce: Pull complete 23:31:32 dda99020689f: Pull complete 23:31:39 db1c61fa0a46: Pull complete 23:31:40 891c053d2c06: Pull complete 23:31:40 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:31:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:31:40 ---> f96f9c87975a 23:31:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:31:42 ---> Running in 5c8ea575c6f4 23:31:42 Removing intermediate container 5c8ea575c6f4 23:31:42 ---> 632d4916303b 23:31:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:42 ---> Running in 63f99fbc899a 23:31:42 Removing intermediate container 63f99fbc899a 23:31:42 ---> ade3c2a87527 23:31:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:31:42 ---> Running in 00fe094f3a5f 23:31:43 Removing intermediate container 00fe094f3a5f 23:31:43 ---> 0fb428cb5756 23:31:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:31:43 ---> Running in 36bccbb75fbf 23:31:43 Removing intermediate container 36bccbb75fbf 23:31:43 ---> 661e8f256906 23:31:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:43 ---> Running in dd3edbff0ba0 23:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:31:45 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:31:45 (2/4) Installing libedit (20210910.3.1-r0) 23:31:45 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:31:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:31:46 Executing busybox-1.35.0-r17.trigger 23:31:46 OK: 226 MiB in 55 packages 23:31:47 Removing intermediate container dd3edbff0ba0 23:31:47 ---> 964de77e6133 23:31:47 Step 8/12 : WORKDIR /device-rest-go 23:31:47 ---> Running in 9e941269e942 23:31:47 Removing intermediate container 9e941269e942 23:31:47 ---> f1e6b7e60cf2 23:31:47 Step 9/12 : COPY go.mod vendor* ./ 23:31:48 ---> 6646d9be7b1e 23:31:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:48 ---> Running in 1ef74fd34b55 23:32:44 Removing intermediate container 1ef74fd34b55 23:32:44 ---> a8c5d0fe1bb0 23:32:44 Step 11/12 : COPY . . 23:32:44 ---> fa70ba9762d5 23:32:44 Step 12/12 : RUN $MAKE 23:32:44 ---> Running in 305ec3d8504b 23:32:44 noop 23:32:44 Removing intermediate container 305ec3d8504b 23:32:44 ---> c8593d46e69c 23:32:44 Successfully built c8593d46e69c 23:32:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:45 + docker inspect -f . ci-base-image-arm64 23:32:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:45 prd-ubuntu20.04-docker-arm64-4c-16g-182 does not seem to be running inside a container 23:32:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/74 -v /w/workspace/device-rest-go/74:/w/workspace/device-rest-go/74:rw,z -v /w/workspace/device-rest-go/74@tmp:/w/workspace/device-rest-go/74@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:32:46 $ docker top 0498d037688a138167be9eaddca2b2e402aaf1b5239892bc71c47bc8a4f58e4a -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:47 + go version 23:32:47 go version go1.18.7 linux/arm64 [Pipeline] } 23:32:47 $ docker stop --time=1 0498d037688a138167be9eaddca2b2e402aaf1b5239892bc71c47bc8a4f58e4a 23:32:48 $ docker rm -f --volumes 0498d037688a138167be9eaddca2b2e402aaf1b5239892bc71c47bc8a4f58e4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:49 + docker inspect -f . ci-base-image-arm64 23:32:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:49 prd-ubuntu20.04-docker-arm64-4c-16g-182 does not seem to be running inside a container 23:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/74 -v /w/workspace/device-rest-go/74:/w/workspace/device-rest-go/74:rw,z -v /w/workspace/device-rest-go/74@tmp:/w/workspace/device-rest-go/74@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:32:50 $ docker top 336222a46502bf320d2560f85af820e0701dbf49dff5bdb1c09a10867ba09dc8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:51 + git config --global --add safe.directory /w/workspace/device-rest-go/74 [Pipeline] fileExists [Pipeline] sh 23:32:52 + make test 23:32:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:32:53 ? github.com/edgexfoundry/device-rest-go [no test files] 23:34:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:34:15 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 55.2% of statements 23:34:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:34:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:34:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:34:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:34:33 ./bin/test-attribution-txt.sh [Pipeline] echo 23:34:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:34:33 $ docker stop --time=1 336222a46502bf320d2560f85af820e0701dbf49dff5bdb1c09a10867ba09dc8 23:34:35 $ docker rm -f --volumes 336222a46502bf320d2560f85af820e0701dbf49dff5bdb1c09a10867ba09dc8 [Pipeline] // withDockerContainer [Pipeline] sh 23:34:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:34:36 Warning: overwriting stash ‘coverage-report’ 23:34:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:34:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:34:37 + ls -al . 23:34:37 total 184 23:34:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 23:32 . 23:34:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 23:30 .. 23:34:37 -rw-rw-r-- 1 jenkins jenkins 151 Dec 19 23:30 .dockerignore 23:34:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 23:30 .git 23:34:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 23:30 .github 23:34:37 -rw-rw-r-- 1 jenkins jenkins 329 Dec 19 23:30 .gitignore 23:34:37 -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 23:30 .golangci.yml 23:34:37 -rw-rw-r-- 1 jenkins jenkins 9100 Dec 19 23:30 Attribution.txt 23:34:37 -rw-rw-r-- 1 jenkins jenkins 13085 Dec 19 23:30 CHANGELOG.md 23:34:37 -rw-rw-r-- 1 jenkins jenkins 1641 Dec 19 23:30 Dockerfile 23:34:37 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 23:30 GOVERNANCE.md 23:34:37 -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 23:30 Jenkinsfile 23:34:37 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 23:30 LICENSE 23:34:37 -rw-rw-r-- 1 jenkins jenkins 2173 Dec 19 23:30 Makefile 23:34:37 -rw-rw-r-- 1 jenkins jenkins 620 Dec 19 23:30 OWNERS.md 23:34:37 -rw-rw-r-- 1 jenkins jenkins 8667 Dec 19 23:30 README.md 23:34:37 -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 23:28 VERSION 23:34:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 23:30 bin 23:34:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 23:30 cmd 23:34:37 -rw-r--r-- 1 jenkins jenkins 9355 Dec 19 23:34 coverage.out 23:34:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 23:30 driver 23:34:37 -rw-rw-r-- 1 jenkins jenkins 3488 Dec 19 23:30 go.mod 23:34:37 -rw-rw-r-- 1 jenkins jenkins 45013 Dec 19 23:30 go.sum 23:34:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 23:30 snap 23:34:37 -rw-rw-r-- 1 jenkins jenkins 713 Dec 19 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:38 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=885eff3573f731dbb8051040958eb45753ebbb2c --label arch=arm64 --label version=3.0.0-dev.2 . 23:34:38 Sending build context to Docker daemon 139.8kB 23:34:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:34:38 Step 2/25 : FROM ${BASE} AS builder 23:34:38 ---> c8593d46e69c 23:34:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:34:38 ---> Running in 7c854a6883d8 23:34:38 Removing intermediate container 7c854a6883d8 23:34:38 ---> 68071959ee16 23:34:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:34:38 ---> Running in 401fed91ca17 23:34:39 Removing intermediate container 401fed91ca17 23:34:39 ---> 3d7c693d6060 23:34:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:34:39 ---> Running in ffd58d1544e3 23:34:39 Removing intermediate container ffd58d1544e3 23:34:39 ---> 81dbad012fc6 23:34:39 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:34:39 ---> Running in 418a2ce58882 23:34:39 Removing intermediate container 418a2ce58882 23:34:39 ---> 73ff39959160 23:34:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:39 ---> Running in 84f60c30e999 23:34:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:34:42 OK: 226 MiB in 55 packages 23:34:43 Removing intermediate container 84f60c30e999 23:34:43 ---> e6b11f035879 23:34:43 Step 8/25 : WORKDIR /device-rest-go 23:34:43 ---> Running in 1088095b3162 23:34:43 Removing intermediate container 1088095b3162 23:34:43 ---> 9f3bddab937f 23:34:43 Step 9/25 : COPY go.mod vendor* ./ 23:34:46 ---> b79d68a6a504 23:34:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:34:46 ---> Running in 6a02a10c4e18 23:34:48 Removing intermediate container 6a02a10c4e18 23:34:48 ---> e59aa6d4b640 23:34:48 Step 11/25 : COPY . . 23:34:48 ---> 0d42b0a9ce09 23:34:48 Step 12/25 : RUN $MAKE 23:34:48 ---> Running in dd80fb428ebe 23:34:49 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 23:37:11 Removing intermediate container dd80fb428ebe 23:37:11 ---> 4a365262a507 23:37:11 Step 13/25 : FROM alpine:3.16 23:37:11 3.16: Pulling from library/alpine 23:37:11 6875df1f5354: Pulling fs layer 23:37:11 6875df1f5354: Verifying Checksum 23:37:11 6875df1f5354: Download complete 23:37:11 6875df1f5354: Pull complete 23:37:11 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:37:11 Status: Downloaded newer image for alpine:3.16 23:37:11 ---> 2b4661558fb8 23:37:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:37:11 ---> Running in ec16e9aefed2 23:37:11 Removing intermediate container ec16e9aefed2 23:37:11 ---> 91745e8de6f1 23:37:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:37:11 ---> Running in 57f0fa87b538 23:37:11 Removing intermediate container 57f0fa87b538 23:37:11 ---> dc888f4c559a 23:37:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:37:11 ---> Running in f9a215ae4e3d 23:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:37:11 (1/6) Installing dumb-init (1.2.5-r1) 23:37:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:37:11 (3/6) Installing libsodium (1.0.18-r0) 23:37:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:37:11 (5/6) Installing libzmq (4.3.4-r0) 23:37:11 (6/6) Installing zeromq (4.3.4-r0) 23:37:11 Executing busybox-1.35.0-r17.trigger 23:37:11 OK: 8 MiB in 20 packages 23:37:12 Removing intermediate container f9a215ae4e3d 23:37:12 ---> fc46b8e3f6be 23:37:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:37:13 ---> 71d822923999 23:37:13 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:37:13 ---> 61d0b463a7ab 23:37:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:37:14 ---> 720124ef73c8 23:37:14 Step 20/25 : EXPOSE 59986 23:37:14 ---> Running in 471cad0b31d0 23:37:14 Removing intermediate container 471cad0b31d0 23:37:14 ---> 0d73b8f95696 23:37:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:37:14 ---> Running in 15e1fc0701da 23:37:15 Removing intermediate container 15e1fc0701da 23:37:15 ---> 66f5f5649c6d 23:37:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:37:15 ---> Running in f37150b56140 23:37:15 Removing intermediate container f37150b56140 23:37:15 ---> 8732c837ffc5 23:37:15 Step 23/25 : LABEL arch=arm64 23:37:15 ---> Running in 16c8f33e6491 23:37:15 Removing intermediate container 16c8f33e6491 23:37:15 ---> 456a71b9b247 23:37:15 Step 24/25 : LABEL git_sha=885eff3573f731dbb8051040958eb45753ebbb2c 23:37:15 ---> Running in b5253089b4f0 23:37:15 Removing intermediate container b5253089b4f0 23:37:15 ---> 462d74e4f4e9 23:37:15 Step 25/25 : LABEL version=3.0.0-dev.2 23:37:15 ---> Running in 0f313ecb9362 23:37:16 Removing intermediate container 0f313ecb9362 23:37:16 ---> a5e01a4797b2 23:37:16 [Warning] One or more build-args [ARCH] were not consumed 23:37:16 Successfully built a5e01a4797b2 23:37:16 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:37:16 provisioning config files... 23:37:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/74@tmp/config17875468676232866570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:16 ---> docker-login.sh 23:37:16 nexus3.edgexfoundry.org:10001 23:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:16 Configure a credential helper to remove this warning. See 23:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:16 23:37:16 Login Succeeded 23:37:16 nexus3.edgexfoundry.org:10002 23:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:17 Configure a credential helper to remove this warning. See 23:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:17 23:37:17 Login Succeeded 23:37:17 nexus3.edgexfoundry.org:10003 23:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:17 Configure a credential helper to remove this warning. See 23:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:17 23:37:17 Login Succeeded 23:37:17 nexus3.edgexfoundry.org:10004 23:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:17 Configure a credential helper to remove this warning. See 23:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:17 23:37:17 Login Succeeded 23:37:17 docker.io 23:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:18 Configure a credential helper to remove this warning. See 23:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:18 23:37:18 Login Succeeded 23:37:18 ---> docker-login.sh ends [Pipeline] } 23:37:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:37:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:18 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:37:18 885eff3573f731dbb8051040958eb45753ebbb2c 23:37:18 latest 23:37:18 3.0.0-dev.2 23:37:18 885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 23:37:18 main 23:37:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:885eff3573f731dbb8051040958eb45753ebbb2c 23:37:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:37:18 45b09f32c47c: Preparing 23:37:18 b322f2c22446: Preparing 23:37:18 cbfdf28f9680: Preparing 23:37:18 01d9a290b81a: Preparing 23:37:18 17bec77d7fdc: Preparing 23:37:18 17bec77d7fdc: Layer already exists 23:37:19 b322f2c22446: Pushed 23:37:19 45b09f32c47c: Pushed 23:37:19 01d9a290b81a: Pushed 23:37:24 cbfdf28f9680: Pushed 23:37:24 885eff3573f731dbb8051040958eb45753ebbb2c: digest: sha256:d8bfa6787fcc1e933b66d7cbb3e3c0aa592f22564c7c965babb15687ae47d8e5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:37:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:37:24 45b09f32c47c: Preparing 23:37:24 b322f2c22446: Preparing 23:37:24 cbfdf28f9680: Preparing 23:37:24 01d9a290b81a: Preparing 23:37:24 17bec77d7fdc: Preparing 23:37:24 17bec77d7fdc: Layer already exists 23:37:24 b322f2c22446: Layer already exists 23:37:24 cbfdf28f9680: Layer already exists 23:37:24 45b09f32c47c: Layer already exists 23:37:24 01d9a290b81a: Layer already exists 23:37:24 latest: digest: sha256:d8bfa6787fcc1e933b66d7cbb3e3c0aa592f22564c7c965babb15687ae47d8e5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.2 23:37:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:37:25 45b09f32c47c: Preparing 23:37:25 b322f2c22446: Preparing 23:37:25 cbfdf28f9680: Preparing 23:37:25 01d9a290b81a: Preparing 23:37:25 17bec77d7fdc: Preparing 23:37:25 b322f2c22446: Layer already exists 23:37:25 cbfdf28f9680: Layer already exists 23:37:25 01d9a290b81a: Layer already exists 23:37:25 17bec77d7fdc: Layer already exists 23:37:25 45b09f32c47c: Layer already exists 23:37:25 3.0.0-dev.2: digest: sha256:d8bfa6787fcc1e933b66d7cbb3e3c0aa592f22564c7c965babb15687ae47d8e5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 23:37:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:37:26 45b09f32c47c: Preparing 23:37:26 b322f2c22446: Preparing 23:37:26 cbfdf28f9680: Preparing 23:37:26 01d9a290b81a: Preparing 23:37:26 17bec77d7fdc: Preparing 23:37:26 01d9a290b81a: Layer already exists 23:37:26 b322f2c22446: Layer already exists 23:37:26 17bec77d7fdc: Layer already exists 23:37:26 45b09f32c47c: Layer already exists 23:37:26 cbfdf28f9680: Layer already exists 23:37:26 885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2: digest: sha256:d8bfa6787fcc1e933b66d7cbb3e3c0aa592f22564c7c965babb15687ae47d8e5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:37:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:37:26 45b09f32c47c: Preparing 23:37:26 b322f2c22446: Preparing 23:37:26 cbfdf28f9680: Preparing 23:37:26 01d9a290b81a: Preparing 23:37:26 17bec77d7fdc: Preparing 23:37:26 cbfdf28f9680: Layer already exists 23:37:26 b322f2c22446: Layer already exists 23:37:26 45b09f32c47c: Layer already exists 23:37:26 17bec77d7fdc: Layer already exists 23:37:26 01d9a290b81a: Layer already exists 23:37:26 main: digest: sha256:d8bfa6787fcc1e933b66d7cbb3e3c0aa592f22564c7c965babb15687ae47d8e5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:37:26 ===================================================== [Pipeline] echo 23:37:26 taggedImages: 23:37:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:885eff3573f731dbb8051040958eb45753ebbb2c 23:37:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:37:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.2 23:37:26 - nexus3.edgexfoundry.org:10004/device-rest-arm64:885eff3573f731dbb8051040958eb45753ebbb2c-3.0.0-dev.2 23:37:26 - 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:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:37:27 23:37:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:37:27 arm64: Pulling from edgex-lftools-log-publisher 23:37:27 8998bd30e6a1: Pulling fs layer 23:37:27 04944245beec: Pulling fs layer 23:37:27 699f458cf7ca: Pulling fs layer 23:37:27 765212b225bb: Pulling fs layer 23:37:27 f23df028b6ca: Pulling fs layer 23:37:27 d65c8cfc05b1: Pulling fs layer 23:37:27 2437ff75d9bd: Pulling fs layer 23:37:27 f23df028b6ca: Waiting 23:37:27 d65c8cfc05b1: Waiting 23:37:27 2437ff75d9bd: Waiting 23:37:27 765212b225bb: Waiting 23:37:27 04944245beec: Verifying Checksum 23:37:27 04944245beec: Download complete 23:37:27 765212b225bb: Download complete 23:37:27 f23df028b6ca: Verifying Checksum 23:37:27 f23df028b6ca: Download complete 23:37:27 d65c8cfc05b1: Verifying Checksum 23:37:27 d65c8cfc05b1: Download complete 23:37:27 699f458cf7ca: Verifying Checksum 23:37:27 699f458cf7ca: Download complete 23:37:28 8998bd30e6a1: Verifying Checksum 23:37:28 8998bd30e6a1: Download complete 23:37:30 2437ff75d9bd: Verifying Checksum 23:37:30 2437ff75d9bd: Download complete 23:37:31 8998bd30e6a1: Pull complete 23:37:32 04944245beec: Pull complete 23:37:34 699f458cf7ca: Pull complete 23:37:34 765212b225bb: Pull complete 23:37:34 f23df028b6ca: Pull complete 23:37:34 d65c8cfc05b1: Pull complete 23:37:49 2437ff75d9bd: Pull complete 23:37:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:37:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:50 prd-ubuntu20.04-docker-arm64-4c-16g-182 does not seem to be running inside a container 23:37:50 $ 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/74 -v /w/workspace/device-rest-go/74:/w/workspace/device-rest-go/74:rw,z -v /w/workspace/device-rest-go/74@tmp:/w/workspace/device-rest-go/74@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:37:52 $ docker top 166d1e639f7597cc8e960d531ea5d514f5319e22454d41e1b91b9ae2d39361d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:53 ---> job-cost.sh 23:37:53 lf-activate-venv: SKIPPING 23:37:53 INFO: No Stack... 23:37:53 INFO: Retrieving Pricing Info for: v3-standard-4 23:37:54 INFO: Archiving Costs [Pipeline] sh 23:37:55 + cat /w/workspace/device-rest-go/74/archives/cost.csv 23:37:55 + cut -d, -f6 [Pipeline] lock 23:37:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] 23:37:55 Resource [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] did not exist. Created. 23:37:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:37:55 /w/workspace/device-rest-go/74@tmp/durable-977ca425/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:37:55 + echo total: 0.10999999940395355 [Pipeline] stash 23:37:55 Warning: overwriting stash ‘stack-cost’ 23:37:55 Stashed 1 file(s) [Pipeline] } 23:37:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 23:37:55 $ docker stop --time=1 166d1e639f7597cc8e960d531ea5d514f5319e22454d41e1b91b9ae2d39361d3 23:37:57 $ docker rm -f --volumes 166d1e639f7597cc8e960d531ea5d514f5319e22454d41e1b91b9ae2d39361d3 [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:37:57 provisioning config files... 23:37:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16890262243428074245tmp [Pipeline] { [Pipeline] sh 23:37:58 + set +x 23:37:58 + curl -s https://codecov.io/bash 23:37:58 + bash -s -- 23:37:58 23:37:58 _____ _ 23:37:58 / ____| | | 23:37:58 | | ___ __| | ___ ___ _____ __ 23:37:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:37:58 | |___| (_) | (_| | __/ (_| (_) \ V / 23:37:58 \_____\___/ \__,_|\___|\___\___/ \_/ 23:37:58 Bash-1.0.6 23:37:58 23:37:58 23:37:58 ==> git version 2.25.1 found 23:37:58 ==> 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:37:58 Release-Date: 2020-01-08 23:37:58 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:37:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:37:58 ==> Jenkins CI detected. 23:37:58 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:37:58 project root: . 23:37:58 --> token set from env 23:37:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:37:58 ==> Running gcov in . (disable via -X gcov) 23:37:58 ==> Python coveragepy not found 23:37:58 ==> Searching for coverage reports in: 23:37:58 + . 23:37:58 -> Found 1 reports 23:37:58 ==> Detecting git/mercurial file structure 23:37:58 ==> Reading reports 23:37:58 + ./coverage.out bytes=9355 23:37:58 ==> Appending adjustments 23:37:58 https://docs.codecov.io/docs/fixing-reports 23:37:58 + Found adjustments 23:37:58 ==> Gzipping contents 23:37:58 4.0K /tmp/codecov.9g2Kb0.gz 23:37:58 ==> Uploading reports 23:37:58 url: https://codecov.io 23:37:58 query: branch=main&commit=885eff3573f731dbb8051040958eb45753ebbb2c&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:37:58 -> Pinging Codecov 23:37:58 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=885eff3573f731dbb8051040958eb45753ebbb2c&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:37:58 -> Uploading to 23:37:58 https://storage.googleapis.com/codecov/v4/raw/2022-12-19/4E5D53B4F1F92C436F7061BF334D961C/885eff3573f731dbb8051040958eb45753ebbb2c/a0683679-7d7f-44e2-91ef-25952dae3e9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T233758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=078683406524f4dd53a91ba5520a8ecf880338e8863548fc2efc540aeafcb4dd 23:37:58 % Total % Received % Xferd Average Speed Time Time Time Current 23:37:58 Dload Upload Total Spent Left Speed 23:37:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 7706 --:--:-- --:--:-- --:--:-- 7706 23:37:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] } 23:37:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:37:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:37:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:37:59 23:37:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:37:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:37:59 df9b9388f04a: Pulling fs layer 23:37:59 52dc419b0ee2: Pulling fs layer 23:37:59 25bc292e5bac: Pulling fs layer 23:37:59 114826534d7a: Pulling fs layer 23:37:59 4657fd5d0bcf: Pulling fs layer 23:37:59 6ad1cebc031e: Pulling fs layer 23:37:59 4657fd5d0bcf: Waiting 23:37:59 114826534d7a: Waiting 23:37:59 8a3aa393b2d8: Pulling fs layer 23:37:59 6ad1cebc031e: Waiting 23:37:59 8a3aa393b2d8: Waiting 23:37:59 25bc292e5bac: Verifying Checksum 23:37:59 25bc292e5bac: Download complete 23:37:59 52dc419b0ee2: Download complete 23:37:59 4657fd5d0bcf: Verifying Checksum 23:37:59 4657fd5d0bcf: Download complete 23:37:59 df9b9388f04a: Download complete 23:38:00 df9b9388f04a: Pull complete 23:38:00 52dc419b0ee2: Pull complete 23:38:00 6ad1cebc031e: Verifying Checksum 23:38:00 6ad1cebc031e: Download complete 23:38:00 25bc292e5bac: Pull complete 23:38:00 114826534d7a: Download complete 23:38:01 8a3aa393b2d8: Verifying Checksum 23:38:01 8a3aa393b2d8: Download complete 23:38:04 114826534d7a: Pull complete 23:38:04 4657fd5d0bcf: Pull complete 23:38:04 6ad1cebc031e: Pull complete 23:38:08 8a3aa393b2d8: Pull complete 23:38:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:38:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:38:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:08 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:38:08 $ 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:38:09 $ docker top e2d54d6ffa1ded59bb4e6f18d11633fb47e61c93af12e6c56a2cafe78d5d34e8 -eo pid,comm [Pipeline] { [Pipeline] echo 23:38:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:38:09 + set -o pipefail 23:38:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:38:22 23:38:22 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:38:22 23:38:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f4df26e5-ebef-4486-b6b3-dd388e938cfe 23:38:22 23:38:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:38:22 23:38:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:38:22 23:38:22 23:38:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:38:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:38:22 More details here: https://snyk.co/ue1NS [Pipeline] } 23:38:22 $ docker stop --time=1 e2d54d6ffa1ded59bb4e6f18d11633fb47e61c93af12e6c56a2cafe78d5d34e8 23:38:24 $ docker rm -f --volumes e2d54d6ffa1ded59bb4e6f18d11633fb47e61c93af12e6c56a2cafe78d5d34e8 [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:38:24 + git log --format=format:%s -1 885eff3573f731dbb8051040958eb45753ebbb2c [Pipeline] sh 23:38:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:38:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:38:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:25 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:38:25 $ 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:38:25 $ docker top df81e6dc5ac2b9642db6c602446a7a40eed30d3c5fad6938c83a2ac8f7fd2e97 -eo pid,comm 23:38:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:38:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:25 [ssh-agent] Looking for ssh-agent implementation... 23:38:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:26 $ docker exec df81e6dc5ac2b9642db6c602446a7a40eed30d3c5fad6938c83a2ac8f7fd2e97 ssh-agent 23:38:26 SSH_AUTH_SOCK=/tmp/ssh-xiVMPDtxRswO/agent.32 23:38:26 SSH_AGENT_PID=38 23:38:26 Running ssh-add (command line suppressed) 23:38:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13963954560043954094.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13963954560043954094.key) 23:38:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:26 + git semver tag 23:38:26 2022-12-19 23:38:26,741 [run_tag] DEBUG tag force:False 23:38:26 2022-12-19 23:38:26,741 [check_head_tag] DEBUG check head tag 23:38:26 2022-12-19 23:38:26,742 [execute] INFO git cat-file --batch-check 23:38:26 2022-12-19 23:38:26,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:38:26 2022-12-19 23:38:26,746 [execute] INFO git cat-file --batch 23:38:26 2022-12-19 23:38:26,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:38:26 2022-12-19 23:38:26,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:26 2022-12-19 23:38:26,762 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 23:38:26 2022-12-19 23:38:26,762 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:38:26 2022-12-19 23:38:26,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:26 3.0.0-dev.2 [Pipeline] } 23:38:26 $ docker exec --env ******** --env ******** df81e6dc5ac2b9642db6c602446a7a40eed30d3c5fad6938c83a2ac8f7fd2e97 ssh-agent -k 23:38:26 unset SSH_AUTH_SOCK; 23:38:26 unset SSH_AGENT_PID; 23:38:26 echo Agent pid 38 killed; 23:38:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:38:27 + git semver [Pipeline] } 23:38:27 $ docker stop --time=1 df81e6dc5ac2b9642db6c602446a7a40eed30d3c5fad6938c83a2ac8f7fd2e97 23:38:28 $ docker rm -f --volumes df81e6dc5ac2b9642db6c602446a7a40eed30d3c5fad6938c83a2ac8f7fd2e97 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:38:29 23:38:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:38:29 0.23.1-centos7: Pulling from edgex-lftools 23:38:29 ab5ef0e58194: Pulling fs layer 23:38:29 9712f1f96733: Pulling fs layer 23:38:29 63f879dbbcfc: Pulling fs layer 23:38:29 0d9ebad4ef96: Pulling fs layer 23:38:29 e9a5061849ea: Pulling fs layer 23:38:29 d747dcd14b5f: Pulling fs layer 23:38:29 2de7ff778b66: Pulling fs layer 23:38:29 0d9ebad4ef96: Waiting 23:38:29 e9a5061849ea: Waiting 23:38:29 d747dcd14b5f: Waiting 23:38:29 2de7ff778b66: Waiting 23:38:29 9712f1f96733: Verifying Checksum 23:38:29 9712f1f96733: Download complete 23:38:30 63f879dbbcfc: Verifying Checksum 23:38:30 63f879dbbcfc: Download complete 23:38:30 0d9ebad4ef96: Verifying Checksum 23:38:30 0d9ebad4ef96: Download complete 23:38:30 d747dcd14b5f: Verifying Checksum 23:38:30 d747dcd14b5f: Download complete 23:38:30 e9a5061849ea: Verifying Checksum 23:38:30 e9a5061849ea: Download complete 23:38:30 ab5ef0e58194: Verifying Checksum 23:38:30 ab5ef0e58194: Download complete 23:38:30 2de7ff778b66: Verifying Checksum 23:38:30 2de7ff778b66: Download complete 23:38:33 ab5ef0e58194: Pull complete 23:38:33 9712f1f96733: Pull complete 23:38:33 63f879dbbcfc: Pull complete 23:38:37 0d9ebad4ef96: Pull complete 23:38:37 e9a5061849ea: Pull complete 23:38:37 d747dcd14b5f: Pull complete 23:38:39 2de7ff778b66: Pull complete 23:38:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:38:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:39 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:38:39 $ 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:38:41 $ docker top 76a6c4893101a3b0d9d774889818456db8a750e13cbdadb8a8120c1b0c2ed02d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:38:41 provisioning config files... 23:38:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10895460166396334152tmp 23:38:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6792907535847403099tmp 23:38:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13668505375215763648tmp [Pipeline] { [Pipeline] echo 23:38:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:38:41 ---> sigul-configuration.sh 23:38:41 gpg: directory `/root/.gnupg' created 23:38:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:38:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:38:41 gpg: keyring `/root/.gnupg/secring.gpg' created 23:38:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:38:41 gpg: CAST5 encrypted data 23:38:41 gpg: encrypted with 1 passphrase 23:38:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:38:42 + mkdir /home/jenkins 23:38:42 + mkdir /home/jenkins/sigul [Pipeline] sh 23:38:42 + 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:38:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:38:42 ---> sigul-install.sh 23:38:42 Sigul already installed; skipping installation. [Pipeline] sh 23:38:43 + git tag --list 23:38:43 v1.0.0 23:38:43 v1.1.0 23:38:43 v1.1.1 23:38:43 v1.1.2 23:38:43 v1.2.0 23:38:43 v1.2.1 23:38:43 v2.0.0 23:38:43 v2.1.0 23:38:43 v2.1.1 23:38:43 v2.1.1-dev.1 23:38:43 v2.1.1-dev.2 23:38:43 v2.1.1-dev.3 23:38:43 v2.2.0 23:38:43 v2.2.1-dev.1 23:38:43 v2.2.1-dev.2 23:38:43 v2.2.1-dev.3 23:38:43 v2.2.1-dev.4 23:38:43 v2.2.1-dev.5 23:38:43 v2.2.1-dev.6 23:38:43 v2.2.1-dev.7 23:38:43 v2.2.1-dev.8 23:38:43 v2.2.1-dev.9 23:38:43 v2.3.0 23:38:43 v2.3.0-dev.10 23:38:43 v2.3.0-dev.11 23:38:43 v2.3.0-dev.12 23:38:43 v2.3.0-dev.13 23:38:43 v2.3.0-dev.14 23:38:43 v2.3.0-dev.15 23:38:43 v2.3.0-dev.16 23:38:43 v2.3.0-dev.17 23:38:43 v2.3.0-dev.18 23:38:43 v2.3.0-dev.19 23:38:43 v2.3.0-dev.20 23:38:43 v2.3.0-dev.21 23:38:43 v2.3.0-dev.22 23:38:43 v2.3.0-dev.23 23:38:43 v2.3.0-dev.24 23:38:43 v2.3.0-dev.25 23:38:43 v2.3.0-dev.9 23:38:43 v3.0.0-dev.1 23:38:43 v3.0.0-dev.2 [Pipeline] sh 23:38:43 + lftools sign git-tag v3.0.0-dev.2 23:38:43 Signing Git tag with Sigul... 23:38:43 Signing v3.0.0-dev.2 [Pipeline] echo 23:38:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:38:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:38:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:38:44 $ docker stop --time=1 76a6c4893101a3b0d9d774889818456db8a750e13cbdadb8a8120c1b0c2ed02d 23:38:45 $ docker rm -f --volumes 76a6c4893101a3b0d9d774889818456db8a750e13cbdadb8a8120c1b0c2ed02d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:38:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:38:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:38:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:46 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:38:46 $ docker top cfcadfd892942764c834cded31561f7025050606ee31f8dcc011868684c51235 -eo pid,comm 23:38:47 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:38:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:47 [ssh-agent] Looking for ssh-agent implementation... 23:38:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:47 $ docker exec cfcadfd892942764c834cded31561f7025050606ee31f8dcc011868684c51235 ssh-agent 23:38:47 SSH_AUTH_SOCK=/tmp/ssh-xVVrGyqpN94p/agent.32 23:38:47 SSH_AGENT_PID=38 23:38:47 Running ssh-add (command line suppressed) 23:38:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_837813390393166178.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_837813390393166178.key) 23:38:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:47 + git semver bump pre 23:38:47 2022-12-19 23:38:47,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:47 2022-12-19 23:38:47,891 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 23:38:47 2022-12-19 23:38:47,891 [bump_version] DEBUG bumped version:3.0.0-dev.3 23:38:47 2022-12-19 23:38:47,891 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:38:47 2022-12-19 23:38:47,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:47 2022-12-19 23:38:47,891 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:47 2022-12-19 23:38:47,893 [execute] INFO git cat-file --batch-check 23:38:47 2022-12-19 23:38:47,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:38:47 2022-12-19 23:38:47,898 [execute] INFO git cat-file --batch 23:38:47 2022-12-19 23:38:47,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:38:47 2022-12-19 23:38:47,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:47 3.0.0-dev.3 [Pipeline] } 23:38:47 $ docker exec --env ******** --env ******** cfcadfd892942764c834cded31561f7025050606ee31f8dcc011868684c51235 ssh-agent -k 23:38:48 unset SSH_AUTH_SOCK; 23:38:48 unset SSH_AGENT_PID; 23:38:48 echo Agent pid 38 killed; 23:38:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:38:48 + git semver [Pipeline] } 23:38:48 $ docker stop --time=1 cfcadfd892942764c834cded31561f7025050606ee31f8dcc011868684c51235 23:38:49 $ docker rm -f --volumes cfcadfd892942764c834cded31561f7025050606ee31f8dcc011868684c51235 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:38:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:38:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:50 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:38:51 $ docker top d0b4205fbf261eb11d913a4ed88a29a60d2cdaf72e6e667139f2b3a529b098c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:51 [ssh-agent] Looking for ssh-agent implementation... 23:38:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:51 $ docker exec d0b4205fbf261eb11d913a4ed88a29a60d2cdaf72e6e667139f2b3a529b098c4 ssh-agent 23:38:51 SSH_AUTH_SOCK=/tmp/ssh-2N2225KjgmF4/agent.31 23:38:51 SSH_AGENT_PID=37 23:38:51 Running ssh-add (command line suppressed) 23:38:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4832604497450050735.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4832604497450050735.key) 23:38:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:51 + git semver push 23:38:52 2022-12-19 23:38:52,018 [run_push] DEBUG push 23:38:52 2022-12-19 23:38:52,019 [execute] INFO git cat-file --batch-check 23:38:52 2022-12-19 23:38:52,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:38:52 2022-12-19 23:38:52,026 [execute] INFO git rev-list bd421c551f57a29a318eff972ab19cd6013b1963 -- 23:38:52 2022-12-19 23:38:52,026 [execute] DEBUG Popen(['git', 'rev-list', 'bd421c551f57a29a318eff972ab19cd6013b1963', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:38:52 2022-12-19 23:38:52,035 [execute] INFO git fetch -v origin 23:38:52 2022-12-19 23:38:52,035 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:38:52 2022-12-19 23:38:52,587 [run_push] DEBUG no remote changes detected 23:38:52 2022-12-19 23:38:52,588 [execute] INFO git push origin semver 23:38:52 2022-12-19 23:38:52,588 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:38:53 2022-12-19 23:38:53,319 [run_push] DEBUG push all version tags 23:38:53 2022-12-19 23:38:53,320 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:38:53 2022-12-19 23:38:53,320 [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:38:54 2022-12-19 23:38:54,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:38:54 3.0.0-dev.3 [Pipeline] } 23:38:54 $ docker exec --env ******** --env ******** d0b4205fbf261eb11d913a4ed88a29a60d2cdaf72e6e667139f2b3a529b098c4 ssh-agent -k 23:38:54 unset SSH_AUTH_SOCK; 23:38:54 unset SSH_AGENT_PID; 23:38:54 echo Agent pid 37 killed; 23:38:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:38:54 + git semver [Pipeline] } 23:38:54 $ docker stop --time=1 d0b4205fbf261eb11d913a4ed88a29a60d2cdaf72e6e667139f2b3a529b098c4 23:38:56 $ docker rm -f --volumes d0b4205fbf261eb11d913a4ed88a29a60d2cdaf72e6e667139f2b3a529b098c4 [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:38:56 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:38:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:38:56 total 16 23:38:56 drwxr-xr-x 3 root root 4096 Dec 19 23:30 . 23:38:56 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 23:38 .. 23:38:56 drwxr-xr-x 2 root root 4096 Dec 19 23:30 cost 23:38:56 -rw-r--r-- 1 root root 85 Dec 19 23:30 cost.csv 23:38:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:38:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:38:56 total 16 23:38:56 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 23:30 . 23:38:56 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 23:38 .. 23:38:56 drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 23:30 cost 23:38:56 -rw-r--r-- 1 jenkins jenkins 85 Dec 19 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:38:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:38:57 ---> package-listing.sh 23:38:57 ++ facter osfamily 23:38:57 ++ tr '[:upper:]' '[:lower:]' 23:38:58 + OS_FAMILY=debian 23:38:58 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:38:58 + START_PACKAGES=/tmp/packages_start.txt 23:38:58 + END_PACKAGES=/tmp/packages_end.txt 23:38:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:38:58 + PACKAGES=/tmp/packages_start.txt 23:38:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:38:58 + PACKAGES=/tmp/packages_end.txt 23:38:58 + case "${OS_FAMILY}" in 23:38:58 + dpkg -l 23:38:58 + grep '^ii' 23:38:58 + '[' -f /tmp/packages_start.txt ']' 23:38:58 + '[' -f /tmp/packages_end.txt ']' 23:38:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:38:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:38:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:38:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:38:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:38:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:59 prd-ubuntu20.04-docker-8c-8g-181 does not seem to be running inside a container 23:38:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:38:59 $ docker top 76f2fa2b3415322a935416c780d14d181fd9baf23b97bf8ebb271d46ef46b1c0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:59 + touch /tmp/pre-build-complete [Pipeline] sh 23:38:59 + mkdir -p /var/log/sysstat [Pipeline] sh 23:39:00 + ls /var/log/sa-host 23:39:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:00 provisioning config files... 23:39:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15178927708528695512tmp [Pipeline] { [Pipeline] echo 23:39:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:39:00 ---> create-netrc.sh [Pipeline] } 23:39:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:39:01 ---> python-tools-install.sh [Pipeline] echo 23:39:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:39:01 ---> sudo-logs.sh 23:39:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:39:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:39:01 ---> job-cost.sh 23:39:01 lf-activate-venv: SKIPPING 23:39:01 DEBUG: total: 0.2199999988079071 23:39:01 INFO: Retrieving Stack Cost... 23:39:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:39:02 INFO: Archiving Costs [Pipeline] echo 23:39:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:39:02 ---> logs-deploy.sh 23:39:02 lf-activate-venv: SKIPPING 23:39:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/74 23:39:02 INFO: archiving workspace using pattern(s): 23:39:03 Archives upload complete. 23:39:04 INFO: archiving logs to Nexus