Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae54ce6f1033167052867af1427946ef32cb9188 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-ssh6942508577959265159.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-ssh6390685601674420823.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-ssh14844002540661449023.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-ssh9033558887519839057.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-ssh8083284591099295968.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 ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-850’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-852 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 ae54ce6f1033167052867af1427946ef32cb9188 (main) Commit message: "ci: Change dependabot gomod schedule to daily (#267)" > 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 ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 > git rev-list --no-walk eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:10:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:10:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:10:43 ========================================================= 16:10:43 EdgeX Global Pipelines Version Info 16:10:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:10:43 ------------------- 16:10:43 stable info: 16:10:43 ------------------- 16:10:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:10:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:10:43 Message: update stable to v1.0.245 16:10:44 ------------------- 16:10:44 experimental info: 16:10:44 ------------------- 16:10:44 Commited By: **** collab-it+edgex@linuxfoundation.org 16:10:44 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:10:44 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae54ce6 [Pipeline] echo 16:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:44 provisioning config files... 16:10:44 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12340883564498881534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:45 ---> docker-login.sh 16:10:45 nexus3.edgexfoundry.org:10001 16:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:45 Configure a credential helper to remove this warning. See 16:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:45 16:10:45 Login Succeeded 16:10:45 nexus3.edgexfoundry.org:10002 16:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:45 Configure a credential helper to remove this warning. See 16:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:45 16:10:45 Login Succeeded 16:10:45 nexus3.edgexfoundry.org:10003 16:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:45 Configure a credential helper to remove this warning. See 16:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:45 16:10:45 Login Succeeded 16:10:45 nexus3.edgexfoundry.org:10004 16:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:46 Configure a credential helper to remove this warning. See 16:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:46 16:10:46 Login Succeeded 16:10:46 docker.io 16:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:46 Configure a credential helper to remove this warning. See 16:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:46 16:10:46 Login Succeeded 16:10:46 ---> docker-login.sh ends [Pipeline] } 16:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:10:46 + git rev-list -1 --merges ae54ce6f1033167052867af1427946ef32cb9188~1..ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo 16:10:46 -----------> git rev-list -1 --merges ae54ce6f1033167052867af1427946ef32cb9188~1..ae54ce6f1033167052867af1427946ef32cb9188 ae54ce6f1033167052867af1427946ef32cb9188 [false] [Pipeline] sh 16:10:47 + git log --format=format:%s -1 ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo 16:10:47 ========================================================= 16:10:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:10:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:47 + git log --format=format:%s -1 ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo 16:10:47 [semverPrep] GIT_COMMIT: ae54ce6f1033167052867af1427946ef32cb9188, Commit Message: ci: Change dependabot gomod schedule to daily (#267) [Pipeline] echo 16:10:47 [semverPrep] This is not a build commit. [Pipeline] sh 16:10:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:47 + grep -v github /etc/ssh/ssh_known_hosts 16:10:47 + [ -e /tmp/ssh_known_hosts ] 16:10:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:10:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:10:47 + sudo tee -a /etc/ssh/ssh_known_hosts 16:10:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:48 16:10:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:48 0.1.4: Pulling from edgex-devops/py-git-semver 16:10:48 b85a868b505f: Pulling fs layer 16:10:48 e2be974225ed: Pulling fs layer 16:10:48 339a4e72a1f5: Pulling fs layer 16:10:48 988bab9f4d93: Pulling fs layer 16:10:48 1469e6f7b9e6: Pulling fs layer 16:10:48 eaf3925da568: Pulling fs layer 16:10:48 bab4dde63d76: Pulling fs layer 16:10:48 bde34c3a00c8: Pulling fs layer 16:10:48 b352a97aabf1: Pulling fs layer 16:10:48 4872d77fe225: Pulling fs layer 16:10:48 5851b861e8e6: Pulling fs layer 16:10:48 bab4dde63d76: Waiting 16:10:48 4872d77fe225: Waiting 16:10:48 5851b861e8e6: Waiting 16:10:48 b352a97aabf1: Waiting 16:10:48 1469e6f7b9e6: Waiting 16:10:48 eaf3925da568: Waiting 16:10:48 988bab9f4d93: Waiting 16:10:48 e2be974225ed: Download complete 16:10:48 988bab9f4d93: Download complete 16:10:48 1469e6f7b9e6: Verifying Checksum 16:10:48 1469e6f7b9e6: Download complete 16:10:48 339a4e72a1f5: Verifying Checksum 16:10:48 339a4e72a1f5: Download complete 16:10:48 eaf3925da568: Verifying Checksum 16:10:48 eaf3925da568: Download complete 16:10:48 bde34c3a00c8: Download complete 16:10:48 b352a97aabf1: Download complete 16:10:48 4872d77fe225: Verifying Checksum 16:10:48 4872d77fe225: Download complete 16:10:48 5851b861e8e6: Download complete 16:10:48 b85a868b505f: Verifying Checksum 16:10:48 bab4dde63d76: Verifying Checksum 16:10:48 bab4dde63d76: Download complete 16:10:49 b85a868b505f: Pull complete 16:10:50 e2be974225ed: Pull complete 16:10:50 339a4e72a1f5: Pull complete 16:10:50 988bab9f4d93: Pull complete 16:10:50 1469e6f7b9e6: Pull complete 16:10:50 eaf3925da568: Pull complete 16:10:52 bab4dde63d76: Pull complete 16:10:52 bde34c3a00c8: Pull complete 16:10:52 b352a97aabf1: Pull complete 16:10:52 4872d77fe225: Pull complete 16:10:52 5851b861e8e6: Pull complete 16:10:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:52 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:54 $ docker top 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa -eo pid,comm 16:10:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:10:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:54 [ssh-agent] Looking for ssh-agent implementation... 16:10:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:54 $ docker exec 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent 16:10:54 SSH_AUTH_SOCK=/tmp/ssh-ExL5EbhXy5Ps/agent.32 16:10:54 SSH_AGENT_PID=38 16:10:54 Running ssh-add (command line suppressed) 16:10:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7501703099944161457.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7501703099944161457.key) 16:10:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:55 + git tag --points-at HEAD [Pipeline] } 16:10:55 $ docker exec --env ******** --env ******** 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent -k 16:10:55 unset SSH_AUTH_SOCK; 16:10:55 unset SSH_AGENT_PID; 16:10:55 echo Agent pid 38 killed; 16:10:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:10:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:55 [ssh-agent] Looking for ssh-agent implementation... 16:10:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:55 $ docker exec 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent 16:10:55 SSH_AUTH_SOCK=/tmp/ssh-TIEoD6roLWGu/agent.70 16:10:55 SSH_AGENT_PID=77 16:10:55 Running ssh-add (command line suppressed) 16:10:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7812953577416621906.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7812953577416621906.key) 16:10:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:55 + git semver init 16:10:56 2023-03-15 16:10:56,003 [run_init] DEBUG init version:0.0.0 force:False 16:10:56 2023-03-15 16:10:56,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:10:56 2023-03-15 16:10:56,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:10:56 2023-03-15 16:10:56,005 [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) 16:10:57 2023-03-15 16:10:57,005 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:10:57 2023-03-15 16:10:57,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:10:57 2023-03-15 16:10:57,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:57 2023-03-15 16:10:57,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:57 3.0.0-dev.19 [Pipeline] } 16:10:57 $ docker exec --env ******** --env ******** 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent -k 16:10:57 unset SSH_AUTH_SOCK; 16:10:57 unset SSH_AGENT_PID; 16:10:57 echo Agent pid 77 killed; 16:10:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:57 + git semver [Pipeline] } 16:10:57 $ docker stop --time=1 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa 16:10:59 $ docker rm -f --volumes 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa [Pipeline] // withDockerContainer [Pipeline] sh 16:10:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:10:59 Stashed 1 file(s) [Pipeline] echo 16:10:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.19 [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 16:10:59 provisioning config files... 16:10:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11896604670893382728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:00 ---> docker-login.sh 16:11:00 nexus3.edgexfoundry.org:10001 16:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:00 Configure a credential helper to remove this warning. See 16:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:00 16:11:00 Login Succeeded 16:11:00 nexus3.edgexfoundry.org:10002 16:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:00 Configure a credential helper to remove this warning. See 16:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:00 16:11:00 Login Succeeded 16:11:00 nexus3.edgexfoundry.org:10003 16:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:00 Configure a credential helper to remove this warning. See 16:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:00 16:11:00 Login Succeeded 16:11:00 nexus3.edgexfoundry.org:10004 16:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:00 Configure a credential helper to remove this warning. See 16:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:00 16:11:00 Login Succeeded 16:11:00 docker.io 16:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:00 Configure a credential helper to remove this warning. See 16:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:00 16:11:00 Login Succeeded 16:11:00 ---> docker-login.sh ends [Pipeline] } 16:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:00 ========================================================= 16:11:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:11:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:00 + 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 . 16:11:00 Sending build context to Docker daemon 10.85MB 16:11:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:11:00 Step 2/12 : FROM ${BASE} AS builder 16:11:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:00 63b65145d645: Pulling fs layer 16:11:00 a2d21d5440eb: Pulling fs layer 16:11:00 935e6c44a52c: Pulling fs layer 16:11:00 94cc34f8dd06: Pulling fs layer 16:11:00 30dea6a524f1: Pulling fs layer 16:11:00 a2aff8979fd8: Pulling fs layer 16:11:00 6808be2612f2: Pulling fs layer 16:11:00 f25807f1079a: Pulling fs layer 16:11:00 94cc34f8dd06: Waiting 16:11:00 30dea6a524f1: Waiting 16:11:00 6808be2612f2: Waiting 16:11:00 f25807f1079a: Waiting 16:11:00 a2aff8979fd8: Waiting 16:11:00 a2d21d5440eb: Verifying Checksum 16:11:00 a2d21d5440eb: Download complete 16:11:01 94cc34f8dd06: Verifying Checksum 16:11:01 94cc34f8dd06: Download complete 16:11:01 30dea6a524f1: Verifying Checksum 16:11:01 30dea6a524f1: Download complete 16:11:01 63b65145d645: Verifying Checksum 16:11:01 63b65145d645: Download complete 16:11:01 a2aff8979fd8: Verifying Checksum 16:11:01 a2aff8979fd8: Download complete 16:11:01 63b65145d645: Pull complete 16:11:01 a2d21d5440eb: Pull complete 16:11:01 f25807f1079a: Verifying Checksum 16:11:01 f25807f1079a: Download complete 16:11:02 935e6c44a52c: Verifying Checksum 16:11:02 935e6c44a52c: Download complete 16:11:02 6808be2612f2: Verifying Checksum 16:11:02 6808be2612f2: Download complete 16:11:05 935e6c44a52c: Pull complete 16:11:05 94cc34f8dd06: Pull complete 16:11:05 30dea6a524f1: Pull complete 16:11:05 a2aff8979fd8: Pull complete 16:11:07 6808be2612f2: Pull complete 16:11:08 f25807f1079a: Pull complete 16:11:08 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:11:08 ---> 3b553350e43f 16:11:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:11:10 ---> Running in b2824765c217 16:11:10 Removing intermediate container b2824765c217 16:11:10 ---> ba3b63581e42 16:11:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:11:10 ---> Running in dae2632b3548 16:11:10 Removing intermediate container dae2632b3548 16:11:10 ---> 801b0e3b73d9 16:11:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:11:10 ---> Running in 775471a11e62 16:11:10 Removing intermediate container 775471a11e62 16:11:10 ---> c74d25ca56a6 16:11:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:11:10 ---> Running in f8084f57b9d4 16:11:10 Removing intermediate container f8084f57b9d4 16:11:10 ---> b8834926ada2 16:11:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:11:10 ---> Running in b6e75c7d24b2 16:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:11:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:11:11 (2/4) Installing libedit (20221030.3.1-r0) 16:11:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:11:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:11:11 Executing busybox-1.35.0-r29.trigger 16:11:11 OK: 269 MiB in 57 packages 16:11:11 Removing intermediate container b6e75c7d24b2 16:11:11 ---> 6a555b65cd98 16:11:11 Step 8/12 : WORKDIR /device-rest-go 16:11:11 ---> Running in 2c18b39bf218 16:11:11 Removing intermediate container 2c18b39bf218 16:11:11 ---> 61690f3d9dfe 16:11:11 Step 9/12 : COPY go.mod vendor* ./ 16:11:11 ---> c32e6edaae69 16:11:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:12 ---> Running in d31114ddde58 16:11:14 Still waiting to schedule task 16:11:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:11:38 Removing intermediate container d31114ddde58 16:11:38 ---> 4e9db2b5f9f2 16:11:38 Step 11/12 : COPY . . 16:11:38 ---> 241802fbbb28 16:11:38 Step 12/12 : RUN $MAKE 16:11:38 ---> Running in 910f67039f9f 16:11:38 noop 16:11:38 Removing intermediate container 910f67039f9f 16:11:38 ---> b4a5ead7e48e 16:11:38 Successfully built b4a5ead7e48e 16:11:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:39 + docker inspect -f . ci-base-image-x86_64 16:11:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:39 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:11:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:39 $ docker top d0d1b6068e1ab95a975cca423e0ab28dd27ca16fe1b1360d23a93e69db5e0379 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:39 + go version 16:11:39 go version go1.20.2 linux/amd64 [Pipeline] } 16:11:39 $ docker stop --time=1 d0d1b6068e1ab95a975cca423e0ab28dd27ca16fe1b1360d23a93e69db5e0379 16:11:41 $ docker rm -f --volumes d0d1b6068e1ab95a975cca423e0ab28dd27ca16fe1b1360d23a93e69db5e0379 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:41 + docker inspect -f . ci-base-image-x86_64 16:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:41 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:42 $ docker top 4d7121153617b31ddfbc35de58da602786692163439551761cb2ca2558488a6c -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 16:11:42 + make test 16:11:42 go test ./... -coverprofile=coverage.out ./... 16:11:48 ? github.com/edgexfoundry/device-rest-go [no test files] 16:11:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:11:58 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.1% of statements 16:12:02 go vet ./... 16:12:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:12:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:12:06 ./bin/test-attribution-txt.sh [Pipeline] echo 16:12:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:12:06 $ docker stop --time=1 4d7121153617b31ddfbc35de58da602786692163439551761cb2ca2558488a6c 16:12:08 $ docker rm -f --volumes 4d7121153617b31ddfbc35de58da602786692163439551761cb2ca2558488a6c [Pipeline] // withDockerContainer [Pipeline] sh 16:12:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:12:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:09 + ls -al . 16:12:09 total 184 16:12:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:11 . 16:12:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 .. 16:12:09 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:10 .dockerignore 16:12:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:10 .git 16:12:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 .github 16:12:09 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:10 .gitignore 16:12:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:10 .golangci.yml 16:12:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:10 .semver 16:12:09 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:10 Attribution.txt 16:12:09 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:10 CHANGELOG.md 16:12:09 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:10 Dockerfile 16:12:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:10 GOVERNANCE.md 16:12:09 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:10 Jenkinsfile 16:12:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:10 LICENSE 16:12:09 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:10 Makefile 16:12:09 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:10 OWNERS.md 16:12:09 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:10 README.md 16:12:09 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:10 VERSION 16:12:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 bin 16:12:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 cmd 16:12:09 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:11 coverage.out 16:12:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 driver 16:12:09 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:10 go.mod 16:12:09 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:10 go.sum 16:12:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 snap 16:12:09 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:10 + 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=ae54ce6f1033167052867af1427946ef32cb9188 --label arch=amd64 --label version=3.0.0-dev.19 . 16:12:10 Sending build context to Docker daemon 10.87MB 16:12:10 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:12:10 Step 2/25 : FROM ${BASE} AS builder 16:12:10 ---> b4a5ead7e48e 16:12:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:12:10 ---> Running in 3eef0d7629f9 16:12:10 Removing intermediate container 3eef0d7629f9 16:12:10 ---> 44d78a4a2682 16:12:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:12:10 ---> Running in fbac60aea6c1 16:12:10 Removing intermediate container fbac60aea6c1 16:12:10 ---> dcbc55243e12 16:12:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:12:10 ---> Running in 01cb0f04fac2 16:12:10 Removing intermediate container 01cb0f04fac2 16:12:10 ---> f1f86866c709 16:12:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:12:10 ---> Running in 787791f75558 16:12:10 Removing intermediate container 787791f75558 16:12:10 ---> 5b07b090730b 16:12:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:12:10 ---> Running in 6952fa365da7 16:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:11 OK: 269 MiB in 57 packages 16:12:11 Removing intermediate container 6952fa365da7 16:12:11 ---> 40073bb30ef8 16:12:11 Step 8/25 : WORKDIR /device-rest-go 16:12:11 ---> Running in 6cf164bffee6 16:12:11 Removing intermediate container 6cf164bffee6 16:12:11 ---> fa82d0c1ba32 16:12:11 Step 9/25 : COPY go.mod vendor* ./ 16:12:11 ---> eba12b5a5edb 16:12:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:12 ---> Running in d25ce2e4ed89 16:12:12 Removing intermediate container d25ce2e4ed89 16:12:12 ---> ab53ae886625 16:12:12 Step 11/25 : COPY . . 16:12:12 ---> 3ef1a4abb628 16:12:12 Step 12/25 : RUN $MAKE 16:12:13 ---> Running in 3f4ab058255d 16:12:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:12:31 Removing intermediate container 3f4ab058255d 16:12:31 ---> 83d295616996 16:12:31 Step 13/25 : FROM alpine:3.17 16:12:31 3.17: Pulling from library/alpine 16:12:31 63b65145d645: Already exists 16:12:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:12:31 Status: Downloaded newer image for alpine:3.17 16:12:31 ---> b2aa39c304c2 16:12:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:12:31 ---> Running in cd11ef9ec9ca 16:12:31 Removing intermediate container cd11ef9ec9ca 16:12:31 ---> 36b0118210d9 16:12:31 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:12:31 ---> Running in 6eb1368e4709 16:12:31 Removing intermediate container 6eb1368e4709 16:12:31 ---> 384444459800 16:12:31 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:12:31 ---> Running in d767d7f05700 16:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:31 (1/1) Installing dumb-init (1.2.5-r2) 16:12:31 Executing busybox-1.35.0-r29.trigger 16:12:31 OK: 7 MiB in 16 packages 16:12:31 Removing intermediate container d767d7f05700 16:12:31 ---> 663ed303f2f1 16:12:31 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:12:32 ---> 5acbbf3c3b51 16:12:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:12:32 ---> 3ea267e087f8 16:12:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:12:32 ---> 01748cc8e5ad 16:12:32 Step 20/25 : EXPOSE 59986 16:12:32 ---> Running in 62d024b81fe6 16:12:32 Removing intermediate container 62d024b81fe6 16:12:32 ---> 6658dfd72351 16:12:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:12:32 ---> Running in 7dd217ca4338 16:12:32 Removing intermediate container 7dd217ca4338 16:12:32 ---> 1ebd7e14d943 16:12:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:12:32 ---> Running in d5138f91e558 16:12:32 Removing intermediate container d5138f91e558 16:12:32 ---> 96550ffb46e2 16:12:32 Step 23/25 : LABEL arch=amd64 16:12:33 ---> Running in f21f46b6e2aa 16:12:33 Removing intermediate container f21f46b6e2aa 16:12:33 ---> 1175d86f6033 16:12:33 Step 24/25 : LABEL git_sha=ae54ce6f1033167052867af1427946ef32cb9188 16:12:33 ---> Running in 46893cefb385 16:12:33 Removing intermediate container 46893cefb385 16:12:33 ---> 10b5361e398e 16:12:33 Step 25/25 : LABEL version=3.0.0-dev.19 16:12:33 ---> Running in 38cf28497487 16:12:33 Removing intermediate container 38cf28497487 16:12:33 ---> b2c5e2cd00be 16:12:33 [Warning] One or more build-args [ARCH] were not consumed 16:12:33 Successfully built b2c5e2cd00be 16:12:33 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:12:33 provisioning config files... 16:12:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3100595374353056424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:33 ---> docker-login.sh 16:12:33 nexus3.edgexfoundry.org:10001 16:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:33 Configure a credential helper to remove this warning. See 16:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:33 16:12:33 Login Succeeded 16:12:33 nexus3.edgexfoundry.org:10002 16:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:33 Configure a credential helper to remove this warning. See 16:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:33 16:12:33 Login Succeeded 16:12:33 nexus3.edgexfoundry.org:10003 16:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:34 Configure a credential helper to remove this warning. See 16:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:34 16:12:34 Login Succeeded 16:12:34 nexus3.edgexfoundry.org:10004 16:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:34 Configure a credential helper to remove this warning. See 16:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:34 16:12:34 Login Succeeded 16:12:34 docker.io 16:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:34 Configure a credential helper to remove this warning. See 16:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:34 16:12:34 Login Succeeded 16:12:34 ---> docker-login.sh ends [Pipeline] } 16:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:12:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:12:34 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:12:34 ae54ce6f1033167052867af1427946ef32cb9188 16:12:34 latest 16:12:34 3.0.0-dev.19 16:12:34 ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 16:12:34 main 16:12:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188 16:12:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:12:35 2ae7e562bd8e: Preparing 16:12:35 0c94fde75c28: Preparing 16:12:35 02eeaeecceb1: Preparing 16:12:35 7ec9b9f0562c: Preparing 16:12:35 7cd52847ad77: Preparing 16:12:35 7cd52847ad77: Layer already exists 16:12:35 7ec9b9f0562c: Pushed 16:12:35 0c94fde75c28: Pushed 16:12:35 2ae7e562bd8e: Pushed 16:12:37 02eeaeecceb1: Pushed 16:12:37 ae54ce6f1033167052867af1427946ef32cb9188: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:12:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:12:38 2ae7e562bd8e: Preparing 16:12:38 0c94fde75c28: Preparing 16:12:38 02eeaeecceb1: Preparing 16:12:38 7ec9b9f0562c: Preparing 16:12:38 7cd52847ad77: Preparing 16:12:38 7cd52847ad77: Layer already exists 16:12:38 02eeaeecceb1: Layer already exists 16:12:38 0c94fde75c28: Layer already exists 16:12:38 2ae7e562bd8e: Layer already exists 16:12:38 7ec9b9f0562c: Layer already exists 16:12:38 latest: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.19 16:12:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:12:38 2ae7e562bd8e: Preparing 16:12:38 0c94fde75c28: Preparing 16:12:38 02eeaeecceb1: Preparing 16:12:38 7ec9b9f0562c: Preparing 16:12:38 7cd52847ad77: Preparing 16:12:38 2ae7e562bd8e: Layer already exists 16:12:38 02eeaeecceb1: Layer already exists 16:12:38 7cd52847ad77: Layer already exists 16:12:38 7ec9b9f0562c: Layer already exists 16:12:38 0c94fde75c28: Layer already exists 16:12:38 3.0.0-dev.19: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 16:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:12:39 2ae7e562bd8e: Preparing 16:12:39 0c94fde75c28: Preparing 16:12:39 02eeaeecceb1: Preparing 16:12:39 7ec9b9f0562c: Preparing 16:12:39 7cd52847ad77: Preparing 16:12:39 2ae7e562bd8e: Layer already exists 16:12:39 02eeaeecceb1: Layer already exists 16:12:39 7ec9b9f0562c: Layer already exists 16:12:39 0c94fde75c28: Layer already exists 16:12:39 7cd52847ad77: Layer already exists 16:12:39 ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:12:40 2ae7e562bd8e: Preparing 16:12:40 0c94fde75c28: Preparing 16:12:40 02eeaeecceb1: Preparing 16:12:40 7ec9b9f0562c: Preparing 16:12:40 7cd52847ad77: Preparing 16:12:40 0c94fde75c28: Layer already exists 16:12:40 7ec9b9f0562c: Layer already exists 16:12:40 2ae7e562bd8e: Layer already exists 16:12:40 7cd52847ad77: Layer already exists 16:12:40 02eeaeecceb1: Layer already exists 16:12:40 main: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:12:40 ===================================================== [Pipeline] echo 16:12:40 taggedImages: 16:12:40 - nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188 16:12:40 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:12:40 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.19 16:12:40 - nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 16:12:40 - 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 16:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:40 16:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:40 latest: Pulling from edgex-lftools-log-publisher 16:12:40 5eb5b503b376: Pulling fs layer 16:12:40 5c69ac0246d0: Pulling fs layer 16:12:40 ec43610c2a17: Pulling fs layer 16:12:40 3a2ae6a8a46f: Pulling fs layer 16:12:40 33b1e0a273af: Pulling fs layer 16:12:40 3a2ae6a8a46f: Waiting 16:12:40 33b1e0a273af: Waiting 16:12:40 5d3b04190fa2: Pulling fs layer 16:12:40 2f39f015ded8: Pulling fs layer 16:12:40 5d3b04190fa2: Waiting 16:12:40 2f39f015ded8: Waiting 16:12:40 5c69ac0246d0: Download complete 16:12:40 3a2ae6a8a46f: Download complete 16:12:40 33b1e0a273af: Verifying Checksum 16:12:40 33b1e0a273af: Download complete 16:12:40 5d3b04190fa2: Verifying Checksum 16:12:40 5d3b04190fa2: Download complete 16:12:40 ec43610c2a17: Verifying Checksum 16:12:40 ec43610c2a17: Download complete 16:12:40 5eb5b503b376: Verifying Checksum 16:12:40 5eb5b503b376: Download complete 16:12:41 2f39f015ded8: Download complete 16:12:42 5eb5b503b376: Pull complete 16:12:42 5c69ac0246d0: Pull complete 16:12:42 ec43610c2a17: Pull complete 16:12:42 3a2ae6a8a46f: Pull complete 16:12:42 33b1e0a273af: Pull complete 16:12:42 5d3b04190fa2: Pull complete 16:12:47 2f39f015ded8: Pull complete 16:12:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:47 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:12:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:12:49 $ docker top d0665ab6624ef0a8c22b65f1c6ef49b249583ec01b98a213f048dcbbf728d3c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:49 ---> job-cost.sh 16:12:49 lf-activate-venv: SKIPPING 16:12:49 INFO: No Stack... 16:12:49 INFO: Retrieving Pricing Info for: v3-standard-8 16:12:50 INFO: Archiving Costs [Pipeline] sh 16:12:50 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 16:12:50 + cut -d, -f6 [Pipeline] lock 16:12:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] 16:12:50 Resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] did not exist. Created. 16:12:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:12:50 + echo total: 0.2199999988079071 [Pipeline] stash 16:12:50 Stashed 1 file(s) [Pipeline] } 16:12:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:50 $ docker stop --time=1 d0665ab6624ef0a8c22b65f1c6ef49b249583ec01b98a213f048dcbbf728d3c4 16:12:51 $ docker rm -f --volumes d0665ab6624ef0a8c22b65f1c6ef49b249583ec01b98a213f048dcbbf728d3c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-864 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:13:50 Running in /w/workspace/device-rest-go/91 [Pipeline] { [Pipeline] checkout 16:13:50 The recommended git tool is: git 16:14:02 using credential edgex-jenkins-ssh 16:14:02 Cloning the remote Git repository 16:14:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:14:02 > git init /w/workspace/device-rest-go/91 # timeout=10 16:14:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:14:02 > git --version # timeout=10 16:14:02 > git --version # 'git version 2.25.1' 16:14:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:14:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:07 Avoid second fetch 16:14:07 Checking out Revision ae54ce6f1033167052867af1427946ef32cb9188 (main) 16:14:07 > git config core.sparsecheckout # timeout=10 16:14:07 > git checkout -f ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 16:14:08 Commit message: "ci: Change dependabot gomod schedule to daily (#267)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:14:09 % Total % Received % Xferd Average Speed Time Time Time Current 16:14:09 Dload Upload Total Spent Left Speed 16:14:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh 16:14:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:14:10 + sudo tee /etc/docker/daemon.new 16:14:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:14:10 { 16:14:10 "registry-mirrors": [ 16:14:10 "https://nexus3.edgexfoundry.org:10001" 16:14:10 ], 16:14:10 "bip": "10.250.0.254/24", 16:14:10 "hosts": [ 16:14:10 "tcp://0.0.0.0:5555", 16:14:10 "unix:///var/run/docker.sock" 16:14:10 ], 16:14:10 "mtu": 1458, 16:14:10 "selinux-enabled": true, 16:14:10 "seccomp-profile": "/etc/docker/seccomp.json" 16:14:10 } [Pipeline] sh 16:14:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:14:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:29 provisioning config files... 16:14:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/91@tmp/config6617368864654404657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:29 ---> docker-login.sh 16:14:29 nexus3.edgexfoundry.org:10001 16:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:30 Configure a credential helper to remove this warning. See 16:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:30 16:14:30 Login Succeeded 16:14:30 nexus3.edgexfoundry.org:10002 16:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:31 Configure a credential helper to remove this warning. See 16:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:31 16:14:31 Login Succeeded 16:14:31 nexus3.edgexfoundry.org:10003 16:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:31 Configure a credential helper to remove this warning. See 16:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:31 16:14:31 Login Succeeded 16:14:31 nexus3.edgexfoundry.org:10004 16:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:31 Configure a credential helper to remove this warning. See 16:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:31 16:14:31 Login Succeeded 16:14:31 docker.io 16:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:32 Configure a credential helper to remove this warning. See 16:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:32 16:14:32 Login Succeeded 16:14:32 ---> docker-login.sh ends [Pipeline] } 16:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:32 ========================================================= 16:14:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:14:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:33 + 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 . 16:14:33 Sending build context to Docker daemon 139.3kB 16:14:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:14:33 Step 2/12 : FROM ${BASE} AS builder 16:14:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:33 af6eaf76a39c: Pulling fs layer 16:14:33 55522c791124: Pulling fs layer 16:14:33 ce5c4a1c91eb: Pulling fs layer 16:14:33 169dfbe0d373: Pulling fs layer 16:14:33 e1ff8fa3b103: Pulling fs layer 16:14:33 52ebb69f0ebf: Pulling fs layer 16:14:33 5abe8eddf0d5: Pulling fs layer 16:14:33 169dfbe0d373: Waiting 16:14:33 e1ff8fa3b103: Waiting 16:14:33 52ebb69f0ebf: Waiting 16:14:33 5abe8eddf0d5: Waiting 16:14:33 55522c791124: Download complete 16:14:33 169dfbe0d373: Verifying Checksum 16:14:33 169dfbe0d373: Download complete 16:14:33 e1ff8fa3b103: Verifying Checksum 16:14:33 e1ff8fa3b103: Download complete 16:14:33 af6eaf76a39c: Verifying Checksum 16:14:33 af6eaf76a39c: Download complete 16:14:35 af6eaf76a39c: Pull complete 16:14:35 5abe8eddf0d5: Verifying Checksum 16:14:35 5abe8eddf0d5: Download complete 16:14:35 55522c791124: Pull complete 16:14:36 ce5c4a1c91eb: Download complete 16:14:36 52ebb69f0ebf: Verifying Checksum 16:14:36 52ebb69f0ebf: Download complete 16:14:49 ce5c4a1c91eb: Pull complete 16:14:49 169dfbe0d373: Pull complete 16:14:49 e1ff8fa3b103: Pull complete 16:14:55 52ebb69f0ebf: Pull complete 16:14:57 5abe8eddf0d5: Pull complete 16:14:57 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:14:57 ---> 6cb57ee374ae 16:14:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:14:59 ---> Running in 1d4812e073c2 16:14:59 Removing intermediate container 1d4812e073c2 16:14:59 ---> 29c3b6a1c86d 16:14:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:59 ---> Running in cce57f6dc4ea 16:15:00 Removing intermediate container cce57f6dc4ea 16:15:00 ---> 4b5957d965f9 16:15:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:15:00 ---> Running in a3719e41c10b 16:15:00 Removing intermediate container a3719e41c10b 16:15:00 ---> 0e8bd3b678b6 16:15:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:15:00 ---> Running in d334fd063729 16:15:01 Removing intermediate container d334fd063729 16:15:01 ---> c04a9b25a09c 16:15:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:15:01 ---> Running in 29429fd6e693 16:15:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:15:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:15:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:15:04 (2/4) Installing libedit (20221030.3.1-r0) 16:15:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:15:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:15:04 Executing busybox-1.35.0-r29.trigger 16:15:04 OK: 268 MiB in 57 packages 16:15:06 Removing intermediate container 29429fd6e693 16:15:06 ---> 9b2f453ad9e2 16:15:06 Step 8/12 : WORKDIR /device-rest-go 16:15:06 ---> Running in cb0f21581c48 16:15:06 Removing intermediate container cb0f21581c48 16:15:06 ---> 46a5704cc71e 16:15:06 Step 9/12 : COPY go.mod vendor* ./ 16:15:06 ---> 3ce7b0d47116 16:15:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:07 ---> Running in 465e03976e70 16:16:28 Removing intermediate container 465e03976e70 16:16:28 ---> 4fbf788fe249 16:16:28 Step 11/12 : COPY . . 16:16:28 ---> 6f0c357638a8 16:16:28 Step 12/12 : RUN $MAKE 16:16:28 ---> Running in 600d74c62703 16:16:28 noop 16:16:28 Removing intermediate container 600d74c62703 16:16:28 ---> aaa27a0a18b9 16:16:28 Successfully built aaa27a0a18b9 16:16:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:29 + docker inspect -f . ci-base-image-arm64 16:16:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:29 prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container 16:16:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/91 -v /w/workspace/device-rest-go/91:/w/workspace/device-rest-go/91:rw,z -v /w/workspace/device-rest-go/91@tmp:/w/workspace/device-rest-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:16:31 $ docker top ec101261d438979ec8f5a8a510acd6c329c3875201b61b6a6d9047499d6577b6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:32 + go version 16:16:32 go version go1.20.2 linux/arm64 [Pipeline] } 16:16:32 $ docker stop --time=1 ec101261d438979ec8f5a8a510acd6c329c3875201b61b6a6d9047499d6577b6 16:16:33 $ docker rm -f --volumes ec101261d438979ec8f5a8a510acd6c329c3875201b61b6a6d9047499d6577b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:34 + docker inspect -f . ci-base-image-arm64 16:16:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:34 prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container 16:16:34 $ 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/91 -v /w/workspace/device-rest-go/91:/w/workspace/device-rest-go/91:rw,z -v /w/workspace/device-rest-go/91@tmp:/w/workspace/device-rest-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:16:36 $ docker top 3e042ca1498b4f74e946deeb3d53351d93af14e2b705a39ff6fca02243f0ce67 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:37 + git config --global --add safe.directory /w/workspace/device-rest-go/91 [Pipeline] fileExists [Pipeline] sh 16:16:37 + make test 16:16:37 go test ./... -coverprofile=coverage.out ./... 16:17:21 ? github.com/edgexfoundry/device-rest-go [no test files] 16:19:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:19:43 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.1% of statements 16:19:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:19:43 go vet ./... 16:20:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:10 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:10 $ docker stop --time=1 3e042ca1498b4f74e946deeb3d53351d93af14e2b705a39ff6fca02243f0ce67 16:20:12 $ docker rm -f --volumes 3e042ca1498b4f74e946deeb3d53351d93af14e2b705a39ff6fca02243f0ce67 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:13 Warning: overwriting stash ‘coverage-report’ 16:20:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:15 + ls -al . 16:20:15 total 180 16:20:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:16 . 16:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:14 .. 16:20:15 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:14 .dockerignore 16:20:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:14 .git 16:20:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:14 .github 16:20:15 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:14 .gitignore 16:20:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:14 .golangci.yml 16:20:15 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:14 Attribution.txt 16:20:15 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:14 CHANGELOG.md 16:20:15 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:14 Dockerfile 16:20:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:14 GOVERNANCE.md 16:20:15 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:14 Jenkinsfile 16:20:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:14 LICENSE 16:20:15 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:14 Makefile 16:20:15 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:14 OWNERS.md 16:20:15 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:14 README.md 16:20:15 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:10 VERSION 16:20:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:14 bin 16:20:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:14 cmd 16:20:15 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:19 coverage.out 16:20:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:14 driver 16:20:15 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:14 go.mod 16:20:15 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:14 go.sum 16:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:14 snap 16:20:15 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:15 + 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=ae54ce6f1033167052867af1427946ef32cb9188 --label arch=arm64 --label version=3.0.0-dev.19 . 16:20:15 Sending build context to Docker daemon 154.1kB 16:20:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:20:15 Step 2/25 : FROM ${BASE} AS builder 16:20:15 ---> aaa27a0a18b9 16:20:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:20:16 ---> Running in 72a505760ffc 16:20:16 Removing intermediate container 72a505760ffc 16:20:16 ---> 05c7580dcf2d 16:20:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:16 ---> Running in 333f052441f0 16:20:16 Removing intermediate container 333f052441f0 16:20:16 ---> e41b546eb5df 16:20:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:20:16 ---> Running in e3747a7ef0c3 16:20:17 Removing intermediate container e3747a7ef0c3 16:20:17 ---> 49bf9dfe7847 16:20:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:20:17 ---> Running in cbc10e26a0b3 16:20:17 Removing intermediate container cbc10e26a0b3 16:20:17 ---> 4251b3f8effd 16:20:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:17 ---> Running in b563d0340a23 16:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:20:21 OK: 268 MiB in 57 packages 16:20:22 Removing intermediate container b563d0340a23 16:20:22 ---> dcff39d3104a 16:20:22 Step 8/25 : WORKDIR /device-rest-go 16:20:22 ---> Running in de46e9fcb561 16:20:22 Removing intermediate container de46e9fcb561 16:20:22 ---> ecbaeff0cc8e 16:20:22 Step 9/25 : COPY go.mod vendor* ./ 16:20:23 ---> 238bdca086a6 16:20:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:23 ---> Running in 255a4fa557a5 16:20:26 Removing intermediate container 255a4fa557a5 16:20:26 ---> 90cbbbd6f963 16:20:26 Step 11/25 : COPY . . 16:20:27 ---> 5727657f3c84 16:20:27 Step 12/25 : RUN $MAKE 16:20:27 ---> Running in 24d2c4ad2248 16:20:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:23:20 Removing intermediate container 24d2c4ad2248 16:23:20 ---> 05eec92adf41 16:23:20 Step 13/25 : FROM alpine:3.17 16:23:20 3.17: Pulling from library/alpine 16:23:20 af6eaf76a39c: Already exists 16:23:20 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:23:20 Status: Downloaded newer image for alpine:3.17 16:23:20 ---> d74e625d9115 16:23:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:23:20 ---> Running in e7523cf92b47 16:23:20 Removing intermediate container e7523cf92b47 16:23:20 ---> 4b32d88c0e31 16:23:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:23:20 ---> Running in e7a4500915fe 16:23:20 Removing intermediate container e7a4500915fe 16:23:20 ---> 45fec20daef6 16:23:20 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:23:20 ---> Running in 51a961320130 16:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:23:21 (1/1) Installing dumb-init (1.2.5-r2) 16:23:21 Executing busybox-1.35.0-r29.trigger 16:23:21 OK: 8 MiB in 16 packages 16:23:22 Removing intermediate container 51a961320130 16:23:22 ---> e63dd2de75a4 16:23:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:23:24 ---> a5773d916207 16:23:24 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:23:25 ---> ecbd7c4d7d7c 16:23:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:23:25 ---> 4593c5c38dfd 16:23:25 Step 20/25 : EXPOSE 59986 16:23:25 ---> Running in 3e8b7cffc7a7 16:23:26 Removing intermediate container 3e8b7cffc7a7 16:23:26 ---> 3f4dd31a36bb 16:23:26 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:23:26 ---> Running in b94c7c54538f 16:23:26 Removing intermediate container b94c7c54538f 16:23:26 ---> e283dd2f51a2 16:23:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:23:26 ---> Running in 562b6770214f 16:23:27 Removing intermediate container 562b6770214f 16:23:27 ---> 09daf838c240 16:23:27 Step 23/25 : LABEL arch=arm64 16:23:27 ---> Running in 5e288892a708 16:23:27 Removing intermediate container 5e288892a708 16:23:27 ---> 841831304c14 16:23:27 Step 24/25 : LABEL git_sha=ae54ce6f1033167052867af1427946ef32cb9188 16:23:27 ---> Running in fe33c2a64de7 16:23:28 Removing intermediate container fe33c2a64de7 16:23:28 ---> 0cb290d5b5fe 16:23:28 Step 25/25 : LABEL version=3.0.0-dev.19 16:23:28 ---> Running in 4f563e300249 16:23:28 Removing intermediate container 4f563e300249 16:23:28 ---> b29fe91e8fa4 16:23:28 [Warning] One or more build-args [ARCH] were not consumed 16:23:28 Successfully built b29fe91e8fa4 16:23:28 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:28 provisioning config files... 16:23:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/91@tmp/config17726227815205308786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:29 ---> docker-login.sh 16:23:29 nexus3.edgexfoundry.org:10001 16:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:29 Configure a credential helper to remove this warning. See 16:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:29 16:23:29 Login Succeeded 16:23:29 nexus3.edgexfoundry.org:10002 16:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:29 Configure a credential helper to remove this warning. See 16:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:29 16:23:29 Login Succeeded 16:23:29 nexus3.edgexfoundry.org:10003 16:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:30 Configure a credential helper to remove this warning. See 16:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:30 16:23:30 Login Succeeded 16:23:30 nexus3.edgexfoundry.org:10004 16:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:31 Configure a credential helper to remove this warning. See 16:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:31 16:23:31 Login Succeeded 16:23:31 docker.io 16:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:31 Configure a credential helper to remove this warning. See 16:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:31 16:23:31 Login Succeeded 16:23:31 ---> docker-login.sh ends [Pipeline] } 16:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:23:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:31 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:23:31 ae54ce6f1033167052867af1427946ef32cb9188 16:23:31 latest 16:23:31 3.0.0-dev.19 16:23:31 ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 16:23:31 main 16:23:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188 16:23:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:23:32 6b90b20a6ec7: Preparing 16:23:32 6c2b4747a6a5: Preparing 16:23:32 0f3b49307500: Preparing 16:23:32 d884ab793250: Preparing 16:23:32 edf70074bd40: Preparing 16:23:32 edf70074bd40: Layer already exists 16:23:32 6c2b4747a6a5: Pushed 16:23:32 6b90b20a6ec7: Pushed 16:23:32 d884ab793250: Pushed 16:23:38 0f3b49307500: Pushed 16:23:39 ae54ce6f1033167052867af1427946ef32cb9188: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:23:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:23:39 6b90b20a6ec7: Preparing 16:23:39 6c2b4747a6a5: Preparing 16:23:39 0f3b49307500: Preparing 16:23:39 d884ab793250: Preparing 16:23:39 edf70074bd40: Preparing 16:23:39 6c2b4747a6a5: Layer already exists 16:23:39 d884ab793250: Layer already exists 16:23:39 6b90b20a6ec7: Layer already exists 16:23:39 0f3b49307500: Layer already exists 16:23:39 edf70074bd40: Layer already exists 16:23:40 latest: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.19 16:23:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:23:40 6b90b20a6ec7: Preparing 16:23:40 6c2b4747a6a5: Preparing 16:23:40 0f3b49307500: Preparing 16:23:40 d884ab793250: Preparing 16:23:40 edf70074bd40: Preparing 16:23:40 6b90b20a6ec7: Layer already exists 16:23:40 edf70074bd40: Layer already exists 16:23:40 0f3b49307500: Layer already exists 16:23:40 d884ab793250: Layer already exists 16:23:40 6c2b4747a6a5: Layer already exists 16:23:41 3.0.0-dev.19: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 16:23:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:23:41 6b90b20a6ec7: Preparing 16:23:41 6c2b4747a6a5: Preparing 16:23:41 0f3b49307500: Preparing 16:23:41 d884ab793250: Preparing 16:23:41 edf70074bd40: Preparing 16:23:41 6c2b4747a6a5: Layer already exists 16:23:41 d884ab793250: Layer already exists 16:23:41 6b90b20a6ec7: Layer already exists 16:23:41 edf70074bd40: Layer already exists 16:23:41 0f3b49307500: Layer already exists 16:23:42 ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:23:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:23:42 6b90b20a6ec7: Preparing 16:23:42 6c2b4747a6a5: Preparing 16:23:42 0f3b49307500: Preparing 16:23:42 d884ab793250: Preparing 16:23:42 edf70074bd40: Preparing 16:23:42 6c2b4747a6a5: Layer already exists 16:23:42 0f3b49307500: Layer already exists 16:23:42 d884ab793250: Layer already exists 16:23:42 edf70074bd40: Layer already exists 16:23:42 6b90b20a6ec7: Layer already exists 16:23:43 main: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:23:43 ===================================================== [Pipeline] echo 16:23:43 taggedImages: 16:23:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188 16:23:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:23:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.19 16:23:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 16:23:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:23:43 16:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:23:44 arm64: Pulling from edgex-lftools-log-publisher 16:23:44 8998bd30e6a1: Pulling fs layer 16:23:44 04944245beec: Pulling fs layer 16:23:44 699f458cf7ca: Pulling fs layer 16:23:44 765212b225bb: Pulling fs layer 16:23:44 f23df028b6ca: Pulling fs layer 16:23:44 d65c8cfc05b1: Pulling fs layer 16:23:44 2437ff75d9bd: Pulling fs layer 16:23:44 765212b225bb: Waiting 16:23:44 f23df028b6ca: Waiting 16:23:44 d65c8cfc05b1: Waiting 16:23:44 2437ff75d9bd: Waiting 16:23:44 04944245beec: Verifying Checksum 16:23:44 04944245beec: Download complete 16:23:44 765212b225bb: Verifying Checksum 16:23:44 765212b225bb: Download complete 16:23:44 f23df028b6ca: Download complete 16:23:44 d65c8cfc05b1: Verifying Checksum 16:23:44 d65c8cfc05b1: Download complete 16:23:44 699f458cf7ca: Verifying Checksum 16:23:44 699f458cf7ca: Download complete 16:23:44 8998bd30e6a1: Verifying Checksum 16:23:44 8998bd30e6a1: Download complete 16:23:47 2437ff75d9bd: Download complete 16:23:49 8998bd30e6a1: Pull complete 16:23:49 04944245beec: Pull complete 16:23:51 699f458cf7ca: Pull complete 16:23:51 765212b225bb: Pull complete 16:23:52 f23df028b6ca: Pull complete 16:23:52 d65c8cfc05b1: Pull complete 16:24:07 2437ff75d9bd: Pull complete 16:24:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:07 prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container 16:24:07 $ 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/91 -v /w/workspace/device-rest-go/91:/w/workspace/device-rest-go/91:rw,z -v /w/workspace/device-rest-go/91@tmp:/w/workspace/device-rest-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:24:10 $ docker top 1ac6471227b66a39338636ab89f53a4f26d36d3dfce8aef06c21323f9d6b52cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:11 ---> job-cost.sh 16:24:11 lf-activate-venv: SKIPPING 16:24:11 INFO: No Stack... 16:24:12 INFO: Retrieving Pricing Info for: v3-standard-4 16:24:13 INFO: Archiving Costs [Pipeline] sh 16:24:13 + + cutcat -d, /w/workspace/device-rest-go/91/archives/cost.csv -f6 16:24:13 [Pipeline] lock 16:24:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] 16:24:13 Resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] did not exist. Created. 16:24:13 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:24:14 /w/workspace/device-rest-go/91@tmp/durable-b7358668/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:24:15 + echo total: 0.10999999940395355 [Pipeline] stash 16:24:15 Warning: overwriting stash ‘stack-cost’ 16:24:15 Stashed 1 file(s) [Pipeline] } 16:24:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } 16:24:15 $ docker stop --time=1 1ac6471227b66a39338636ab89f53a4f26d36d3dfce8aef06c21323f9d6b52cf 16:24:16 $ docker rm -f --volumes 1ac6471227b66a39338636ab89f53a4f26d36d3dfce8aef06c21323f9d6b52cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:24:17 provisioning config files... 16:24:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7496579477292928305tmp [Pipeline] { [Pipeline] sh 16:24:17 + set +x 16:24:17 + curl -s https://codecov.io/bash 16:24:17 + bash -s -- 16:24:17 16:24:17 _____ _ 16:24:17 / ____| | | 16:24:17 | | ___ __| | ___ ___ _____ __ 16:24:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:24:17 | |___| (_) | (_| | __/ (_| (_) \ V / 16:24:17 \_____\___/ \__,_|\___|\___\___/ \_/ 16:24:17 Bash-1.0.6 16:24:17 16:24:17 16:24:17 ==> git version 2.25.1 found 16:24:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:24:17 Release-Date: 2020-01-08 16:24:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:24:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:24:17 ==> Jenkins CI detected. 16:24:17 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:24:17 project root: . 16:24:17 --> token set from env 16:24:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:24:17 ==> Running gcov in . (disable via -X gcov) 16:24:17 ==> Python coveragepy not found 16:24:17 ==> Searching for coverage reports in: 16:24:17 + . 16:24:17 -> Found 1 reports 16:24:17 ==> Detecting git/mercurial file structure 16:24:17 ==> Reading reports 16:24:17 + ./coverage.out bytes=14200 16:24:17 ==> Appending adjustments 16:24:17 https://docs.codecov.io/docs/fixing-reports 16:24:17 + Found adjustments 16:24:17 ==> Gzipping contents 16:24:17 4.0K /tmp/codecov.4XTswO.gz 16:24:17 ==> Uploading reports 16:24:17 url: https://codecov.io 16:24:17 query: branch=main&commit=ae54ce6f1033167052867af1427946ef32cb9188&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:24:17 -> Pinging Codecov 16:24:17 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=ae54ce6f1033167052867af1427946ef32cb9188&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:24:17 -> Uploading to 16:24:17 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/ae54ce6f1033167052867af1427946ef32cb9188/bb6e3d25-6d1b-44cd-b0d3-949424f45e00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e28e81d9a15b9a7ba40f80d1d57ec1b982302b53dc6d1d89152dea3996a02821 16:24:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:17 Dload Upload Total Spent Left Speed 16:24:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10811 --:--:-- --:--:-- --:--:-- 10811 16:24:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] } 16:24:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:24:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:24:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:18 16:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:24:18 df9b9388f04a: Pulling fs layer 16:24:18 52dc419b0ee2: Pulling fs layer 16:24:18 25bc292e5bac: Pulling fs layer 16:24:18 114826534d7a: Pulling fs layer 16:24:18 4657fd5d0bcf: Pulling fs layer 16:24:18 6ad1cebc031e: Pulling fs layer 16:24:18 8a3aa393b2d8: Pulling fs layer 16:24:18 114826534d7a: Waiting 16:24:18 4657fd5d0bcf: Waiting 16:24:18 6ad1cebc031e: Waiting 16:24:18 8a3aa393b2d8: Waiting 16:24:18 25bc292e5bac: Download complete 16:24:18 52dc419b0ee2: Verifying Checksum 16:24:18 52dc419b0ee2: Download complete 16:24:18 4657fd5d0bcf: Verifying Checksum 16:24:18 4657fd5d0bcf: Download complete 16:24:18 df9b9388f04a: Verifying Checksum 16:24:18 df9b9388f04a: Download complete 16:24:19 df9b9388f04a: Pull complete 16:24:19 6ad1cebc031e: Verifying Checksum 16:24:19 6ad1cebc031e: Download complete 16:24:19 52dc419b0ee2: Pull complete 16:24:19 25bc292e5bac: Pull complete 16:24:19 114826534d7a: Verifying Checksum 16:24:19 114826534d7a: Download complete 16:24:19 8a3aa393b2d8: Verifying Checksum 16:24:19 8a3aa393b2d8: Download complete 16:24:23 114826534d7a: Pull complete 16:24:23 4657fd5d0bcf: Pull complete 16:24:23 6ad1cebc031e: Pull complete 16:24:25 8a3aa393b2d8: Pull complete 16:24:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:25 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:24:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:24:27 $ docker top d5b0471b0ef0226c7827a2d28e39858dea4c5ea8e1af8b4798633c1a5b602f9b -eo pid,comm [Pipeline] { [Pipeline] echo 16:24:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:24:28 + set -o pipefail 16:24:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:24:32 16:24:32 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:24:32 16:24:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/819a040d-ff9e-437a-9951-b9e49b172ec6 16:24:32 16:24:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:24:32 16:24:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:24:32 16:24:32 16:24:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:24:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:24:32 More details here: https://snyk.co/ue1NS [Pipeline] } 16:24:32 $ docker stop --time=1 d5b0471b0ef0226c7827a2d28e39858dea4c5ea8e1af8b4798633c1a5b602f9b 16:24:34 $ docker rm -f --volumes d5b0471b0ef0226c7827a2d28e39858dea4c5ea8e1af8b4798633c1a5b602f9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:24:35 + git log --format=format:%s -1 ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] sh 16:24:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:24:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:35 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:24:36 $ docker top c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:36 [ssh-agent] Looking for ssh-agent implementation... 16:24:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:36 $ docker exec c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 ssh-agent 16:24:36 SSH_AUTH_SOCK=/tmp/ssh-c7prE0T1A4D7/agent.33 16:24:36 SSH_AGENT_PID=39 16:24:36 Running ssh-add (command line suppressed) 16:24:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9611414587560527712.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9611414587560527712.key) 16:24:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:36 + git semver tag 16:24:37 2023-03-15 16:24:37,118 [run_tag] DEBUG tag force:False 16:24:37 2023-03-15 16:24:37,119 [check_head_tag] DEBUG check head tag 16:24:37 2023-03-15 16:24:37,119 [execute] INFO git cat-file --batch-check 16:24:37 2023-03-15 16:24:37,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:24:37 2023-03-15 16:24:37,124 [execute] INFO git cat-file --batch 16:24:37 2023-03-15 16:24:37,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:24:37 2023-03-15 16:24:37,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:24:37 2023-03-15 16:24:37,143 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 16:24:37 2023-03-15 16:24:37,143 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:24:37 2023-03-15 16:24:37,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:24:37 3.0.0-dev.19 [Pipeline] } 16:24:37 $ docker exec --env ******** --env ******** c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 ssh-agent -k 16:24:37 unset SSH_AUTH_SOCK; 16:24:37 unset SSH_AGENT_PID; 16:24:37 echo Agent pid 39 killed; 16:24:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:37 + git semver [Pipeline] } 16:24:37 $ docker stop --time=1 c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 16:24:39 $ docker rm -f --volumes c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:24:39 16:24:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:24:39 0.23.1-centos7: Pulling from edgex-lftools 16:24:39 ab5ef0e58194: Pulling fs layer 16:24:39 9712f1f96733: Pulling fs layer 16:24:39 63f879dbbcfc: Pulling fs layer 16:24:39 0d9ebad4ef96: Pulling fs layer 16:24:39 e9a5061849ea: Pulling fs layer 16:24:39 d747dcd14b5f: Pulling fs layer 16:24:39 2de7ff778b66: Pulling fs layer 16:24:39 e9a5061849ea: Waiting 16:24:39 d747dcd14b5f: Waiting 16:24:39 2de7ff778b66: Waiting 16:24:40 63f879dbbcfc: Verifying Checksum 16:24:40 63f879dbbcfc: Download complete 16:24:40 0d9ebad4ef96: Verifying Checksum 16:24:40 0d9ebad4ef96: Download complete 16:24:40 e9a5061849ea: Verifying Checksum 16:24:40 e9a5061849ea: Download complete 16:24:40 ab5ef0e58194: Verifying Checksum 16:24:40 ab5ef0e58194: Download complete 16:24:40 d747dcd14b5f: Download complete 16:24:40 2de7ff778b66: Verifying Checksum 16:24:40 2de7ff778b66: Download complete 16:24:43 ab5ef0e58194: Pull complete 16:24:43 9712f1f96733: Pull complete 16:24:43 63f879dbbcfc: Pull complete 16:24:48 0d9ebad4ef96: Pull complete 16:24:48 e9a5061849ea: Pull complete 16:24:48 d747dcd14b5f: Pull complete 16:24:48 2de7ff778b66: Pull complete 16:24:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:24:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:48 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:24:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:24:51 $ docker top c4705e45b039471166d331664094acddfe751ce0348b82a761ee5da2a90bea98 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:24:51 provisioning config files... 16:24:51 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8343490048928823807tmp 16:24:51 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13669239070335289573tmp 16:24:51 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10386523325047722159tmp [Pipeline] { [Pipeline] echo 16:24:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:24:51 ---> sigul-configuration.sh 16:24:51 gpg: directory `/root/.gnupg' created 16:24:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:24:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:24:51 gpg: keyring `/root/.gnupg/secring.gpg' created 16:24:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:24:51 gpg: CAST5 encrypted data 16:24:51 gpg: encrypted with 1 passphrase 16:24:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:24:51 + mkdir /home/jenkins 16:24:51 + mkdir /home/jenkins/sigul [Pipeline] sh 16:24:52 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:24:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:24:52 ---> sigul-install.sh 16:24:52 Sigul already installed; skipping installation. [Pipeline] sh 16:24:52 + git tag --list 16:24:52 v1.0.0 16:24:52 v1.1.0 16:24:52 v1.1.1 16:24:52 v1.1.2 16:24:52 v1.2.0 16:24:52 v1.2.1 16:24:52 v2.0.0 16:24:52 v2.1.0 16:24:52 v2.1.1 16:24:52 v2.1.1-dev.1 16:24:52 v2.1.1-dev.2 16:24:52 v2.1.1-dev.3 16:24:52 v2.2.0 16:24:52 v2.2.1-dev.1 16:24:52 v2.2.1-dev.2 16:24:52 v2.2.1-dev.3 16:24:52 v2.2.1-dev.4 16:24:52 v2.2.1-dev.5 16:24:52 v2.2.1-dev.6 16:24:52 v2.2.1-dev.7 16:24:52 v2.2.1-dev.8 16:24:52 v2.2.1-dev.9 16:24:52 v2.3.0 16:24:52 v2.3.0-dev.10 16:24:52 v2.3.0-dev.11 16:24:52 v2.3.0-dev.12 16:24:52 v2.3.0-dev.13 16:24:52 v2.3.0-dev.14 16:24:52 v2.3.0-dev.15 16:24:52 v2.3.0-dev.16 16:24:52 v2.3.0-dev.17 16:24:52 v2.3.0-dev.18 16:24:52 v2.3.0-dev.19 16:24:52 v2.3.0-dev.20 16:24:52 v2.3.0-dev.21 16:24:52 v2.3.0-dev.22 16:24:52 v2.3.0-dev.23 16:24:52 v2.3.0-dev.24 16:24:52 v2.3.0-dev.25 16:24:52 v2.3.0-dev.9 16:24:52 v3.0.0-dev.1 16:24:52 v3.0.0-dev.10 16:24:52 v3.0.0-dev.11 16:24:52 v3.0.0-dev.12 16:24:52 v3.0.0-dev.13 16:24:52 v3.0.0-dev.14 16:24:52 v3.0.0-dev.15 16:24:52 v3.0.0-dev.16 16:24:52 v3.0.0-dev.17 16:24:52 v3.0.0-dev.18 16:24:52 v3.0.0-dev.19 16:24:52 v3.0.0-dev.2 16:24:52 v3.0.0-dev.3 16:24:52 v3.0.0-dev.4 16:24:52 v3.0.0-dev.5 16:24:52 v3.0.0-dev.6 16:24:52 v3.0.0-dev.7 16:24:52 v3.0.0-dev.8 16:24:52 v3.0.0-dev.9 [Pipeline] sh 16:24:52 + lftools sign git-tag v3.0.0-dev.19 16:24:53 Signing Git tag with Sigul... 16:24:53 Signing v3.0.0-dev.19 [Pipeline] echo 16:24:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:24:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:24:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:24:54 $ docker stop --time=1 c4705e45b039471166d331664094acddfe751ce0348b82a761ee5da2a90bea98 16:24:55 $ docker rm -f --volumes c4705e45b039471166d331664094acddfe751ce0348b82a761ee5da2a90bea98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:24:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:24:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:56 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:24:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:24:56 $ docker top 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 -eo pid,comm 16:24:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:24:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:56 [ssh-agent] Looking for ssh-agent implementation... 16:24:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:56 $ docker exec 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 ssh-agent 16:24:56 SSH_AUTH_SOCK=/tmp/ssh-Mw65aiVgzypP/agent.31 16:24:56 SSH_AGENT_PID=37 16:24:56 Running ssh-add (command line suppressed) 16:24:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17838223464062805408.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17838223464062805408.key) 16:24:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:57 + git semver bump pre 16:24:57 2023-03-15 16:24:57,385 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:24:57 2023-03-15 16:24:57,386 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev 16:24:57 2023-03-15 16:24:57,386 [bump_version] DEBUG bumped version:3.0.0-dev.20 16:24:57 2023-03-15 16:24:57,386 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:24:57 2023-03-15 16:24:57,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:24:57 2023-03-15 16:24:57,386 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:24:57 2023-03-15 16:24:57,388 [execute] INFO git cat-file --batch-check 16:24:57 2023-03-15 16:24:57,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:24:57 2023-03-15 16:24:57,394 [execute] INFO git cat-file --batch 16:24:57 2023-03-15 16:24:57,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:24:57 2023-03-15 16:24:57,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:24:57 3.0.0-dev.20 [Pipeline] } 16:24:57 $ docker exec --env ******** --env ******** 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 ssh-agent -k 16:24:57 unset SSH_AUTH_SOCK; 16:24:57 unset SSH_AGENT_PID; 16:24:57 echo Agent pid 37 killed; 16:24:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:57 + git semver [Pipeline] } 16:24:58 $ docker stop --time=1 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 16:24:59 $ docker rm -f --volumes 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 [Pipeline] // withDockerContainer [Pipeline] sh 16:24:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:24:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:00 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:25:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:00 $ docker top 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:00 [ssh-agent] Looking for ssh-agent implementation... 16:25:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:00 $ docker exec 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 ssh-agent 16:25:00 SSH_AUTH_SOCK=/tmp/ssh-4mE9cbXMUV46/agent.32 16:25:00 SSH_AGENT_PID=38 16:25:00 Running ssh-add (command line suppressed) 16:25:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9817876312015826088.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9817876312015826088.key) 16:25:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:01 + git semver push 16:25:01 2023-03-15 16:25:01,470 [run_push] DEBUG push 16:25:01 2023-03-15 16:25:01,471 [execute] INFO git cat-file --batch-check 16:25:01 2023-03-15 16:25:01,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:25:01 2023-03-15 16:25:01,475 [execute] INFO git rev-list 20729e7ee85546f134c9a4c2e3e1f7791e114e10 -- 16:25:01 2023-03-15 16:25:01,475 [execute] DEBUG Popen(['git', 'rev-list', '20729e7ee85546f134c9a4c2e3e1f7791e114e10', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:25:01 2023-03-15 16:25:01,483 [execute] INFO git fetch -v origin 16:25:01 2023-03-15 16:25:01,484 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:25:02 2023-03-15 16:25:02,184 [run_push] DEBUG no remote changes detected 16:25:02 2023-03-15 16:25:02,185 [execute] INFO git push origin semver 16:25:02 2023-03-15 16:25:02,185 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:25:03 2023-03-15 16:25:03,440 [run_push] DEBUG push all version tags 16:25:03 2023-03-15 16:25:03,441 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:25:03 2023-03-15 16:25:03,441 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:25:04 2023-03-15 16:25:04,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:04 3.0.0-dev.20 [Pipeline] } 16:25:04 $ docker exec --env ******** --env ******** 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 ssh-agent -k 16:25:04 unset SSH_AUTH_SOCK; 16:25:04 unset SSH_AGENT_PID; 16:25:04 echo Agent pid 38 killed; 16:25:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:04 + git semver [Pipeline] } 16:25:05 $ docker stop --time=1 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 16:25:06 $ docker rm -f --volumes 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:25:06 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:25:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:25:06 total 16 16:25:06 drwxr-xr-x 3 root root 4096 Mar 15 16:12 . 16:25:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:24 .. 16:25:06 drwxr-xr-x 2 root root 4096 Mar 15 16:12 cost 16:25:06 -rw-r--r-- 1 root root 85 Mar 15 16:12 cost.csv 16:25:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:25:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:25:06 total 16 16:25:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:12 . 16:25:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:24 .. 16:25:06 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:12 cost 16:25:06 -rw-r--r-- 1 jenkins jenkins 85 Mar 15 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:25:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:25:08 ---> package-listing.sh 16:25:08 ++ facter osfamily 16:25:08 ++ tr '[:upper:]' '[:lower:]' 16:25:08 + OS_FAMILY=debian 16:25:08 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:25:08 + START_PACKAGES=/tmp/packages_start.txt 16:25:08 + END_PACKAGES=/tmp/packages_end.txt 16:25:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:25:08 + PACKAGES=/tmp/packages_start.txt 16:25:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:25:08 + PACKAGES=/tmp/packages_end.txt 16:25:08 + case "${OS_FAMILY}" in 16:25:08 + dpkg -l 16:25:08 + grep '^ii' 16:25:08 + '[' -f /tmp/packages_start.txt ']' 16:25:08 + '[' -f /tmp/packages_end.txt ']' 16:25:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:25:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:25:08 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:25:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:25:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:25:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:09 prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container 16:25:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:25:09 $ docker top bbe85a4c34d024c9d1099a15b2d52e3b3bbfb4f75cb690bc9b4c156df847fe1c -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:09 + touch /tmp/pre-build-complete [Pipeline] sh 16:25:10 + mkdir -p /var/log/sysstat [Pipeline] sh 16:25:10 + ls /var/log/sa-host 16:25:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:10 provisioning config files... 16:25:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11444265541503570060tmp [Pipeline] { [Pipeline] echo 16:25:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:25:10 ---> create-netrc.sh [Pipeline] } 16:25:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:25:11 ---> python-tools-install.sh [Pipeline] echo 16:25:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:25:11 ---> sudo-logs.sh 16:25:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:25:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:25:11 ---> job-cost.sh 16:25:11 lf-activate-venv: SKIPPING 16:25:11 DEBUG: total: 0.2199999988079071 16:25:11 INFO: Retrieving Stack Cost... 16:25:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:25:12 INFO: Archiving Costs [Pipeline] echo 16:25:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:25:12 ---> logs-deploy.sh 16:25:12 lf-activate-venv: SKIPPING 16:25:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/91 16:25:12 INFO: archiving workspace using pattern(s): 16:25:13 Archives upload complete. 16:25:13 INFO: archiving logs to Nexus