Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 361e34ad238f1f05923baf29fae00e57c159c00c 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-ssh5400145476203285339.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-ssh5576879492021171810.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-ssh3566635342499561031.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-ssh9102025957342279725.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-ssh5213055951196326146.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-5946 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 > 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 Avoid second fetch Checking out Revision 361e34ad238f1f05923baf29fae00e57c159c00c (main) Commit message: "feat!: updates for common config (#251)" > git config core.sparsecheckout # timeout=10 > git checkout -f 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 > git rev-list --no-walk b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:40:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:40:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:40:54 ========================================================= 00:40:54 EdgeX Global Pipelines Version Info 00:40:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:40:55 ------------------- 00:40:55 stable info: 00:40:55 ------------------- 00:40:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:40:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:40:55 Message: update stable to v1.0.244 00:40:55 ------------------- 00:40:55 experimental info: 00:40:55 ------------------- 00:40:55 Commited By: **** collab-it+edgex@linuxfoundation.org 00:40:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:40:55 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:40:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:40:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:40:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:40:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 361e34a [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:40:56 provisioning config files... 00:40:56 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12975262007540425471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:56 ---> docker-login.sh 00:40:56 nexus3.edgexfoundry.org:10001 00:40:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:56 Configure a credential helper to remove this warning. See 00:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:56 00:40:56 Login Succeeded 00:40:56 nexus3.edgexfoundry.org:10002 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 nexus3.edgexfoundry.org:10003 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 nexus3.edgexfoundry.org:10004 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 docker.io 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 ---> docker-login.sh ends [Pipeline] } 00:40:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:40:58 + git rev-list -1 --merges 361e34ad238f1f05923baf29fae00e57c159c00c~1..361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo 00:40:58 -----------> git rev-list -1 --merges 361e34ad238f1f05923baf29fae00e57c159c00c~1..361e34ad238f1f05923baf29fae00e57c159c00c 361e34ad238f1f05923baf29fae00e57c159c00c [false] [Pipeline] sh 00:40:58 + git log --format=format:%s -1 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo 00:40:58 ========================================================= 00:40:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:40:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:58 + git log --format=format:%s -1 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo 00:40:58 [semverPrep] GIT_COMMIT: 361e34ad238f1f05923baf29fae00e57c159c00c, Commit Message: feat!: updates for common config (#251) [Pipeline] echo 00:40:58 [semverPrep] This is not a build commit. [Pipeline] sh 00:40:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:40:59 + grep -v github /etc/ssh/ssh_known_hosts 00:40:59 + [ -e /tmp/ssh_known_hosts ] 00:40:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:40:59 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:40:59 sudo tee -a /etc/ssh/ssh_known_hosts 00:40:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:59 00:40:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:59 0.1.4: Pulling from edgex-devops/py-git-semver 00:40:59 b85a868b505f: Pulling fs layer 00:40:59 e2be974225ed: Pulling fs layer 00:40:59 339a4e72a1f5: Pulling fs layer 00:40:59 988bab9f4d93: Pulling fs layer 00:40:59 1469e6f7b9e6: Pulling fs layer 00:40:59 eaf3925da568: Pulling fs layer 00:40:59 bab4dde63d76: Pulling fs layer 00:40:59 bde34c3a00c8: Pulling fs layer 00:40:59 b352a97aabf1: Pulling fs layer 00:40:59 4872d77fe225: Pulling fs layer 00:40:59 5851b861e8e6: Pulling fs layer 00:40:59 1469e6f7b9e6: Waiting 00:40:59 eaf3925da568: Waiting 00:40:59 bab4dde63d76: Waiting 00:40:59 988bab9f4d93: Waiting 00:40:59 b352a97aabf1: Waiting 00:40:59 4872d77fe225: Waiting 00:40:59 5851b861e8e6: Waiting 00:40:59 bde34c3a00c8: Waiting 00:41:00 e2be974225ed: Verifying Checksum 00:41:00 e2be974225ed: Download complete 00:41:00 988bab9f4d93: Download complete 00:41:00 1469e6f7b9e6: Verifying Checksum 00:41:00 1469e6f7b9e6: Download complete 00:41:00 eaf3925da568: Verifying Checksum 00:41:00 eaf3925da568: Download complete 00:41:00 339a4e72a1f5: Verifying Checksum 00:41:00 339a4e72a1f5: Download complete 00:41:00 bde34c3a00c8: Download complete 00:41:00 b352a97aabf1: Download complete 00:41:00 4872d77fe225: Verifying Checksum 00:41:00 4872d77fe225: Download complete 00:41:00 5851b861e8e6: Download complete 00:41:00 b85a868b505f: Verifying Checksum 00:41:00 b85a868b505f: Download complete 00:41:00 bab4dde63d76: Download complete 00:41:01 b85a868b505f: Pull complete 00:41:01 e2be974225ed: Pull complete 00:41:02 339a4e72a1f5: Pull complete 00:41:02 988bab9f4d93: Pull complete 00:41:04 1469e6f7b9e6: Pull complete 00:41:04 eaf3925da568: Pull complete 00:41:07 bab4dde63d76: Pull complete 00:41:08 bde34c3a00c8: Pull complete 00:41:08 b352a97aabf1: Pull complete 00:41:08 4872d77fe225: Pull complete 00:41:08 5851b861e8e6: Pull complete 00:41:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:41:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:08 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:41:08 $ 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 00:41:13 $ docker top c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 -eo pid,comm 00:41:13 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). 00:41:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:41:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:13 [ssh-agent] Looking for ssh-agent implementation... 00:41:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:13 $ docker exec c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent 00:41:13 SSH_AUTH_SOCK=/tmp/ssh-wHkEqrHg9BoX/agent.31 00:41:13 SSH_AGENT_PID=37 00:41:13 Running ssh-add (command line suppressed) 00:41:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16187269274413055000.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16187269274413055000.key) 00:41:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:14 + git tag --points-at HEAD [Pipeline] } 00:41:14 $ docker exec --env ******** --env ******** c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent -k 00:41:14 unset SSH_AUTH_SOCK; 00:41:14 unset SSH_AGENT_PID; 00:41:14 echo Agent pid 37 killed; 00:41:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:41:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:14 [ssh-agent] Looking for ssh-agent implementation... 00:41:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:14 $ docker exec c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent 00:41:14 SSH_AUTH_SOCK=/tmp/ssh-JhrCtljrL4HV/agent.70 00:41:14 SSH_AGENT_PID=76 00:41:14 Running ssh-add (command line suppressed) 00:41:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18382888746740919709.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18382888746740919709.key) 00:41:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:14 + git semver init 00:41:15 2023-02-15 00:41:15,073 [run_init] DEBUG init version:0.0.0 force:False 00:41:15 2023-02-15 00:41:15,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 00:41:15 2023-02-15 00:41:15,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 00:41:15 2023-02-15 00:41:15,074 [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) 00:41:16 2023-02-15 00:41:16,300 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 00:41:16 2023-02-15 00:41:16,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 00:41:16 2023-02-15 00:41:16,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:41:16 2023-02-15 00:41:16,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:41:16 3.0.0-dev.9 [Pipeline] } 00:41:16 $ docker exec --env ******** --env ******** c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent -k 00:41:16 unset SSH_AUTH_SOCK; 00:41:16 unset SSH_AGENT_PID; 00:41:16 echo Agent pid 76 killed; 00:41:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:41:16 + git semver [Pipeline] } 00:41:17 $ docker stop --time=1 c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 00:41:18 $ docker rm -f --volumes c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 [Pipeline] // withDockerContainer [Pipeline] sh 00:41:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:41:19 Stashed 1 file(s) [Pipeline] echo 00:41:19 [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [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 00:41:19 provisioning config files... 00:41:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1917421093649394498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:19 ---> docker-login.sh 00:41:19 nexus3.edgexfoundry.org:10001 00:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:19 Configure a credential helper to remove this warning. See 00:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:19 00:41:19 Login Succeeded 00:41:19 nexus3.edgexfoundry.org:10002 00:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:19 Configure a credential helper to remove this warning. See 00:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:19 00:41:19 Login Succeeded 00:41:19 nexus3.edgexfoundry.org:10003 00:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:20 Configure a credential helper to remove this warning. See 00:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:20 00:41:20 Login Succeeded 00:41:20 nexus3.edgexfoundry.org:10004 00:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:20 Configure a credential helper to remove this warning. See 00:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:20 00:41:20 Login Succeeded 00:41:20 docker.io 00:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:20 Configure a credential helper to remove this warning. See 00:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:20 00:41:20 Login Succeeded 00:41:20 ---> docker-login.sh ends [Pipeline] } 00:41:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:20 ========================================================= 00:41:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:41:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:21 + 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 . 00:41:21 Sending build context to Docker daemon 10.82MB 00:41:21 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:41:21 Step 2/12 : FROM ${BASE} AS builder 00:41:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:41:21 213ec9aee27d: Pulling fs layer 00:41:21 4583459ba037: Pulling fs layer 00:41:21 93c1e223e6f2: Pulling fs layer 00:41:21 53926ce57604: Pulling fs layer 00:41:21 21b2b0c7a3f4: Pulling fs layer 00:41:21 22ff95d597cd: Pulling fs layer 00:41:21 12d6caf4c0d1: Pulling fs layer 00:41:21 96b7cbca73a9: Pulling fs layer 00:41:21 a7acece74701: Pulling fs layer 00:41:21 53926ce57604: Waiting 00:41:21 21b2b0c7a3f4: Waiting 00:41:21 12d6caf4c0d1: Waiting 00:41:21 96b7cbca73a9: Waiting 00:41:21 a7acece74701: Waiting 00:41:21 22ff95d597cd: Waiting 00:41:21 93c1e223e6f2: Download complete 00:41:21 4583459ba037: Verifying Checksum 00:41:21 4583459ba037: Download complete 00:41:21 21b2b0c7a3f4: Download complete 00:41:21 22ff95d597cd: Verifying Checksum 00:41:21 22ff95d597cd: Download complete 00:41:21 213ec9aee27d: Verifying Checksum 00:41:21 213ec9aee27d: Download complete 00:41:21 12d6caf4c0d1: Verifying Checksum 00:41:21 12d6caf4c0d1: Download complete 00:41:21 213ec9aee27d: Pull complete 00:41:22 4583459ba037: Pull complete 00:41:22 a7acece74701: Verifying Checksum 00:41:22 a7acece74701: Download complete 00:41:22 93c1e223e6f2: Pull complete 00:41:22 96b7cbca73a9: Verifying Checksum 00:41:22 96b7cbca73a9: Download complete 00:41:22 53926ce57604: Verifying Checksum 00:41:22 53926ce57604: Download complete 00:41:26 53926ce57604: Pull complete 00:41:27 21b2b0c7a3f4: Pull complete 00:41:27 22ff95d597cd: Pull complete 00:41:27 12d6caf4c0d1: Pull complete 00:41:29 96b7cbca73a9: Pull complete 00:41:31 a7acece74701: Pull complete 00:41:31 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:41:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:41:31 ---> db6d94c90886 00:41:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:41:34 Still waiting to schedule task 00:41:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ 00:41:41 ---> Running in 68d542979553 00:41:41 Removing intermediate container 68d542979553 00:41:41 ---> dda0d95d744f 00:41:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:41:41 ---> Running in ee5447ba5b25 00:41:41 Removing intermediate container ee5447ba5b25 00:41:41 ---> eb1dd947d385 00:41:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:41:41 ---> Running in f86ce0a03eba 00:41:41 Removing intermediate container f86ce0a03eba 00:41:41 ---> 32a89cee519d 00:41:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:41:41 ---> Running in b36652f4c4ad 00:41:41 Removing intermediate container b36652f4c4ad 00:41:41 ---> a0aa3b9675e6 00:41:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:41:41 ---> Running in c6eac9cc634c 00:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:41:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:41:41 (2/4) Installing libedit (20210910.3.1-r0) 00:41:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:41:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:41:41 Executing busybox-1.35.0-r17.trigger 00:41:41 OK: 216 MiB in 55 packages 00:41:42 Removing intermediate container c6eac9cc634c 00:41:42 ---> 012f98d3fc6a 00:41:42 Step 8/12 : WORKDIR /device-rest-go 00:41:42 ---> Running in ca2994323c95 00:41:42 Removing intermediate container ca2994323c95 00:41:42 ---> 0fc79c4a6fd4 00:41:42 Step 9/12 : COPY go.mod vendor* ./ 00:41:42 ---> 1f28ad2fd031 00:41:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:41:42 ---> Running in 06752d217017 00:42:29 Removing intermediate container 06752d217017 00:42:29 ---> 92d1508c53c6 00:42:29 Step 11/12 : COPY . . 00:42:29 ---> 9e6af5596140 00:42:29 Step 12/12 : RUN $MAKE 00:42:29 ---> Running in 96272c4a842c 00:42:29 noop 00:42:29 Removing intermediate container 96272c4a842c 00:42:29 ---> 749327d289e1 00:42:29 Successfully built 749327d289e1 00:42:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:29 + docker inspect -f . ci-base-image-x86_64 00:42:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:29 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:42:29 $ 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 00:42:29 $ docker top b0aa407948db758d9822e93a7d186ab558bce8072b7a38b517c9814ca19ac110 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:30 + go version 00:42:30 go version go1.18.7 linux/amd64 [Pipeline] } 00:42:30 $ docker stop --time=1 b0aa407948db758d9822e93a7d186ab558bce8072b7a38b517c9814ca19ac110 00:42:31 $ docker rm -f --volumes b0aa407948db758d9822e93a7d186ab558bce8072b7a38b517c9814ca19ac110 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:31 + docker inspect -f . ci-base-image-x86_64 00:42:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:31 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:42:31 $ 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 00:42:32 $ docker top a030542fbf52d1458c3f09597ab985a18dbfb3d202da892fb2ea0c994fe88054 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 00:42:32 + make test 00:42:32 go test ./... -coverprofile=coverage.out ./... 00:42:33 ? github.com/edgexfoundry/device-rest-go [no test files] 00:42:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:42:43 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements 00:42:48 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." 00:42:48 go vet ./... 00:42:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:42:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:42:50 ./bin/test-attribution-txt.sh 00:42:50 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:42:50 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:42:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:42:50 $ docker stop --time=1 a030542fbf52d1458c3f09597ab985a18dbfb3d202da892fb2ea0c994fe88054 00:42:53 $ docker rm -f --volumes a030542fbf52d1458c3f09597ab985a18dbfb3d202da892fb2ea0c994fe88054 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:42:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:42:55 + ls -al . 00:42:55 total 188 00:42:55 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:42 . 00:42:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:40 .. 00:42:55 -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:40 .dockerignore 00:42:55 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:42 .git 00:42:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:40 .github 00:42:55 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:40 .gitignore 00:42:55 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:40 .golangci.yml 00:42:55 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:41 .semver 00:42:55 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:40 Attribution.txt 00:42:55 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:40 CHANGELOG.md 00:42:55 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:40 Dockerfile 00:42:55 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:40 GOVERNANCE.md 00:42:55 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:40 Jenkinsfile 00:42:55 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:40 LICENSE 00:42:55 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:40 Makefile 00:42:55 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:40 OWNERS.md 00:42:55 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:40 README.md 00:42:55 -rw-rw-r-- 1 jenkins jenkins 11 Feb 15 00:41 VERSION 00:42:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:40 bin 00:42:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:40 cmd 00:42:55 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:42 coverage.out 00:42:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:40 driver 00:42:55 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:40 go.mod 00:42:55 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:40 go.sum 00:42:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:40 snap 00:42:55 -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:55 + 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=361e34ad238f1f05923baf29fae00e57c159c00c --label arch=amd64 --label version=3.0.0-dev.9 . 00:42:55 Sending build context to Docker daemon 10.84MB 00:42:55 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:42:55 Step 2/25 : FROM ${BASE} AS builder 00:42:55 ---> 749327d289e1 00:42:55 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:42:55 ---> Running in 01143b6d8ac2 00:42:55 Removing intermediate container 01143b6d8ac2 00:42:55 ---> 50a961a93574 00:42:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:42:55 ---> Running in b5fbc154296f 00:42:55 Removing intermediate container b5fbc154296f 00:42:55 ---> b05df599dc2f 00:42:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:42:55 ---> Running in 0d5acfafb45f 00:42:55 Removing intermediate container 0d5acfafb45f 00:42:55 ---> 9d6ed65418ba 00:42:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:42:55 ---> Running in 0d68775b1c14 00:42:55 Removing intermediate container 0d68775b1c14 00:42:55 ---> c08a37781000 00:42:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:55 ---> Running in 7906c9391ca8 00:42:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:42:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:42:56 OK: 216 MiB in 55 packages 00:42:57 Removing intermediate container 7906c9391ca8 00:42:57 ---> 1f9d15db394b 00:42:57 Step 8/25 : WORKDIR /device-rest-go 00:42:57 ---> Running in bfb466ea115a 00:42:57 Removing intermediate container bfb466ea115a 00:42:57 ---> 828cdff05b02 00:42:57 Step 9/25 : COPY go.mod vendor* ./ 00:42:57 ---> 83f44e6a2eda 00:42:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:57 ---> Running in 85fc267e8485 00:42:58 Removing intermediate container 85fc267e8485 00:42:58 ---> 5469e4bf3e41 00:42:58 Step 11/25 : COPY . . 00:42:58 ---> ca7a092eaa23 00:42:58 Step 12/25 : RUN $MAKE 00:42:58 ---> Running in 9936b2d55f44 00:42:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:43:20 Removing intermediate container 9936b2d55f44 00:43:20 ---> 83e2fc70a639 00:43:20 Step 13/25 : FROM alpine:3.16 00:43:20 3.16: Pulling from library/alpine 00:43:20 ef5531b6e74e: Pulling fs layer 00:43:20 ef5531b6e74e: Verifying Checksum 00:43:20 ef5531b6e74e: Download complete 00:43:20 ef5531b6e74e: Pull complete 00:43:20 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:43:20 Status: Downloaded newer image for alpine:3.16 00:43:20 ---> dfd21b5a31f5 00:43:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:43:20 ---> Running in d1daeacd81f0 00:43:20 Removing intermediate container d1daeacd81f0 00:43:20 ---> 759aa6fc738b 00:43:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:43:20 ---> Running in f14f84d259b1 00:43:20 Removing intermediate container f14f84d259b1 00:43:20 ---> 5aa94aba8d5e 00:43:20 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:43:20 ---> Running in f9975ecee00a 00:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:43:20 (1/1) Installing dumb-init (1.2.5-r1) 00:43:20 Executing busybox-1.35.0-r17.trigger 00:43:20 OK: 6 MiB in 15 packages 00:43:20 Removing intermediate container f9975ecee00a 00:43:20 ---> 5ea94f0b57f6 00:43:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:43:20 ---> 6838bd8df94d 00:43:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:43:20 ---> be6ae60ead39 00:43:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:43:20 ---> 8d1e8e6061f8 00:43:20 Step 20/25 : EXPOSE 59986 00:43:20 ---> Running in d9261aebff0c 00:43:20 Removing intermediate container d9261aebff0c 00:43:20 ---> 0249439b032f 00:43:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:43:20 ---> Running in 45b3f627d26a 00:43:20 Removing intermediate container 45b3f627d26a 00:43:20 ---> da0b34915bfa 00:43:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:43:20 ---> Running in 455a05c1b559 00:43:20 Removing intermediate container 455a05c1b559 00:43:20 ---> 043bc9c5f06e 00:43:20 Step 23/25 : LABEL arch=amd64 00:43:20 ---> Running in a91bb2f06b00 00:43:20 Removing intermediate container a91bb2f06b00 00:43:20 ---> 821480c09a87 00:43:20 Step 24/25 : LABEL git_sha=361e34ad238f1f05923baf29fae00e57c159c00c 00:43:20 ---> Running in face7b3df01f 00:43:20 Removing intermediate container face7b3df01f 00:43:20 ---> 6fb129b857ed 00:43:20 Step 25/25 : LABEL version=3.0.0-dev.9 00:43:20 ---> Running in f63601df2873 00:43:20 Removing intermediate container f63601df2873 00:43:20 ---> adf9d00d001d 00:43:20 [Warning] One or more build-args [ARCH] were not consumed 00:43:20 Successfully built adf9d00d001d 00:43:20 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:20 provisioning config files... 00:43:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3588692431369436976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:21 ---> docker-login.sh 00:43:21 nexus3.edgexfoundry.org:10001 00:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:21 Configure a credential helper to remove this warning. See 00:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:21 00:43:21 Login Succeeded 00:43:21 nexus3.edgexfoundry.org:10002 00:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:21 Configure a credential helper to remove this warning. See 00:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:21 00:43:21 Login Succeeded 00:43:21 nexus3.edgexfoundry.org:10003 00:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:21 Configure a credential helper to remove this warning. See 00:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:21 00:43:21 Login Succeeded 00:43:21 nexus3.edgexfoundry.org:10004 00:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:21 Configure a credential helper to remove this warning. See 00:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:21 00:43:21 Login Succeeded 00:43:21 docker.io 00:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:21 Configure a credential helper to remove this warning. See 00:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:21 00:43:21 Login Succeeded 00:43:21 ---> docker-login.sh ends [Pipeline] } 00:43:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:43:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:21 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 00:43:21 361e34ad238f1f05923baf29fae00e57c159c00c 00:43:21 latest 00:43:21 3.0.0-dev.9 00:43:21 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 00:43:21 main 00:43:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c 00:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:43:22 baec39f091d6: Preparing 00:43:22 b46c9f1bc544: Preparing 00:43:22 367cbd1c59eb: Preparing 00:43:22 2001eca300ad: Preparing 00:43:22 aa5968d388b8: Preparing 00:43:22 aa5968d388b8: Layer already exists 00:43:22 b46c9f1bc544: Pushed 00:43:22 baec39f091d6: Pushed 00:43:22 2001eca300ad: Pushed 00:43:25 367cbd1c59eb: Pushed 00:43:25 361e34ad238f1f05923baf29fae00e57c159c00c: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 00:43:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:43:25 baec39f091d6: Preparing 00:43:25 b46c9f1bc544: Preparing 00:43:25 367cbd1c59eb: Preparing 00:43:25 2001eca300ad: Preparing 00:43:25 aa5968d388b8: Preparing 00:43:25 aa5968d388b8: Layer already exists 00:43:25 367cbd1c59eb: Layer already exists 00:43:25 b46c9f1bc544: Layer already exists 00:43:25 baec39f091d6: Layer already exists 00:43:25 2001eca300ad: Layer already exists 00:43:25 latest: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.9 00:43:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:43:26 baec39f091d6: Preparing 00:43:26 b46c9f1bc544: Preparing 00:43:26 367cbd1c59eb: Preparing 00:43:26 2001eca300ad: Preparing 00:43:26 aa5968d388b8: Preparing 00:43:26 367cbd1c59eb: Layer already exists 00:43:26 baec39f091d6: Layer already exists 00:43:26 2001eca300ad: Layer already exists 00:43:26 aa5968d388b8: Layer already exists 00:43:26 b46c9f1bc544: Layer already exists 00:43:26 3.0.0-dev.9: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 00:43:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:43:27 baec39f091d6: Preparing 00:43:27 b46c9f1bc544: Preparing 00:43:27 367cbd1c59eb: Preparing 00:43:27 2001eca300ad: Preparing 00:43:27 aa5968d388b8: Preparing 00:43:27 b46c9f1bc544: Layer already exists 00:43:27 baec39f091d6: Layer already exists 00:43:27 367cbd1c59eb: Layer already exists 00:43:27 2001eca300ad: Layer already exists 00:43:27 aa5968d388b8: Layer already exists 00:43:27 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 00:43:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:43:27 baec39f091d6: Preparing 00:43:27 b46c9f1bc544: Preparing 00:43:27 367cbd1c59eb: Preparing 00:43:27 2001eca300ad: Preparing 00:43:27 aa5968d388b8: Preparing 00:43:27 b46c9f1bc544: Layer already exists 00:43:27 aa5968d388b8: Layer already exists 00:43:27 baec39f091d6: Layer already exists 00:43:27 2001eca300ad: Layer already exists 00:43:27 367cbd1c59eb: Layer already exists 00:43:27 main: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:43:27 ===================================================== [Pipeline] echo 00:43:27 taggedImages: 00:43:27 - nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c 00:43:27 - nexus3.edgexfoundry.org:10004/device-rest:latest 00:43:27 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.9 00:43:27 - nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 00:43:27 - 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 00:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:28 00:43:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:28 latest: Pulling from edgex-lftools-log-publisher 00:43:28 5eb5b503b376: Pulling fs layer 00:43:28 5c69ac0246d0: Pulling fs layer 00:43:28 ec43610c2a17: Pulling fs layer 00:43:28 3a2ae6a8a46f: Pulling fs layer 00:43:28 33b1e0a273af: Pulling fs layer 00:43:28 3a2ae6a8a46f: Waiting 00:43:28 5d3b04190fa2: Pulling fs layer 00:43:28 2f39f015ded8: Pulling fs layer 00:43:28 5d3b04190fa2: Waiting 00:43:28 2f39f015ded8: Waiting 00:43:28 33b1e0a273af: Waiting 00:43:28 5c69ac0246d0: Download complete 00:43:28 3a2ae6a8a46f: Verifying Checksum 00:43:28 3a2ae6a8a46f: Download complete 00:43:28 33b1e0a273af: Verifying Checksum 00:43:28 33b1e0a273af: Download complete 00:43:28 5d3b04190fa2: Verifying Checksum 00:43:28 5d3b04190fa2: Download complete 00:43:28 ec43610c2a17: Verifying Checksum 00:43:28 ec43610c2a17: Download complete 00:43:29 5eb5b503b376: Verifying Checksum 00:43:29 5eb5b503b376: Download complete 00:43:29 2f39f015ded8: Download complete 00:43:30 5eb5b503b376: Pull complete 00:43:30 5c69ac0246d0: Pull complete 00:43:30 ec43610c2a17: Pull complete 00:43:30 3a2ae6a8a46f: Pull complete 00:43:31 33b1e0a273af: Pull complete 00:43:31 5d3b04190fa2: Pull complete 00:43:35 2f39f015ded8: Pull complete 00:43:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:35 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:43:35 $ 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 00:43:38 $ docker top 0ac02e79c79c4a440975df9ca244e0963c1b16b123ea02ff9c941d66e8bbc2ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:39 ---> job-cost.sh 00:43:39 lf-activate-venv: SKIPPING 00:43:39 INFO: No Stack... 00:43:39 INFO: Retrieving Pricing Info for: v3-standard-8 00:43:40 INFO: Archiving Costs [Pipeline] sh 00:43:40 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 00:43:40 + cut -d, -f6 [Pipeline] lock 00:43:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] 00:43:40 Resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] did not exist. Created. 00:43:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:40 + echo total: 0.2199999988079071 [Pipeline] stash 00:43:40 Stashed 1 file(s) [Pipeline] } 00:43:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 00:43:40 $ docker stop --time=1 0ac02e79c79c4a440975df9ca244e0963c1b16b123ea02ff9c941d66e8bbc2ea 00:43:42 $ docker rm -f --volumes 0ac02e79c79c4a440975df9ca244e0963c1b16b123ea02ff9c941d66e8bbc2ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:44:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5954 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 00:44:21 Running in /w/workspace/device-rest-go/81 [Pipeline] { [Pipeline] checkout 00:44:21 The recommended git tool is: git 00:44:27 using credential edgex-jenkins-ssh 00:44:27 Cloning the remote Git repository 00:44:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:44:27 > git init /w/workspace/device-rest-go/81 # timeout=10 00:44:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:44:27 > git --version # timeout=10 00:44:27 > git --version # 'git version 2.25.1' 00:44:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:44:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:30 Avoid second fetch 00:44:30 Checking out Revision 361e34ad238f1f05923baf29fae00e57c159c00c (main) 00:44:30 > git config core.sparsecheckout # timeout=10 00:44:30 > git checkout -f 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 00:44:31 Commit message: "feat!: updates for common config (#251)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:44:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:44:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:44:32 Dload Upload Total Spent Left Speed 00:44:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh 00:44:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:44:33 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 00:44:33 /etc/docker/daemon.json 00:44:33 { 00:44:33 "registry-mirrors": [ 00:44:33 "https://nexus3.edgexfoundry.org:10001" 00:44:33 ], 00:44:33 "bip": "10.250.0.254/24", 00:44:33 "hosts": [ 00:44:33 "tcp://0.0.0.0:5555", 00:44:33 "unix:///var/run/docker.sock" 00:44:33 ], 00:44:33 "mtu": 1458, 00:44:33 "selinux-enabled": true, 00:44:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:44:33 } [Pipeline] sh 00:44:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:44:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:44:53 provisioning config files... 00:44:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/81@tmp/config12881380500530608749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:53 ---> docker-login.sh 00:44:53 nexus3.edgexfoundry.org:10001 00:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:54 Configure a credential helper to remove this warning. See 00:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:54 00:44:54 Login Succeeded 00:44:54 nexus3.edgexfoundry.org:10002 00:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:54 Configure a credential helper to remove this warning. See 00:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:54 00:44:54 Login Succeeded 00:44:54 nexus3.edgexfoundry.org:10003 00:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:54 Configure a credential helper to remove this warning. See 00:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:54 00:44:54 Login Succeeded 00:44:54 nexus3.edgexfoundry.org:10004 00:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:55 Configure a credential helper to remove this warning. See 00:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:55 00:44:55 Login Succeeded 00:44:55 docker.io 00:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:56 Configure a credential helper to remove this warning. See 00:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:56 00:44:56 Login Succeeded 00:44:56 ---> docker-login.sh ends [Pipeline] } 00:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:44:56 ========================================================= 00:44:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:44:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:56 + 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 . 00:44:56 Sending build context to Docker daemon 139.8kB 00:44:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:44:57 Step 2/12 : FROM ${BASE} AS builder 00:44:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:44:57 9b18e9b68314: Pulling fs layer 00:44:57 35d82f9e3411: Pulling fs layer 00:44:57 e16973657156: Pulling fs layer 00:44:57 fc693d55d65f: Pulling fs layer 00:44:57 7e9fc2657dce: Pulling fs layer 00:44:57 dda99020689f: Pulling fs layer 00:44:57 db1c61fa0a46: Pulling fs layer 00:44:57 891c053d2c06: Pulling fs layer 00:44:57 fc693d55d65f: Waiting 00:44:57 7e9fc2657dce: Waiting 00:44:57 dda99020689f: Waiting 00:44:57 db1c61fa0a46: Waiting 00:44:57 891c053d2c06: Waiting 00:44:57 e16973657156: Verifying Checksum 00:44:57 e16973657156: Download complete 00:44:57 35d82f9e3411: Verifying Checksum 00:44:57 35d82f9e3411: Download complete 00:44:57 7e9fc2657dce: Download complete 00:44:57 dda99020689f: Verifying Checksum 00:44:57 dda99020689f: Download complete 00:44:57 9b18e9b68314: Download complete 00:44:58 9b18e9b68314: Pull complete 00:44:58 891c053d2c06: Verifying Checksum 00:44:58 891c053d2c06: Download complete 00:44:59 35d82f9e3411: Pull complete 00:44:59 e16973657156: Pull complete 00:45:00 db1c61fa0a46: Verifying Checksum 00:45:00 db1c61fa0a46: Download complete 00:45:00 fc693d55d65f: Verifying Checksum 00:45:00 fc693d55d65f: Download complete 00:45:13 fc693d55d65f: Pull complete 00:45:13 7e9fc2657dce: Pull complete 00:45:13 dda99020689f: Pull complete 00:45:20 db1c61fa0a46: Pull complete 00:45:23 891c053d2c06: Pull complete 00:45:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:45:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:45:23 ---> f96f9c87975a 00:45:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:45:25 ---> Running in 2c3507a3d03f 00:45:25 Removing intermediate container 2c3507a3d03f 00:45:25 ---> 948901f0fb85 00:45:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:45:25 ---> Running in bead362af1ba 00:45:26 Removing intermediate container bead362af1ba 00:45:26 ---> f884f419acf4 00:45:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:45:26 ---> Running in c843e275ab85 00:45:26 Removing intermediate container c843e275ab85 00:45:26 ---> 79578c77c43c 00:45:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:45:26 ---> Running in abaf9c6e59bb 00:45:27 Removing intermediate container abaf9c6e59bb 00:45:27 ---> 78d4ca9acbdc 00:45:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:27 ---> Running in 6c8bc6482f4a 00:45:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:45:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:45:30 (2/4) Installing libedit (20210910.3.1-r0) 00:45:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:45:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:45:30 Executing busybox-1.35.0-r17.trigger 00:45:30 OK: 226 MiB in 55 packages 00:45:31 Removing intermediate container 6c8bc6482f4a 00:45:31 ---> 786e0046c43b 00:45:31 Step 8/12 : WORKDIR /device-rest-go 00:45:31 ---> Running in f6b86eec2195 00:45:31 Removing intermediate container f6b86eec2195 00:45:31 ---> 4cf222ddf0dd 00:45:31 Step 9/12 : COPY go.mod vendor* ./ 00:45:32 ---> 941c32e4ef0c 00:45:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:32 ---> Running in 3024960e6daa 00:46:54 Removing intermediate container 3024960e6daa 00:46:54 ---> 0730762b7ebe 00:46:54 Step 11/12 : COPY . . 00:46:54 ---> a5dc47eb41b7 00:46:54 Step 12/12 : RUN $MAKE 00:46:54 ---> Running in 13b1aed41029 00:46:54 noop 00:46:54 Removing intermediate container 13b1aed41029 00:46:54 ---> 92e0bb65c866 00:46:54 Successfully built 92e0bb65c866 00:46:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:54 + docker inspect -f . ci-base-image-arm64 00:46:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:54 prd-ubuntu20.04-docker-arm64-4c-16g-5954 does not seem to be running inside a container 00:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/81 -v /w/workspace/device-rest-go/81:/w/workspace/device-rest-go/81:rw,z -v /w/workspace/device-rest-go/81@tmp:/w/workspace/device-rest-go/81@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 ******** ci-base-image-arm64 cat 00:46:56 $ docker top 5c2112708a76f612596dc9f76f74416665c055ca1c0a027883481bd41bf7f8a3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:57 + go version 00:46:57 go version go1.18.7 linux/arm64 [Pipeline] } 00:46:57 $ docker stop --time=1 5c2112708a76f612596dc9f76f74416665c055ca1c0a027883481bd41bf7f8a3 00:46:59 $ docker rm -f --volumes 5c2112708a76f612596dc9f76f74416665c055ca1c0a027883481bd41bf7f8a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:59 + docker inspect -f . ci-base-image-arm64 00:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:59 prd-ubuntu20.04-docker-arm64-4c-16g-5954 does not seem to be running inside a container 00:46:59 $ 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/81 -v /w/workspace/device-rest-go/81:/w/workspace/device-rest-go/81:rw,z -v /w/workspace/device-rest-go/81@tmp:/w/workspace/device-rest-go/81@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 ******** ci-base-image-arm64 cat 00:47:01 $ docker top dabfcabf359c28d66bfab8ffd0db241d3deaa1b1027a623fb61b64e07bb5e9b4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:02 + git config --global --add safe.directory /w/workspace/device-rest-go/81 [Pipeline] fileExists [Pipeline] sh 00:47:02 + make test 00:47:02 go test ./... -coverprofile=coverage.out ./... 00:47:04 ? github.com/edgexfoundry/device-rest-go [no test files] 00:48:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:48:44 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.9% of statements 00:48:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:48:44 go vet ./... 00:49:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:23 ./bin/test-attribution-txt.sh 00:49:23 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:49:23 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:49:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:49:24 $ docker stop --time=1 dabfcabf359c28d66bfab8ffd0db241d3deaa1b1027a623fb61b64e07bb5e9b4 00:49:25 $ docker rm -f --volumes dabfcabf359c28d66bfab8ffd0db241d3deaa1b1027a623fb61b64e07bb5e9b4 [Pipeline] // withDockerContainer [Pipeline] sh 00:49:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:26 Warning: overwriting stash ‘coverage-report’ 00:49:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:49:28 + ls -al . 00:49:28 total 184 00:49:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:47 . 00:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:44 .. 00:49:28 -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:44 .dockerignore 00:49:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:44 .git 00:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:44 .github 00:49:28 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:44 .gitignore 00:49:28 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:44 .golangci.yml 00:49:28 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:44 Attribution.txt 00:49:28 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:44 CHANGELOG.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:44 Dockerfile 00:49:28 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:44 GOVERNANCE.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:44 Jenkinsfile 00:49:28 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:44 LICENSE 00:49:28 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:44 Makefile 00:49:28 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:44 OWNERS.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:44 README.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 11 Feb 15 00:41 VERSION 00:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:44 bin 00:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:44 cmd 00:49:28 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:48 coverage.out 00:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:44 driver 00:49:28 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:44 go.mod 00:49:28 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:44 go.sum 00:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:44 snap 00:49:28 -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:28 + 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=361e34ad238f1f05923baf29fae00e57c159c00c --label arch=arm64 --label version=3.0.0-dev.9 . 00:49:28 Sending build context to Docker daemon 154.1kB 00:49:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:49:28 Step 2/25 : FROM ${BASE} AS builder 00:49:28 ---> 92e0bb65c866 00:49:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:49:28 ---> Running in 887d761e2417 00:49:29 Removing intermediate container 887d761e2417 00:49:29 ---> b09ace26f2fc 00:49:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:49:29 ---> Running in cbae107c214d 00:49:29 Removing intermediate container cbae107c214d 00:49:29 ---> 8ade6957a43c 00:49:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:49:29 ---> Running in fbe3598812ee 00:49:30 Removing intermediate container fbe3598812ee 00:49:30 ---> 0a3173685ecb 00:49:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:49:30 ---> Running in 14ea1b7cecee 00:49:30 Removing intermediate container 14ea1b7cecee 00:49:30 ---> 14a287be80cf 00:49:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:30 ---> Running in 1bd7f09a6ad5 00:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:49:33 OK: 226 MiB in 55 packages 00:49:37 Removing intermediate container 1bd7f09a6ad5 00:49:37 ---> 93401146f4b8 00:49:37 Step 8/25 : WORKDIR /device-rest-go 00:49:37 ---> Running in 78504a41b788 00:49:37 Removing intermediate container 78504a41b788 00:49:37 ---> 0f38240d208e 00:49:37 Step 9/25 : COPY go.mod vendor* ./ 00:49:37 ---> df36d040be37 00:49:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:38 ---> Running in bccb6619ffc1 00:49:41 Removing intermediate container bccb6619ffc1 00:49:41 ---> 0cce3304c004 00:49:41 Step 11/25 : COPY . . 00:49:41 ---> 102f82d41d6a 00:49:41 Step 12/25 : RUN $MAKE 00:49:41 ---> Running in 809bd2d783ac 00:49:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:52:22 Removing intermediate container 809bd2d783ac 00:52:22 ---> 4c0b2cc2f0f9 00:52:22 Step 13/25 : FROM alpine:3.16 00:52:22 3.16: Pulling from library/alpine 00:52:22 3760b48202b3: Pulling fs layer 00:52:22 3760b48202b3: Verifying Checksum 00:52:22 3760b48202b3: Download complete 00:52:22 3760b48202b3: Pull complete 00:52:22 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:52:22 Status: Downloaded newer image for alpine:3.16 00:52:22 ---> 4c81e5bf8899 00:52:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:52:22 ---> Running in d2f65370dcaf 00:52:22 Removing intermediate container d2f65370dcaf 00:52:22 ---> aa8777240c68 00:52:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:52:22 ---> Running in b08a357a097e 00:52:22 Removing intermediate container b08a357a097e 00:52:22 ---> e956117062cc 00:52:22 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:52:22 ---> Running in 449c083daf02 00:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:52:22 (1/1) Installing dumb-init (1.2.5-r1) 00:52:22 Executing busybox-1.35.0-r17.trigger 00:52:22 OK: 5 MiB in 15 packages 00:52:22 Removing intermediate container 449c083daf02 00:52:22 ---> 399858102009 00:52:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:52:22 ---> 28b076a2b713 00:52:22 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:52:22 ---> d60a6a5a70b4 00:52:22 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:52:22 ---> ba3bc9e7d56c 00:52:22 Step 20/25 : EXPOSE 59986 00:52:22 ---> Running in 7b875bf86eb3 00:52:22 Removing intermediate container 7b875bf86eb3 00:52:22 ---> 66131afcf598 00:52:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:52:22 ---> Running in 692882cd2005 00:52:22 Removing intermediate container 692882cd2005 00:52:22 ---> 2a817de266ca 00:52:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:52:22 ---> Running in e34e2b3d50ea 00:52:22 Removing intermediate container e34e2b3d50ea 00:52:22 ---> b3569066caa0 00:52:22 Step 23/25 : LABEL arch=arm64 00:52:22 ---> Running in 3e9a3c6c8fb0 00:52:22 Removing intermediate container 3e9a3c6c8fb0 00:52:22 ---> 8b6534112160 00:52:22 Step 24/25 : LABEL git_sha=361e34ad238f1f05923baf29fae00e57c159c00c 00:52:22 ---> Running in 0583d60f3174 00:52:23 Removing intermediate container 0583d60f3174 00:52:23 ---> 17f88d4aa485 00:52:23 Step 25/25 : LABEL version=3.0.0-dev.9 00:52:23 ---> Running in 77c53f4fe105 00:52:23 Removing intermediate container 77c53f4fe105 00:52:23 ---> 94a09727980f 00:52:23 [Warning] One or more build-args [ARCH] were not consumed 00:52:23 Successfully built 94a09727980f 00:52:23 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 00:52:23 provisioning config files... 00:52:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/81@tmp/config8514157193073592858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:24 ---> docker-login.sh 00:52:24 nexus3.edgexfoundry.org:10001 00:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:24 Configure a credential helper to remove this warning. See 00:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:24 00:52:24 Login Succeeded 00:52:24 nexus3.edgexfoundry.org:10002 00:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:24 Configure a credential helper to remove this warning. See 00:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:24 00:52:24 Login Succeeded 00:52:24 nexus3.edgexfoundry.org:10003 00:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:25 Configure a credential helper to remove this warning. See 00:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:25 00:52:25 Login Succeeded 00:52:25 nexus3.edgexfoundry.org:10004 00:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:25 Configure a credential helper to remove this warning. See 00:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:25 00:52:25 Login Succeeded 00:52:25 docker.io 00:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:26 Configure a credential helper to remove this warning. See 00:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:26 00:52:26 Login Succeeded 00:52:26 ---> docker-login.sh ends [Pipeline] } 00:52:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:52:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:52:26 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:52:26 361e34ad238f1f05923baf29fae00e57c159c00c 00:52:26 latest 00:52:26 3.0.0-dev.9 00:52:26 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 00:52:26 main 00:52:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c 00:52:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:52:27 b452cfcb863e: Preparing 00:52:27 be725e9dc67c: Preparing 00:52:27 f3bdc840f45d: Preparing 00:52:27 9b8a37f27a0b: Preparing 00:52:27 f70ee36035b9: Preparing 00:52:27 f70ee36035b9: Layer already exists 00:52:27 be725e9dc67c: Pushed 00:52:27 b452cfcb863e: Pushed 00:52:27 9b8a37f27a0b: Pushed 00:52:34 f3bdc840f45d: Pushed 00:52:34 361e34ad238f1f05923baf29fae00e57c159c00c: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00: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 00:52:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:52:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:52:34 b452cfcb863e: Preparing 00:52:34 be725e9dc67c: Preparing 00:52:34 f3bdc840f45d: Preparing 00:52:34 9b8a37f27a0b: Preparing 00:52:34 f70ee36035b9: Preparing 00:52:34 f3bdc840f45d: Layer already exists 00:52:34 f70ee36035b9: Layer already exists 00:52:34 9b8a37f27a0b: Layer already exists 00:52:34 be725e9dc67c: Layer already exists 00:52:34 b452cfcb863e: Layer already exists 00:52:35 latest: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.9 00:52:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:52:35 b452cfcb863e: Preparing 00:52:35 be725e9dc67c: Preparing 00:52:35 f3bdc840f45d: Preparing 00:52:35 9b8a37f27a0b: Preparing 00:52:35 f70ee36035b9: Preparing 00:52:35 f3bdc840f45d: Layer already exists 00:52:35 be725e9dc67c: Layer already exists 00:52:35 9b8a37f27a0b: Layer already exists 00:52:35 f70ee36035b9: Layer already exists 00:52:35 b452cfcb863e: Layer already exists 00:52:36 3.0.0-dev.9: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 00:52:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:52:36 b452cfcb863e: Preparing 00:52:36 be725e9dc67c: Preparing 00:52:36 f3bdc840f45d: Preparing 00:52:36 9b8a37f27a0b: Preparing 00:52:36 f70ee36035b9: Preparing 00:52:36 9b8a37f27a0b: Layer already exists 00:52:36 b452cfcb863e: Layer already exists 00:52:36 f3bdc840f45d: Layer already exists 00:52:36 f70ee36035b9: Layer already exists 00:52:36 be725e9dc67c: Layer already exists 00:52:37 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00: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 00:52:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:52:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:52:37 b452cfcb863e: Preparing 00:52:37 be725e9dc67c: Preparing 00:52:37 f3bdc840f45d: Preparing 00:52:37 9b8a37f27a0b: Preparing 00:52:37 f70ee36035b9: Preparing 00:52:37 9b8a37f27a0b: Layer already exists 00:52:37 be725e9dc67c: Layer already exists 00:52:37 f70ee36035b9: Layer already exists 00:52:37 f3bdc840f45d: Layer already exists 00:52:37 b452cfcb863e: Layer already exists 00:52:38 main: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:52:38 ===================================================== [Pipeline] echo 00:52:38 taggedImages: 00:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c 00:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.9 00:52:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 00: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 00:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:38 00:52:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:39 arm64: Pulling from edgex-lftools-log-publisher 00:52:39 8998bd30e6a1: Pulling fs layer 00:52:39 04944245beec: Pulling fs layer 00:52:39 699f458cf7ca: Pulling fs layer 00:52:39 765212b225bb: Pulling fs layer 00:52:39 f23df028b6ca: Pulling fs layer 00:52:39 d65c8cfc05b1: Pulling fs layer 00:52:39 2437ff75d9bd: Pulling fs layer 00:52:39 d65c8cfc05b1: Waiting 00:52:39 2437ff75d9bd: Waiting 00:52:39 765212b225bb: Waiting 00:52:39 f23df028b6ca: Waiting 00:52:39 04944245beec: Verifying Checksum 00:52:39 04944245beec: Download complete 00:52:39 765212b225bb: Verifying Checksum 00:52:39 765212b225bb: Download complete 00:52:39 f23df028b6ca: Verifying Checksum 00:52:39 f23df028b6ca: Download complete 00:52:39 d65c8cfc05b1: Verifying Checksum 00:52:39 d65c8cfc05b1: Download complete 00:52:39 699f458cf7ca: Verifying Checksum 00:52:39 699f458cf7ca: Download complete 00:52:40 8998bd30e6a1: Download complete 00:52:42 2437ff75d9bd: Verifying Checksum 00:52:42 2437ff75d9bd: Download complete 00:52:44 8998bd30e6a1: Pull complete 00:52:44 04944245beec: Pull complete 00:52:46 699f458cf7ca: Pull complete 00:52:46 765212b225bb: Pull complete 00:52:47 f23df028b6ca: Pull complete 00:52:47 d65c8cfc05b1: Pull complete 00:53:02 2437ff75d9bd: Pull complete 00:53:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:02 prd-ubuntu20.04-docker-arm64-4c-16g-5954 does not seem to be running inside a container 00:53:02 $ 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/81 -v /w/workspace/device-rest-go/81:/w/workspace/device-rest-go/81:rw,z -v /w/workspace/device-rest-go/81@tmp:/w/workspace/device-rest-go/81@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:arm64 cat 00:53:05 $ docker top e68553f88e96fdeff93cb786c3a71308205937e1c18f56acd0367087e92c9980 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:06 ---> job-cost.sh 00:53:06 lf-activate-venv: SKIPPING 00:53:06 INFO: No Stack... 00:53:07 INFO: Retrieving Pricing Info for: v3-standard-4 00:53:08 INFO: Archiving Costs [Pipeline] sh 00:53:08 + cat /w/workspace/device-rest-go/81/archives/cost.csv 00:53:08 + cut -d, -f6 [Pipeline] lock 00:53:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] 00:53:08 Resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] did not exist. Created. 00:53:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:53:09 /w/workspace/device-rest-go/81@tmp/durable-fd873bb3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:53:10 + echo total: 0.10999999940395355 [Pipeline] stash 00:53:10 Warning: overwriting stash ‘stack-cost’ 00:53:10 Stashed 1 file(s) [Pipeline] } 00:53:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 00:53:10 $ docker stop --time=1 e68553f88e96fdeff93cb786c3a71308205937e1c18f56acd0367087e92c9980 00:53:11 $ docker rm -f --volumes e68553f88e96fdeff93cb786c3a71308205937e1c18f56acd0367087e92c9980 [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 00:53:12 provisioning config files... 00:53:12 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13646002458769966880tmp [Pipeline] { [Pipeline] sh 00:53:12 + set +x 00:53:12 + curl -s https://codecov.io/bash 00:53:12 + bash -s -- 00:53:12 00:53:12 _____ _ 00:53:12 / ____| | | 00:53:12 | | ___ __| | ___ ___ _____ __ 00:53:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:53:12 | |___| (_) | (_| | __/ (_| (_) \ V / 00:53:12 \_____\___/ \__,_|\___|\___\___/ \_/ 00:53:12 Bash-1.0.6 00:53:12 00:53:12 00:53:12 ==> git version 2.25.1 found 00:53:12 ==> 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 00:53:12 Release-Date: 2020-01-08 00:53:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:53:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:53:12 ==> Jenkins CI detected. 00:53:12 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 00:53:12 project root: . 00:53:12 --> token set from env 00:53:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:53:12 ==> Running gcov in . (disable via -X gcov) 00:53:12 ==> Python coveragepy not found 00:53:12 ==> Searching for coverage reports in: 00:53:12 + . 00:53:12 -> Found 1 reports 00:53:12 ==> Detecting git/mercurial file structure 00:53:12 ==> Reading reports 00:53:12 + ./coverage.out bytes=13744 00:53:12 ==> Appending adjustments 00:53:12 https://docs.codecov.io/docs/fixing-reports 00:53:12 + Found adjustments 00:53:12 ==> Gzipping contents 00:53:12 4.0K /tmp/codecov.Yb2E7k.gz 00:53:12 ==> Uploading reports 00:53:12 url: https://codecov.io 00:53:12 query: branch=main&commit=361e34ad238f1f05923baf29fae00e57c159c00c&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:53:12 -> Pinging Codecov 00:53:12 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=361e34ad238f1f05923baf29fae00e57c159c00c&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:53:12 -> Uploading to 00:53:12 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/361e34ad238f1f05923baf29fae00e57c159c00c/955d29d7-e9a4-4908-a73f-4b93b31e2fb2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T005312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63616497883a2b9d045da724aebca12a4df5ccb7d42b1be2f1547187df14e7e8 00:53:12 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:12 Dload Upload Total Spent Left Speed 00:53:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8337 --:--:-- --:--:-- --:--:-- 8337 00:53:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] } 00:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:53:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:53:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:53:14 00:53:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:53:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:53:14 df9b9388f04a: Pulling fs layer 00:53:14 52dc419b0ee2: Pulling fs layer 00:53:14 25bc292e5bac: Pulling fs layer 00:53:14 114826534d7a: Pulling fs layer 00:53:14 4657fd5d0bcf: Pulling fs layer 00:53:14 6ad1cebc031e: Pulling fs layer 00:53:14 8a3aa393b2d8: Pulling fs layer 00:53:14 4657fd5d0bcf: Waiting 00:53:14 6ad1cebc031e: Waiting 00:53:14 8a3aa393b2d8: Waiting 00:53:14 114826534d7a: Waiting 00:53:14 25bc292e5bac: Verifying Checksum 00:53:14 25bc292e5bac: Download complete 00:53:14 52dc419b0ee2: Download complete 00:53:14 4657fd5d0bcf: Verifying Checksum 00:53:14 4657fd5d0bcf: Download complete 00:53:14 df9b9388f04a: Verifying Checksum 00:53:14 df9b9388f04a: Download complete 00:53:14 df9b9388f04a: Pull complete 00:53:14 52dc419b0ee2: Pull complete 00:53:14 6ad1cebc031e: Verifying Checksum 00:53:14 6ad1cebc031e: Download complete 00:53:14 25bc292e5bac: Pull complete 00:53:15 114826534d7a: Verifying Checksum 00:53:15 114826534d7a: Download complete 00:53:15 8a3aa393b2d8: Verifying Checksum 00:53:15 8a3aa393b2d8: Download complete 00:53:19 114826534d7a: Pull complete 00:53:19 4657fd5d0bcf: Pull complete 00:53:19 6ad1cebc031e: Pull complete 00:53:21 8a3aa393b2d8: Pull complete 00:53:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:53:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:21 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:53:21 $ 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 00:53:25 $ docker top f0f2c8ac4be9211ede30b4cef3378eeee9f0a18df8b42b2c72c925f265d70d61 -eo pid,comm [Pipeline] { [Pipeline] echo 00:53:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 00:53:25 + set -o pipefail 00:53:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 00:53:29 00:53:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 00:53:29 00:53:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/bcbbbd8b-f95d-49e8-b4f0-f92772f9f374 00:53:29 00:53:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:53:29 00:53:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:53:29 00:53:30 00:53:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:53:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:53:30 More details here: https://snyk.co/ue1NS [Pipeline] } 00:53:30 $ docker stop --time=1 f0f2c8ac4be9211ede30b4cef3378eeee9f0a18df8b42b2c72c925f265d70d61 00:53:33 $ docker rm -f --volumes f0f2c8ac4be9211ede30b4cef3378eeee9f0a18df8b42b2c72c925f265d70d61 [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 00:53:33 + git log --format=format:%s -1 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] sh 00:53:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:53:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:34 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:53:34 $ 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 00:53:35 $ docker top 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:53:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:35 [ssh-agent] Looking for ssh-agent implementation... 00:53:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:35 $ docker exec 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 ssh-agent 00:53:35 SSH_AUTH_SOCK=/tmp/ssh-1g2U7HHkd4lV/agent.31 00:53:35 SSH_AGENT_PID=37 00:53:35 Running ssh-add (command line suppressed) 00:53:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11003947919454168888.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11003947919454168888.key) 00:53:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:35 + git semver tag 00:53:36 2023-02-15 00:53:36,062 [run_tag] DEBUG tag force:False 00:53:36 2023-02-15 00:53:36,062 [check_head_tag] DEBUG check head tag 00:53:36 2023-02-15 00:53:36,063 [execute] INFO git cat-file --batch-check 00:53:36 2023-02-15 00:53:36,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:53:36 2023-02-15 00:53:36,068 [execute] INFO git cat-file --batch 00:53:36 2023-02-15 00:53:36,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:53:36 2023-02-15 00:53:36,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:53:36 2023-02-15 00:53:36,086 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 00:53:36 2023-02-15 00:53:36,086 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 00:53:36 2023-02-15 00:53:36,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:53:36 3.0.0-dev.9 [Pipeline] } 00:53:36 $ docker exec --env ******** --env ******** 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 ssh-agent -k 00:53:36 unset SSH_AUTH_SOCK; 00:53:36 unset SSH_AGENT_PID; 00:53:36 echo Agent pid 37 killed; 00:53:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:53:36 + git semver [Pipeline] } 00:53:36 $ docker stop --time=1 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 00:53:38 $ docker rm -f --volumes 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:53:38 00:53:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:53:38 0.23.1-centos7: Pulling from edgex-lftools 00:53:38 ab5ef0e58194: Pulling fs layer 00:53:38 9712f1f96733: Pulling fs layer 00:53:38 63f879dbbcfc: Pulling fs layer 00:53:38 0d9ebad4ef96: Pulling fs layer 00:53:38 e9a5061849ea: Pulling fs layer 00:53:38 d747dcd14b5f: Pulling fs layer 00:53:38 2de7ff778b66: Pulling fs layer 00:53:38 0d9ebad4ef96: Waiting 00:53:38 e9a5061849ea: Waiting 00:53:38 d747dcd14b5f: Waiting 00:53:38 9712f1f96733: Download complete 00:53:40 0d9ebad4ef96: Verifying Checksum 00:53:40 0d9ebad4ef96: Download complete 00:53:40 63f879dbbcfc: Verifying Checksum 00:53:40 63f879dbbcfc: Download complete 00:53:40 d747dcd14b5f: Download complete 00:53:40 e9a5061849ea: Download complete 00:53:40 ab5ef0e58194: Verifying Checksum 00:53:40 ab5ef0e58194: Download complete 00:53:40 2de7ff778b66: Verifying Checksum 00:53:40 2de7ff778b66: Download complete 00:53:43 ab5ef0e58194: Pull complete 00:53:43 9712f1f96733: Pull complete 00:53:44 63f879dbbcfc: Pull complete 00:53:48 0d9ebad4ef96: Pull complete 00:53:48 e9a5061849ea: Pull complete 00:53:48 d747dcd14b5f: Pull complete 00:53:49 2de7ff778b66: Pull complete 00:53:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:53:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:53:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:49 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:53:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:53:54 $ docker top 78340ee46ed2c917e59963696344cd144087e6a2a0d7c48ed9d692bb1f7b33b4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:53:54 provisioning config files... 00:53:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config646901277325833427tmp 00:53:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9911470661446853128tmp 00:53:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15254946772884589169tmp [Pipeline] { [Pipeline] echo 00:53:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:53:54 ---> sigul-configuration.sh 00:53:54 gpg: directory `/root/.gnupg' created 00:53:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:53:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:53:54 gpg: keyring `/root/.gnupg/secring.gpg' created 00:53:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:53:54 gpg: CAST5 encrypted data 00:53:54 gpg: encrypted with 1 passphrase 00:53:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:53:55 + mkdir /home/jenkins 00:53:55 + mkdir /home/jenkins/sigul [Pipeline] sh 00:53:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:53:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:53:55 ---> sigul-install.sh 00:53:55 Sigul already installed; skipping installation. [Pipeline] sh 00:53:55 + git tag --list 00:53:55 v1.0.0 00:53:55 v1.1.0 00:53:55 v1.1.1 00:53:55 v1.1.2 00:53:55 v1.2.0 00:53:55 v1.2.1 00:53:55 v2.0.0 00:53:55 v2.1.0 00:53:55 v2.1.1 00:53:55 v2.1.1-dev.1 00:53:55 v2.1.1-dev.2 00:53:55 v2.1.1-dev.3 00:53:55 v2.2.0 00:53:55 v2.2.1-dev.1 00:53:55 v2.2.1-dev.2 00:53:55 v2.2.1-dev.3 00:53:55 v2.2.1-dev.4 00:53:55 v2.2.1-dev.5 00:53:55 v2.2.1-dev.6 00:53:55 v2.2.1-dev.7 00:53:55 v2.2.1-dev.8 00:53:55 v2.2.1-dev.9 00:53:55 v2.3.0 00:53:55 v2.3.0-dev.10 00:53:55 v2.3.0-dev.11 00:53:55 v2.3.0-dev.12 00:53:55 v2.3.0-dev.13 00:53:55 v2.3.0-dev.14 00:53:55 v2.3.0-dev.15 00:53:55 v2.3.0-dev.16 00:53:55 v2.3.0-dev.17 00:53:55 v2.3.0-dev.18 00:53:55 v2.3.0-dev.19 00:53:55 v2.3.0-dev.20 00:53:55 v2.3.0-dev.21 00:53:55 v2.3.0-dev.22 00:53:55 v2.3.0-dev.23 00:53:55 v2.3.0-dev.24 00:53:55 v2.3.0-dev.25 00:53:55 v2.3.0-dev.9 00:53:55 v3.0.0-dev.1 00:53:55 v3.0.0-dev.2 00:53:55 v3.0.0-dev.3 00:53:55 v3.0.0-dev.4 00:53:55 v3.0.0-dev.5 00:53:55 v3.0.0-dev.6 00:53:55 v3.0.0-dev.7 00:53:55 v3.0.0-dev.8 00:53:55 v3.0.0-dev.9 [Pipeline] sh 00:53:56 + lftools sign git-tag v3.0.0-dev.9 00:53:56 Signing Git tag with Sigul... 00:53:56 Signing v3.0.0-dev.9 [Pipeline] echo 00:53:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:53:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:53:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:53:57 $ docker stop --time=1 78340ee46ed2c917e59963696344cd144087e6a2a0d7c48ed9d692bb1f7b33b4 00:53:58 $ docker rm -f --volumes 78340ee46ed2c917e59963696344cd144087e6a2a0d7c48ed9d692bb1f7b33b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:53:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:53:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:59 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:53:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:00 $ docker top 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 -eo pid,comm 00: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). 00:54:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:00 [ssh-agent] Looking for ssh-agent implementation... 00:54:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:00 $ docker exec 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 ssh-agent 00:54:00 SSH_AUTH_SOCK=/tmp/ssh-TvYTElM5yoKy/agent.32 00:54:00 SSH_AGENT_PID=38 00:54:00 Running ssh-add (command line suppressed) 00:54:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5968965087556584232.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5968965087556584232.key) 00:54:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:00 + git semver bump pre 00:54:01 2023-02-15 00:54:00,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:54:01 2023-02-15 00:54:00,991 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev 00:54:01 2023-02-15 00:54:00,992 [bump_version] DEBUG bumped version:3.0.0-dev.10 00:54:01 2023-02-15 00:54:00,992 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 00:54:01 2023-02-15 00:54:00,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:54:01 2023-02-15 00:54:00,992 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:54:01 2023-02-15 00:54:00,994 [execute] INFO git cat-file --batch-check 00:54:01 2023-02-15 00:54:00,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:54:01 2023-02-15 00:54:00,999 [execute] INFO git cat-file --batch 00:54:01 2023-02-15 00:54:00,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:54:01 2023-02-15 00:54:01,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:54:01 3.0.0-dev.10 [Pipeline] } 00:54:01 $ docker exec --env ******** --env ******** 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 ssh-agent -k 00:54:01 unset SSH_AUTH_SOCK; 00:54:01 unset SSH_AGENT_PID; 00:54:01 echo Agent pid 38 killed; 00:54:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:01 + git semver [Pipeline] } 00:54:01 $ docker stop --time=1 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 00:54:03 $ docker rm -f --volumes 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:03 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:04 $ docker top 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb -eo pid,comm 00:54:04 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). 00:54:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:04 [ssh-agent] Looking for ssh-agent implementation... 00:54:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:04 $ docker exec 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb ssh-agent 00:54:04 SSH_AUTH_SOCK=/tmp/ssh-QmPzPtyTEaAl/agent.32 00:54:04 SSH_AGENT_PID=38 00:54:04 Running ssh-add (command line suppressed) 00:54:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10449707766777455375.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10449707766777455375.key) 00:54:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:04 + git semver push 00:54:05 2023-02-15 00:54:05,033 [run_push] DEBUG push 00:54:05 2023-02-15 00:54:05,033 [execute] INFO git cat-file --batch-check 00:54:05 2023-02-15 00:54:05,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:54:05 2023-02-15 00:54:05,037 [execute] INFO git rev-list 3ac664dc51944eac98845b127e69f497ad40683e -- 00:54:05 2023-02-15 00:54:05,037 [execute] DEBUG Popen(['git', 'rev-list', '3ac664dc51944eac98845b127e69f497ad40683e', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:54:05 2023-02-15 00:54:05,044 [execute] INFO git fetch -v origin 00:54:05 2023-02-15 00:54:05,044 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:54:05 2023-02-15 00:54:05,641 [run_push] DEBUG no remote changes detected 00:54:05 2023-02-15 00:54:05,641 [execute] INFO git push origin semver 00:54:05 2023-02-15 00:54:05,641 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:54:06 2023-02-15 00:54:06,535 [run_push] DEBUG push all version tags 00:54:06 2023-02-15 00:54:06,535 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:54:06 2023-02-15 00:54:06,536 [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) 00:54:07 2023-02-15 00:54:07,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:54:07 3.0.0-dev.10 [Pipeline] } 00:54:07 $ docker exec --env ******** --env ******** 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb ssh-agent -k 00:54:07 unset SSH_AUTH_SOCK; 00:54:07 unset SSH_AGENT_PID; 00:54:07 echo Agent pid 38 killed; 00:54:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:07 + git semver [Pipeline] } 00:54:08 $ docker stop --time=1 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb 00:54:09 $ docker rm -f --volumes 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb [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 00:54:10 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 00:54:10 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:54:10 total 16 00:54:10 drwxr-xr-x 3 root root 4096 Feb 15 00:43 . 00:54:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:53 .. 00:54:10 drwxr-xr-x 2 root root 4096 Feb 15 00:43 cost 00:54:10 -rw-r--r-- 1 root root 85 Feb 15 00:43 cost.csv 00:54:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 00:54:10 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:54:10 total 16 00:54:10 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:43 . 00:54:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:53 .. 00:54:10 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:43 cost 00:54:10 -rw-r--r-- 1 jenkins jenkins 85 Feb 15 00:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:54:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:54:11 ---> package-listing.sh 00:54:11 ++ facter osfamily 00:54:11 ++ tr '[:upper:]' '[:lower:]' 00:54:11 + OS_FAMILY=debian 00:54:11 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 00:54:11 + START_PACKAGES=/tmp/packages_start.txt 00:54:11 + END_PACKAGES=/tmp/packages_end.txt 00:54:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:54:11 + PACKAGES=/tmp/packages_start.txt 00:54:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:54:11 + PACKAGES=/tmp/packages_end.txt 00:54:11 + case "${OS_FAMILY}" in 00:54:11 + dpkg -l 00:54:11 + grep '^ii' 00:54:11 + '[' -f /tmp/packages_start.txt ']' 00:54:11 + '[' -f /tmp/packages_end.txt ']' 00:54:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:54:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:54:11 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 00:54:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 00:54:11 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 00:54:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:12 prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container 00:54:12 $ 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 00:54:12 $ docker top c8e00f000a9547c4b5f67ff32b6faaa4eb77f6e8481d5d8727b48eb96861a992 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:12 + touch /tmp/pre-build-complete [Pipeline] sh 00:54:13 + mkdir -p /var/log/sysstat [Pipeline] sh 00:54:13 + ls /var/log/sa-host 00:54:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:13 provisioning config files... 00:54:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5170280365247647842tmp [Pipeline] { [Pipeline] echo 00:54:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:54:13 ---> create-netrc.sh [Pipeline] } 00:54:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:54:14 ---> python-tools-install.sh [Pipeline] echo 00:54:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:54:14 ---> sudo-logs.sh 00:54:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:54:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:54:14 ---> job-cost.sh 00:54:14 lf-activate-venv: SKIPPING 00:54:14 DEBUG: total: 0.2199999988079071 00:54:14 INFO: Retrieving Stack Cost... 00:54:15 INFO: Retrieving Pricing Info for: v3-standard-8 00:54:15 INFO: Archiving Costs [Pipeline] echo 00:54:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:54:16 ---> logs-deploy.sh 00:54:16 lf-activate-venv: SKIPPING 00:54:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/81 00:54:16 INFO: archiving workspace using pattern(s): 00:54:16 Archives upload complete. 00:54:16 INFO: archiving logs to Nexus