Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 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-ssh3732122708560520676.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1490617044681894850.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12436001533181265392.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10446800243485857790.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-ssh6998340833282592890.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15242’ Running on prd-ubuntu20.04-docker-8c-8g-15244 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 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#317)" > 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 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 > git rev-list --no-walk c2b4310d658eb26855889a332446806987507426 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:01:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:01:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:01:48 ========================================================= 22:01:48 EdgeX Global Pipelines Version Info 22:01:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:01:49 ------------------- 22:01:49 stable info: 22:01:49 ------------------- 22:01:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:01:49 Message: update stable to v1.0.249 22:01:49 ------------------- 22:01:49 experimental info: 22:01:49 ------------------- 22:01:49 Commited By: **** collab-it+edgex@linuxfoundation.org 22:01:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:01:49 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3b43ee [Pipeline] echo 22:01:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:50 provisioning config files... 22:01:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14613676832677879294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:50 ---> docker-login.sh 22:01:50 nexus3.edgexfoundry.org:10001 22:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:51 Configure a credential helper to remove this warning. See 22:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:51 22:01:51 Login Succeeded 22:01:51 nexus3.edgexfoundry.org:10002 22:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:51 Configure a credential helper to remove this warning. See 22:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:51 22:01:51 Login Succeeded 22:01:51 nexus3.edgexfoundry.org:10003 22:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:51 Configure a credential helper to remove this warning. See 22:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:51 22:01:51 Login Succeeded 22:01:51 nexus3.edgexfoundry.org:10004 22:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:51 Configure a credential helper to remove this warning. See 22:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:51 22:01:51 Login Succeeded 22:01:51 docker.io 22:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:51 Configure a credential helper to remove this warning. See 22:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:51 22:01:51 Login Succeeded 22:01:51 ---> docker-login.sh ends [Pipeline] } 22:01:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:01:52 + git rev-list -1 --merges e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613~1..e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] echo 22:01:52 -----------> git rev-list -1 --merges e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613~1..e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [false] [Pipeline] sh 22:01:52 + git log --format=format:%s -1 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] echo 22:01:52 ========================================================= 22:01:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:01:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:52 + git log --format=format:%s -1 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] echo 22:01:52 [semverPrep] GIT_COMMIT: e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#317) [Pipeline] echo 22:01:52 [semverPrep] This is not a build commit. [Pipeline] sh 22:01:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:53 + grep -v github /etc/ssh/ssh_known_hosts 22:01:53 + [ -e /tmp/ssh_known_hosts ] 22:01:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:01:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:01:53 + sudo tee -a /etc/ssh/ssh_known_hosts 22:01:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:53 22:01:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:53 0.1.4: Pulling from edgex-devops/py-git-semver 22:01:53 b85a868b505f: Pulling fs layer 22:01:53 e2be974225ed: Pulling fs layer 22:01:53 339a4e72a1f5: Pulling fs layer 22:01:53 988bab9f4d93: Pulling fs layer 22:01:53 1469e6f7b9e6: Pulling fs layer 22:01:53 eaf3925da568: Pulling fs layer 22:01:53 bab4dde63d76: Pulling fs layer 22:01:53 bde34c3a00c8: Pulling fs layer 22:01:53 b352a97aabf1: Pulling fs layer 22:01:53 4872d77fe225: Pulling fs layer 22:01:53 5851b861e8e6: Pulling fs layer 22:01:53 988bab9f4d93: Waiting 22:01:53 1469e6f7b9e6: Waiting 22:01:53 eaf3925da568: Waiting 22:01:53 bab4dde63d76: Waiting 22:01:53 bde34c3a00c8: Waiting 22:01:53 b352a97aabf1: Waiting 22:01:53 4872d77fe225: Waiting 22:01:53 5851b861e8e6: Waiting 22:01:53 e2be974225ed: Verifying Checksum 22:01:53 e2be974225ed: Download complete 22:01:53 988bab9f4d93: Verifying Checksum 22:01:53 988bab9f4d93: Download complete 22:01:53 1469e6f7b9e6: Verifying Checksum 22:01:53 1469e6f7b9e6: Download complete 22:01:53 eaf3925da568: Verifying Checksum 22:01:53 eaf3925da568: Download complete 22:01:54 339a4e72a1f5: Verifying Checksum 22:01:54 339a4e72a1f5: Download complete 22:01:54 bde34c3a00c8: Download complete 22:01:54 b352a97aabf1: Verifying Checksum 22:01:54 b352a97aabf1: Download complete 22:01:54 4872d77fe225: Verifying Checksum 22:01:54 4872d77fe225: Download complete 22:01:54 5851b861e8e6: Download complete 22:01:54 b85a868b505f: Verifying Checksum 22:01:54 b85a868b505f: Download complete 22:01:54 bab4dde63d76: Verifying Checksum 22:01:54 bab4dde63d76: Download complete 22:01:55 b85a868b505f: Pull complete 22:01:55 e2be974225ed: Pull complete 22:01:55 339a4e72a1f5: Pull complete 22:01:55 988bab9f4d93: Pull complete 22:01:56 1469e6f7b9e6: Pull complete 22:01:56 eaf3925da568: Pull complete 22:01:58 bab4dde63d76: Pull complete 22:01:58 bde34c3a00c8: Pull complete 22:01:58 b352a97aabf1: Pull complete 22:01:58 4872d77fe225: Pull complete 22:01:58 5851b861e8e6: Pull complete 22:01:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:01:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:58 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:01:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:00 $ docker top 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 -eo pid,comm 22:02:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:02:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:00 [ssh-agent] Looking for ssh-agent implementation... 22:02:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:00 $ docker exec 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 ssh-agent 22:02:00 SSH_AUTH_SOCK=/tmp/ssh-RNr2pAA0gWUM/agent.33 22:02:00 SSH_AGENT_PID=39 22:02:00 Running ssh-add (command line suppressed) 22:02:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8595856875243864833.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8595856875243864833.key) 22:02:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:00 + git tag --points-at HEAD [Pipeline] } 22:02:00 $ docker exec --env ******** --env ******** 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 ssh-agent -k 22:02:01 unset SSH_AUTH_SOCK; 22:02:01 unset SSH_AGENT_PID; 22:02:01 echo Agent pid 39 killed; 22:02:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:02:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:01 [ssh-agent] Looking for ssh-agent implementation... 22:02:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:01 $ docker exec 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 ssh-agent 22:02:01 SSH_AUTH_SOCK=/tmp/ssh-fLqhKRXCLFdW/agent.72 22:02:01 SSH_AGENT_PID=78 22:02:01 Running ssh-add (command line suppressed) 22:02:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18022933354440103058.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18022933354440103058.key) 22:02:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:01 + git semver init 22:02:01 2023-05-11 22:02:01,908 [run_init] DEBUG init version:0.0.0 force:False 22:02:01 2023-05-11 22:02:01,908 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:02:01 2023-05-11 22:02:01,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:02:01 2023-05-11 22:02:01,909 [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) 22:02:02 2023-05-11 22:02:02,924 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:02:02 2023-05-11 22:02:02,925 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:02:02 2023-05-11 22:02:02,925 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:02:02 2023-05-11 22:02:02,925 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:02:02 3.0.0-dev.41 [Pipeline] } 22:02:03 $ docker exec --env ******** --env ******** 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 ssh-agent -k 22:02:03 unset SSH_AUTH_SOCK; 22:02:03 unset SSH_AGENT_PID; 22:02:03 echo Agent pid 78 killed; 22:02:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:03 + git semver [Pipeline] } 22:02:03 $ docker stop --time=1 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 22:02:05 $ docker rm -f --volumes 4033ac9c8fba82e3103c7eb72b4fc82dc3b3ff92ab5250c78188e86285127b27 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:02:05 Stashed 1 file(s) [Pipeline] echo 22:02:05 [edgeXSemver]: initialized semver on version 3.0.0-dev.41 [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 22:02:06 provisioning config files... 22:02:06 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config529426098192096707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:06 ---> docker-login.sh 22:02:06 nexus3.edgexfoundry.org:10001 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 nexus3.edgexfoundry.org:10002 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 nexus3.edgexfoundry.org:10003 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 nexus3.edgexfoundry.org:10004 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 docker.io 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 ---> docker-login.sh ends [Pipeline] } 22:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:06 ========================================================= 22:02:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:02:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:07 + 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 . 22:02:07 Sending build context to Docker daemon 10.92MB 22:02:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:02:07 Step 2/12 : FROM ${BASE} AS builder 22:02:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:02:07 f56be85fc22e: Pulling fs layer 22:02:07 85791d961cd3: Pulling fs layer 22:02:07 d694b5ae8c79: Pulling fs layer 22:02:07 9f32a84ed3da: Pulling fs layer 22:02:07 4d19c01a9841: Pulling fs layer 22:02:07 9325e15d5711: Pulling fs layer 22:02:07 556b6ee489ea: Pulling fs layer 22:02:07 c5a4b2cf53e6: Pulling fs layer 22:02:07 9f32a84ed3da: Waiting 22:02:07 c5a4b2cf53e6: Waiting 22:02:07 4d19c01a9841: Waiting 22:02:07 556b6ee489ea: Waiting 22:02:07 9325e15d5711: Waiting 22:02:07 85791d961cd3: Verifying Checksum 22:02:07 85791d961cd3: Download complete 22:02:07 9f32a84ed3da: Download complete 22:02:07 4d19c01a9841: Verifying Checksum 22:02:07 f56be85fc22e: Download complete 22:02:07 9325e15d5711: Verifying Checksum 22:02:07 9325e15d5711: Download complete 22:02:07 f56be85fc22e: Pull complete 22:02:07 85791d961cd3: Pull complete 22:02:08 c5a4b2cf53e6: Verifying Checksum 22:02:08 c5a4b2cf53e6: Download complete 22:02:08 d694b5ae8c79: Verifying Checksum 22:02:08 d694b5ae8c79: Download complete 22:02:08 556b6ee489ea: Verifying Checksum 22:02:08 556b6ee489ea: Download complete 22:02:11 d694b5ae8c79: Pull complete 22:02:11 9f32a84ed3da: Pull complete 22:02:11 4d19c01a9841: Pull complete 22:02:11 9325e15d5711: Pull complete 22:02:14 556b6ee489ea: Pull complete 22:02:14 c5a4b2cf53e6: Pull complete 22:02:14 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:02:14 ---> c4be618373d6 22:02:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:02:17 ---> Running in c7a9691bf228 22:02:17 Removing intermediate container c7a9691bf228 22:02:17 ---> 712306582b33 22:02:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:17 ---> Running in 49e81d5ca568 22:02:17 Removing intermediate container 49e81d5ca568 22:02:17 ---> f49af051b5ae 22:02:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:02:17 ---> Running in 85d01e608dbd 22:02:17 Removing intermediate container 85d01e608dbd 22:02:17 ---> f05251b8189e 22:02:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:02:17 ---> Running in 259c0572d680 22:02:17 Removing intermediate container 259c0572d680 22:02:17 ---> a99b2f110c87 22:02:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:17 ---> Running in ca269c5e09ab 22:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:02:18 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:02:18 (2/4) Installing libedit (20221030.3.1-r0) 22:02:18 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:02:18 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:02:18 Executing busybox-1.35.0-r29.trigger 22:02:18 OK: 269 MiB in 57 packages 22:02:18 Removing intermediate container ca269c5e09ab 22:02:18 ---> 2dcfe54e3181 22:02:18 Step 8/12 : WORKDIR /device-rest-go 22:02:18 ---> Running in bab9ae1ace5a 22:02:18 Removing intermediate container bab9ae1ace5a 22:02:18 ---> 44b89b7e0dbd 22:02:18 Step 9/12 : COPY go.mod vendor* ./ 22:02:19 ---> cb6f650fc2e4 22:02:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:19 ---> Running in 78e2756fcf7a 22:02:20 Still waiting to schedule task 22:02:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15243’ 22:02:41 Removing intermediate container 78e2756fcf7a 22:02:41 ---> 7df832c7d100 22:02:41 Step 11/12 : COPY . . 22:02:41 ---> 38370e085d13 22:02:41 Step 12/12 : RUN $MAKE 22:02:41 ---> Running in e635622acf45 22:02:41 noop 22:02:41 Removing intermediate container e635622acf45 22:02:41 ---> ff77c34e1e63 22:02:41 Successfully built ff77c34e1e63 22:02:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:41 + docker inspect -f . ci-base-image-x86_64 22:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:41 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:02:41 $ 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 22:02:42 $ docker top e189d94fdf21329526749b942cc50b39062c977d85071c6906c58eed87e801c9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:42 + go version 22:02:42 go version go1.20.2 linux/amd64 [Pipeline] } 22:02:42 $ docker stop --time=1 e189d94fdf21329526749b942cc50b39062c977d85071c6906c58eed87e801c9 22:02:43 $ docker rm -f --volumes e189d94fdf21329526749b942cc50b39062c977d85071c6906c58eed87e801c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:44 + docker inspect -f . ci-base-image-x86_64 22:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:44 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:02:44 $ 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 22:02:44 $ docker top ff2ebcae551b5ba2d6fe8a0feeb64e2980a2a632ef7ea5470393893cac0a7ebc -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:02:45 + make test 22:02:45 go test ./... -coverprofile=coverage.out ./... 22:02:50 ? github.com/edgexfoundry/device-rest-go [no test files] 22:03:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:03:02 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 32.2% of statements 22:03:07 go vet ./... 22:03:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:12 ./bin/test-attribution-txt.sh [Pipeline] echo 22:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:12 $ docker stop --time=1 ff2ebcae551b5ba2d6fe8a0feeb64e2980a2a632ef7ea5470393893cac0a7ebc 22:03:14 $ docker rm -f --volumes ff2ebcae551b5ba2d6fe8a0feeb64e2980a2a632ef7ea5470393893cac0a7ebc [Pipeline] // withDockerContainer [Pipeline] sh 22:03:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:03:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:03:15 + ls -al . 22:03:15 total 184 22:03:15 drwxrwxr-x 9 jenkins jenkins 4096 May 11 22:02 . 22:03:15 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:01 .. 22:03:15 -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:01 .dockerignore 22:03:15 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:02 .git 22:03:15 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:01 .github 22:03:15 -rw-rw-r-- 1 jenkins jenkins 329 May 11 22:01 .gitignore 22:03:15 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:01 .golangci.yml 22:03:15 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:02 .semver 22:03:15 -rw-rw-r-- 1 jenkins jenkins 9331 May 11 22:01 Attribution.txt 22:03:15 -rw-rw-r-- 1 jenkins jenkins 13085 May 11 22:01 CHANGELOG.md 22:03:15 -rw-rw-r-- 1 jenkins jenkins 1578 May 11 22:01 Dockerfile 22:03:15 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:01 GOVERNANCE.md 22:03:15 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:01 Jenkinsfile 22:03:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:01 LICENSE 22:03:15 -rw-rw-r-- 1 jenkins jenkins 1779 May 11 22:01 Makefile 22:03:15 -rw-rw-r-- 1 jenkins jenkins 620 May 11 22:01 OWNERS.md 22:03:15 -rw-rw-r-- 1 jenkins jenkins 15827 May 11 22:01 README.md 22:03:15 -rw-rw-r-- 1 jenkins jenkins 12 May 11 22:02 VERSION 22:03:15 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:01 bin 22:03:15 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:01 cmd 22:03:15 -rw-r--r-- 1 jenkins jenkins 14663 May 11 22:03 coverage.out 22:03:15 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:01 driver 22:03:15 -rw-rw-r-- 1 jenkins jenkins 3402 May 11 22:01 go.mod 22:03:15 -rw-rw-r-- 1 jenkins jenkins 31328 May 11 22:01 go.sum 22:03:15 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:01 snap 22:03:15 -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:15 + 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=e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 --label arch=amd64 --label version=3.0.0-dev.41 . 22:03:15 Sending build context to Docker daemon 10.93MB 22:03:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:03:15 Step 2/25 : FROM ${BASE} AS builder 22:03:15 ---> ff77c34e1e63 22:03:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:03:15 ---> Running in b6c761c9d903 22:03:16 Removing intermediate container b6c761c9d903 22:03:16 ---> 0a315b71024e 22:03:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:16 ---> Running in abd6308c6174 22:03:16 Removing intermediate container abd6308c6174 22:03:16 ---> e87e2d99e6bf 22:03:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:03:16 ---> Running in c790ae3d0781 22:03:16 Removing intermediate container c790ae3d0781 22:03:16 ---> 30e26727f981 22:03:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:03:16 ---> Running in 9cd81c01c41a 22:03:16 Removing intermediate container 9cd81c01c41a 22:03:16 ---> 3a6931a04954 22:03:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:16 ---> Running in 468f8a753076 22:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:03:17 OK: 269 MiB in 57 packages 22:03:17 Removing intermediate container 468f8a753076 22:03:17 ---> 0b0584a88fe0 22:03:17 Step 8/25 : WORKDIR /device-rest-go 22:03:17 ---> Running in d00ccb6f89d8 22:03:17 Removing intermediate container d00ccb6f89d8 22:03:17 ---> bbb8795ce347 22:03:17 Step 9/25 : COPY go.mod vendor* ./ 22:03:17 ---> bba59754f70f 22:03:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:17 ---> Running in 50b0c2f89b56 22:03:18 Removing intermediate container 50b0c2f89b56 22:03:18 ---> 37b5115df0cf 22:03:18 Step 11/25 : COPY . . 22:03:18 ---> 0aedba2cd9a2 22:03:18 Step 12/25 : RUN $MAKE 22:03:18 ---> Running in dc7b844194d1 22:03:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:03:41 Removing intermediate container dc7b844194d1 22:03:41 ---> d13868d3273d 22:03:41 Step 13/25 : FROM alpine:3.17 22:03:41 3.17: Pulling from library/alpine 22:03:41 f56be85fc22e: Already exists 22:03:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:03:41 Status: Downloaded newer image for alpine:3.17 22:03:41 ---> 9ed4aefc74f6 22:03:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:03:41 ---> Running in e2e815fd2cb4 22:03:41 Removing intermediate container e2e815fd2cb4 22:03:41 ---> 14691a9f581a 22:03:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:03:41 ---> Running in 23514c1446d7 22:03:41 Removing intermediate container 23514c1446d7 22:03:41 ---> 36bf6c2a020d 22:03:41 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:03:41 ---> Running in 9d9b198acf07 22:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:03:41 (1/1) Installing dumb-init (1.2.5-r2) 22:03:41 Executing busybox-1.35.0-r29.trigger 22:03:41 OK: 7 MiB in 16 packages 22:03:41 Removing intermediate container 9d9b198acf07 22:03:41 ---> 4cccc723e591 22:03:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:03:41 ---> fd40ad6a306b 22:03:41 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:03:41 ---> 60a8306bae91 22:03:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:03:41 ---> 6b16c85d289b 22:03:41 Step 20/25 : EXPOSE 59986 22:03:41 ---> Running in 593f7feffed3 22:03:41 Removing intermediate container 593f7feffed3 22:03:41 ---> 419729745a6f 22:03:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:03:41 ---> Running in b246d8c6d849 22:03:41 Removing intermediate container b246d8c6d849 22:03:41 ---> 4351d08c150c 22:03:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:03:41 ---> Running in e1669333f5f1 22:03:41 Removing intermediate container e1669333f5f1 22:03:41 ---> a039d2336c07 22:03:41 Step 23/25 : LABEL arch=amd64 22:03:41 ---> Running in 8f7e665e93e8 22:03:41 Removing intermediate container 8f7e665e93e8 22:03:41 ---> f8fd6981f496 22:03:41 Step 24/25 : LABEL git_sha=e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:03:41 ---> Running in df92d58e8a7c 22:03:41 Removing intermediate container df92d58e8a7c 22:03:41 ---> 10fa075854af 22:03:41 Step 25/25 : LABEL version=3.0.0-dev.41 22:03:41 ---> Running in 0d4c7c1afafd 22:03:41 Removing intermediate container 0d4c7c1afafd 22:03:41 ---> 9c8b42d710bf 22:03:41 [Warning] One or more build-args [ARCH] were not consumed 22:03:41 Successfully built 9c8b42d710bf 22:03:41 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:42 provisioning config files... 22:03:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10970867197372782502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:42 ---> docker-login.sh 22:03:42 nexus3.edgexfoundry.org:10001 22:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:42 Configure a credential helper to remove this warning. See 22:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:42 22:03:42 Login Succeeded 22:03:42 nexus3.edgexfoundry.org:10002 22:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:42 Configure a credential helper to remove this warning. See 22:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:42 22:03:42 Login Succeeded 22:03:42 nexus3.edgexfoundry.org:10003 22:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:42 Configure a credential helper to remove this warning. See 22:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:42 22:03:42 Login Succeeded 22:03:42 nexus3.edgexfoundry.org:10004 22:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:42 Configure a credential helper to remove this warning. See 22:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:42 22:03:42 Login Succeeded 22:03:42 docker.io 22:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:43 Configure a credential helper to remove this warning. See 22:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:43 22:03:43 Login Succeeded 22:03:43 ---> docker-login.sh ends [Pipeline] } 22:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:43 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:03:43 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:03:43 latest 22:03:43 3.0.0-dev.41 22:03:43 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 22:03:43 main 22:03:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:03:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:03:43 3a07426ed86e: Preparing 22:03:43 128344255086: Preparing 22:03:43 e19cd8c87953: Preparing 22:03:43 d5df1170aad1: Preparing 22:03:43 f1417ff83b31: Preparing 22:03:43 f1417ff83b31: Layer already exists 22:03:43 d5df1170aad1: Pushed 22:03:43 128344255086: Pushed 22:03:43 3a07426ed86e: Pushed 22:03:47 e19cd8c87953: Pushed 22:03:47 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613: digest: sha256:73d1d3b7a1c2bda4cf2f9395b4b2f8ce232732d8e56c7500ceff3f77d6ad1e95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:03:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:03:47 3a07426ed86e: Preparing 22:03:47 128344255086: Preparing 22:03:47 e19cd8c87953: Preparing 22:03:47 d5df1170aad1: Preparing 22:03:47 f1417ff83b31: Preparing 22:03:47 f1417ff83b31: Layer already exists 22:03:47 d5df1170aad1: Layer already exists 22:03:47 3a07426ed86e: Layer already exists 22:03:47 e19cd8c87953: Layer already exists 22:03:47 128344255086: Layer already exists 22:03:47 latest: digest: sha256:73d1d3b7a1c2bda4cf2f9395b4b2f8ce232732d8e56c7500ceff3f77d6ad1e95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.41 22:03:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:03:48 3a07426ed86e: Preparing 22:03:48 128344255086: Preparing 22:03:48 e19cd8c87953: Preparing 22:03:48 d5df1170aad1: Preparing 22:03:48 f1417ff83b31: Preparing 22:03:48 d5df1170aad1: Layer already exists 22:03:48 128344255086: Layer already exists 22:03:48 f1417ff83b31: Layer already exists 22:03:48 e19cd8c87953: Layer already exists 22:03:48 3a07426ed86e: Layer already exists 22:03:48 3.0.0-dev.41: digest: sha256:73d1d3b7a1c2bda4cf2f9395b4b2f8ce232732d8e56c7500ceff3f77d6ad1e95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 22:03:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:03:49 3a07426ed86e: Preparing 22:03:49 128344255086: Preparing 22:03:49 e19cd8c87953: Preparing 22:03:49 d5df1170aad1: Preparing 22:03:49 f1417ff83b31: Preparing 22:03:49 d5df1170aad1: Layer already exists 22:03:49 e19cd8c87953: Layer already exists 22:03:49 f1417ff83b31: Layer already exists 22:03:49 3a07426ed86e: Layer already exists 22:03:49 128344255086: Layer already exists 22:03:49 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41: digest: sha256:73d1d3b7a1c2bda4cf2f9395b4b2f8ce232732d8e56c7500ceff3f77d6ad1e95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:03:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:03:49 3a07426ed86e: Preparing 22:03:49 128344255086: Preparing 22:03:49 e19cd8c87953: Preparing 22:03:49 d5df1170aad1: Preparing 22:03:49 f1417ff83b31: Preparing 22:03:49 3a07426ed86e: Layer already exists 22:03:49 f1417ff83b31: Layer already exists 22:03:49 d5df1170aad1: Layer already exists 22:03:49 e19cd8c87953: Layer already exists 22:03:49 128344255086: Layer already exists 22:03:49 main: digest: sha256:73d1d3b7a1c2bda4cf2f9395b4b2f8ce232732d8e56c7500ceff3f77d6ad1e95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:49 ===================================================== [Pipeline] echo 22:03:49 taggedImages: 22:03:49 - nexus3.edgexfoundry.org:10004/device-rest:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:03:49 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:03:49 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.41 22:03:49 - nexus3.edgexfoundry.org:10004/device-rest:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 22:03:49 - 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 22:03:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:50 22:03:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:50 latest: Pulling from edgex-lftools-log-publisher 22:03:50 5eb5b503b376: Pulling fs layer 22:03:50 5c69ac0246d0: Pulling fs layer 22:03:50 ec43610c2a17: Pulling fs layer 22:03:50 3a2ae6a8a46f: Pulling fs layer 22:03:50 33b1e0a273af: Pulling fs layer 22:03:50 5d3b04190fa2: Pulling fs layer 22:03:50 2f39f015ded8: Pulling fs layer 22:03:50 5d3b04190fa2: Waiting 22:03:50 3a2ae6a8a46f: Waiting 22:03:50 33b1e0a273af: Waiting 22:03:50 2f39f015ded8: Waiting 22:03:50 5c69ac0246d0: Verifying Checksum 22:03:50 5c69ac0246d0: Download complete 22:03:50 3a2ae6a8a46f: Verifying Checksum 22:03:50 33b1e0a273af: Verifying Checksum 22:03:50 33b1e0a273af: Download complete 22:03:50 ec43610c2a17: Verifying Checksum 22:03:50 ec43610c2a17: Download complete 22:03:50 5d3b04190fa2: Download complete 22:03:50 5eb5b503b376: Verifying Checksum 22:03:50 5eb5b503b376: Download complete 22:03:51 2f39f015ded8: Download complete 22:03:52 5eb5b503b376: Pull complete 22:03:52 5c69ac0246d0: Pull complete 22:03:52 ec43610c2a17: Pull complete 22:03:53 3a2ae6a8a46f: Pull complete 22:03:53 33b1e0a273af: Pull complete 22:03:53 5d3b04190fa2: Pull complete 22:03:57 2f39f015ded8: Pull complete 22:03:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:03:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:57 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:03:57 $ 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 22:03:59 $ docker top 3b64f8503235bf5321d886bd23e15616914b6578e3162909c00602b6b7d6c742 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:59 ---> job-cost.sh 22:03:59 lf-activate-venv: SKIPPING 22:03:59 INFO: No Stack... 22:04:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:04:00 INFO: Archiving Costs [Pipeline] sh 22:04:00 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:04:00 + cut -d, -f6 [Pipeline] lock 22:04:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] 22:04:00 Resource [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] did not exist. Created. 22:04:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:04:01 + echo total: 0.2199999988079071 [Pipeline] stash 22:04:01 Stashed 1 file(s) [Pipeline] } 22:04:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } 22:04:01 $ docker stop --time=1 3b64f8503235bf5321d886bd23e15616914b6578e3162909c00602b6b7d6c742 22:04:02 $ docker rm -f --volumes 3b64f8503235bf5321d886bd23e15616914b6578e3162909c00602b6b7d6c742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:04:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15246 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:04:50 Running in /w/workspace/device-rest-go/113 [Pipeline] { [Pipeline] checkout 22:04:50 The recommended git tool is: git 22:04:56 using credential edgex-jenkins-ssh 22:04:56 Cloning the remote Git repository 22:04:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:04:56 > git init /w/workspace/device-rest-go/113 # timeout=10 22:04:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:04:57 > git --version # timeout=10 22:04:57 > git --version # 'git version 2.25.1' 22:04:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:04:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:04:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:04:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:00 Avoid second fetch 22:05:00 Checking out Revision e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 (main) 22:05:01 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#317)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:00 > git config core.sparsecheckout # timeout=10 22:05:00 > git checkout -f e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 22:05:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:05:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:05:02 Dload Upload Total Spent Left Speed 22:05:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 22:05:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:05:03 + sudo tee /etc/docker/daemon.new 22:05:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:05:03 { 22:05:03 "registry-mirrors": [ 22:05:03 "https://nexus3.edgexfoundry.org:10001" 22:05:03 ], 22:05:03 "bip": "10.250.0.254/24", 22:05:03 "hosts": [ 22:05:03 "tcp://0.0.0.0:5555", 22:05:03 "unix:///var/run/docker.sock" 22:05:03 ], 22:05:03 "mtu": 1458, 22:05:03 "selinux-enabled": true, 22:05:03 "seccomp-profile": "/etc/docker/seccomp.json" 22:05:03 } [Pipeline] sh 22:05:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:05:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:22 provisioning config files... 22:05:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/113@tmp/config14967058769359697191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:22 ---> docker-login.sh 22:05:22 nexus3.edgexfoundry.org:10001 22:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:23 Configure a credential helper to remove this warning. See 22:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:23 22:05:23 Login Succeeded 22:05:23 nexus3.edgexfoundry.org:10002 22:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:24 Configure a credential helper to remove this warning. See 22:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:24 22:05:24 Login Succeeded 22:05:24 nexus3.edgexfoundry.org:10003 22:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:24 Configure a credential helper to remove this warning. See 22:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:24 22:05:24 Login Succeeded 22:05:24 nexus3.edgexfoundry.org:10004 22:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:24 Configure a credential helper to remove this warning. See 22:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:24 22:05:24 Login Succeeded 22:05:24 docker.io 22:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:25 Configure a credential helper to remove this warning. See 22:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:25 22:05:25 Login Succeeded 22:05:25 ---> docker-login.sh ends [Pipeline] } 22:05:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:25 ========================================================= 22:05:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:05:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:26 + 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 . 22:05:26 Sending build context to Docker daemon 139.3kB 22:05:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:05:26 Step 2/12 : FROM ${BASE} AS builder 22:05:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:05:26 c41833b44d91: Pulling fs layer 22:05:26 ed15518f5707: Pulling fs layer 22:05:26 feae8fd75edb: Pulling fs layer 22:05:26 242c74f7c9fa: Pulling fs layer 22:05:26 3cdef696dda3: Pulling fs layer 22:05:26 2ced38df9373: Pulling fs layer 22:05:26 58f1dce35555: Pulling fs layer 22:05:26 242c74f7c9fa: Waiting 22:05:26 3cdef696dda3: Waiting 22:05:26 2ced38df9373: Waiting 22:05:26 58f1dce35555: Waiting 22:05:26 ed15518f5707: Verifying Checksum 22:05:26 ed15518f5707: Download complete 22:05:26 242c74f7c9fa: Verifying Checksum 22:05:26 242c74f7c9fa: Download complete 22:05:26 3cdef696dda3: Verifying Checksum 22:05:26 3cdef696dda3: Download complete 22:05:26 c41833b44d91: Verifying Checksum 22:05:26 c41833b44d91: Download complete 22:05:28 c41833b44d91: Pull complete 22:05:28 58f1dce35555: Verifying Checksum 22:05:28 58f1dce35555: Download complete 22:05:28 ed15518f5707: Pull complete 22:05:29 feae8fd75edb: Verifying Checksum 22:05:29 feae8fd75edb: Download complete 22:05:30 2ced38df9373: Verifying Checksum 22:05:30 2ced38df9373: Download complete 22:05:40 feae8fd75edb: Pull complete 22:05:40 242c74f7c9fa: Pull complete 22:05:40 3cdef696dda3: Pull complete 22:05:47 2ced38df9373: Pull complete 22:05:50 58f1dce35555: Pull complete 22:05:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:05:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:05:50 ---> fadd8f120f05 22:05:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:05:51 ---> Running in 68f42ad9c463 22:05:52 Removing intermediate container 68f42ad9c463 22:05:52 ---> b6261e9c7031 22:05:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:05:52 ---> Running in 8b10b1d44916 22:05:52 Removing intermediate container 8b10b1d44916 22:05:52 ---> b914ca3b67ec 22:05:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:05:52 ---> Running in 9bb59737e229 22:05:53 Removing intermediate container 9bb59737e229 22:05:53 ---> 8a49482998a0 22:05:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:05:53 ---> Running in 44941a9e938f 22:05:53 Removing intermediate container 44941a9e938f 22:05:53 ---> ae4d3123d89f 22:05:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:05:53 ---> Running in 9b28947a4eb5 22:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:05:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:05:56 (2/4) Installing libedit (20221030.3.1-r0) 22:05:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:05:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:05:56 Executing busybox-1.35.0-r29.trigger 22:05:56 OK: 268 MiB in 57 packages 22:05:57 Removing intermediate container 9b28947a4eb5 22:05:57 ---> cebad108c9ec 22:05:57 Step 8/12 : WORKDIR /device-rest-go 22:05:58 ---> Running in 473041176d21 22:05:58 Removing intermediate container 473041176d21 22:05:58 ---> 0d3d56e9ac3c 22:05:58 Step 9/12 : COPY go.mod vendor* ./ 22:05:59 ---> 9a4bf1269752 22:05:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:05:59 ---> Running in 83cfab0f7efa 22:07:06 Removing intermediate container 83cfab0f7efa 22:07:06 ---> 032913308fdd 22:07:06 Step 11/12 : COPY . . 22:07:06 ---> 1c3936954431 22:07:06 Step 12/12 : RUN $MAKE 22:07:06 ---> Running in 66ef6e50dfd3 22:07:06 noop 22:07:06 Removing intermediate container 66ef6e50dfd3 22:07:06 ---> 8845679989b1 22:07:06 Successfully built 8845679989b1 22:07:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:07 + docker inspect -f . ci-base-image-arm64 22:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:07 prd-ubuntu20.04-docker-arm64-4c-16g-15246 does not seem to be running inside a container 22:07:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/113 -v /w/workspace/device-rest-go/113:/w/workspace/device-rest-go/113:rw,z -v /w/workspace/device-rest-go/113@tmp:/w/workspace/device-rest-go/113@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 22:07:08 $ docker top 627a29bf8202a78c4dcb80f648289395af0c2f61cad171c45c31a909ff67633b -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:09 + go version 22:07:09 go version go1.20.2 linux/arm64 [Pipeline] } 22:07:09 $ docker stop --time=1 627a29bf8202a78c4dcb80f648289395af0c2f61cad171c45c31a909ff67633b 22:07:11 $ docker rm -f --volumes 627a29bf8202a78c4dcb80f648289395af0c2f61cad171c45c31a909ff67633b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:11 + docker inspect -f . ci-base-image-arm64 22:07:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:12 prd-ubuntu20.04-docker-arm64-4c-16g-15246 does not seem to be running inside a container 22:07:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/113 -v /w/workspace/device-rest-go/113:/w/workspace/device-rest-go/113:rw,z -v /w/workspace/device-rest-go/113@tmp:/w/workspace/device-rest-go/113@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 22:07:13 $ docker top d06b1f897700f931dd35009acbbf73bea57a73295c39273f528d6161d8359a54 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:13 + git config --global --add safe.directory /w/workspace/device-rest-go/113 [Pipeline] fileExists [Pipeline] sh 22:07:14 + make test 22:07:14 go test ./... -coverprofile=coverage.out ./... 22:07:53 ? github.com/edgexfoundry/device-rest-go [no test files] 22:10:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:10:00 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 32.2% of statements 22:10:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:10:00 go vet ./... 22:10:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:10:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:10:41 ./bin/test-attribution-txt.sh [Pipeline] echo 22:10:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:10:41 $ docker stop --time=1 d06b1f897700f931dd35009acbbf73bea57a73295c39273f528d6161d8359a54 22:10:43 $ docker rm -f --volumes d06b1f897700f931dd35009acbbf73bea57a73295c39273f528d6161d8359a54 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:10:44 Warning: overwriting stash ‘coverage-report’ 22:10:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:10:45 + ls -al . 22:10:45 total 180 22:10:45 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:07 . 22:10:45 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:04 .. 22:10:45 -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:05 .dockerignore 22:10:45 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:05 .git 22:10:45 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:05 .github 22:10:45 -rw-rw-r-- 1 jenkins jenkins 329 May 11 22:05 .gitignore 22:10:45 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:05 .golangci.yml 22:10:45 -rw-rw-r-- 1 jenkins jenkins 9331 May 11 22:05 Attribution.txt 22:10:45 -rw-rw-r-- 1 jenkins jenkins 13085 May 11 22:05 CHANGELOG.md 22:10:45 -rw-rw-r-- 1 jenkins jenkins 1578 May 11 22:05 Dockerfile 22:10:45 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:05 GOVERNANCE.md 22:10:45 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:05 Jenkinsfile 22:10:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:05 LICENSE 22:10:45 -rw-rw-r-- 1 jenkins jenkins 1779 May 11 22:05 Makefile 22:10:45 -rw-rw-r-- 1 jenkins jenkins 620 May 11 22:05 OWNERS.md 22:10:45 -rw-rw-r-- 1 jenkins jenkins 15827 May 11 22:05 README.md 22:10:45 -rw-rw-r-- 1 jenkins jenkins 12 May 11 22:02 VERSION 22:10:45 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:05 bin 22:10:45 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:05 cmd 22:10:45 -rw-r--r-- 1 jenkins jenkins 14663 May 11 22:09 coverage.out 22:10:45 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:05 driver 22:10:45 -rw-rw-r-- 1 jenkins jenkins 3402 May 11 22:05 go.mod 22:10:45 -rw-rw-r-- 1 jenkins jenkins 31328 May 11 22:05 go.sum 22:10:45 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:05 snap 22:10:45 -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:46 + 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=e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 --label arch=arm64 --label version=3.0.0-dev.41 . 22:10:46 Sending build context to Docker daemon 154.6kB 22:10:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:10:46 Step 2/25 : FROM ${BASE} AS builder 22:10:46 ---> 8845679989b1 22:10:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:10:47 ---> Running in e25bf67eb7d5 22:10:47 Removing intermediate container e25bf67eb7d5 22:10:47 ---> a13d2dd8c9d6 22:10:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:10:47 ---> Running in 12583f6fdb95 22:10:48 Removing intermediate container 12583f6fdb95 22:10:48 ---> b5388e61449e 22:10:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:10:48 ---> Running in 4876b1c23208 22:10:48 Removing intermediate container 4876b1c23208 22:10:48 ---> d757d9694d83 22:10:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:10:48 ---> Running in a3f9639fe9f4 22:10:48 Removing intermediate container a3f9639fe9f4 22:10:48 ---> 01f4d26b7108 22:10:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:10:49 ---> Running in 1d602dbb603e 22:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:10:51 OK: 268 MiB in 57 packages 22:10:52 Removing intermediate container 1d602dbb603e 22:10:52 ---> b8a3c08190ed 22:10:52 Step 8/25 : WORKDIR /device-rest-go 22:10:52 ---> Running in 83d6ccc76e5d 22:10:52 Removing intermediate container 83d6ccc76e5d 22:10:52 ---> 6b7a3ba7ccbf 22:10:52 Step 9/25 : COPY go.mod vendor* ./ 22:10:53 ---> bd9390c1aebb 22:10:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:10:53 ---> Running in 3875f714c01c 22:10:56 Removing intermediate container 3875f714c01c 22:10:56 ---> 0cdd785b9f5f 22:10:56 Step 11/25 : COPY . . 22:10:56 ---> bea8443b6e97 22:10:56 Step 12/25 : RUN $MAKE 22:10:56 ---> Running in a3660532d1fc 22:10:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:13:18 Removing intermediate container a3660532d1fc 22:13:18 ---> db12e7cd4973 22:13:18 Step 13/25 : FROM alpine:3.17 22:13:18 3.17: Pulling from library/alpine 22:13:18 c41833b44d91: Already exists 22:13:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:13:18 Status: Downloaded newer image for alpine:3.17 22:13:18 ---> 51e60588ff2c 22:13:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:13:18 ---> Running in 598249c6b036 22:13:18 Removing intermediate container 598249c6b036 22:13:18 ---> 592d4657e8fc 22:13:18 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:13:18 ---> Running in 6081d58984ca 22:13:18 Removing intermediate container 6081d58984ca 22:13:18 ---> 73cd7cb1fbad 22:13:18 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:13:18 ---> Running in 46b2e37d5afb 22:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:18 (1/1) Installing dumb-init (1.2.5-r2) 22:13:18 Executing busybox-1.35.0-r29.trigger 22:13:18 OK: 8 MiB in 16 packages 22:13:18 Removing intermediate container 46b2e37d5afb 22:13:18 ---> 3479e2e084a1 22:13:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:13:18 ---> b0412a34932c 22:13:18 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:13:19 ---> f0a3407a5215 22:13:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:13:20 ---> 00890d231b2f 22:13:20 Step 20/25 : EXPOSE 59986 22:13:20 ---> Running in 04f2ca9ac33d 22:13:20 Removing intermediate container 04f2ca9ac33d 22:13:20 ---> f74256b1e9b2 22:13:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:13:20 ---> Running in a5cae2141294 22:13:20 Removing intermediate container a5cae2141294 22:13:20 ---> f00c793d8162 22:13:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:13:20 ---> Running in a406903d0db9 22:13:21 Removing intermediate container a406903d0db9 22:13:21 ---> eb312fcfad16 22:13:21 Step 23/25 : LABEL arch=arm64 22:13:21 ---> Running in 24fdbdeb6b20 22:13:21 Removing intermediate container 24fdbdeb6b20 22:13:21 ---> 34df012cbd15 22:13:21 Step 24/25 : LABEL git_sha=e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:13:21 ---> Running in bd9a38d219be 22:13:22 Removing intermediate container bd9a38d219be 22:13:22 ---> 4500f328233a 22:13:22 Step 25/25 : LABEL version=3.0.0-dev.41 22:13:22 ---> Running in f1834505533e 22:13:24 Removing intermediate container f1834505533e 22:13:24 ---> 9d06e5054db9 22:13:24 [Warning] One or more build-args [ARCH] were not consumed 22:13:24 Successfully built 9d06e5054db9 22:13:24 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 22:13:24 provisioning config files... 22:13:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/113@tmp/config12930693053879502476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:24 ---> docker-login.sh 22:13:24 nexus3.edgexfoundry.org:10001 22:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:24 Configure a credential helper to remove this warning. See 22:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:24 22:13:24 Login Succeeded 22:13:24 nexus3.edgexfoundry.org:10002 22:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:25 Configure a credential helper to remove this warning. See 22:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:25 22:13:25 Login Succeeded 22:13:25 nexus3.edgexfoundry.org:10003 22:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:25 Configure a credential helper to remove this warning. See 22:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:25 22:13:25 Login Succeeded 22:13:25 nexus3.edgexfoundry.org:10004 22:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:25 Configure a credential helper to remove this warning. See 22:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:25 22:13:25 Login Succeeded 22:13:25 docker.io 22:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:26 Configure a credential helper to remove this warning. See 22:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:26 22:13:26 Login Succeeded 22:13:26 ---> docker-login.sh ends [Pipeline] } 22:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:26 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:13:26 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:13:26 latest 22:13:26 3.0.0-dev.41 22:13:26 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 22:13:26 main 22:13:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:13:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:13:27 becda48de5a5: Preparing 22:13:27 bf4bbde5123b: Preparing 22:13:27 716b25f3ad4c: Preparing 22:13:27 56ad32ccee79: Preparing 22:13:27 26cbea5cba74: Preparing 22:13:27 26cbea5cba74: Layer already exists 22:13:27 bf4bbde5123b: Pushed 22:13:27 becda48de5a5: Pushed 22:13:27 56ad32ccee79: Pushed 22:13:32 716b25f3ad4c: Pushed 22:13:32 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613: digest: sha256:2aa6fd9d8678027acaf756434b77fff19d4128dff97a1385c34dd9539434b651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:13:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:13:33 becda48de5a5: Preparing 22:13:33 bf4bbde5123b: Preparing 22:13:33 716b25f3ad4c: Preparing 22:13:33 56ad32ccee79: Preparing 22:13:33 26cbea5cba74: Preparing 22:13:33 56ad32ccee79: Layer already exists 22:13:33 716b25f3ad4c: Layer already exists 22:13:33 bf4bbde5123b: Layer already exists 22:13:33 26cbea5cba74: Layer already exists 22:13:33 becda48de5a5: Layer already exists 22:13:33 latest: digest: sha256:2aa6fd9d8678027acaf756434b77fff19d4128dff97a1385c34dd9539434b651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.41 22:13:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:13:34 becda48de5a5: Preparing 22:13:34 bf4bbde5123b: Preparing 22:13:34 716b25f3ad4c: Preparing 22:13:34 56ad32ccee79: Preparing 22:13:34 26cbea5cba74: Preparing 22:13:34 56ad32ccee79: Layer already exists 22:13:34 becda48de5a5: Layer already exists 22:13:34 bf4bbde5123b: Layer already exists 22:13:34 26cbea5cba74: Layer already exists 22:13:34 716b25f3ad4c: Layer already exists 22:13:34 3.0.0-dev.41: digest: sha256:2aa6fd9d8678027acaf756434b77fff19d4128dff97a1385c34dd9539434b651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 22:13:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:13:35 becda48de5a5: Preparing 22:13:35 bf4bbde5123b: Preparing 22:13:35 716b25f3ad4c: Preparing 22:13:35 56ad32ccee79: Preparing 22:13:35 26cbea5cba74: Preparing 22:13:35 becda48de5a5: Layer already exists 22:13:35 56ad32ccee79: Layer already exists 22:13:35 bf4bbde5123b: Layer already exists 22:13:35 716b25f3ad4c: Layer already exists 22:13:35 26cbea5cba74: Layer already exists 22:13:35 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41: digest: sha256:2aa6fd9d8678027acaf756434b77fff19d4128dff97a1385c34dd9539434b651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:13:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:13:35 becda48de5a5: Preparing 22:13:35 bf4bbde5123b: Preparing 22:13:35 716b25f3ad4c: Preparing 22:13:35 56ad32ccee79: Preparing 22:13:35 26cbea5cba74: Preparing 22:13:35 26cbea5cba74: Layer already exists 22:13:35 716b25f3ad4c: Layer already exists 22:13:35 56ad32ccee79: Layer already exists 22:13:35 bf4bbde5123b: Layer already exists 22:13:35 becda48de5a5: Layer already exists 22:13:35 main: digest: sha256:2aa6fd9d8678027acaf756434b77fff19d4128dff97a1385c34dd9539434b651 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:13:36 ===================================================== [Pipeline] echo 22:13:36 taggedImages: 22:13:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 22:13:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:13:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.41 22:13:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613-3.0.0-dev.41 22:13:36 - 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 22:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:13:36 22:13:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:13:36 arm64: Pulling from edgex-lftools-log-publisher 22:13:36 8998bd30e6a1: Pulling fs layer 22:13:36 04944245beec: Pulling fs layer 22:13:36 699f458cf7ca: Pulling fs layer 22:13:36 765212b225bb: Pulling fs layer 22:13:36 f23df028b6ca: Pulling fs layer 22:13:36 d65c8cfc05b1: Pulling fs layer 22:13:36 2437ff75d9bd: Pulling fs layer 22:13:36 f23df028b6ca: Waiting 22:13:36 d65c8cfc05b1: Waiting 22:13:36 2437ff75d9bd: Waiting 22:13:36 765212b225bb: Waiting 22:13:37 04944245beec: Verifying Checksum 22:13:37 04944245beec: Download complete 22:13:37 765212b225bb: Verifying Checksum 22:13:37 765212b225bb: Download complete 22:13:37 f23df028b6ca: Download complete 22:13:37 d65c8cfc05b1: Verifying Checksum 22:13:37 d65c8cfc05b1: Download complete 22:13:37 699f458cf7ca: Verifying Checksum 22:13:37 699f458cf7ca: Download complete 22:13:37 8998bd30e6a1: Verifying Checksum 22:13:37 8998bd30e6a1: Download complete 22:13:39 2437ff75d9bd: Download complete 22:13:41 8998bd30e6a1: Pull complete 22:13:42 04944245beec: Pull complete 22:13:43 699f458cf7ca: Pull complete 22:13:43 765212b225bb: Pull complete 22:13:44 f23df028b6ca: Pull complete 22:13:44 d65c8cfc05b1: Pull complete 22:13:59 2437ff75d9bd: Pull complete 22:13:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:13:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:59 prd-ubuntu20.04-docker-arm64-4c-16g-15246 does not seem to be running inside a container 22:13:59 $ 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/113 -v /w/workspace/device-rest-go/113:/w/workspace/device-rest-go/113:rw,z -v /w/workspace/device-rest-go/113@tmp:/w/workspace/device-rest-go/113@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 22:14:02 $ docker top eb6a2d4e30523adcc2393270d11b4bd5aa26b72e7e387e5b1d453baca574f975 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:03 ---> job-cost.sh 22:14:03 lf-activate-venv: SKIPPING 22:14:03 INFO: No Stack... 22:14:03 INFO: Retrieving Pricing Info for: v3-standard-4 22:14:04 INFO: Archiving Costs [Pipeline] sh 22:14:05 + cat /w/workspace/device-rest-go/113/archives/cost.csv 22:14:05 + cut -d, -f6 [Pipeline] lock 22:14:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] 22:14:05 Resource [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] did not exist. Created. 22:14:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:05 /w/workspace/device-rest-go/113@tmp/durable-c869c0f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:14:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:14:06 Warning: overwriting stash ‘stack-cost’ 22:14:06 Stashed 1 file(s) [Pipeline] } 22:14:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:06 $ docker stop --time=1 eb6a2d4e30523adcc2393270d11b4bd5aa26b72e7e387e5b1d453baca574f975 22:14:07 $ docker rm -f --volumes eb6a2d4e30523adcc2393270d11b4bd5aa26b72e7e387e5b1d453baca574f975 [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 22:14:08 provisioning config files... 22:14:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8317124636064782221tmp [Pipeline] { [Pipeline] sh 22:14:08 + set +x 22:14:08 + curl -s https://codecov.io/bash 22:14:08 + bash -s -- 22:14:08 22:14:08 _____ _ 22:14:08 / ____| | | 22:14:08 | | ___ __| | ___ ___ _____ __ 22:14:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:14:08 | |___| (_) | (_| | __/ (_| (_) \ V / 22:14:08 \_____\___/ \__,_|\___|\___\___/ \_/ 22:14:08 Bash-1.0.6 22:14:08 22:14:08 22:14:08 ==> git version 2.25.1 found 22:14:08 ==> 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 22:14:08 Release-Date: 2020-01-08 22:14:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:14:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:14:08 ==> Jenkins CI detected. 22:14:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:14:08 project root: . 22:14:08 --> token set from env 22:14:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:14:08 ==> Running gcov in . (disable via -X gcov) 22:14:08 ==> Python coveragepy not found 22:14:08 ==> Searching for coverage reports in: 22:14:08 + . 22:14:08 -> Found 1 reports 22:14:08 ==> Detecting git/mercurial file structure 22:14:08 ==> Reading reports 22:14:08 + ./coverage.out bytes=14663 22:14:08 ==> Appending adjustments 22:14:08 https://docs.codecov.io/docs/fixing-reports 22:14:08 + Found adjustments 22:14:08 ==> Gzipping contents 22:14:08 4.0K /tmp/codecov.t1Ghhz.gz 22:14:08 ==> Uploading reports 22:14:08 url: https://codecov.io 22:14:08 query: branch=main&commit=e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:14:08 -> Pinging Codecov 22:14:08 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=e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:14:08 -> Uploading to 22:14:08 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/4E5D53B4F1F92C436F7061BF334D961C/e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613/8d4ca327-8c02-4be2-b368-ef342a191a86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T221408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8034e4bf58c63ef6d168f09962c01a2827e3cdf45024dad89ab53806b4a8d8aa 22:14:08 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:08 Dload Upload Total Spent Left Speed 22:14:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10329 --:--:-- --:--:-- --:--:-- 10329 22:14:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] } 22:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:14:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:14:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:14:09 22:14:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:14:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:14:09 df9b9388f04a: Pulling fs layer 22:14:09 52dc419b0ee2: Pulling fs layer 22:14:09 25bc292e5bac: Pulling fs layer 22:14:09 114826534d7a: Pulling fs layer 22:14:09 4657fd5d0bcf: Pulling fs layer 22:14:09 6ad1cebc031e: Pulling fs layer 22:14:09 8a3aa393b2d8: Pulling fs layer 22:14:09 8a3aa393b2d8: Waiting 22:14:09 6ad1cebc031e: Waiting 22:14:09 4657fd5d0bcf: Waiting 22:14:09 25bc292e5bac: Verifying Checksum 22:14:09 25bc292e5bac: Download complete 22:14:09 52dc419b0ee2: Verifying Checksum 22:14:09 52dc419b0ee2: Download complete 22:14:09 4657fd5d0bcf: Verifying Checksum 22:14:09 4657fd5d0bcf: Download complete 22:14:09 df9b9388f04a: Verifying Checksum 22:14:10 6ad1cebc031e: Verifying Checksum 22:14:10 6ad1cebc031e: Download complete 22:14:10 df9b9388f04a: Pull complete 22:14:10 52dc419b0ee2: Pull complete 22:14:10 25bc292e5bac: Pull complete 22:14:10 114826534d7a: Verifying Checksum 22:14:10 114826534d7a: Download complete 22:14:10 8a3aa393b2d8: Verifying Checksum 22:14:10 8a3aa393b2d8: Download complete 22:14:14 114826534d7a: Pull complete 22:14:14 4657fd5d0bcf: Pull complete 22:14:14 6ad1cebc031e: Pull complete 22:14:16 8a3aa393b2d8: Pull complete 22:14:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:14:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:14:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:16 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:14:16 $ 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 22:14:20 $ docker top a93575796fd9f5acf3f0398ff8fe94d02acabf3a1accf3a2886b068e6b0b407a -eo pid,comm [Pipeline] { [Pipeline] echo 22:14:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:14:20 + set -o pipefail 22:14:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:14:24 22:14:24 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:14:24 22:14:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/48d64a25-fe0e-49f5-b7ee-ed56b27b4b89 22:14:24 22:14:24 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:14:24 22:14:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:14:24 22:14:24 22:14:24 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:14:24 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:14:24 More details here: https://snyk.co/ue1NS 22:14:24 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:14:24 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:14:24 $ docker stop --time=1 a93575796fd9f5acf3f0398ff8fe94d02acabf3a1accf3a2886b068e6b0b407a 22:14:26 $ docker rm -f --volumes a93575796fd9f5acf3f0398ff8fe94d02acabf3a1accf3a2886b068e6b0b407a [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 22:14:27 + git log --format=format:%s -1 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 [Pipeline] sh 22:14:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:14:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:28 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:14:28 $ 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 22:14:28 $ docker top db149d1f0ff6bb3107e2d13fac4029fe2349e9449321e2b8a8a293a8305e672d -eo pid,comm 22:14:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:14:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:28 [ssh-agent] Looking for ssh-agent implementation... 22:14:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:28 $ docker exec db149d1f0ff6bb3107e2d13fac4029fe2349e9449321e2b8a8a293a8305e672d ssh-agent 22:14:28 SSH_AUTH_SOCK=/tmp/ssh-qa7IhnMwTpzG/agent.31 22:14:28 SSH_AGENT_PID=37 22:14:28 Running ssh-add (command line suppressed) 22:14:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5729731099091582232.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5729731099091582232.key) 22:14:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:29 + git semver tag 22:14:29 2023-05-11 22:14:29,544 [run_tag] DEBUG tag force:False 22:14:29 2023-05-11 22:14:29,544 [check_head_tag] DEBUG check head tag 22:14:29 2023-05-11 22:14:29,545 [execute] INFO git cat-file --batch-check 22:14:29 2023-05-11 22:14:29,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:14:29 2023-05-11 22:14:29,549 [execute] INFO git cat-file --batch 22:14:29 2023-05-11 22:14:29,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:14:29 2023-05-11 22:14:29,574 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:29 2023-05-11 22:14:29,574 [execute] INFO git tag -a v3.0.0-dev.41 -m v3.0.0-dev.41 22:14:29 2023-05-11 22:14:29,574 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.41', '-m', 'v3.0.0-dev.41'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:14:29 2023-05-11 22:14:29,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:29 3.0.0-dev.41 [Pipeline] } 22:14:29 $ docker exec --env ******** --env ******** db149d1f0ff6bb3107e2d13fac4029fe2349e9449321e2b8a8a293a8305e672d ssh-agent -k 22:14:29 unset SSH_AUTH_SOCK; 22:14:29 unset SSH_AGENT_PID; 22:14:29 echo Agent pid 37 killed; 22:14:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:30 + git semver [Pipeline] } 22:14:30 $ docker stop --time=1 db149d1f0ff6bb3107e2d13fac4029fe2349e9449321e2b8a8a293a8305e672d 22:14:31 $ docker rm -f --volumes db149d1f0ff6bb3107e2d13fac4029fe2349e9449321e2b8a8a293a8305e672d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:14:31 22:14:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:14:32 0.23.1-centos7: Pulling from edgex-lftools 22:14:32 ab5ef0e58194: Pulling fs layer 22:14:32 9712f1f96733: Pulling fs layer 22:14:32 63f879dbbcfc: Pulling fs layer 22:14:32 0d9ebad4ef96: Pulling fs layer 22:14:32 e9a5061849ea: Pulling fs layer 22:14:32 d747dcd14b5f: Pulling fs layer 22:14:32 0d9ebad4ef96: Waiting 22:14:32 e9a5061849ea: Waiting 22:14:32 2de7ff778b66: Pulling fs layer 22:14:32 2de7ff778b66: Waiting 22:14:32 d747dcd14b5f: Waiting 22:14:32 9712f1f96733: Verifying Checksum 22:14:32 9712f1f96733: Download complete 22:14:32 63f879dbbcfc: Verifying Checksum 22:14:32 63f879dbbcfc: Download complete 22:14:32 e9a5061849ea: Verifying Checksum 22:14:32 e9a5061849ea: Download complete 22:14:32 d747dcd14b5f: Verifying Checksum 22:14:32 d747dcd14b5f: Download complete 22:14:32 0d9ebad4ef96: Verifying Checksum 22:14:32 0d9ebad4ef96: Download complete 22:14:32 ab5ef0e58194: Verifying Checksum 22:14:32 ab5ef0e58194: Download complete 22:14:32 2de7ff778b66: Verifying Checksum 22:14:32 2de7ff778b66: Download complete 22:14:35 ab5ef0e58194: Pull complete 22:14:35 9712f1f96733: Pull complete 22:14:35 63f879dbbcfc: Pull complete 22:14:40 0d9ebad4ef96: Pull complete 22:14:40 e9a5061849ea: Pull complete 22:14:40 d747dcd14b5f: Pull complete 22:14:40 2de7ff778b66: Pull complete 22:14:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:14:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:14:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:40 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:14:40 $ 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 22:14:44 $ docker top 639e928360b9d84f0113dc899e0d7a37137cbdb8a630437ef319a5c1e150b334 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:14:44 provisioning config files... 22:14:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5956169320390825227tmp 22:14:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17490211766133501406tmp 22:14:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12895157786580718348tmp [Pipeline] { [Pipeline] echo 22:14:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:14:44 ---> sigul-configuration.sh 22:14:44 gpg: directory `/root/.gnupg' created 22:14:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:14:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:14:44 gpg: keyring `/root/.gnupg/secring.gpg' created 22:14:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:14:44 gpg: CAST5 encrypted data 22:14:44 gpg: encrypted with 1 passphrase 22:14:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:14:45 + mkdir /home/jenkins 22:14:45 + mkdir /home/jenkins/sigul [Pipeline] sh 22:14:45 + 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 22:14:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:14:45 ---> sigul-install.sh 22:14:45 Sigul already installed; skipping installation. [Pipeline] sh 22:14:46 + git tag --list 22:14:46 v1.0.0 22:14:46 v1.1.0 22:14:46 v1.1.1 22:14:46 v1.1.2 22:14:46 v1.2.0 22:14:46 v1.2.1 22:14:46 v2.0.0 22:14:46 v2.1.0 22:14:46 v2.1.1 22:14:46 v2.1.1-dev.1 22:14:46 v2.1.1-dev.2 22:14:46 v2.1.1-dev.3 22:14:46 v2.2.0 22:14:46 v2.2.1-dev.1 22:14:46 v2.2.1-dev.2 22:14:46 v2.2.1-dev.3 22:14:46 v2.2.1-dev.4 22:14:46 v2.2.1-dev.5 22:14:46 v2.2.1-dev.6 22:14:46 v2.2.1-dev.7 22:14:46 v2.2.1-dev.8 22:14:46 v2.2.1-dev.9 22:14:46 v2.3.0 22:14:46 v2.3.0-dev.10 22:14:46 v2.3.0-dev.11 22:14:46 v2.3.0-dev.12 22:14:46 v2.3.0-dev.13 22:14:46 v2.3.0-dev.14 22:14:46 v2.3.0-dev.15 22:14:46 v2.3.0-dev.16 22:14:46 v2.3.0-dev.17 22:14:46 v2.3.0-dev.18 22:14:46 v2.3.0-dev.19 22:14:46 v2.3.0-dev.20 22:14:46 v2.3.0-dev.21 22:14:46 v2.3.0-dev.22 22:14:46 v2.3.0-dev.23 22:14:46 v2.3.0-dev.24 22:14:46 v2.3.0-dev.25 22:14:46 v2.3.0-dev.9 22:14:46 v3.0.0-dev.1 22:14:46 v3.0.0-dev.10 22:14:46 v3.0.0-dev.11 22:14:46 v3.0.0-dev.12 22:14:46 v3.0.0-dev.13 22:14:46 v3.0.0-dev.14 22:14:46 v3.0.0-dev.15 22:14:46 v3.0.0-dev.16 22:14:46 v3.0.0-dev.17 22:14:46 v3.0.0-dev.18 22:14:46 v3.0.0-dev.19 22:14:46 v3.0.0-dev.2 22:14:46 v3.0.0-dev.20 22:14:46 v3.0.0-dev.21 22:14:46 v3.0.0-dev.22 22:14:46 v3.0.0-dev.23 22:14:46 v3.0.0-dev.24 22:14:46 v3.0.0-dev.25 22:14:46 v3.0.0-dev.26 22:14:46 v3.0.0-dev.27 22:14:46 v3.0.0-dev.28 22:14:46 v3.0.0-dev.29 22:14:46 v3.0.0-dev.3 22:14:46 v3.0.0-dev.30 22:14:46 v3.0.0-dev.31 22:14:46 v3.0.0-dev.32 22:14:46 v3.0.0-dev.33 22:14:46 v3.0.0-dev.34 22:14:46 v3.0.0-dev.35 22:14:46 v3.0.0-dev.36 22:14:46 v3.0.0-dev.37 22:14:46 v3.0.0-dev.38 22:14:46 v3.0.0-dev.39 22:14:46 v3.0.0-dev.4 22:14:46 v3.0.0-dev.40 22:14:46 v3.0.0-dev.41 22:14:46 v3.0.0-dev.5 22:14:46 v3.0.0-dev.6 22:14:46 v3.0.0-dev.7 22:14:46 v3.0.0-dev.8 22:14:46 v3.0.0-dev.9 [Pipeline] sh 22:14:46 + lftools sign git-tag v3.0.0-dev.41 22:14:46 Signing Git tag with Sigul... 22:14:46 Signing v3.0.0-dev.41 [Pipeline] echo 22:14:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:14:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:14:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:14:47 $ docker stop --time=1 639e928360b9d84f0113dc899e0d7a37137cbdb8a630437ef319a5c1e150b334 22:14:48 $ docker rm -f --volumes 639e928360b9d84f0113dc899e0d7a37137cbdb8a630437ef319a5c1e150b334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:14:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:14:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:49 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:14:49 $ 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 22:14:50 $ docker top 81367ac59bb0e67e5b7881748d96dd92e7384286074fe5fe7a7322248b0dad8f -eo pid,comm 22:14:50 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). 22:14:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:50 [ssh-agent] Looking for ssh-agent implementation... 22:14:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:50 $ docker exec 81367ac59bb0e67e5b7881748d96dd92e7384286074fe5fe7a7322248b0dad8f ssh-agent 22:14:50 SSH_AUTH_SOCK=/tmp/ssh-plYgNRhndF2s/agent.32 22:14:50 SSH_AGENT_PID=38 22:14:50 Running ssh-add (command line suppressed) 22:14:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8644630758745808865.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8644630758745808865.key) 22:14:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:50 + git semver bump pre 22:14:51 2023-05-11 22:14:51,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:51 2023-05-11 22:14:51,034 [bump_version] DEBUG bumping version:3.0.0-dev.41 on axis:pre with prefix:dev 22:14:51 2023-05-11 22:14:51,034 [bump_version] DEBUG bumped version:3.0.0-dev.42 22:14:51 2023-05-11 22:14:51,034 [write_version] DEBUG write version:3.0.0-dev.42 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:14:51 2023-05-11 22:14:51,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:51 2023-05-11 22:14:51,034 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:51 2023-05-11 22:14:51,036 [execute] INFO git cat-file --batch-check 22:14:51 2023-05-11 22:14:51,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:14:51 2023-05-11 22:14:51,041 [execute] INFO git cat-file --batch 22:14:51 2023-05-11 22:14:51,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:14:51 2023-05-11 22:14:51,046 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:51 3.0.0-dev.42 [Pipeline] } 22:14:51 $ docker exec --env ******** --env ******** 81367ac59bb0e67e5b7881748d96dd92e7384286074fe5fe7a7322248b0dad8f ssh-agent -k 22:14:51 unset SSH_AUTH_SOCK; 22:14:51 unset SSH_AGENT_PID; 22:14:51 echo Agent pid 38 killed; 22:14:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:51 + git semver [Pipeline] } 22:14:51 $ docker stop --time=1 81367ac59bb0e67e5b7881748d96dd92e7384286074fe5fe7a7322248b0dad8f 22:14:53 $ docker rm -f --volumes 81367ac59bb0e67e5b7881748d96dd92e7384286074fe5fe7a7322248b0dad8f [Pipeline] // withDockerContainer [Pipeline] sh 22:14:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:14:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:53 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:14:53 $ 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 22:14:54 $ docker top 218842e409506df73e13ade53871fc7f17d30a6341727ec0749b46dbdf25f52d -eo pid,comm 22:14: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). 22:14:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:54 [ssh-agent] Looking for ssh-agent implementation... 22:14:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:54 $ docker exec 218842e409506df73e13ade53871fc7f17d30a6341727ec0749b46dbdf25f52d ssh-agent 22:14:54 SSH_AUTH_SOCK=/tmp/ssh-TA8rmukARHES/agent.32 22:14:54 SSH_AGENT_PID=38 22:14:54 Running ssh-add (command line suppressed) 22:14:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13433240676731966974.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13433240676731966974.key) 22:14:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:54 + git semver push 22:14:55 2023-05-11 22:14:55,055 [run_push] DEBUG push 22:14:55 2023-05-11 22:14:55,055 [execute] INFO git cat-file --batch-check 22:14:55 2023-05-11 22:14:55,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:14:55 2023-05-11 22:14:55,059 [execute] INFO git rev-list b6f65fde23c4f06aba947818ae9f0ae442a70315 -- 22:14:55 2023-05-11 22:14:55,059 [execute] DEBUG Popen(['git', 'rev-list', 'b6f65fde23c4f06aba947818ae9f0ae442a70315', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:14:55 2023-05-11 22:14:55,068 [execute] INFO git fetch -v origin 22:14:55 2023-05-11 22:14:55,069 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:14:55 2023-05-11 22:14:55,544 [run_push] DEBUG no remote changes detected 22:14:55 2023-05-11 22:14:55,545 [execute] INFO git push origin semver 22:14:55 2023-05-11 22:14:55,545 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:14:56 2023-05-11 22:14:56,318 [run_push] DEBUG push all version tags 22:14:56 2023-05-11 22:14:56,318 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:14:56 2023-05-11 22:14:56,319 [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) 22:14:57 2023-05-11 22:14:57,081 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:14:57 3.0.0-dev.42 [Pipeline] } 22:14:57 $ docker exec --env ******** --env ******** 218842e409506df73e13ade53871fc7f17d30a6341727ec0749b46dbdf25f52d ssh-agent -k 22:14:57 unset SSH_AUTH_SOCK; 22:14:57 unset SSH_AGENT_PID; 22:14:57 echo Agent pid 38 killed; 22:14:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:57 + git semver [Pipeline] } 22:14:57 $ docker stop --time=1 218842e409506df73e13ade53871fc7f17d30a6341727ec0749b46dbdf25f52d 22:14:59 $ docker rm -f --volumes 218842e409506df73e13ade53871fc7f17d30a6341727ec0749b46dbdf25f52d [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 22:14:59 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:14:59 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:14:59 total 16 22:14:59 drwxr-xr-x 3 root root 4096 May 11 22:04 . 22:14:59 drwxrwxr-x 10 jenkins jenkins 4096 May 11 22:14 .. 22:14:59 drwxr-xr-x 2 root root 4096 May 11 22:04 cost 22:14:59 -rw-r--r-- 1 root root 86 May 11 22:04 cost.csv 22:14:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:14:59 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:14:59 total 16 22:14:59 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:04 . 22:14:59 drwxrwxr-x 10 jenkins jenkins 4096 May 11 22:14 .. 22:14:59 drwxr-xr-x 2 jenkins jenkins 4096 May 11 22:04 cost 22:14:59 -rw-r--r-- 1 jenkins jenkins 86 May 11 22:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:15:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:15:00 ---> package-listing.sh 22:15:00 ++ tr '[:upper:]' '[:lower:]' 22:15:00 ++ facter osfamily 22:15:01 + OS_FAMILY=debian 22:15:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:15:01 + START_PACKAGES=/tmp/packages_start.txt 22:15:01 + END_PACKAGES=/tmp/packages_end.txt 22:15:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:15:01 + PACKAGES=/tmp/packages_start.txt 22:15:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:15:01 + PACKAGES=/tmp/packages_end.txt 22:15:01 + case "${OS_FAMILY}" in 22:15:01 + dpkg -l 22:15:01 + grep '^ii' 22:15:01 + '[' -f /tmp/packages_start.txt ']' 22:15:01 + '[' -f /tmp/packages_end.txt ']' 22:15:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:15:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:15:01 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:15:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:15:01 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 22:15:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:02 prd-ubuntu20.04-docker-8c-8g-15244 does not seem to be running inside a container 22:15:02 $ 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 22:15:02 $ docker top e96b18c0e2835adbf64fd063a23be422eec028b29a90cccf7eb4c6abf987821c -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:02 + touch /tmp/pre-build-complete [Pipeline] sh 22:15:03 + mkdir -p /var/log/sysstat [Pipeline] sh 22:15:03 + ls /var/log/sa-host 22:15:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:03 provisioning config files... 22:15:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11205259615959491320tmp [Pipeline] { [Pipeline] echo 22:15:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:15:03 ---> create-netrc.sh [Pipeline] } 22:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:15:04 ---> python-tools-install.sh [Pipeline] echo 22:15:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:15:04 ---> sudo-logs.sh 22:15:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:15:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:15:04 ---> job-cost.sh 22:15:04 lf-activate-venv: SKIPPING 22:15:04 DEBUG: total: 0.2199999988079071 22:15:04 INFO: Retrieving Stack Cost... 22:15:05 INFO: Retrieving Pricing Info for: v3-standard-8 22:15:05 INFO: Archiving Costs [Pipeline] echo 22:15:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:15:06 ---> logs-deploy.sh 22:15:06 lf-activate-venv: SKIPPING 22:15:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/113 22:15:06 INFO: archiving workspace using pattern(s): 22:15:06 Archives upload complete. 22:15:06 INFO: archiving logs to Nexus