Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 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-ssh6580861412719496370.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-ssh15844519734953438838.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-ssh1260971327706007625.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-ssh14404311161697036844.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-ssh1697485560729916358.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-928 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 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (main) Commit message: "refactor!: Rename command line flags for the sake of consistency (#232)" > 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 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-list --no-walk 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:16:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:16:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:16:56 ========================================================= 18:16:56 EdgeX Global Pipelines Version Info 18:16:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:16:57 ------------------- 18:16:57 stable info: 18:16:57 ------------------- 18:16:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:16:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:16:57 Message: update stable to v1.0.244 18:16:57 ------------------- 18:16:57 experimental info: 18:16:57 ------------------- 18:16:57 Commited By: **** collab-it+edgex@linuxfoundation.org 18:16:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:16:57 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:16:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:16:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ec9f51 [Pipeline] echo 18:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:58 provisioning config files... 18:16:58 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13225894104774236542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:58 ---> docker-login.sh 18:16:58 nexus3.edgexfoundry.org:10001 18:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:58 Configure a credential helper to remove this warning. See 18:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:58 18:16:58 Login Succeeded 18:16:58 nexus3.edgexfoundry.org:10002 18:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:58 Configure a credential helper to remove this warning. See 18:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:58 18:16:58 Login Succeeded 18:16:58 nexus3.edgexfoundry.org:10003 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 nexus3.edgexfoundry.org:10004 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 docker.io 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 ---> docker-login.sh ends [Pipeline] } 18:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:16:59 + git rev-list -1 --merges 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba~1..6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] echo 18:16:59 -----------> git rev-list -1 --merges 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba~1..6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [false] [Pipeline] sh 18:17:00 + git log --format=format:%s -1 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] echo 18:17:00 ========================================================= 18:17:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:17:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:00 + git log --format=format:%s -1 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] echo 18:17:00 [semverPrep] GIT_COMMIT: 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba, Commit Message: refactor!: Rename command line flags for the sake of consistency (#232) [Pipeline] echo 18:17:00 [semverPrep] This is not a build commit. [Pipeline] sh 18:17:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:17:00 + grep -v github /etc/ssh/ssh_known_hosts 18:17:00 + [ -e /tmp/ssh_known_hosts ] 18:17:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:17:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:17:00 + sudo tee -a /etc/ssh/ssh_known_hosts 18:17:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:01 18:17:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:01 0.1.4: Pulling from edgex-devops/py-git-semver 18:17:01 b85a868b505f: Pulling fs layer 18:17:01 e2be974225ed: Pulling fs layer 18:17:01 339a4e72a1f5: Pulling fs layer 18:17:01 988bab9f4d93: Pulling fs layer 18:17:01 1469e6f7b9e6: Pulling fs layer 18:17:01 eaf3925da568: Pulling fs layer 18:17:01 bab4dde63d76: Pulling fs layer 18:17:01 bde34c3a00c8: Pulling fs layer 18:17:01 b352a97aabf1: Pulling fs layer 18:17:01 4872d77fe225: Pulling fs layer 18:17:01 5851b861e8e6: Pulling fs layer 18:17:01 eaf3925da568: Waiting 18:17:01 bab4dde63d76: Waiting 18:17:01 b352a97aabf1: Waiting 18:17:01 4872d77fe225: Waiting 18:17:01 bde34c3a00c8: Waiting 18:17:01 5851b861e8e6: Waiting 18:17:01 988bab9f4d93: Waiting 18:17:01 e2be974225ed: Verifying Checksum 18:17:01 e2be974225ed: Download complete 18:17:01 988bab9f4d93: Download complete 18:17:01 1469e6f7b9e6: Verifying Checksum 18:17:01 1469e6f7b9e6: Download complete 18:17:01 eaf3925da568: Verifying Checksum 18:17:01 eaf3925da568: Download complete 18:17:01 339a4e72a1f5: Verifying Checksum 18:17:01 339a4e72a1f5: Download complete 18:17:01 bde34c3a00c8: Download complete 18:17:01 b352a97aabf1: Verifying Checksum 18:17:01 b352a97aabf1: Download complete 18:17:01 4872d77fe225: Verifying Checksum 18:17:01 4872d77fe225: Download complete 18:17:01 5851b861e8e6: Download complete 18:17:01 b85a868b505f: Verifying Checksum 18:17:01 b85a868b505f: Download complete 18:17:02 bab4dde63d76: Verifying Checksum 18:17:02 bab4dde63d76: Download complete 18:17:03 b85a868b505f: Pull complete 18:17:03 e2be974225ed: Pull complete 18:17:03 339a4e72a1f5: Pull complete 18:17:03 988bab9f4d93: Pull complete 18:17:03 1469e6f7b9e6: Pull complete 18:17:04 eaf3925da568: Pull complete 18:17:05 bab4dde63d76: Pull complete 18:17:05 bde34c3a00c8: Pull complete 18:17:05 b352a97aabf1: Pull complete 18:17:05 4872d77fe225: Pull complete 18:17:05 5851b861e8e6: Pull complete 18:17:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:05 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:17:05 $ 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 18:17:07 $ docker top 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff -eo pid,comm 18:17:07 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). 18:17:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:17:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:07 [ssh-agent] Looking for ssh-agent implementation... 18:17:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:07 $ docker exec 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff ssh-agent 18:17:08 SSH_AUTH_SOCK=/tmp/ssh-uoTcVNeRHTHN/agent.32 18:17:08 SSH_AGENT_PID=38 18:17:08 Running ssh-add (command line suppressed) 18:17:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2769375757668892666.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2769375757668892666.key) 18:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:08 + git tag --points-at HEAD [Pipeline] } 18:17:08 $ docker exec --env ******** --env ******** 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff ssh-agent -k 18:17:08 unset SSH_AUTH_SOCK; 18:17:08 unset SSH_AGENT_PID; 18:17:08 echo Agent pid 38 killed; 18:17:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:17:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:08 [ssh-agent] Looking for ssh-agent implementation... 18:17:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:08 $ docker exec 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff ssh-agent 18:17:08 SSH_AUTH_SOCK=/tmp/ssh-2LNxtDPl37Ag/agent.70 18:17:08 SSH_AGENT_PID=76 18:17:08 Running ssh-add (command line suppressed) 18:17:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18174940711567364317.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18174940711567364317.key) 18:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:09 + git semver init 18:17:09 2023-01-03 18:17:09,407 [run_init] DEBUG init version:0.0.0 force:False 18:17:09 2023-01-03 18:17:09,408 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 18:17:09 2023-01-03 18:17:09,408 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:17:09 2023-01-03 18:17:09,409 [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) 18:17:10 2023-01-03 18:17:10,506 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 18:17:10 2023-01-03 18:17:10,507 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 18:17:10 2023-01-03 18:17:10,507 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:17:10 2023-01-03 18:17:10,507 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:17:10 3.0.0-dev.3 [Pipeline] } 18:17:10 $ docker exec --env ******** --env ******** 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff ssh-agent -k 18:17:10 unset SSH_AUTH_SOCK; 18:17:10 unset SSH_AGENT_PID; 18:17:10 echo Agent pid 76 killed; 18:17:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:17:11 + git semver [Pipeline] } 18:17:11 $ docker stop --time=1 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff 18:17:12 $ docker rm -f --volumes 1599ac4ca973868f49968583234fad81016f4a5da2f2c507ba30912996df5fff [Pipeline] // withDockerContainer [Pipeline] sh 18:17:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:17:13 Stashed 1 file(s) [Pipeline] echo 18:17:13 [edgeXSemver]: initialized semver on version 3.0.0-dev.3 [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 18:17:13 provisioning config files... 18:17:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config213872666832029366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:13 ---> docker-login.sh 18:17:13 nexus3.edgexfoundry.org:10001 18:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:13 Configure a credential helper to remove this warning. See 18:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:13 18:17:13 Login Succeeded 18:17:13 nexus3.edgexfoundry.org:10002 18:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:13 Configure a credential helper to remove this warning. See 18:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:13 18:17:13 Login Succeeded 18:17:13 nexus3.edgexfoundry.org:10003 18:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:14 Configure a credential helper to remove this warning. See 18:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:14 18:17:14 Login Succeeded 18:17:14 nexus3.edgexfoundry.org:10004 18:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:14 Configure a credential helper to remove this warning. See 18:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:14 18:17:14 Login Succeeded 18:17:14 docker.io 18:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:14 Configure a credential helper to remove this warning. See 18:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:14 18:17:14 Login Succeeded 18:17:14 ---> docker-login.sh ends [Pipeline] } 18:17:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:14 ========================================================= 18:17:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:17:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:14 + 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 . 18:17:14 Sending build context to Docker daemon 10.78MB 18:17:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:17:14 Step 2/12 : FROM ${BASE} AS builder 18:17:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:17:14 213ec9aee27d: Pulling fs layer 18:17:14 4583459ba037: Pulling fs layer 18:17:14 93c1e223e6f2: Pulling fs layer 18:17:14 53926ce57604: Pulling fs layer 18:17:14 21b2b0c7a3f4: Pulling fs layer 18:17:14 22ff95d597cd: Pulling fs layer 18:17:14 12d6caf4c0d1: Pulling fs layer 18:17:14 96b7cbca73a9: Pulling fs layer 18:17:14 a7acece74701: Pulling fs layer 18:17:14 53926ce57604: Waiting 18:17:14 21b2b0c7a3f4: Waiting 18:17:14 22ff95d597cd: Waiting 18:17:14 12d6caf4c0d1: Waiting 18:17:14 96b7cbca73a9: Waiting 18:17:14 a7acece74701: Waiting 18:17:14 93c1e223e6f2: Verifying Checksum 18:17:14 93c1e223e6f2: Download complete 18:17:14 4583459ba037: Verifying Checksum 18:17:14 4583459ba037: Download complete 18:17:14 21b2b0c7a3f4: Verifying Checksum 18:17:14 21b2b0c7a3f4: Download complete 18:17:14 22ff95d597cd: Verifying Checksum 18:17:14 213ec9aee27d: Download complete 18:17:14 12d6caf4c0d1: Verifying Checksum 18:17:14 12d6caf4c0d1: Download complete 18:17:14 213ec9aee27d: Pull complete 18:17:15 4583459ba037: Pull complete 18:17:15 93c1e223e6f2: Pull complete 18:17:15 a7acece74701: Verifying Checksum 18:17:15 a7acece74701: Download complete 18:17:15 53926ce57604: Verifying Checksum 18:17:15 53926ce57604: Download complete 18:17:15 96b7cbca73a9: Verifying Checksum 18:17:15 96b7cbca73a9: Download complete 18:17:19 53926ce57604: Pull complete 18:17:19 21b2b0c7a3f4: Pull complete 18:17:19 22ff95d597cd: Pull complete 18:17:19 12d6caf4c0d1: Pull complete 18:17:21 96b7cbca73a9: Pull complete 18:17:21 a7acece74701: Pull complete 18:17:21 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:17:21 ---> db6d94c90886 18:17:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:17:25 ---> Running in 62298efd0856 18:17:25 Removing intermediate container 62298efd0856 18:17:25 ---> bdf8992ccb6c 18:17:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:17:25 ---> Running in 046843bb594f 18:17:25 Removing intermediate container 046843bb594f 18:17:25 ---> ab42a5b8d402 18:17:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:17:25 ---> Running in ab6fbde1843c 18:17:26 Removing intermediate container ab6fbde1843c 18:17:26 ---> 60ae3a0197f1 18:17:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:17:26 ---> Running in 58ff1bcb8836 18:17:26 Removing intermediate container 58ff1bcb8836 18:17:26 ---> 434462a85e57 18:17:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:17:26 ---> Running in a322da71628c 18:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:17:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:17:26 (2/4) Installing libedit (20210910.3.1-r0) 18:17:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:17:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:17:26 Executing busybox-1.35.0-r17.trigger 18:17:26 OK: 216 MiB in 55 packages 18:17:27 Removing intermediate container a322da71628c 18:17:27 ---> 535a7c127a2e 18:17:27 Step 8/12 : WORKDIR /device-rest-go 18:17:27 ---> Running in 242a142a34e2 18:17:27 Removing intermediate container 242a142a34e2 18:17:27 ---> 039358cb5410 18:17:27 Step 9/12 : COPY go.mod vendor* ./ 18:17:27 ---> 76a96c15574d 18:17:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:27 ---> Running in e34f42248454 18:17:28 Still waiting to schedule task 18:17:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:17:49 Removing intermediate container e34f42248454 18:17:49 ---> 5ff1c9e59187 18:17:49 Step 11/12 : COPY . . 18:17:49 ---> 6f079822f229 18:17:49 Step 12/12 : RUN $MAKE 18:17:49 ---> Running in 4129139e27a5 18:17:49 noop 18:17:49 Removing intermediate container 4129139e27a5 18:17:49 ---> cd306bad709a 18:17:49 Successfully built cd306bad709a 18:17:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:49 + docker inspect -f . ci-base-image-x86_64 18:17:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:49 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:17:49 $ 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 18:17:50 $ docker top 3acca881c64eea09396c9769fbb41faafc1b498f632f22e16b639ee04abed252 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:50 + go version 18:17:50 go version go1.18.7 linux/amd64 [Pipeline] } 18:17:50 $ docker stop --time=1 3acca881c64eea09396c9769fbb41faafc1b498f632f22e16b639ee04abed252 18:17:51 $ docker rm -f --volumes 3acca881c64eea09396c9769fbb41faafc1b498f632f22e16b639ee04abed252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:52 + docker inspect -f . ci-base-image-x86_64 18:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:52 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:17:52 $ 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 18:17:52 $ docker top 4207d3b58006e5cb9f4ab2c975bd0ff3b5864952940f5ba51c8d3d026d98ce52 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:52 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 18:17:53 + make test 18:17:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:17:53 ? github.com/edgexfoundry/device-rest-go [no test files] 18:18:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:18:01 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 55.2% of statements 18:18:08 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." 18:18:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:18:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:18:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:18:11 ./bin/test-attribution-txt.sh [Pipeline] echo 18:18:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:18:11 $ docker stop --time=1 4207d3b58006e5cb9f4ab2c975bd0ff3b5864952940f5ba51c8d3d026d98ce52 18:18:13 $ docker rm -f --volumes 4207d3b58006e5cb9f4ab2c975bd0ff3b5864952940f5ba51c8d3d026d98ce52 [Pipeline] // withDockerContainer [Pipeline] sh 18:18:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:18:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:18:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:18:15 + ls -al . 18:18:15 total 188 18:18:15 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:17 . 18:18:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:16 .. 18:18:15 -rw-rw-r-- 1 jenkins jenkins 151 Jan 3 18:16 .dockerignore 18:18:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:18 .git 18:18:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:16 .github 18:18:15 -rw-rw-r-- 1 jenkins jenkins 329 Jan 3 18:16 .gitignore 18:18:15 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:16 .golangci.yml 18:18:15 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:17 .semver 18:18:15 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 3 18:16 Attribution.txt 18:18:15 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 3 18:16 CHANGELOG.md 18:18:15 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 3 18:16 Dockerfile 18:18:15 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:16 GOVERNANCE.md 18:18:15 -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:16 Jenkinsfile 18:18:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:16 LICENSE 18:18:15 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 3 18:16 Makefile 18:18:15 -rw-rw-r-- 1 jenkins jenkins 620 Jan 3 18:16 OWNERS.md 18:18:15 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 3 18:16 README.md 18:18:15 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:17 VERSION 18:18:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:16 bin 18:18:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:16 cmd 18:18:15 -rw-r--r-- 1 jenkins jenkins 9355 Jan 3 18:18 coverage.out 18:18:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:16 driver 18:18:15 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 3 18:16 go.mod 18:18:15 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 3 18:16 go.sum 18:18:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:16 snap 18:18:15 -rw-rw-r-- 1 jenkins jenkins 713 Jan 3 18:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:15 + 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=6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba --label arch=amd64 --label version=3.0.0-dev.3 . 18:18:15 Sending build context to Docker daemon 10.79MB 18:18:15 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:18:15 Step 2/25 : FROM ${BASE} AS builder 18:18:15 ---> cd306bad709a 18:18:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:18:15 ---> Running in b51573a3a12d 18:18:15 Removing intermediate container b51573a3a12d 18:18:15 ---> 657e531262db 18:18:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:15 ---> Running in 0c48e5149fa3 18:18:15 Removing intermediate container 0c48e5149fa3 18:18:15 ---> 54cb47fa2e98 18:18:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:18:15 ---> Running in f6f056077147 18:18:15 Removing intermediate container f6f056077147 18:18:15 ---> 7eebbfd1d460 18:18:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:18:15 ---> Running in bf942bb4f65c 18:18:15 Removing intermediate container bf942bb4f65c 18:18:15 ---> b9780634be52 18:18:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:15 ---> Running in 4889c4edfe95 18:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:18:16 OK: 216 MiB in 55 packages 18:18:16 Removing intermediate container 4889c4edfe95 18:18:16 ---> b5acdd7f13e7 18:18:16 Step 8/25 : WORKDIR /device-rest-go 18:18:16 ---> Running in 6b16bcc74a55 18:18:16 Removing intermediate container 6b16bcc74a55 18:18:16 ---> 204bbc22a35b 18:18:16 Step 9/25 : COPY go.mod vendor* ./ 18:18:17 ---> e11837f3cca9 18:18:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:17 ---> Running in 72ef2fbe2df6 18:18:17 Removing intermediate container 72ef2fbe2df6 18:18:17 ---> 429f8874a478 18:18:17 Step 11/25 : COPY . . 18:18:17 ---> 2de809b1a6ca 18:18:17 Step 12/25 : RUN $MAKE 18:18:17 ---> Running in e99e863aee43 18:18:18 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 18:18:40 Removing intermediate container e99e863aee43 18:18:40 ---> ff5bb2a003c6 18:18:40 Step 13/25 : FROM alpine:3.16 18:18:40 3.16: Pulling from library/alpine 18:18:40 ca7dd9ec2225: Pulling fs layer 18:18:40 ca7dd9ec2225: Download complete 18:18:40 ca7dd9ec2225: Pull complete 18:18:40 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:18:40 Status: Downloaded newer image for alpine:3.16 18:18:40 ---> bfe296a52501 18:18:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:18:40 ---> Running in 20a8563f6dfb 18:18:40 Removing intermediate container 20a8563f6dfb 18:18:40 ---> d1b839d53091 18:18:40 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:18:40 ---> Running in 240230e77aa8 18:18:40 Removing intermediate container 240230e77aa8 18:18:40 ---> 8ec267f2a309 18:18:40 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:18:40 ---> Running in 3c25eee86c8a 18:18:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:18:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:18:40 (1/6) Installing dumb-init (1.2.5-r1) 18:18:40 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:18:40 (3/6) Installing libsodium (1.0.18-r0) 18:18:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:18:40 (5/6) Installing libzmq (4.3.4-r0) 18:18:40 (6/6) Installing zeromq (4.3.4-r0) 18:18:40 Executing busybox-1.35.0-r17.trigger 18:18:40 OK: 8 MiB in 20 packages 18:18:40 Removing intermediate container 3c25eee86c8a 18:18:40 ---> 94935f8d3f3f 18:18:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:18:40 ---> 079cee22d9da 18:18:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:18:40 ---> 01694bcf069c 18:18:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:18:40 ---> 36cefbb2e9f8 18:18:40 Step 20/25 : EXPOSE 59986 18:18:40 ---> Running in ea99ff8c843c 18:18:40 Removing intermediate container ea99ff8c843c 18:18:40 ---> 57785914d102 18:18:40 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:18:40 ---> Running in 4b9631ecdb8d 18:18:40 Removing intermediate container 4b9631ecdb8d 18:18:40 ---> 6130a75c423c 18:18:40 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:18:40 ---> Running in 4bf62357f8ea 18:18:40 Removing intermediate container 4bf62357f8ea 18:18:40 ---> 628c715c208b 18:18:40 Step 23/25 : LABEL arch=amd64 18:18:40 ---> Running in 7d9297a9c4da 18:18:40 Removing intermediate container 7d9297a9c4da 18:18:40 ---> 5e560467e16c 18:18:40 Step 24/25 : LABEL git_sha=6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:18:40 ---> Running in bbf52be9ee0a 18:18:40 Removing intermediate container bbf52be9ee0a 18:18:40 ---> 689f0dd734e7 18:18:40 Step 25/25 : LABEL version=3.0.0-dev.3 18:18:40 ---> Running in 1f33f5faab7c 18:18:40 Removing intermediate container 1f33f5faab7c 18:18:40 ---> b0f3ec9da9f9 18:18:40 [Warning] One or more build-args [ARCH] were not consumed 18:18:40 Successfully built b0f3ec9da9f9 18:18:40 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:18:40 provisioning config files... 18:18:40 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17823782796496351860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:40 ---> docker-login.sh 18:18:40 nexus3.edgexfoundry.org:10001 18:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:40 Configure a credential helper to remove this warning. See 18:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:40 18:18:40 Login Succeeded 18:18:40 nexus3.edgexfoundry.org:10002 18:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:40 Configure a credential helper to remove this warning. See 18:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:40 18:18:40 Login Succeeded 18:18:40 nexus3.edgexfoundry.org:10003 18:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:41 Configure a credential helper to remove this warning. See 18:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:41 18:18:41 Login Succeeded 18:18:41 nexus3.edgexfoundry.org:10004 18:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:41 Configure a credential helper to remove this warning. See 18:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:41 18:18:41 Login Succeeded 18:18:41 docker.io 18:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:41 Configure a credential helper to remove this warning. See 18:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:41 18:18:41 Login Succeeded 18:18:41 ---> docker-login.sh ends [Pipeline] } 18:18:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:18:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:41 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:18:41 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:18:41 latest 18:18:41 3.0.0-dev.3 18:18:41 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 18:18:41 main 18:18:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:18:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:18:42 cdb0ff074f20: Preparing 18:18:42 32ceb1116fd5: Preparing 18:18:42 2e2b536b9222: Preparing 18:18:42 03a4e29df90e: Preparing 18:18:42 e5e13b0c77cb: Preparing 18:18:42 e5e13b0c77cb: Layer already exists 18:18:42 cdb0ff074f20: Pushed 18:18:42 32ceb1116fd5: Pushed 18:18:42 03a4e29df90e: Pushed 18:18:44 2e2b536b9222: Pushed 18:18:44 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba: digest: sha256:b63c8c7eb28b1a60584c6e452bf496b1da81be520efbfdb9a25331ae2ca290af size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:18:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:18:45 cdb0ff074f20: Preparing 18:18:45 32ceb1116fd5: Preparing 18:18:45 2e2b536b9222: Preparing 18:18:45 03a4e29df90e: Preparing 18:18:45 e5e13b0c77cb: Preparing 18:18:45 e5e13b0c77cb: Layer already exists 18:18:45 cdb0ff074f20: Layer already exists 18:18:45 2e2b536b9222: Layer already exists 18:18:45 03a4e29df90e: Layer already exists 18:18:45 32ceb1116fd5: Layer already exists 18:18:45 latest: digest: sha256:b63c8c7eb28b1a60584c6e452bf496b1da81be520efbfdb9a25331ae2ca290af size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.3 18:18:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:18:46 cdb0ff074f20: Preparing 18:18:46 32ceb1116fd5: Preparing 18:18:46 2e2b536b9222: Preparing 18:18:46 03a4e29df90e: Preparing 18:18:46 e5e13b0c77cb: Preparing 18:18:46 2e2b536b9222: Layer already exists 18:18:46 03a4e29df90e: Layer already exists 18:18:46 cdb0ff074f20: Layer already exists 18:18:46 e5e13b0c77cb: Layer already exists 18:18:46 32ceb1116fd5: Layer already exists 18:18:46 3.0.0-dev.3: digest: sha256:b63c8c7eb28b1a60584c6e452bf496b1da81be520efbfdb9a25331ae2ca290af size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 18:18:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:18:46 cdb0ff074f20: Preparing 18:18:46 32ceb1116fd5: Preparing 18:18:46 2e2b536b9222: Preparing 18:18:46 03a4e29df90e: Preparing 18:18:46 e5e13b0c77cb: Preparing 18:18:46 cdb0ff074f20: Layer already exists 18:18:46 e5e13b0c77cb: Layer already exists 18:18:46 03a4e29df90e: Layer already exists 18:18:46 32ceb1116fd5: Layer already exists 18:18:46 2e2b536b9222: Layer already exists 18:18:46 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3: digest: sha256:b63c8c7eb28b1a60584c6e452bf496b1da81be520efbfdb9a25331ae2ca290af size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 18:18:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:18:47 cdb0ff074f20: Preparing 18:18:47 32ceb1116fd5: Preparing 18:18:47 2e2b536b9222: Preparing 18:18:47 03a4e29df90e: Preparing 18:18:47 e5e13b0c77cb: Preparing 18:18:47 cdb0ff074f20: Layer already exists 18:18:47 32ceb1116fd5: Layer already exists 18:18:47 e5e13b0c77cb: Layer already exists 18:18:47 03a4e29df90e: Layer already exists 18:18:47 2e2b536b9222: Layer already exists 18:18:47 main: digest: sha256:b63c8c7eb28b1a60584c6e452bf496b1da81be520efbfdb9a25331ae2ca290af size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:18:47 ===================================================== [Pipeline] echo 18:18:47 taggedImages: 18:18:47 - nexus3.edgexfoundry.org:10004/device-rest:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:18:47 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:18:47 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.3 18:18:47 - nexus3.edgexfoundry.org:10004/device-rest:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 18:18:47 - 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 18:18:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:18:47 18:18:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:18:48 latest: Pulling from edgex-lftools-log-publisher 18:18:48 5eb5b503b376: Pulling fs layer 18:18:48 5c69ac0246d0: Pulling fs layer 18:18:48 ec43610c2a17: Pulling fs layer 18:18:48 3a2ae6a8a46f: Pulling fs layer 18:18:48 33b1e0a273af: Pulling fs layer 18:18:48 5d3b04190fa2: Pulling fs layer 18:18:48 2f39f015ded8: Pulling fs layer 18:18:48 33b1e0a273af: Waiting 18:18:48 2f39f015ded8: Waiting 18:18:48 5d3b04190fa2: Waiting 18:18:48 5c69ac0246d0: Download complete 18:18:48 3a2ae6a8a46f: Verifying Checksum 18:18:48 3a2ae6a8a46f: Download complete 18:18:48 33b1e0a273af: Verifying Checksum 18:18:48 33b1e0a273af: Download complete 18:18:48 5d3b04190fa2: Verifying Checksum 18:18:48 5d3b04190fa2: Download complete 18:18:48 ec43610c2a17: Verifying Checksum 18:18:48 ec43610c2a17: Download complete 18:18:48 5eb5b503b376: Verifying Checksum 18:18:48 5eb5b503b376: Download complete 18:18:48 2f39f015ded8: Download complete 18:18:49 5eb5b503b376: Pull complete 18:18:49 5c69ac0246d0: Pull complete 18:18:50 ec43610c2a17: Pull complete 18:18:50 3a2ae6a8a46f: Pull complete 18:18:50 33b1e0a273af: Pull complete 18:18:50 5d3b04190fa2: Pull complete 18:18:54 2f39f015ded8: Pull complete 18:18:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:18:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:18:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:54 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:18:54 $ 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 18:18:57 $ docker top 0052b76402b37f7ee91fc190b8120e2b1766a058f0aa7ecccf9fefc1a11fd62f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:57 ---> job-cost.sh 18:18:57 lf-activate-venv: SKIPPING 18:18:57 INFO: No Stack... 18:18:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:18:58 INFO: Archiving Costs [Pipeline] sh 18:18:58 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:18:58 + cut -d, -f6 [Pipeline] lock 18:18:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] 18:18:58 Resource [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] did not exist. Created. 18:18:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:18:58 + echo total: 0.2199999988079071 [Pipeline] stash 18:18:58 Stashed 1 file(s) [Pipeline] } 18:18:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 18:18:58 $ docker stop --time=1 0052b76402b37f7ee91fc190b8120e2b1766a058f0aa7ecccf9fefc1a11fd62f 18:19:00 $ docker rm -f --volumes 0052b76402b37f7ee91fc190b8120e2b1766a058f0aa7ecccf9fefc1a11fd62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:20:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-930 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:20:33 Running in /w/workspace/device-rest-go/75 [Pipeline] { [Pipeline] checkout 18:20:33 The recommended git tool is: git 18:20:40 using credential edgex-jenkins-ssh 18:20:40 Cloning the remote Git repository 18:20:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:20:40 > git init /w/workspace/device-rest-go/75 # timeout=10 18:20:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:20:40 > git --version # timeout=10 18:20:40 > git --version # 'git version 2.25.1' 18:20:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:20:43 Avoid second fetch 18:20:43 Checking out Revision 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (main) 18:20:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:20:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:20:43 > git config core.sparsecheckout # timeout=10 18:20:43 > git checkout -f 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 18:20:44 Commit message: "refactor!: Rename command line flags for the sake of consistency (#232)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:20:45 % Total % Received % Xferd Average Speed Time Time Time Current 18:20:45 Dload Upload Total Spent Left Speed 18:20:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 18:20:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:20:46 + sudo+ sudo tee /etc/docker/daemon.new 18:20:46 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:20:46 { 18:20:46 "registry-mirrors": [ 18:20:46 "https://nexus3.edgexfoundry.org:10001" 18:20:46 ], 18:20:46 "bip": "10.250.0.254/24", 18:20:46 "hosts": [ 18:20:46 "tcp://0.0.0.0:5555", 18:20:46 "unix:///var/run/docker.sock" 18:20:46 ], 18:20:46 "mtu": 1458, 18:20:46 "selinux-enabled": true, 18:20:46 "seccomp-profile": "/etc/docker/seccomp.json" 18:20:46 } [Pipeline] sh 18:20:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:20:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:21:05 provisioning config files... 18:21:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/75@tmp/config7096450376197671182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:21:05 ---> docker-login.sh 18:21:05 nexus3.edgexfoundry.org:10001 18:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:06 Configure a credential helper to remove this warning. See 18:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:06 18:21:06 Login Succeeded 18:21:06 nexus3.edgexfoundry.org:10002 18:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:06 Configure a credential helper to remove this warning. See 18:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:06 18:21:06 Login Succeeded 18:21:06 nexus3.edgexfoundry.org:10003 18:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:07 Configure a credential helper to remove this warning. See 18:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:07 18:21:07 Login Succeeded 18:21:07 nexus3.edgexfoundry.org:10004 18:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:07 Configure a credential helper to remove this warning. See 18:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:07 18:21:07 Login Succeeded 18:21:07 docker.io 18:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:08 Configure a credential helper to remove this warning. See 18:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:08 18:21:08 Login Succeeded 18:21:08 ---> docker-login.sh ends [Pipeline] } 18:21:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:21:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:21:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:21:08 ========================================================= 18:21:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:21:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:08 + 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 . 18:21:08 Sending build context to Docker daemon 129.5kB 18:21:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:21:09 Step 2/12 : FROM ${BASE} AS builder 18:21:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:21:09 9b18e9b68314: Pulling fs layer 18:21:09 35d82f9e3411: Pulling fs layer 18:21:09 e16973657156: Pulling fs layer 18:21:09 fc693d55d65f: Pulling fs layer 18:21:09 7e9fc2657dce: Pulling fs layer 18:21:09 dda99020689f: Pulling fs layer 18:21:09 db1c61fa0a46: Pulling fs layer 18:21:09 891c053d2c06: Pulling fs layer 18:21:09 dda99020689f: Waiting 18:21:09 db1c61fa0a46: Waiting 18:21:09 7e9fc2657dce: Waiting 18:21:09 fc693d55d65f: Waiting 18:21:09 891c053d2c06: Waiting 18:21:09 e16973657156: Verifying Checksum 18:21:09 e16973657156: Download complete 18:21:09 35d82f9e3411: Download complete 18:21:09 7e9fc2657dce: Verifying Checksum 18:21:09 7e9fc2657dce: Download complete 18:21:09 dda99020689f: Verifying Checksum 18:21:09 dda99020689f: Download complete 18:21:09 9b18e9b68314: Verifying Checksum 18:21:10 9b18e9b68314: Pull complete 18:21:10 891c053d2c06: Verifying Checksum 18:21:10 891c053d2c06: Download complete 18:21:11 35d82f9e3411: Pull complete 18:21:11 e16973657156: Pull complete 18:21:11 db1c61fa0a46: Verifying Checksum 18:21:11 db1c61fa0a46: Download complete 18:21:12 fc693d55d65f: Verifying Checksum 18:21:12 fc693d55d65f: Download complete 18:21:24 fc693d55d65f: Pull complete 18:21:24 7e9fc2657dce: Pull complete 18:21:24 dda99020689f: Pull complete 18:21:28 db1c61fa0a46: Pull complete 18:21:30 891c053d2c06: Pull complete 18:21:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:21:30 ---> f96f9c87975a 18:21:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:21:32 ---> Running in 00a596912090 18:21:32 Removing intermediate container 00a596912090 18:21:32 ---> 6a770e7150d4 18:21:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:32 ---> Running in 20118ef02347 18:21:32 Removing intermediate container 20118ef02347 18:21:32 ---> f7e237643e1d 18:21:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:21:33 ---> Running in a8fd6e731a7c 18:21:33 Removing intermediate container a8fd6e731a7c 18:21:33 ---> 45ed1c5ca50e 18:21:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:21:33 ---> Running in 3552f8b51e62 18:21:33 Removing intermediate container 3552f8b51e62 18:21:33 ---> 87308d10d6df 18:21:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:34 ---> Running in bd74dc6fe27c 18:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:21:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:21:36 (2/4) Installing libedit (20210910.3.1-r0) 18:21:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:21:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:21:36 Executing busybox-1.35.0-r17.trigger 18:21:36 OK: 226 MiB in 55 packages 18:21:37 Removing intermediate container bd74dc6fe27c 18:21:37 ---> 5c60359ec6fb 18:21:37 Step 8/12 : WORKDIR /device-rest-go 18:21:37 ---> Running in 85c94a3d77f6 18:21:38 Removing intermediate container 85c94a3d77f6 18:21:38 ---> c2b01e4ab423 18:21:38 Step 9/12 : COPY go.mod vendor* ./ 18:21:38 ---> 7a63409972a9 18:21:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:38 ---> Running in c419fcf09efd 18:22:35 Removing intermediate container c419fcf09efd 18:22:35 ---> 6c40b1dbd1c8 18:22:35 Step 11/12 : COPY . . 18:22:35 ---> f06fb07b621b 18:22:35 Step 12/12 : RUN $MAKE 18:22:35 ---> Running in a0939b2253b7 18:22:35 noop 18:22:35 Removing intermediate container a0939b2253b7 18:22:35 ---> af78fd422aef 18:22:35 Successfully built af78fd422aef 18:22:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:35 + docker inspect -f . ci-base-image-arm64 18:22:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-930 does not seem to be running inside a container 18:22:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/75 -v /w/workspace/device-rest-go/75:/w/workspace/device-rest-go/75:rw,z -v /w/workspace/device-rest-go/75@tmp:/w/workspace/device-rest-go/75@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 18:22:37 $ docker top 5b800b73c58a74b854aa0bcb3ce006101dece0c1b84fd64d4fb6f88131749e50 -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:38 + go version 18:22:38 go version go1.18.7 linux/arm64 [Pipeline] } 18:22:38 $ docker stop --time=1 5b800b73c58a74b854aa0bcb3ce006101dece0c1b84fd64d4fb6f88131749e50 18:22:39 $ docker rm -f --volumes 5b800b73c58a74b854aa0bcb3ce006101dece0c1b84fd64d4fb6f88131749e50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:40 + docker inspect -f . ci-base-image-arm64 18:22:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:40 prd-ubuntu20.04-docker-arm64-4c-16g-930 does not seem to be running inside a container 18:22:40 $ 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/75 -v /w/workspace/device-rest-go/75:/w/workspace/device-rest-go/75:rw,z -v /w/workspace/device-rest-go/75@tmp:/w/workspace/device-rest-go/75@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 18:22:41 $ docker top 8cbd23874f94e367aa2ac60eec0d85ce09c1b7ac955da3e913a34ec37fc91217 -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:42 + git config --global --add safe.directory /w/workspace/device-rest-go/75 [Pipeline] fileExists [Pipeline] sh 18:22:43 + make test 18:22:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:22:45 ? github.com/edgexfoundry/device-rest-go [no test files] 18:24:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:24:07 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 55.2% of statements 18:24:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:24:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:24:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:24:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:24:34 ./bin/test-attribution-txt.sh [Pipeline] echo 18:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:24:34 $ docker stop --time=1 8cbd23874f94e367aa2ac60eec0d85ce09c1b7ac955da3e913a34ec37fc91217 18:24:37 $ docker rm -f --volumes 8cbd23874f94e367aa2ac60eec0d85ce09c1b7ac955da3e913a34ec37fc91217 [Pipeline] // withDockerContainer [Pipeline] sh 18:24:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:24:37 Warning: overwriting stash ‘coverage-report’ 18:24:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:24:39 + ls -al . 18:24:39 total 184 18:24:39 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:22 . 18:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:20 .. 18:24:39 -rw-rw-r-- 1 jenkins jenkins 151 Jan 3 18:20 .dockerignore 18:24:39 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:20 .git 18:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:20 .github 18:24:39 -rw-rw-r-- 1 jenkins jenkins 329 Jan 3 18:20 .gitignore 18:24:39 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:20 .golangci.yml 18:24:39 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 3 18:20 Attribution.txt 18:24:39 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 3 18:20 CHANGELOG.md 18:24:39 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 3 18:20 Dockerfile 18:24:39 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:20 GOVERNANCE.md 18:24:39 -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:20 Jenkinsfile 18:24:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:20 LICENSE 18:24:39 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 3 18:20 Makefile 18:24:39 -rw-rw-r-- 1 jenkins jenkins 620 Jan 3 18:20 OWNERS.md 18:24:39 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 3 18:20 README.md 18:24:39 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:17 VERSION 18:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:20 bin 18:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:20 cmd 18:24:39 -rw-r--r-- 1 jenkins jenkins 9355 Jan 3 18:24 coverage.out 18:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:20 driver 18:24:39 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 3 18:20 go.mod 18:24:39 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 3 18:20 go.sum 18:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:20 snap 18:24:39 -rw-rw-r-- 1 jenkins jenkins 713 Jan 3 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:39 + 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=6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba --label arch=arm64 --label version=3.0.0-dev.3 . 18:24:39 Sending build context to Docker daemon 139.8kB 18:24:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:24:39 Step 2/25 : FROM ${BASE} AS builder 18:24:39 ---> af78fd422aef 18:24:39 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:24:39 ---> Running in 3883bef46007 18:24:40 Removing intermediate container 3883bef46007 18:24:40 ---> 214747ac12be 18:24:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:24:40 ---> Running in e205e232a31f 18:24:40 Removing intermediate container e205e232a31f 18:24:40 ---> 307e5b1a2b9b 18:24:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:24:40 ---> Running in 3d35b0172e52 18:24:40 Removing intermediate container 3d35b0172e52 18:24:40 ---> 8e406c501dbc 18:24:40 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:24:40 ---> Running in e539e857f6df 18:24:41 Removing intermediate container e539e857f6df 18:24:41 ---> 92d28e9d7a40 18:24:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:41 ---> Running in f7356eddb890 18:24:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:24:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:24:43 OK: 226 MiB in 55 packages 18:24:44 Removing intermediate container f7356eddb890 18:24:44 ---> e40e1acc14c2 18:24:44 Step 8/25 : WORKDIR /device-rest-go 18:24:44 ---> Running in 74edf12ff386 18:24:45 Removing intermediate container 74edf12ff386 18:24:45 ---> 58ef072e39b7 18:24:45 Step 9/25 : COPY go.mod vendor* ./ 18:24:45 ---> 9ca642a52fc9 18:24:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:45 ---> Running in da8103b43d73 18:24:47 Removing intermediate container da8103b43d73 18:24:47 ---> 260975311135 18:24:47 Step 11/25 : COPY . . 18:24:48 ---> 4a44dca91863 18:24:48 Step 12/25 : RUN $MAKE 18:24:48 ---> Running in 5a27eea83607 18:24:49 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 18:27:26 Removing intermediate container 5a27eea83607 18:27:26 ---> 6acccf417918 18:27:26 Step 13/25 : FROM alpine:3.16 18:27:26 3.16: Pulling from library/alpine 18:27:26 6875df1f5354: Pulling fs layer 18:27:26 6875df1f5354: Verifying Checksum 18:27:26 6875df1f5354: Download complete 18:27:26 6875df1f5354: Pull complete 18:27:26 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:27:26 Status: Downloaded newer image for alpine:3.16 18:27:26 ---> 2b4661558fb8 18:27:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:27:26 ---> Running in 3da141e6dee8 18:27:26 Removing intermediate container 3da141e6dee8 18:27:26 ---> 551bd8e8b376 18:27:26 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:27:26 ---> Running in 582b0b8ddc1d 18:27:26 Removing intermediate container 582b0b8ddc1d 18:27:26 ---> ec0d4c97f300 18:27:26 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:27:26 ---> Running in 541c2def0997 18:27:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:27:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:27:26 (1/6) Installing dumb-init (1.2.5-r1) 18:27:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:27:26 (3/6) Installing libsodium (1.0.18-r0) 18:27:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:27:26 (5/6) Installing libzmq (4.3.4-r0) 18:27:26 (6/6) Installing zeromq (4.3.4-r0) 18:27:26 Executing busybox-1.35.0-r17.trigger 18:27:26 OK: 8 MiB in 20 packages 18:27:27 Removing intermediate container 541c2def0997 18:27:27 ---> 26f5f1594126 18:27:27 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:27:28 ---> a3e3cc0fe062 18:27:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:27:29 ---> 4036229c3c90 18:27:29 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:27:29 ---> 8abce552558c 18:27:29 Step 20/25 : EXPOSE 59986 18:27:29 ---> Running in 0f28c3f231f0 18:27:29 Removing intermediate container 0f28c3f231f0 18:27:29 ---> ed322e6cc543 18:27:29 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:27:30 ---> Running in 3fd3c7d650b2 18:27:30 Removing intermediate container 3fd3c7d650b2 18:27:30 ---> 2f9f003ed15a 18:27:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:27:30 ---> Running in c721de693b16 18:27:30 Removing intermediate container c721de693b16 18:27:30 ---> c46d24e28861 18:27:30 Step 23/25 : LABEL arch=arm64 18:27:31 ---> Running in 928462d5f81d 18:27:31 Removing intermediate container 928462d5f81d 18:27:31 ---> 020433448731 18:27:31 Step 24/25 : LABEL git_sha=6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:27:31 ---> Running in 669cf3c3e766 18:27:31 Removing intermediate container 669cf3c3e766 18:27:31 ---> 648d88ef3b93 18:27:31 Step 25/25 : LABEL version=3.0.0-dev.3 18:27:31 ---> Running in 50f5dfe1c091 18:27:31 Removing intermediate container 50f5dfe1c091 18:27:31 ---> 1a6b911d1cb6 18:27:31 [Warning] One or more build-args [ARCH] were not consumed 18:27:31 Successfully built 1a6b911d1cb6 18:27:32 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:32 provisioning config files... 18:27:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/75@tmp/config8799359244369106155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:32 ---> docker-login.sh 18:27:32 nexus3.edgexfoundry.org:10001 18:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:32 Configure a credential helper to remove this warning. See 18:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:32 18:27:32 Login Succeeded 18:27:32 nexus3.edgexfoundry.org:10002 18:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:33 Configure a credential helper to remove this warning. See 18:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:33 18:27:33 Login Succeeded 18:27:33 nexus3.edgexfoundry.org:10003 18:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:33 Configure a credential helper to remove this warning. See 18:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:33 18:27:33 Login Succeeded 18:27:33 nexus3.edgexfoundry.org:10004 18:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:33 Configure a credential helper to remove this warning. See 18:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:33 18:27:33 Login Succeeded 18:27:33 docker.io 18:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:34 Configure a credential helper to remove this warning. See 18:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:34 18:27:34 Login Succeeded 18:27:34 ---> docker-login.sh ends [Pipeline] } 18:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:27:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:34 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:27:34 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:27:34 latest 18:27:34 3.0.0-dev.3 18:27:34 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 18:27:34 main 18:27:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:27:35 25602ebc9f01: Preparing 18:27:35 f379327f54a2: Preparing 18:27:35 763e5ccfeb4d: Preparing 18:27:35 2f830f346801: Preparing 18:27:35 17bec77d7fdc: Preparing 18:27:35 17bec77d7fdc: Layer already exists 18:27:35 25602ebc9f01: Pushed 18:27:35 f379327f54a2: Pushed 18:27:36 2f830f346801: Pushed 18:27:41 763e5ccfeb4d: Pushed 18:27:41 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba: digest: sha256:a193d1eb7c006589622e327acc3e3433fd9de634e3078fac90112e683b43c97c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:27:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:27:42 25602ebc9f01: Preparing 18:27:42 f379327f54a2: Preparing 18:27:42 763e5ccfeb4d: Preparing 18:27:42 2f830f346801: Preparing 18:27:42 17bec77d7fdc: Preparing 18:27:42 f379327f54a2: Layer already exists 18:27:42 763e5ccfeb4d: Layer already exists 18:27:42 25602ebc9f01: Layer already exists 18:27:42 17bec77d7fdc: Layer already exists 18:27:42 2f830f346801: Layer already exists 18:27:42 latest: digest: sha256:a193d1eb7c006589622e327acc3e3433fd9de634e3078fac90112e683b43c97c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.3 18:27:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:27:43 25602ebc9f01: Preparing 18:27:43 f379327f54a2: Preparing 18:27:43 763e5ccfeb4d: Preparing 18:27:43 2f830f346801: Preparing 18:27:43 17bec77d7fdc: Preparing 18:27:43 763e5ccfeb4d: Layer already exists 18:27:43 2f830f346801: Layer already exists 18:27:43 17bec77d7fdc: Layer already exists 18:27:43 25602ebc9f01: Layer already exists 18:27:43 f379327f54a2: Layer already exists 18:27:43 3.0.0-dev.3: digest: sha256:a193d1eb7c006589622e327acc3e3433fd9de634e3078fac90112e683b43c97c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 18:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:27:44 25602ebc9f01: Preparing 18:27:44 f379327f54a2: Preparing 18:27:44 763e5ccfeb4d: Preparing 18:27:44 2f830f346801: Preparing 18:27:44 17bec77d7fdc: Preparing 18:27:44 17bec77d7fdc: Layer already exists 18:27:44 2f830f346801: Layer already exists 18:27:44 25602ebc9f01: Layer already exists 18:27:44 763e5ccfeb4d: Layer already exists 18:27:44 f379327f54a2: Layer already exists 18:27:44 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3: digest: sha256:a193d1eb7c006589622e327acc3e3433fd9de634e3078fac90112e683b43c97c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 18:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:27:44 25602ebc9f01: Preparing 18:27:44 f379327f54a2: Preparing 18:27:44 763e5ccfeb4d: Preparing 18:27:44 2f830f346801: Preparing 18:27:44 17bec77d7fdc: Preparing 18:27:44 25602ebc9f01: Layer already exists 18:27:44 763e5ccfeb4d: Layer already exists 18:27:44 2f830f346801: Layer already exists 18:27:44 17bec77d7fdc: Layer already exists 18:27:44 f379327f54a2: Layer already exists 18:27:44 main: digest: sha256:a193d1eb7c006589622e327acc3e3433fd9de634e3078fac90112e683b43c97c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:27:45 ===================================================== [Pipeline] echo 18:27:45 taggedImages: 18:27:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba 18:27:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:27:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.3 18:27:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba-3.0.0-dev.3 18:27:45 - 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 18:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:27:45 18:27:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:27:45 arm64: Pulling from edgex-lftools-log-publisher 18:27:45 8998bd30e6a1: Pulling fs layer 18:27:45 04944245beec: Pulling fs layer 18:27:45 699f458cf7ca: Pulling fs layer 18:27:45 765212b225bb: Pulling fs layer 18:27:45 f23df028b6ca: Pulling fs layer 18:27:45 d65c8cfc05b1: Pulling fs layer 18:27:45 2437ff75d9bd: Pulling fs layer 18:27:45 f23df028b6ca: Waiting 18:27:45 d65c8cfc05b1: Waiting 18:27:45 2437ff75d9bd: Waiting 18:27:45 765212b225bb: Waiting 18:27:46 04944245beec: Verifying Checksum 18:27:46 04944245beec: Download complete 18:27:46 765212b225bb: Verifying Checksum 18:27:46 765212b225bb: Download complete 18:27:46 f23df028b6ca: Verifying Checksum 18:27:46 f23df028b6ca: Download complete 18:27:46 d65c8cfc05b1: Verifying Checksum 18:27:46 d65c8cfc05b1: Download complete 18:27:46 699f458cf7ca: Download complete 18:27:46 8998bd30e6a1: Download complete 18:27:49 2437ff75d9bd: Verifying Checksum 18:27:49 2437ff75d9bd: Download complete 18:27:50 8998bd30e6a1: Pull complete 18:27:51 04944245beec: Pull complete 18:27:52 699f458cf7ca: Pull complete 18:27:52 765212b225bb: Pull complete 18:27:53 f23df028b6ca: Pull complete 18:27:53 d65c8cfc05b1: Pull complete 18:28:08 2437ff75d9bd: Pull complete 18:28:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:28:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:08 prd-ubuntu20.04-docker-arm64-4c-16g-930 does not seem to be running inside a container 18:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/75 -v /w/workspace/device-rest-go/75:/w/workspace/device-rest-go/75:rw,z -v /w/workspace/device-rest-go/75@tmp:/w/workspace/device-rest-go/75@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 18:28:11 $ docker top adcf7901869f329b2a27b127b51ecc7a6d29446c99d75427d89468155780b54c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:12 ---> job-cost.sh 18:28:12 lf-activate-venv: SKIPPING 18:28:12 INFO: No Stack... 18:28:12 INFO: Retrieving Pricing Info for: v3-standard-4 18:28:13 INFO: Archiving Costs [Pipeline] sh 18:28:13 + cat /w/workspace/device-rest-go/75/archives/cost.csv 18:28:13 + cut -d, -f6 [Pipeline] lock 18:28:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] 18:28:14 Resource [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] did not exist. Created. 18:28:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:28:14 /w/workspace/device-rest-go/75@tmp/durable-1ec1a13e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:28:15 + echo total: 0.10999999940395355 [Pipeline] stash 18:28:15 Warning: overwriting stash ‘stack-cost’ 18:28:15 Stashed 1 file(s) [Pipeline] } 18:28:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 18:28:15 $ docker stop --time=1 adcf7901869f329b2a27b127b51ecc7a6d29446c99d75427d89468155780b54c 18:28:16 $ docker rm -f --volumes adcf7901869f329b2a27b127b51ecc7a6d29446c99d75427d89468155780b54c [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 18:28:17 provisioning config files... 18:28:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1996744296524502502tmp [Pipeline] { [Pipeline] sh 18:28:17 + set +x 18:28:17 + + bash -s -- 18:28:17 curl -s https://codecov.io/bash 18:28:17 18:28:17 _____ _ 18:28:17 / ____| | | 18:28:17 | | ___ __| | ___ ___ _____ __ 18:28:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:28:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:28:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:28:17 Bash-1.0.6 18:28:17 18:28:17 18:28:17 ==> git version 2.25.1 found 18:28:17 ==> 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 18:28:17 Release-Date: 2020-01-08 18:28:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:28:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:28:17 ==> Jenkins CI detected. 18:28:17 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 18:28:17 project root: . 18:28:17 --> token set from env 18:28:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:28:17 ==> Running gcov in . (disable via -X gcov) 18:28:17 ==> Python coveragepy not found 18:28:17 ==> Searching for coverage reports in: 18:28:17 + . 18:28:17 -> Found 1 reports 18:28:17 ==> Detecting git/mercurial file structure 18:28:17 ==> Reading reports 18:28:17 + ./coverage.out bytes=9355 18:28:17 ==> Appending adjustments 18:28:17 https://docs.codecov.io/docs/fixing-reports 18:28:17 + Found adjustments 18:28:17 ==> Gzipping contents 18:28:17 4.0K /tmp/codecov.4aLzd6.gz 18:28:17 ==> Uploading reports 18:28:17 url: https://codecov.io 18:28:17 query: branch=main&commit=6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:28:17 -> Pinging Codecov 18:28:17 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=6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:28:18 -> Uploading to 18:28:18 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/4E5D53B4F1F92C436F7061BF334D961C/6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba/29db1b0d-87f4-4f12-9319-ddc7ef933187.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T182817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db7be51e08d5de1fa412fd1b54426cd1af96f488f523f77ea53c4ea098798b10 18:28:18 % Total % Received % Xferd Average Speed Time Time Time Current 18:28:18 Dload Upload Total Spent Left Speed 18:28:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 8336 --:--:-- --:--:-- --:--:-- 8336 18:28:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] } 18:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:28:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:28:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:28:18 18:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:28:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:28:19 df9b9388f04a: Pulling fs layer 18:28:19 52dc419b0ee2: Pulling fs layer 18:28:19 25bc292e5bac: Pulling fs layer 18:28:19 114826534d7a: Pulling fs layer 18:28:19 4657fd5d0bcf: Pulling fs layer 18:28:19 6ad1cebc031e: Pulling fs layer 18:28:19 8a3aa393b2d8: Pulling fs layer 18:28:19 6ad1cebc031e: Waiting 18:28:19 8a3aa393b2d8: Waiting 18:28:19 114826534d7a: Waiting 18:28:19 4657fd5d0bcf: Waiting 18:28:19 25bc292e5bac: Verifying Checksum 18:28:19 25bc292e5bac: Download complete 18:28:19 52dc419b0ee2: Verifying Checksum 18:28:19 52dc419b0ee2: Download complete 18:28:19 4657fd5d0bcf: Download complete 18:28:19 df9b9388f04a: Download complete 18:28:19 6ad1cebc031e: Verifying Checksum 18:28:19 6ad1cebc031e: Download complete 18:28:19 df9b9388f04a: Pull complete 18:28:19 52dc419b0ee2: Pull complete 18:28:19 25bc292e5bac: Pull complete 18:28:19 114826534d7a: Verifying Checksum 18:28:19 114826534d7a: Download complete 18:28:20 8a3aa393b2d8: Verifying Checksum 18:28:20 8a3aa393b2d8: Download complete 18:28:23 114826534d7a: Pull complete 18:28:23 4657fd5d0bcf: Pull complete 18:28:23 6ad1cebc031e: Pull complete 18:28:26 8a3aa393b2d8: Pull complete 18:28:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:28:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:28:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:26 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:28:26 $ 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 18:28:28 $ docker top 478df75f241e8599206d53d438ee8d51cd930d5f0f0816880533c5f90a7258a8 -eo pid,comm [Pipeline] { [Pipeline] echo 18:28:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 18:28:29 + set -o pipefail 18:28:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 18:28:34 18:28:34 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 18:28:34 18:28:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/dabbb12c-fad6-40e2-a285-0c40b3c2db37 18:28:34 18:28:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:28:34 18:28:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:28:34 18:28:34 18:28:34 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:28:34 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:28:34 More details here: https://snyk.co/ue1NS [Pipeline] } 18:28:34 $ docker stop --time=1 478df75f241e8599206d53d438ee8d51cd930d5f0f0816880533c5f90a7258a8 18:28:37 $ docker rm -f --volumes 478df75f241e8599206d53d438ee8d51cd930d5f0f0816880533c5f90a7258a8 [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 18:28:38 + git log --format=format:%s -1 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba [Pipeline] sh 18:28:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:28:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:38 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:28:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:28:39 $ docker top f88889901a56108e76ec331e6eed0516d8f67954c924c001e88ebc2b296337ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:28:39 [ssh-agent] Looking for ssh-agent implementation... 18:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:28:39 $ docker exec f88889901a56108e76ec331e6eed0516d8f67954c924c001e88ebc2b296337ad ssh-agent 18:28:39 SSH_AUTH_SOCK=/tmp/ssh-j8RKZzCPDgHA/agent.32 18:28:39 SSH_AGENT_PID=38 18:28:39 Running ssh-add (command line suppressed) 18:28:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11145138738701834579.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11145138738701834579.key) 18:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:28:40 + git semver tag 18:28:40 2023-01-03 18:28:40,278 [run_tag] DEBUG tag force:False 18:28:40 2023-01-03 18:28:40,278 [check_head_tag] DEBUG check head tag 18:28:40 2023-01-03 18:28:40,279 [execute] INFO git cat-file --batch-check 18:28:40 2023-01-03 18:28:40,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:28:40 2023-01-03 18:28:40,283 [execute] INFO git cat-file --batch 18:28:40 2023-01-03 18:28:40,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:28:40 2023-01-03 18:28:40,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:28:40 2023-01-03 18:28:40,302 [execute] INFO git tag -a v3.0.0-dev.3 -m v3.0.0-dev.3 18:28:40 2023-01-03 18:28:40,302 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.3', '-m', 'v3.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 18:28:40 2023-01-03 18:28:40,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:28:40 3.0.0-dev.3 [Pipeline] } 18:28:40 $ docker exec --env ******** --env ******** f88889901a56108e76ec331e6eed0516d8f67954c924c001e88ebc2b296337ad ssh-agent -k 18:28:40 unset SSH_AUTH_SOCK; 18:28:40 unset SSH_AGENT_PID; 18:28:40 echo Agent pid 38 killed; 18:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:28:40 + git semver [Pipeline] } 18:28:41 $ docker stop --time=1 f88889901a56108e76ec331e6eed0516d8f67954c924c001e88ebc2b296337ad 18:28:42 $ docker rm -f --volumes f88889901a56108e76ec331e6eed0516d8f67954c924c001e88ebc2b296337ad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:28:42 18:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:28:43 0.23.1-centos7: Pulling from edgex-lftools 18:28:43 ab5ef0e58194: Pulling fs layer 18:28:43 9712f1f96733: Pulling fs layer 18:28:43 63f879dbbcfc: Pulling fs layer 18:28:43 0d9ebad4ef96: Pulling fs layer 18:28:43 e9a5061849ea: Pulling fs layer 18:28:43 d747dcd14b5f: Pulling fs layer 18:28:43 2de7ff778b66: Pulling fs layer 18:28:43 0d9ebad4ef96: Waiting 18:28:43 e9a5061849ea: Waiting 18:28:43 d747dcd14b5f: Waiting 18:28:43 2de7ff778b66: Waiting 18:28:43 9712f1f96733: Verifying Checksum 18:28:43 9712f1f96733: Download complete 18:28:43 63f879dbbcfc: Verifying Checksum 18:28:43 63f879dbbcfc: Download complete 18:28:43 e9a5061849ea: Verifying Checksum 18:28:43 e9a5061849ea: Download complete 18:28:43 d747dcd14b5f: Verifying Checksum 18:28:43 d747dcd14b5f: Download complete 18:28:43 ab5ef0e58194: Verifying Checksum 18:28:43 ab5ef0e58194: Download complete 18:28:43 0d9ebad4ef96: Verifying Checksum 18:28:43 0d9ebad4ef96: Download complete 18:28:43 2de7ff778b66: Verifying Checksum 18:28:43 2de7ff778b66: Download complete 18:28:46 ab5ef0e58194: Pull complete 18:28:46 9712f1f96733: Pull complete 18:28:46 63f879dbbcfc: Pull complete 18:28:50 0d9ebad4ef96: Pull complete 18:28:50 e9a5061849ea: Pull complete 18:28:50 d747dcd14b5f: Pull complete 18:28:51 2de7ff778b66: Pull complete 18:28:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:28:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:51 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:28:51 $ 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 18:28:54 $ docker top 01cf2832a4f12f2013a05da3306f64c23632a280d8576e51d4ed286fe1160ad6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:28:54 provisioning config files... 18:28:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2009898810984769552tmp 18:28:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4886041183312764554tmp 18:28:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11457914685818492096tmp [Pipeline] { [Pipeline] echo 18:28:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:28:54 ---> sigul-configuration.sh 18:28:54 gpg: directory `/root/.gnupg' created 18:28:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:28:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:28:54 gpg: keyring `/root/.gnupg/secring.gpg' created 18:28:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:28:54 gpg: CAST5 encrypted data 18:28:54 gpg: encrypted with 1 passphrase 18:28:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:28:54 + mkdir /home/jenkins 18:28:54 + mkdir /home/jenkins/sigul [Pipeline] sh 18:28:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:28:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:28:55 ---> sigul-install.sh 18:28:55 Sigul already installed; skipping installation. [Pipeline] sh 18:28:55 + git tag --list 18:28:55 v1.0.0 18:28:55 v1.1.0 18:28:55 v1.1.1 18:28:55 v1.1.2 18:28:55 v1.2.0 18:28:55 v1.2.1 18:28:55 v2.0.0 18:28:55 v2.1.0 18:28:55 v2.1.1 18:28:55 v2.1.1-dev.1 18:28:55 v2.1.1-dev.2 18:28:55 v2.1.1-dev.3 18:28:55 v2.2.0 18:28:55 v2.2.1-dev.1 18:28:55 v2.2.1-dev.2 18:28:55 v2.2.1-dev.3 18:28:55 v2.2.1-dev.4 18:28:55 v2.2.1-dev.5 18:28:55 v2.2.1-dev.6 18:28:55 v2.2.1-dev.7 18:28:55 v2.2.1-dev.8 18:28:55 v2.2.1-dev.9 18:28:55 v2.3.0 18:28:55 v2.3.0-dev.10 18:28:55 v2.3.0-dev.11 18:28:55 v2.3.0-dev.12 18:28:55 v2.3.0-dev.13 18:28:55 v2.3.0-dev.14 18:28:55 v2.3.0-dev.15 18:28:55 v2.3.0-dev.16 18:28:55 v2.3.0-dev.17 18:28:55 v2.3.0-dev.18 18:28:55 v2.3.0-dev.19 18:28:55 v2.3.0-dev.20 18:28:55 v2.3.0-dev.21 18:28:55 v2.3.0-dev.22 18:28:55 v2.3.0-dev.23 18:28:55 v2.3.0-dev.24 18:28:55 v2.3.0-dev.25 18:28:55 v2.3.0-dev.9 18:28:55 v3.0.0-dev.1 18:28:55 v3.0.0-dev.2 18:28:55 v3.0.0-dev.3 [Pipeline] sh 18:28:56 + lftools sign git-tag v3.0.0-dev.3 18:28:56 Signing Git tag with Sigul... 18:28:56 Signing v3.0.0-dev.3 [Pipeline] echo 18:28:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:28:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:28:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:28:57 $ docker stop --time=1 01cf2832a4f12f2013a05da3306f64c23632a280d8576e51d4ed286fe1160ad6 18:28:58 $ docker rm -f --volumes 01cf2832a4f12f2013a05da3306f64c23632a280d8576e51d4ed286fe1160ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:28:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:28:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:59 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:28:59 $ 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 18:28:59 $ docker top 6253e9c504438b5fd7d4009676d078bacdcd57c92a77304387745fb658ad2420 -eo pid,comm 18:28:59 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). 18:28:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:28:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:28:59 [ssh-agent] Looking for ssh-agent implementation... 18:28:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:28:59 $ docker exec 6253e9c504438b5fd7d4009676d078bacdcd57c92a77304387745fb658ad2420 ssh-agent 18:28:59 SSH_AUTH_SOCK=/tmp/ssh-zy9GuETegffS/agent.32 18:28:59 SSH_AGENT_PID=38 18:28:59 Running ssh-add (command line suppressed) 18:29:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8754405442992920915.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8754405442992920915.key) 18:29:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:29:00 + git semver bump pre 18:29:00 2023-01-03 18:29:00,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:29:00 2023-01-03 18:29:00,543 [bump_version] DEBUG bumping version:3.0.0-dev.3 on axis:pre with prefix:dev 18:29:00 2023-01-03 18:29:00,543 [bump_version] DEBUG bumped version:3.0.0-dev.4 18:29:00 2023-01-03 18:29:00,543 [write_version] DEBUG write version:3.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 18:29:00 2023-01-03 18:29:00,543 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:29:00 2023-01-03 18:29:00,543 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:29:00 2023-01-03 18:29:00,545 [execute] INFO git cat-file --batch-check 18:29:00 2023-01-03 18:29:00,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:29:00 2023-01-03 18:29:00,551 [execute] INFO git cat-file --batch 18:29:00 2023-01-03 18:29:00,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:29:00 2023-01-03 18:29:00,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:29:00 3.0.0-dev.4 [Pipeline] } 18:29:00 $ docker exec --env ******** --env ******** 6253e9c504438b5fd7d4009676d078bacdcd57c92a77304387745fb658ad2420 ssh-agent -k 18:29:00 unset SSH_AUTH_SOCK; 18:29:00 unset SSH_AGENT_PID; 18:29:00 echo Agent pid 38 killed; 18:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:29:01 + git semver [Pipeline] } 18:29:01 $ docker stop --time=1 6253e9c504438b5fd7d4009676d078bacdcd57c92a77304387745fb658ad2420 18:29:02 $ docker rm -f --volumes 6253e9c504438b5fd7d4009676d078bacdcd57c92a77304387745fb658ad2420 [Pipeline] // withDockerContainer [Pipeline] sh 18:29:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:29:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:29:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:03 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:29:03 $ 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 18:29:03 $ docker top 53021fe6b6c84c21240f123b6f83c17ca633073d407e0eeb27e0a8c52b3d8494 -eo pid,comm 18:29:03 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). 18:29:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:29:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:29:03 [ssh-agent] Looking for ssh-agent implementation... 18:29:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:29:03 $ docker exec 53021fe6b6c84c21240f123b6f83c17ca633073d407e0eeb27e0a8c52b3d8494 ssh-agent 18:29:03 SSH_AUTH_SOCK=/tmp/ssh-tYggGMmlnrU4/agent.32 18:29:03 SSH_AGENT_PID=38 18:29:03 Running ssh-add (command line suppressed) 18:29:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8820533275285874448.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8820533275285874448.key) 18:29:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:29:04 + git semver push 18:29:04 2023-01-03 18:29:04,546 [run_push] DEBUG push 18:29:04 2023-01-03 18:29:04,547 [execute] INFO git cat-file --batch-check 18:29:04 2023-01-03 18:29:04,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:29:04 2023-01-03 18:29:04,550 [execute] INFO git rev-list 7002e66f1b4cca9fecf2c5c4918af265f3f0b742 -- 18:29:04 2023-01-03 18:29:04,550 [execute] DEBUG Popen(['git', 'rev-list', '7002e66f1b4cca9fecf2c5c4918af265f3f0b742', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:29:04 2023-01-03 18:29:04,557 [execute] INFO git fetch -v origin 18:29:04 2023-01-03 18:29:04,557 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:29:05 2023-01-03 18:29:05,081 [run_push] DEBUG no remote changes detected 18:29:05 2023-01-03 18:29:05,081 [execute] INFO git push origin semver 18:29:05 2023-01-03 18:29:05,082 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:29:06 2023-01-03 18:29:05,907 [run_push] DEBUG push all version tags 18:29:06 2023-01-03 18:29:05,907 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:29:06 2023-01-03 18:29:05,908 [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) 18:29:07 2023-01-03 18:29:06,707 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:29:07 3.0.0-dev.4 [Pipeline] } 18:29:07 $ docker exec --env ******** --env ******** 53021fe6b6c84c21240f123b6f83c17ca633073d407e0eeb27e0a8c52b3d8494 ssh-agent -k 18:29:07 unset SSH_AUTH_SOCK; 18:29:07 unset SSH_AGENT_PID; 18:29:07 echo Agent pid 38 killed; 18:29:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:29:07 + git semver [Pipeline] } 18:29:07 $ docker stop --time=1 53021fe6b6c84c21240f123b6f83c17ca633073d407e0eeb27e0a8c52b3d8494 18:29:09 $ docker rm -f --volumes 53021fe6b6c84c21240f123b6f83c17ca633073d407e0eeb27e0a8c52b3d8494 [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 18:29:09 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 18:29:09 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:29:09 total 16 18:29:09 drwxr-xr-x 3 root root 4096 Jan 3 18:18 . 18:29:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:28 .. 18:29:09 drwxr-xr-x 2 root root 4096 Jan 3 18:18 cost 18:29:09 -rw-r--r-- 1 root root 85 Jan 3 18:18 cost.csv 18:29:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 18:29:09 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:29:09 total 16 18:29:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:18 . 18:29:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:28 .. 18:29:09 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:18 cost 18:29:09 -rw-r--r-- 1 jenkins jenkins 85 Jan 3 18:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:29:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:29:10 ---> package-listing.sh 18:29:10 ++ facter osfamily 18:29:10 ++ tr '[:upper:]' '[:lower:]' 18:29:10 + OS_FAMILY=debian 18:29:10 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 18:29:10 + START_PACKAGES=/tmp/packages_start.txt 18:29:10 + END_PACKAGES=/tmp/packages_end.txt 18:29:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:29:10 + PACKAGES=/tmp/packages_start.txt 18:29:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:29:10 + PACKAGES=/tmp/packages_end.txt 18:29:10 + case "${OS_FAMILY}" in 18:29:10 + dpkg -l 18:29:10 + grep '^ii' 18:29:10 + '[' -f /tmp/packages_start.txt ']' 18:29:10 + '[' -f /tmp/packages_end.txt ']' 18:29:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:29:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:29:10 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 18:29:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 18:29:10 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 18:29:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:11 prd-ubuntu20.04-docker-8c-8g-928 does not seem to be running inside a container 18:29:11 $ 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 18:29:12 $ docker top 70d2b262e040e5fac249adc1bea37b30bff6958102fe19f06f30638739f89c23 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:12 + touch /tmp/pre-build-complete [Pipeline] sh 18:29:12 + mkdir -p /var/log/sysstat [Pipeline] sh 18:29:12 + ls /var/log/sa-host 18:29:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:13 provisioning config files... 18:29:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8420669317332214975tmp [Pipeline] { [Pipeline] echo 18:29:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:29:13 ---> create-netrc.sh [Pipeline] } 18:29:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:29:13 ---> python-tools-install.sh [Pipeline] echo 18:29:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:29:13 ---> sudo-logs.sh 18:29:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:29:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:29:14 ---> job-cost.sh 18:29:14 lf-activate-venv: SKIPPING 18:29:14 DEBUG: total: 0.2199999988079071 18:29:14 INFO: Retrieving Stack Cost... 18:29:14 INFO: Retrieving Pricing Info for: v3-standard-8 18:29:15 INFO: Archiving Costs [Pipeline] echo 18:29:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:29:15 ---> logs-deploy.sh 18:29:15 lf-activate-venv: SKIPPING 18:29:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/75 18:29:15 INFO: archiving workspace using pattern(s): 18:29:16 Archives upload complete. 18:29:16 INFO: archiving logs to Nexus