Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e28169b2e94fb685934981c338b1a6a24f9d6fce 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-ssh3051836418894508682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12373923390371671676.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1286160152762593733.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3649293035496307497.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-ssh15313621716098275116.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4736 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 e28169b2e94fb685934981c338b1a6a24f9d6fce (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 Commit message: "Merge pull request #272 from weichou1229/bump-sdk" > git rev-list --no-walk 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:27:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:27:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:27:06 ========================================================= 05:27:06 EdgeX Global Pipelines Version Info 05:27:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:27:07 ------------------- 05:27:07 stable info: 05:27:07 ------------------- 05:27:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:27:07 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:27:07 Message: update stable to v1.0.245 05:27:07 ------------------- 05:27:07 experimental info: 05:27:07 ------------------- 05:27:07 Commited By: **** collab-it+edgex@linuxfoundation.org 05:27:07 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 05:27:07 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e28169b [Pipeline] echo 05:27:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:08 provisioning config files... 05:27:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15756534410486510550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:08 ---> docker-login.sh 05:27:08 nexus3.edgexfoundry.org:10001 05:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:09 Configure a credential helper to remove this warning. See 05:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:09 05:27:09 Login Succeeded 05:27:09 nexus3.edgexfoundry.org:10002 05:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:09 Configure a credential helper to remove this warning. See 05:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:09 05:27:09 Login Succeeded 05:27:09 nexus3.edgexfoundry.org:10003 05:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:09 Configure a credential helper to remove this warning. See 05:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:09 05:27:09 Login Succeeded 05:27:09 nexus3.edgexfoundry.org:10004 05:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:09 Configure a credential helper to remove this warning. See 05:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:09 05:27:09 Login Succeeded 05:27:09 docker.io 05:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:09 Configure a credential helper to remove this warning. See 05:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:09 05:27:09 Login Succeeded 05:27:09 ---> docker-login.sh ends [Pipeline] } 05:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:27:10 + git rev-list -1 --merges e28169b2e94fb685934981c338b1a6a24f9d6fce~1..e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo 05:27:10 -----------> git rev-list -1 --merges e28169b2e94fb685934981c338b1a6a24f9d6fce~1..e28169b2e94fb685934981c338b1a6a24f9d6fce e28169b2e94fb685934981c338b1a6a24f9d6fce 05:27:10 e28169b2e94fb685934981c338b1a6a24f9d6fce [false] [Pipeline] sh 05:27:10 + git log --format=format:%s -1 e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo 05:27:10 ========================================================= 05:27:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:27:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:10 + git log --format=format:%s -1 e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo 05:27:10 [semverPrep] GIT_COMMIT: e28169b2e94fb685934981c338b1a6a24f9d6fce, Commit Message: Merge pull request #272 from weichou1229/bump-sdk [Pipeline] echo 05:27:10 [semverPrep] This is not a build commit. [Pipeline] sh 05:27:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:27:11 + grep -v github /etc/ssh/ssh_known_hosts 05:27:11 + [ -e /tmp/ssh_known_hosts ] 05:27:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:27:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:27:11 + sudo tee -a /etc/ssh/ssh_known_hosts 05:27:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:11 05:27:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:11 0.1.4: Pulling from edgex-devops/py-git-semver 05:27:11 b85a868b505f: Pulling fs layer 05:27:11 e2be974225ed: Pulling fs layer 05:27:11 339a4e72a1f5: Pulling fs layer 05:27:11 988bab9f4d93: Pulling fs layer 05:27:11 1469e6f7b9e6: Pulling fs layer 05:27:11 eaf3925da568: Pulling fs layer 05:27:11 bab4dde63d76: Pulling fs layer 05:27:11 bde34c3a00c8: Pulling fs layer 05:27:11 b352a97aabf1: Pulling fs layer 05:27:11 4872d77fe225: Pulling fs layer 05:27:11 5851b861e8e6: Pulling fs layer 05:27:11 bab4dde63d76: Waiting 05:27:11 4872d77fe225: Waiting 05:27:11 5851b861e8e6: Waiting 05:27:11 b352a97aabf1: Waiting 05:27:11 bde34c3a00c8: Waiting 05:27:11 988bab9f4d93: Waiting 05:27:11 1469e6f7b9e6: Waiting 05:27:11 e2be974225ed: Verifying Checksum 05:27:11 e2be974225ed: Download complete 05:27:11 988bab9f4d93: Verifying Checksum 05:27:11 988bab9f4d93: Download complete 05:27:12 339a4e72a1f5: Verifying Checksum 05:27:12 339a4e72a1f5: Download complete 05:27:12 1469e6f7b9e6: Verifying Checksum 05:27:12 1469e6f7b9e6: Download complete 05:27:12 eaf3925da568: Download complete 05:27:12 bde34c3a00c8: Verifying Checksum 05:27:12 bde34c3a00c8: Download complete 05:27:12 b352a97aabf1: Download complete 05:27:12 4872d77fe225: Verifying Checksum 05:27:12 4872d77fe225: Download complete 05:27:12 5851b861e8e6: Download complete 05:27:12 b85a868b505f: Verifying Checksum 05:27:12 b85a868b505f: Download complete 05:27:12 bab4dde63d76: Verifying Checksum 05:27:13 b85a868b505f: Pull complete 05:27:13 e2be974225ed: Pull complete 05:27:14 339a4e72a1f5: Pull complete 05:27:14 988bab9f4d93: Pull complete 05:27:14 1469e6f7b9e6: Pull complete 05:27:14 eaf3925da568: Pull complete 05:27:16 bab4dde63d76: Pull complete 05:27:16 bde34c3a00c8: Pull complete 05:27:16 b352a97aabf1: Pull complete 05:27:16 4872d77fe225: Pull complete 05:27:16 5851b861e8e6: Pull complete 05:27:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:27:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:16 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:27:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:27:19 $ docker top 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e -eo pid,comm 05:27:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:27:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:27:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:19 [ssh-agent] Looking for ssh-agent implementation... 05:27:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:20 $ docker exec 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent 05:27:20 SSH_AUTH_SOCK=/tmp/ssh-cgt9tFNExYyE/agent.20 05:27:20 SSH_AGENT_PID=26 05:27:20 Running ssh-add (command line suppressed) 05:27:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14022515973938006747.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14022515973938006747.key) 05:27:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:20 + git tag --points-at HEAD [Pipeline] } 05:27:20 $ docker exec --env ******** --env ******** 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent -k 05:27:20 unset SSH_AUTH_SOCK; 05:27:20 unset SSH_AGENT_PID; 05:27:20 echo Agent pid 26 killed; 05:27:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:27:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:20 [ssh-agent] Looking for ssh-agent implementation... 05:27:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:20 $ docker exec 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent 05:27:21 SSH_AUTH_SOCK=/tmp/ssh-1ewuz32PVTgm/agent.70 05:27:21 SSH_AGENT_PID=76 05:27:21 Running ssh-add (command line suppressed) 05:27:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3947690615785505348.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3947690615785505348.key) 05:27:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:21 + git semver init 05:27:22 2023-03-21 05:27:21,830 [run_init] DEBUG init version:0.0.0 force:False 05:27:22 2023-03-21 05:27:21,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 05:27:22 2023-03-21 05:27:21,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 05:27:22 2023-03-21 05:27:21,833 [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) 05:27:23 2023-03-21 05:27:23,500 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 05:27:23 2023-03-21 05:27:23,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 05:27:23 2023-03-21 05:27:23,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:27:23 2023-03-21 05:27:23,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:27:23 3.0.0-dev.21 [Pipeline] } 05:27:23 $ docker exec --env ******** --env ******** 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent -k 05:27:24 unset SSH_AUTH_SOCK; 05:27:24 unset SSH_AGENT_PID; 05:27:24 echo Agent pid 76 killed; 05:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:27:24 + git semver [Pipeline] } 05:27:24 $ docker stop --time=1 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e 05:27:27 $ docker rm -f --volumes 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e [Pipeline] // withDockerContainer [Pipeline] sh 05:27:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:27:27 Stashed 1 file(s) [Pipeline] echo 05:27:27 [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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 05:27:27 provisioning config files... 05:27:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17126364750762411372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:28 ---> docker-login.sh 05:27:28 nexus3.edgexfoundry.org:10001 05:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:28 Configure a credential helper to remove this warning. See 05:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:28 05:27:28 Login Succeeded 05:27:28 nexus3.edgexfoundry.org:10002 05:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:28 Configure a credential helper to remove this warning. See 05:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:28 05:27:28 Login Succeeded 05:27:28 nexus3.edgexfoundry.org:10003 05:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:28 Configure a credential helper to remove this warning. See 05:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:28 05:27:28 Login Succeeded 05:27:28 nexus3.edgexfoundry.org:10004 05:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:28 Configure a credential helper to remove this warning. See 05:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:28 05:27:28 Login Succeeded 05:27:28 docker.io 05:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:28 Configure a credential helper to remove this warning. See 05:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:28 05:27:28 Login Succeeded 05:27:28 ---> docker-login.sh ends [Pipeline] } 05:27:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:27:28 ========================================================= 05:27:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:27:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:27:28 Sending build context to Docker daemon 10.86MB 05:27:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:27:28 Step 2/12 : FROM ${BASE} AS builder 05:27:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:27:28 63b65145d645: Pulling fs layer 05:27:28 a2d21d5440eb: Pulling fs layer 05:27:28 935e6c44a52c: Pulling fs layer 05:27:28 94cc34f8dd06: Pulling fs layer 05:27:28 30dea6a524f1: Pulling fs layer 05:27:28 a2aff8979fd8: Pulling fs layer 05:27:28 6808be2612f2: Pulling fs layer 05:27:28 f25807f1079a: Pulling fs layer 05:27:28 94cc34f8dd06: Waiting 05:27:28 30dea6a524f1: Waiting 05:27:28 a2aff8979fd8: Waiting 05:27:28 6808be2612f2: Waiting 05:27:28 f25807f1079a: Waiting 05:27:28 a2d21d5440eb: Verifying Checksum 05:27:28 a2d21d5440eb: Download complete 05:27:28 94cc34f8dd06: Verifying Checksum 05:27:28 94cc34f8dd06: Download complete 05:27:28 30dea6a524f1: Verifying Checksum 05:27:28 30dea6a524f1: Download complete 05:27:29 63b65145d645: Verifying Checksum 05:27:29 63b65145d645: Download complete 05:27:29 a2aff8979fd8: Verifying Checksum 05:27:29 a2aff8979fd8: Download complete 05:27:29 63b65145d645: Pull complete 05:27:29 a2d21d5440eb: Pull complete 05:27:29 f25807f1079a: Verifying Checksum 05:27:29 f25807f1079a: Download complete 05:27:29 935e6c44a52c: Verifying Checksum 05:27:29 935e6c44a52c: Download complete 05:27:29 6808be2612f2: Verifying Checksum 05:27:29 6808be2612f2: Download complete 05:27:33 935e6c44a52c: Pull complete 05:27:33 94cc34f8dd06: Pull complete 05:27:33 30dea6a524f1: Pull complete 05:27:33 a2aff8979fd8: Pull complete 05:27:35 6808be2612f2: Pull complete 05:27:36 f25807f1079a: Pull complete 05:27:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:27:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:27:36 ---> 3b553350e43f 05:27:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:27:42 Still waiting to schedule task 05:27:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4735’ 05:27:43 ---> Running in 8b911e64d5b7 05:27:43 Removing intermediate container 8b911e64d5b7 05:27:43 ---> dd028b9e0951 05:27:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:27:43 ---> Running in 5df596df1729 05:27:43 Removing intermediate container 5df596df1729 05:27:43 ---> f7a0247d13e8 05:27:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:27:43 ---> Running in 5f4e1be45be1 05:27:43 Removing intermediate container 5f4e1be45be1 05:27:43 ---> 90a3975b12ea 05:27:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:27:43 ---> Running in 320c57ee8bdb 05:27:43 Removing intermediate container 320c57ee8bdb 05:27:43 ---> 9c190a994e5a 05:27:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:27:43 ---> Running in 2e4121950fcd 05:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:27:44 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:27:44 (2/4) Installing libedit (20221030.3.1-r0) 05:27:44 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:27:44 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:27:44 Executing busybox-1.35.0-r29.trigger 05:27:44 OK: 269 MiB in 57 packages 05:27:45 Removing intermediate container 2e4121950fcd 05:27:45 ---> a517c741f3f4 05:27:45 Step 8/12 : WORKDIR /device-rest-go 05:27:45 ---> Running in fc79933541c5 05:27:45 Removing intermediate container fc79933541c5 05:27:45 ---> ab0a42d52c30 05:27:45 Step 9/12 : COPY go.mod vendor* ./ 05:27:45 ---> 881ce4d8f32b 05:27:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:45 ---> Running in 3cc1ea332eb0 05:28:25 Removing intermediate container 3cc1ea332eb0 05:28:25 ---> d1356092622a 05:28:25 Step 11/12 : COPY . . 05:28:25 ---> 94f116bc8a03 05:28:25 Step 12/12 : RUN $MAKE 05:28:25 ---> Running in 16a14edc5e29 05:28:25 noop 05:28:26 Removing intermediate container 16a14edc5e29 05:28:26 ---> 7094d5e224ab 05:28:26 Successfully built 7094d5e224ab 05:28:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:27 + docker inspect -f . ci-base-image-x86_64 05:28:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:27 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:28:27 $ 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 ******** ci-base-image-x86_64 cat 05:28:27 $ docker top 0199fd3d53bfb96cb5016f786eb3a6162693e189537a61fed2b725ddb671e346 -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:27 + go version 05:28:27 go version go1.20.2 linux/amd64 [Pipeline] } 05:28:28 $ docker stop --time=1 0199fd3d53bfb96cb5016f786eb3a6162693e189537a61fed2b725ddb671e346 05:28:29 $ docker rm -f --volumes 0199fd3d53bfb96cb5016f786eb3a6162693e189537a61fed2b725ddb671e346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:29 + docker inspect -f . ci-base-image-x86_64 05:28:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:29 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:28:29 $ 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 ******** ci-base-image-x86_64 cat 05:28:30 $ docker top 3c6601424515cc457a5c63faed267a3f1ce07206530aed1ee11f49e5bbcb1d0c -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 05:28:30 + make test 05:28:30 go test ./... -coverprofile=coverage.out ./... 05:28:36 ? github.com/edgexfoundry/device-rest-go [no test files] 05:28:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:28:45 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.0% of statements 05:28:51 go vet ./... 05:28:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:28:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:28:55 ./bin/test-attribution-txt.sh [Pipeline] echo 05:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:28:55 $ docker stop --time=1 3c6601424515cc457a5c63faed267a3f1ce07206530aed1ee11f49e5bbcb1d0c 05:28:58 $ docker rm -f --volumes 3c6601424515cc457a5c63faed267a3f1ce07206530aed1ee11f49e5bbcb1d0c [Pipeline] // withDockerContainer [Pipeline] sh 05:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:28:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:28:59 + ls -al . 05:28:59 total 184 05:28:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:28 . 05:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 .. 05:28:59 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:27 .dockerignore 05:28:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:27 .git 05:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 .github 05:28:59 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:27 .gitignore 05:28:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:27 .golangci.yml 05:28:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:27 .semver 05:28:59 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:27 Attribution.txt 05:28:59 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:27 CHANGELOG.md 05:28:59 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:27 Dockerfile 05:28:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:27 GOVERNANCE.md 05:28:59 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:27 Jenkinsfile 05:28:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:27 LICENSE 05:28:59 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:27 Makefile 05:28:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:27 OWNERS.md 05:28:59 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:27 README.md 05:28:59 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 05:27 VERSION 05:28:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 bin 05:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 cmd 05:28:59 -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:28 coverage.out 05:28:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 driver 05:28:59 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 05:27 go.mod 05:28:59 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 05:27 go.sum 05:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 snap 05:28:59 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:00 + 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=e28169b2e94fb685934981c338b1a6a24f9d6fce --label arch=amd64 --label version=3.0.0-dev.21 . 05:29:00 Sending build context to Docker daemon 10.87MB 05:29:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:29:00 Step 2/25 : FROM ${BASE} AS builder 05:29:00 ---> 7094d5e224ab 05:29:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:29:00 ---> Running in 78e107cb61c3 05:29:00 Removing intermediate container 78e107cb61c3 05:29:00 ---> bf4544d9b245 05:29:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:00 ---> Running in ed5dd9fdf414 05:29:00 Removing intermediate container ed5dd9fdf414 05:29:00 ---> f9efbba3c1d3 05:29:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:29:00 ---> Running in 49b71583a6f6 05:29:00 Removing intermediate container 49b71583a6f6 05:29:00 ---> a6b01ac7f3f6 05:29:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:29:00 ---> Running in 08059f3cb364 05:29:00 Removing intermediate container 08059f3cb364 05:29:00 ---> 9f8f51350c06 05:29:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:29:00 ---> Running in 2a9572f1c2ab 05:29:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:29:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:29:01 OK: 269 MiB in 57 packages 05:29:01 Removing intermediate container 2a9572f1c2ab 05:29:01 ---> c6c5d5ab813e 05:29:01 Step 8/25 : WORKDIR /device-rest-go 05:29:01 ---> Running in 52c2f0953322 05:29:01 Removing intermediate container 52c2f0953322 05:29:01 ---> 2eb436e815c3 05:29:01 Step 9/25 : COPY go.mod vendor* ./ 05:29:01 ---> 0717bf3bf79d 05:29:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:01 ---> Running in fecd7a37feb9 05:29:02 Removing intermediate container fecd7a37feb9 05:29:02 ---> bee488446e24 05:29:02 Step 11/25 : COPY . . 05:29:03 ---> 858fbfd5c8cd 05:29:03 Step 12/25 : RUN $MAKE 05:29:03 ---> Running in 6087a5ba0117 05:29:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:29:26 Removing intermediate container 6087a5ba0117 05:29:26 ---> 17431f71b5e3 05:29:26 Step 13/25 : FROM alpine:3.17 05:29:26 3.17: Pulling from library/alpine 05:29:26 63b65145d645: Already exists 05:29:26 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:29:26 Status: Downloaded newer image for alpine:3.17 05:29:26 ---> b2aa39c304c2 05:29:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:29:26 ---> Running in 2c3a691a4425 05:29:26 Removing intermediate container 2c3a691a4425 05:29:26 ---> c6e7cc2a54b9 05:29:26 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 05:29:26 ---> Running in 7a54a078b19d 05:29:26 Removing intermediate container 7a54a078b19d 05:29:26 ---> e32525a2ce30 05:29:26 Step 16/25 : RUN apk add --update --no-cache dumb-init 05:29:26 ---> Running in 518bf9ca046b 05:29:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:29:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:29:26 (1/1) Installing dumb-init (1.2.5-r2) 05:29:26 Executing busybox-1.35.0-r29.trigger 05:29:26 OK: 7 MiB in 16 packages 05:29:26 Removing intermediate container 518bf9ca046b 05:29:26 ---> cabbc6b4d786 05:29:26 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 05:29:26 ---> 701c74811a15 05:29:26 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 05:29:27 ---> 944468a1aff6 05:29:27 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 05:29:27 ---> 8a099adaba6c 05:29:27 Step 20/25 : EXPOSE 59986 05:29:27 ---> Running in 0dafbb75fb5e 05:29:27 Removing intermediate container 0dafbb75fb5e 05:29:27 ---> f83878e90b2e 05:29:27 Step 21/25 : ENTRYPOINT ["/device-rest"] 05:29:28 ---> Running in 72aeb6c3f428 05:29:28 Removing intermediate container 72aeb6c3f428 05:29:28 ---> 0ed15e9658e7 05:29:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:29:28 ---> Running in c51d1d2501a5 05:29:28 Removing intermediate container c51d1d2501a5 05:29:28 ---> 885484e76dde 05:29:28 Step 23/25 : LABEL arch=amd64 05:29:28 ---> Running in 6bc8520449e2 05:29:28 Removing intermediate container 6bc8520449e2 05:29:28 ---> c412ea662ce1 05:29:28 Step 24/25 : LABEL git_sha=e28169b2e94fb685934981c338b1a6a24f9d6fce 05:29:28 ---> Running in 5b44c5a1807c 05:29:28 Removing intermediate container 5b44c5a1807c 05:29:28 ---> 5a898ae844e7 05:29:28 Step 25/25 : LABEL version=3.0.0-dev.21 05:29:28 ---> Running in 503b50285698 05:29:28 Removing intermediate container 503b50285698 05:29:28 ---> c42737c48c1b 05:29:28 [Warning] One or more build-args [ARCH] were not consumed 05:29:28 Successfully built c42737c48c1b 05:29:28 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:28 provisioning config files... 05:29:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11363864049059388490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:29 ---> docker-login.sh 05:29:29 nexus3.edgexfoundry.org:10001 05:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:29 Configure a credential helper to remove this warning. See 05:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:29 05:29:29 Login Succeeded 05:29:29 nexus3.edgexfoundry.org:10002 05:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:29 Configure a credential helper to remove this warning. See 05:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:29 05:29:29 Login Succeeded 05:29:29 nexus3.edgexfoundry.org:10003 05:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:29 Configure a credential helper to remove this warning. See 05:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:29 05:29:29 Login Succeeded 05:29:29 nexus3.edgexfoundry.org:10004 05:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:29 Configure a credential helper to remove this warning. See 05:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:29 05:29:29 Login Succeeded 05:29:29 docker.io 05:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:29 Configure a credential helper to remove this warning. See 05:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:29 05:29:29 Login Succeeded 05:29:29 ---> docker-login.sh ends [Pipeline] } 05:29:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:29 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:29:29 e28169b2e94fb685934981c338b1a6a24f9d6fce 05:29:29 latest 05:29:29 3.0.0-dev.21 05:29:29 e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 05:29:29 main 05:29:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce 05:29:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:29:30 bb0c3b247a5e: Preparing 05:29:30 15c8b69d780f: Preparing 05:29:30 1a637597c9dd: Preparing 05:29:30 30edaad0610d: Preparing 05:29:30 7cd52847ad77: Preparing 05:29:30 7cd52847ad77: Layer already exists 05:29:30 bb0c3b247a5e: Pushed 05:29:30 30edaad0610d: Pushed 05:29:30 15c8b69d780f: Pushed 05:29:33 1a637597c9dd: Pushed 05:29:33 e28169b2e94fb685934981c338b1a6a24f9d6fce: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:29:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:29:33 bb0c3b247a5e: Preparing 05:29:33 15c8b69d780f: Preparing 05:29:33 1a637597c9dd: Preparing 05:29:33 30edaad0610d: Preparing 05:29:33 7cd52847ad77: Preparing 05:29:33 15c8b69d780f: Layer already exists 05:29:33 7cd52847ad77: Layer already exists 05:29:33 30edaad0610d: Layer already exists 05:29:33 bb0c3b247a5e: Layer already exists 05:29:33 1a637597c9dd: Layer already exists 05:29:33 latest: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.21 05:29:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:29:34 bb0c3b247a5e: Preparing 05:29:34 15c8b69d780f: Preparing 05:29:34 1a637597c9dd: Preparing 05:29:34 30edaad0610d: Preparing 05:29:34 7cd52847ad77: Preparing 05:29:34 30edaad0610d: Layer already exists 05:29:34 7cd52847ad77: Layer already exists 05:29:34 bb0c3b247a5e: Layer already exists 05:29:34 1a637597c9dd: Layer already exists 05:29:34 15c8b69d780f: Layer already exists 05:29:34 3.0.0-dev.21: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 05:29:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:29:34 bb0c3b247a5e: Preparing 05:29:34 15c8b69d780f: Preparing 05:29:34 1a637597c9dd: Preparing 05:29:34 30edaad0610d: Preparing 05:29:34 7cd52847ad77: Preparing 05:29:34 1a637597c9dd: Layer already exists 05:29:34 15c8b69d780f: Layer already exists 05:29:34 7cd52847ad77: Layer already exists 05:29:34 30edaad0610d: Layer already exists 05:29:34 bb0c3b247a5e: Layer already exists 05:29:34 e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 05:29:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:29:35 bb0c3b247a5e: Preparing 05:29:35 15c8b69d780f: Preparing 05:29:35 1a637597c9dd: Preparing 05:29:35 30edaad0610d: Preparing 05:29:35 7cd52847ad77: Preparing 05:29:35 1a637597c9dd: Layer already exists 05:29:35 15c8b69d780f: Layer already exists 05:29:35 bb0c3b247a5e: Layer already exists 05:29:35 30edaad0610d: Layer already exists 05:29:35 7cd52847ad77: Layer already exists 05:29:35 main: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:35 ===================================================== [Pipeline] echo 05:29:35 taggedImages: 05:29:35 - nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce 05:29:35 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:29:35 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.21 05:29:35 - nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 05:29:35 - 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 05:29:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:35 05:29:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:36 latest: Pulling from edgex-lftools-log-publisher 05:29:36 5eb5b503b376: Pulling fs layer 05:29:36 5c69ac0246d0: Pulling fs layer 05:29:36 ec43610c2a17: Pulling fs layer 05:29:36 3a2ae6a8a46f: Pulling fs layer 05:29:36 33b1e0a273af: Pulling fs layer 05:29:36 3a2ae6a8a46f: Waiting 05:29:36 5d3b04190fa2: Pulling fs layer 05:29:36 33b1e0a273af: Waiting 05:29:36 2f39f015ded8: Pulling fs layer 05:29:36 5d3b04190fa2: Waiting 05:29:36 2f39f015ded8: Waiting 05:29:36 5c69ac0246d0: Verifying Checksum 05:29:36 5c69ac0246d0: Download complete 05:29:36 3a2ae6a8a46f: Verifying Checksum 05:29:36 3a2ae6a8a46f: Download complete 05:29:36 ec43610c2a17: Verifying Checksum 05:29:36 ec43610c2a17: Download complete 05:29:36 33b1e0a273af: Verifying Checksum 05:29:36 33b1e0a273af: Download complete 05:29:36 5d3b04190fa2: Verifying Checksum 05:29:36 5d3b04190fa2: Download complete 05:29:36 5eb5b503b376: Verifying Checksum 05:29:36 5eb5b503b376: Download complete 05:29:37 2f39f015ded8: Download complete 05:29:37 5eb5b503b376: Pull complete 05:29:37 5c69ac0246d0: Pull complete 05:29:38 ec43610c2a17: Pull complete 05:29:38 3a2ae6a8a46f: Pull complete 05:29:38 33b1e0a273af: Pull complete 05:29:38 5d3b04190fa2: Pull complete 05:29:42 2f39f015ded8: Pull complete 05:29:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:29:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:42 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:29:47 $ docker top 2ec497e8374db9005fb0be9a0502f9b1d63f5f6c08e5d6f81bd76a3061260c18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:48 ---> job-cost.sh 05:29:48 lf-activate-venv: SKIPPING 05:29:48 INFO: No Stack... 05:29:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:49 INFO: Archiving Costs [Pipeline] sh 05:29:49 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 05:29:49 + cut -d, -f6 [Pipeline] lock 05:29:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] 05:29:49 Resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] did not exist. Created. 05:29:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:29:49 + echo total: 0.2199999988079071 [Pipeline] stash 05:29:49 Stashed 1 file(s) [Pipeline] } 05:29:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 05:29:49 $ docker stop --time=1 2ec497e8374db9005fb0be9a0502f9b1d63f5f6c08e5d6f81bd76a3061260c18 05:29:51 $ docker rm -f --volumes 2ec497e8374db9005fb0be9a0502f9b1d63f5f6c08e5d6f81bd76a3061260c18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:30:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4739 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 05:30:14 Running in /w/workspace/device-rest-go/93 [Pipeline] { [Pipeline] checkout 05:30:14 The recommended git tool is: git 05:30:20 using credential edgex-jenkins-ssh 05:30:20 Cloning the remote Git repository 05:30:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:30:20 > git init /w/workspace/device-rest-go/93 # timeout=10 05:30:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:30:21 > git --version # timeout=10 05:30:21 > git --version # 'git version 2.25.1' 05:30:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:30:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:30:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:30:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:30:24 Avoid second fetch 05:30:24 Checking out Revision e28169b2e94fb685934981c338b1a6a24f9d6fce (main) 05:30:24 Commit message: "Merge pull request #272 from weichou1229/bump-sdk" 05:30:24 > git config core.sparsecheckout # timeout=10 05:30:24 > git checkout -f e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:30:25 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:25 Dload Upload Total Spent Left Speed 05:30:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 05:30:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:30:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:30:26 + sudo tee /etc/docker/daemon.new 05:30:26 { 05:30:26 "registry-mirrors": [ 05:30:26 "https://nexus3.edgexfoundry.org:10001" 05:30:26 ], 05:30:26 "bip": "10.250.0.254/24", 05:30:26 "hosts": [ 05:30:26 "tcp://0.0.0.0:5555", 05:30:26 "unix:///var/run/docker.sock" 05:30:26 ], 05:30:26 "mtu": 1458, 05:30:26 "selinux-enabled": true, 05:30:26 "seccomp-profile": "/etc/docker/seccomp.json" 05:30:26 } [Pipeline] sh 05:30:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:30:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:45 provisioning config files... 05:30:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/93@tmp/config17448944105748556493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:46 ---> docker-login.sh 05:30:46 nexus3.edgexfoundry.org:10001 05:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:46 Configure a credential helper to remove this warning. See 05:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:46 05:30:46 Login Succeeded 05:30:46 nexus3.edgexfoundry.org:10002 05:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:47 Configure a credential helper to remove this warning. See 05:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:47 05:30:47 Login Succeeded 05:30:47 nexus3.edgexfoundry.org:10003 05:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:47 Configure a credential helper to remove this warning. See 05:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:47 05:30:47 Login Succeeded 05:30:47 nexus3.edgexfoundry.org:10004 05:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:47 Configure a credential helper to remove this warning. See 05:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:47 05:30:47 Login Succeeded 05:30:47 docker.io 05:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:48 Configure a credential helper to remove this warning. See 05:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:48 05:30:48 Login Succeeded 05:30:48 ---> docker-login.sh ends [Pipeline] } 05:30:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:48 ========================================================= 05:30:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:30:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:30:48 Sending build context to Docker daemon 138.8kB 05:30:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:30:49 Step 2/12 : FROM ${BASE} AS builder 05:30:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:30:49 af6eaf76a39c: Pulling fs layer 05:30:49 55522c791124: Pulling fs layer 05:30:49 ce5c4a1c91eb: Pulling fs layer 05:30:49 169dfbe0d373: Pulling fs layer 05:30:49 e1ff8fa3b103: Pulling fs layer 05:30:49 52ebb69f0ebf: Pulling fs layer 05:30:49 5abe8eddf0d5: Pulling fs layer 05:30:49 e1ff8fa3b103: Waiting 05:30:49 52ebb69f0ebf: Waiting 05:30:49 169dfbe0d373: Waiting 05:30:49 5abe8eddf0d5: Waiting 05:30:49 55522c791124: Download complete 05:30:49 169dfbe0d373: Verifying Checksum 05:30:49 169dfbe0d373: Download complete 05:30:49 e1ff8fa3b103: Verifying Checksum 05:30:49 e1ff8fa3b103: Download complete 05:30:49 af6eaf76a39c: Download complete 05:30:50 af6eaf76a39c: Pull complete 05:30:50 5abe8eddf0d5: Verifying Checksum 05:30:50 5abe8eddf0d5: Download complete 05:30:51 55522c791124: Pull complete 05:30:52 ce5c4a1c91eb: Verifying Checksum 05:30:52 ce5c4a1c91eb: Download complete 05:30:52 52ebb69f0ebf: Verifying Checksum 05:30:52 52ebb69f0ebf: Download complete 05:31:04 ce5c4a1c91eb: Pull complete 05:31:04 169dfbe0d373: Pull complete 05:31:04 e1ff8fa3b103: Pull complete 05:31:11 52ebb69f0ebf: Pull complete 05:31:13 5abe8eddf0d5: Pull complete 05:31:13 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:31:13 ---> 6cb57ee374ae 05:31:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:31:15 ---> Running in 6eb062db4ad8 05:31:15 Removing intermediate container 6eb062db4ad8 05:31:15 ---> 8e72ec181ecc 05:31:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:31:15 ---> Running in 013b0c3b9b86 05:31:15 Removing intermediate container 013b0c3b9b86 05:31:15 ---> 267c3b3c054d 05:31:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:31:15 ---> Running in f443210559f1 05:31:15 Removing intermediate container f443210559f1 05:31:15 ---> 284b36604085 05:31:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:31:16 ---> Running in bb1ef9f5cddf 05:31:16 Removing intermediate container bb1ef9f5cddf 05:31:16 ---> 1f33ba414192 05:31:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:31:16 ---> Running in 32c6b5df5923 05:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:31:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:31:20 (2/4) Installing libedit (20221030.3.1-r0) 05:31:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:31:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:31:20 Executing busybox-1.35.0-r29.trigger 05:31:20 OK: 268 MiB in 57 packages 05:31:20 Removing intermediate container 32c6b5df5923 05:31:20 ---> 77fdca6c6ba6 05:31:20 Step 8/12 : WORKDIR /device-rest-go 05:31:20 ---> Running in 229af4d52d74 05:31:21 Removing intermediate container 229af4d52d74 05:31:21 ---> ad2a119c9940 05:31:21 Step 9/12 : COPY go.mod vendor* ./ 05:31:22 ---> ae73c49cb9b6 05:31:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:22 ---> Running in 9bba843b4d8b 05:32:30 Removing intermediate container 9bba843b4d8b 05:32:30 ---> eb50c5531858 05:32:30 Step 11/12 : COPY . . 05:32:30 ---> ae019893132f 05:32:30 Step 12/12 : RUN $MAKE 05:32:30 ---> Running in 32df6786241f 05:32:30 noop 05:32:30 Removing intermediate container 32df6786241f 05:32:30 ---> a6910882c9de 05:32:30 Successfully built a6910882c9de 05:32:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:30 + docker inspect -f . ci-base-image-arm64 05:32:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:30 prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container 05:32:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/93 -v /w/workspace/device-rest-go/93:/w/workspace/device-rest-go/93:rw,z -v /w/workspace/device-rest-go/93@tmp:/w/workspace/device-rest-go/93@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 05:32:32 $ docker top 06003d2b882184ee175f4cb81c68fc4d1f965a0a47210cdac5ab052b135afe9f -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:32 + go version 05:32:32 go version go1.20.2 linux/arm64 [Pipeline] } 05:32:32 $ docker stop --time=1 06003d2b882184ee175f4cb81c68fc4d1f965a0a47210cdac5ab052b135afe9f 05:32:34 $ docker rm -f --volumes 06003d2b882184ee175f4cb81c68fc4d1f965a0a47210cdac5ab052b135afe9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:35 + docker inspect -f . ci-base-image-arm64 05:32:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:35 prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container 05:32:35 $ 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/93 -v /w/workspace/device-rest-go/93:/w/workspace/device-rest-go/93:rw,z -v /w/workspace/device-rest-go/93@tmp:/w/workspace/device-rest-go/93@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 05:32:36 $ docker top 635dd5ec39d0f49bbeadaaf54a67879a35661986717ecebddbb4d35a3717c98d -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:37 + git config --global --add safe.directory /w/workspace/device-rest-go/93 [Pipeline] fileExists [Pipeline] sh 05:32:38 + make test 05:32:38 go test ./... -coverprofile=coverage.out ./... 05:33:17 ? github.com/edgexfoundry/device-rest-go [no test files] 05:35:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:35:26 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.0% of statements 05:35:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:35:26 go vet ./... 05:36:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:36:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:36:05 ./bin/test-attribution-txt.sh [Pipeline] echo 05:36:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:36:05 $ docker stop --time=1 635dd5ec39d0f49bbeadaaf54a67879a35661986717ecebddbb4d35a3717c98d 05:36:07 $ docker rm -f --volumes 635dd5ec39d0f49bbeadaaf54a67879a35661986717ecebddbb4d35a3717c98d [Pipeline] // withDockerContainer [Pipeline] sh 05:36:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:36:09 Warning: overwriting stash ‘coverage-report’ 05:36:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:36:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:36:10 + ls -al . 05:36:10 total 180 05:36:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:32 . 05:36:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:30 .. 05:36:10 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:30 .dockerignore 05:36:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:30 .git 05:36:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:30 .github 05:36:10 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:30 .gitignore 05:36:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:30 .golangci.yml 05:36:10 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:30 Attribution.txt 05:36:10 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:30 CHANGELOG.md 05:36:10 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:30 Dockerfile 05:36:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:30 GOVERNANCE.md 05:36:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:30 Jenkinsfile 05:36:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:30 LICENSE 05:36:10 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:30 Makefile 05:36:10 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:30 OWNERS.md 05:36:10 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:30 README.md 05:36:10 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 05:27 VERSION 05:36:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:30 bin 05:36:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:30 cmd 05:36:10 -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:35 coverage.out 05:36:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:30 driver 05:36:10 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 05:30 go.mod 05:36:10 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 05:30 go.sum 05:36:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:30 snap 05:36:10 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:10 + 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=e28169b2e94fb685934981c338b1a6a24f9d6fce --label arch=arm64 --label version=3.0.0-dev.21 . 05:36:10 Sending build context to Docker daemon 153.6kB 05:36:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:36:11 Step 2/25 : FROM ${BASE} AS builder 05:36:11 ---> a6910882c9de 05:36:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:36:11 ---> Running in 6f5bfeb46b25 05:36:11 Removing intermediate container 6f5bfeb46b25 05:36:11 ---> 2e78f8f5821c 05:36:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:11 ---> Running in 80d79d23aac7 05:36:11 Removing intermediate container 80d79d23aac7 05:36:11 ---> 81915f92cbd4 05:36:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:36:12 ---> Running in 1acfa1ac6c9e 05:36:12 Removing intermediate container 1acfa1ac6c9e 05:36:12 ---> 1a4ef65c9953 05:36:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:36:12 ---> Running in 2e4e4b8b60fc 05:36:13 Removing intermediate container 2e4e4b8b60fc 05:36:13 ---> 7a818ec2f350 05:36:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:36:13 ---> Running in 53baa2ad16ef 05:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:36:16 OK: 268 MiB in 57 packages 05:36:16 Removing intermediate container 53baa2ad16ef 05:36:16 ---> 810f87815646 05:36:16 Step 8/25 : WORKDIR /device-rest-go 05:36:16 ---> Running in a7321e4ffb3c 05:36:17 Removing intermediate container a7321e4ffb3c 05:36:17 ---> 56beb354b504 05:36:17 Step 9/25 : COPY go.mod vendor* ./ 05:36:17 ---> 22565eb1abea 05:36:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:18 ---> Running in 02e5aab47fd6 05:36:20 Removing intermediate container 02e5aab47fd6 05:36:20 ---> 47de6b5cca44 05:36:20 Step 11/25 : COPY . . 05:36:21 ---> 75f3908601ca 05:36:21 Step 12/25 : RUN $MAKE 05:36:21 ---> Running in 850b438a2e0d 05:36:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:38:44 Removing intermediate container 850b438a2e0d 05:38:44 ---> cb669a60df80 05:38:44 Step 13/25 : FROM alpine:3.17 05:38:44 3.17: Pulling from library/alpine 05:38:44 af6eaf76a39c: Already exists 05:38:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:38:44 Status: Downloaded newer image for alpine:3.17 05:38:44 ---> d74e625d9115 05:38:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:38:44 ---> Running in f38c1a532bb1 05:38:44 Removing intermediate container f38c1a532bb1 05:38:44 ---> 24265d00813e 05:38:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 05:38:44 ---> Running in d910ff2f3445 05:38:44 Removing intermediate container d910ff2f3445 05:38:44 ---> 07232c62b7bd 05:38:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 05:38:44 ---> Running in 457eb985de29 05:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:38:44 (1/1) Installing dumb-init (1.2.5-r2) 05:38:44 Executing busybox-1.35.0-r29.trigger 05:38:44 OK: 8 MiB in 16 packages 05:38:44 Removing intermediate container 457eb985de29 05:38:44 ---> fa836bfa78a5 05:38:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 05:38:46 ---> 9ccaed696b2c 05:38:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 05:38:46 ---> ebc9ae4529dc 05:38:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 05:38:47 ---> 13ec75d72ae4 05:38:47 Step 20/25 : EXPOSE 59986 05:38:47 ---> Running in d9aa51e66bf6 05:38:47 Removing intermediate container d9aa51e66bf6 05:38:47 ---> c5cee54ee7df 05:38:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 05:38:47 ---> Running in 765e99a3d7ef 05:38:48 Removing intermediate container 765e99a3d7ef 05:38:48 ---> 4c1591b07a36 05:38:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:38:48 ---> Running in e2efde84e9fd 05:38:48 Removing intermediate container e2efde84e9fd 05:38:48 ---> a27695bdd3fe 05:38:48 Step 23/25 : LABEL arch=arm64 05:38:48 ---> Running in 9c31cba75e49 05:38:48 Removing intermediate container 9c31cba75e49 05:38:48 ---> 33a16c9059c1 05:38:48 Step 24/25 : LABEL git_sha=e28169b2e94fb685934981c338b1a6a24f9d6fce 05:38:48 ---> Running in 1c5667e4a333 05:38:49 Removing intermediate container 1c5667e4a333 05:38:49 ---> 4a578c6d5ac3 05:38:49 Step 25/25 : LABEL version=3.0.0-dev.21 05:38:49 ---> Running in 876062bdf92e 05:38:49 Removing intermediate container 876062bdf92e 05:38:49 ---> f43f9620e502 05:38:49 [Warning] One or more build-args [ARCH] were not consumed 05:38:49 Successfully built f43f9620e502 05:38:49 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 05:38:49 provisioning config files... 05:38:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/93@tmp/config3032419447525652184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:49 ---> docker-login.sh 05:38:49 nexus3.edgexfoundry.org:10001 05:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:50 Configure a credential helper to remove this warning. See 05:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:50 05:38:50 Login Succeeded 05:38:50 nexus3.edgexfoundry.org:10002 05:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:50 Configure a credential helper to remove this warning. See 05:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:50 05:38:50 Login Succeeded 05:38:50 nexus3.edgexfoundry.org:10003 05:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:50 Configure a credential helper to remove this warning. See 05:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:50 05:38:50 Login Succeeded 05:38:50 nexus3.edgexfoundry.org:10004 05:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:51 Configure a credential helper to remove this warning. See 05:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:51 05:38:51 Login Succeeded 05:38:51 docker.io 05:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:51 Configure a credential helper to remove this warning. See 05:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:51 05:38:51 Login Succeeded 05:38:51 ---> docker-login.sh ends [Pipeline] } 05:38:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:38:51 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 05:38:51 e28169b2e94fb685934981c338b1a6a24f9d6fce 05:38:51 latest 05:38:51 3.0.0-dev.21 05:38:51 e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 05:38:51 main 05:38:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce 05:38:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:38:52 f8f5664c5755: Preparing 05:38:52 eeffaf664def: Preparing 05:38:52 eb30cfa073b6: Preparing 05:38:52 2930a6e0c2ca: Preparing 05:38:52 edf70074bd40: Preparing 05:38:52 edf70074bd40: Layer already exists 05:38:52 f8f5664c5755: Pushed 05:38:52 2930a6e0c2ca: Pushed 05:38:52 eeffaf664def: Pushed 05:38:57 eb30cfa073b6: Pushed 05:38:57 e28169b2e94fb685934981c338b1a6a24f9d6fce: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:38:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:38:58 f8f5664c5755: Preparing 05:38:58 eeffaf664def: Preparing 05:38:58 eb30cfa073b6: Preparing 05:38:58 2930a6e0c2ca: Preparing 05:38:58 edf70074bd40: Preparing 05:38:58 eeffaf664def: Layer already exists 05:38:58 edf70074bd40: Layer already exists 05:38:58 eb30cfa073b6: Layer already exists 05:38:58 f8f5664c5755: Layer already exists 05:38:58 2930a6e0c2ca: Layer already exists 05:38:58 latest: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.21 05:38:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:38:58 f8f5664c5755: Preparing 05:38:58 eeffaf664def: Preparing 05:38:58 eb30cfa073b6: Preparing 05:38:58 2930a6e0c2ca: Preparing 05:38:58 edf70074bd40: Preparing 05:38:58 eeffaf664def: Layer already exists 05:38:58 eb30cfa073b6: Layer already exists 05:38:58 edf70074bd40: Layer already exists 05:38:58 f8f5664c5755: Layer already exists 05:38:58 2930a6e0c2ca: Layer already exists 05:38:58 3.0.0-dev.21: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 05:38:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:38:59 f8f5664c5755: Preparing 05:38:59 eeffaf664def: Preparing 05:38:59 eb30cfa073b6: Preparing 05:38:59 2930a6e0c2ca: Preparing 05:38:59 edf70074bd40: Preparing 05:38:59 eb30cfa073b6: Layer already exists 05:38:59 f8f5664c5755: Layer already exists 05:38:59 2930a6e0c2ca: Layer already exists 05:38:59 eeffaf664def: Layer already exists 05:38:59 edf70074bd40: Layer already exists 05:38:59 e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 05:39:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:39:00 f8f5664c5755: Preparing 05:39:00 eeffaf664def: Preparing 05:39:00 eb30cfa073b6: Preparing 05:39:00 2930a6e0c2ca: Preparing 05:39:00 edf70074bd40: Preparing 05:39:00 edf70074bd40: Layer already exists 05:39:00 eb30cfa073b6: Layer already exists 05:39:00 eeffaf664def: Layer already exists 05:39:00 2930a6e0c2ca: Layer already exists 05:39:00 f8f5664c5755: Layer already exists 05:39:00 main: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:39:00 ===================================================== [Pipeline] echo 05:39:00 taggedImages: 05:39:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce 05:39:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:39:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.21 05:39:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 05:39:00 - 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 05:39:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:00 05:39:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:00 arm64: Pulling from edgex-lftools-log-publisher 05:39:00 8998bd30e6a1: Pulling fs layer 05:39:00 04944245beec: Pulling fs layer 05:39:00 699f458cf7ca: Pulling fs layer 05:39:00 765212b225bb: Pulling fs layer 05:39:00 f23df028b6ca: Pulling fs layer 05:39:00 d65c8cfc05b1: Pulling fs layer 05:39:00 2437ff75d9bd: Pulling fs layer 05:39:00 765212b225bb: Waiting 05:39:00 f23df028b6ca: Waiting 05:39:00 d65c8cfc05b1: Waiting 05:39:00 2437ff75d9bd: Waiting 05:39:01 04944245beec: Verifying Checksum 05:39:01 04944245beec: Download complete 05:39:01 765212b225bb: Verifying Checksum 05:39:01 765212b225bb: Download complete 05:39:01 f23df028b6ca: Download complete 05:39:01 d65c8cfc05b1: Verifying Checksum 05:39:01 d65c8cfc05b1: Download complete 05:39:01 699f458cf7ca: Verifying Checksum 05:39:01 699f458cf7ca: Download complete 05:39:01 8998bd30e6a1: Verifying Checksum 05:39:01 8998bd30e6a1: Download complete 05:39:03 2437ff75d9bd: Verifying Checksum 05:39:03 2437ff75d9bd: Download complete 05:39:05 8998bd30e6a1: Pull complete 05:39:05 04944245beec: Pull complete 05:39:06 699f458cf7ca: Pull complete 05:39:06 765212b225bb: Pull complete 05:39:07 f23df028b6ca: Pull complete 05:39:07 d65c8cfc05b1: Pull complete 05:39:20 2437ff75d9bd: Pull complete 05:39:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:39:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:20 prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container 05:39:20 $ 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/93 -v /w/workspace/device-rest-go/93:/w/workspace/device-rest-go/93:rw,z -v /w/workspace/device-rest-go/93@tmp:/w/workspace/device-rest-go/93@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 05:39:23 $ docker top d54f392245655bcf50acf7ae170e9fe7f7ab365dfeb401b5f572c794dc200402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:24 ---> job-cost.sh 05:39:24 lf-activate-venv: SKIPPING 05:39:24 INFO: No Stack... 05:39:25 INFO: Retrieving Pricing Info for: v3-standard-4 05:39:26 INFO: Archiving Costs [Pipeline] sh 05:39:26 + cat /w/workspace/device-rest-go/93/archives/cost.csv 05:39:26 + cut -d, -f6 [Pipeline] lock 05:39:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] 05:39:26 Resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] did not exist. Created. 05:39:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:39:27 /w/workspace/device-rest-go/93@tmp/durable-4f9fe3f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:39:28 + echo total: 0.10999999940395355 [Pipeline] stash 05:39:28 Warning: overwriting stash ‘stack-cost’ 05:39:28 Stashed 1 file(s) [Pipeline] } 05:39:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 05:39:28 $ docker stop --time=1 d54f392245655bcf50acf7ae170e9fe7f7ab365dfeb401b5f572c794dc200402 05:39:32 $ docker rm -f --volumes d54f392245655bcf50acf7ae170e9fe7f7ab365dfeb401b5f572c794dc200402 [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 05:39:33 provisioning config files... 05:39:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16899866658626074207tmp [Pipeline] { [Pipeline] sh 05:39:33 + set +x 05:39:33 + curl -s https://codecov.io/bash 05:39:33 + bash -s -- 05:39:33 05:39:33 _____ _ 05:39:33 / ____| | | 05:39:33 | | ___ __| | ___ ___ _____ __ 05:39:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:39:33 | |___| (_) | (_| | __/ (_| (_) \ V / 05:39:33 \_____\___/ \__,_|\___|\___\___/ \_/ 05:39:33 Bash-1.0.6 05:39:33 05:39:33 05:39:33 ==> git version 2.25.1 found 05:39:33 ==> 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 05:39:33 Release-Date: 2020-01-08 05:39:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:39:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:39:33 ==> Jenkins CI detected. 05:39:33 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 05:39:33 project root: . 05:39:33 --> token set from env 05:39:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:39:33 ==> Running gcov in . (disable via -X gcov) 05:39:33 ==> Python coveragepy not found 05:39:33 ==> Searching for coverage reports in: 05:39:33 + . 05:39:33 -> Found 1 reports 05:39:33 ==> Detecting git/mercurial file structure 05:39:33 ==> Reading reports 05:39:33 + ./coverage.out bytes=14200 05:39:33 ==> Appending adjustments 05:39:33 https://docs.codecov.io/docs/fixing-reports 05:39:33 + Found adjustments 05:39:33 ==> Gzipping contents 05:39:33 4.0K /tmp/codecov.0mSdSc.gz 05:39:33 ==> Uploading reports 05:39:33 url: https://codecov.io 05:39:33 query: branch=main&commit=e28169b2e94fb685934981c338b1a6a24f9d6fce&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:39:33 -> Pinging Codecov 05:39:33 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=e28169b2e94fb685934981c338b1a6a24f9d6fce&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:39:33 -> Uploading to 05:39:33 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/e28169b2e94fb685934981c338b1a6a24f9d6fce/fcd32bcf-7444-45d8-b00a-9c76876e19bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T053933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6fb556ff0f359133feac217c124e532193b1524bdc748d05c997d5ef133da8c 05:39:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:39:33 Dload Upload Total Spent Left Speed 05:39:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 8719 --:--:-- --:--:-- --:--:-- 8719 05:39:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] } 05:39:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:39:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:39:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:39:34 05:39:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:39:34 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:39:34 df9b9388f04a: Pulling fs layer 05:39:34 52dc419b0ee2: Pulling fs layer 05:39:34 25bc292e5bac: Pulling fs layer 05:39:34 114826534d7a: Pulling fs layer 05:39:34 4657fd5d0bcf: Pulling fs layer 05:39:34 6ad1cebc031e: Pulling fs layer 05:39:34 8a3aa393b2d8: Pulling fs layer 05:39:34 4657fd5d0bcf: Waiting 05:39:34 6ad1cebc031e: Waiting 05:39:34 8a3aa393b2d8: Waiting 05:39:34 25bc292e5bac: Verifying Checksum 05:39:34 25bc292e5bac: Download complete 05:39:34 52dc419b0ee2: Verifying Checksum 05:39:34 52dc419b0ee2: Download complete 05:39:34 4657fd5d0bcf: Download complete 05:39:34 df9b9388f04a: Verifying Checksum 05:39:34 df9b9388f04a: Download complete 05:39:35 df9b9388f04a: Pull complete 05:39:35 52dc419b0ee2: Pull complete 05:39:35 6ad1cebc031e: Verifying Checksum 05:39:35 6ad1cebc031e: Download complete 05:39:35 25bc292e5bac: Pull complete 05:39:35 114826534d7a: Verifying Checksum 05:39:35 114826534d7a: Download complete 05:39:35 8a3aa393b2d8: Verifying Checksum 05:39:35 8a3aa393b2d8: Download complete 05:39:38 114826534d7a: Pull complete 05:39:38 4657fd5d0bcf: Pull complete 05:39:39 6ad1cebc031e: Pull complete 05:39:41 8a3aa393b2d8: Pull complete 05:39:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:39:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:41 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:39:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:39:48 $ docker top 314877ece32443ceff3e61f2058ea18079368575ea432209da7d904bb7bd73fa -eo pid,comm [Pipeline] { [Pipeline] echo 05:39:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 05:39:49 + set -o pipefail 05:39:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 05:39:53 05:39:53 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 05:39:53 05:39:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/6153fc29-2e11-40a4-b66d-f73676c59834 05:39:53 05:39:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:39:53 05:39:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:39:53 05:39:53 05:39:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:39:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:39:53 More details here: https://snyk.co/ue1NS [Pipeline] } 05:39:53 $ docker stop --time=1 314877ece32443ceff3e61f2058ea18079368575ea432209da7d904bb7bd73fa 05:39:59 $ docker rm -f --volumes 314877ece32443ceff3e61f2058ea18079368575ea432209da7d904bb7bd73fa [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 05:39:59 + git log --format=format:%s -1 e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] sh 05:40:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:40:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:00 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:40:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:40:00 $ docker top 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 -eo pid,comm 05:40:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:40:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:01 [ssh-agent] Looking for ssh-agent implementation... 05:40:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:01 $ docker exec 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 ssh-agent 05:40:01 SSH_AUTH_SOCK=/tmp/ssh-RDSl5iGaIyMc/agent.32 05:40:01 SSH_AGENT_PID=38 05:40:01 Running ssh-add (command line suppressed) 05:40:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17566457427805461622.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17566457427805461622.key) 05:40:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:01 + git semver tag 05:40:01 2023-03-21 05:40:01,802 [run_tag] DEBUG tag force:False 05:40:01 2023-03-21 05:40:01,802 [check_head_tag] DEBUG check head tag 05:40:01 2023-03-21 05:40:01,803 [execute] INFO git cat-file --batch-check 05:40:01 2023-03-21 05:40:01,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 05:40:01 2023-03-21 05:40:01,807 [execute] INFO git cat-file --batch 05:40:01 2023-03-21 05:40:01,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 05:40:01 2023-03-21 05:40:01,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:01 2023-03-21 05:40:01,823 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 05:40:01 2023-03-21 05:40:01,824 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 05:40:01 2023-03-21 05:40:01,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:01 3.0.0-dev.21 [Pipeline] } 05:40:01 $ docker exec --env ******** --env ******** 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 ssh-agent -k 05:40:02 unset SSH_AUTH_SOCK; 05:40:02 unset SSH_AGENT_PID; 05:40:02 echo Agent pid 38 killed; 05:40:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:02 + git semver [Pipeline] } 05:40:02 $ docker stop --time=1 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 05:40:03 $ docker rm -f --volumes 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:40:04 05:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:40:04 0.23.1-centos7: Pulling from edgex-lftools 05:40:04 ab5ef0e58194: Pulling fs layer 05:40:04 9712f1f96733: Pulling fs layer 05:40:04 63f879dbbcfc: Pulling fs layer 05:40:04 0d9ebad4ef96: Pulling fs layer 05:40:04 e9a5061849ea: Pulling fs layer 05:40:04 d747dcd14b5f: Pulling fs layer 05:40:04 2de7ff778b66: Pulling fs layer 05:40:04 0d9ebad4ef96: Waiting 05:40:04 e9a5061849ea: Waiting 05:40:04 d747dcd14b5f: Waiting 05:40:04 2de7ff778b66: Waiting 05:40:04 9712f1f96733: Verifying Checksum 05:40:04 9712f1f96733: Download complete 05:40:05 63f879dbbcfc: Verifying Checksum 05:40:05 63f879dbbcfc: Download complete 05:40:05 ab5ef0e58194: Verifying Checksum 05:40:05 ab5ef0e58194: Download complete 05:40:05 d747dcd14b5f: Verifying Checksum 05:40:05 d747dcd14b5f: Download complete 05:40:05 e9a5061849ea: Verifying Checksum 05:40:05 e9a5061849ea: Download complete 05:40:07 0d9ebad4ef96: Verifying Checksum 05:40:07 0d9ebad4ef96: Download complete 05:40:07 2de7ff778b66: Verifying Checksum 05:40:07 2de7ff778b66: Download complete 05:40:07 ab5ef0e58194: Pull complete 05:40:08 9712f1f96733: Pull complete 05:40:08 63f879dbbcfc: Pull complete 05:40:12 0d9ebad4ef96: Pull complete 05:40:12 e9a5061849ea: Pull complete 05:40:12 d747dcd14b5f: Pull complete 05:40:13 2de7ff778b66: Pull complete 05:40:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:40:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:13 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:40:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:40:21 $ docker top 97e6c68a887ad127d55b586d41d2c7ee706eccaf94a3efa00390eca4cc4e208c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:40:21 provisioning config files... 05:40:21 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9969301239149646221tmp 05:40:21 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14960378136973445798tmp 05:40:21 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10890936860782503985tmp [Pipeline] { [Pipeline] echo 05:40:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:40:22 ---> sigul-configuration.sh 05:40:22 gpg: directory `/root/.gnupg' created 05:40:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:40:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:40:22 gpg: keyring `/root/.gnupg/secring.gpg' created 05:40:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:40:22 gpg: CAST5 encrypted data 05:40:22 gpg: encrypted with 1 passphrase 05:40:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:40:22 + mkdir /home/jenkins 05:40:22 + mkdir /home/jenkins/sigul [Pipeline] sh 05:40:22 + 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 05:40:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:40:23 ---> sigul-install.sh 05:40:23 Sigul already installed; skipping installation. [Pipeline] sh 05:40:23 + git tag --list 05:40:23 v1.0.0 05:40:23 v1.1.0 05:40:23 v1.1.1 05:40:23 v1.1.2 05:40:23 v1.2.0 05:40:23 v1.2.1 05:40:23 v2.0.0 05:40:23 v2.1.0 05:40:23 v2.1.1 05:40:23 v2.1.1-dev.1 05:40:23 v2.1.1-dev.2 05:40:23 v2.1.1-dev.3 05:40:23 v2.2.0 05:40:23 v2.2.1-dev.1 05:40:23 v2.2.1-dev.2 05:40:23 v2.2.1-dev.3 05:40:23 v2.2.1-dev.4 05:40:23 v2.2.1-dev.5 05:40:23 v2.2.1-dev.6 05:40:23 v2.2.1-dev.7 05:40:23 v2.2.1-dev.8 05:40:23 v2.2.1-dev.9 05:40:23 v2.3.0 05:40:23 v2.3.0-dev.10 05:40:23 v2.3.0-dev.11 05:40:23 v2.3.0-dev.12 05:40:23 v2.3.0-dev.13 05:40:23 v2.3.0-dev.14 05:40:23 v2.3.0-dev.15 05:40:23 v2.3.0-dev.16 05:40:23 v2.3.0-dev.17 05:40:23 v2.3.0-dev.18 05:40:23 v2.3.0-dev.19 05:40:23 v2.3.0-dev.20 05:40:23 v2.3.0-dev.21 05:40:23 v2.3.0-dev.22 05:40:23 v2.3.0-dev.23 05:40:23 v2.3.0-dev.24 05:40:23 v2.3.0-dev.25 05:40:23 v2.3.0-dev.9 05:40:23 v3.0.0-dev.1 05:40:23 v3.0.0-dev.10 05:40:23 v3.0.0-dev.11 05:40:23 v3.0.0-dev.12 05:40:23 v3.0.0-dev.13 05:40:23 v3.0.0-dev.14 05:40:23 v3.0.0-dev.15 05:40:23 v3.0.0-dev.16 05:40:23 v3.0.0-dev.17 05:40:23 v3.0.0-dev.18 05:40:23 v3.0.0-dev.19 05:40:23 v3.0.0-dev.2 05:40:23 v3.0.0-dev.20 05:40:23 v3.0.0-dev.21 05:40:23 v3.0.0-dev.3 05:40:23 v3.0.0-dev.4 05:40:23 v3.0.0-dev.5 05:40:23 v3.0.0-dev.6 05:40:23 v3.0.0-dev.7 05:40:23 v3.0.0-dev.8 05:40:23 v3.0.0-dev.9 [Pipeline] sh 05:40:23 + lftools sign git-tag v3.0.0-dev.21 05:40:24 Signing Git tag with Sigul... 05:40:24 Signing v3.0.0-dev.21 [Pipeline] echo 05:40:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:40:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:40:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:40:24 $ docker stop --time=1 97e6c68a887ad127d55b586d41d2c7ee706eccaf94a3efa00390eca4cc4e208c 05:40:26 $ docker rm -f --volumes 97e6c68a887ad127d55b586d41d2c7ee706eccaf94a3efa00390eca4cc4e208c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:40:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:40:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:26 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:40:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:40:27 $ docker top 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 -eo pid,comm 05:40:27 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). 05:40:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:27 [ssh-agent] Looking for ssh-agent implementation... 05:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:27 $ docker exec 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 ssh-agent 05:40:27 SSH_AUTH_SOCK=/tmp/ssh-jqsJ4ht3F0qQ/agent.33 05:40:27 SSH_AGENT_PID=39 05:40:27 Running ssh-add (command line suppressed) 05:40:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5651325099771624795.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5651325099771624795.key) 05:40:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:27 + git semver bump pre 05:40:28 2023-03-21 05:40:28,112 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:28 2023-03-21 05:40:28,112 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev 05:40:28 2023-03-21 05:40:28,112 [bump_version] DEBUG bumped version:3.0.0-dev.22 05:40:28 2023-03-21 05:40:28,112 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 05:40:28 2023-03-21 05:40:28,112 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:28 2023-03-21 05:40:28,112 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:28 2023-03-21 05:40:28,115 [execute] INFO git cat-file --batch-check 05:40:28 2023-03-21 05:40:28,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:40:28 2023-03-21 05:40:28,120 [execute] INFO git cat-file --batch 05:40:28 2023-03-21 05:40:28,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:40:28 2023-03-21 05:40:28,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:28 3.0.0-dev.22 [Pipeline] } 05:40:28 $ docker exec --env ******** --env ******** 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 ssh-agent -k 05:40:28 unset SSH_AUTH_SOCK; 05:40:28 unset SSH_AGENT_PID; 05:40:28 echo Agent pid 39 killed; 05:40:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:28 + git semver [Pipeline] } 05:40:28 $ docker stop --time=1 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 05:40:30 $ docker rm -f --volumes 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 [Pipeline] // withDockerContainer [Pipeline] sh 05:40:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:40:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:30 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:40:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:40:31 $ docker top 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 -eo pid,comm 05:40:31 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). 05:40:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:31 [ssh-agent] Looking for ssh-agent implementation... 05:40:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:31 $ docker exec 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 ssh-agent 05:40:31 SSH_AUTH_SOCK=/tmp/ssh-aQ1bw0pysSsQ/agent.31 05:40:31 SSH_AGENT_PID=37 05:40:31 Running ssh-add (command line suppressed) 05:40:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7807817387600440904.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7807817387600440904.key) 05:40:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:32 + git semver push 05:40:32 2023-03-21 05:40:32,220 [run_push] DEBUG push 05:40:32 2023-03-21 05:40:32,221 [execute] INFO git cat-file --batch-check 05:40:32 2023-03-21 05:40:32,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:40:32 2023-03-21 05:40:32,225 [execute] INFO git rev-list 67b5918f22a9e40ee1831f74bea0332826937e8d -- 05:40:32 2023-03-21 05:40:32,225 [execute] DEBUG Popen(['git', 'rev-list', '67b5918f22a9e40ee1831f74bea0332826937e8d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:40:32 2023-03-21 05:40:32,231 [execute] INFO git fetch -v origin 05:40:32 2023-03-21 05:40:32,232 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:40:32 2023-03-21 05:40:32,700 [run_push] DEBUG no remote changes detected 05:40:32 2023-03-21 05:40:32,701 [execute] INFO git push origin semver 05:40:32 2023-03-21 05:40:32,701 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:40:33 2023-03-21 05:40:33,449 [run_push] DEBUG push all version tags 05:40:33 2023-03-21 05:40:33,450 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:40:33 2023-03-21 05:40:33,451 [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) 05:40:34 2023-03-21 05:40:34,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:40:34 3.0.0-dev.22 [Pipeline] } 05:40:34 $ docker exec --env ******** --env ******** 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 ssh-agent -k 05:40:34 unset SSH_AUTH_SOCK; 05:40:34 unset SSH_AGENT_PID; 05:40:34 echo Agent pid 37 killed; 05:40:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:34 + git semver [Pipeline] } 05:40:35 $ docker stop --time=1 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 05:40:36 $ docker rm -f --volumes 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 [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 05:40:37 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 05:40:37 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:40:37 total 16 05:40:37 drwxr-xr-x 3 root root 4096 Mar 21 05:29 . 05:40:37 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:40 .. 05:40:37 drwxr-xr-x 2 root root 4096 Mar 21 05:29 cost 05:40:37 -rw-r--r-- 1 root root 85 Mar 21 05:29 cost.csv 05:40:37 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 05:40:37 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:40:37 total 16 05:40:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:29 . 05:40:37 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:40 .. 05:40:37 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:29 cost 05:40:37 -rw-r--r-- 1 jenkins jenkins 85 Mar 21 05:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:40:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:40:38 ---> package-listing.sh 05:40:38 ++ facter osfamily 05:40:38 ++ tr '[:upper:]' '[:lower:]' 05:40:38 + OS_FAMILY=debian 05:40:38 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:40:38 + START_PACKAGES=/tmp/packages_start.txt 05:40:38 + END_PACKAGES=/tmp/packages_end.txt 05:40:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:40:38 + PACKAGES=/tmp/packages_start.txt 05:40:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:40:38 + PACKAGES=/tmp/packages_end.txt 05:40:38 + case "${OS_FAMILY}" in 05:40:38 + dpkg -l 05:40:38 + grep '^ii' 05:40:38 + '[' -f /tmp/packages_start.txt ']' 05:40:38 + '[' -f /tmp/packages_end.txt ']' 05:40:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:40:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:40:38 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:40:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 05:40:38 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 05:40:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:40:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:39 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 05:40:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:40:40 $ docker top 9abc8b0b5f2580118998eef7ea27f3a87a8aebeaf31524b1908999e2f242596f -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:40 + touch /tmp/pre-build-complete [Pipeline] sh 05:40:40 + mkdir -p /var/log/sysstat [Pipeline] sh 05:40:40 + ls /var/log/sa-host 05:40:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:40 provisioning config files... 05:40:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6785279462381961671tmp [Pipeline] { [Pipeline] echo 05:40:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:40:41 ---> create-netrc.sh [Pipeline] } 05:40:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:40:41 ---> python-tools-install.sh [Pipeline] echo 05:40:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:40:41 ---> sudo-logs.sh 05:40:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:40:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:40:42 ---> job-cost.sh 05:40:42 lf-activate-venv: SKIPPING 05:40:42 DEBUG: total: 0.2199999988079071 05:40:42 INFO: Retrieving Stack Cost... 05:40:42 INFO: Retrieving Pricing Info for: v3-standard-8 05:40:43 INFO: Archiving Costs [Pipeline] echo 05:40:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:40:43 ---> logs-deploy.sh 05:40:43 lf-activate-venv: SKIPPING 05:40:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/93 05:40:43 INFO: archiving workspace using pattern(s): 05:40:44 Archives upload complete. 05:40:44 INFO: archiving logs to Nexus 05:40:44 ---> uname -a: 05:40:44 Linux prd-ubuntu20-04-docker-8c-8g-4736 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:40:44 05:40:44