Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b9b57828cb91c1ed80a64c0f12d73d3d38017d14 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-ssh13820390749063001629.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-ssh2374921585822315727.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-ssh14860256982714458795.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-ssh14065519762590868604.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-ssh10042586673528276859.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-15914’ Running on prd-ubuntu20.04-docker-8c-8g-15922 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 > 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 Avoid second fetch Checking out Revision b9b57828cb91c1ed80a64c0f12d73d3d38017d14 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#321)" > git config core.sparsecheckout # timeout=10 > git checkout -f b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 > git rev-list --no-walk 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:02:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:02:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:02:42 ========================================================= 19:02:42 EdgeX Global Pipelines Version Info 19:02:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:02:43 ------------------- 19:02:43 stable info: 19:02:43 ------------------- 19:02:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:02:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:02:43 Message: update stable to v1.0.249 19:02:43 ------------------- 19:02:43 experimental info: 19:02:43 ------------------- 19:02:43 Commited By: **** collab-it+edgex@linuxfoundation.org 19:02:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:02:43 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9b5782 [Pipeline] echo 19:02:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:44 provisioning config files... 19:02:44 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15293776348345399740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:44 ---> docker-login.sh 19:02:44 nexus3.edgexfoundry.org:10001 19:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:45 Configure a credential helper to remove this warning. See 19:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:45 19:02:45 Login Succeeded 19:02:45 nexus3.edgexfoundry.org:10002 19:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:45 Configure a credential helper to remove this warning. See 19:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:45 19:02:45 Login Succeeded 19:02:45 nexus3.edgexfoundry.org:10003 19:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:45 Configure a credential helper to remove this warning. See 19:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:45 19:02:45 Login Succeeded 19:02:45 nexus3.edgexfoundry.org:10004 19:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:45 Configure a credential helper to remove this warning. See 19:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:45 19:02:45 Login Succeeded 19:02:45 docker.io 19:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:46 Configure a credential helper to remove this warning. See 19:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:46 19:02:46 Login Succeeded 19:02:46 ---> docker-login.sh ends [Pipeline] } 19:02:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:02:46 + git rev-list -1 --merges b9b57828cb91c1ed80a64c0f12d73d3d38017d14~1..b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] echo 19:02:46 -----------> git rev-list -1 --merges b9b57828cb91c1ed80a64c0f12d73d3d38017d14~1..b9b57828cb91c1ed80a64c0f12d73d3d38017d14 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [false] [Pipeline] sh 19:02:46 + git log --format=format:%s -1 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] echo 19:02:46 ========================================================= 19:02:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:02:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:47 + git log --format=format:%s -1 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] echo 19:02:47 [semverPrep] GIT_COMMIT: b9b57828cb91c1ed80a64c0f12d73d3d38017d14, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#321) [Pipeline] echo 19:02:47 [semverPrep] This is not a build commit. [Pipeline] sh 19:02:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:02:47 + grep -v github /etc/ssh/ssh_known_hosts 19:02:47 + [ -e /tmp/ssh_known_hosts ] 19:02:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:02:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:02:47 + sudo tee -a /etc/ssh/ssh_known_hosts 19:02:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:47 19:02:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:48 0.1.4: Pulling from edgex-devops/py-git-semver 19:02:48 b85a868b505f: Pulling fs layer 19:02:48 e2be974225ed: Pulling fs layer 19:02:48 339a4e72a1f5: Pulling fs layer 19:02:48 988bab9f4d93: Pulling fs layer 19:02:48 1469e6f7b9e6: Pulling fs layer 19:02:48 eaf3925da568: Pulling fs layer 19:02:48 bab4dde63d76: Pulling fs layer 19:02:48 bde34c3a00c8: Pulling fs layer 19:02:48 b352a97aabf1: Pulling fs layer 19:02:48 4872d77fe225: Pulling fs layer 19:02:48 5851b861e8e6: Pulling fs layer 19:02:48 bab4dde63d76: Waiting 19:02:48 988bab9f4d93: Waiting 19:02:48 bde34c3a00c8: Waiting 19:02:48 1469e6f7b9e6: Waiting 19:02:48 b352a97aabf1: Waiting 19:02:48 eaf3925da568: Waiting 19:02:48 4872d77fe225: Waiting 19:02:48 5851b861e8e6: Waiting 19:02:48 e2be974225ed: Download complete 19:02:48 988bab9f4d93: Verifying Checksum 19:02:48 988bab9f4d93: Download complete 19:02:48 1469e6f7b9e6: Verifying Checksum 19:02:48 1469e6f7b9e6: Download complete 19:02:48 eaf3925da568: Verifying Checksum 19:02:48 eaf3925da568: Download complete 19:02:48 339a4e72a1f5: Verifying Checksum 19:02:48 339a4e72a1f5: Download complete 19:02:48 bde34c3a00c8: Verifying Checksum 19:02:48 bde34c3a00c8: Download complete 19:02:48 b352a97aabf1: Verifying Checksum 19:02:48 b352a97aabf1: Download complete 19:02:48 4872d77fe225: Verifying Checksum 19:02:48 4872d77fe225: Download complete 19:02:48 5851b861e8e6: Download complete 19:02:48 b85a868b505f: Verifying Checksum 19:02:48 b85a868b505f: Download complete 19:02:48 bab4dde63d76: Verifying Checksum 19:02:48 bab4dde63d76: Download complete 19:02:49 b85a868b505f: Pull complete 19:02:49 e2be974225ed: Pull complete 19:02:50 339a4e72a1f5: Pull complete 19:02:50 988bab9f4d93: Pull complete 19:02:50 1469e6f7b9e6: Pull complete 19:02:50 eaf3925da568: Pull complete 19:02:52 bab4dde63d76: Pull complete 19:02:52 bde34c3a00c8: Pull complete 19:02:52 b352a97aabf1: Pull complete 19:02:52 4872d77fe225: Pull complete 19:02:53 5851b861e8e6: Pull complete 19:02:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:53 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:02:55 $ docker top 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 -eo pid,comm 19:02:55 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). 19:02:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:02:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:02:55 [ssh-agent] Looking for ssh-agent implementation... 19:02:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:02:55 $ docker exec 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 ssh-agent 19:02:55 SSH_AUTH_SOCK=/tmp/ssh-ZZY2Sl4BRsZi/agent.33 19:02:55 SSH_AGENT_PID=39 19:02:55 Running ssh-add (command line suppressed) 19:02:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9939186218489272701.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9939186218489272701.key) 19:02:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:02:56 + git tag --points-at HEAD [Pipeline] } 19:02:56 $ docker exec --env ******** --env ******** 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 ssh-agent -k 19:02:56 unset SSH_AUTH_SOCK; 19:02:56 unset SSH_AGENT_PID; 19:02:56 echo Agent pid 39 killed; 19:02:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:02:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:02:56 [ssh-agent] Looking for ssh-agent implementation... 19:02:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:02:56 $ docker exec 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 ssh-agent 19:02:56 SSH_AUTH_SOCK=/tmp/ssh-BNXCHwCIzG1d/agent.71 19:02:56 SSH_AGENT_PID=77 19:02:56 Running ssh-add (command line suppressed) 19:02:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11987680836065998080.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11987680836065998080.key) 19:02:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:02:57 + git semver init 19:02:57 2023-05-17 19:02:57,281 [run_init] DEBUG init version:0.0.0 force:False 19:02:57 2023-05-17 19:02:57,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 19:02:57 2023-05-17 19:02:57,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 19:02:57 2023-05-17 19:02:57,282 [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) 19:02:58 2023-05-17 19:02:58,327 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 19:02:58 2023-05-17 19:02:58,328 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 19:02:58 2023-05-17 19:02:58,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:02:58 2023-05-17 19:02:58,329 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:02:58 3.0.0-dev.44 [Pipeline] } 19:02:58 $ docker exec --env ******** --env ******** 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 ssh-agent -k 19:02:58 unset SSH_AUTH_SOCK; 19:02:58 unset SSH_AGENT_PID; 19:02:58 echo Agent pid 77 killed; 19:02:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:02:59 + git semver [Pipeline] } 19:02:59 $ docker stop --time=1 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 19:03:00 $ docker rm -f --volumes 893d24f9d05f3b94a26184408af3008fec35d11877f28363204047bdaf7ab7b3 [Pipeline] // withDockerContainer [Pipeline] sh 19:03:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:03:01 Stashed 1 file(s) [Pipeline] echo 19:03:01 [edgeXSemver]: initialized semver on version 3.0.0-dev.44 [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 19:03:01 provisioning config files... 19:03:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11484879800817699382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:01 ---> docker-login.sh 19:03:01 nexus3.edgexfoundry.org:10001 19:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:01 Configure a credential helper to remove this warning. See 19:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:01 19:03:01 Login Succeeded 19:03:01 nexus3.edgexfoundry.org:10002 19:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:01 Configure a credential helper to remove this warning. See 19:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:01 19:03:01 Login Succeeded 19:03:01 nexus3.edgexfoundry.org:10003 19:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:02 Configure a credential helper to remove this warning. See 19:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:02 19:03:02 Login Succeeded 19:03:02 nexus3.edgexfoundry.org:10004 19:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:02 Configure a credential helper to remove this warning. See 19:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:02 19:03:02 Login Succeeded 19:03:02 docker.io 19:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:02 Configure a credential helper to remove this warning. See 19:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:02 19:03:02 Login Succeeded 19:03:02 ---> docker-login.sh ends [Pipeline] } 19:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:02 ========================================================= 19:03:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:03:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:02 + 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 . 19:03:02 Sending build context to Docker daemon 10.92MB 19:03:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:03:02 Step 2/12 : FROM ${BASE} AS builder 19:03:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:03:02 f56be85fc22e: Pulling fs layer 19:03:02 85791d961cd3: Pulling fs layer 19:03:02 d694b5ae8c79: Pulling fs layer 19:03:02 9f32a84ed3da: Pulling fs layer 19:03:02 4d19c01a9841: Pulling fs layer 19:03:02 9325e15d5711: Pulling fs layer 19:03:02 556b6ee489ea: Pulling fs layer 19:03:02 9f32a84ed3da: Waiting 19:03:02 4d19c01a9841: Waiting 19:03:02 9325e15d5711: Waiting 19:03:02 c5a4b2cf53e6: Pulling fs layer 19:03:02 556b6ee489ea: Waiting 19:03:02 c5a4b2cf53e6: Waiting 19:03:02 85791d961cd3: Verifying Checksum 19:03:02 9f32a84ed3da: Download complete 19:03:02 4d19c01a9841: Verifying Checksum 19:03:02 4d19c01a9841: Download complete 19:03:02 f56be85fc22e: Verifying Checksum 19:03:02 f56be85fc22e: Download complete 19:03:02 9325e15d5711: Verifying Checksum 19:03:02 9325e15d5711: Download complete 19:03:02 f56be85fc22e: Pull complete 19:03:03 85791d961cd3: Pull complete 19:03:03 c5a4b2cf53e6: Verifying Checksum 19:03:03 c5a4b2cf53e6: Download complete 19:03:03 d694b5ae8c79: Verifying Checksum 19:03:03 d694b5ae8c79: Download complete 19:03:04 556b6ee489ea: Verifying Checksum 19:03:04 556b6ee489ea: Download complete 19:03:07 d694b5ae8c79: Pull complete 19:03:07 9f32a84ed3da: Pull complete 19:03:07 4d19c01a9841: Pull complete 19:03:07 9325e15d5711: Pull complete 19:03:09 556b6ee489ea: Pull complete 19:03:10 c5a4b2cf53e6: Pull complete 19:03:10 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:03:10 ---> c4be618373d6 19:03:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:03:16 Still waiting to schedule task 19:03:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:03:17 ---> Running in 6565ca68118c 19:03:17 Removing intermediate container 6565ca68118c 19:03:17 ---> aad0ac7748ae 19:03:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:17 ---> Running in 5d6c638a10a2 19:03:17 Removing intermediate container 5d6c638a10a2 19:03:17 ---> b8c86712c5ba 19:03:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:03:17 ---> Running in 47a48bfed69d 19:03:17 Removing intermediate container 47a48bfed69d 19:03:17 ---> bef9123419af 19:03:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:03:17 ---> Running in db5ca326fc82 19:03:17 Removing intermediate container db5ca326fc82 19:03:17 ---> 1f97e43defdf 19:03:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:03:17 ---> Running in bcad34b27b13 19:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:03:18 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:03:18 (2/4) Installing libedit (20221030.3.1-r0) 19:03:18 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:03:18 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:03:18 Executing busybox-1.35.0-r29.trigger 19:03:18 OK: 269 MiB in 57 packages 19:03:18 Removing intermediate container bcad34b27b13 19:03:18 ---> af9bd15ae8cb 19:03:18 Step 8/12 : WORKDIR /device-rest-go 19:03:18 ---> Running in fcab85606ae5 19:03:18 Removing intermediate container fcab85606ae5 19:03:18 ---> 3575bae24e48 19:03:18 Step 9/12 : COPY go.mod vendor* ./ 19:03:19 ---> 98f8a412b98e 19:03:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:19 ---> Running in 34d2305a27a6 19:03:51 Removing intermediate container 34d2305a27a6 19:03:51 ---> 021ef4094e03 19:03:51 Step 11/12 : COPY . . 19:03:51 ---> 0ff1a8759963 19:03:51 Step 12/12 : RUN $MAKE 19:03:51 ---> Running in 7427e710046c 19:03:51 noop 19:03:51 Removing intermediate container 7427e710046c 19:03:51 ---> 9f8603b8894d 19:03:51 Successfully built 9f8603b8894d 19:03:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:51 + docker inspect -f . ci-base-image-x86_64 19:03:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:51 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:03:51 $ 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 19:03:51 $ docker top b21f70656a3ab38b0e2e4a1f34881968989aace926a8648c7e267cd3668ff978 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:52 + go version 19:03:52 go version go1.20.2 linux/amd64 [Pipeline] } 19:03:52 $ docker stop --time=1 b21f70656a3ab38b0e2e4a1f34881968989aace926a8648c7e267cd3668ff978 19:03:53 $ docker rm -f --volumes b21f70656a3ab38b0e2e4a1f34881968989aace926a8648c7e267cd3668ff978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:54 + docker inspect -f . ci-base-image-x86_64 19:03:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:54 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:03:54 $ 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 19:03:54 $ docker top 4413b5833d45907cb5282a048e836b0fecd8d55a6cd529d9668ef90441688405 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 19:03:55 + make test 19:03:55 go test ./... -coverprofile=coverage.out ./... 19:04:00 ? github.com/edgexfoundry/device-rest-go [no test files] 19:04:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:04:10 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 32.2% of statements 19:04:18 go vet ./... 19:04:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:21 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:04:21 $ docker stop --time=1 4413b5833d45907cb5282a048e836b0fecd8d55a6cd529d9668ef90441688405 19:04:24 $ docker rm -f --volumes 4413b5833d45907cb5282a048e836b0fecd8d55a6cd529d9668ef90441688405 [Pipeline] // withDockerContainer [Pipeline] sh 19:04:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:04:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:26 + ls -al . 19:04:26 total 184 19:04:26 drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:03 . 19:04:26 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 .. 19:04:26 -rw-rw-r-- 1 jenkins jenkins 151 May 17 19:02 .dockerignore 19:04:26 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:02 .git 19:04:26 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 .github 19:04:26 -rw-rw-r-- 1 jenkins jenkins 329 May 17 19:02 .gitignore 19:04:26 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:02 .golangci.yml 19:04:26 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:02 .semver 19:04:26 -rw-rw-r-- 1 jenkins jenkins 9331 May 17 19:02 Attribution.txt 19:04:26 -rw-rw-r-- 1 jenkins jenkins 13085 May 17 19:02 CHANGELOG.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 1578 May 17 19:02 Dockerfile 19:04:26 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:02 GOVERNANCE.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:02 Jenkinsfile 19:04:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:02 LICENSE 19:04:26 -rw-rw-r-- 1 jenkins jenkins 1779 May 17 19:02 Makefile 19:04:26 -rw-rw-r-- 1 jenkins jenkins 620 May 17 19:02 OWNERS.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 15827 May 17 19:02 README.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:03 VERSION 19:04:26 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 bin 19:04:26 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 cmd 19:04:26 -rw-r--r-- 1 jenkins jenkins 14663 May 17 19:04 coverage.out 19:04:26 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 driver 19:04:26 -rw-rw-r-- 1 jenkins jenkins 3402 May 17 19:02 go.mod 19:04:26 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 19:02 go.sum 19:04:26 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 snap 19:04:26 -rw-rw-r-- 1 jenkins jenkins 713 May 17 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:26 + 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=b9b57828cb91c1ed80a64c0f12d73d3d38017d14 --label arch=amd64 --label version=3.0.0-dev.44 . 19:04:26 Sending build context to Docker daemon 10.94MB 19:04:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:04:26 Step 2/25 : FROM ${BASE} AS builder 19:04:26 ---> 9f8603b8894d 19:04:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:04:26 ---> Running in 20012c576bc5 19:04:26 Removing intermediate container 20012c576bc5 19:04:26 ---> 93d936f51a22 19:04:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:26 ---> Running in af086ad32036 19:04:26 Removing intermediate container af086ad32036 19:04:26 ---> 1840154dc4da 19:04:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:04:26 ---> Running in bbb6540580c9 19:04:27 Removing intermediate container bbb6540580c9 19:04:27 ---> e693cce1a922 19:04:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:04:27 ---> Running in f36f83119a26 19:04:27 Removing intermediate container f36f83119a26 19:04:27 ---> 6229b2af6fde 19:04:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:27 ---> Running in a85931451e4c 19:04:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:27 OK: 269 MiB in 57 packages 19:04:28 Removing intermediate container a85931451e4c 19:04:28 ---> 188e854a1b99 19:04:28 Step 8/25 : WORKDIR /device-rest-go 19:04:28 ---> Running in ca9d90c3e219 19:04:28 Removing intermediate container ca9d90c3e219 19:04:28 ---> 0e5784635dc3 19:04:28 Step 9/25 : COPY go.mod vendor* ./ 19:04:28 ---> f2a5e9d41910 19:04:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:28 ---> Running in f98e8eca11c0 19:04:29 Removing intermediate container f98e8eca11c0 19:04:29 ---> 380c2d9a875f 19:04:29 Step 11/25 : COPY . . 19:04:29 ---> 48ce548e8422 19:04:29 Step 12/25 : RUN $MAKE 19:04:29 ---> Running in 523189b6e2e8 19:04:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.44" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:04:56 Removing intermediate container 523189b6e2e8 19:04:56 ---> 7e631b9c4d79 19:04:56 Step 13/25 : FROM alpine:3.17 19:04:57 3.17: Pulling from library/alpine 19:04:58 f56be85fc22e: Already exists 19:04:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:04:58 Status: Downloaded newer image for alpine:3.17 19:04:58 ---> 9ed4aefc74f6 19:04:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:04:58 ---> Running in f24117f268eb 19:04:59 Removing intermediate container f24117f268eb 19:04:59 ---> f5984c15bf35 19:04:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:04:59 ---> Running in db1b985edeed 19:04:59 Removing intermediate container db1b985edeed 19:04:59 ---> 3a44b40bed42 19:04:59 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:05:00 ---> Running in c927b26ec9b4 19:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:05:01 (1/1) Installing dumb-init (1.2.5-r2) 19:05:01 Executing busybox-1.35.0-r29.trigger 19:05:01 OK: 7 MiB in 16 packages 19:05:01 Removing intermediate container c927b26ec9b4 19:05:01 ---> 2a8b7d6c154c 19:05:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:05:02 ---> ec26f6f1e7b2 19:05:02 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:05:02 ---> ad5f85d7fdbc 19:05:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:05:02 ---> f29eb9ca2918 19:05:02 Step 20/25 : EXPOSE 59986 19:05:02 ---> Running in 788d0ad87fae 19:05:02 Removing intermediate container 788d0ad87fae 19:05:02 ---> 7d6d16b67da6 19:05:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:05:02 ---> Running in 093cd5ff9d50 19:05:02 Removing intermediate container 093cd5ff9d50 19:05:02 ---> d3a79dfa9e8f 19:05:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:05:02 ---> Running in f1475df3e112 19:05:02 Removing intermediate container f1475df3e112 19:05:02 ---> 4caf941ed717 19:05:02 Step 23/25 : LABEL arch=amd64 19:05:03 ---> Running in ed54311d8266 19:05:03 Removing intermediate container ed54311d8266 19:05:03 ---> b7097c3d9d1b 19:05:03 Step 24/25 : LABEL git_sha=b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:05:03 ---> Running in c71474dc53b6 19:05:03 Removing intermediate container c71474dc53b6 19:05:03 ---> 54d572571312 19:05:03 Step 25/25 : LABEL version=3.0.0-dev.44 19:05:03 ---> Running in bbb86eb078fb 19:05:03 Removing intermediate container bbb86eb078fb 19:05:03 ---> b77891a9c662 19:05:03 [Warning] One or more build-args [ARCH] were not consumed 19:05:03 Successfully built b77891a9c662 19:05:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:03 provisioning config files... 19:05:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2077529722809009425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:03 ---> docker-login.sh 19:05:03 nexus3.edgexfoundry.org:10001 19:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:03 Configure a credential helper to remove this warning. See 19:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:03 19:05:03 Login Succeeded 19:05:03 nexus3.edgexfoundry.org:10002 19:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:03 Configure a credential helper to remove this warning. See 19:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:03 19:05:03 Login Succeeded 19:05:03 nexus3.edgexfoundry.org:10003 19:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:04 Configure a credential helper to remove this warning. See 19:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:04 19:05:04 Login Succeeded 19:05:04 nexus3.edgexfoundry.org:10004 19:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:04 Configure a credential helper to remove this warning. See 19:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:04 19:05:04 Login Succeeded 19:05:04 docker.io 19:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:05:04 Configure a credential helper to remove this warning. See 19:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:05:04 19:05:04 Login Succeeded 19:05:04 ---> docker-login.sh ends [Pipeline] } 19:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:05:04 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 19:05:04 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:05:04 latest 19:05:04 3.0.0-dev.44 19:05:04 b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 19:05:04 main 19:05:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:05:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:05:04 cc6596fc4ad0: Preparing 19:05:04 23219fe309cf: Preparing 19:05:04 712829692026: Preparing 19:05:04 1a5d85580cef: Preparing 19:05:04 f1417ff83b31: Preparing 19:05:04 f1417ff83b31: Layer already exists 19:05:04 cc6596fc4ad0: Pushed 19:05:04 1a5d85580cef: Pushed 19:05:04 23219fe309cf: Pushed 19:05:08 712829692026: Pushed 19:05:08 b9b57828cb91c1ed80a64c0f12d73d3d38017d14: digest: sha256:5fc43a399d5464f3d4ad629b50abd3874d7125878d7be9a20bbab3743b1c3230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 19:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:05:08 cc6596fc4ad0: Preparing 19:05:08 23219fe309cf: Preparing 19:05:08 712829692026: Preparing 19:05:08 1a5d85580cef: Preparing 19:05:08 f1417ff83b31: Preparing 19:05:08 23219fe309cf: Layer already exists 19:05:08 1a5d85580cef: Layer already exists 19:05:08 f1417ff83b31: Layer already exists 19:05:08 cc6596fc4ad0: Layer already exists 19:05:08 712829692026: Layer already exists 19:05:08 latest: digest: sha256:5fc43a399d5464f3d4ad629b50abd3874d7125878d7be9a20bbab3743b1c3230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.44 19:05:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:05:09 cc6596fc4ad0: Preparing 19:05:09 23219fe309cf: Preparing 19:05:09 712829692026: Preparing 19:05:09 1a5d85580cef: Preparing 19:05:09 f1417ff83b31: Preparing 19:05:09 23219fe309cf: Layer already exists 19:05:09 cc6596fc4ad0: Layer already exists 19:05:09 1a5d85580cef: Layer already exists 19:05:09 f1417ff83b31: Layer already exists 19:05:09 712829692026: Layer already exists 19:05:09 3.0.0-dev.44: digest: sha256:5fc43a399d5464f3d4ad629b50abd3874d7125878d7be9a20bbab3743b1c3230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 19:05:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:05:10 cc6596fc4ad0: Preparing 19:05:10 23219fe309cf: Preparing 19:05:10 712829692026: Preparing 19:05:10 1a5d85580cef: Preparing 19:05:10 f1417ff83b31: Preparing 19:05:10 cc6596fc4ad0: Layer already exists 19:05:10 f1417ff83b31: Layer already exists 19:05:10 23219fe309cf: Layer already exists 19:05:10 712829692026: Layer already exists 19:05:10 1a5d85580cef: Layer already exists 19:05:10 b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44: digest: sha256:5fc43a399d5464f3d4ad629b50abd3874d7125878d7be9a20bbab3743b1c3230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 19:05:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 19:05:10 cc6596fc4ad0: Preparing 19:05:10 23219fe309cf: Preparing 19:05:10 712829692026: Preparing 19:05:10 1a5d85580cef: Preparing 19:05:10 f1417ff83b31: Preparing 19:05:10 f1417ff83b31: Layer already exists 19:05:10 712829692026: Layer already exists 19:05:10 1a5d85580cef: Layer already exists 19:05:10 23219fe309cf: Layer already exists 19:05:10 cc6596fc4ad0: Layer already exists 19:05:10 main: digest: sha256:5fc43a399d5464f3d4ad629b50abd3874d7125878d7be9a20bbab3743b1c3230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:05:10 ===================================================== [Pipeline] echo 19:05:10 taggedImages: 19:05:10 - nexus3.edgexfoundry.org:10004/device-rest:b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:05:10 - nexus3.edgexfoundry.org:10004/device-rest:latest 19:05:10 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.44 19:05:10 - nexus3.edgexfoundry.org:10004/device-rest:b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 19:05:10 - 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 19:05:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:11 19:05:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:11 latest: Pulling from edgex-lftools-log-publisher 19:05:11 5eb5b503b376: Pulling fs layer 19:05:11 5c69ac0246d0: Pulling fs layer 19:05:11 ec43610c2a17: Pulling fs layer 19:05:11 3a2ae6a8a46f: Pulling fs layer 19:05:11 33b1e0a273af: Pulling fs layer 19:05:11 5d3b04190fa2: Pulling fs layer 19:05:11 2f39f015ded8: Pulling fs layer 19:05:11 33b1e0a273af: Waiting 19:05:11 3a2ae6a8a46f: Waiting 19:05:11 5d3b04190fa2: Waiting 19:05:11 2f39f015ded8: Waiting 19:05:11 5c69ac0246d0: Verifying Checksum 19:05:11 5c69ac0246d0: Download complete 19:05:11 3a2ae6a8a46f: Verifying Checksum 19:05:11 3a2ae6a8a46f: Download complete 19:05:11 33b1e0a273af: Verifying Checksum 19:05:11 33b1e0a273af: Download complete 19:05:11 5d3b04190fa2: Verifying Checksum 19:05:11 5d3b04190fa2: Download complete 19:05:11 ec43610c2a17: Verifying Checksum 19:05:11 ec43610c2a17: Download complete 19:05:11 5eb5b503b376: Verifying Checksum 19:05:11 5eb5b503b376: Download complete 19:05:12 2f39f015ded8: Verifying Checksum 19:05:12 2f39f015ded8: Download complete 19:05:12 5eb5b503b376: Pull complete 19:05:13 5c69ac0246d0: Pull complete 19:05:13 ec43610c2a17: Pull complete 19:05:13 3a2ae6a8a46f: Pull complete 19:05:13 33b1e0a273af: Pull complete 19:05:13 5d3b04190fa2: Pull complete 19:05:19 2f39f015ded8: Pull complete 19:05:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:19 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:05:19 $ 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 19:05:21 $ docker top 7408a9253d0fbade4c0365cf731b6ca8a92a95e2a299ec478fc455b4f6c02e4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:21 ---> job-cost.sh 19:05:21 lf-activate-venv: SKIPPING 19:05:21 INFO: No Stack... 19:05:22 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:22 INFO: Archiving Costs [Pipeline] sh 19:05:23 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 19:05:23 + cut -d, -f6 [Pipeline] lock 19:05:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] 19:05:23 Resource [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] did not exist. Created. 19:05:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:23 + echo total: 0.2199999988079071 [Pipeline] stash 19:05:23 Stashed 1 file(s) [Pipeline] } 19:05:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:23 $ docker stop --time=1 7408a9253d0fbade4c0365cf731b6ca8a92a95e2a299ec478fc455b4f6c02e4b 19:05:24 $ docker rm -f --volumes 7408a9253d0fbade4c0365cf731b6ca8a92a95e2a299ec478fc455b4f6c02e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:08:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15934 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 19:08:20 Running in /w/workspace/device-rest-go/116 [Pipeline] { [Pipeline] checkout 19:08:20 The recommended git tool is: git 19:08:28 using credential edgex-jenkins-ssh 19:08:28 Cloning the remote Git repository 19:08:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:08:28 > git init /w/workspace/device-rest-go/116 # timeout=10 19:08:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:08:29 > git --version # timeout=10 19:08:29 > git --version # 'git version 2.25.1' 19:08:29 using GIT_SSH to set credentials SSH Credentials for GitHub 19:08:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:08:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:08:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:08:33 Avoid second fetch 19:08:33 Checking out Revision b9b57828cb91c1ed80a64c0f12d73d3d38017d14 (main) 19:08:33 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#321)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:33 > git config core.sparsecheckout # timeout=10 19:08:33 > git checkout -f b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 19:08:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:08:34 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:34 Dload Upload Total Spent Left Speed 19:08:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 153k 0 --:--:-- --:--:-- --:--:-- 155k [Pipeline] sh 19:08:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:08:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:08:35 + sudo tee /etc/docker/daemon.new 19:08:35 { 19:08:35 "registry-mirrors": [ 19:08:35 "https://nexus3.edgexfoundry.org:10001" 19:08:35 ], 19:08:35 "bip": "10.250.0.254/24", 19:08:35 "hosts": [ 19:08:35 "tcp://0.0.0.0:5555", 19:08:35 "unix:///var/run/docker.sock" 19:08:35 ], 19:08:35 "mtu": 1458, 19:08:35 "selinux-enabled": true, 19:08:35 "seccomp-profile": "/etc/docker/seccomp.json" 19:08:35 } [Pipeline] sh 19:08:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:08:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:55 provisioning config files... 19:08:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/116@tmp/config9203627924940555174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:55 ---> docker-login.sh 19:08:55 nexus3.edgexfoundry.org:10001 19:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:56 Configure a credential helper to remove this warning. See 19:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:56 19:08:56 Login Succeeded 19:08:56 nexus3.edgexfoundry.org:10002 19:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:56 Configure a credential helper to remove this warning. See 19:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:56 19:08:56 Login Succeeded 19:08:56 nexus3.edgexfoundry.org:10003 19:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:57 Configure a credential helper to remove this warning. See 19:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:57 19:08:57 Login Succeeded 19:08:57 nexus3.edgexfoundry.org:10004 19:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:57 Configure a credential helper to remove this warning. See 19:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:57 19:08:57 Login Succeeded 19:08:57 docker.io 19:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:58 Configure a credential helper to remove this warning. See 19:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:58 19:08:58 Login Succeeded 19:08:58 ---> docker-login.sh ends [Pipeline] } 19:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:08:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:58 ========================================================= 19:08:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:08:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:58 + 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 . 19:08:58 Sending build context to Docker daemon 139.3kB 19:08:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:08:59 Step 2/12 : FROM ${BASE} AS builder 19:08:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:08:59 c41833b44d91: Pulling fs layer 19:08:59 ed15518f5707: Pulling fs layer 19:08:59 feae8fd75edb: Pulling fs layer 19:08:59 242c74f7c9fa: Pulling fs layer 19:08:59 3cdef696dda3: Pulling fs layer 19:08:59 2ced38df9373: Pulling fs layer 19:08:59 58f1dce35555: Pulling fs layer 19:08:59 242c74f7c9fa: Waiting 19:08:59 3cdef696dda3: Waiting 19:08:59 2ced38df9373: Waiting 19:08:59 58f1dce35555: Waiting 19:08:59 ed15518f5707: Verifying Checksum 19:08:59 ed15518f5707: Download complete 19:08:59 242c74f7c9fa: Verifying Checksum 19:08:59 242c74f7c9fa: Download complete 19:08:59 3cdef696dda3: Verifying Checksum 19:08:59 3cdef696dda3: Download complete 19:08:59 c41833b44d91: Verifying Checksum 19:08:59 c41833b44d91: Download complete 19:09:00 c41833b44d91: Pull complete 19:09:01 ed15518f5707: Pull complete 19:09:02 58f1dce35555: Verifying Checksum 19:09:02 58f1dce35555: Download complete 19:09:03 feae8fd75edb: Verifying Checksum 19:09:03 feae8fd75edb: Download complete 19:09:03 2ced38df9373: Verifying Checksum 19:09:03 2ced38df9373: Download complete 19:09:16 feae8fd75edb: Pull complete 19:09:16 242c74f7c9fa: Pull complete 19:09:16 3cdef696dda3: Pull complete 19:09:24 2ced38df9373: Pull complete 19:09:26 58f1dce35555: Pull complete 19:09:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:09:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:09:26 ---> fadd8f120f05 19:09:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:09:30 ---> Running in a2d02c20ac9b 19:09:30 Removing intermediate container a2d02c20ac9b 19:09:30 ---> a42f74ee11bc 19:09:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:30 ---> Running in 5ab895228a33 19:09:31 Removing intermediate container 5ab895228a33 19:09:31 ---> 439050ca859a 19:09:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:09:31 ---> Running in d94c56cfec63 19:09:31 Removing intermediate container d94c56cfec63 19:09:31 ---> eda4dc628c65 19:09:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:09:31 ---> Running in b8e883e2d251 19:09:32 Removing intermediate container b8e883e2d251 19:09:32 ---> 98080501ba4c 19:09:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:32 ---> Running in 01d6c3d30239 19:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:09:36 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:09:36 (2/4) Installing libedit (20221030.3.1-r0) 19:09:36 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:09:36 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:09:36 Executing busybox-1.35.0-r29.trigger 19:09:36 OK: 268 MiB in 57 packages 19:09:37 Removing intermediate container 01d6c3d30239 19:09:37 ---> c5f72465da15 19:09:37 Step 8/12 : WORKDIR /device-rest-go 19:09:37 ---> Running in 23d694557ce0 19:09:38 Removing intermediate container 23d694557ce0 19:09:38 ---> 71edc2129cdb 19:09:38 Step 9/12 : COPY go.mod vendor* ./ 19:09:38 ---> 63b95600bc88 19:09:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:38 ---> Running in 1ae873579dbf 19:10:46 Removing intermediate container 1ae873579dbf 19:10:46 ---> 4d30dd22eede 19:10:46 Step 11/12 : COPY . . 19:10:47 ---> ca77b4494cd3 19:10:47 Step 12/12 : RUN $MAKE 19:10:47 ---> Running in d8938137b06a 19:10:48 noop 19:10:49 Removing intermediate container d8938137b06a 19:10:49 ---> 50ff4ca3b2a1 19:10:49 Successfully built 50ff4ca3b2a1 19:10:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:50 + docker inspect -f . ci-base-image-arm64 19:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:50 prd-ubuntu20.04-docker-arm64-4c-16g-15934 does not seem to be running inside a container 19:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/116 -v /w/workspace/device-rest-go/116:/w/workspace/device-rest-go/116:rw,z -v /w/workspace/device-rest-go/116@tmp:/w/workspace/device-rest-go/116@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 19:10:51 $ docker top 56070142093d341a8943dd1bbd7c660b12bf7fefb69b20e56aa7c5e864481280 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:52 + go version 19:10:52 go version go1.20.2 linux/arm64 [Pipeline] } 19:10:52 $ docker stop --time=1 56070142093d341a8943dd1bbd7c660b12bf7fefb69b20e56aa7c5e864481280 19:10:54 $ docker rm -f --volumes 56070142093d341a8943dd1bbd7c660b12bf7fefb69b20e56aa7c5e864481280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:55 + docker inspect -f . ci-base-image-arm64 19:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:55 prd-ubuntu20.04-docker-arm64-4c-16g-15934 does not seem to be running inside a container 19:10:55 $ 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/116 -v /w/workspace/device-rest-go/116:/w/workspace/device-rest-go/116:rw,z -v /w/workspace/device-rest-go/116@tmp:/w/workspace/device-rest-go/116@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 19:10:56 $ docker top 22c78cb21cac3d6f3b713e4353f3c6f43f20246dd49a921a47dd42a538f34eae -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:57 + git config --global --add safe.directory /w/workspace/device-rest-go/116 [Pipeline] fileExists [Pipeline] sh 19:10:58 + make test 19:10:58 go test ./... -coverprofile=coverage.out ./... 19:11:37 ? github.com/edgexfoundry/device-rest-go [no test files] 19:14:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:14:14 ok github.com/edgexfoundry/device-rest-go/driver 0.084s coverage: 32.2% of statements 19:14:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:14:14 go vet ./... 19:14:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:40 ./bin/test-attribution-txt.sh [Pipeline] echo 19:14:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:14:40 $ docker stop --time=1 22c78cb21cac3d6f3b713e4353f3c6f43f20246dd49a921a47dd42a538f34eae 19:14:42 $ docker rm -f --volumes 22c78cb21cac3d6f3b713e4353f3c6f43f20246dd49a921a47dd42a538f34eae [Pipeline] // withDockerContainer [Pipeline] sh 19:14:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:44 Warning: overwriting stash ‘coverage-report’ 19:14:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:45 + ls -al . 19:14:45 total 180 19:14:45 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:11 . 19:14:45 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 .. 19:14:45 -rw-rw-r-- 1 jenkins jenkins 151 May 17 19:08 .dockerignore 19:14:45 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:08 .git 19:14:45 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 .github 19:14:45 -rw-rw-r-- 1 jenkins jenkins 329 May 17 19:08 .gitignore 19:14:45 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:08 .golangci.yml 19:14:45 -rw-rw-r-- 1 jenkins jenkins 9331 May 17 19:08 Attribution.txt 19:14:45 -rw-rw-r-- 1 jenkins jenkins 13085 May 17 19:08 CHANGELOG.md 19:14:45 -rw-rw-r-- 1 jenkins jenkins 1578 May 17 19:08 Dockerfile 19:14:45 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:08 GOVERNANCE.md 19:14:45 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:08 Jenkinsfile 19:14:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:08 LICENSE 19:14:45 -rw-rw-r-- 1 jenkins jenkins 1779 May 17 19:08 Makefile 19:14:45 -rw-rw-r-- 1 jenkins jenkins 620 May 17 19:08 OWNERS.md 19:14:45 -rw-rw-r-- 1 jenkins jenkins 15827 May 17 19:08 README.md 19:14:45 -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:03 VERSION 19:14:45 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 bin 19:14:45 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 cmd 19:14:45 -rw-r--r-- 1 jenkins jenkins 14663 May 17 19:14 coverage.out 19:14:45 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 driver 19:14:45 -rw-rw-r-- 1 jenkins jenkins 3402 May 17 19:08 go.mod 19:14:45 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 19:08 go.sum 19:14:45 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 snap 19:14:45 -rw-rw-r-- 1 jenkins jenkins 713 May 17 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:45 + 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=b9b57828cb91c1ed80a64c0f12d73d3d38017d14 --label arch=arm64 --label version=3.0.0-dev.44 . 19:14:45 Sending build context to Docker daemon 154.6kB 19:14:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:14:46 Step 2/25 : FROM ${BASE} AS builder 19:14:46 ---> 50ff4ca3b2a1 19:14:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:14:46 ---> Running in 9931f567e830 19:14:46 Removing intermediate container 9931f567e830 19:14:46 ---> 7a2daafc7b24 19:14:46 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:14:46 ---> Running in b3e00252e2ff 19:14:46 Removing intermediate container b3e00252e2ff 19:14:46 ---> ae59caa62adb 19:14:46 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:14:47 ---> Running in ab56c649fd44 19:14:47 Removing intermediate container ab56c649fd44 19:14:47 ---> e62646de3824 19:14:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:14:47 ---> Running in 31d7b8b474db 19:14:47 Removing intermediate container 31d7b8b474db 19:14:47 ---> 6f00a4507c4b 19:14:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:14:48 ---> Running in 26cc19f6bfe1 19:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:14:51 OK: 268 MiB in 57 packages 19:14:55 Removing intermediate container 26cc19f6bfe1 19:14:55 ---> 528dbb70b40e 19:14:55 Step 8/25 : WORKDIR /device-rest-go 19:14:55 ---> Running in c6a1ccdf5599 19:14:55 Removing intermediate container c6a1ccdf5599 19:14:55 ---> 4638afa0dd34 19:14:55 Step 9/25 : COPY go.mod vendor* ./ 19:14:55 ---> 1244010abf83 19:14:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:55 ---> Running in 6910e63cebbf 19:14:58 Removing intermediate container 6910e63cebbf 19:14:58 ---> 80a83b351801 19:14:58 Step 11/25 : COPY . . 19:14:59 ---> 3177c2a28eca 19:14:59 Step 12/25 : RUN $MAKE 19:14:59 ---> Running in ba999f6216d9 19:15:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.44" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:17:37 Removing intermediate container ba999f6216d9 19:17:37 ---> 4113139cce6b 19:17:37 Step 13/25 : FROM alpine:3.17 19:17:37 3.17: Pulling from library/alpine 19:17:37 c41833b44d91: Already exists 19:17:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:17:37 Status: Downloaded newer image for alpine:3.17 19:17:37 ---> 51e60588ff2c 19:17:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:17:37 ---> Running in 0c21c4536fa8 19:17:37 Removing intermediate container 0c21c4536fa8 19:17:37 ---> 1a036c145b73 19:17:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:17:37 ---> Running in d968a051e3af 19:17:37 Removing intermediate container d968a051e3af 19:17:37 ---> 31d80539c025 19:17:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:17:37 ---> Running in 414440194e83 19:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:17:37 (1/1) Installing dumb-init (1.2.5-r2) 19:17:37 Executing busybox-1.35.0-r29.trigger 19:17:37 OK: 8 MiB in 16 packages 19:17:37 Removing intermediate container 414440194e83 19:17:37 ---> 785f12ca6980 19:17:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:17:37 ---> fb269c79da9f 19:17:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:17:37 ---> b34e21528aab 19:17:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:17:37 ---> 222f696bf246 19:17:37 Step 20/25 : EXPOSE 59986 19:17:37 ---> Running in 881d536083f9 19:17:37 Removing intermediate container 881d536083f9 19:17:37 ---> 143ed57ab9f3 19:17:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:17:37 ---> Running in 2beb41932aa2 19:17:37 Removing intermediate container 2beb41932aa2 19:17:37 ---> 928746c6757b 19:17:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:17:37 ---> Running in 3fb00737bc24 19:17:37 Removing intermediate container 3fb00737bc24 19:17:37 ---> eac95726510d 19:17:37 Step 23/25 : LABEL arch=arm64 19:17:37 ---> Running in 683b5ef8830d 19:17:37 Removing intermediate container 683b5ef8830d 19:17:37 ---> 4af02e7d8560 19:17:37 Step 24/25 : LABEL git_sha=b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:17:37 ---> Running in fda2ad8a13cb 19:17:37 Removing intermediate container fda2ad8a13cb 19:17:37 ---> d325e13c0c85 19:17:37 Step 25/25 : LABEL version=3.0.0-dev.44 19:17:37 ---> Running in ba44deb15862 19:17:37 Removing intermediate container ba44deb15862 19:17:37 ---> f04ab4d6141a 19:17:37 [Warning] One or more build-args [ARCH] were not consumed 19:17:37 Successfully built f04ab4d6141a 19:17:37 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 19:17:38 provisioning config files... 19:17:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/116@tmp/config8453246856646533080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:38 ---> docker-login.sh 19:17:38 nexus3.edgexfoundry.org:10001 19:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:38 Configure a credential helper to remove this warning. See 19:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:38 19:17:38 Login Succeeded 19:17:38 nexus3.edgexfoundry.org:10002 19:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:39 Configure a credential helper to remove this warning. See 19:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:39 19:17:39 Login Succeeded 19:17:39 nexus3.edgexfoundry.org:10003 19:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:39 Configure a credential helper to remove this warning. See 19:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:39 19:17:39 Login Succeeded 19:17:39 nexus3.edgexfoundry.org:10004 19:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:39 Configure a credential helper to remove this warning. See 19:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:39 19:17:39 Login Succeeded 19:17:39 docker.io 19:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:40 Configure a credential helper to remove this warning. See 19:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:40 19:17:40 Login Succeeded 19:17:40 ---> docker-login.sh ends [Pipeline] } 19:17:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:17:40 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 19:17:40 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:17:40 latest 19:17:40 3.0.0-dev.44 19:17:40 b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 19:17:40 main 19:17:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:17:41 619e6e8a5dfc: Preparing 19:17:41 5b7da1a1f693: Preparing 19:17:41 5e55d9fe9154: Preparing 19:17:41 ae33eb4f92bd: Preparing 19:17:41 26cbea5cba74: Preparing 19:17:41 26cbea5cba74: Layer already exists 19:17:41 5b7da1a1f693: Pushed 19:17:41 619e6e8a5dfc: Pushed 19:17:41 ae33eb4f92bd: Pushed 19:17:46 5e55d9fe9154: Pushed 19:17:46 b9b57828cb91c1ed80a64c0f12d73d3d38017d14: digest: sha256:fe00c4d02225c556c56a4dc79d84569de12428a67c73acffa7a57a338ea76b3f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 19:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:17:49 619e6e8a5dfc: Preparing 19:17:49 5b7da1a1f693: Preparing 19:17:49 5e55d9fe9154: Preparing 19:17:49 ae33eb4f92bd: Preparing 19:17:49 26cbea5cba74: Preparing 19:17:49 26cbea5cba74: Layer already exists 19:17:49 ae33eb4f92bd: Layer already exists 19:17:49 619e6e8a5dfc: Layer already exists 19:17:49 5e55d9fe9154: Layer already exists 19:17:49 5b7da1a1f693: Layer already exists 19:17:49 latest: digest: sha256:fe00c4d02225c556c56a4dc79d84569de12428a67c73acffa7a57a338ea76b3f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.44 19:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:17:50 619e6e8a5dfc: Preparing 19:17:50 5b7da1a1f693: Preparing 19:17:50 5e55d9fe9154: Preparing 19:17:50 ae33eb4f92bd: Preparing 19:17:50 26cbea5cba74: Preparing 19:17:50 ae33eb4f92bd: Layer already exists 19:17:50 5b7da1a1f693: Layer already exists 19:17:50 619e6e8a5dfc: Layer already exists 19:17:50 26cbea5cba74: Layer already exists 19:17:50 5e55d9fe9154: Layer already exists 19:17:50 3.0.0-dev.44: digest: sha256:fe00c4d02225c556c56a4dc79d84569de12428a67c73acffa7a57a338ea76b3f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 19:17:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:17:51 619e6e8a5dfc: Preparing 19:17:51 5b7da1a1f693: Preparing 19:17:51 5e55d9fe9154: Preparing 19:17:51 ae33eb4f92bd: Preparing 19:17:51 26cbea5cba74: Preparing 19:17:51 5e55d9fe9154: Layer already exists 19:17:51 26cbea5cba74: Layer already exists 19:17:51 5b7da1a1f693: Layer already exists 19:17:51 ae33eb4f92bd: Layer already exists 19:17:51 619e6e8a5dfc: Layer already exists 19:17:51 b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44: digest: sha256:fe00c4d02225c556c56a4dc79d84569de12428a67c73acffa7a57a338ea76b3f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 19:17:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:17:52 619e6e8a5dfc: Preparing 19:17:52 5b7da1a1f693: Preparing 19:17:52 5e55d9fe9154: Preparing 19:17:52 ae33eb4f92bd: Preparing 19:17:52 26cbea5cba74: Preparing 19:17:52 5b7da1a1f693: Layer already exists 19:17:52 ae33eb4f92bd: Layer already exists 19:17:52 619e6e8a5dfc: Layer already exists 19:17:52 26cbea5cba74: Layer already exists 19:17:52 5e55d9fe9154: Layer already exists 19:17:52 main: digest: sha256:fe00c4d02225c556c56a4dc79d84569de12428a67c73acffa7a57a338ea76b3f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:17:52 ===================================================== [Pipeline] echo 19:17:52 taggedImages: 19:17:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b9b57828cb91c1ed80a64c0f12d73d3d38017d14 19:17:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 19:17:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.44 19:17:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b9b57828cb91c1ed80a64c0f12d73d3d38017d14-3.0.0-dev.44 19:17:52 - 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 19:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:53 19:17:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:53 arm64: Pulling from edgex-lftools-log-publisher 19:17:53 8998bd30e6a1: Pulling fs layer 19:17:53 04944245beec: Pulling fs layer 19:17:53 699f458cf7ca: Pulling fs layer 19:17:53 765212b225bb: Pulling fs layer 19:17:53 f23df028b6ca: Pulling fs layer 19:17:53 d65c8cfc05b1: Pulling fs layer 19:17:53 2437ff75d9bd: Pulling fs layer 19:17:53 765212b225bb: Waiting 19:17:53 f23df028b6ca: Waiting 19:17:53 d65c8cfc05b1: Waiting 19:17:53 2437ff75d9bd: Waiting 19:17:53 04944245beec: Verifying Checksum 19:17:53 04944245beec: Download complete 19:17:53 765212b225bb: Verifying Checksum 19:17:53 765212b225bb: Download complete 19:17:53 f23df028b6ca: Verifying Checksum 19:17:53 f23df028b6ca: Download complete 19:17:53 d65c8cfc05b1: Verifying Checksum 19:17:53 d65c8cfc05b1: Download complete 19:17:54 699f458cf7ca: Verifying Checksum 19:17:54 699f458cf7ca: Download complete 19:17:54 8998bd30e6a1: Verifying Checksum 19:17:54 8998bd30e6a1: Download complete 19:17:56 2437ff75d9bd: Verifying Checksum 19:17:56 2437ff75d9bd: Download complete 19:17:58 8998bd30e6a1: Pull complete 19:17:59 04944245beec: Pull complete 19:18:02 699f458cf7ca: Pull complete 19:18:02 765212b225bb: Pull complete 19:18:03 f23df028b6ca: Pull complete 19:18:03 d65c8cfc05b1: Pull complete 19:18:18 2437ff75d9bd: Pull complete 19:18:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:18 prd-ubuntu20.04-docker-arm64-4c-16g-15934 does not seem to be running inside a container 19:18:19 $ 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/116 -v /w/workspace/device-rest-go/116:/w/workspace/device-rest-go/116:rw,z -v /w/workspace/device-rest-go/116@tmp:/w/workspace/device-rest-go/116@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 19:18:21 $ docker top 2aacc6e8f6cd8ae560995c1e7b34b628ba125c43be2b3ea72799f28e05519e05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:22 ---> job-cost.sh 19:18:22 lf-activate-venv: SKIPPING 19:18:22 INFO: No Stack... 19:18:23 INFO: Retrieving Pricing Info for: v3-standard-4 19:18:24 INFO: Archiving Costs [Pipeline] sh 19:18:25 + cat /w/workspace/device-rest-go/116/archives/cost.csv 19:18:25 + cut -d, -f6 [Pipeline] lock 19:18:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] 19:18:25 Resource [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] did not exist. Created. 19:18:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:18:25 /w/workspace/device-rest-go/116@tmp/durable-116979a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:18:26 + echo total: 0.10999999940395355 [Pipeline] stash 19:18:26 Warning: overwriting stash ‘stack-cost’ 19:18:26 Stashed 1 file(s) [Pipeline] } 19:18:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 19:18:26 $ docker stop --time=1 2aacc6e8f6cd8ae560995c1e7b34b628ba125c43be2b3ea72799f28e05519e05 19:18:28 $ docker rm -f --volumes 2aacc6e8f6cd8ae560995c1e7b34b628ba125c43be2b3ea72799f28e05519e05 [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 19:18:28 provisioning config files... 19:18:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2971747558568786113tmp [Pipeline] { [Pipeline] sh 19:18:28 + set +x 19:18:28 + curl -s https://codecov.io/bash 19:18:28 + bash -s -- 19:18:28 19:18:28 _____ _ 19:18:28 / ____| | | 19:18:28 | | ___ __| | ___ ___ _____ __ 19:18:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:18:28 | |___| (_) | (_| | __/ (_| (_) \ V / 19:18:28 \_____\___/ \__,_|\___|\___\___/ \_/ 19:18:28 Bash-1.0.6 19:18:28 19:18:28 19:18:28 ==> git version 2.25.1 found 19:18:28 ==> 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 19:18:28 Release-Date: 2020-01-08 19:18:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:18:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:18:28 ==> Jenkins CI detected. 19:18:28 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 19:18:28 project root: . 19:18:28 --> token set from env 19:18:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:18:28 ==> Running gcov in . (disable via -X gcov) 19:18:28 ==> Python coveragepy not found 19:18:28 ==> Searching for coverage reports in: 19:18:28 + . 19:18:28 -> Found 1 reports 19:18:28 ==> Detecting git/mercurial file structure 19:18:28 ==> Reading reports 19:18:28 + ./coverage.out bytes=14663 19:18:28 ==> Appending adjustments 19:18:28 https://docs.codecov.io/docs/fixing-reports 19:18:28 + Found adjustments 19:18:28 ==> Gzipping contents 19:18:28 4.0K /tmp/codecov.O7bRuB.gz 19:18:28 ==> Uploading reports 19:18:28 url: https://codecov.io 19:18:28 query: branch=main&commit=b9b57828cb91c1ed80a64c0f12d73d3d38017d14&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:18:28 -> Pinging Codecov 19:18:28 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=b9b57828cb91c1ed80a64c0f12d73d3d38017d14&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:18:29 -> Uploading to 19:18:29 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/4E5D53B4F1F92C436F7061BF334D961C/b9b57828cb91c1ed80a64c0f12d73d3d38017d14/92f2ddbb-0ad6-4a79-9a59-1c5cb70b88ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1806263677f4a411e30789c70e0d71837d54dcf05aa433f0be58e747dbab8920 19:18:29 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:29 Dload Upload Total Spent Left Speed 19:18:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12303 --:--:-- --:--:-- --:--:-- 12243 100 2510 0 0 100 2510 0 12009 --:--:-- --:--:-- --:--:-- 11952 19:18:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] } 19:18:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:18:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:18:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:18:29 19:18:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:18:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:18:30 df9b9388f04a: Pulling fs layer 19:18:30 52dc419b0ee2: Pulling fs layer 19:18:30 25bc292e5bac: Pulling fs layer 19:18:30 114826534d7a: Pulling fs layer 19:18:30 4657fd5d0bcf: Pulling fs layer 19:18:30 6ad1cebc031e: Pulling fs layer 19:18:30 8a3aa393b2d8: Pulling fs layer 19:18:30 4657fd5d0bcf: Waiting 19:18:30 6ad1cebc031e: Waiting 19:18:30 114826534d7a: Waiting 19:18:30 8a3aa393b2d8: Waiting 19:18:30 25bc292e5bac: Verifying Checksum 19:18:30 25bc292e5bac: Download complete 19:18:30 52dc419b0ee2: Download complete 19:18:30 4657fd5d0bcf: Verifying Checksum 19:18:30 4657fd5d0bcf: Download complete 19:18:30 df9b9388f04a: Verifying Checksum 19:18:30 df9b9388f04a: Download complete 19:18:30 df9b9388f04a: Pull complete 19:18:30 52dc419b0ee2: Pull complete 19:18:30 6ad1cebc031e: Verifying Checksum 19:18:30 25bc292e5bac: Pull complete 19:18:31 114826534d7a: Verifying Checksum 19:18:31 114826534d7a: Download complete 19:18:31 8a3aa393b2d8: Verifying Checksum 19:18:31 8a3aa393b2d8: Download complete 19:18:34 114826534d7a: Pull complete 19:18:34 4657fd5d0bcf: Pull complete 19:18:34 6ad1cebc031e: Pull complete 19:18:37 8a3aa393b2d8: Pull complete 19:18:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:18:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:37 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:18:37 $ 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 19:18:39 $ docker top ce53ad2b5c934f796e6edded44866817a9819b3c499d14acb96f31d95289b5cd -eo pid,comm [Pipeline] { [Pipeline] echo 19:18:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 19:18:39 + set -o pipefail 19:18:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 19:18:44 19:18:44 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 19:18:44 19:18:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/a6ebd925-7be9-41dd-b8eb-434c4d773263 19:18:44 19:18:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:18:44 19:18:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:18:44 19:18:44 19:18:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:18:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:18:44 More details here: https://snyk.co/ue1NS [Pipeline] } 19:18:44 $ docker stop --time=1 ce53ad2b5c934f796e6edded44866817a9819b3c499d14acb96f31d95289b5cd 19:18:46 $ docker rm -f --volumes ce53ad2b5c934f796e6edded44866817a9819b3c499d14acb96f31d95289b5cd [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 19:18:47 + git log --format=format:%s -1 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 [Pipeline] sh 19:18:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:18:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:18:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:47 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:18:47 $ 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 19:18:48 $ docker top 4c6fc89e506247a12d329fbad0b1ddc0a952ebe3a57d95a8bfcba4138c6212a9 -eo pid,comm 19:18:48 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). 19:18:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:18:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:18:48 [ssh-agent] Looking for ssh-agent implementation... 19:18:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:18:48 $ docker exec 4c6fc89e506247a12d329fbad0b1ddc0a952ebe3a57d95a8bfcba4138c6212a9 ssh-agent 19:18:48 SSH_AUTH_SOCK=/tmp/ssh-m4RmFpKDqeOT/agent.32 19:18:48 SSH_AGENT_PID=38 19:18:48 Running ssh-add (command line suppressed) 19:18:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_954200564205233022.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_954200564205233022.key) 19:18:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:18:49 + git semver tag 19:18:49 2023-05-17 19:18:49,300 [run_tag] DEBUG tag force:False 19:18:49 2023-05-17 19:18:49,301 [check_head_tag] DEBUG check head tag 19:18:49 2023-05-17 19:18:49,302 [execute] INFO git cat-file --batch-check 19:18:49 2023-05-17 19:18:49,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 19:18:49 2023-05-17 19:18:49,306 [execute] INFO git cat-file --batch 19:18:49 2023-05-17 19:18:49,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 19:18:49 2023-05-17 19:18:49,331 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:18:49 2023-05-17 19:18:49,332 [execute] INFO git tag -a v3.0.0-dev.44 -m v3.0.0-dev.44 19:18:49 2023-05-17 19:18:49,332 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.44', '-m', 'v3.0.0-dev.44'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 19:18:49 2023-05-17 19:18:49,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:18:49 3.0.0-dev.44 [Pipeline] } 19:18:49 $ docker exec --env ******** --env ******** 4c6fc89e506247a12d329fbad0b1ddc0a952ebe3a57d95a8bfcba4138c6212a9 ssh-agent -k 19:18:49 unset SSH_AUTH_SOCK; 19:18:49 unset SSH_AGENT_PID; 19:18:49 echo Agent pid 38 killed; 19:18:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:18:49 + git semver [Pipeline] } 19:18:50 $ docker stop --time=1 4c6fc89e506247a12d329fbad0b1ddc0a952ebe3a57d95a8bfcba4138c6212a9 19:18:51 $ docker rm -f --volumes 4c6fc89e506247a12d329fbad0b1ddc0a952ebe3a57d95a8bfcba4138c6212a9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:18:51 19:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:18:52 0.23.1-centos7: Pulling from edgex-lftools 19:18:52 ab5ef0e58194: Pulling fs layer 19:18:52 9712f1f96733: Pulling fs layer 19:18:52 63f879dbbcfc: Pulling fs layer 19:18:52 0d9ebad4ef96: Pulling fs layer 19:18:52 e9a5061849ea: Pulling fs layer 19:18:52 d747dcd14b5f: Pulling fs layer 19:18:52 2de7ff778b66: Pulling fs layer 19:18:52 2de7ff778b66: Waiting 19:18:52 d747dcd14b5f: Waiting 19:18:52 e9a5061849ea: Waiting 19:18:52 9712f1f96733: Verifying Checksum 19:18:52 9712f1f96733: Download complete 19:18:52 63f879dbbcfc: Verifying Checksum 19:18:52 63f879dbbcfc: Download complete 19:18:52 e9a5061849ea: Verifying Checksum 19:18:52 e9a5061849ea: Download complete 19:18:52 0d9ebad4ef96: Verifying Checksum 19:18:52 0d9ebad4ef96: Download complete 19:18:52 d747dcd14b5f: Verifying Checksum 19:18:52 d747dcd14b5f: Download complete 19:18:52 ab5ef0e58194: Verifying Checksum 19:18:52 ab5ef0e58194: Download complete 19:18:52 2de7ff778b66: Verifying Checksum 19:18:52 2de7ff778b66: Download complete 19:18:55 ab5ef0e58194: Pull complete 19:18:55 9712f1f96733: Pull complete 19:18:55 63f879dbbcfc: Pull complete 19:18:58 0d9ebad4ef96: Pull complete 19:18:59 e9a5061849ea: Pull complete 19:18:59 d747dcd14b5f: Pull complete 19:19:00 2de7ff778b66: Pull complete 19:19:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:00 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:19:00 $ 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 19:19:05 $ docker top a6d89deb1d2ea199ee00854394bf1bc79bec96605c12c1d34432b550926b75db -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:19:05 provisioning config files... 19:19:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10130976919662332407tmp 19:19:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13335854144688093181tmp 19:19:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9080362540834996329tmp [Pipeline] { [Pipeline] echo 19:19:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:19:05 ---> sigul-configuration.sh 19:19:05 gpg: directory `/root/.gnupg' created 19:19:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:19:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:19:05 gpg: keyring `/root/.gnupg/secring.gpg' created 19:19:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:19:05 gpg: CAST5 encrypted data 19:19:05 gpg: encrypted with 1 passphrase 19:19:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:19:05 + mkdir /home/jenkins 19:19:05 + mkdir /home/jenkins/sigul [Pipeline] sh 19:19:06 + 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 19:19:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:19:06 ---> sigul-install.sh 19:19:06 Sigul already installed; skipping installation. [Pipeline] sh 19:19:06 + git tag --list 19:19:06 v1.0.0 19:19:06 v1.1.0 19:19:06 v1.1.1 19:19:06 v1.1.2 19:19:06 v1.2.0 19:19:06 v1.2.1 19:19:06 v2.0.0 19:19:06 v2.1.0 19:19:06 v2.1.1 19:19:06 v2.1.1-dev.1 19:19:06 v2.1.1-dev.2 19:19:06 v2.1.1-dev.3 19:19:06 v2.2.0 19:19:06 v2.2.1-dev.1 19:19:06 v2.2.1-dev.2 19:19:06 v2.2.1-dev.3 19:19:06 v2.2.1-dev.4 19:19:06 v2.2.1-dev.5 19:19:06 v2.2.1-dev.6 19:19:06 v2.2.1-dev.7 19:19:06 v2.2.1-dev.8 19:19:06 v2.2.1-dev.9 19:19:06 v2.3.0 19:19:06 v2.3.0-dev.10 19:19:06 v2.3.0-dev.11 19:19:06 v2.3.0-dev.12 19:19:06 v2.3.0-dev.13 19:19:06 v2.3.0-dev.14 19:19:06 v2.3.0-dev.15 19:19:06 v2.3.0-dev.16 19:19:06 v2.3.0-dev.17 19:19:06 v2.3.0-dev.18 19:19:06 v2.3.0-dev.19 19:19:06 v2.3.0-dev.20 19:19:06 v2.3.0-dev.21 19:19:06 v2.3.0-dev.22 19:19:06 v2.3.0-dev.23 19:19:06 v2.3.0-dev.24 19:19:06 v2.3.0-dev.25 19:19:06 v2.3.0-dev.9 19:19:06 v3.0.0-dev.1 19:19:06 v3.0.0-dev.10 19:19:06 v3.0.0-dev.11 19:19:06 v3.0.0-dev.12 19:19:06 v3.0.0-dev.13 19:19:06 v3.0.0-dev.14 19:19:06 v3.0.0-dev.15 19:19:06 v3.0.0-dev.16 19:19:06 v3.0.0-dev.17 19:19:06 v3.0.0-dev.18 19:19:06 v3.0.0-dev.19 19:19:06 v3.0.0-dev.2 19:19:06 v3.0.0-dev.20 19:19:06 v3.0.0-dev.21 19:19:06 v3.0.0-dev.22 19:19:06 v3.0.0-dev.23 19:19:06 v3.0.0-dev.24 19:19:06 v3.0.0-dev.25 19:19:06 v3.0.0-dev.26 19:19:06 v3.0.0-dev.27 19:19:06 v3.0.0-dev.28 19:19:06 v3.0.0-dev.29 19:19:06 v3.0.0-dev.3 19:19:06 v3.0.0-dev.30 19:19:06 v3.0.0-dev.31 19:19:06 v3.0.0-dev.32 19:19:06 v3.0.0-dev.33 19:19:06 v3.0.0-dev.34 19:19:06 v3.0.0-dev.35 19:19:06 v3.0.0-dev.36 19:19:06 v3.0.0-dev.37 19:19:06 v3.0.0-dev.38 19:19:06 v3.0.0-dev.39 19:19:06 v3.0.0-dev.4 19:19:06 v3.0.0-dev.40 19:19:06 v3.0.0-dev.41 19:19:06 v3.0.0-dev.42 19:19:06 v3.0.0-dev.43 19:19:06 v3.0.0-dev.44 19:19:06 v3.0.0-dev.5 19:19:06 v3.0.0-dev.6 19:19:06 v3.0.0-dev.7 19:19:06 v3.0.0-dev.8 19:19:06 v3.0.0-dev.9 [Pipeline] sh 19:19:07 + lftools sign git-tag v3.0.0-dev.44 19:19:07 Signing Git tag with Sigul... 19:19:07 Signing v3.0.0-dev.44 [Pipeline] echo 19:19:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:19:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:19:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:19:08 $ docker stop --time=1 a6d89deb1d2ea199ee00854394bf1bc79bec96605c12c1d34432b550926b75db 19:19:09 $ docker rm -f --volumes a6d89deb1d2ea199ee00854394bf1bc79bec96605c12c1d34432b550926b75db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:19:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:10 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:19:10 $ 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 19:19:10 $ docker top 88073cf823de7e96d226e029301a5bcde3b53727102ac7614c22098aca898ba8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:10 [ssh-agent] Looking for ssh-agent implementation... 19:19:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:10 $ docker exec 88073cf823de7e96d226e029301a5bcde3b53727102ac7614c22098aca898ba8 ssh-agent 19:19:10 SSH_AUTH_SOCK=/tmp/ssh-ml1LC1UGNNBn/agent.33 19:19:10 SSH_AGENT_PID=39 19:19:10 Running ssh-add (command line suppressed) 19:19:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10541178135882244512.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10541178135882244512.key) 19:19:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:11 + git semver bump pre 19:19:11 2023-05-17 19:19:11,543 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:19:11 2023-05-17 19:19:11,543 [bump_version] DEBUG bumping version:3.0.0-dev.44 on axis:pre with prefix:dev 19:19:11 2023-05-17 19:19:11,543 [bump_version] DEBUG bumped version:3.0.0-dev.45 19:19:11 2023-05-17 19:19:11,543 [write_version] DEBUG write version:3.0.0-dev.45 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 19:19:11 2023-05-17 19:19:11,543 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:19:11 2023-05-17 19:19:11,543 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:19:11 2023-05-17 19:19:11,546 [execute] INFO git cat-file --batch-check 19:19:11 2023-05-17 19:19:11,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:19:11 2023-05-17 19:19:11,551 [execute] INFO git cat-file --batch 19:19:11 2023-05-17 19:19:11,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:19:11 2023-05-17 19:19:11,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:19:11 3.0.0-dev.45 [Pipeline] } 19:19:11 $ docker exec --env ******** --env ******** 88073cf823de7e96d226e029301a5bcde3b53727102ac7614c22098aca898ba8 ssh-agent -k 19:19:11 unset SSH_AUTH_SOCK; 19:19:11 unset SSH_AGENT_PID; 19:19:11 echo Agent pid 39 killed; 19:19:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:12 + git semver [Pipeline] } 19:19:12 $ docker stop --time=1 88073cf823de7e96d226e029301a5bcde3b53727102ac7614c22098aca898ba8 19:19:13 $ docker rm -f --volumes 88073cf823de7e96d226e029301a5bcde3b53727102ac7614c22098aca898ba8 [Pipeline] // withDockerContainer [Pipeline] sh 19:19:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:14 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:19:14 $ 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 19:19:14 $ docker top 572fc7b0900919c69a50a9b9f6c3508ea4783328f310da0f4659c3a0588bcab9 -eo pid,comm 19:19:14 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). 19:19:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:14 [ssh-agent] Looking for ssh-agent implementation... 19:19:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:14 $ docker exec 572fc7b0900919c69a50a9b9f6c3508ea4783328f310da0f4659c3a0588bcab9 ssh-agent 19:19:15 SSH_AUTH_SOCK=/tmp/ssh-MNbv8G7N02PH/agent.33 19:19:15 SSH_AGENT_PID=39 19:19:15 Running ssh-add (command line suppressed) 19:19:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11706739802241058534.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11706739802241058534.key) 19:19:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:15 + git semver push 19:19:15 2023-05-17 19:19:15,679 [run_push] DEBUG push 19:19:15 2023-05-17 19:19:15,680 [execute] INFO git cat-file --batch-check 19:19:15 2023-05-17 19:19:15,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:19:15 2023-05-17 19:19:15,684 [execute] INFO git rev-list 9dfa3252676a3c75c9f6a3fc2ab9d1359e0fab91 -- 19:19:15 2023-05-17 19:19:15,685 [execute] DEBUG Popen(['git', 'rev-list', '9dfa3252676a3c75c9f6a3fc2ab9d1359e0fab91', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:19:15 2023-05-17 19:19:15,693 [execute] INFO git fetch -v origin 19:19:15 2023-05-17 19:19:15,694 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:19:16 2023-05-17 19:19:16,157 [run_push] DEBUG no remote changes detected 19:19:16 2023-05-17 19:19:16,157 [execute] INFO git push origin semver 19:19:16 2023-05-17 19:19:16,158 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:19:17 2023-05-17 19:19:16,923 [run_push] DEBUG push all version tags 19:19:17 2023-05-17 19:19:16,924 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:19:17 2023-05-17 19:19:16,924 [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) 19:19:17 2023-05-17 19:19:17,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:19:17 3.0.0-dev.45 [Pipeline] } 19:19:17 $ docker exec --env ******** --env ******** 572fc7b0900919c69a50a9b9f6c3508ea4783328f310da0f4659c3a0588bcab9 ssh-agent -k 19:19:17 unset SSH_AUTH_SOCK; 19:19:17 unset SSH_AGENT_PID; 19:19:17 echo Agent pid 39 killed; 19:19:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:18 + git semver [Pipeline] } 19:19:18 $ docker stop --time=1 572fc7b0900919c69a50a9b9f6c3508ea4783328f310da0f4659c3a0588bcab9 19:19:19 $ docker rm -f --volumes 572fc7b0900919c69a50a9b9f6c3508ea4783328f310da0f4659c3a0588bcab9 [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 19:19:20 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 19:19:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 19:19:20 total 16 19:19:20 drwxr-xr-x 3 root root 4096 May 17 19:05 . 19:19:20 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:19 .. 19:19:20 drwxr-xr-x 2 root root 4096 May 17 19:05 cost 19:19:20 -rw-r--r-- 1 root root 86 May 17 19:05 cost.csv 19:19:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 19:19:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 19:19:20 total 16 19:19:20 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:05 . 19:19:20 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:19 .. 19:19:20 drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:05 cost 19:19:20 -rw-r--r-- 1 jenkins jenkins 86 May 17 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:19:21 ---> package-listing.sh 19:19:21 ++ facter osfamily 19:19:21 ++ tr '[:upper:]' '[:lower:]' 19:19:21 + OS_FAMILY=debian 19:19:21 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 19:19:21 + START_PACKAGES=/tmp/packages_start.txt 19:19:21 + END_PACKAGES=/tmp/packages_end.txt 19:19:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:19:21 + PACKAGES=/tmp/packages_start.txt 19:19:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:19:21 + PACKAGES=/tmp/packages_end.txt 19:19:21 + case "${OS_FAMILY}" in 19:19:21 + dpkg -l 19:19:21 + grep '^ii' 19:19:21 + '[' -f /tmp/packages_start.txt ']' 19:19:21 + '[' -f /tmp/packages_end.txt ']' 19:19:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:19:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:19:21 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 19:19:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 19:19:21 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 19:19:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:22 prd-ubuntu20.04-docker-8c-8g-15922 does not seem to be running inside a container 19:19:22 $ 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 19:19:22 $ docker top 4413f2e372f1e01756c102993c269fd2ccc9e1e8f7ac9e57993e242b71d526d2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:23 + touch /tmp/pre-build-complete [Pipeline] sh 19:19:23 + mkdir -p /var/log/sysstat [Pipeline] sh 19:19:23 + ls /var/log/sa-host 19:19:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:23 provisioning config files... 19:19:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16346862645369567835tmp [Pipeline] { [Pipeline] echo 19:19:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> create-netrc.sh [Pipeline] } 19:19:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> python-tools-install.sh [Pipeline] echo 19:19:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> sudo-logs.sh 19:19:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:19:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:19:25 ---> job-cost.sh 19:19:25 lf-activate-venv: SKIPPING 19:19:25 DEBUG: total: 0.2199999988079071 19:19:25 INFO: Retrieving Stack Cost... 19:19:25 INFO: Retrieving Pricing Info for: v3-standard-8 19:19:26 INFO: Archiving Costs [Pipeline] echo 19:19:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> logs-deploy.sh 19:19:26 lf-activate-venv: SKIPPING 19:19:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/116 19:19:26 INFO: archiving workspace using pattern(s): 19:19:27 Archives upload complete. 19:19:27 INFO: archiving logs to Nexus