Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 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-ssh8574878652283779363.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-ssh6402990608585598475.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-ssh63454175119477081.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-ssh6772261441507313402.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-ssh16830035781615676255.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7597 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#259)" > git rev-list --no-walk 3364b454c95a561448dfe8dfd76d21007d3a77e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:56:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:56:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:56:15 ========================================================= 15:56:15 EdgeX Global Pipelines Version Info 15:56:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:56:16 ------------------- 15:56:16 stable info: 15:56:16 ------------------- 15:56:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:56:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:56:16 Message: update stable to v1.0.244 15:56:16 ------------------- 15:56:16 experimental info: 15:56:16 ------------------- 15:56:16 Commited By: **** collab-it+edgex@linuxfoundation.org 15:56:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:56:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:56:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c6f7e0 [Pipeline] echo 15:56:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:17 provisioning config files... 15:56:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13806293485932850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:17 ---> docker-login.sh 15:56:17 nexus3.edgexfoundry.org:10001 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:18 Configure a credential helper to remove this warning. See 15:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:18 15:56:18 Login Succeeded 15:56:18 nexus3.edgexfoundry.org:10002 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:18 Configure a credential helper to remove this warning. See 15:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:18 15:56:18 Login Succeeded 15:56:18 nexus3.edgexfoundry.org:10003 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:18 Configure a credential helper to remove this warning. See 15:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:18 15:56:18 Login Succeeded 15:56:18 nexus3.edgexfoundry.org:10004 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:18 Configure a credential helper to remove this warning. See 15:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:18 15:56:18 Login Succeeded 15:56:18 docker.io 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:19 Configure a credential helper to remove this warning. See 15:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:19 15:56:19 Login Succeeded 15:56:19 ---> docker-login.sh ends [Pipeline] } 15:56:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:56:19 + git rev-list -1 --merges 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab~1..2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] echo 15:56:19 -----------> git rev-list -1 --merges 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab~1..2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [false] [Pipeline] sh 15:56:19 + git log --format=format:%s -1 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] echo 15:56:19 ========================================================= 15:56:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:56:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:20 + git log --format=format:%s -1 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] echo 15:56:20 [semverPrep] GIT_COMMIT: 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#259) [Pipeline] echo 15:56:20 [semverPrep] This is not a build commit. [Pipeline] sh 15:56:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:20 + grep -v github /etc/ssh/ssh_known_hosts 15:56:20 + [ -e /tmp/ssh_known_hosts ] 15:56:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:56:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:56:20 + sudo tee -a /etc/ssh/ssh_known_hosts 15:56:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:21 15:56:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:21 0.1.4: Pulling from edgex-devops/py-git-semver 15:56:21 b85a868b505f: Pulling fs layer 15:56:21 e2be974225ed: Pulling fs layer 15:56:21 339a4e72a1f5: Pulling fs layer 15:56:21 988bab9f4d93: Pulling fs layer 15:56:21 1469e6f7b9e6: Pulling fs layer 15:56:21 eaf3925da568: Pulling fs layer 15:56:21 bab4dde63d76: Pulling fs layer 15:56:21 bde34c3a00c8: Pulling fs layer 15:56:21 b352a97aabf1: Pulling fs layer 15:56:21 4872d77fe225: Pulling fs layer 15:56:21 5851b861e8e6: Pulling fs layer 15:56:21 bab4dde63d76: Waiting 15:56:21 bde34c3a00c8: Waiting 15:56:21 5851b861e8e6: Waiting 15:56:21 b352a97aabf1: Waiting 15:56:21 4872d77fe225: Waiting 15:56:21 988bab9f4d93: Waiting 15:56:21 1469e6f7b9e6: Waiting 15:56:21 eaf3925da568: Waiting 15:56:21 e2be974225ed: Download complete 15:56:21 988bab9f4d93: Verifying Checksum 15:56:21 988bab9f4d93: Download complete 15:56:21 339a4e72a1f5: Verifying Checksum 15:56:21 339a4e72a1f5: Download complete 15:56:21 1469e6f7b9e6: Verifying Checksum 15:56:21 1469e6f7b9e6: Download complete 15:56:21 eaf3925da568: Verifying Checksum 15:56:21 eaf3925da568: Download complete 15:56:21 bde34c3a00c8: Verifying Checksum 15:56:21 bde34c3a00c8: Download complete 15:56:21 b352a97aabf1: Download complete 15:56:21 4872d77fe225: Download complete 15:56:21 5851b861e8e6: Verifying Checksum 15:56:21 5851b861e8e6: Download complete 15:56:21 b85a868b505f: Verifying Checksum 15:56:21 b85a868b505f: Download complete 15:56:22 bab4dde63d76: Download complete 15:56:23 b85a868b505f: Pull complete 15:56:23 e2be974225ed: Pull complete 15:56:23 339a4e72a1f5: Pull complete 15:56:23 988bab9f4d93: Pull complete 15:56:24 1469e6f7b9e6: Pull complete 15:56:24 eaf3925da568: Pull complete 15:56:26 bab4dde63d76: Pull complete 15:56:26 bde34c3a00c8: Pull complete 15:56:26 b352a97aabf1: Pull complete 15:56:26 4872d77fe225: Pull complete 15:56:26 5851b861e8e6: Pull complete 15:56:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:26 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 15:56:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:28 $ docker top 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 -eo pid,comm 15:56:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:56:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:29 [ssh-agent] Looking for ssh-agent implementation... 15:56:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:29 $ docker exec 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 ssh-agent 15:56:29 SSH_AUTH_SOCK=/tmp/ssh-l27B0JjqmxTL/agent.32 15:56:29 SSH_AGENT_PID=38 15:56:29 Running ssh-add (command line suppressed) 15:56:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5976568150403251306.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5976568150403251306.key) 15:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:29 + git tag --points-at HEAD [Pipeline] } 15:56:29 $ docker exec --env ******** --env ******** 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 ssh-agent -k 15:56:29 unset SSH_AUTH_SOCK; 15:56:29 unset SSH_AGENT_PID; 15:56:29 echo Agent pid 38 killed; 15:56:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:29 [ssh-agent] Looking for ssh-agent implementation... 15:56:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:29 $ docker exec 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 ssh-agent 15:56:30 SSH_AUTH_SOCK=/tmp/ssh-CqKxXf4rPt25/agent.71 15:56:30 SSH_AGENT_PID=77 15:56:30 Running ssh-add (command line suppressed) 15:56:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17172223027201217241.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17172223027201217241.key) 15:56:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:30 + git semver init 15:56:30 2023-02-27 15:56:30,697 [run_init] DEBUG init version:0.0.0 force:False 15:56:30 2023-02-27 15:56:30,698 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 15:56:30 2023-02-27 15:56:30,699 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:56:30 2023-02-27 15:56:30,699 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 15:56:32 2023-02-27 15:56:31,969 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 15:56:32 2023-02-27 15:56:31,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 15:56:32 2023-02-27 15:56:31,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:56:32 2023-02-27 15:56:31,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:56:32 3.0.0-dev.14 [Pipeline] } 15:56:32 $ docker exec --env ******** --env ******** 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 ssh-agent -k 15:56:32 unset SSH_AUTH_SOCK; 15:56:32 unset SSH_AGENT_PID; 15:56:32 echo Agent pid 77 killed; 15:56:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:32 + git semver [Pipeline] } 15:56:32 $ docker stop --time=1 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 15:56:34 $ docker rm -f --volumes 864f1d59dab46c3be82198c3cbc9b8b20ec43acea3733d36672ecadd74b352a0 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:56:34 Stashed 1 file(s) [Pipeline] echo 15:56:34 [edgeXSemver]: initialized semver on version 3.0.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:34 provisioning config files... 15:56:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14671997773054963247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:35 ---> docker-login.sh 15:56:35 nexus3.edgexfoundry.org:10001 15:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:35 Configure a credential helper to remove this warning. See 15:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:35 15:56:35 Login Succeeded 15:56:35 nexus3.edgexfoundry.org:10002 15:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:35 Configure a credential helper to remove this warning. See 15:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:35 15:56:35 Login Succeeded 15:56:35 nexus3.edgexfoundry.org:10003 15:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:35 Configure a credential helper to remove this warning. See 15:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:35 15:56:35 Login Succeeded 15:56:35 nexus3.edgexfoundry.org:10004 15:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:35 Configure a credential helper to remove this warning. See 15:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:35 15:56:35 Login Succeeded 15:56:35 docker.io 15:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:35 Configure a credential helper to remove this warning. See 15:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:35 15:56:35 Login Succeeded 15:56:35 ---> docker-login.sh ends [Pipeline] } 15:56:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:56:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:35 ========================================================= 15:56:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:56:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:56:36 Sending build context to Docker daemon 10.82MB 15:56:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:56:36 Step 2/12 : FROM ${BASE} AS builder 15:56:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:56:36 213ec9aee27d: Pulling fs layer 15:56:36 4583459ba037: Pulling fs layer 15:56:36 93c1e223e6f2: Pulling fs layer 15:56:36 53926ce57604: Pulling fs layer 15:56:36 21b2b0c7a3f4: Pulling fs layer 15:56:36 22ff95d597cd: Pulling fs layer 15:56:36 12d6caf4c0d1: Pulling fs layer 15:56:36 96b7cbca73a9: Pulling fs layer 15:56:36 a7acece74701: Pulling fs layer 15:56:36 53926ce57604: Waiting 15:56:36 21b2b0c7a3f4: Waiting 15:56:36 22ff95d597cd: Waiting 15:56:36 12d6caf4c0d1: Waiting 15:56:36 96b7cbca73a9: Waiting 15:56:36 a7acece74701: Waiting 15:56:36 93c1e223e6f2: Download complete 15:56:36 4583459ba037: Verifying Checksum 15:56:36 4583459ba037: Download complete 15:56:36 21b2b0c7a3f4: Download complete 15:56:36 22ff95d597cd: Download complete 15:56:36 213ec9aee27d: Download complete 15:56:36 12d6caf4c0d1: Verifying Checksum 15:56:36 12d6caf4c0d1: Download complete 15:56:36 213ec9aee27d: Pull complete 15:56:36 4583459ba037: Pull complete 15:56:36 93c1e223e6f2: Pull complete 15:56:36 a7acece74701: Verifying Checksum 15:56:36 a7acece74701: Download complete 15:56:37 53926ce57604: Verifying Checksum 15:56:37 53926ce57604: Download complete 15:56:37 96b7cbca73a9: Verifying Checksum 15:56:37 96b7cbca73a9: Download complete 15:56:41 53926ce57604: Pull complete 15:56:41 21b2b0c7a3f4: Pull complete 15:56:41 22ff95d597cd: Pull complete 15:56:41 12d6caf4c0d1: Pull complete 15:56:43 96b7cbca73a9: Pull complete 15:56:44 a7acece74701: Pull complete 15:56:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:56:44 ---> db6d94c90886 15:56:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:56:48 ---> Running in 88b21e32981a 15:56:48 Removing intermediate container 88b21e32981a 15:56:48 ---> 89da625d4d5b 15:56:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:56:48 ---> Running in 7895b6848a3e 15:56:48 Removing intermediate container 7895b6848a3e 15:56:48 ---> 88f6bd09567b 15:56:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:56:48 ---> Running in df0dd5f8e870 15:56:48 Removing intermediate container df0dd5f8e870 15:56:48 ---> 4949b521ff5d 15:56:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:56:48 ---> Running in dcde1bc7e783 15:56:48 Removing intermediate container dcde1bc7e783 15:56:48 ---> 07be3fc9456c 15:56:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:48 ---> Running in 3617292aafc2 15:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:56:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:56:49 (2/4) Installing libedit (20210910.3.1-r0) 15:56:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:56:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:56:49 Executing busybox-1.35.0-r17.trigger 15:56:49 OK: 216 MiB in 55 packages 15:56:49 Still waiting to schedule task 15:56:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:56:49 Removing intermediate container 3617292aafc2 15:56:49 ---> c59e79f24e7e 15:56:49 Step 8/12 : WORKDIR /device-rest-go 15:56:49 ---> Running in 3ac8bcd71656 15:56:50 Removing intermediate container 3ac8bcd71656 15:56:50 ---> 573d969b994f 15:56:50 Step 9/12 : COPY go.mod vendor* ./ 15:56:50 ---> 62707e144d9f 15:56:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:50 ---> Running in eca39e66a08d 15:57:28 Removing intermediate container eca39e66a08d 15:57:28 ---> 28ed5d6581e8 15:57:28 Step 11/12 : COPY . . 15:57:28 ---> 5dca152f275e 15:57:28 Step 12/12 : RUN $MAKE 15:57:28 ---> Running in 2264aa3e89e0 15:57:28 noop 15:57:29 Removing intermediate container 2264aa3e89e0 15:57:29 ---> f90e0b81f546 15:57:29 Successfully built f90e0b81f546 15:57:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:29 + docker inspect -f . ci-base-image-x86_64 15:57:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:29 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 15:57: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 15:57:30 $ docker top e3e4066c21ff22d06bdeb46001f3f80505712069eff17d51efdf42abac10f4d9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:30 + go version 15:57:30 go version go1.18.7 linux/amd64 [Pipeline] } 15:57:30 $ docker stop --time=1 e3e4066c21ff22d06bdeb46001f3f80505712069eff17d51efdf42abac10f4d9 15:57:31 $ docker rm -f --volumes e3e4066c21ff22d06bdeb46001f3f80505712069eff17d51efdf42abac10f4d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:32 + docker inspect -f . ci-base-image-x86_64 15:57:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:32 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 15:57:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:57:32 $ docker top 958082b567e6fb1db602bf7829e81c4c7dfc20628aadc758106531ce6294bf61 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 15:57:33 + make test 15:57:33 go test ./... -coverprofile=coverage.out ./... 15:57:33 ? github.com/edgexfoundry/device-rest-go [no test files] 15:57:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:57:43 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements 15:57:51 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:57:51 go vet ./... 15:57:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:57:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:57:54 ./bin/test-attribution-txt.sh [Pipeline] echo 15:57:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:57:54 $ docker stop --time=1 958082b567e6fb1db602bf7829e81c4c7dfc20628aadc758106531ce6294bf61 15:57:57 $ docker rm -f --volumes 958082b567e6fb1db602bf7829e81c4c7dfc20628aadc758106531ce6294bf61 [Pipeline] // withDockerContainer [Pipeline] sh 15:57:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:57:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:57:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:57:58 + ls -al . 15:57:58 total 188 15:57:58 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 15:57 . 15:57:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:56 .. 15:57:58 -rw-rw-r-- 1 jenkins jenkins 151 Feb 27 15:56 .dockerignore 15:57:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:57 .git 15:57:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:56 .github 15:57:58 -rw-rw-r-- 1 jenkins jenkins 329 Feb 27 15:56 .gitignore 15:57:58 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:56 .golangci.yml 15:57:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:56 .semver 15:57:58 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 27 15:56 Attribution.txt 15:57:58 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 27 15:56 CHANGELOG.md 15:57:58 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 27 15:56 Dockerfile 15:57:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:56 GOVERNANCE.md 15:57:58 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:56 Jenkinsfile 15:57:58 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:56 LICENSE 15:57:58 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 27 15:56 Makefile 15:57:58 -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 15:56 OWNERS.md 15:57:58 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 27 15:56 README.md 15:57:58 -rw-rw-r-- 1 jenkins jenkins 12 Feb 27 15:56 VERSION 15:57:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:56 bin 15:57:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:56 cmd 15:57:58 -rw-r--r-- 1 jenkins jenkins 13744 Feb 27 15:57 coverage.out 15:57:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:56 driver 15:57:58 -rw-rw-r-- 1 jenkins jenkins 3401 Feb 27 15:56 go.mod 15:57:58 -rw-rw-r-- 1 jenkins jenkins 33254 Feb 27 15:56 go.sum 15:57:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:56 snap 15:57:58 -rw-rw-r-- 1 jenkins jenkins 713 Feb 27 15:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:58 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab --label arch=amd64 --label version=3.0.0-dev.14 . 15:57:58 Sending build context to Docker daemon 10.84MB 15:57:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:57:58 Step 2/25 : FROM ${BASE} AS builder 15:57:58 ---> f90e0b81f546 15:57:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:57:59 ---> Running in 8a03325f7bd1 15:57:59 Removing intermediate container 8a03325f7bd1 15:57:59 ---> 1ee0361433de 15:57:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:59 ---> Running in 0f16ab8ac7ee 15:57:59 Removing intermediate container 0f16ab8ac7ee 15:57:59 ---> 70b502859a53 15:57:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:57:59 ---> Running in 7321c0b41b7f 15:57:59 Removing intermediate container 7321c0b41b7f 15:57:59 ---> c8bb84103174 15:57:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:57:59 ---> Running in a0cf49a0c580 15:57:59 Removing intermediate container a0cf49a0c580 15:57:59 ---> 4846cd9430ff 15:57:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:59 ---> Running in 2a3a0be10550 15:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:58:00 OK: 216 MiB in 55 packages 15:58:00 Removing intermediate container 2a3a0be10550 15:58:00 ---> ae49d4f7fb21 15:58:00 Step 8/25 : WORKDIR /device-rest-go 15:58:00 ---> Running in c54a2382dcf5 15:58:00 Removing intermediate container c54a2382dcf5 15:58:00 ---> ddd1dbd3ec63 15:58:00 Step 9/25 : COPY go.mod vendor* ./ 15:58:00 ---> 635a6455dac7 15:58:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:00 ---> Running in 6cdc34e221e3 15:58:02 Removing intermediate container 6cdc34e221e3 15:58:02 ---> a04a892632b6 15:58:02 Step 11/25 : COPY . . 15:58:02 ---> e50344edd03c 15:58:02 Step 12/25 : RUN $MAKE 15:58:02 ---> Running in d4441d647b14 15:58:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:58:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7598 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 15:58:21 Running in /w/workspace/device-rest-go/86 [Pipeline] { [Pipeline] checkout 15:58:21 The recommended git tool is: git 15:58:24 Removing intermediate container d4441d647b14 15:58:24 ---> 4914080d952a 15:58:24 Step 13/25 : FROM alpine:3.16 15:58:24 3.16: Pulling from library/alpine 15:58:24 ef5531b6e74e: Pulling fs layer 15:58:24 ef5531b6e74e: Verifying Checksum 15:58:24 ef5531b6e74e: Download complete 15:58:24 ef5531b6e74e: Pull complete 15:58:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:58:24 Status: Downloaded newer image for alpine:3.16 15:58:24 ---> dfd21b5a31f5 15:58:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:58:24 ---> Running in 311b6134be3a 15:58:24 Removing intermediate container 311b6134be3a 15:58:24 ---> 524772051cc3 15:58:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:58:24 ---> Running in 47a0261ff758 15:58:24 Removing intermediate container 47a0261ff758 15:58:24 ---> 8890299b2808 15:58:24 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:58:24 ---> Running in a2775f2b1307 15:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:58:24 (1/1) Installing dumb-init (1.2.5-r1) 15:58:24 Executing busybox-1.35.0-r17.trigger 15:58:24 OK: 6 MiB in 15 packages 15:58:25 Removing intermediate container a2775f2b1307 15:58:25 ---> bbadc824cb82 15:58:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:58:26 ---> 0037ebc91cce 15:58:26 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:58:26 ---> 1ffc14e53ec8 15:58:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:58:26 ---> 6bbb304fa7d4 15:58:26 Step 20/25 : EXPOSE 59986 15:58:26 ---> Running in cbf774eeb848 15:58:26 Removing intermediate container cbf774eeb848 15:58:26 ---> 5add60f49ce2 15:58:26 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:58:26 ---> Running in e93b905519da 15:58:26 Removing intermediate container e93b905519da 15:58:26 ---> 1de666040adc 15:58:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:58:26 ---> Running in fde77971e45f 15:58:26 Removing intermediate container fde77971e45f 15:58:26 ---> 6064b4410f43 15:58:26 Step 23/25 : LABEL arch=amd64 15:58:26 ---> Running in 7b127be311ea 15:58:26 Removing intermediate container 7b127be311ea 15:58:26 ---> ff7c4c4f4086 15:58:26 Step 24/25 : LABEL git_sha=2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 15:58:26 ---> Running in 7783d558d7c4 15:58:26 Removing intermediate container 7783d558d7c4 15:58:26 ---> a0e6268bb1b5 15:58:26 Step 25/25 : LABEL version=3.0.0-dev.14 15:58:26 ---> Running in 93435572a065 15:58:26 Removing intermediate container 93435572a065 15:58:26 ---> 41793772c98a 15:58:26 [Warning] One or more build-args [ARCH] were not consumed 15:58:26 Successfully built 41793772c98a 15:58:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:26 provisioning config files... 15:58:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2080441302839694371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:26 ---> docker-login.sh 15:58:26 nexus3.edgexfoundry.org:10001 15:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:26 Configure a credential helper to remove this warning. See 15:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:26 15:58:26 Login Succeeded 15:58:26 nexus3.edgexfoundry.org:10002 15:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:26 Configure a credential helper to remove this warning. See 15:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:26 15:58:26 Login Succeeded 15:58:26 nexus3.edgexfoundry.org:10003 15:58:27 using credential edgex-jenkins-ssh 15:58:27 Cloning the remote Git repository 15:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:27 Configure a credential helper to remove this warning. See 15:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:27 15:58:27 Login Succeeded 15:58:27 nexus3.edgexfoundry.org:10004 15:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:27 Configure a credential helper to remove this warning. See 15:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:27 15:58:27 Login Succeeded 15:58:27 docker.io 15:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:27 Configure a credential helper to remove this warning. See 15:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:27 15:58:27 Login Succeeded 15:58:27 ---> docker-login.sh ends [Pipeline] } 15:58:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:58:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:27 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:58:27 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 15:58:27 latest 15:58:27 3.0.0-dev.14 15:58:27 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 15:58:27 main 15:58:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:58:27 > git init /w/workspace/device-rest-go/86 # timeout=10 15:58:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:58:27 > git --version # timeout=10 15:58:27 > git --version # 'git version 2.25.1' 15:58:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 15:58:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:58:28 ab998990fb4f: Preparing 15:58:28 0d48fd8383e3: Preparing 15:58:28 c38bd4f0d932: Preparing 15:58:28 7aaa8eaa86fc: Preparing 15:58:28 aa5968d388b8: Preparing 15:58:28 aa5968d388b8: Layer already exists 15:58:28 7aaa8eaa86fc: Pushed 15:58:28 ab998990fb4f: Pushed 15:58:28 0d48fd8383e3: Pushed 15:58:30 Avoid second fetch 15:58:30 Checking out Revision 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab (main) 15:58:30 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#259)" 15:58:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:58:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:30 > git config core.sparsecheckout # timeout=10 15:58:30 > git checkout -f 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:31 c38bd4f0d932: Pushed 15:58:31 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab: digest: sha256:af6631ad80b0ac154df30bdaef18d6455e4dbbf63f0325efce264197fa0ad024 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:58:31 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:31 Dload Upload Total Spent Left Speed 15:58:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 15:58:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 15:58:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 15:58:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:58:31 ab998990fb4f: Preparing 15:58:31 0d48fd8383e3: Preparing 15:58:31 c38bd4f0d932: Preparing 15:58:31 7aaa8eaa86fc: Preparing 15:58:31 aa5968d388b8: Preparing 15:58:31 7aaa8eaa86fc: Layer already exists 15:58:31 c38bd4f0d932: Layer already exists 15:58:31 aa5968d388b8: Layer already exists 15:58:31 ab998990fb4f: Layer already exists 15:58:31 0d48fd8383e3: Layer already exists 15:58:31 latest: digest: sha256:af6631ad80b0ac154df30bdaef18d6455e4dbbf63f0325efce264197fa0ad024 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:58:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:32 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:58:32 sudo tee /etc/docker/daemon.new 15:58:32 { 15:58:32 "registry-mirrors": [ 15:58:32 "https://nexus3.edgexfoundry.org:10001" 15:58:32 ], 15:58:32 "bip": "10.250.0.254/24", 15:58:32 "hosts": [ 15:58:32 "tcp://0.0.0.0:5555", 15:58:32 "unix:///var/run/docker.sock" 15:58:32 ], 15:58:32 "mtu": 1458, 15:58:32 "selinux-enabled": true, 15:58:32 "seccomp-profile": "/etc/docker/seccomp.json" 15:58:32 } [Pipeline] sh 15:58:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.14 15:58:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:58:32 ab998990fb4f: Preparing 15:58:32 0d48fd8383e3: Preparing 15:58:32 c38bd4f0d932: Preparing 15:58:32 7aaa8eaa86fc: Preparing 15:58:32 aa5968d388b8: Preparing 15:58:32 ab998990fb4f: Layer already exists 15:58:32 0d48fd8383e3: Layer already exists 15:58:32 7aaa8eaa86fc: Layer already exists 15:58:32 aa5968d388b8: Layer already exists 15:58:32 c38bd4f0d932: Layer already exists 15:58:32 3.0.0-dev.14: digest: sha256:af6631ad80b0ac154df30bdaef18d6455e4dbbf63f0325efce264197fa0ad024 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:58:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:33 + sudo service docker restart 15:58:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 15:58:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:58:33 ab998990fb4f: Preparing 15:58:33 0d48fd8383e3: Preparing 15:58:33 c38bd4f0d932: Preparing 15:58:33 7aaa8eaa86fc: Preparing 15:58:33 aa5968d388b8: Preparing 15:58:33 ab998990fb4f: Layer already exists 15:58:33 7aaa8eaa86fc: Layer already exists 15:58:33 aa5968d388b8: Layer already exists 15:58:33 c38bd4f0d932: Layer already exists 15:58:33 0d48fd8383e3: Layer already exists 15:58:33 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14: digest: sha256:af6631ad80b0ac154df30bdaef18d6455e4dbbf63f0325efce264197fa0ad024 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 15:58:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:58:33 ab998990fb4f: Preparing 15:58:33 0d48fd8383e3: Preparing 15:58:33 c38bd4f0d932: Preparing 15:58:33 7aaa8eaa86fc: Preparing 15:58:33 aa5968d388b8: Preparing 15:58:33 ab998990fb4f: Layer already exists 15:58:33 0d48fd8383e3: Layer already exists 15:58:33 aa5968d388b8: Layer already exists 15:58:33 7aaa8eaa86fc: Layer already exists 15:58:33 c38bd4f0d932: Layer already exists 15:58:33 main: digest: sha256:af6631ad80b0ac154df30bdaef18d6455e4dbbf63f0325efce264197fa0ad024 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:58:33 ===================================================== [Pipeline] echo 15:58:33 taggedImages: 15:58:33 - nexus3.edgexfoundry.org:10004/device-rest:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 15:58:33 - nexus3.edgexfoundry.org:10004/device-rest:latest 15:58:33 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.14 15:58:33 - nexus3.edgexfoundry.org:10004/device-rest:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 15:58:33 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:34 15:58:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:34 latest: Pulling from edgex-lftools-log-publisher 15:58:34 5eb5b503b376: Pulling fs layer 15:58:34 5c69ac0246d0: Pulling fs layer 15:58:34 ec43610c2a17: Pulling fs layer 15:58:34 3a2ae6a8a46f: Pulling fs layer 15:58:34 33b1e0a273af: Pulling fs layer 15:58:34 3a2ae6a8a46f: Waiting 15:58:34 5d3b04190fa2: Pulling fs layer 15:58:34 2f39f015ded8: Pulling fs layer 15:58:34 33b1e0a273af: Waiting 15:58:34 5d3b04190fa2: Waiting 15:58:34 2f39f015ded8: Waiting 15:58:34 5c69ac0246d0: Verifying Checksum 15:58:34 5c69ac0246d0: Download complete 15:58:34 3a2ae6a8a46f: Download complete 15:58:34 33b1e0a273af: Verifying Checksum 15:58:34 33b1e0a273af: Download complete 15:58:34 ec43610c2a17: Verifying Checksum 15:58:34 ec43610c2a17: Download complete 15:58:34 5d3b04190fa2: Verifying Checksum 15:58:34 5d3b04190fa2: Download complete 15:58:34 5eb5b503b376: Verifying Checksum 15:58:34 5eb5b503b376: Download complete 15:58:35 2f39f015ded8: Verifying Checksum 15:58:35 2f39f015ded8: Download complete 15:58:36 5eb5b503b376: Pull complete 15:58:36 5c69ac0246d0: Pull complete 15:58:36 ec43610c2a17: Pull complete 15:58:36 3a2ae6a8a46f: Pull complete 15:58:37 33b1e0a273af: Pull complete 15:58:37 5d3b04190fa2: Pull complete 15:58:42 2f39f015ded8: Pull complete 15:58:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:42 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 15:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:58:45 $ docker top 4530707cb3bcb25ef040e75323d20eb0a264a5f54ff7a0f9fcc839ec2caac2e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:46 ---> job-cost.sh 15:58:46 lf-activate-venv: SKIPPING 15:58:46 INFO: No Stack... 15:58:46 INFO: Retrieving Pricing Info for: v3-standard-8 15:58:47 INFO: Archiving Costs [Pipeline] sh 15:58:47 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 15:58:47 + cut -d, -f6 [Pipeline] lock 15:58:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] 15:58:47 Resource [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] did not exist. Created. 15:58:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:47 + echo total: 0.2199999988079071 [Pipeline] stash 15:58:47 Stashed 1 file(s) [Pipeline] } 15:58:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 15:58:47 $ docker stop --time=1 4530707cb3bcb25ef040e75323d20eb0a264a5f54ff7a0f9fcc839ec2caac2e7 15:58:48 $ docker rm -f --volumes 4530707cb3bcb25ef040e75323d20eb0a264a5f54ff7a0f9fcc839ec2caac2e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:51 provisioning config files... 15:58:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/86@tmp/config13880203200239145309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:51 ---> docker-login.sh 15:58:51 nexus3.edgexfoundry.org:10001 15:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:52 Configure a credential helper to remove this warning. See 15:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:52 15:58:52 Login Succeeded 15:58:52 nexus3.edgexfoundry.org:10002 15:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:52 Configure a credential helper to remove this warning. See 15:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:52 15:58:52 Login Succeeded 15:58:52 nexus3.edgexfoundry.org:10003 15:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:53 Configure a credential helper to remove this warning. See 15:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:53 15:58:53 Login Succeeded 15:58:53 nexus3.edgexfoundry.org:10004 15:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:53 Configure a credential helper to remove this warning. See 15:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:53 15:58:53 Login Succeeded 15:58:53 docker.io 15:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:53 Configure a credential helper to remove this warning. See 15:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:53 15:58:53 Login Succeeded 15:58:53 ---> docker-login.sh ends [Pipeline] } 15:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:54 ========================================================= 15:58:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:58:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:58:54 Sending build context to Docker daemon 138.8kB 15:58:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:58:54 Step 2/12 : FROM ${BASE} AS builder 15:58:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:58:55 9b18e9b68314: Pulling fs layer 15:58:55 35d82f9e3411: Pulling fs layer 15:58:55 e16973657156: Pulling fs layer 15:58:55 fc693d55d65f: Pulling fs layer 15:58:55 7e9fc2657dce: Pulling fs layer 15:58:55 dda99020689f: Pulling fs layer 15:58:55 db1c61fa0a46: Pulling fs layer 15:58:55 891c053d2c06: Pulling fs layer 15:58:55 dda99020689f: Waiting 15:58:55 fc693d55d65f: Waiting 15:58:55 7e9fc2657dce: Waiting 15:58:55 891c053d2c06: Waiting 15:58:55 db1c61fa0a46: Waiting 15:58:55 e16973657156: Verifying Checksum 15:58:55 e16973657156: Download complete 15:58:55 35d82f9e3411: Verifying Checksum 15:58:55 35d82f9e3411: Download complete 15:58:55 7e9fc2657dce: Verifying Checksum 15:58:55 7e9fc2657dce: Download complete 15:58:55 dda99020689f: Verifying Checksum 15:58:55 dda99020689f: Download complete 15:58:55 9b18e9b68314: Verifying Checksum 15:58:55 9b18e9b68314: Download complete 15:58:56 9b18e9b68314: Pull complete 15:58:56 891c053d2c06: Verifying Checksum 15:58:56 891c053d2c06: Download complete 15:58:56 35d82f9e3411: Pull complete 15:58:57 e16973657156: Pull complete 15:58:57 db1c61fa0a46: Verifying Checksum 15:58:57 db1c61fa0a46: Download complete 15:58:58 fc693d55d65f: Verifying Checksum 15:58:58 fc693d55d65f: Download complete 15:59:10 fc693d55d65f: Pull complete 15:59:10 7e9fc2657dce: Pull complete 15:59:10 dda99020689f: Pull complete 15:59:17 db1c61fa0a46: Pull complete 15:59:18 891c053d2c06: Pull complete 15:59:18 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:59:18 ---> f96f9c87975a 15:59:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:59:20 ---> Running in 081084234b3a 15:59:20 Removing intermediate container 081084234b3a 15:59:20 ---> 534bfd4f811a 15:59:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:20 ---> Running in a83a77627e32 15:59:21 Removing intermediate container a83a77627e32 15:59:21 ---> f8a75dcbd04d 15:59:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:59:21 ---> Running in 8d9f27a05bb9 15:59:21 Removing intermediate container 8d9f27a05bb9 15:59:21 ---> 468d3fe94182 15:59:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:59:21 ---> Running in 093e01b3b762 15:59:21 Removing intermediate container 093e01b3b762 15:59:21 ---> 0c956d2e1417 15:59:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:21 ---> Running in 22b2f5cf41d6 15:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:59:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:59:23 (2/4) Installing libedit (20210910.3.1-r0) 15:59:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:59:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:59:23 Executing busybox-1.35.0-r17.trigger 15:59:23 OK: 226 MiB in 55 packages 15:59:24 Removing intermediate container 22b2f5cf41d6 15:59:24 ---> 41f681ce8755 15:59:24 Step 8/12 : WORKDIR /device-rest-go 15:59:24 ---> Running in 7f89cdd6eaa4 15:59:25 Removing intermediate container 7f89cdd6eaa4 15:59:25 ---> 2b0251158015 15:59:25 Step 9/12 : COPY go.mod vendor* ./ 15:59:25 ---> 8a6cb0cd04e7 15:59:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:25 ---> Running in f498ad7baf3d 16:00:33 Removing intermediate container f498ad7baf3d 16:00:33 ---> 22f00e2b4259 16:00:33 Step 11/12 : COPY . . 16:00:33 ---> 33cdefec5de9 16:00:33 Step 12/12 : RUN $MAKE 16:00:33 ---> Running in c4bab79a2a86 16:00:33 noop 16:00:33 Removing intermediate container c4bab79a2a86 16:00:33 ---> 10ab7ef052ef 16:00:33 Successfully built 10ab7ef052ef 16:00:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:34 + docker inspect -f . ci-base-image-arm64 16:00:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:34 prd-ubuntu20.04-docker-arm64-4c-16g-7598 does not seem to be running inside a container 16:00:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/86 -v /w/workspace/device-rest-go/86:/w/workspace/device-rest-go/86:rw,z -v /w/workspace/device-rest-go/86@tmp:/w/workspace/device-rest-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:00:35 $ docker top e15e954bd27e3861c00423b125e8c9801009e8dd680db48dbf60c25c5875c128 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:36 + go version 16:00:36 go version go1.18.7 linux/arm64 [Pipeline] } 16:00:36 $ docker stop --time=1 e15e954bd27e3861c00423b125e8c9801009e8dd680db48dbf60c25c5875c128 16:00:38 $ docker rm -f --volumes e15e954bd27e3861c00423b125e8c9801009e8dd680db48dbf60c25c5875c128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:38 + docker inspect -f . ci-base-image-arm64 16:00:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:38 prd-ubuntu20.04-docker-arm64-4c-16g-7598 does not seem to be running inside a container 16:00:38 $ 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/86 -v /w/workspace/device-rest-go/86:/w/workspace/device-rest-go/86:rw,z -v /w/workspace/device-rest-go/86@tmp:/w/workspace/device-rest-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:00:40 $ docker top f15112668a4539bd1a45836d6e4611c17568b86336511485aa3eb881dacb6089 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:41 + git config --global --add safe.directory /w/workspace/device-rest-go/86 [Pipeline] fileExists [Pipeline] sh 16:00:41 + make test 16:00:41 go test ./... -coverprofile=coverage.out ./... 16:00:43 ? github.com/edgexfoundry/device-rest-go [no test files] 16:02:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:02:04 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.9% of statements 16:02:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:02:04 go vet ./... 16:02:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:02:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:02:26 ./bin/test-attribution-txt.sh [Pipeline] echo 16:02:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:02:26 $ docker stop --time=1 f15112668a4539bd1a45836d6e4611c17568b86336511485aa3eb881dacb6089 16:02:28 $ docker rm -f --volumes f15112668a4539bd1a45836d6e4611c17568b86336511485aa3eb881dacb6089 [Pipeline] // withDockerContainer [Pipeline] sh 16:02:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:02:29 Warning: overwriting stash ‘coverage-report’ 16:02:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:02:30 + ls -al . 16:02:30 total 184 16:02:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 16:00 . 16:02:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:58 .. 16:02:30 -rw-rw-r-- 1 jenkins jenkins 151 Feb 27 15:58 .dockerignore 16:02:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:58 .git 16:02:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:58 .github 16:02:30 -rw-rw-r-- 1 jenkins jenkins 329 Feb 27 15:58 .gitignore 16:02:30 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:58 .golangci.yml 16:02:30 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 27 15:58 Attribution.txt 16:02:30 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 27 15:58 CHANGELOG.md 16:02:30 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 27 15:58 Dockerfile 16:02:30 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:58 GOVERNANCE.md 16:02:30 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:58 Jenkinsfile 16:02:30 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:58 LICENSE 16:02:30 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 27 15:58 Makefile 16:02:30 -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 15:58 OWNERS.md 16:02:30 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 27 15:58 README.md 16:02:30 -rw-rw-r-- 1 jenkins jenkins 12 Feb 27 15:56 VERSION 16:02:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:58 bin 16:02:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:58 cmd 16:02:30 -rw-r--r-- 1 jenkins jenkins 13744 Feb 27 16:02 coverage.out 16:02:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:58 driver 16:02:30 -rw-rw-r-- 1 jenkins jenkins 3401 Feb 27 15:58 go.mod 16:02:30 -rw-rw-r-- 1 jenkins jenkins 33254 Feb 27 15:58 go.sum 16:02:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:58 snap 16:02:30 -rw-rw-r-- 1 jenkins jenkins 713 Feb 27 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:31 + 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=2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab --label arch=arm64 --label version=3.0.0-dev.14 . 16:02:31 Sending build context to Docker daemon 153.1kB 16:02:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:02:31 Step 2/25 : FROM ${BASE} AS builder 16:02:31 ---> 10ab7ef052ef 16:02:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:02:31 ---> Running in 54413f927703 16:02:31 Removing intermediate container 54413f927703 16:02:31 ---> 320cf38ffca5 16:02:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:02:32 ---> Running in ecf8d641f75e 16:02:32 Removing intermediate container ecf8d641f75e 16:02:32 ---> f4f44bea6841 16:02:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:02:32 ---> Running in 72d6ba7811b3 16:02:34 Removing intermediate container 72d6ba7811b3 16:02:34 ---> 51d69fe1df4d 16:02:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:02:34 ---> Running in b9a5849e442b 16:02:35 Removing intermediate container b9a5849e442b 16:02:35 ---> dc5e8bb00e7c 16:02:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:35 ---> Running in a3cbfc2c28bb 16:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:02:38 OK: 226 MiB in 55 packages 16:02:38 Removing intermediate container a3cbfc2c28bb 16:02:38 ---> 5a6e4108cdb7 16:02:38 Step 8/25 : WORKDIR /device-rest-go 16:02:38 ---> Running in a0d20e050ee7 16:02:39 Removing intermediate container a0d20e050ee7 16:02:39 ---> d10237198029 16:02:39 Step 9/25 : COPY go.mod vendor* ./ 16:02:39 ---> f053e02bdcbb 16:02:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:39 ---> Running in 28144cf05952 16:02:43 Removing intermediate container 28144cf05952 16:02:43 ---> 5b62938c35ba 16:02:43 Step 11/25 : COPY . . 16:02:43 ---> 21c87c9227ac 16:02:43 Step 12/25 : RUN $MAKE 16:02:43 ---> Running in 1edb345be061 16:02:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:05:21 Removing intermediate container 1edb345be061 16:05:21 ---> 3eabdd12fb2d 16:05:21 Step 13/25 : FROM alpine:3.16 16:05:21 3.16: Pulling from library/alpine 16:05:21 3760b48202b3: Pulling fs layer 16:05:21 3760b48202b3: Verifying Checksum 16:05:21 3760b48202b3: Download complete 16:05:21 3760b48202b3: Pull complete 16:05:21 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:05:21 Status: Downloaded newer image for alpine:3.16 16:05:21 ---> 4c81e5bf8899 16:05:21 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:05:21 ---> Running in 36fc4abe6fe9 16:05:21 Removing intermediate container 36fc4abe6fe9 16:05:21 ---> 10141018bcb0 16:05:21 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:05:21 ---> Running in 8ee0ef7d9c28 16:05:21 Removing intermediate container 8ee0ef7d9c28 16:05:21 ---> 8d85b6a2d2a1 16:05:21 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:05:21 ---> Running in c6885a2a54e0 16:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:05:21 (1/1) Installing dumb-init (1.2.5-r1) 16:05:21 Executing busybox-1.35.0-r17.trigger 16:05:21 OK: 5 MiB in 15 packages 16:05:21 Removing intermediate container c6885a2a54e0 16:05:21 ---> d512c1d45c2b 16:05:21 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:05:21 ---> e8c98ac26802 16:05:21 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:05:21 ---> a92feb1cf5af 16:05:21 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:05:21 ---> 9d8de28a9407 16:05:21 Step 20/25 : EXPOSE 59986 16:05:21 ---> Running in 2d051709fdc4 16:05:21 Removing intermediate container 2d051709fdc4 16:05:21 ---> 9f6cc7844f5a 16:05:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:05:21 ---> Running in 844208e71fb8 16:05:21 Removing intermediate container 844208e71fb8 16:05:21 ---> f303cc9e7369 16:05:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:05:21 ---> Running in 19d2ee2a63b0 16:05:21 Removing intermediate container 19d2ee2a63b0 16:05:21 ---> d635bf05d04e 16:05:21 Step 23/25 : LABEL arch=arm64 16:05:21 ---> Running in 174dd763b979 16:05:21 Removing intermediate container 174dd763b979 16:05:21 ---> f4f2b6da8640 16:05:21 Step 24/25 : LABEL git_sha=2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 16:05:21 ---> Running in b571df4ab8e1 16:05:21 Removing intermediate container b571df4ab8e1 16:05:21 ---> 7ac3cf0b1533 16:05:21 Step 25/25 : LABEL version=3.0.0-dev.14 16:05:21 ---> Running in 3779d05525de 16:05:21 Removing intermediate container 3779d05525de 16:05:21 ---> 2bac8bc8cce3 16:05:21 [Warning] One or more build-args [ARCH] were not consumed 16:05:21 Successfully built 2bac8bc8cce3 16:05:21 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 16:05:21 provisioning config files... 16:05:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/86@tmp/config12645119915435070225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:22 ---> docker-login.sh 16:05:22 nexus3.edgexfoundry.org:10001 16:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:22 Configure a credential helper to remove this warning. See 16:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:22 16:05:22 Login Succeeded 16:05:22 nexus3.edgexfoundry.org:10002 16:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:22 Configure a credential helper to remove this warning. See 16:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:22 16:05:22 Login Succeeded 16:05:22 nexus3.edgexfoundry.org:10003 16:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:22 Configure a credential helper to remove this warning. See 16:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:22 16:05:22 Login Succeeded 16:05:22 nexus3.edgexfoundry.org:10004 16:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:23 Configure a credential helper to remove this warning. See 16:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:23 16:05:23 Login Succeeded 16:05:23 docker.io 16:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:24 Configure a credential helper to remove this warning. See 16:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:24 16:05:24 Login Succeeded 16:05:24 ---> docker-login.sh ends [Pipeline] } 16:05:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:24 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:05:24 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 16:05:24 latest 16:05:24 3.0.0-dev.14 16:05:24 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 16:05:24 main 16:05:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 16:05:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:24 190b290088e1: Preparing 16:05:24 47f762595ac3: Preparing 16:05:24 b8c496cbb3d1: Preparing 16:05:24 2772ba0b3c35: Preparing 16:05:24 f70ee36035b9: Preparing 16:05:24 f70ee36035b9: Layer already exists 16:05:25 2772ba0b3c35: Pushed 16:05:25 47f762595ac3: Pushed 16:05:25 190b290088e1: Pushed 16:05:30 b8c496cbb3d1: Pushed 16:05:30 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab: digest: sha256:b3a80bd672b32f4f73b71cbe64f79ed8d7386ea2ce5e467afac12f5531dcd242 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:05:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:31 190b290088e1: Preparing 16:05:31 47f762595ac3: Preparing 16:05:31 b8c496cbb3d1: Preparing 16:05:31 2772ba0b3c35: Preparing 16:05:31 f70ee36035b9: Preparing 16:05:31 2772ba0b3c35: Layer already exists 16:05:31 b8c496cbb3d1: Layer already exists 16:05:31 f70ee36035b9: Layer already exists 16:05:31 190b290088e1: Layer already exists 16:05:31 47f762595ac3: Layer already exists 16:05:31 latest: digest: sha256:b3a80bd672b32f4f73b71cbe64f79ed8d7386ea2ce5e467afac12f5531dcd242 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.14 16:05:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:31 190b290088e1: Preparing 16:05:31 47f762595ac3: Preparing 16:05:31 b8c496cbb3d1: Preparing 16:05:31 2772ba0b3c35: Preparing 16:05:31 f70ee36035b9: Preparing 16:05:31 f70ee36035b9: Layer already exists 16:05:31 47f762595ac3: Layer already exists 16:05:31 190b290088e1: Layer already exists 16:05:31 2772ba0b3c35: Layer already exists 16:05:31 b8c496cbb3d1: Layer already exists 16:05:31 3.0.0-dev.14: digest: sha256:b3a80bd672b32f4f73b71cbe64f79ed8d7386ea2ce5e467afac12f5531dcd242 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 16:05:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:32 190b290088e1: Preparing 16:05:32 47f762595ac3: Preparing 16:05:32 b8c496cbb3d1: Preparing 16:05:32 2772ba0b3c35: Preparing 16:05:32 f70ee36035b9: Preparing 16:05:32 b8c496cbb3d1: Layer already exists 16:05:32 f70ee36035b9: Layer already exists 16:05:32 190b290088e1: Layer already exists 16:05:32 2772ba0b3c35: Layer already exists 16:05:32 47f762595ac3: Layer already exists 16:05:32 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14: digest: sha256:b3a80bd672b32f4f73b71cbe64f79ed8d7386ea2ce5e467afac12f5531dcd242 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:05:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:05:33 190b290088e1: Preparing 16:05:33 47f762595ac3: Preparing 16:05:33 b8c496cbb3d1: Preparing 16:05:33 2772ba0b3c35: Preparing 16:05:33 f70ee36035b9: Preparing 16:05:33 47f762595ac3: Layer already exists 16:05:33 190b290088e1: Layer already exists 16:05:33 2772ba0b3c35: Layer already exists 16:05:33 f70ee36035b9: Layer already exists 16:05:33 b8c496cbb3d1: Layer already exists 16:05:33 main: digest: sha256:b3a80bd672b32f4f73b71cbe64f79ed8d7386ea2ce5e467afac12f5531dcd242 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:05:33 ===================================================== [Pipeline] echo 16:05:33 taggedImages: 16:05:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab 16:05:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:05:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.14 16:05:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab-3.0.0-dev.14 16:05:33 - 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 16:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:33 16:05:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:33 arm64: Pulling from edgex-lftools-log-publisher 16:05:33 8998bd30e6a1: Pulling fs layer 16:05:33 04944245beec: Pulling fs layer 16:05:33 699f458cf7ca: Pulling fs layer 16:05:33 765212b225bb: Pulling fs layer 16:05:33 f23df028b6ca: Pulling fs layer 16:05:33 d65c8cfc05b1: Pulling fs layer 16:05:33 2437ff75d9bd: Pulling fs layer 16:05:33 765212b225bb: Waiting 16:05:33 f23df028b6ca: Waiting 16:05:33 d65c8cfc05b1: Waiting 16:05:33 2437ff75d9bd: Waiting 16:05:34 04944245beec: Verifying Checksum 16:05:34 04944245beec: Download complete 16:05:34 765212b225bb: Verifying Checksum 16:05:34 765212b225bb: Download complete 16:05:34 f23df028b6ca: Verifying Checksum 16:05:34 f23df028b6ca: Download complete 16:05:34 d65c8cfc05b1: Verifying Checksum 16:05:34 d65c8cfc05b1: Download complete 16:05:34 699f458cf7ca: Verifying Checksum 16:05:34 699f458cf7ca: Download complete 16:05:34 8998bd30e6a1: Verifying Checksum 16:05:34 8998bd30e6a1: Download complete 16:05:37 2437ff75d9bd: Verifying Checksum 16:05:37 2437ff75d9bd: Download complete 16:05:38 8998bd30e6a1: Pull complete 16:05:38 04944245beec: Pull complete 16:05:40 699f458cf7ca: Pull complete 16:05:40 765212b225bb: Pull complete 16:05:41 f23df028b6ca: Pull complete 16:05:41 d65c8cfc05b1: Pull complete 16:05:56 2437ff75d9bd: Pull complete 16:05:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:56 prd-ubuntu20.04-docker-arm64-4c-16g-7598 does not seem to be running inside a container 16:05:56 $ 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/86 -v /w/workspace/device-rest-go/86:/w/workspace/device-rest-go/86:rw,z -v /w/workspace/device-rest-go/86@tmp:/w/workspace/device-rest-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:05:59 $ docker top 4fa1c40ab8f929aba311541725f05a7efa23676a1137b1982b46bf7163a7ba9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:00 ---> job-cost.sh 16:06:00 lf-activate-venv: SKIPPING 16:06:00 INFO: No Stack... 16:06:00 INFO: Retrieving Pricing Info for: v3-standard-4 16:06:01 INFO: Archiving Costs [Pipeline] sh 16:06:01 + cut -d, -f6 16:06:01 + cat /w/workspace/device-rest-go/86/archives/cost.csv [Pipeline] lock 16:06:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] 16:06:01 Resource [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] did not exist. Created. 16:06:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:06:02 /w/workspace/device-rest-go/86@tmp/durable-e1fdb4e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:06:03 + echo total: 0.10999999940395355 [Pipeline] stash 16:06:03 Warning: overwriting stash ‘stack-cost’ 16:06:03 Stashed 1 file(s) [Pipeline] } 16:06:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 16:06:03 $ docker stop --time=1 4fa1c40ab8f929aba311541725f05a7efa23676a1137b1982b46bf7163a7ba9f 16:06:04 $ docker rm -f --volumes 4fa1c40ab8f929aba311541725f05a7efa23676a1137b1982b46bf7163a7ba9f [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 16:06:04 provisioning config files... 16:06:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9139652620646067579tmp [Pipeline] { [Pipeline] sh 16:06:05 + set +x 16:06:05 + curl -s https://codecov.io/bash 16:06:05 + bash -s -- 16:06:05 16:06:05 _____ _ 16:06:05 / ____| | | 16:06:05 | | ___ __| | ___ ___ _____ __ 16:06:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:06:05 | |___| (_) | (_| | __/ (_| (_) \ V / 16:06:05 \_____\___/ \__,_|\___|\___\___/ \_/ 16:06:05 Bash-1.0.6 16:06:05 16:06:05 16:06:05 ==> git version 2.25.1 found 16:06:05 ==> 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 16:06:05 Release-Date: 2020-01-08 16:06:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:06:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:06:05 ==> Jenkins CI detected. 16:06:05 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:06:05 project root: . 16:06:05 --> token set from env 16:06:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:06:05 ==> Running gcov in . (disable via -X gcov) 16:06:05 ==> Python coveragepy not found 16:06:05 ==> Searching for coverage reports in: 16:06:05 + . 16:06:05 -> Found 1 reports 16:06:05 ==> Detecting git/mercurial file structure 16:06:05 ==> Reading reports 16:06:05 + ./coverage.out bytes=13744 16:06:05 ==> Appending adjustments 16:06:05 https://docs.codecov.io/docs/fixing-reports 16:06:05 + Found adjustments 16:06:05 ==> Gzipping contents 16:06:05 4.0K /tmp/codecov.QfkcBb.gz 16:06:05 ==> Uploading reports 16:06:05 url: https://codecov.io 16:06:05 query: branch=main&commit=2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:06:05 -> Pinging Codecov 16:06:05 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=2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:06:05 -> Uploading to 16:06:05 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/4E5D53B4F1F92C436F7061BF334D961C/2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab/82211f01-0eaa-44ac-be71-c3c789882787.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T160605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc8027ea76e2c931a9a4f1959d599b9537b762c03367bf8bd8f73e1b3efa855d 16:06:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:06:05 Dload Upload Total Spent Left Speed 16:06:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 12034 --:--:-- --:--:-- --:--:-- 11975 100 2443 0 0 100 2443 0 8756 --:--:-- --:--:-- --:--:-- 8725 16:06:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] } 16:06:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:06:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:06:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:06 16:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:06:06 df9b9388f04a: Pulling fs layer 16:06:06 52dc419b0ee2: Pulling fs layer 16:06:06 25bc292e5bac: Pulling fs layer 16:06:06 114826534d7a: Pulling fs layer 16:06:06 4657fd5d0bcf: Pulling fs layer 16:06:06 114826534d7a: Waiting 16:06:06 6ad1cebc031e: Pulling fs layer 16:06:06 8a3aa393b2d8: Pulling fs layer 16:06:06 6ad1cebc031e: Waiting 16:06:06 4657fd5d0bcf: Waiting 16:06:06 25bc292e5bac: Verifying Checksum 16:06:06 25bc292e5bac: Download complete 16:06:06 52dc419b0ee2: Download complete 16:06:06 4657fd5d0bcf: Verifying Checksum 16:06:06 4657fd5d0bcf: Download complete 16:06:06 df9b9388f04a: Verifying Checksum 16:06:06 df9b9388f04a: Download complete 16:06:07 df9b9388f04a: Pull complete 16:06:07 6ad1cebc031e: Verifying Checksum 16:06:07 6ad1cebc031e: Download complete 16:06:07 52dc419b0ee2: Pull complete 16:06:07 25bc292e5bac: Pull complete 16:06:07 114826534d7a: Verifying Checksum 16:06:07 114826534d7a: Download complete 16:06:07 8a3aa393b2d8: Verifying Checksum 16:06:07 8a3aa393b2d8: Download complete 16:06:11 114826534d7a: Pull complete 16:06:11 4657fd5d0bcf: Pull complete 16:06:11 6ad1cebc031e: Pull complete 16:06:14 8a3aa393b2d8: Pull complete 16:06:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:06:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:15 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 16:06:15 $ 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 16:06:18 $ docker top 02e76ba0cf3d70ebc55abd6cafb121ff493f4df02a423c91bb26b6d146bfa838 -eo pid,comm [Pipeline] { [Pipeline] echo 16:06:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:06:18 + set -o pipefail 16:06:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:06:25 16:06:25 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:06:25 16:06:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/627edfc2-e08a-4c9c-90cb-0943f11c5ef2 16:06:25 16:06:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:06:25 16:06:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:06:25 16:06:25 16:06:25 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:06:25 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:06:25 More details here: https://snyk.co/ue1NS [Pipeline] } 16:06:25 $ docker stop --time=1 02e76ba0cf3d70ebc55abd6cafb121ff493f4df02a423c91bb26b6d146bfa838 16:06:28 $ docker rm -f --volumes 02e76ba0cf3d70ebc55abd6cafb121ff493f4df02a423c91bb26b6d146bfa838 [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 16:06:29 + git log --format=format:%s -1 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab [Pipeline] sh 16:06:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:29 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 16:06:29 $ 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 16:06:30 $ docker top e705061d89bebcaaa55eb3a0228f19ae2c7b6120beb26e7f7410441eceb54d0c -eo pid,comm 16:06:30 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). 16:06:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:30 [ssh-agent] Looking for ssh-agent implementation... 16:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:30 $ docker exec e705061d89bebcaaa55eb3a0228f19ae2c7b6120beb26e7f7410441eceb54d0c ssh-agent 16:06:30 SSH_AUTH_SOCK=/tmp/ssh-FedVQDdN22Ka/agent.32 16:06:30 SSH_AGENT_PID=38 16:06:30 Running ssh-add (command line suppressed) 16:06:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7249206357862621491.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7249206357862621491.key) 16:06:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:31 + git semver tag 16:06:31 2023-02-27 16:06:31,218 [run_tag] DEBUG tag force:False 16:06:31 2023-02-27 16:06:31,218 [check_head_tag] DEBUG check head tag 16:06:31 2023-02-27 16:06:31,219 [execute] INFO git cat-file --batch-check 16:06:31 2023-02-27 16:06:31,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:06:31 2023-02-27 16:06:31,224 [execute] INFO git cat-file --batch 16:06:31 2023-02-27 16:06:31,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:06:31 2023-02-27 16:06:31,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:31 2023-02-27 16:06:31,242 [execute] INFO git tag -a v3.0.0-dev.14 -m v3.0.0-dev.14 16:06:31 2023-02-27 16:06:31,242 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.14', '-m', 'v3.0.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:06:31 2023-02-27 16:06:31,247 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:31 3.0.0-dev.14 [Pipeline] } 16:06:31 $ docker exec --env ******** --env ******** e705061d89bebcaaa55eb3a0228f19ae2c7b6120beb26e7f7410441eceb54d0c ssh-agent -k 16:06:31 unset SSH_AUTH_SOCK; 16:06:31 unset SSH_AGENT_PID; 16:06:31 echo Agent pid 38 killed; 16:06:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:31 + git semver [Pipeline] } 16:06:31 $ docker stop --time=1 e705061d89bebcaaa55eb3a0228f19ae2c7b6120beb26e7f7410441eceb54d0c 16:06:33 $ docker rm -f --volumes e705061d89bebcaaa55eb3a0228f19ae2c7b6120beb26e7f7410441eceb54d0c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:33 16:06:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:33 0.23.1-centos7: Pulling from edgex-lftools 16:06:33 ab5ef0e58194: Pulling fs layer 16:06:33 9712f1f96733: Pulling fs layer 16:06:33 63f879dbbcfc: Pulling fs layer 16:06:33 0d9ebad4ef96: Pulling fs layer 16:06:33 e9a5061849ea: Pulling fs layer 16:06:33 d747dcd14b5f: Pulling fs layer 16:06:33 0d9ebad4ef96: Waiting 16:06:33 e9a5061849ea: Waiting 16:06:33 d747dcd14b5f: Waiting 16:06:33 2de7ff778b66: Pulling fs layer 16:06:33 2de7ff778b66: Waiting 16:06:33 9712f1f96733: Verifying Checksum 16:06:33 9712f1f96733: Download complete 16:06:34 63f879dbbcfc: Verifying Checksum 16:06:34 63f879dbbcfc: Download complete 16:06:34 e9a5061849ea: Verifying Checksum 16:06:34 e9a5061849ea: Download complete 16:06:34 d747dcd14b5f: Download complete 16:06:34 0d9ebad4ef96: Verifying Checksum 16:06:34 0d9ebad4ef96: Download complete 16:06:34 ab5ef0e58194: Verifying Checksum 16:06:34 ab5ef0e58194: Download complete 16:06:34 2de7ff778b66: Verifying Checksum 16:06:34 2de7ff778b66: Download complete 16:06:37 ab5ef0e58194: Pull complete 16:06:37 9712f1f96733: Pull complete 16:06:38 63f879dbbcfc: Pull complete 16:06:42 0d9ebad4ef96: Pull complete 16:06:42 e9a5061849ea: Pull complete 16:06:42 d747dcd14b5f: Pull complete 16:06:43 2de7ff778b66: Pull complete 16:06:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:06:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:43 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 16:06:43 $ 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 16:06:48 $ docker top c7d0a273db39766cd83e31e9338137f44f5ae2009e13c2c527dab748e48d0223 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:06:48 provisioning config files... 16:06:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8625994858178550139tmp 16:06:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4484837630833335644tmp 16:06:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8408186857540019451tmp [Pipeline] { [Pipeline] echo 16:06:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:06:49 ---> sigul-configuration.sh 16:06:49 gpg: directory `/root/.gnupg' created 16:06:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:06:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:06:49 gpg: keyring `/root/.gnupg/secring.gpg' created 16:06:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:06:49 gpg: CAST5 encrypted data 16:06:49 gpg: encrypted with 1 passphrase 16:06:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:06:49 + mkdir /home/jenkins 16:06:49 + mkdir /home/jenkins/sigul [Pipeline] sh 16:06:49 + 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 16:06:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:06:50 ---> sigul-install.sh 16:06:50 Sigul already installed; skipping installation. [Pipeline] sh 16:06:50 + git tag --list 16:06:50 v1.0.0 16:06:50 v1.1.0 16:06:50 v1.1.1 16:06:50 v1.1.2 16:06:50 v1.2.0 16:06:50 v1.2.1 16:06:50 v2.0.0 16:06:50 v2.1.0 16:06:50 v2.1.1 16:06:50 v2.1.1-dev.1 16:06:50 v2.1.1-dev.2 16:06:50 v2.1.1-dev.3 16:06:50 v2.2.0 16:06:50 v2.2.1-dev.1 16:06:50 v2.2.1-dev.2 16:06:50 v2.2.1-dev.3 16:06:50 v2.2.1-dev.4 16:06:50 v2.2.1-dev.5 16:06:50 v2.2.1-dev.6 16:06:50 v2.2.1-dev.7 16:06:50 v2.2.1-dev.8 16:06:50 v2.2.1-dev.9 16:06:50 v2.3.0 16:06:50 v2.3.0-dev.10 16:06:50 v2.3.0-dev.11 16:06:50 v2.3.0-dev.12 16:06:50 v2.3.0-dev.13 16:06:50 v2.3.0-dev.14 16:06:50 v2.3.0-dev.15 16:06:50 v2.3.0-dev.16 16:06:50 v2.3.0-dev.17 16:06:50 v2.3.0-dev.18 16:06:50 v2.3.0-dev.19 16:06:50 v2.3.0-dev.20 16:06:50 v2.3.0-dev.21 16:06:50 v2.3.0-dev.22 16:06:50 v2.3.0-dev.23 16:06:50 v2.3.0-dev.24 16:06:50 v2.3.0-dev.25 16:06:50 v2.3.0-dev.9 16:06:50 v3.0.0-dev.1 16:06:50 v3.0.0-dev.10 16:06:50 v3.0.0-dev.11 16:06:50 v3.0.0-dev.12 16:06:50 v3.0.0-dev.13 16:06:50 v3.0.0-dev.14 16:06:50 v3.0.0-dev.2 16:06:50 v3.0.0-dev.3 16:06:50 v3.0.0-dev.4 16:06:50 v3.0.0-dev.5 16:06:50 v3.0.0-dev.6 16:06:50 v3.0.0-dev.7 16:06:50 v3.0.0-dev.8 16:06:50 v3.0.0-dev.9 [Pipeline] sh 16:06:50 + lftools sign git-tag v3.0.0-dev.14 16:06:51 Signing Git tag with Sigul... 16:06:51 Signing v3.0.0-dev.14 [Pipeline] echo 16:06:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:06:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:06:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:06:51 $ docker stop --time=1 c7d0a273db39766cd83e31e9338137f44f5ae2009e13c2c527dab748e48d0223 16:06:53 $ docker rm -f --volumes c7d0a273db39766cd83e31e9338137f44f5ae2009e13c2c527dab748e48d0223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:06:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:53 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 16:06:54 $ 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 16:06:54 $ docker top a53320ebfda2cdd08174f8eb1684199cddd00f96b99c1c9e8a003520d18d2707 -eo pid,comm 16:06:54 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). 16:06:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:54 [ssh-agent] Looking for ssh-agent implementation... 16:06:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:54 $ docker exec a53320ebfda2cdd08174f8eb1684199cddd00f96b99c1c9e8a003520d18d2707 ssh-agent 16:06:54 SSH_AUTH_SOCK=/tmp/ssh-3raiYDwZ032e/agent.33 16:06:54 SSH_AGENT_PID=39 16:06:54 Running ssh-add (command line suppressed) 16:06:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8317672750179335332.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8317672750179335332.key) 16:06:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:55 + git semver bump pre 16:06:55 2023-02-27 16:06:55,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:55 2023-02-27 16:06:55,274 [bump_version] DEBUG bumping version:3.0.0-dev.14 on axis:pre with prefix:dev 16:06:55 2023-02-27 16:06:55,274 [bump_version] DEBUG bumped version:3.0.0-dev.15 16:06:55 2023-02-27 16:06:55,274 [write_version] DEBUG write version:3.0.0-dev.15 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:06:55 2023-02-27 16:06:55,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:55 2023-02-27 16:06:55,274 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:55 2023-02-27 16:06:55,276 [execute] INFO git cat-file --batch-check 16:06:55 2023-02-27 16:06:55,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:06:55 2023-02-27 16:06:55,281 [execute] INFO git cat-file --batch 16:06:55 2023-02-27 16:06:55,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:06:55 2023-02-27 16:06:55,286 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:06:55 3.0.0-dev.15 [Pipeline] } 16:06:55 $ docker exec --env ******** --env ******** a53320ebfda2cdd08174f8eb1684199cddd00f96b99c1c9e8a003520d18d2707 ssh-agent -k 16:06:55 unset SSH_AUTH_SOCK; 16:06:55 unset SSH_AGENT_PID; 16:06:55 echo Agent pid 39 killed; 16:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:06:55 + git semver [Pipeline] } 16:06:56 $ docker stop --time=1 a53320ebfda2cdd08174f8eb1684199cddd00f96b99c1c9e8a003520d18d2707 16:06:57 $ docker rm -f --volumes a53320ebfda2cdd08174f8eb1684199cddd00f96b99c1c9e8a003520d18d2707 [Pipeline] // withDockerContainer [Pipeline] sh 16:06:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:06:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:06:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:58 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 16:06:58 $ 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 16:06:58 $ docker top 2a8559c1fe11d2c1835f5b48332da1641e56509bff5b2f76342112201df923f3 -eo pid,comm 16:06:58 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). 16:06:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:06:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:06:58 [ssh-agent] Looking for ssh-agent implementation... 16:06:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:06:58 $ docker exec 2a8559c1fe11d2c1835f5b48332da1641e56509bff5b2f76342112201df923f3 ssh-agent 16:06:58 SSH_AUTH_SOCK=/tmp/ssh-j4XUDJOqxJBq/agent.31 16:06:58 SSH_AGENT_PID=37 16:06:58 Running ssh-add (command line suppressed) 16:06:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7956093087553317537.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7956093087553317537.key) 16:06:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:06:59 + git semver push 16:06:59 2023-02-27 16:06:59,325 [run_push] DEBUG push 16:06:59 2023-02-27 16:06:59,326 [execute] INFO git cat-file --batch-check 16:06:59 2023-02-27 16:06:59,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:06:59 2023-02-27 16:06:59,330 [execute] INFO git rev-list 39c96900dd4b86ae788045c38c103b7cfdba43e8 -- 16:06:59 2023-02-27 16:06:59,331 [execute] DEBUG Popen(['git', 'rev-list', '39c96900dd4b86ae788045c38c103b7cfdba43e8', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:06:59 2023-02-27 16:06:59,339 [execute] INFO git fetch -v origin 16:06:59 2023-02-27 16:06:59,339 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:06:59 2023-02-27 16:06:59,923 [run_push] DEBUG no remote changes detected 16:06:59 2023-02-27 16:06:59,924 [execute] INFO git push origin semver 16:06:59 2023-02-27 16:06:59,924 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:07:01 2023-02-27 16:07:00,938 [run_push] DEBUG push all version tags 16:07:01 2023-02-27 16:07:00,939 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:07:01 2023-02-27 16:07:00,939 [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) 16:07:02 2023-02-27 16:07:01,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:07:02 3.0.0-dev.15 [Pipeline] } 16:07:02 $ docker exec --env ******** --env ******** 2a8559c1fe11d2c1835f5b48332da1641e56509bff5b2f76342112201df923f3 ssh-agent -k 16:07:02 unset SSH_AUTH_SOCK; 16:07:02 unset SSH_AGENT_PID; 16:07:02 echo Agent pid 37 killed; 16:07:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:07:02 + git semver [Pipeline] } 16:07:02 $ docker stop --time=1 2a8559c1fe11d2c1835f5b48332da1641e56509bff5b2f76342112201df923f3 16:07:04 $ docker rm -f --volumes 2a8559c1fe11d2c1835f5b48332da1641e56509bff5b2f76342112201df923f3 [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 16:07:05 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:07:05 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:07:05 total 16 16:07:05 drwxr-xr-x 3 root root 4096 Feb 27 15:58 . 16:07:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 16:06 .. 16:07:05 drwxr-xr-x 2 root root 4096 Feb 27 15:58 cost 16:07:05 -rw-r--r-- 1 root root 85 Feb 27 15:58 cost.csv 16:07:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:07:05 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:07:05 total 16 16:07:05 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:58 . 16:07:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 16:06 .. 16:07:05 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 15:58 cost 16:07:05 -rw-r--r-- 1 jenkins jenkins 85 Feb 27 15:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:07:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:07:06 ---> package-listing.sh 16:07:06 ++ facter osfamily 16:07:06 ++ tr '[:upper:]' '[:lower:]' 16:07:06 + OS_FAMILY=debian 16:07:06 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:07:06 + START_PACKAGES=/tmp/packages_start.txt 16:07:06 + END_PACKAGES=/tmp/packages_end.txt 16:07:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:07:06 + PACKAGES=/tmp/packages_start.txt 16:07:06 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:07:06 + PACKAGES=/tmp/packages_end.txt 16:07:06 + case "${OS_FAMILY}" in 16:07:06 + dpkg -l 16:07:06 + grep '^ii' 16:07:06 + '[' -f /tmp/packages_start.txt ']' 16:07:06 + '[' -f /tmp/packages_end.txt ']' 16:07:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:07:06 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:07:06 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:07:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:07:06 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 16:07:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:07 prd-ubuntu20.04-docker-8c-8g-7597 does not seem to be running inside a container 16:07:07 $ 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 16:07:07 $ docker top 9d49059577bdaeae5354161ef90440b84a542e10f04cb92021b142ec07ad9c6e -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:08 + touch /tmp/pre-build-complete [Pipeline] sh 16:07:08 + mkdir -p /var/log/sysstat [Pipeline] sh 16:07:08 + ls /var/log/sa-host 16:07:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:08 provisioning config files... 16:07:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16846742250436833923tmp [Pipeline] { [Pipeline] echo 16:07:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:07:09 ---> create-netrc.sh [Pipeline] } 16:07:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:07:09 ---> python-tools-install.sh [Pipeline] echo 16:07:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:07:09 ---> sudo-logs.sh 16:07:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:07:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:07:10 ---> job-cost.sh 16:07:10 lf-activate-venv: SKIPPING 16:07:10 DEBUG: total: 0.2199999988079071 16:07:10 INFO: Retrieving Stack Cost... 16:07:10 INFO: Retrieving Pricing Info for: v3-standard-8 16:07:10 INFO: Archiving Costs [Pipeline] echo 16:07:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:07:11 ---> logs-deploy.sh 16:07:11 lf-activate-venv: SKIPPING 16:07:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/86 16:07:11 INFO: archiving workspace using pattern(s): 16:07:12 Archives upload complete. 16:07:12 INFO: archiving logs to Nexus