Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f746f51e1ef244c01c4206344cb741c614a79d6 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-ssh18183847766603508752.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-ssh2066893477997998977.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-ssh7182072639699509398.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-ssh12634579303104355014.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-ssh17887246677877065153.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-6172 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 7f746f51e1ef244c01c4206344cb741c614a79d6 (main) Commit message: "refactor!: Replace internal topics from config with new constants (#254)" > 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 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 > git rev-list --no-walk 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:40:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:40:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:40:23 ========================================================= 18:40:23 EdgeX Global Pipelines Version Info 18:40:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:40:24 ------------------- 18:40:24 stable info: 18:40:24 ------------------- 18:40:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:40:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:40:24 Message: update stable to v1.0.244 18:40:24 ------------------- 18:40:24 experimental info: 18:40:24 ------------------- 18:40:24 Commited By: **** collab-it+edgex@linuxfoundation.org 18:40:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:40:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f746f5 [Pipeline] echo 18:40:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:25 provisioning config files... 18:40:25 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1773598504639394076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:25 ---> docker-login.sh 18:40:25 nexus3.edgexfoundry.org:10001 18:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:26 Configure a credential helper to remove this warning. See 18:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:26 18:40:26 Login Succeeded 18:40:26 nexus3.edgexfoundry.org:10002 18:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:26 Configure a credential helper to remove this warning. See 18:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:26 18:40:26 Login Succeeded 18:40:26 nexus3.edgexfoundry.org:10003 18:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:26 Configure a credential helper to remove this warning. See 18:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:26 18:40:26 Login Succeeded 18:40:26 nexus3.edgexfoundry.org:10004 18:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:26 Configure a credential helper to remove this warning. See 18:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:26 18:40:26 Login Succeeded 18:40:26 docker.io 18:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:26 Configure a credential helper to remove this warning. See 18:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:26 18:40:26 Login Succeeded 18:40:26 ---> docker-login.sh ends [Pipeline] } 18:40:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:40:26 + git rev-list -1 --merges 7f746f51e1ef244c01c4206344cb741c614a79d6~1..7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo 18:40:27 -----------> git rev-list -1 --merges 7f746f51e1ef244c01c4206344cb741c614a79d6~1..7f746f51e1ef244c01c4206344cb741c614a79d6 7f746f51e1ef244c01c4206344cb741c614a79d6 [false] [Pipeline] sh 18:40:27 + git log --format=format:%s -1 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo 18:40:27 ========================================================= 18:40:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:40:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:27 + git log --format=format:%s -1 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] echo 18:40:27 [semverPrep] GIT_COMMIT: 7f746f51e1ef244c01c4206344cb741c614a79d6, Commit Message: refactor!: Replace internal topics from config with new constants (#254) [Pipeline] echo 18:40:27 [semverPrep] This is not a build commit. [Pipeline] sh 18:40:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:40:28 + grep -v github /etc/ssh/ssh_known_hosts 18:40:28 + [ -e /tmp/ssh_known_hosts ] 18:40:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:40:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:40:28 + sudo tee -a /etc/ssh/ssh_known_hosts 18:40:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:28 18:40:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:28 0.1.4: Pulling from edgex-devops/py-git-semver 18:40:28 b85a868b505f: Pulling fs layer 18:40:28 e2be974225ed: Pulling fs layer 18:40:28 339a4e72a1f5: Pulling fs layer 18:40:28 988bab9f4d93: Pulling fs layer 18:40:28 1469e6f7b9e6: Pulling fs layer 18:40:28 eaf3925da568: Pulling fs layer 18:40:28 bab4dde63d76: Pulling fs layer 18:40:28 bde34c3a00c8: Pulling fs layer 18:40:28 b352a97aabf1: Pulling fs layer 18:40:28 4872d77fe225: Pulling fs layer 18:40:28 5851b861e8e6: Pulling fs layer 18:40:28 988bab9f4d93: Waiting 18:40:28 eaf3925da568: Waiting 18:40:28 1469e6f7b9e6: Waiting 18:40:28 bab4dde63d76: Waiting 18:40:28 bde34c3a00c8: Waiting 18:40:28 b352a97aabf1: Waiting 18:40:28 4872d77fe225: Waiting 18:40:28 5851b861e8e6: Waiting 18:40:28 e2be974225ed: Verifying Checksum 18:40:28 e2be974225ed: Download complete 18:40:28 988bab9f4d93: Verifying Checksum 18:40:28 988bab9f4d93: Download complete 18:40:28 1469e6f7b9e6: Verifying Checksum 18:40:28 1469e6f7b9e6: Download complete 18:40:28 eaf3925da568: Download complete 18:40:28 339a4e72a1f5: Verifying Checksum 18:40:28 339a4e72a1f5: Download complete 18:40:29 bde34c3a00c8: Download complete 18:40:29 b352a97aabf1: Verifying Checksum 18:40:29 b352a97aabf1: Download complete 18:40:29 4872d77fe225: Verifying Checksum 18:40:29 4872d77fe225: Download complete 18:40:29 5851b861e8e6: Verifying Checksum 18:40:29 5851b861e8e6: Download complete 18:40:29 b85a868b505f: Verifying Checksum 18:40:29 b85a868b505f: Download complete 18:40:29 bab4dde63d76: Verifying Checksum 18:40:29 bab4dde63d76: Download complete 18:40:30 b85a868b505f: Pull complete 18:40:30 e2be974225ed: Pull complete 18:40:30 339a4e72a1f5: Pull complete 18:40:30 988bab9f4d93: Pull complete 18:40:31 1469e6f7b9e6: Pull complete 18:40:31 eaf3925da568: Pull complete 18:40:33 bab4dde63d76: Pull complete 18:40:33 bde34c3a00c8: Pull complete 18:40:33 b352a97aabf1: Pull complete 18:40:33 4872d77fe225: Pull complete 18:40:33 5851b861e8e6: Pull complete 18:40:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:40:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:33 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:40:36 $ docker top 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 -eo pid,comm 18:40:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:40:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:40:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:36 [ssh-agent] Looking for ssh-agent implementation... 18:40:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:36 $ docker exec 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent 18:40:37 SSH_AUTH_SOCK=/tmp/ssh-oMBfRM1yjFYI/agent.14 18:40:37 SSH_AGENT_PID=20 18:40:37 Running ssh-add (command line suppressed) 18:40:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5468536939606133994.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5468536939606133994.key) 18:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:37 + git tag --points-at HEAD [Pipeline] } 18:40:37 $ docker exec --env ******** --env ******** 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent -k 18:40:37 unset SSH_AUTH_SOCK; 18:40:37 unset SSH_AGENT_PID; 18:40:37 echo Agent pid 20 killed; 18:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:40:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:37 [ssh-agent] Looking for ssh-agent implementation... 18:40:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:37 $ docker exec 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent 18:40:37 SSH_AUTH_SOCK=/tmp/ssh-ftodc8JEwdrd/agent.52 18:40:37 SSH_AGENT_PID=58 18:40:37 Running ssh-add (command line suppressed) 18:40:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12274974251954903919.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12274974251954903919.key) 18:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:38 + git semver init 18:40:38 2023-02-15 18:40:38,490 [run_init] DEBUG init version:0.0.0 force:False 18:40:38 2023-02-15 18:40:38,490 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 18:40:38 2023-02-15 18:40:38,491 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:40:38 2023-02-15 18:40:38,491 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 18:40:40 2023-02-15 18:40:39,995 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 18:40:40 2023-02-15 18:40:39,996 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 18:40:40 2023-02-15 18:40:39,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:40:40 2023-02-15 18:40:39,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:40:40 3.0.0-dev.10 [Pipeline] } 18:40:40 $ docker exec --env ******** --env ******** 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 ssh-agent -k 18:40:40 unset SSH_AUTH_SOCK; 18:40:40 unset SSH_AGENT_PID; 18:40:40 echo Agent pid 58 killed; 18:40:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:40:40 + git semver [Pipeline] } 18:40:41 $ docker stop --time=1 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 18:40:42 $ docker rm -f --volumes 2541eddff05ca1f1c4876c20fef968aab6e32704dc9e86237cadd8dec1c6eaf9 [Pipeline] // withDockerContainer [Pipeline] sh 18:40:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:40:42 Stashed 1 file(s) [Pipeline] echo 18:40:42 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:43 provisioning config files... 18:40:43 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10628660533388510053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:43 ---> docker-login.sh 18:40:43 nexus3.edgexfoundry.org:10001 18:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:43 Configure a credential helper to remove this warning. See 18:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:43 18:40:43 Login Succeeded 18:40:43 nexus3.edgexfoundry.org:10002 18:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:43 Configure a credential helper to remove this warning. See 18:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:43 18:40:43 Login Succeeded 18:40:43 nexus3.edgexfoundry.org:10003 18:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:43 Configure a credential helper to remove this warning. See 18:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:43 18:40:43 Login Succeeded 18:40:43 nexus3.edgexfoundry.org:10004 18:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:43 Configure a credential helper to remove this warning. See 18:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:43 18:40:43 Login Succeeded 18:40:43 docker.io 18:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:43 Configure a credential helper to remove this warning. See 18:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:43 18:40:43 Login Succeeded 18:40:43 ---> docker-login.sh ends [Pipeline] } 18:40:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:43 ========================================================= 18:40:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:40:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:40:44 Sending build context to Docker daemon 10.81MB 18:40:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:40:44 Step 2/12 : FROM ${BASE} AS builder 18:40:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:40:44 213ec9aee27d: Pulling fs layer 18:40:44 4583459ba037: Pulling fs layer 18:40:44 93c1e223e6f2: Pulling fs layer 18:40:44 53926ce57604: Pulling fs layer 18:40:44 21b2b0c7a3f4: Pulling fs layer 18:40:44 22ff95d597cd: Pulling fs layer 18:40:44 12d6caf4c0d1: Pulling fs layer 18:40:44 96b7cbca73a9: Pulling fs layer 18:40:44 a7acece74701: Pulling fs layer 18:40:44 12d6caf4c0d1: Waiting 18:40:44 22ff95d597cd: Waiting 18:40:44 96b7cbca73a9: Waiting 18:40:44 53926ce57604: Waiting 18:40:44 a7acece74701: Waiting 18:40:44 93c1e223e6f2: Verifying Checksum 18:40:44 93c1e223e6f2: Download complete 18:40:44 4583459ba037: Verifying Checksum 18:40:44 4583459ba037: Download complete 18:40:44 21b2b0c7a3f4: Download complete 18:40:44 22ff95d597cd: Verifying Checksum 18:40:44 22ff95d597cd: Download complete 18:40:44 213ec9aee27d: Verifying Checksum 18:40:44 213ec9aee27d: Download complete 18:40:44 12d6caf4c0d1: Verifying Checksum 18:40:44 12d6caf4c0d1: Download complete 18:40:44 213ec9aee27d: Pull complete 18:40:44 4583459ba037: Pull complete 18:40:45 93c1e223e6f2: Pull complete 18:40:45 a7acece74701: Verifying Checksum 18:40:45 a7acece74701: Download complete 18:40:45 53926ce57604: Verifying Checksum 18:40:45 53926ce57604: Download complete 18:40:45 96b7cbca73a9: Verifying Checksum 18:40:45 96b7cbca73a9: Download complete 18:40:49 53926ce57604: Pull complete 18:40:49 21b2b0c7a3f4: Pull complete 18:40:49 22ff95d597cd: Pull complete 18:40:49 12d6caf4c0d1: Pull complete 18:40:51 96b7cbca73a9: Pull complete 18:40:52 a7acece74701: Pull complete 18:40:52 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:40:52 ---> db6d94c90886 18:40:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:40:57 ---> Running in e765afd12f77 18:40:57 Removing intermediate container e765afd12f77 18:40:57 ---> 6d4c561ad3fe 18:40:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:57 ---> Running in 3944757975f0 18:40:57 Removing intermediate container 3944757975f0 18:40:57 ---> 387cd25e6346 18:40:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:40:57 ---> Running in 586907a7c737 18:40:57 Removing intermediate container 586907a7c737 18:40:57 ---> 2c551e7dfb85 18:40:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:40:57 ---> Running in fb08f5397ec1 18:40:57 Removing intermediate container fb08f5397ec1 18:40:57 ---> fcd7f47e6fa5 18:40:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:57 ---> Running in 70b0f28225fa 18:40:58 Still waiting to schedule task 18:40:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:40:58 (2/4) Installing libedit (20210910.3.1-r0) 18:40:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:40:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:40:58 Executing busybox-1.35.0-r17.trigger 18:40:58 OK: 216 MiB in 55 packages 18:40:59 Removing intermediate container 70b0f28225fa 18:40:59 ---> 8114494b3153 18:40:59 Step 8/12 : WORKDIR /device-rest-go 18:40:59 ---> Running in 5fe4f4a33972 18:40:59 Removing intermediate container 5fe4f4a33972 18:40:59 ---> 8fd87c4c029d 18:40:59 Step 9/12 : COPY go.mod vendor* ./ 18:40:59 ---> d438e55c3498 18:40:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:59 ---> Running in 2f0307bb00b5 18:41:38 Removing intermediate container 2f0307bb00b5 18:41:38 ---> 0a29040545b5 18:41:38 Step 11/12 : COPY . . 18:41:38 ---> b081db4adda5 18:41:38 Step 12/12 : RUN $MAKE 18:41:38 ---> Running in cc85a20c43a8 18:41:38 noop 18:41:38 Removing intermediate container cc85a20c43a8 18:41:38 ---> 442e53e31f28 18:41:38 Successfully built 442e53e31f28 18:41:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:38 + docker inspect -f . ci-base-image-x86_64 18:41:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:38 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:41:39 $ docker top c3a0de317314364c0563c0b2680b461375cc56dc6dcd81d26479ed038288640f -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:39 + go version 18:41:39 go version go1.18.7 linux/amd64 [Pipeline] } 18:41:39 $ docker stop --time=1 c3a0de317314364c0563c0b2680b461375cc56dc6dcd81d26479ed038288640f 18:41:40 $ docker rm -f --volumes c3a0de317314364c0563c0b2680b461375cc56dc6dcd81d26479ed038288640f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:41 + docker inspect -f . ci-base-image-x86_64 18:41:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:41 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:41:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:41:41 $ docker top e10192fa78fb4090f5c400b5e31aa894810f987a9d4d1d3ba288d0ae946571f6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 18:41:42 + make test 18:41:42 go test ./... -coverprofile=coverage.out ./... 18:41:42 ? github.com/edgexfoundry/device-rest-go [no test files] 18:41:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:41:51 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements 18:41:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:41:57 go vet ./... 18:42:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:42:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:42:00 ./bin/test-attribution-txt.sh [Pipeline] echo 18:42:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:42:00 $ docker stop --time=1 e10192fa78fb4090f5c400b5e31aa894810f987a9d4d1d3ba288d0ae946571f6 18:42:03 $ docker rm -f --volumes e10192fa78fb4090f5c400b5e31aa894810f987a9d4d1d3ba288d0ae946571f6 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:42:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:42:04 + ls -al . 18:42:04 total 188 18:42:04 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:41 . 18:42:04 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:40 .. 18:42:04 -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 18:40 .dockerignore 18:42:04 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:41 .git 18:42:04 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 .github 18:42:04 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 18:40 .gitignore 18:42:04 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:40 .golangci.yml 18:42:04 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:40 .semver 18:42:04 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 15 18:40 Attribution.txt 18:42:04 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 18:40 CHANGELOG.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 18:40 Dockerfile 18:42:04 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:40 GOVERNANCE.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 18:40 Jenkinsfile 18:42:04 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:40 LICENSE 18:42:04 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 18:40 Makefile 18:42:04 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 18:40 OWNERS.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 18:40 README.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:40 VERSION 18:42:04 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:40 bin 18:42:04 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 cmd 18:42:04 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 18:41 coverage.out 18:42:04 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:40 driver 18:42:04 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 18:40 go.mod 18:42:04 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 18:40 go.sum 18:42:04 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:40 snap 18:42:04 -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:04 + 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=7f746f51e1ef244c01c4206344cb741c614a79d6 --label arch=amd64 --label version=3.0.0-dev.10 . 18:42:04 Sending build context to Docker daemon 10.83MB 18:42:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:42:04 Step 2/25 : FROM ${BASE} AS builder 18:42:04 ---> 442e53e31f28 18:42:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:42:05 ---> Running in eca28e385883 18:42:05 Removing intermediate container eca28e385883 18:42:05 ---> c2a7a73f7827 18:42:05 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:05 ---> Running in 23505fa23459 18:42:05 Removing intermediate container 23505fa23459 18:42:05 ---> b7b05f4b9dfc 18:42:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:42:05 ---> Running in bff885ad2de9 18:42:05 Removing intermediate container bff885ad2de9 18:42:05 ---> cf3f768d5064 18:42:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:42:05 ---> Running in dc0c8e370386 18:42:05 Removing intermediate container dc0c8e370386 18:42:05 ---> 7903dacebb3e 18:42:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:05 ---> Running in b0f977ce6d4e 18:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:07 OK: 216 MiB in 55 packages 18:42:07 Removing intermediate container b0f977ce6d4e 18:42:07 ---> 2a33471db901 18:42:07 Step 8/25 : WORKDIR /device-rest-go 18:42:07 ---> Running in cd2f033ed839 18:42:07 Removing intermediate container cd2f033ed839 18:42:07 ---> 0523707a5064 18:42:07 Step 9/25 : COPY go.mod vendor* ./ 18:42:07 ---> 0009bc21c6dd 18:42:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:07 ---> Running in 63fe28b3bd3f 18:42:08 Removing intermediate container 63fe28b3bd3f 18:42:08 ---> e932af4d2a2a 18:42:08 Step 11/25 : COPY . . 18:42:08 ---> 997efab56dad 18:42:08 Step 12/25 : RUN $MAKE 18:42:08 ---> Running in b1bdc66266a2 18:42:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:42:31 Removing intermediate container b1bdc66266a2 18:42:31 ---> 8a662d80a3f2 18:42:31 Step 13/25 : FROM alpine:3.16 18:42:31 3.16: Pulling from library/alpine 18:42:31 ef5531b6e74e: Pulling fs layer 18:42:31 ef5531b6e74e: Download complete 18:42:31 ef5531b6e74e: Pull complete 18:42:31 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:42:31 Status: Downloaded newer image for alpine:3.16 18:42:31 ---> dfd21b5a31f5 18:42:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:42:31 ---> Running in 008a29e38303 18:42:31 Removing intermediate container 008a29e38303 18:42:31 ---> 5df406834af9 18:42:31 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:42:31 ---> Running in ab258f7f2397 18:42:31 Removing intermediate container ab258f7f2397 18:42:31 ---> 2e988df38004 18:42:31 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:42:31 ---> Running in 38b962d8eb58 18:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:31 (1/1) Installing dumb-init (1.2.5-r1) 18:42:31 Executing busybox-1.35.0-r17.trigger 18:42:31 OK: 6 MiB in 15 packages 18:42:31 Removing intermediate container 38b962d8eb58 18:42:31 ---> 7dee3bad95eb 18:42:31 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:42:32 ---> 511dcc81c209 18:42:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:42:32 ---> cfd4abb30ceb 18:42:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:42:32 ---> 11bcb552f5d2 18:42:32 Step 20/25 : EXPOSE 59986 18:42:32 ---> Running in a55d7ebef332 18:42:32 Removing intermediate container a55d7ebef332 18:42:32 ---> f67eecee1c3d 18:42:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:42:32 ---> Running in 6e33efb13dfd 18:42:32 Removing intermediate container 6e33efb13dfd 18:42:32 ---> 5c93181ffe7e 18:42:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:42:32 ---> Running in c65a1799481f 18:42:33 Removing intermediate container c65a1799481f 18:42:33 ---> 1fe725983720 18:42:33 Step 23/25 : LABEL arch=amd64 18:42:33 ---> Running in 867388e36222 18:42:33 Removing intermediate container 867388e36222 18:42:33 ---> 2ba5edb6669d 18:42:33 Step 24/25 : LABEL git_sha=7f746f51e1ef244c01c4206344cb741c614a79d6 18:42:33 ---> Running in 3f505b09f264 18:42:33 Removing intermediate container 3f505b09f264 18:42:33 ---> 7d62a24d7624 18:42:33 Step 25/25 : LABEL version=3.0.0-dev.10 18:42:33 ---> Running in 4fc571f8efda 18:42:33 Removing intermediate container 4fc571f8efda 18:42:33 ---> ebae8d906a5c 18:42:33 [Warning] One or more build-args [ARCH] were not consumed 18:42:33 Successfully built ebae8d906a5c 18:42:33 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:33 provisioning config files... 18:42:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9095690873557469831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:33 ---> docker-login.sh 18:42:33 nexus3.edgexfoundry.org:10001 18:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:33 Configure a credential helper to remove this warning. See 18:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:33 18:42:33 Login Succeeded 18:42:33 nexus3.edgexfoundry.org:10002 18:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:33 Configure a credential helper to remove this warning. See 18:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:33 18:42:33 Login Succeeded 18:42:33 nexus3.edgexfoundry.org:10003 18:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:34 Configure a credential helper to remove this warning. See 18:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:34 18:42:34 Login Succeeded 18:42:34 nexus3.edgexfoundry.org:10004 18:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:34 Configure a credential helper to remove this warning. See 18:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:34 18:42:34 Login Succeeded 18:42:34 docker.io 18:42:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6177 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:42:34 Running in /w/workspace/device-rest-go/82 [Pipeline] { [Pipeline] checkout 18:42:34 The recommended git tool is: git 18:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:34 Configure a credential helper to remove this warning. See 18:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:34 18:42:34 Login Succeeded 18:42:34 ---> docker-login.sh ends [Pipeline] } 18:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:42:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:34 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:42:34 7f746f51e1ef244c01c4206344cb741c614a79d6 18:42:34 latest 18:42:34 3.0.0-dev.10 18:42:34 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 18:42:34 main 18:42:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6 18:42:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:42:36 be260c6691df: Preparing 18:42:36 43e9a7e390d0: Preparing 18:42:36 4ea87960ef75: Preparing 18:42:36 f63f60195cef: Preparing 18:42:36 aa5968d388b8: Preparing 18:42:36 aa5968d388b8: Layer already exists 18:42:36 f63f60195cef: Pushed 18:42:36 43e9a7e390d0: Pushed 18:42:36 be260c6691df: Pushed 18:42:38 4ea87960ef75: Pushed 18:42:38 7f746f51e1ef244c01c4206344cb741c614a79d6: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:42:39 be260c6691df: Preparing 18:42:39 43e9a7e390d0: Preparing 18:42:39 4ea87960ef75: Preparing 18:42:39 f63f60195cef: Preparing 18:42:39 aa5968d388b8: Preparing 18:42:39 43e9a7e390d0: Layer already exists 18:42:39 aa5968d388b8: Layer already exists 18:42:39 f63f60195cef: Layer already exists 18:42:39 4ea87960ef75: Layer already exists 18:42:39 be260c6691df: Layer already exists 18:42:39 latest: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 using credential edgex-jenkins-ssh 18:42:39 Cloning the remote Git repository 18:42:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.10 18:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:42:39 be260c6691df: Preparing 18:42:39 43e9a7e390d0: Preparing 18:42:39 4ea87960ef75: Preparing 18:42:39 f63f60195cef: Preparing 18:42:39 aa5968d388b8: Preparing 18:42:39 be260c6691df: Layer already exists 18:42:39 43e9a7e390d0: Layer already exists 18:42:39 4ea87960ef75: Layer already exists 18:42:39 aa5968d388b8: Layer already exists 18:42:39 f63f60195cef: Layer already exists 18:42:39 3.0.0-dev.10: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:42:39 > git init /w/workspace/device-rest-go/82 # timeout=10 18:42:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:42:39 > git --version # timeout=10 18:42:39 > git --version # 'git version 2.25.1' 18:42:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:42:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 18:42:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:42:40 be260c6691df: Preparing 18:42:40 43e9a7e390d0: Preparing 18:42:40 4ea87960ef75: Preparing 18:42:40 f63f60195cef: Preparing 18:42:40 aa5968d388b8: Preparing 18:42:40 f63f60195cef: Layer already exists 18:42:40 43e9a7e390d0: Layer already exists 18:42:40 4ea87960ef75: Layer already exists 18:42:40 aa5968d388b8: Layer already exists 18:42:40 be260c6691df: Layer already exists 18:42:40 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 18:42:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:42:41 be260c6691df: Preparing 18:42:41 43e9a7e390d0: Preparing 18:42:41 4ea87960ef75: Preparing 18:42:41 f63f60195cef: Preparing 18:42:41 aa5968d388b8: Preparing 18:42:41 43e9a7e390d0: Layer already exists 18:42:41 f63f60195cef: Layer already exists 18:42:41 be260c6691df: Layer already exists 18:42:41 4ea87960ef75: Layer already exists 18:42:41 aa5968d388b8: Layer already exists 18:42:42 Avoid second fetch 18:42:42 Checking out Revision 7f746f51e1ef244c01c4206344cb741c614a79d6 (main) 18:42:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:42:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:42 > git config core.sparsecheckout # timeout=10 18:42:42 > git checkout -f 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 18:42:43 Commit message: "refactor!: Replace internal topics from config with new constants (#254)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:42:44 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:44 Dload Upload Total Spent Left Speed 18:42:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64075 0 --:--:-- --:--:-- --:--:-- 64075 [Pipeline] sh 18:42:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:42:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:42:45 + sudo tee /etc/docker/daemon.new 18:42:45 { 18:42:45 "registry-mirrors": [ 18:42:45 "https://nexus3.edgexfoundry.org:10001" 18:42:45 ], 18:42:45 "bip": "10.250.0.254/24", 18:42:45 "hosts": [ 18:42:45 "tcp://0.0.0.0:5555", 18:42:45 "unix:///var/run/docker.sock" 18:42:45 ], 18:42:45 "mtu": 1458, 18:42:45 "selinux-enabled": true, 18:42:45 "seccomp-profile": "/etc/docker/seccomp.json" 18:42:45 } [Pipeline] sh 18:42:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:42:45 + sudo service docker restart 18:42:53 main: digest: sha256:4546cd6e782b19721bdc8d88b7f22480e41dfd3ea6a946edea53afae5211b697 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:42:53 ===================================================== [Pipeline] echo 18:42:53 taggedImages: 18:42:53 - nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6 18:42:53 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:42:53 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.10 18:42:53 - nexus3.edgexfoundry.org:10004/device-rest:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 18:42:53 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:53 18:42:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:54 latest: Pulling from edgex-lftools-log-publisher 18:42:54 5eb5b503b376: Pulling fs layer 18:42:54 5c69ac0246d0: Pulling fs layer 18:42:54 ec43610c2a17: Pulling fs layer 18:42:54 3a2ae6a8a46f: Pulling fs layer 18:42:54 33b1e0a273af: Pulling fs layer 18:42:54 5d3b04190fa2: Pulling fs layer 18:42:54 2f39f015ded8: Pulling fs layer 18:42:54 33b1e0a273af: Waiting 18:42:54 2f39f015ded8: Waiting 18:42:54 5d3b04190fa2: Waiting 18:42:54 3a2ae6a8a46f: Waiting 18:42:54 5c69ac0246d0: Verifying Checksum 18:42:54 5c69ac0246d0: Download complete 18:42:54 3a2ae6a8a46f: Verifying Checksum 18:42:54 3a2ae6a8a46f: Download complete 18:42:54 33b1e0a273af: Verifying Checksum 18:42:54 33b1e0a273af: Download complete 18:42:54 5d3b04190fa2: Verifying Checksum 18:42:54 5d3b04190fa2: Download complete 18:42:54 ec43610c2a17: Verifying Checksum 18:42:54 ec43610c2a17: Download complete 18:42:54 5eb5b503b376: Verifying Checksum 18:42:54 5eb5b503b376: Download complete 18:42:55 2f39f015ded8: Verifying Checksum 18:42:55 2f39f015ded8: Download complete 18:42:55 5eb5b503b376: Pull complete 18:42:55 5c69ac0246d0: Pull complete 18:42:56 ec43610c2a17: Pull complete 18:42:56 3a2ae6a8a46f: Pull complete 18:42:56 33b1e0a273af: Pull complete 18:42:56 5d3b04190fa2: Pull complete 18:43:00 2f39f015ded8: Pull complete 18:43:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:00 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:43:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:43:07 $ docker top 44a9289b03411816675c583e0f46720e91f1e180a1df8f2a438e33b10eea80e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 18:43:07 provisioning config files... 18:43:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/82@tmp/config218906688667645009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:07 ---> job-cost.sh 18:43:07 lf-activate-venv: SKIPPING 18:43:07 INFO: No Stack... 18:43:07 ---> docker-login.sh 18:43:07 nexus3.edgexfoundry.org:10001 18:43:07 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:08 INFO: Archiving Costs [Pipeline] sh 18:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:08 Configure a credential helper to remove this warning. See 18:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:08 18:43:08 Login Succeeded 18:43:08 nexus3.edgexfoundry.org:10002 18:43:08 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:43:08 + cut -d, -f6 [Pipeline] lock 18:43:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] 18:43:08 Resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] did not exist. Created. 18:43:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:08 + echo total: 0.2199999988079071 [Pipeline] stash 18:43:08 Stashed 1 file(s) [Pipeline] } 18:43:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 18:43:08 $ docker stop --time=1 44a9289b03411816675c583e0f46720e91f1e180a1df8f2a438e33b10eea80e8 18:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:08 Configure a credential helper to remove this warning. See 18:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:08 18:43:08 Login Succeeded 18:43:08 nexus3.edgexfoundry.org:10003 18:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:09 Configure a credential helper to remove this warning. See 18:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:09 18:43:09 Login Succeeded 18:43:09 nexus3.edgexfoundry.org:10004 18:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:09 Configure a credential helper to remove this warning. See 18:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:09 18:43:09 Login Succeeded 18:43:09 docker.io 18:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:09 $ docker rm -f --volumes 44a9289b03411816675c583e0f46720e91f1e180a1df8f2a438e33b10eea80e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:10 Configure a credential helper to remove this warning. See 18:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:10 18:43:10 Login Succeeded 18:43:10 ---> docker-login.sh ends [Pipeline] } 18:43:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:43:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:10 ========================================================= 18:43:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:43:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:43:10 Sending build context to Docker daemon 139.8kB 18:43:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:43:11 Step 2/12 : FROM ${BASE} AS builder 18:43:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:43:11 9b18e9b68314: Pulling fs layer 18:43:11 35d82f9e3411: Pulling fs layer 18:43:11 e16973657156: Pulling fs layer 18:43:11 fc693d55d65f: Pulling fs layer 18:43:11 7e9fc2657dce: Pulling fs layer 18:43:11 dda99020689f: Pulling fs layer 18:43:11 db1c61fa0a46: Pulling fs layer 18:43:11 891c053d2c06: Pulling fs layer 18:43:11 fc693d55d65f: Waiting 18:43:11 7e9fc2657dce: Waiting 18:43:11 dda99020689f: Waiting 18:43:11 db1c61fa0a46: Waiting 18:43:11 891c053d2c06: Waiting 18:43:11 e16973657156: Download complete 18:43:11 9b18e9b68314: Verifying Checksum 18:43:11 9b18e9b68314: Download complete 18:43:11 7e9fc2657dce: Verifying Checksum 18:43:11 7e9fc2657dce: Download complete 18:43:11 dda99020689f: Verifying Checksum 18:43:11 dda99020689f: Download complete 18:43:11 35d82f9e3411: Verifying Checksum 18:43:11 35d82f9e3411: Download complete 18:43:12 9b18e9b68314: Pull complete 18:43:13 35d82f9e3411: Pull complete 18:43:13 891c053d2c06: Verifying Checksum 18:43:13 891c053d2c06: Download complete 18:43:13 e16973657156: Pull complete 18:43:14 db1c61fa0a46: Verifying Checksum 18:43:14 db1c61fa0a46: Download complete 18:43:15 fc693d55d65f: Verifying Checksum 18:43:15 fc693d55d65f: Download complete 18:43:27 fc693d55d65f: Pull complete 18:43:27 7e9fc2657dce: Pull complete 18:43:27 dda99020689f: Pull complete 18:43:36 db1c61fa0a46: Pull complete 18:43:37 891c053d2c06: Pull complete 18:43:37 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:43:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:43:37 ---> f96f9c87975a 18:43:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:43:38 ---> Running in 5c4fb9034a01 18:43:38 Removing intermediate container 5c4fb9034a01 18:43:38 ---> a18e7cbfa2fb 18:43:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:39 ---> Running in d42ab5c66fc4 18:43:39 Removing intermediate container d42ab5c66fc4 18:43:39 ---> bb31f4364237 18:43:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:43:39 ---> Running in 0573515ffbea 18:43:39 Removing intermediate container 0573515ffbea 18:43:39 ---> def66a91154d 18:43:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:43:39 ---> Running in c9998c633055 18:43:40 Removing intermediate container c9998c633055 18:43:40 ---> b25c1f94f5bc 18:43:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:40 ---> Running in dff9d1f6f9ab 18:43:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:43:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:43:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:43:43 (2/4) Installing libedit (20210910.3.1-r0) 18:43:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:43:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:43:43 Executing busybox-1.35.0-r17.trigger 18:43:43 OK: 226 MiB in 55 packages 18:43:44 Removing intermediate container dff9d1f6f9ab 18:43:44 ---> 1585e3729eac 18:43:44 Step 8/12 : WORKDIR /device-rest-go 18:43:44 ---> Running in 35bbbf3165b1 18:43:44 Removing intermediate container 35bbbf3165b1 18:43:44 ---> 9e79c632a049 18:43:44 Step 9/12 : COPY go.mod vendor* ./ 18:43:45 ---> 15a72b1ca845 18:43:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:45 ---> Running in 4e47713507e8 18:45:06 Removing intermediate container 4e47713507e8 18:45:06 ---> bc7e451ba926 18:45:06 Step 11/12 : COPY . . 18:45:06 ---> 255362fd430a 18:45:06 Step 12/12 : RUN $MAKE 18:45:06 ---> Running in 0ecc6eaa1422 18:45:06 noop 18:45:06 Removing intermediate container 0ecc6eaa1422 18:45:06 ---> 537576df2c99 18:45:06 Successfully built 537576df2c99 18:45:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:07 + docker inspect -f . ci-base-image-arm64 18:45:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:07 prd-ubuntu20.04-docker-arm64-4c-16g-6177 does not seem to be running inside a container 18:45:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/82 -v /w/workspace/device-rest-go/82:/w/workspace/device-rest-go/82:rw,z -v /w/workspace/device-rest-go/82@tmp:/w/workspace/device-rest-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:45:08 $ docker top 6edb864d0837b44c083f250c1be065c3a19c30d54ecb6fc3d393ef712ecc8862 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:09 + go version 18:45:09 go version go1.18.7 linux/arm64 [Pipeline] } 18:45:09 $ docker stop --time=1 6edb864d0837b44c083f250c1be065c3a19c30d54ecb6fc3d393ef712ecc8862 18:45:11 $ docker rm -f --volumes 6edb864d0837b44c083f250c1be065c3a19c30d54ecb6fc3d393ef712ecc8862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:11 + docker inspect -f . ci-base-image-arm64 18:45:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:12 prd-ubuntu20.04-docker-arm64-4c-16g-6177 does not seem to be running inside a container 18:45:12 $ 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/82 -v /w/workspace/device-rest-go/82:/w/workspace/device-rest-go/82:rw,z -v /w/workspace/device-rest-go/82@tmp:/w/workspace/device-rest-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:45:13 $ docker top ca4a9580d99e2147d8b0387b834877911679707913864a5fe77ee6b7c093f209 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:14 + git config --global --add safe.directory /w/workspace/device-rest-go/82 [Pipeline] fileExists [Pipeline] sh 18:45:15 + make test 18:45:15 go test ./... -coverprofile=coverage.out ./... 18:45:17 ? github.com/edgexfoundry/device-rest-go [no test files] 18:46:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:46:55 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 33.9% of statements 18:46:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:46:56 go vet ./... 18:47:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:47:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:47:35 ./bin/test-attribution-txt.sh [Pipeline] echo 18:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:47:35 $ docker stop --time=1 ca4a9580d99e2147d8b0387b834877911679707913864a5fe77ee6b7c093f209 18:47:37 $ docker rm -f --volumes ca4a9580d99e2147d8b0387b834877911679707913864a5fe77ee6b7c093f209 [Pipeline] // withDockerContainer [Pipeline] sh 18:47:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:47:38 Warning: overwriting stash ‘coverage-report’ 18:47:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:39 + ls -al . 18:47:39 total 184 18:47:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:45 . 18:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:42 .. 18:47:39 -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 18:42 .dockerignore 18:47:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:42 .git 18:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:42 .github 18:47:39 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 18:42 .gitignore 18:47:39 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:42 .golangci.yml 18:47:39 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 15 18:42 Attribution.txt 18:47:39 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 18:42 CHANGELOG.md 18:47:39 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 18:42 Dockerfile 18:47:39 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:42 GOVERNANCE.md 18:47:39 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 18:42 Jenkinsfile 18:47:39 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:42 LICENSE 18:47:39 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 18:42 Makefile 18:47:39 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 18:42 OWNERS.md 18:47:39 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 18:42 README.md 18:47:39 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:40 VERSION 18:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:42 bin 18:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:42 cmd 18:47:39 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 18:46 coverage.out 18:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:42 driver 18:47:39 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 18:42 go.mod 18:47:39 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 18:42 go.sum 18:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:42 snap 18:47:39 -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:40 + 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=7f746f51e1ef244c01c4206344cb741c614a79d6 --label arch=arm64 --label version=3.0.0-dev.10 . 18:47:40 Sending build context to Docker daemon 154.1kB 18:47:40 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:47:40 Step 2/25 : FROM ${BASE} AS builder 18:47:40 ---> 537576df2c99 18:47:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:47:40 ---> Running in 52bbc5999f23 18:47:40 Removing intermediate container 52bbc5999f23 18:47:40 ---> cfcf4fa2e9aa 18:47:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:40 ---> Running in 9b6d3670a532 18:47:41 Removing intermediate container 9b6d3670a532 18:47:41 ---> 9109d6c7e612 18:47:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:47:41 ---> Running in dc4bbfcab083 18:47:41 Removing intermediate container dc4bbfcab083 18:47:41 ---> 97a1f0da4f71 18:47:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:47:41 ---> Running in 7cc78aafd1bc 18:47:42 Removing intermediate container 7cc78aafd1bc 18:47:42 ---> 0c9b554cc0fb 18:47:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:42 ---> Running in cdfdfc101635 18:47:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:47:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:47:45 OK: 226 MiB in 55 packages 18:47:46 Removing intermediate container cdfdfc101635 18:47:46 ---> 5d568c2886ee 18:47:46 Step 8/25 : WORKDIR /device-rest-go 18:47:46 ---> Running in b3eb5aff611a 18:47:46 Removing intermediate container b3eb5aff611a 18:47:46 ---> 535583853a1f 18:47:46 Step 9/25 : COPY go.mod vendor* ./ 18:47:47 ---> 73237301bd90 18:47:47 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:47 ---> Running in ed9fccfac1d7 18:47:50 Removing intermediate container ed9fccfac1d7 18:47:50 ---> 99cf375c8699 18:47:50 Step 11/25 : COPY . . 18:47:50 ---> ad221eb6bb90 18:47:50 Step 12/25 : RUN $MAKE 18:47:50 ---> Running in 1078fefa2654 18:47:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:50:44 Removing intermediate container 1078fefa2654 18:50:44 ---> 3c6b8bcfe50c 18:50:44 Step 13/25 : FROM alpine:3.16 18:50:44 3.16: Pulling from library/alpine 18:50:44 3760b48202b3: Pulling fs layer 18:50:44 3760b48202b3: Verifying Checksum 18:50:44 3760b48202b3: Download complete 18:50:44 3760b48202b3: Pull complete 18:50:44 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:50:44 Status: Downloaded newer image for alpine:3.16 18:50:44 ---> 4c81e5bf8899 18:50:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:50:44 ---> Running in f70ee920ea0d 18:50:44 Removing intermediate container f70ee920ea0d 18:50:44 ---> 6cdbfa1c8617 18:50:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:50:44 ---> Running in b13f2fb9ae42 18:50:44 Removing intermediate container b13f2fb9ae42 18:50:44 ---> b1bfee61befc 18:50:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:50:44 ---> Running in 85a1c9035a1a 18:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:50:44 (1/1) Installing dumb-init (1.2.5-r1) 18:50:44 Executing busybox-1.35.0-r17.trigger 18:50:44 OK: 5 MiB in 15 packages 18:50:44 Removing intermediate container 85a1c9035a1a 18:50:44 ---> fb23f9de1c0f 18:50:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:50:44 ---> 6eb5c10418fd 18:50:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:50:44 ---> 97b618ef8df5 18:50:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:50:44 ---> 529d599a32ae 18:50:44 Step 20/25 : EXPOSE 59986 18:50:44 ---> Running in a548546e3bab 18:50:44 Removing intermediate container a548546e3bab 18:50:44 ---> ddae9863ab20 18:50:44 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:50:44 ---> Running in 4a7d85e4811b 18:50:44 Removing intermediate container 4a7d85e4811b 18:50:44 ---> bf70b8e5c3fb 18:50:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:50:44 ---> Running in 3d5655279fc1 18:50:44 Removing intermediate container 3d5655279fc1 18:50:44 ---> 0bbb50667bb4 18:50:44 Step 23/25 : LABEL arch=arm64 18:50:44 ---> Running in 199b5ecceaf7 18:50:44 Removing intermediate container 199b5ecceaf7 18:50:44 ---> 7b001a209367 18:50:44 Step 24/25 : LABEL git_sha=7f746f51e1ef244c01c4206344cb741c614a79d6 18:50:44 ---> Running in 5549bbd75623 18:50:44 Removing intermediate container 5549bbd75623 18:50:44 ---> 1e3c754ca3eb 18:50:44 Step 25/25 : LABEL version=3.0.0-dev.10 18:50:44 ---> Running in 6bd56d1a5869 18:50:44 Removing intermediate container 6bd56d1a5869 18:50:44 ---> 71566aade1b1 18:50:44 [Warning] One or more build-args [ARCH] were not consumed 18:50:44 Successfully built 71566aade1b1 18:50:44 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:44 provisioning config files... 18:50:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/82@tmp/config12490246523236708711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:44 ---> docker-login.sh 18:50:44 nexus3.edgexfoundry.org:10001 18:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:44 Configure a credential helper to remove this warning. See 18:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:44 18:50:44 Login Succeeded 18:50:44 nexus3.edgexfoundry.org:10002 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 nexus3.edgexfoundry.org:10003 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 nexus3.edgexfoundry.org:10004 18:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:46 Configure a credential helper to remove this warning. See 18:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:46 18:50:46 Login Succeeded 18:50:46 docker.io 18:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:46 Configure a credential helper to remove this warning. See 18:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:46 18:50:46 Login Succeeded 18:50:47 ---> docker-login.sh ends [Pipeline] } 18:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:47 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:50:47 7f746f51e1ef244c01c4206344cb741c614a79d6 18:50:47 latest 18:50:47 3.0.0-dev.10 18:50:47 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 18:50:47 main 18:50:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6 18:50:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:50:47 2c3ae247e406: Preparing 18:50:47 eccafac04d98: Preparing 18:50:47 dbb659d2fb90: Preparing 18:50:47 4a97aa476a0f: Preparing 18:50:47 f70ee36035b9: Preparing 18:50:47 f70ee36035b9: Layer already exists 18:50:48 eccafac04d98: Pushed 18:50:48 4a97aa476a0f: Pushed 18:50:48 2c3ae247e406: Pushed 18:50:54 dbb659d2fb90: Pushed 18:50:54 7f746f51e1ef244c01c4206344cb741c614a79d6: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:50:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:50:55 2c3ae247e406: Preparing 18:50:55 eccafac04d98: Preparing 18:50:55 dbb659d2fb90: Preparing 18:50:55 4a97aa476a0f: Preparing 18:50:55 f70ee36035b9: Preparing 18:50:55 2c3ae247e406: Layer already exists 18:50:55 f70ee36035b9: Layer already exists 18:50:55 4a97aa476a0f: Layer already exists 18:50:55 dbb659d2fb90: Layer already exists 18:50:55 eccafac04d98: Layer already exists 18:50:55 latest: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.10 18:50:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:50:56 2c3ae247e406: Preparing 18:50:56 eccafac04d98: Preparing 18:50:56 dbb659d2fb90: Preparing 18:50:56 4a97aa476a0f: Preparing 18:50:56 f70ee36035b9: Preparing 18:50:56 f70ee36035b9: Layer already exists 18:50:56 eccafac04d98: Layer already exists 18:50:56 4a97aa476a0f: Layer already exists 18:50:56 dbb659d2fb90: Layer already exists 18:50:56 2c3ae247e406: Layer already exists 18:50:56 3.0.0-dev.10: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 18:50:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:50:57 2c3ae247e406: Preparing 18:50:57 eccafac04d98: Preparing 18:50:57 dbb659d2fb90: Preparing 18:50:57 4a97aa476a0f: Preparing 18:50:57 f70ee36035b9: Preparing 18:50:57 eccafac04d98: Layer already exists 18:50:57 2c3ae247e406: Layer already exists 18:50:57 4a97aa476a0f: Layer already exists 18:50:57 dbb659d2fb90: Layer already exists 18:50:57 f70ee36035b9: Layer already exists 18:50:57 7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 18:50:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:50:58 2c3ae247e406: Preparing 18:50:58 eccafac04d98: Preparing 18:50:58 dbb659d2fb90: Preparing 18:50:58 4a97aa476a0f: Preparing 18:50:58 f70ee36035b9: Preparing 18:50:58 4a97aa476a0f: Layer already exists 18:50:58 dbb659d2fb90: Layer already exists 18:50:58 eccafac04d98: Layer already exists 18:50:58 2c3ae247e406: Layer already exists 18:50:58 f70ee36035b9: Layer already exists 18:50:58 main: digest: sha256:6ea2a24ebfd489550cd1ec86d3d3e4934859a482587287b9008285f72cacd1ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:50:58 ===================================================== [Pipeline] echo 18:50:58 taggedImages: 18:50:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6 18:50:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:50:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.10 18:50:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7f746f51e1ef244c01c4206344cb741c614a79d6-3.0.0-dev.10 18:50:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:59 18:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:00 arm64: Pulling from edgex-lftools-log-publisher 18:51:00 8998bd30e6a1: Pulling fs layer 18:51:00 04944245beec: Pulling fs layer 18:51:00 699f458cf7ca: Pulling fs layer 18:51:00 765212b225bb: Pulling fs layer 18:51:00 f23df028b6ca: Pulling fs layer 18:51:00 d65c8cfc05b1: Pulling fs layer 18:51:00 2437ff75d9bd: Pulling fs layer 18:51:00 765212b225bb: Waiting 18:51:00 f23df028b6ca: Waiting 18:51:00 d65c8cfc05b1: Waiting 18:51:00 2437ff75d9bd: Waiting 18:51:00 04944245beec: Verifying Checksum 18:51:00 04944245beec: Download complete 18:51:00 765212b225bb: Verifying Checksum 18:51:00 765212b225bb: Download complete 18:51:00 f23df028b6ca: Verifying Checksum 18:51:00 f23df028b6ca: Download complete 18:51:00 d65c8cfc05b1: Verifying Checksum 18:51:00 d65c8cfc05b1: Download complete 18:51:00 699f458cf7ca: Verifying Checksum 18:51:00 699f458cf7ca: Download complete 18:51:00 8998bd30e6a1: Verifying Checksum 18:51:00 8998bd30e6a1: Download complete 18:51:03 2437ff75d9bd: Verifying Checksum 18:51:03 2437ff75d9bd: Download complete 18:51:05 8998bd30e6a1: Pull complete 18:51:05 04944245beec: Pull complete 18:51:07 699f458cf7ca: Pull complete 18:51:07 765212b225bb: Pull complete 18:51:08 f23df028b6ca: Pull complete 18:51:08 d65c8cfc05b1: Pull complete 18:51:26 2437ff75d9bd: Pull complete 18:51:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:51:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-6177 does not seem to be running inside a container 18:51:27 $ 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/82 -v /w/workspace/device-rest-go/82:/w/workspace/device-rest-go/82:rw,z -v /w/workspace/device-rest-go/82@tmp:/w/workspace/device-rest-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:51:30 $ docker top 934a2e4b490775c5890178022c88704ce203fa13a36393f916adc205fe8f5ad1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:31 ---> job-cost.sh 18:51:31 lf-activate-venv: SKIPPING 18:51:31 INFO: No Stack... 18:51:32 INFO: Retrieving Pricing Info for: v3-standard-4 18:51:33 INFO: Archiving Costs [Pipeline] sh 18:51:33 + cat /w/workspace/device-rest-go/82/archives/cost.csv 18:51:33 + cut -d, -f6 [Pipeline] lock 18:51:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] 18:51:34 Resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] did not exist. Created. 18:51:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:34 /w/workspace/device-rest-go/82@tmp/durable-4787dc1b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:51:35 + echo total: 0.10999999940395355 [Pipeline] stash 18:51:35 Warning: overwriting stash ‘stack-cost’ 18:51:35 Stashed 1 file(s) [Pipeline] } 18:51:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:35 $ docker stop --time=1 934a2e4b490775c5890178022c88704ce203fa13a36393f916adc205fe8f5ad1 18:51:37 $ docker rm -f --volumes 934a2e4b490775c5890178022c88704ce203fa13a36393f916adc205fe8f5ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:51:37 provisioning config files... 18:51:37 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17362554042701607554tmp [Pipeline] { [Pipeline] sh 18:51:37 + set +x 18:51:37 + curl -s https://codecov.io/bash 18:51:37 + bash -s -- 18:51:37 18:51:37 _____ _ 18:51:37 / ____| | | 18:51:37 | | ___ __| | ___ ___ _____ __ 18:51:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:51:37 | |___| (_) | (_| | __/ (_| (_) \ V / 18:51:37 \_____\___/ \__,_|\___|\___\___/ \_/ 18:51:37 Bash-1.0.6 18:51:37 18:51:37 18:51:37 ==> git version 2.25.1 found 18:51:37 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:51:37 Release-Date: 2020-01-08 18:51:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:51:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:51:37 ==> Jenkins CI detected. 18:51:37 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 18:51:37 project root: . 18:51:37 --> token set from env 18:51:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:51:37 ==> Running gcov in . (disable via -X gcov) 18:51:37 ==> Python coveragepy not found 18:51:37 ==> Searching for coverage reports in: 18:51:37 + . 18:51:37 -> Found 1 reports 18:51:37 ==> Detecting git/mercurial file structure 18:51:37 ==> Reading reports 18:51:37 + ./coverage.out bytes=13744 18:51:37 ==> Appending adjustments 18:51:37 https://docs.codecov.io/docs/fixing-reports 18:51:38 + Found adjustments 18:51:38 ==> Gzipping contents 18:51:38 4.0K /tmp/codecov.Ikuer4.gz 18:51:38 ==> Uploading reports 18:51:38 url: https://codecov.io 18:51:38 query: branch=main&commit=7f746f51e1ef244c01c4206344cb741c614a79d6&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:51:38 -> Pinging Codecov 18:51:38 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=7f746f51e1ef244c01c4206344cb741c614a79d6&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:51:38 -> Uploading to 18:51:38 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/7f746f51e1ef244c01c4206344cb741c614a79d6/5d495c00-0dd2-44d4-9346-81b153f937aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T185138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84f070df441fbd7eba42ba383f5ada6fdc327fc3e8e552e9890bc6080195cda0 18:51:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:38 Dload Upload Total Spent Left Speed 18:51:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8453 --:--:-- --:--:-- --:--:-- 8453 18:51:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] } 18:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:51:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:51:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:39 18:51:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:51:39 df9b9388f04a: Pulling fs layer 18:51:39 52dc419b0ee2: Pulling fs layer 18:51:39 25bc292e5bac: Pulling fs layer 18:51:39 114826534d7a: Pulling fs layer 18:51:39 4657fd5d0bcf: Pulling fs layer 18:51:39 6ad1cebc031e: Pulling fs layer 18:51:39 8a3aa393b2d8: Pulling fs layer 18:51:39 4657fd5d0bcf: Waiting 18:51:39 6ad1cebc031e: Waiting 18:51:39 8a3aa393b2d8: Waiting 18:51:39 114826534d7a: Waiting 18:51:39 25bc292e5bac: Download complete 18:51:39 52dc419b0ee2: Verifying Checksum 18:51:39 52dc419b0ee2: Download complete 18:51:39 4657fd5d0bcf: Verifying Checksum 18:51:39 4657fd5d0bcf: Download complete 18:51:39 df9b9388f04a: Verifying Checksum 18:51:39 df9b9388f04a: Download complete 18:51:39 df9b9388f04a: Pull complete 18:51:39 52dc419b0ee2: Pull complete 18:51:39 25bc292e5bac: Pull complete 18:51:39 6ad1cebc031e: Verifying Checksum 18:51:39 6ad1cebc031e: Download complete 18:51:40 114826534d7a: Verifying Checksum 18:51:40 114826534d7a: Download complete 18:51:41 8a3aa393b2d8: Download complete 18:51:44 114826534d7a: Pull complete 18:51:44 4657fd5d0bcf: Pull complete 18:51:44 6ad1cebc031e: Pull complete 18:51:46 8a3aa393b2d8: Pull complete 18:51:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:47 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:51:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:51:51 $ docker top 63ab3e3482fa02b40320de92da9171d2e2af39c09b0df740b679314c13489d17 -eo pid,comm [Pipeline] { [Pipeline] echo 18:51:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 18:51:51 + set -o pipefail 18:51:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 18:51:56 18:51:56 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 18:51:56 18:51:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/3bfb56e8-0f79-4969-bd63-91a9ce519075 18:51:56 18:51:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:51:56 18:51:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:51:56 18:51:56 18:51:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:51:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:51:56 More details here: https://snyk.co/ue1NS [Pipeline] } 18:51:56 $ docker stop --time=1 63ab3e3482fa02b40320de92da9171d2e2af39c09b0df740b679314c13489d17 18:51:59 $ docker rm -f --volumes 63ab3e3482fa02b40320de92da9171d2e2af39c09b0df740b679314c13489d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:00 + git log --format=format:%s -1 7f746f51e1ef244c01c4206344cb741c614a79d6 [Pipeline] sh 18:52:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:01 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:52:01 $ docker top bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 -eo pid,comm 18:52:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:52:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:01 [ssh-agent] Looking for ssh-agent implementation... 18:52:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:01 $ docker exec bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 ssh-agent 18:52:01 SSH_AUTH_SOCK=/tmp/ssh-9AcEyd1ruQk5/agent.33 18:52:01 SSH_AGENT_PID=39 18:52:01 Running ssh-add (command line suppressed) 18:52:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8160087321059753769.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8160087321059753769.key) 18:52:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:02 + git semver tag 18:52:02 2023-02-15 18:52:02,560 [run_tag] DEBUG tag force:False 18:52:02 2023-02-15 18:52:02,560 [check_head_tag] DEBUG check head tag 18:52:02 2023-02-15 18:52:02,561 [execute] INFO git cat-file --batch-check 18:52:02 2023-02-15 18:52:02,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:52:02 2023-02-15 18:52:02,565 [execute] INFO git cat-file --batch 18:52:02 2023-02-15 18:52:02,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:52:02 2023-02-15 18:52:02,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:02 2023-02-15 18:52:02,582 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 18:52:02 2023-02-15 18:52:02,582 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 18:52:02 2023-02-15 18:52:02,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:02 3.0.0-dev.10 [Pipeline] } 18:52:02 $ docker exec --env ******** --env ******** bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 ssh-agent -k 18:52:02 unset SSH_AUTH_SOCK; 18:52:02 unset SSH_AGENT_PID; 18:52:02 echo Agent pid 39 killed; 18:52:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:03 + git semver [Pipeline] } 18:52:03 $ docker stop --time=1 bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 18:52:04 $ docker rm -f --volumes bd23a1dbea3c92ac6394db5ce8d48d58704fe08dbf0caded75b0781c91d86d92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:52:04 18:52:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:52:05 0.23.1-centos7: Pulling from edgex-lftools 18:52:05 ab5ef0e58194: Pulling fs layer 18:52:05 9712f1f96733: Pulling fs layer 18:52:05 63f879dbbcfc: Pulling fs layer 18:52:05 0d9ebad4ef96: Pulling fs layer 18:52:05 e9a5061849ea: Pulling fs layer 18:52:05 d747dcd14b5f: Pulling fs layer 18:52:05 2de7ff778b66: Pulling fs layer 18:52:05 e9a5061849ea: Waiting 18:52:05 d747dcd14b5f: Waiting 18:52:05 2de7ff778b66: Waiting 18:52:05 0d9ebad4ef96: Waiting 18:52:05 9712f1f96733: Download complete 18:52:06 63f879dbbcfc: Verifying Checksum 18:52:06 63f879dbbcfc: Download complete 18:52:06 ab5ef0e58194: Verifying Checksum 18:52:06 ab5ef0e58194: Download complete 18:52:06 d747dcd14b5f: Verifying Checksum 18:52:06 d747dcd14b5f: Download complete 18:52:06 e9a5061849ea: Verifying Checksum 18:52:06 e9a5061849ea: Download complete 18:52:06 0d9ebad4ef96: Verifying Checksum 18:52:06 0d9ebad4ef96: Download complete 18:52:06 2de7ff778b66: Verifying Checksum 18:52:06 2de7ff778b66: Download complete 18:52:09 ab5ef0e58194: Pull complete 18:52:09 9712f1f96733: Pull complete 18:52:09 63f879dbbcfc: Pull complete 18:52:12 0d9ebad4ef96: Pull complete 18:52:13 e9a5061849ea: Pull complete 18:52:13 d747dcd14b5f: Pull complete 18:52:14 2de7ff778b66: Pull complete 18:52:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:52:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:14 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:52:20 $ docker top 0a2c82cbcc9fa83ae4d724c80e8e8e3440b50e6ce724fa41fa699ddf516a862a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:52:20 provisioning config files... 18:52:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15279910881845775166tmp 18:52:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18004488460770312616tmp 18:52:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6882978146066426006tmp [Pipeline] { [Pipeline] echo 18:52:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:52:20 ---> sigul-configuration.sh 18:52:20 gpg: directory `/root/.gnupg' created 18:52:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:52:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:52:20 gpg: keyring `/root/.gnupg/secring.gpg' created 18:52:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:52:20 gpg: CAST5 encrypted data 18:52:20 gpg: encrypted with 1 passphrase 18:52:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:52:20 + mkdir /home/jenkins 18:52:20 + mkdir /home/jenkins/sigul [Pipeline] sh 18:52:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:52:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:52:21 ---> sigul-install.sh 18:52:21 Sigul already installed; skipping installation. [Pipeline] sh 18:52:21 + git tag --list 18:52:21 v1.0.0 18:52:21 v1.1.0 18:52:21 v1.1.1 18:52:21 v1.1.2 18:52:21 v1.2.0 18:52:21 v1.2.1 18:52:21 v2.0.0 18:52:21 v2.1.0 18:52:21 v2.1.1 18:52:21 v2.1.1-dev.1 18:52:21 v2.1.1-dev.2 18:52:21 v2.1.1-dev.3 18:52:21 v2.2.0 18:52:21 v2.2.1-dev.1 18:52:21 v2.2.1-dev.2 18:52:21 v2.2.1-dev.3 18:52:21 v2.2.1-dev.4 18:52:21 v2.2.1-dev.5 18:52:21 v2.2.1-dev.6 18:52:21 v2.2.1-dev.7 18:52:21 v2.2.1-dev.8 18:52:21 v2.2.1-dev.9 18:52:21 v2.3.0 18:52:21 v2.3.0-dev.10 18:52:21 v2.3.0-dev.11 18:52:21 v2.3.0-dev.12 18:52:21 v2.3.0-dev.13 18:52:21 v2.3.0-dev.14 18:52:21 v2.3.0-dev.15 18:52:21 v2.3.0-dev.16 18:52:21 v2.3.0-dev.17 18:52:21 v2.3.0-dev.18 18:52:21 v2.3.0-dev.19 18:52:21 v2.3.0-dev.20 18:52:21 v2.3.0-dev.21 18:52:21 v2.3.0-dev.22 18:52:21 v2.3.0-dev.23 18:52:21 v2.3.0-dev.24 18:52:21 v2.3.0-dev.25 18:52:21 v2.3.0-dev.9 18:52:21 v3.0.0-dev.1 18:52:21 v3.0.0-dev.10 18:52:21 v3.0.0-dev.2 18:52:21 v3.0.0-dev.3 18:52:21 v3.0.0-dev.4 18:52:21 v3.0.0-dev.5 18:52:21 v3.0.0-dev.6 18:52:21 v3.0.0-dev.7 18:52:21 v3.0.0-dev.8 18:52:21 v3.0.0-dev.9 [Pipeline] sh 18:52:21 + lftools sign git-tag v3.0.0-dev.10 18:52:22 Signing Git tag with Sigul... 18:52:22 Signing v3.0.0-dev.10 [Pipeline] echo 18:52:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:52:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:52:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:52:22 $ docker stop --time=1 0a2c82cbcc9fa83ae4d724c80e8e8e3440b50e6ce724fa41fa699ddf516a862a 18:52:24 $ docker rm -f --volumes 0a2c82cbcc9fa83ae4d724c80e8e8e3440b50e6ce724fa41fa699ddf516a862a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:52:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:25 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:52:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:52:25 $ docker top 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 -eo pid,comm 18:52:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:52:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:25 [ssh-agent] Looking for ssh-agent implementation... 18:52:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:25 $ docker exec 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 ssh-agent 18:52:25 SSH_AUTH_SOCK=/tmp/ssh-h8CRU0Rb9Q2y/agent.31 18:52:25 SSH_AGENT_PID=38 18:52:25 Running ssh-add (command line suppressed) 18:52:25 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5944244456717455566.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5944244456717455566.key) 18:52:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:26 + git semver bump pre 18:52:26 2023-02-15 18:52:26,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:26 2023-02-15 18:52:26,342 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 18:52:26 2023-02-15 18:52:26,342 [bump_version] DEBUG bumped version:3.0.0-dev.11 18:52:26 2023-02-15 18:52:26,342 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 18:52:26 2023-02-15 18:52:26,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:26 2023-02-15 18:52:26,342 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:26 2023-02-15 18:52:26,344 [execute] INFO git cat-file --batch-check 18:52:26 2023-02-15 18:52:26,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:52:26 2023-02-15 18:52:26,350 [execute] INFO git cat-file --batch 18:52:26 2023-02-15 18:52:26,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:52:26 2023-02-15 18:52:26,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:26 3.0.0-dev.11 [Pipeline] } 18:52:26 $ docker exec --env ******** --env ******** 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 ssh-agent -k 18:52:26 unset SSH_AUTH_SOCK; 18:52:26 unset SSH_AGENT_PID; 18:52:26 echo Agent pid 38 killed; 18:52:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:26 + git semver [Pipeline] } 18:52:27 $ docker stop --time=1 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 18:52:28 $ docker rm -f --volumes 844d40b350322afd903b9339178be9c115db139150b1deda2dfe7b57adffeaf9 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:29 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:52: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 18:52:29 $ docker top 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 -eo pid,comm 18:52:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:52:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:29 [ssh-agent] Looking for ssh-agent implementation... 18:52:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:29 $ docker exec 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 ssh-agent 18:52:29 SSH_AUTH_SOCK=/tmp/ssh-39RSpB74JFMr/agent.32 18:52:29 SSH_AGENT_PID=38 18:52:29 Running ssh-add (command line suppressed) 18:52:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5699031827406940982.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5699031827406940982.key) 18:52:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:30 + git semver push 18:52:30 2023-02-15 18:52:30,414 [run_push] DEBUG push 18:52:30 2023-02-15 18:52:30,415 [execute] INFO git cat-file --batch-check 18:52:30 2023-02-15 18:52:30,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:52:30 2023-02-15 18:52:30,418 [execute] INFO git rev-list 154df09e813890ef9be20d77f4b65eff1ca02dad -- 18:52:30 2023-02-15 18:52:30,419 [execute] DEBUG Popen(['git', 'rev-list', '154df09e813890ef9be20d77f4b65eff1ca02dad', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:52:30 2023-02-15 18:52:30,426 [execute] INFO git fetch -v origin 18:52:30 2023-02-15 18:52:30,426 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:52:31 2023-02-15 18:52:31,006 [run_push] DEBUG no remote changes detected 18:52:31 2023-02-15 18:52:31,006 [execute] INFO git push origin semver 18:52:31 2023-02-15 18:52:31,007 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:52:32 2023-02-15 18:52:31,816 [run_push] DEBUG push all version tags 18:52:32 2023-02-15 18:52:31,816 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:52:32 2023-02-15 18:52:31,817 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 18:52:32 2023-02-15 18:52:32,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:52:32 3.0.0-dev.11 [Pipeline] } 18:52:32 $ docker exec --env ******** --env ******** 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 ssh-agent -k 18:52:33 unset SSH_AUTH_SOCK; 18:52:33 unset SSH_AGENT_PID; 18:52:33 echo Agent pid 38 killed; 18:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:33 + git semver [Pipeline] } 18:52:33 $ docker stop --time=1 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 18:52:34 $ docker rm -f --volumes 5a8881df7e840eedb5968f5fc4bc703179ae7bbd818265e59fdbfd3767a69893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:52:35 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 18:52:35 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:52:35 total 16 18:52:35 drwxr-xr-x 3 root root 4096 Feb 15 18:43 . 18:52:35 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:52 .. 18:52:35 drwxr-xr-x 2 root root 4096 Feb 15 18:43 cost 18:52:35 -rw-r--r-- 1 root root 85 Feb 15 18:43 cost.csv 18:52:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 18:52:35 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:52:35 total 16 18:52:35 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:43 . 18:52:35 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:52 .. 18:52:35 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:43 cost 18:52:35 -rw-r--r-- 1 jenkins jenkins 85 Feb 15 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:36 ---> package-listing.sh 18:52:36 ++ facter osfamily 18:52:36 ++ tr '[:upper:]' '[:lower:]' 18:52:36 + OS_FAMILY=debian 18:52:36 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 18:52:36 + START_PACKAGES=/tmp/packages_start.txt 18:52:36 + END_PACKAGES=/tmp/packages_end.txt 18:52:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:36 + PACKAGES=/tmp/packages_start.txt 18:52:36 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:52:36 + PACKAGES=/tmp/packages_end.txt 18:52:36 + case "${OS_FAMILY}" in 18:52:36 + dpkg -l 18:52:36 + grep '^ii' 18:52:36 + '[' -f /tmp/packages_start.txt ']' 18:52:36 + '[' -f /tmp/packages_end.txt ']' 18:52:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:36 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:52:36 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 18:52:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 18:52:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:37 prd-ubuntu20.04-docker-8c-8g-6172 does not seem to be running inside a container 18:52:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:52:38 $ docker top c1286f3b877116ca0a45c3349d0c3f1609fb04b8dca3fb264c2e14949efdda43 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:38 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:39 + ls /var/log/sa-host 18:52:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:39 provisioning config files... 18:52:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15691799107100356251tmp [Pipeline] { [Pipeline] echo 18:52:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:39 ---> create-netrc.sh [Pipeline] } 18:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:39 ---> python-tools-install.sh [Pipeline] echo 18:52:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:40 ---> sudo-logs.sh 18:52:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:40 ---> job-cost.sh 18:52:40 lf-activate-venv: SKIPPING 18:52:40 DEBUG: total: 0.2199999988079071 18:52:40 INFO: Retrieving Stack Cost... 18:52:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:41 INFO: Archiving Costs [Pipeline] echo 18:52:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:41 ---> logs-deploy.sh 18:52:41 lf-activate-venv: SKIPPING 18:52:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/82 18:52:41 INFO: archiving workspace using pattern(s): 18:52:42 Archives upload complete. 18:52:42 INFO: archiving logs to Nexus