Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 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-ssh11548345522026274040.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-ssh4074649787041477437.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-ssh17602803640702529230.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-ssh16928809194413881785.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-ssh10159236279841421140.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-4148 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 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (main) Commit message: "feat: Initial commit for REST commands functionality update (#229)" > 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 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 > git rev-list --no-walk 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:42:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:42:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:42:06 ========================================================= 15:42:06 EdgeX Global Pipelines Version Info 15:42:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:42:07 ------------------- 15:42:07 stable info: 15:42:07 ------------------- 15:42:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:42:07 Message: update stable to v1.0.244 15:42:07 ------------------- 15:42:07 experimental info: 15:42:07 ------------------- 15:42:07 Commited By: **** collab-it+edgex@linuxfoundation.org 15:42:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:42:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83d0d95 [Pipeline] echo 15:42:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:08 provisioning config files... 15:42:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16458856277323906307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:08 ---> docker-login.sh 15:42:08 nexus3.edgexfoundry.org:10001 15:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:08 Configure a credential helper to remove this warning. See 15:42:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:08 15:42:08 Login Succeeded 15:42:08 nexus3.edgexfoundry.org:10002 15:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:09 Configure a credential helper to remove this warning. See 15:42:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:09 15:42:09 Login Succeeded 15:42:09 nexus3.edgexfoundry.org:10003 15:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:09 Configure a credential helper to remove this warning. See 15:42:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:09 15:42:09 Login Succeeded 15:42:09 nexus3.edgexfoundry.org:10004 15:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:09 Configure a credential helper to remove this warning. See 15:42:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:09 15:42:09 Login Succeeded 15:42:09 docker.io 15:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:09 Configure a credential helper to remove this warning. See 15:42:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:09 15:42:09 Login Succeeded 15:42:09 ---> docker-login.sh ends [Pipeline] } 15:42:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:42:10 + git rev-list -1 --merges 83d0d95cb873d118c9d8fcbcde0c6c79336165c6~1..83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo 15:42:10 -----------> git rev-list -1 --merges 83d0d95cb873d118c9d8fcbcde0c6c79336165c6~1..83d0d95cb873d118c9d8fcbcde0c6c79336165c6 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [false] [Pipeline] sh 15:42:10 + git log --format=format:%s -1 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo 15:42:10 ========================================================= 15:42:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:42:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:10 + git log --format=format:%s -1 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo 15:42:10 [semverPrep] GIT_COMMIT: 83d0d95cb873d118c9d8fcbcde0c6c79336165c6, Commit Message: feat: Initial commit for REST commands functionality update (#229) [Pipeline] echo 15:42:10 [semverPrep] This is not a build commit. [Pipeline] sh 15:42:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:42:11 + grep -v github /etc/ssh/ssh_known_hosts 15:42:11 + [ -e /tmp/ssh_known_hosts ] 15:42:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:42:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:42:11 sudo tee -a /etc/ssh/ssh_known_hosts 15:42:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:11 15:42:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:12 0.1.4: Pulling from edgex-devops/py-git-semver 15:42:12 b85a868b505f: Pulling fs layer 15:42:12 e2be974225ed: Pulling fs layer 15:42:12 339a4e72a1f5: Pulling fs layer 15:42:12 988bab9f4d93: Pulling fs layer 15:42:12 1469e6f7b9e6: Pulling fs layer 15:42:12 eaf3925da568: Pulling fs layer 15:42:12 bab4dde63d76: Pulling fs layer 15:42:12 bde34c3a00c8: Pulling fs layer 15:42:12 b352a97aabf1: Pulling fs layer 15:42:12 4872d77fe225: Pulling fs layer 15:42:12 5851b861e8e6: Pulling fs layer 15:42:12 bde34c3a00c8: Waiting 15:42:12 b352a97aabf1: Waiting 15:42:12 eaf3925da568: Waiting 15:42:12 bab4dde63d76: Waiting 15:42:12 988bab9f4d93: Waiting 15:42:12 e2be974225ed: Download complete 15:42:12 988bab9f4d93: Download complete 15:42:12 1469e6f7b9e6: Verifying Checksum 15:42:12 1469e6f7b9e6: Download complete 15:42:12 eaf3925da568: Verifying Checksum 15:42:12 eaf3925da568: Download complete 15:42:12 339a4e72a1f5: Verifying Checksum 15:42:12 339a4e72a1f5: Download complete 15:42:12 bde34c3a00c8: Verifying Checksum 15:42:12 bde34c3a00c8: Download complete 15:42:12 b352a97aabf1: Verifying Checksum 15:42:12 b352a97aabf1: Download complete 15:42:12 4872d77fe225: Download complete 15:42:12 b85a868b505f: Verifying Checksum 15:42:12 b85a868b505f: Download complete 15:42:12 5851b861e8e6: Download complete 15:42:12 bab4dde63d76: Verifying Checksum 15:42:12 bab4dde63d76: Download complete 15:42:13 b85a868b505f: Pull complete 15:42:14 e2be974225ed: Pull complete 15:42:14 339a4e72a1f5: Pull complete 15:42:14 988bab9f4d93: Pull complete 15:42:14 1469e6f7b9e6: Pull complete 15:42:15 eaf3925da568: Pull complete 15:42:17 bab4dde63d76: Pull complete 15:42:17 bde34c3a00c8: Pull complete 15:42:17 b352a97aabf1: Pull complete 15:42:17 4872d77fe225: Pull complete 15:42:17 5851b861e8e6: Pull complete 15:42:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:42:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:17 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:42:17 $ 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 15:42:18 $ docker top 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d -eo pid,comm 15:42:19 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). 15:42:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:19 [ssh-agent] Looking for ssh-agent implementation... 15:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:19 $ docker exec 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent 15:42:19 SSH_AUTH_SOCK=/tmp/ssh-Vl7w6XW2TeOD/agent.32 15:42:19 SSH_AGENT_PID=38 15:42:19 Running ssh-add (command line suppressed) 15:42:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12759486824336663697.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12759486824336663697.key) 15:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:19 + git tag --points-at HEAD [Pipeline] } 15:42:19 $ docker exec --env ******** --env ******** 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent -k 15:42:19 unset SSH_AUTH_SOCK; 15:42:19 unset SSH_AGENT_PID; 15:42:19 echo Agent pid 38 killed; 15:42:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:19 [ssh-agent] Looking for ssh-agent implementation... 15:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:19 $ docker exec 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent 15:42:20 SSH_AUTH_SOCK=/tmp/ssh-FMIGigAfkIMh/agent.71 15:42:20 SSH_AGENT_PID=77 15:42:20 Running ssh-add (command line suppressed) 15:42:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17983051327468136736.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17983051327468136736.key) 15:42:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:20 + git semver init 15:42:20 2023-01-31 15:42:20,699 [run_init] DEBUG init version:0.0.0 force:False 15:42:20 2023-01-31 15:42:20,700 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 15:42:20 2023-01-31 15:42:20,700 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:42:20 2023-01-31 15:42:20,700 [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) 15:42:22 2023-01-31 15:42:21,740 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 15:42:22 2023-01-31 15:42:21,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 15:42:22 2023-01-31 15:42:21,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:42:22 2023-01-31 15:42:21,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:42:22 3.0.0-dev.7 [Pipeline] } 15:42:22 $ docker exec --env ******** --env ******** 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent -k 15:42:22 unset SSH_AUTH_SOCK; 15:42:22 unset SSH_AGENT_PID; 15:42:22 echo Agent pid 77 killed; 15:42:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:22 + git semver [Pipeline] } 15:42:22 $ docker stop --time=1 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d 15:42:24 $ docker rm -f --volumes 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d [Pipeline] // withDockerContainer [Pipeline] sh 15:42:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:42:24 Stashed 1 file(s) [Pipeline] echo 15:42:24 [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [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 15:42:24 provisioning config files... 15:42:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10971767779542122165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:25 ---> docker-login.sh 15:42:25 nexus3.edgexfoundry.org:10001 15:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:25 Configure a credential helper to remove this warning. See 15:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:25 15:42:25 Login Succeeded 15:42:25 nexus3.edgexfoundry.org:10002 15:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:25 Configure a credential helper to remove this warning. See 15:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:25 15:42:25 Login Succeeded 15:42:25 nexus3.edgexfoundry.org:10003 15:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:25 Configure a credential helper to remove this warning. See 15:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:25 15:42:25 Login Succeeded 15:42:25 nexus3.edgexfoundry.org:10004 15:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:25 Configure a credential helper to remove this warning. See 15:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:25 15:42:25 Login Succeeded 15:42:25 docker.io 15:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:25 Configure a credential helper to remove this warning. See 15:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:25 15:42:25 Login Succeeded 15:42:25 ---> docker-login.sh ends [Pipeline] } 15:42:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:26 ========================================================= 15:42:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:42:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:26 + 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 . 15:42:26 Sending build context to Docker daemon 10.82MB 15:42:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:42:26 Step 2/12 : FROM ${BASE} AS builder 15:42:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:42:26 213ec9aee27d: Pulling fs layer 15:42:26 4583459ba037: Pulling fs layer 15:42:26 93c1e223e6f2: Pulling fs layer 15:42:26 53926ce57604: Pulling fs layer 15:42:26 21b2b0c7a3f4: Pulling fs layer 15:42:26 22ff95d597cd: Pulling fs layer 15:42:26 12d6caf4c0d1: Pulling fs layer 15:42:26 96b7cbca73a9: Pulling fs layer 15:42:26 a7acece74701: Pulling fs layer 15:42:26 22ff95d597cd: Waiting 15:42:26 12d6caf4c0d1: Waiting 15:42:26 96b7cbca73a9: Waiting 15:42:26 a7acece74701: Waiting 15:42:26 53926ce57604: Waiting 15:42:26 21b2b0c7a3f4: Waiting 15:42:26 93c1e223e6f2: Download complete 15:42:26 4583459ba037: Download complete 15:42:26 21b2b0c7a3f4: Download complete 15:42:26 22ff95d597cd: Verifying Checksum 15:42:26 22ff95d597cd: Download complete 15:42:26 213ec9aee27d: Download complete 15:42:26 12d6caf4c0d1: Verifying Checksum 15:42:26 12d6caf4c0d1: Download complete 15:42:26 213ec9aee27d: Pull complete 15:42:26 4583459ba037: Pull complete 15:42:26 93c1e223e6f2: Pull complete 15:42:27 a7acece74701: Verifying Checksum 15:42:27 a7acece74701: Download complete 15:42:27 53926ce57604: Download complete 15:42:28 96b7cbca73a9: Verifying Checksum 15:42:28 96b7cbca73a9: Download complete 15:42:32 53926ce57604: Pull complete 15:42:32 21b2b0c7a3f4: Pull complete 15:42:32 22ff95d597cd: Pull complete 15:42:32 12d6caf4c0d1: Pull complete 15:42:34 96b7cbca73a9: Pull complete 15:42:35 a7acece74701: Pull complete 15:42:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:42:35 ---> db6d94c90886 15:42:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:42:37 ---> Running in 0ee6c9dae842 15:42:37 Removing intermediate container 0ee6c9dae842 15:42:37 ---> f60463aa9e48 15:42:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:42:37 ---> Running in afccb9ec88f8 15:42:37 Removing intermediate container afccb9ec88f8 15:42:37 ---> cd81406354b0 15:42:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:42:37 ---> Running in 70cdc7b643b0 15:42:37 Removing intermediate container 70cdc7b643b0 15:42:37 ---> 042f96d84e1e 15:42:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:42:37 ---> Running in 56c8612109e5 15:42:37 Removing intermediate container 56c8612109e5 15:42:37 ---> 47e8f05c8fe9 15:42:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:37 ---> Running in c349bab8d0ae 15:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:42:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:42:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:42:38 (2/4) Installing libedit (20210910.3.1-r0) 15:42:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:42:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:42:38 Executing busybox-1.35.0-r17.trigger 15:42:38 OK: 216 MiB in 55 packages 15:42:39 Removing intermediate container c349bab8d0ae 15:42:39 ---> 3ccc8aab0330 15:42:39 Step 8/12 : WORKDIR /device-rest-go 15:42:39 ---> Running in 575424803bc3 15:42:39 Removing intermediate container 575424803bc3 15:42:39 ---> c2cb331d6c79 15:42:39 Step 9/12 : COPY go.mod vendor* ./ 15:42:39 ---> d79c03380bcb 15:42:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:39 ---> Running in acd9a953e2eb 15:42:39 Still waiting to schedule task 15:42:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4142’ 15:43:05 Removing intermediate container acd9a953e2eb 15:43:05 ---> 3c2c6fc905a5 15:43:05 Step 11/12 : COPY . . 15:43:05 ---> 507cbf00075c 15:43:05 Step 12/12 : RUN $MAKE 15:43:05 ---> Running in 260f12dad50f 15:43:05 noop 15:43:05 Removing intermediate container 260f12dad50f 15:43:05 ---> f740a5c62c05 15:43:05 Successfully built f740a5c62c05 15:43:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:06 + docker inspect -f . ci-base-image-x86_64 15:43:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:06 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:43:06 $ 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 15:43:06 $ docker top 8ee8a876b674dad54343c17956a0bdc713d246621d9604d5e6d13425627aac44 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:07 + go version 15:43:07 go version go1.18.7 linux/amd64 [Pipeline] } 15:43:07 $ docker stop --time=1 8ee8a876b674dad54343c17956a0bdc713d246621d9604d5e6d13425627aac44 15:43:08 $ docker rm -f --volumes 8ee8a876b674dad54343c17956a0bdc713d246621d9604d5e6d13425627aac44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:08 + docker inspect -f . ci-base-image-x86_64 15:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:08 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:43:08 $ 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 15:43:09 $ docker top 0bc362e4fdac6fb7f6fabdda0c06b1e6f84901414084ff46a125568441034bc9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 15:43:09 + make test 15:43:09 go test ./... -coverprofile=coverage.out ./... 15:43:10 ? github.com/edgexfoundry/device-rest-go [no test files] 15:43:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:43:20 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements 15:43:26 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." 15:43:26 go vet ./... 15:43:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:29 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:29 $ docker stop --time=1 0bc362e4fdac6fb7f6fabdda0c06b1e6f84901414084ff46a125568441034bc9 15:43:31 $ docker rm -f --volumes 0bc362e4fdac6fb7f6fabdda0c06b1e6f84901414084ff46a125568441034bc9 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:43:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:32 + ls -al . 15:43:32 total 196 15:43:32 drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 15:43 . 15:43:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:42 .. 15:43:32 -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 15:42 .dockerignore 15:43:32 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:43 .git 15:43:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:42 .github 15:43:32 -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 15:42 .gitignore 15:43:32 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 15:42 .golangci.yml 15:43:32 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 15:42 .semver 15:43:32 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 15:42 Attribution.txt 15:43:32 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 15:42 CHANGELOG.md 15:43:32 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 15:42 Dockerfile 15:43:32 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 15:42 GOVERNANCE.md 15:43:32 -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 15:42 Jenkinsfile 15:43:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 15:42 LICENSE 15:43:32 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 15:42 Makefile 15:43:32 -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 15:42 OWNERS.md 15:43:32 -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 15:42 README.md 15:43:32 -rw-rw-r-- 1 jenkins jenkins 11 Jan 31 15:42 VERSION 15:43:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:42 bin 15:43:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:42 cmd 15:43:32 -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 15:43 coverage.out 15:43:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:42 driver 15:43:32 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 15:42 go.mod 15:43:32 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 15:42 go.sum 15:43:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:42 snap 15:43:32 -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:33 + 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=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 --label arch=amd64 --label version=3.0.0-dev.7 . 15:43:33 Sending build context to Docker daemon 10.83MB 15:43:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:43:33 Step 2/25 : FROM ${BASE} AS builder 15:43:33 ---> f740a5c62c05 15:43:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:43:33 ---> Running in fbeb895b18c3 15:43:33 Removing intermediate container fbeb895b18c3 15:43:33 ---> 1f353fc761bc 15:43:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:43:33 ---> Running in a19c7f47dc39 15:43:33 Removing intermediate container a19c7f47dc39 15:43:33 ---> 628e70913f33 15:43:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:43:33 ---> Running in 924a112ff0bb 15:43:34 Removing intermediate container 924a112ff0bb 15:43:34 ---> 3cfe83f61195 15:43:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:43:34 ---> Running in 8547d3c3aebb 15:43:34 Removing intermediate container 8547d3c3aebb 15:43:34 ---> 3170a229a125 15:43:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:34 ---> Running in 6000c8ae1ea4 15:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:43:35 OK: 216 MiB in 55 packages 15:43:35 Removing intermediate container 6000c8ae1ea4 15:43:35 ---> ed78fbcda4e1 15:43:35 Step 8/25 : WORKDIR /device-rest-go 15:43:35 ---> Running in 1e59896b20d5 15:43:35 Removing intermediate container 1e59896b20d5 15:43:35 ---> 8e02091e93e1 15:43:35 Step 9/25 : COPY go.mod vendor* ./ 15:43:35 ---> 6563552db4cc 15:43:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:35 ---> Running in 03da61aaa240 15:43:36 Removing intermediate container 03da61aaa240 15:43:36 ---> 65a13adeb643 15:43:36 Step 11/25 : COPY . . 15:43:36 ---> 51526074614a 15:43:36 Step 12/25 : RUN $MAKE 15:43:37 ---> Running in cd4c8c2f6eff 15:43:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:43:59 Removing intermediate container cd4c8c2f6eff 15:43:59 ---> 3678ae1f4044 15:43:59 Step 13/25 : FROM alpine:3.16 15:43:59 3.16: Pulling from library/alpine 15:43:59 ca7dd9ec2225: Pulling fs layer 15:43:59 ca7dd9ec2225: Verifying Checksum 15:43:59 ca7dd9ec2225: Download complete 15:43:59 ca7dd9ec2225: Pull complete 15:43:59 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:43:59 Status: Downloaded newer image for alpine:3.16 15:43:59 ---> bfe296a52501 15:43:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:43:59 ---> Running in 9ed1bb2969af 15:43:59 Removing intermediate container 9ed1bb2969af 15:43:59 ---> 58812d970578 15:43:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:43:59 ---> Running in 47e73217097e 15:43:59 Removing intermediate container 47e73217097e 15:43:59 ---> 83499e1df8ce 15:43:59 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:43:59 ---> Running in a0f716c98ec3 15:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:43:59 (1/1) Installing dumb-init (1.2.5-r1) 15:43:59 Executing busybox-1.35.0-r17.trigger 15:43:59 OK: 6 MiB in 15 packages 15:43:59 Removing intermediate container a0f716c98ec3 15:43:59 ---> 4d1b0d9ac98a 15:43:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:43:59 ---> 5d7b1219c59a 15:43:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:43:59 ---> bb3fbe11cc29 15:43:59 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:43:59 ---> 8fabfab21708 15:43:59 Step 20/25 : EXPOSE 59986 15:43:59 ---> Running in 1824d5b7fdf2 15:43:59 Removing intermediate container 1824d5b7fdf2 15:43:59 ---> 4bd1361e9a71 15:43:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:43:59 ---> Running in 6999008ebfbf 15:43:59 Removing intermediate container 6999008ebfbf 15:43:59 ---> 751d1d3049b7 15:43:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:43:59 ---> Running in ce6e42d7dc1b 15:43:59 Removing intermediate container ce6e42d7dc1b 15:43:59 ---> d15f63580b20 15:43:59 Step 23/25 : LABEL arch=amd64 15:43:59 ---> Running in 036b7d9c1720 15:43:59 Removing intermediate container 036b7d9c1720 15:43:59 ---> 47bc3967ffb7 15:43:59 Step 24/25 : LABEL git_sha=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:43:59 ---> Running in 5719c4638c8c 15:43:59 Removing intermediate container 5719c4638c8c 15:43:59 ---> fbbbf8125231 15:43:59 Step 25/25 : LABEL version=3.0.0-dev.7 15:43:59 ---> Running in 29073d29dc54 15:43:59 Removing intermediate container 29073d29dc54 15:43:59 ---> 4b43da57cf9f 15:43:59 [Warning] One or more build-args [ARCH] were not consumed 15:43:59 Successfully built 4b43da57cf9f 15:43:59 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:59 provisioning config files... 15:43:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9746802375103425490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:00 ---> docker-login.sh 15:44:00 nexus3.edgexfoundry.org:10001 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 nexus3.edgexfoundry.org:10002 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 nexus3.edgexfoundry.org:10003 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 nexus3.edgexfoundry.org:10004 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 docker.io 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 ---> docker-login.sh ends [Pipeline] } 15:44:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:44:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:44:00 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:44:00 latest 15:44:00 3.0.0-dev.7 15:44:00 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 15:44:00 main 15:44:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:44:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:44:01 e22442b2de6f: Preparing 15:44:01 75e37725e6dd: Preparing 15:44:01 d6cf261cbfbd: Preparing 15:44:01 18c7211ae4f9: Preparing 15:44:01 e5e13b0c77cb: Preparing 15:44:01 e5e13b0c77cb: Layer already exists 15:44:01 18c7211ae4f9: Pushed 15:44:01 75e37725e6dd: Pushed 15:44:01 e22442b2de6f: Pushed 15:44:03 d6cf261cbfbd: Pushed 15:44:03 83d0d95cb873d118c9d8fcbcde0c6c79336165c6: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 15:44:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:44:04 e22442b2de6f: Preparing 15:44:04 75e37725e6dd: Preparing 15:44:04 d6cf261cbfbd: Preparing 15:44:04 18c7211ae4f9: Preparing 15:44:04 e5e13b0c77cb: Preparing 15:44:04 d6cf261cbfbd: Layer already exists 15:44:04 e5e13b0c77cb: Layer already exists 15:44:04 18c7211ae4f9: Layer already exists 15:44:04 e22442b2de6f: Layer already exists 15:44:04 75e37725e6dd: Layer already exists 15:44:04 latest: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.7 15:44:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:44:05 e22442b2de6f: Preparing 15:44:05 75e37725e6dd: Preparing 15:44:05 d6cf261cbfbd: Preparing 15:44:05 18c7211ae4f9: Preparing 15:44:05 e5e13b0c77cb: Preparing 15:44:05 d6cf261cbfbd: Layer already exists 15:44:05 e5e13b0c77cb: Layer already exists 15:44:05 e22442b2de6f: Layer already exists 15:44:05 75e37725e6dd: Layer already exists 15:44:05 18c7211ae4f9: Layer already exists 15:44:05 3.0.0-dev.7: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 15:44:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:44:05 e22442b2de6f: Preparing 15:44:05 75e37725e6dd: Preparing 15:44:05 d6cf261cbfbd: Preparing 15:44:05 18c7211ae4f9: Preparing 15:44:05 e5e13b0c77cb: Preparing 15:44:05 d6cf261cbfbd: Layer already exists 15:44:05 18c7211ae4f9: Layer already exists 15:44:05 e5e13b0c77cb: Layer already exists 15:44:05 75e37725e6dd: Layer already exists 15:44:05 e22442b2de6f: Layer already exists 15:44:05 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 15:44:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:44:06 e22442b2de6f: Preparing 15:44:06 75e37725e6dd: Preparing 15:44:06 d6cf261cbfbd: Preparing 15:44:06 18c7211ae4f9: Preparing 15:44:06 e5e13b0c77cb: Preparing 15:44:06 d6cf261cbfbd: Layer already exists 15:44:06 e5e13b0c77cb: Layer already exists 15:44:06 18c7211ae4f9: Layer already exists 15:44:06 75e37725e6dd: Layer already exists 15:44:06 e22442b2de6f: Layer already exists 15:44:06 main: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:44:06 ===================================================== [Pipeline] echo 15:44:06 taggedImages: 15:44:06 - nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:44:06 - nexus3.edgexfoundry.org:10004/device-rest:latest 15:44:06 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.7 15:44:06 - nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 15:44:06 - 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 15:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:06 15:44:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:07 latest: Pulling from edgex-lftools-log-publisher 15:44:07 5eb5b503b376: Pulling fs layer 15:44:07 5c69ac0246d0: Pulling fs layer 15:44:07 ec43610c2a17: Pulling fs layer 15:44:07 3a2ae6a8a46f: Pulling fs layer 15:44:07 33b1e0a273af: Pulling fs layer 15:44:07 5d3b04190fa2: Pulling fs layer 15:44:07 2f39f015ded8: Pulling fs layer 15:44:07 3a2ae6a8a46f: Waiting 15:44:07 33b1e0a273af: Waiting 15:44:07 5d3b04190fa2: Waiting 15:44:07 2f39f015ded8: Waiting 15:44:07 5c69ac0246d0: Verifying Checksum 15:44:07 5c69ac0246d0: Download complete 15:44:07 3a2ae6a8a46f: Verifying Checksum 15:44:07 3a2ae6a8a46f: Download complete 15:44:07 33b1e0a273af: Verifying Checksum 15:44:07 33b1e0a273af: Download complete 15:44:07 5d3b04190fa2: Download complete 15:44:07 ec43610c2a17: Verifying Checksum 15:44:07 ec43610c2a17: Download complete 15:44:07 5eb5b503b376: Verifying Checksum 15:44:07 5eb5b503b376: Download complete 15:44:08 2f39f015ded8: Download complete 15:44:08 5eb5b503b376: Pull complete 15:44:08 5c69ac0246d0: Pull complete 15:44:08 ec43610c2a17: Pull complete 15:44:09 3a2ae6a8a46f: Pull complete 15:44:09 33b1e0a273af: Pull complete 15:44:09 5d3b04190fa2: Pull complete 15:44:13 2f39f015ded8: Pull complete 15:44:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:13 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:44:13 $ 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 15:44:15 $ docker top 10bb4bab74bdc5f694c87781b0e851667c1b5331adae5cee95dd76008f05383e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:15 ---> job-cost.sh 15:44:15 lf-activate-venv: SKIPPING 15:44:15 INFO: No Stack... 15:44:16 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:16 INFO: Archiving Costs [Pipeline] sh 15:44:17 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 15:44:17 + cut -d, -f6 [Pipeline] lock 15:44:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] 15:44:17 Resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] did not exist. Created. 15:44:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:17 + echo total: 0.2199999988079071 [Pipeline] stash 15:44:17 Stashed 1 file(s) [Pipeline] } 15:44:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:17 $ docker stop --time=1 10bb4bab74bdc5f694c87781b0e851667c1b5331adae5cee95dd76008f05383e 15:44:18 $ docker rm -f --volumes 10bb4bab74bdc5f694c87781b0e851667c1b5331adae5cee95dd76008f05383e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:45:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4150 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 15:45:23 Running in /w/workspace/device-rest-go/79 [Pipeline] { [Pipeline] checkout 15:45:23 The recommended git tool is: git 15:45:29 using credential edgex-jenkins-ssh 15:45:29 Cloning the remote Git repository 15:45:29 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:45:29 > git init /w/workspace/device-rest-go/79 # timeout=10 15:45:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:45:30 > git --version # timeout=10 15:45:30 > git --version # 'git version 2.25.1' 15:45:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:45:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:45:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:33 Avoid second fetch 15:45:33 Checking out Revision 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (main) 15:45:33 > git config core.sparsecheckout # timeout=10 15:45:33 > git checkout -f 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 15:45:33 Commit message: "feat: Initial commit for REST commands functionality update (#229)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:45:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:34 Dload Upload Total Spent Left Speed 15:45:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 15:45:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:45:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:45:35 + sudo tee /etc/docker/daemon.new 15:45:35 { 15:45:35 "registry-mirrors": [ 15:45:35 "https://nexus3.edgexfoundry.org:10001" 15:45:35 ], 15:45:35 "bip": "10.250.0.254/24", 15:45:35 "hosts": [ 15:45:35 "tcp://0.0.0.0:5555", 15:45:35 "unix:///var/run/docker.sock" 15:45:35 ], 15:45:35 "mtu": 1458, 15:45:35 "selinux-enabled": true, 15:45:35 "seccomp-profile": "/etc/docker/seccomp.json" 15:45:35 } [Pipeline] sh 15:45:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:45:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:54 provisioning config files... 15:45:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/79@tmp/config4308937049958919664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:55 ---> docker-login.sh 15:45:55 nexus3.edgexfoundry.org:10001 15:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:55 Configure a credential helper to remove this warning. See 15:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:55 15:45:55 Login Succeeded 15:45:55 nexus3.edgexfoundry.org:10002 15:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:56 Configure a credential helper to remove this warning. See 15:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:56 15:45:56 Login Succeeded 15:45:56 nexus3.edgexfoundry.org:10003 15:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:56 Configure a credential helper to remove this warning. See 15:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:56 15:45:56 Login Succeeded 15:45:56 nexus3.edgexfoundry.org:10004 15:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:57 Configure a credential helper to remove this warning. See 15:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:57 15:45:57 Login Succeeded 15:45:57 docker.io 15:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:57 Configure a credential helper to remove this warning. See 15:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:57 15:45:57 Login Succeeded 15:45:57 ---> docker-login.sh ends [Pipeline] } 15:45:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:45:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:57 ========================================================= 15:45:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:45:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:58 + 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 . 15:45:58 Sending build context to Docker daemon 142.8kB 15:45:58 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:45:58 Step 2/12 : FROM ${BASE} AS builder 15:45:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:45:58 9b18e9b68314: Pulling fs layer 15:45:58 35d82f9e3411: Pulling fs layer 15:45:58 e16973657156: Pulling fs layer 15:45:58 fc693d55d65f: Pulling fs layer 15:45:58 7e9fc2657dce: Pulling fs layer 15:45:58 dda99020689f: Pulling fs layer 15:45:58 db1c61fa0a46: Pulling fs layer 15:45:58 891c053d2c06: Pulling fs layer 15:45:58 dda99020689f: Waiting 15:45:58 fc693d55d65f: Waiting 15:45:58 7e9fc2657dce: Waiting 15:45:58 db1c61fa0a46: Waiting 15:45:58 891c053d2c06: Waiting 15:45:58 e16973657156: Verifying Checksum 15:45:58 e16973657156: Download complete 15:45:58 35d82f9e3411: Download complete 15:45:58 7e9fc2657dce: Verifying Checksum 15:45:58 7e9fc2657dce: Download complete 15:45:58 dda99020689f: Verifying Checksum 15:45:58 dda99020689f: Download complete 15:45:58 9b18e9b68314: Verifying Checksum 15:45:59 9b18e9b68314: Pull complete 15:46:00 891c053d2c06: Verifying Checksum 15:46:00 891c053d2c06: Download complete 15:46:00 35d82f9e3411: Pull complete 15:46:00 e16973657156: Pull complete 15:46:01 db1c61fa0a46: Download complete 15:46:01 fc693d55d65f: Download complete 15:46:14 fc693d55d65f: Pull complete 15:46:14 7e9fc2657dce: Pull complete 15:46:14 dda99020689f: Pull complete 15:46:19 db1c61fa0a46: Pull complete 15:46:22 891c053d2c06: Pull complete 15:46:22 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:46:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:46:22 ---> f96f9c87975a 15:46:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:46:24 ---> Running in 980302d6e41f 15:46:24 Removing intermediate container 980302d6e41f 15:46:24 ---> 2cb4980525bf 15:46:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:46:24 ---> Running in 4198a6ec81d9 15:46:24 Removing intermediate container 4198a6ec81d9 15:46:24 ---> 9f53e18174c7 15:46:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:46:24 ---> Running in 5318f06d2864 15:46:25 Removing intermediate container 5318f06d2864 15:46:25 ---> bae4551267f4 15:46:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:46:25 ---> Running in a3dfa73100d0 15:46:25 Removing intermediate container a3dfa73100d0 15:46:25 ---> 62f62a2c5a34 15:46:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:46:25 ---> Running in 0215e5d3cd34 15:46:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:46:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:46:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:46:28 (2/4) Installing libedit (20210910.3.1-r0) 15:46:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:46:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:46:29 Executing busybox-1.35.0-r17.trigger 15:46:29 OK: 226 MiB in 55 packages 15:46:30 Removing intermediate container 0215e5d3cd34 15:46:30 ---> b6ce89972edd 15:46:30 Step 8/12 : WORKDIR /device-rest-go 15:46:30 ---> Running in 03cdcb686c44 15:46:30 Removing intermediate container 03cdcb686c44 15:46:30 ---> 13e3edd82959 15:46:30 Step 9/12 : COPY go.mod vendor* ./ 15:46:31 ---> fd8889396fc5 15:46:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:31 ---> Running in d2abc64b7ac1 15:47:42 Removing intermediate container d2abc64b7ac1 15:47:42 ---> 893dc2a00df2 15:47:42 Step 11/12 : COPY . . 15:47:42 ---> 4a8183bf815c 15:47:42 Step 12/12 : RUN $MAKE 15:47:42 ---> Running in b78751acf939 15:47:42 noop 15:47:42 Removing intermediate container b78751acf939 15:47:42 ---> 2653dcd9f06e 15:47:42 Successfully built 2653dcd9f06e 15:47:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:42 + docker inspect -f . ci-base-image-arm64 15:47:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:42 prd-ubuntu20.04-docker-arm64-4c-16g-4150 does not seem to be running inside a container 15:47:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/79 -v /w/workspace/device-rest-go/79:/w/workspace/device-rest-go/79:rw,z -v /w/workspace/device-rest-go/79@tmp:/w/workspace/device-rest-go/79@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 15:47:44 $ docker top 911c0fe1745809bc36d2c45ce855707892eff1c706f3d30c4ee30fce48d450e3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:45 + go version 15:47:45 go version go1.18.7 linux/arm64 [Pipeline] } 15:47:45 $ docker stop --time=1 911c0fe1745809bc36d2c45ce855707892eff1c706f3d30c4ee30fce48d450e3 15:47:46 $ docker rm -f --volumes 911c0fe1745809bc36d2c45ce855707892eff1c706f3d30c4ee30fce48d450e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:47 + docker inspect -f . ci-base-image-arm64 15:47:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:47 prd-ubuntu20.04-docker-arm64-4c-16g-4150 does not seem to be running inside a container 15:47:47 $ 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/79 -v /w/workspace/device-rest-go/79:/w/workspace/device-rest-go/79:rw,z -v /w/workspace/device-rest-go/79@tmp:/w/workspace/device-rest-go/79@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 15:47:48 $ docker top e52ddd7af710fb9a6c30ced16f6b34127b5d14cdec57431ee84066256323c999 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:49 + git config --global --add safe.directory /w/workspace/device-rest-go/79 [Pipeline] fileExists [Pipeline] sh 15:47:49 + make test 15:47:49 go test ./... -coverprofile=coverage.out ./... 15:47:51 ? github.com/edgexfoundry/device-rest-go [no test files] 15:49:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:49:13 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.9% of statements 15:49:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:49:13 go vet ./... 15:49:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:39 ./bin/test-attribution-txt.sh [Pipeline] echo 15:49:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:39 $ docker stop --time=1 e52ddd7af710fb9a6c30ced16f6b34127b5d14cdec57431ee84066256323c999 15:49:41 $ docker rm -f --volumes e52ddd7af710fb9a6c30ced16f6b34127b5d14cdec57431ee84066256323c999 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:42 Warning: overwriting stash ‘coverage-report’ 15:49:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:43 + ls -al . 15:49:43 total 192 15:49:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:47 . 15:49:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:45 .. 15:49:43 -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 15:45 .dockerignore 15:49:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:45 .git 15:49:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:45 .github 15:49:43 -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 15:45 .gitignore 15:49:43 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 15:45 .golangci.yml 15:49:43 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 15:45 Attribution.txt 15:49:43 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 15:45 CHANGELOG.md 15:49:43 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 15:45 Dockerfile 15:49:43 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 15:45 GOVERNANCE.md 15:49:43 -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 15:45 Jenkinsfile 15:49:43 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 15:45 LICENSE 15:49:43 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 15:45 Makefile 15:49:43 -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 15:45 OWNERS.md 15:49:43 -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 15:45 README.md 15:49:43 -rw-rw-r-- 1 jenkins jenkins 11 Jan 31 15:42 VERSION 15:49:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:45 bin 15:49:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:45 cmd 15:49:43 -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 15:49 coverage.out 15:49:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:45 driver 15:49:43 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 15:45 go.mod 15:49:43 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 15:45 go.sum 15:49:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:45 snap 15:49:43 -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:44 + 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=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 --label arch=arm64 --label version=3.0.0-dev.7 . 15:49:44 Sending build context to Docker daemon 157.2kB 15:49:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:49:44 Step 2/25 : FROM ${BASE} AS builder 15:49:44 ---> 2653dcd9f06e 15:49:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:49:44 ---> Running in cf2fe9c5aaef 15:49:45 Removing intermediate container cf2fe9c5aaef 15:49:45 ---> 3de692cc6b5f 15:49:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:49:45 ---> Running in df43d7867ba3 15:49:45 Removing intermediate container df43d7867ba3 15:49:45 ---> cfcd67d4513b 15:49:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:49:45 ---> Running in 274c3970d3c2 15:49:45 Removing intermediate container 274c3970d3c2 15:49:45 ---> b75ce4c71a48 15:49:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:49:46 ---> Running in 0b1150e1b66b 15:49:46 Removing intermediate container 0b1150e1b66b 15:49:46 ---> 08b6fdecdd29 15:49:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:46 ---> Running in b35649814ecc 15:49:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:49:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:49:49 OK: 226 MiB in 55 packages 15:49:50 Removing intermediate container b35649814ecc 15:49:50 ---> 8e47d553e6c6 15:49:50 Step 8/25 : WORKDIR /device-rest-go 15:49:50 ---> Running in 22216adbbb99 15:49:50 Removing intermediate container 22216adbbb99 15:49:50 ---> 22fa8a28369f 15:49:50 Step 9/25 : COPY go.mod vendor* ./ 15:49:51 ---> be0068a57dba 15:49:51 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:51 ---> Running in 03f2e7a5727e 15:49:53 Removing intermediate container 03f2e7a5727e 15:49:53 ---> 3e17e787adc0 15:49:53 Step 11/25 : COPY . . 15:49:54 ---> ae2d81504d63 15:49:54 Step 12/25 : RUN $MAKE 15:49:55 ---> Running in c3b28628813d 15:49:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:52:19 Removing intermediate container c3b28628813d 15:52:19 ---> bad0ee1975b4 15:52:19 Step 13/25 : FROM alpine:3.16 15:52:19 3.16: Pulling from library/alpine 15:52:19 6875df1f5354: Pulling fs layer 15:52:19 6875df1f5354: Verifying Checksum 15:52:19 6875df1f5354: Download complete 15:52:19 6875df1f5354: Pull complete 15:52:19 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:52:19 Status: Downloaded newer image for alpine:3.16 15:52:19 ---> 2b4661558fb8 15:52:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:52:19 ---> Running in 30b41cabeff0 15:52:19 Removing intermediate container 30b41cabeff0 15:52:19 ---> 785555b371ee 15:52:19 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:52:19 ---> Running in ceace293cc40 15:52:19 Removing intermediate container ceace293cc40 15:52:19 ---> 81416dc2cc7f 15:52:19 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:52:19 ---> Running in 314b8e324f95 15:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:52:21 (1/1) Installing dumb-init (1.2.5-r1) 15:52:21 Executing busybox-1.35.0-r17.trigger 15:52:21 OK: 5 MiB in 15 packages 15:52:22 Removing intermediate container 314b8e324f95 15:52:22 ---> c80b53cd9d2c 15:52:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:52:23 ---> b898510de70d 15:52:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:52:24 ---> 16a7acff1e6b 15:52:24 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:52:24 ---> 605122b5b5dc 15:52:24 Step 20/25 : EXPOSE 59986 15:52:24 ---> Running in d9784cb8e4d4 15:52:24 Removing intermediate container d9784cb8e4d4 15:52:24 ---> 912a2de0d24f 15:52:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:52:24 ---> Running in e312b899b63b 15:52:25 Removing intermediate container e312b899b63b 15:52:25 ---> 885a58c222f5 15:52:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:52:25 ---> Running in 949fc44ee5c4 15:52:25 Removing intermediate container 949fc44ee5c4 15:52:25 ---> 1eea94128bcc 15:52:25 Step 23/25 : LABEL arch=arm64 15:52:25 ---> Running in 38571676c65e 15:52:25 Removing intermediate container 38571676c65e 15:52:25 ---> 310e3b0073bf 15:52:25 Step 24/25 : LABEL git_sha=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:52:25 ---> Running in 468643a7f423 15:52:26 Removing intermediate container 468643a7f423 15:52:26 ---> 22d0111acc63 15:52:26 Step 25/25 : LABEL version=3.0.0-dev.7 15:52:26 ---> Running in a676a99495b6 15:52:26 Removing intermediate container a676a99495b6 15:52:26 ---> c157e0a028bc 15:52:26 [Warning] One or more build-args [ARCH] were not consumed 15:52:26 Successfully built c157e0a028bc 15:52:26 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 15:52:26 provisioning config files... 15:52:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/79@tmp/config18355693076905207507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:27 ---> docker-login.sh 15:52:27 nexus3.edgexfoundry.org:10001 15:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:27 Configure a credential helper to remove this warning. See 15:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:27 15:52:27 Login Succeeded 15:52:27 nexus3.edgexfoundry.org:10002 15:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:27 Configure a credential helper to remove this warning. See 15:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:27 15:52:27 Login Succeeded 15:52:27 nexus3.edgexfoundry.org:10003 15:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:28 Configure a credential helper to remove this warning. See 15:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:28 15:52:28 Login Succeeded 15:52:28 nexus3.edgexfoundry.org:10004 15:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:28 Configure a credential helper to remove this warning. See 15:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:28 15:52:28 Login Succeeded 15:52:28 docker.io 15:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:29 Configure a credential helper to remove this warning. See 15:52:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:29 15:52:29 Login Succeeded 15:52:29 ---> docker-login.sh ends [Pipeline] } 15:52:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:29 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 15:52:29 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:52:29 latest 15:52:29 3.0.0-dev.7 15:52:29 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 15:52:29 main 15:52:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:52:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:52:29 723a7ad57d7e: Preparing 15:52:29 755a3946d8ad: Preparing 15:52:29 91fd246c4f71: Preparing 15:52:29 b94e81168a40: Preparing 15:52:29 17bec77d7fdc: Preparing 15:52:29 17bec77d7fdc: Layer already exists 15:52:30 755a3946d8ad: Pushed 15:52:30 723a7ad57d7e: Pushed 15:52:30 b94e81168a40: Pushed 15:52:34 91fd246c4f71: Pushed 15:52:34 83d0d95cb873d118c9d8fcbcde0c6c79336165c6: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:52:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:52:35 723a7ad57d7e: Preparing 15:52:35 755a3946d8ad: Preparing 15:52:35 91fd246c4f71: Preparing 15:52:35 b94e81168a40: Preparing 15:52:35 17bec77d7fdc: Preparing 15:52:35 17bec77d7fdc: Layer already exists 15:52:35 91fd246c4f71: Layer already exists 15:52:35 723a7ad57d7e: Layer already exists 15:52:35 b94e81168a40: Layer already exists 15:52:35 755a3946d8ad: Layer already exists 15:52:35 latest: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.7 15:52:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:52:36 723a7ad57d7e: Preparing 15:52:36 755a3946d8ad: Preparing 15:52:36 91fd246c4f71: Preparing 15:52:36 b94e81168a40: Preparing 15:52:36 17bec77d7fdc: Preparing 15:52:36 17bec77d7fdc: Layer already exists 15:52:36 91fd246c4f71: Layer already exists 15:52:36 755a3946d8ad: Layer already exists 15:52:36 723a7ad57d7e: Layer already exists 15:52:36 b94e81168a40: Layer already exists 15:52:36 3.0.0-dev.7: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 15:52:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:52:37 723a7ad57d7e: Preparing 15:52:37 755a3946d8ad: Preparing 15:52:37 91fd246c4f71: Preparing 15:52:37 b94e81168a40: Preparing 15:52:37 17bec77d7fdc: Preparing 15:52:37 17bec77d7fdc: Layer already exists 15:52:37 91fd246c4f71: Layer already exists 15:52:37 755a3946d8ad: Layer already exists 15:52:37 723a7ad57d7e: Layer already exists 15:52:37 b94e81168a40: Layer already exists 15:52:37 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 15:52:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:52:38 723a7ad57d7e: Preparing 15:52:38 755a3946d8ad: Preparing 15:52:38 91fd246c4f71: Preparing 15:52:38 b94e81168a40: Preparing 15:52:38 17bec77d7fdc: Preparing 15:52:38 17bec77d7fdc: Layer already exists 15:52:38 91fd246c4f71: Layer already exists 15:52:38 755a3946d8ad: Layer already exists 15:52:38 723a7ad57d7e: Layer already exists 15:52:38 b94e81168a40: Layer already exists 15:52:38 main: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:38 ===================================================== [Pipeline] echo 15:52:38 taggedImages: 15:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 15:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.7 15:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 15:52:38 - 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 15:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:38 15:52:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:39 arm64: Pulling from edgex-lftools-log-publisher 15:52:39 8998bd30e6a1: Pulling fs layer 15:52:39 04944245beec: Pulling fs layer 15:52:39 699f458cf7ca: Pulling fs layer 15:52:39 765212b225bb: Pulling fs layer 15:52:39 f23df028b6ca: Pulling fs layer 15:52:39 d65c8cfc05b1: Pulling fs layer 15:52:39 2437ff75d9bd: Pulling fs layer 15:52:39 765212b225bb: Waiting 15:52:39 f23df028b6ca: Waiting 15:52:39 d65c8cfc05b1: Waiting 15:52:39 2437ff75d9bd: Waiting 15:52:39 04944245beec: Verifying Checksum 15:52:39 04944245beec: Download complete 15:52:39 765212b225bb: Download complete 15:52:39 f23df028b6ca: Download complete 15:52:39 d65c8cfc05b1: Verifying Checksum 15:52:39 d65c8cfc05b1: Download complete 15:52:39 699f458cf7ca: Verifying Checksum 15:52:39 699f458cf7ca: Download complete 15:52:39 8998bd30e6a1: Download complete 15:52:41 2437ff75d9bd: Verifying Checksum 15:52:41 2437ff75d9bd: Download complete 15:52:43 8998bd30e6a1: Pull complete 15:52:44 04944245beec: Pull complete 15:52:45 699f458cf7ca: Pull complete 15:52:45 765212b225bb: Pull complete 15:52:46 f23df028b6ca: Pull complete 15:52:46 d65c8cfc05b1: Pull complete 15:53:01 2437ff75d9bd: Pull complete 15:53:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:53:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:01 prd-ubuntu20.04-docker-arm64-4c-16g-4150 does not seem to be running inside a container 15:53:01 $ 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/79 -v /w/workspace/device-rest-go/79:/w/workspace/device-rest-go/79:rw,z -v /w/workspace/device-rest-go/79@tmp:/w/workspace/device-rest-go/79@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 15:53:04 $ docker top 9bed73e6048a56cdbbd05aa7f221d45a40c80e09b7e0a598ea3c6218f164ebc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:05 ---> job-cost.sh 15:53:05 lf-activate-venv: SKIPPING 15:53:05 INFO: No Stack... 15:53:05 INFO: Retrieving Pricing Info for: v3-standard-4 15:53:06 INFO: Archiving Costs [Pipeline] sh 15:53:07 + + cat /w/workspace/device-rest-go/79/archives/cost.csv 15:53:07 cut -d, -f6 [Pipeline] lock 15:53:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] 15:53:07 Resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] did not exist. Created. 15:53:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:53:07 /w/workspace/device-rest-go/79@tmp/durable-3e6706bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:53:08 + echo total: 0.10999999940395355 [Pipeline] stash 15:53:08 Warning: overwriting stash ‘stack-cost’ 15:53:08 Stashed 1 file(s) [Pipeline] } 15:53:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 15:53:08 $ docker stop --time=1 9bed73e6048a56cdbbd05aa7f221d45a40c80e09b7e0a598ea3c6218f164ebc3 15:53:10 $ docker rm -f --volumes 9bed73e6048a56cdbbd05aa7f221d45a40c80e09b7e0a598ea3c6218f164ebc3 [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 15:53:10 provisioning config files... 15:53:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10618139271630383458tmp [Pipeline] { [Pipeline] sh 15:53:10 + set +x 15:53:10 + curl -s https://codecov.io/bash 15:53:10 + bash -s -- 15:53:10 15:53:10 _____ _ 15:53:10 / ____| | | 15:53:10 | | ___ __| | ___ ___ _____ __ 15:53:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:53:10 | |___| (_) | (_| | __/ (_| (_) \ V / 15:53:10 \_____\___/ \__,_|\___|\___\___/ \_/ 15:53:10 Bash-1.0.6 15:53:10 15:53:10 15:53:10 ==> git version 2.25.1 found 15:53:10 ==> 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 15:53:10 Release-Date: 2020-01-08 15:53:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:53:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:53:10 ==> Jenkins CI detected. 15:53:10 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 15:53:10 project root: . 15:53:10 --> token set from env 15:53:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:53:10 ==> Running gcov in . (disable via -X gcov) 15:53:10 ==> Python coveragepy not found 15:53:10 ==> Searching for coverage reports in: 15:53:10 + . 15:53:10 -> Found 1 reports 15:53:10 ==> Detecting git/mercurial file structure 15:53:10 ==> Reading reports 15:53:11 + ./coverage.out bytes=13744 15:53:11 ==> Appending adjustments 15:53:11 https://docs.codecov.io/docs/fixing-reports 15:53:11 + Found adjustments 15:53:11 ==> Gzipping contents 15:53:11 4.0K /tmp/codecov.VxihOv.gz 15:53:11 ==> Uploading reports 15:53:11 url: https://codecov.io 15:53:11 query: branch=main&commit=83d0d95cb873d118c9d8fcbcde0c6c79336165c6&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:11 -> Pinging Codecov 15:53:11 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=83d0d95cb873d118c9d8fcbcde0c6c79336165c6&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:11 -> Uploading to 15:53:11 https://storage.googleapis.com/codecov/v4/raw/2023-01-31/4E5D53B4F1F92C436F7061BF334D961C/83d0d95cb873d118c9d8fcbcde0c6c79336165c6/1c6c9550-0e7a-49bb-a60b-e67dc708206b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T155311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21a818e1d038ff6156e8b5445d9802c5c7650ecafde1273ba27166a7dffb0751 15:53:11 % Total % Received % Xferd Average Speed Time Time Time Current 15:53:11 Dload Upload Total Spent Left Speed 15:53:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 11054 --:--:-- --:--:-- --:--:-- 11004 100 2443 0 0 100 2443 0 8819 --:--:-- --:--:-- --:--:-- 8787 15:53:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] } 15:53:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:53:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:53:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:12 15:53:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:53:12 df9b9388f04a: Pulling fs layer 15:53:12 52dc419b0ee2: Pulling fs layer 15:53:12 25bc292e5bac: Pulling fs layer 15:53:12 114826534d7a: Pulling fs layer 15:53:12 4657fd5d0bcf: Pulling fs layer 15:53:12 6ad1cebc031e: Pulling fs layer 15:53:12 8a3aa393b2d8: Pulling fs layer 15:53:12 6ad1cebc031e: Waiting 15:53:12 114826534d7a: Waiting 15:53:12 4657fd5d0bcf: Waiting 15:53:12 25bc292e5bac: Verifying Checksum 15:53:12 25bc292e5bac: Download complete 15:53:12 52dc419b0ee2: Verifying Checksum 15:53:12 52dc419b0ee2: Download complete 15:53:12 4657fd5d0bcf: Verifying Checksum 15:53:12 4657fd5d0bcf: Download complete 15:53:12 df9b9388f04a: Download complete 15:53:12 df9b9388f04a: Pull complete 15:53:12 52dc419b0ee2: Pull complete 15:53:12 6ad1cebc031e: Verifying Checksum 15:53:12 6ad1cebc031e: Download complete 15:53:12 25bc292e5bac: Pull complete 15:53:13 114826534d7a: Verifying Checksum 15:53:13 114826534d7a: Download complete 15:53:14 8a3aa393b2d8: Verifying Checksum 15:53:14 8a3aa393b2d8: Download complete 15:53:17 114826534d7a: Pull complete 15:53:17 4657fd5d0bcf: Pull complete 15:53:17 6ad1cebc031e: Pull complete 15:53:20 8a3aa393b2d8: Pull complete 15:53:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:20 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:53:20 $ 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 15:53:22 $ docker top 7d365156d2deed3ed510d4fef923476f047ca789662473c4d61ef3275b503fa5 -eo pid,comm [Pipeline] { [Pipeline] echo 15:53:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 15:53:23 + set -o pipefail 15:53:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 15:53:29 15:53:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 15:53:29 15:53:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/d28d89b8-5e3d-4c9a-921e-afb7e0f86a17 15:53:29 15:53:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:53:29 15:53:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:53:29 15:53:30 15:53:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:53:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:53:30 More details here: https://snyk.co/ue1NS [Pipeline] } 15:53:30 $ docker stop --time=1 7d365156d2deed3ed510d4fef923476f047ca789662473c4d61ef3275b503fa5 15:53:32 $ docker rm -f --volumes 7d365156d2deed3ed510d4fef923476f047ca789662473c4d61ef3275b503fa5 [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 15:53:33 + git log --format=format:%s -1 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] sh 15:53:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:33 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:53:33 $ 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 15:53:34 $ docker top 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f -eo pid,comm 15:53:34 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). 15:53:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:34 [ssh-agent] Looking for ssh-agent implementation... 15:53:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:34 $ docker exec 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f ssh-agent 15:53:34 SSH_AUTH_SOCK=/tmp/ssh-iz2nr86S4QVA/agent.32 15:53:34 SSH_AGENT_PID=38 15:53:34 Running ssh-add (command line suppressed) 15:53:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18105873299665935989.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18105873299665935989.key) 15:53:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:34 + git semver tag 15:53:35 2023-01-31 15:53:34,985 [run_tag] DEBUG tag force:False 15:53:35 2023-01-31 15:53:34,985 [check_head_tag] DEBUG check head tag 15:53:35 2023-01-31 15:53:34,986 [execute] INFO git cat-file --batch-check 15:53:35 2023-01-31 15:53:34,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 15:53:35 2023-01-31 15:53:34,990 [execute] INFO git cat-file --batch 15:53:35 2023-01-31 15:53:34,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 15:53:35 2023-01-31 15:53:35,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:53:35 2023-01-31 15:53:35,006 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 15:53:35 2023-01-31 15:53:35,006 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 15:53:35 2023-01-31 15:53:35,012 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:53:35 3.0.0-dev.7 [Pipeline] } 15:53:35 $ docker exec --env ******** --env ******** 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f ssh-agent -k 15:53:35 unset SSH_AUTH_SOCK; 15:53:35 unset SSH_AGENT_PID; 15:53:35 echo Agent pid 38 killed; 15:53:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:35 + git semver [Pipeline] } 15:53:35 $ docker stop --time=1 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f 15:53:37 $ docker rm -f --volumes 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:37 15:53:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:37 0.23.1-centos7: Pulling from edgex-lftools 15:53:37 ab5ef0e58194: Pulling fs layer 15:53:37 9712f1f96733: Pulling fs layer 15:53:37 63f879dbbcfc: Pulling fs layer 15:53:37 0d9ebad4ef96: Pulling fs layer 15:53:37 e9a5061849ea: Pulling fs layer 15:53:37 d747dcd14b5f: Pulling fs layer 15:53:37 2de7ff778b66: Pulling fs layer 15:53:37 0d9ebad4ef96: Waiting 15:53:37 e9a5061849ea: Waiting 15:53:37 9712f1f96733: Verifying Checksum 15:53:38 63f879dbbcfc: Verifying Checksum 15:53:38 63f879dbbcfc: Download complete 15:53:39 0d9ebad4ef96: Verifying Checksum 15:53:39 0d9ebad4ef96: Download complete 15:53:39 d747dcd14b5f: Download complete 15:53:39 ab5ef0e58194: Verifying Checksum 15:53:39 ab5ef0e58194: Download complete 15:53:39 e9a5061849ea: Verifying Checksum 15:53:39 e9a5061849ea: Download complete 15:53:39 2de7ff778b66: Verifying Checksum 15:53:39 2de7ff778b66: Download complete 15:53:41 ab5ef0e58194: Pull complete 15:53:41 9712f1f96733: Pull complete 15:53:42 63f879dbbcfc: Pull complete 15:53:46 0d9ebad4ef96: Pull complete 15:53:46 e9a5061849ea: Pull complete 15:53:46 d747dcd14b5f: Pull complete 15:53:48 2de7ff778b66: Pull complete 15:53:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:53:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:48 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:53:48 $ 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 15:53:50 $ docker top 53fa6d4cf3db9cbbfa546e0780bb77f58ee901746e059aae90879edcbda36b1e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:53:50 provisioning config files... 15:53:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16666297340913202500tmp 15:53:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8340172021379081465tmp 15:53:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17123185332857259697tmp [Pipeline] { [Pipeline] echo 15:53:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:53:50 ---> sigul-configuration.sh 15:53:50 gpg: directory `/root/.gnupg' created 15:53:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:53:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:53:50 gpg: keyring `/root/.gnupg/secring.gpg' created 15:53:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:53:50 gpg: CAST5 encrypted data 15:53:50 gpg: encrypted with 1 passphrase 15:53:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:53:51 + mkdir /home/jenkins 15:53:51 + mkdir /home/jenkins/sigul [Pipeline] sh 15:53:51 + 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 15:53:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:53:51 ---> sigul-install.sh 15:53:51 Sigul already installed; skipping installation. [Pipeline] sh 15:53:52 + git tag --list 15:53:52 v1.0.0 15:53:52 v1.1.0 15:53:52 v1.1.1 15:53:52 v1.1.2 15:53:52 v1.2.0 15:53:52 v1.2.1 15:53:52 v2.0.0 15:53:52 v2.1.0 15:53:52 v2.1.1 15:53:52 v2.1.1-dev.1 15:53:52 v2.1.1-dev.2 15:53:52 v2.1.1-dev.3 15:53:52 v2.2.0 15:53:52 v2.2.1-dev.1 15:53:52 v2.2.1-dev.2 15:53:52 v2.2.1-dev.3 15:53:52 v2.2.1-dev.4 15:53:52 v2.2.1-dev.5 15:53:52 v2.2.1-dev.6 15:53:52 v2.2.1-dev.7 15:53:52 v2.2.1-dev.8 15:53:52 v2.2.1-dev.9 15:53:52 v2.3.0 15:53:52 v2.3.0-dev.10 15:53:52 v2.3.0-dev.11 15:53:52 v2.3.0-dev.12 15:53:52 v2.3.0-dev.13 15:53:52 v2.3.0-dev.14 15:53:52 v2.3.0-dev.15 15:53:52 v2.3.0-dev.16 15:53:52 v2.3.0-dev.17 15:53:52 v2.3.0-dev.18 15:53:52 v2.3.0-dev.19 15:53:52 v2.3.0-dev.20 15:53:52 v2.3.0-dev.21 15:53:52 v2.3.0-dev.22 15:53:52 v2.3.0-dev.23 15:53:52 v2.3.0-dev.24 15:53:52 v2.3.0-dev.25 15:53:52 v2.3.0-dev.9 15:53:52 v3.0.0-dev.1 15:53:52 v3.0.0-dev.2 15:53:52 v3.0.0-dev.3 15:53:52 v3.0.0-dev.4 15:53:52 v3.0.0-dev.5 15:53:52 v3.0.0-dev.6 15:53:52 v3.0.0-dev.7 [Pipeline] sh 15:53:52 + lftools sign git-tag v3.0.0-dev.7 15:53:52 Signing Git tag with Sigul... 15:53:52 Signing v3.0.0-dev.7 [Pipeline] echo 15:53:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:53:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:53:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:53:53 $ docker stop --time=1 53fa6d4cf3db9cbbfa546e0780bb77f58ee901746e059aae90879edcbda36b1e 15:53:55 $ docker rm -f --volumes 53fa6d4cf3db9cbbfa546e0780bb77f58ee901746e059aae90879edcbda36b1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:53:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:55 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:53:55 $ 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 15:53:56 $ docker top 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:56 [ssh-agent] Looking for ssh-agent implementation... 15:53:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:56 $ docker exec 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 ssh-agent 15:53:56 SSH_AUTH_SOCK=/tmp/ssh-I3zsodRkVQBa/agent.32 15:53:56 SSH_AGENT_PID=38 15:53:56 Running ssh-add (command line suppressed) 15:53:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10290722807723404927.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10290722807723404927.key) 15:53:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:57 + git semver bump pre 15:53:57 2023-01-31 15:53:57,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:53:57 2023-01-31 15:53:57,326 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev 15:53:57 2023-01-31 15:53:57,326 [bump_version] DEBUG bumped version:3.0.0-dev.8 15:53:57 2023-01-31 15:53:57,326 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 15:53:57 2023-01-31 15:53:57,327 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:53:57 2023-01-31 15:53:57,327 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:53:57 2023-01-31 15:53:57,329 [execute] INFO git cat-file --batch-check 15:53:57 2023-01-31 15:53:57,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:57 2023-01-31 15:53:57,336 [execute] INFO git cat-file --batch 15:53:57 2023-01-31 15:53:57,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:53:57 2023-01-31 15:53:57,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:53:57 3.0.0-dev.8 [Pipeline] } 15:53:57 $ docker exec --env ******** --env ******** 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 ssh-agent -k 15:53:57 unset SSH_AUTH_SOCK; 15:53:57 unset SSH_AGENT_PID; 15:53:57 echo Agent pid 38 killed; 15:53:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:57 + git semver [Pipeline] } 15:53:58 $ docker stop --time=1 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 15:53:59 $ docker rm -f --volumes 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:00 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:54:00 $ 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 15:54:00 $ docker top ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 -eo pid,comm 15:54:00 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). 15:54:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:00 [ssh-agent] Looking for ssh-agent implementation... 15:54:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:00 $ docker exec ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 ssh-agent 15:54:00 SSH_AUTH_SOCK=/tmp/ssh-G6JNC7qJjGsG/agent.34 15:54:00 SSH_AGENT_PID=40 15:54:00 Running ssh-add (command line suppressed) 15:54:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2785522311813719724.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2785522311813719724.key) 15:54:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:01 + git semver push 15:54:01 2023-01-31 15:54:01,580 [run_push] DEBUG push 15:54:01 2023-01-31 15:54:01,581 [execute] INFO git cat-file --batch-check 15:54:01 2023-01-31 15:54:01,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:01 2023-01-31 15:54:01,586 [execute] INFO git rev-list 5ba4cf981aaea620d73957707b12131d449bf7c3 -- 15:54:01 2023-01-31 15:54:01,587 [execute] DEBUG Popen(['git', 'rev-list', '5ba4cf981aaea620d73957707b12131d449bf7c3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:54:01 2023-01-31 15:54:01,595 [execute] INFO git fetch -v origin 15:54:01 2023-01-31 15:54:01,595 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:54:02 2023-01-31 15:54:02,199 [run_push] DEBUG no remote changes detected 15:54:02 2023-01-31 15:54:02,199 [execute] INFO git push origin semver 15:54:02 2023-01-31 15:54:02,200 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:54:03 2023-01-31 15:54:03,486 [run_push] DEBUG push all version tags 15:54:03 2023-01-31 15:54:03,487 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:54:03 2023-01-31 15:54:03,487 [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) 15:54:05 2023-01-31 15:54:05,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:54:05 3.0.0-dev.8 [Pipeline] } 15:54:05 $ docker exec --env ******** --env ******** ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 ssh-agent -k 15:54:05 unset SSH_AUTH_SOCK; 15:54:05 unset SSH_AGENT_PID; 15:54:05 echo Agent pid 40 killed; 15:54:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:05 + git semver [Pipeline] } 15:54:06 $ docker stop --time=1 ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 15:54:07 $ docker rm -f --volumes ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 [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 15:54:08 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 15:54:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:54:08 total 16 15:54:08 drwxr-xr-x 3 root root 4096 Jan 31 15:44 . 15:54:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 15:53 .. 15:54:08 drwxr-xr-x 2 root root 4096 Jan 31 15:44 cost 15:54:08 -rw-r--r-- 1 root root 85 Jan 31 15:44 cost.csv 15:54:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 15:54:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:54:08 total 16 15:54:08 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 15:44 . 15:54:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 15:53 .. 15:54:08 drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 15:44 cost 15:54:08 -rw-r--r-- 1 jenkins jenkins 85 Jan 31 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:54:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:54:09 ---> package-listing.sh 15:54:09 ++ facter osfamily 15:54:09 ++ tr '[:upper:]' '[:lower:]' 15:54:09 + OS_FAMILY=debian 15:54:09 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 15:54:09 + START_PACKAGES=/tmp/packages_start.txt 15:54:09 + END_PACKAGES=/tmp/packages_end.txt 15:54:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:09 + PACKAGES=/tmp/packages_start.txt 15:54:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:54:09 + PACKAGES=/tmp/packages_end.txt 15:54:09 + case "${OS_FAMILY}" in 15:54:09 + dpkg -l 15:54:09 + grep '^ii' 15:54:09 + '[' -f /tmp/packages_start.txt ']' 15:54:09 + '[' -f /tmp/packages_end.txt ']' 15:54:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:54:09 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 15:54:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 15:54:09 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 15:54:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:10 prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container 15:54:10 $ 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 15:54:10 $ docker top c81a67ee9ec4aee99297a2ac3642caaafb9526354dc8b8d132017bd670389f1e -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:54:11 + mkdir -p /var/log/sysstat [Pipeline] sh 15:54:11 + ls /var/log/sa-host 15:54:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:11 provisioning config files... 15:54:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16367293993935072917tmp [Pipeline] { [Pipeline] echo 15:54:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:54:12 ---> create-netrc.sh [Pipeline] } 15:54:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:54:12 ---> python-tools-install.sh [Pipeline] echo 15:54:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:54:12 ---> sudo-logs.sh 15:54:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:54:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:54:13 ---> job-cost.sh 15:54:13 lf-activate-venv: SKIPPING 15:54:13 DEBUG: total: 0.2199999988079071 15:54:13 INFO: Retrieving Stack Cost... 15:54:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:54:14 INFO: Archiving Costs [Pipeline] echo 15:54:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:54:14 ---> logs-deploy.sh 15:54:14 lf-activate-venv: SKIPPING 15:54:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/79 15:54:14 INFO: archiving workspace using pattern(s): 15:54:16 Archives upload complete. 15:54:16 INFO: archiving logs to Nexus