Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f56d306fd858ae3d3367190115f2cbc940f5ff8 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-ssh11317293337666382933.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2424861827159755805.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7631564516970117270.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7762055109032752860.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-ssh12862112600722447182.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9548 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 8f56d306fd858ae3d3367190115f2cbc940f5ff8 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352)" > git config core.sparsecheckout # timeout=10 > git checkout -f 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 > git rev-list --no-walk 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:34:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:34:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:34:51 ========================================================= 20:34:51 EdgeX Global Pipelines Version Info 20:34:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:34:52 ------------------- 20:34:52 stable info: 20:34:52 ------------------- 20:34:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:52 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:34:52 Message: update stable to v1.0.254 20:34:53 ------------------- 20:34:53 experimental info: 20:34:53 ------------------- 20:34:53 Commited By: **** collab-it+edgex@linuxfoundation.org 20:34:53 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:34:53 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f56d30 [Pipeline] echo 20:34:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:53 provisioning config files... 20:34:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1564309389624813765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:54 ---> docker-login.sh 20:34:54 nexus3.edgexfoundry.org:10001 20:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:54 Configure a credential helper to remove this warning. See 20:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:54 20:34:54 Login Succeeded 20:34:54 nexus3.edgexfoundry.org:10002 20:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:54 Configure a credential helper to remove this warning. See 20:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:54 20:34:54 Login Succeeded 20:34:54 nexus3.edgexfoundry.org:10003 20:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:54 Configure a credential helper to remove this warning. See 20:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:54 20:34:54 Login Succeeded 20:34:54 nexus3.edgexfoundry.org:10004 20:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:54 Configure a credential helper to remove this warning. See 20:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:54 20:34:54 Login Succeeded 20:34:54 docker.io 20:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:55 Configure a credential helper to remove this warning. See 20:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:55 20:34:55 Login Succeeded 20:34:55 ---> docker-login.sh ends [Pipeline] } 20:34:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:34:55 + git rev-list -1 --merges 8f56d306fd858ae3d3367190115f2cbc940f5ff8~1..8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo 20:34:55 -----------> git rev-list -1 --merges 8f56d306fd858ae3d3367190115f2cbc940f5ff8~1..8f56d306fd858ae3d3367190115f2cbc940f5ff8 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [false] [Pipeline] sh 20:34:55 + git log --format=format:%s -1 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo 20:34:55 ========================================================= 20:34:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:34:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:56 + git log --format=format:%s -1 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] echo 20:34:56 [semverPrep] GIT_COMMIT: 8f56d306fd858ae3d3367190115f2cbc940f5ff8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352) [Pipeline] echo 20:34:56 [semverPrep] This is not a build commit. [Pipeline] sh 20:34:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:34:56 + grep -v github /etc/ssh/ssh_known_hosts 20:34:56 + [ -e /tmp/ssh_known_hosts ] 20:34:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:34:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:34:56 + sudo tee -a /etc/ssh/ssh_known_hosts 20:34:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:56 20:34:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:34:57 b85a868b505f: Pulling fs layer 20:34:57 e2be974225ed: Pulling fs layer 20:34:57 339a4e72a1f5: Pulling fs layer 20:34:57 988bab9f4d93: Pulling fs layer 20:34:57 1469e6f7b9e6: Pulling fs layer 20:34:57 eaf3925da568: Pulling fs layer 20:34:57 bab4dde63d76: Pulling fs layer 20:34:57 988bab9f4d93: Waiting 20:34:57 1469e6f7b9e6: Waiting 20:34:57 eaf3925da568: Waiting 20:34:57 bab4dde63d76: Waiting 20:34:57 bde34c3a00c8: Pulling fs layer 20:34:57 b352a97aabf1: Pulling fs layer 20:34:57 4872d77fe225: Pulling fs layer 20:34:57 bde34c3a00c8: Waiting 20:34:57 b352a97aabf1: Waiting 20:34:57 5851b861e8e6: Pulling fs layer 20:34:57 4872d77fe225: Waiting 20:34:57 e2be974225ed: Verifying Checksum 20:34:57 e2be974225ed: Download complete 20:34:57 988bab9f4d93: Verifying Checksum 20:34:57 988bab9f4d93: Download complete 20:34:57 1469e6f7b9e6: Verifying Checksum 20:34:57 1469e6f7b9e6: Download complete 20:34:57 eaf3925da568: Verifying Checksum 20:34:57 eaf3925da568: Download complete 20:34:57 339a4e72a1f5: Verifying Checksum 20:34:57 339a4e72a1f5: Download complete 20:34:57 bde34c3a00c8: Verifying Checksum 20:34:57 bde34c3a00c8: Download complete 20:34:57 b352a97aabf1: Download complete 20:34:57 4872d77fe225: Download complete 20:34:57 5851b861e8e6: Download complete 20:34:57 b85a868b505f: Verifying Checksum 20:34:57 b85a868b505f: Download complete 20:34:57 bab4dde63d76: Verifying Checksum 20:34:57 bab4dde63d76: Download complete 20:34:58 b85a868b505f: Pull complete 20:34:59 e2be974225ed: Pull complete 20:34:59 339a4e72a1f5: Pull complete 20:34:59 988bab9f4d93: Pull complete 20:34:59 1469e6f7b9e6: Pull complete 20:34:59 eaf3925da568: Pull complete 20:35:01 bab4dde63d76: Pull complete 20:35:01 bde34c3a00c8: Pull complete 20:35:01 b352a97aabf1: Pull complete 20:35:01 4872d77fe225: Pull complete 20:35:01 5851b861e8e6: Pull complete 20:35:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:35:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:35:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:01 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:35:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:35:05 $ docker top 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 -eo pid,comm 20:35:05 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). 20:35:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:35:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:05 [ssh-agent] Looking for ssh-agent implementation... 20:35:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:05 $ docker exec 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent 20:35:05 SSH_AUTH_SOCK=/tmp/ssh-m9Kgx3QoMOPl/agent.32 20:35:05 SSH_AGENT_PID=38 20:35:05 Running ssh-add (command line suppressed) 20:35:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9204843070439451216.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9204843070439451216.key) 20:35:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:06 + git tag --points-at HEAD [Pipeline] } 20:35:06 $ docker exec --env ******** --env ******** 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent -k 20:35:06 unset SSH_AUTH_SOCK; 20:35:06 unset SSH_AGENT_PID; 20:35:06 echo Agent pid 38 killed; 20:35:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:35:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:06 [ssh-agent] Looking for ssh-agent implementation... 20:35:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:06 $ docker exec 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent 20:35:06 SSH_AUTH_SOCK=/tmp/ssh-bhmdenjMP9ja/agent.70 20:35:06 SSH_AGENT_PID=76 20:35:06 Running ssh-add (command line suppressed) 20:35:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3607859871579173125.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3607859871579173125.key) 20:35:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:07 + git semver init 20:35:07 2023-10-18 20:35:07,335 [run_init] DEBUG init version:0.0.0 force:False 20:35:07 2023-10-18 20:35:07,336 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:35:07 2023-10-18 20:35:07,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:35:07 2023-10-18 20:35:07,337 [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) 20:35:08 2023-10-18 20:35:08,466 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:35:08 2023-10-18 20:35:08,467 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:35:08 2023-10-18 20:35:08,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:35:08 2023-10-18 20:35:08,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:35:08 3.1.0-dev.22 [Pipeline] } 20:35:08 $ docker exec --env ******** --env ******** 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 ssh-agent -k 20:35:08 unset SSH_AUTH_SOCK; 20:35:08 unset SSH_AGENT_PID; 20:35:08 echo Agent pid 76 killed; 20:35:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:35:09 + git semver [Pipeline] } 20:35:09 $ docker stop --time=1 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 20:35:10 $ docker rm -f --volumes 527223051e7fc118f7d62fa7f22bbd1ddd4d8247dd6ad00b1709faeb1b441711 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:35:11 Stashed 1 file(s) [Pipeline] echo 20:35:11 [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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 20:35:11 provisioning config files... 20:35:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config625542967640801540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:11 ---> docker-login.sh 20:35:11 nexus3.edgexfoundry.org:10001 20:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:11 Configure a credential helper to remove this warning. See 20:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:11 20:35:11 Login Succeeded 20:35:11 nexus3.edgexfoundry.org:10002 20:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:11 Configure a credential helper to remove this warning. See 20:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:11 20:35:11 Login Succeeded 20:35:11 nexus3.edgexfoundry.org:10003 20:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:12 Configure a credential helper to remove this warning. See 20:35:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:12 20:35:12 Login Succeeded 20:35:12 nexus3.edgexfoundry.org:10004 20:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:12 Configure a credential helper to remove this warning. See 20:35:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:12 20:35:12 Login Succeeded 20:35:12 docker.io 20:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:12 Configure a credential helper to remove this warning. See 20:35:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:12 20:35:12 Login Succeeded 20:35:12 ---> docker-login.sh ends [Pipeline] } 20:35:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:35:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:12 ========================================================= 20:35:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:35:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:13 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:35:13 Sending build context to Docker daemon 10.93MB 20:35:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:35:13 Step 2/12 : FROM ${BASE} AS builder 20:35:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:35:13 7264a8db6415: Pulling fs layer 20:35:13 c4d48a809fc2: Pulling fs layer 20:35:13 4f1c88b9dad5: Pulling fs layer 20:35:13 ad3a456e5733: Pulling fs layer 20:35:13 33e27b845d1e: Pulling fs layer 20:35:13 c68163c4e522: Pulling fs layer 20:35:13 50da416c3ac9: Pulling fs layer 20:35:13 23d2d4c4bb30: Pulling fs layer 20:35:13 ad3a456e5733: Waiting 20:35:13 33e27b845d1e: Waiting 20:35:13 c68163c4e522: Waiting 20:35:13 50da416c3ac9: Waiting 20:35:13 23d2d4c4bb30: Waiting 20:35:13 c4d48a809fc2: Download complete 20:35:13 ad3a456e5733: Download complete 20:35:13 33e27b845d1e: Verifying Checksum 20:35:13 33e27b845d1e: Download complete 20:35:13 7264a8db6415: Verifying Checksum 20:35:13 7264a8db6415: Download complete 20:35:13 c68163c4e522: Verifying Checksum 20:35:13 c68163c4e522: Download complete 20:35:13 7264a8db6415: Pull complete 20:35:13 23d2d4c4bb30: Verifying Checksum 20:35:13 23d2d4c4bb30: Download complete 20:35:13 c4d48a809fc2: Pull complete 20:35:13 4f1c88b9dad5: Download complete 20:35:14 50da416c3ac9: Verifying Checksum 20:35:14 50da416c3ac9: Download complete 20:35:17 4f1c88b9dad5: Pull complete 20:35:17 ad3a456e5733: Pull complete 20:35:17 33e27b845d1e: Pull complete 20:35:17 c68163c4e522: Pull complete 20:35:19 50da416c3ac9: Pull complete 20:35:19 23d2d4c4bb30: Pull complete 20:35:19 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:35:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:35:19 ---> 0786185ac409 20:35:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:35:25 ---> Running in eee449b0e57e 20:35:25 Removing intermediate container eee449b0e57e 20:35:25 ---> 147d9977c4ee 20:35:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:25 ---> Running in b572b218d782 20:35:25 Removing intermediate container b572b218d782 20:35:25 ---> e1be303b3a4c 20:35:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:35:25 ---> Running in 510ba0f593f6 20:35:25 Removing intermediate container 510ba0f593f6 20:35:25 ---> c44146df418a 20:35:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:35:25 ---> Running in 2f73f36bc1f8 20:35:25 Removing intermediate container 2f73f36bc1f8 20:35:25 ---> a262b8b3d5f5 20:35:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:25 ---> Running in 3a97f755bce9 20:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:35:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:35:25 (2/4) Installing libedit (20221030.3.1-r1) 20:35:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:35:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:35:25 Executing busybox-1.36.1-r2.trigger 20:35:25 OK: 268 MiB in 56 packages 20:35:26 Removing intermediate container 3a97f755bce9 20:35:26 ---> e05ba02d0a7a 20:35:26 Step 8/12 : WORKDIR /device-rest-go 20:35:26 ---> Running in fb58deb61c8f 20:35:26 Removing intermediate container fb58deb61c8f 20:35:26 ---> 1d0ce61e1e06 20:35:26 Step 9/12 : COPY go.mod vendor* ./ 20:35:26 ---> 1ee7ce47949b 20:35:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:26 ---> Running in c721018e1f95 20:35:26 Still waiting to schedule task 20:35:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:36:22 Removing intermediate container c721018e1f95 20:36:22 ---> 118393ee1209 20:36:22 Step 11/12 : COPY . . 20:36:22 ---> 29146708080b 20:36:22 Step 12/12 : RUN $MAKE 20:36:22 ---> Running in 8c319ad4f739 20:36:22 noop 20:36:22 Removing intermediate container 8c319ad4f739 20:36:22 ---> 07fda6b754aa 20:36:22 Successfully built 07fda6b754aa 20:36:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:22 + docker inspect -f . ci-base-image-x86_64 20:36:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:22 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:36:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:36:23 $ docker top 43f369a79730becf197a4df696efd672b8ae421a03d667ce676154cc4b42720e -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:23 + go version 20:36:23 go version go1.21.0 linux/amd64 [Pipeline] } 20:36:23 $ docker stop --time=1 43f369a79730becf197a4df696efd672b8ae421a03d667ce676154cc4b42720e 20:36:24 $ docker rm -f --volumes 43f369a79730becf197a4df696efd672b8ae421a03d667ce676154cc4b42720e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:25 + docker inspect -f . ci-base-image-x86_64 20:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:25 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:36:25 $ docker top 11e31b64e0f761b2ffa078bf248c0db582c2411b6e952ff0bd350dada3da0b0a -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:36:26 + make test 20:36:26 go test ./... -coverprofile=coverage.out ./... 20:36:27 ? github.com/edgexfoundry/device-rest-go [no test files] 20:36:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:36:37 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:36:42 go vet ./... 20:36:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:36:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:36:45 ./bin/test-attribution-txt.sh [Pipeline] echo 20:36:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:36:45 $ docker stop --time=1 11e31b64e0f761b2ffa078bf248c0db582c2411b6e952ff0bd350dada3da0b0a 20:36:48 $ docker rm -f --volumes 11e31b64e0f761b2ffa078bf248c0db582c2411b6e952ff0bd350dada3da0b0a [Pipeline] // withDockerContainer [Pipeline] sh 20:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:36:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:50 + ls -al . 20:36:50 total 188 20:36:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 20:36 . 20:36:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:34 .. 20:36:50 -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:34 .dockerignore 20:36:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:36 .git 20:36:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:34 .github 20:36:50 -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:34 .gitignore 20:36:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:34 .golangci.yml 20:36:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:35 .semver 20:36:50 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:34 Attribution.txt 20:36:50 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:34 CHANGELOG.md 20:36:50 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:34 Dockerfile 20:36:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:34 GOVERNANCE.md 20:36:50 -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:34 Jenkinsfile 20:36:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:34 LICENSE 20:36:50 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:34 Makefile 20:36:50 -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:34 OWNERS.md 20:36:50 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:34 README.md 20:36:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 20:35 VERSION 20:36:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:34 bin 20:36:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:34 cmd 20:36:50 -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:36 coverage.out 20:36:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:34 driver 20:36:50 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:34 go.mod 20:36:50 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:34 go.sum 20:36:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:34 snap 20:36:50 -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:50 + 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=8f56d306fd858ae3d3367190115f2cbc940f5ff8 --label arch=amd64 --label version=3.1.0-dev.22 . 20:36:50 Sending build context to Docker daemon 10.95MB 20:36:50 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:36:50 Step 2/25 : FROM ${BASE} AS builder 20:36:50 ---> 07fda6b754aa 20:36:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:36:50 ---> Running in 7c810287c1c1 20:36:50 Removing intermediate container 7c810287c1c1 20:36:50 ---> 54caeacf3cef 20:36:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:50 ---> Running in 1591b394e3d3 20:36:50 Removing intermediate container 1591b394e3d3 20:36:50 ---> 8400cfbe6279 20:36:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:50 ---> Running in 3a87976fafe5 20:36:51 Removing intermediate container 3a87976fafe5 20:36:51 ---> fd05c3eb8a17 20:36:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:36:51 ---> Running in 921bf2347af0 20:36:51 Removing intermediate container 921bf2347af0 20:36:51 ---> 5c4f4ee2de2b 20:36:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:51 ---> Running in 8bb8af66e508 20:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:36:51 OK: 268 MiB in 56 packages 20:36:51 Removing intermediate container 8bb8af66e508 20:36:51 ---> 242721716b42 20:36:51 Step 8/25 : WORKDIR /device-rest-go 20:36:52 ---> Running in c9d32995e2fa 20:36:52 Removing intermediate container c9d32995e2fa 20:36:52 ---> 88d9acc8359b 20:36:52 Step 9/25 : COPY go.mod vendor* ./ 20:36:52 ---> 4ada5f6602cf 20:36:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:52 ---> Running in c594cdc6f6da 20:36:52 Removing intermediate container c594cdc6f6da 20:36:52 ---> 55aba674ce53 20:36:52 Step 11/25 : COPY . . 20:36:53 ---> 5b7198ec3abe 20:36:53 Step 12/25 : RUN $MAKE 20:36:53 ---> Running in 6c4e3a1bc4e8 20:36:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:37:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9549 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:37:09 Running in /w/workspace/device-rest-go/142 [Pipeline] { [Pipeline] checkout 20:37:09 The recommended git tool is: git 20:37:15 Removing intermediate container 6c4e3a1bc4e8 20:37:15 ---> bd3976dc0993 20:37:15 Step 13/25 : FROM alpine:3.18 20:37:15 3.18: Pulling from library/alpine 20:37:15 96526aa774ef: Pulling fs layer 20:37:15 96526aa774ef: Verifying Checksum 20:37:15 96526aa774ef: Download complete 20:37:15 96526aa774ef: Pull complete 20:37:15 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:37:15 Status: Downloaded newer image for alpine:3.18 20:37:15 ---> 8ca4688f4f35 20:37:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:37:15 ---> Running in 9f55b07b8e60 20:37:15 Removing intermediate container 9f55b07b8e60 20:37:15 ---> 0b86e058c4b9 20:37:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:37:15 ---> Running in 5abd5b92dcfd 20:37:15 Removing intermediate container 5abd5b92dcfd 20:37:15 ---> 6397407948da 20:37:15 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:37:15 ---> Running in e57aaa4cb041 20:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:37:15 (1/1) Installing dumb-init (1.2.5-r2) 20:37:15 Executing busybox-1.36.1-r2.trigger 20:37:15 OK: 7 MiB in 16 packages 20:37:15 Removing intermediate container e57aaa4cb041 20:37:15 ---> 17efc9be11ad 20:37:15 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:37:16 ---> e9aa218fb9de 20:37:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:37:16 ---> 9ddc0d83a421 20:37:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:37:16 ---> 7a21e8d0406a 20:37:16 Step 20/25 : EXPOSE 59986 20:37:16 ---> Running in f939ee77673e 20:37:16 Removing intermediate container f939ee77673e 20:37:16 ---> 41804cad1deb 20:37:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:37:16 ---> Running in 7d55d0beecc2 20:37:16 Removing intermediate container 7d55d0beecc2 20:37:16 ---> 0f76f24272dd 20:37:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:37:16 ---> Running in 91d60b609eb1 20:37:17 Removing intermediate container 91d60b609eb1 20:37:17 ---> e55e02661488 20:37:17 Step 23/25 : LABEL arch=amd64 20:37:17 ---> Running in 54d3cf786145 20:37:17 Removing intermediate container 54d3cf786145 20:37:17 ---> e2a42d5f5f1c 20:37:17 Step 24/25 : LABEL git_sha=8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:37:17 ---> Running in cf395b3f66cf 20:37:17 Removing intermediate container cf395b3f66cf 20:37:17 ---> 740ac81d422f 20:37:17 Step 25/25 : LABEL version=3.1.0-dev.22 20:37:17 ---> Running in 6bbc9f80a439 20:37:17 Removing intermediate container 6bbc9f80a439 20:37:17 ---> 8efc61cb2539 20:37:17 [Warning] One or more build-args [ARCH] were not consumed 20:37:17 Successfully built 8efc61cb2539 20:37:17 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:17 provisioning config files... 20:37:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14662355565782043764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:17 ---> docker-login.sh 20:37:17 nexus3.edgexfoundry.org:10001 20:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:17 Configure a credential helper to remove this warning. See 20:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:17 20:37:17 Login Succeeded 20:37:17 nexus3.edgexfoundry.org:10002 20:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:17 Configure a credential helper to remove this warning. See 20:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:17 20:37:17 Login Succeeded 20:37:17 nexus3.edgexfoundry.org:10003 20:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:18 Configure a credential helper to remove this warning. See 20:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:18 20:37:18 Login Succeeded 20:37:18 nexus3.edgexfoundry.org:10004 20:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:18 Configure a credential helper to remove this warning. See 20:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:18 20:37:18 Login Succeeded 20:37:18 docker.io 20:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:18 using credential edgex-jenkins-ssh 20:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:18 Configure a credential helper to remove this warning. See 20:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:18 20:37:18 Login Succeeded 20:37:18 ---> docker-login.sh ends [Pipeline] } 20:37:18 Deleting 1 temporary files 20:37:18 Cloning the remote Git repository [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:37:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:18 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:37:18 8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:37:18 latest 20:37:18 3.1.0-dev.22 20:37:18 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 20:37:18 main 20:37:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:37:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:18 92e92964854f: Preparing 20:37:18 dae00ce2afa3: Preparing 20:37:18 9bb384caee33: Preparing 20:37:18 26aae945d1b1: Preparing 20:37:18 cc2447e1835a: Preparing 20:37:18 cc2447e1835a: Layer already exists 20:37:18 dae00ce2afa3: Pushed 20:37:18 92e92964854f: Pushed 20:37:18 26aae945d1b1: Pushed 20:37:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:37:18 > git init /w/workspace/device-rest-go/142 # timeout=10 20:37:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:37:18 > git --version # timeout=10 20:37:18 > git --version # 'git version 2.25.1' 20:37:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:21 9bb384caee33: Pushed 20:37:21 8f56d306fd858ae3d3367190115f2cbc940f5ff8: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:37:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:37:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:22 92e92964854f: Preparing 20:37:22 dae00ce2afa3: Preparing 20:37:22 9bb384caee33: Preparing 20:37:22 26aae945d1b1: Preparing 20:37:22 cc2447e1835a: Preparing 20:37:22 cc2447e1835a: Layer already exists 20:37:22 92e92964854f: Layer already exists 20:37:22 dae00ce2afa3: Layer already exists 20:37:22 9bb384caee33: Layer already exists 20:37:22 26aae945d1b1: Layer already exists 20:37:22 latest: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:22 Avoid second fetch 20:37:22 Checking out Revision 8f56d306fd858ae3d3367190115f2cbc940f5ff8 (main) 20:37:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.22 20:37:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:22 92e92964854f: Preparing 20:37:22 dae00ce2afa3: Preparing 20:37:22 9bb384caee33: Preparing 20:37:22 26aae945d1b1: Preparing 20:37:22 cc2447e1835a: Preparing 20:37:22 26aae945d1b1: Layer already exists 20:37:22 92e92964854f: Layer already exists 20:37:22 dae00ce2afa3: Layer already exists 20:37:22 9bb384caee33: Layer already exists 20:37:22 cc2447e1835a: Layer already exists 20:37:22 3.1.0-dev.22: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 20:37:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:23 92e92964854f: Preparing 20:37:23 dae00ce2afa3: Preparing 20:37:23 9bb384caee33: Preparing 20:37:23 26aae945d1b1: Preparing 20:37:23 cc2447e1835a: Preparing 20:37:23 cc2447e1835a: Layer already exists 20:37:23 26aae945d1b1: Layer already exists 20:37:23 dae00ce2afa3: Layer already exists 20:37:23 9bb384caee33: Layer already exists 20:37:23 92e92964854f: Layer already exists 20:37:23 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:22 > git config core.sparsecheckout # timeout=10 20:37:22 > git checkout -f 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 20:37:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352)" 20:37:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:37:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:24 92e92964854f: Preparing 20:37:24 dae00ce2afa3: Preparing 20:37:24 9bb384caee33: Preparing 20:37:24 26aae945d1b1: Preparing 20:37:24 cc2447e1835a: Preparing 20:37:24 cc2447e1835a: Layer already exists 20:37:24 92e92964854f: Layer already exists 20:37:24 dae00ce2afa3: Layer already exists 20:37:24 9bb384caee33: Layer already exists 20:37:24 26aae945d1b1: Layer already exists 20:37:24 main: digest: sha256:f4e6a08fd415013cdf7f8ec5914b7f747140f523bc22045f7c0cc26b54b41b86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:37:24 ===================================================== [Pipeline] echo 20:37:24 taggedImages: 20:37:24 - nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:37:24 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:37:24 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.22 20:37:24 - nexus3.edgexfoundry.org:10004/device-rest:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 20:37:24 - 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 20:37:24 20:37:24 GitHub has been notified of this commit’s build result 20:37:24 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:24 20:37:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:37:27 % Total % Received % Xferd Average Speed Time Time Time Current 20:37:27 Dload Upload Total Spent Left Speed 20:37:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 20:37:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:27 latest: Pulling from edgex-lftools-log-publisher 20:37:27 5eb5b503b376: Pulling fs layer 20:37:27 5c69ac0246d0: Pulling fs layer 20:37:27 ec43610c2a17: Pulling fs layer 20:37:27 3a2ae6a8a46f: Pulling fs layer 20:37:27 33b1e0a273af: Pulling fs layer 20:37:27 5d3b04190fa2: Pulling fs layer 20:37:27 2f39f015ded8: Pulling fs layer 20:37:27 3a2ae6a8a46f: Waiting 20:37:27 2f39f015ded8: Waiting 20:37:27 33b1e0a273af: Waiting 20:37:27 5c69ac0246d0: Download complete 20:37:27 3a2ae6a8a46f: Verifying Checksum 20:37:27 3a2ae6a8a46f: Download complete 20:37:27 33b1e0a273af: Verifying Checksum 20:37:27 33b1e0a273af: Download complete 20:37:27 5d3b04190fa2: Verifying Checksum 20:37:27 5d3b04190fa2: Download complete 20:37:27 ec43610c2a17: Verifying Checksum 20:37:27 ec43610c2a17: Download complete 20:37:27 5eb5b503b376: Verifying Checksum 20:37:27 5eb5b503b376: Download complete [Pipeline] sh 20:37:27 2f39f015ded8: Download complete 20:37:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:37:28 + sudo tee /etc/docker/daemon.new 20:37:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:37:28 { 20:37:28 "registry-mirrors": [ 20:37:28 "https://nexus3.edgexfoundry.org:10001" 20:37:28 ], 20:37:28 "bip": "10.250.0.254/24", 20:37:28 "hosts": [ 20:37:28 "tcp://0.0.0.0:5555", 20:37:28 "unix:///var/run/docker.sock" 20:37:28 ], 20:37:28 "mtu": 1458, 20:37:28 "selinux-enabled": true, 20:37:28 "seccomp-profile": "/etc/docker/seccomp.json" 20:37:28 } [Pipeline] sh 20:37:28 5eb5b503b376: Pull complete 20:37:28 5c69ac0246d0: Pull complete 20:37:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:37:29 + sudo service docker restart 20:37:29 ec43610c2a17: Pull complete 20:37:29 3a2ae6a8a46f: Pull complete 20:37:29 33b1e0a273af: Pull complete 20:37:29 5d3b04190fa2: Pull complete 20:37:33 2f39f015ded8: Pull complete 20:37:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:33 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:37:38 $ docker top 278b43b32cb26d05a04c38367109136a3e7cfcd8d2c3b572e724369b70e680de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:38 ---> job-cost.sh 20:37:38 lf-activate-venv: SKIPPING 20:37:38 INFO: No Stack... 20:37:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:39 INFO: Archiving Costs [Pipeline] sh 20:37:39 + cut -d, -f6 20:37:39 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 20:37:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] 20:37:39 Resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] did not exist. Created. 20:37:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:37:40 + echo total: 0.2199999988079071 [Pipeline] stash 20:37:40 Stashed 1 file(s) [Pipeline] } 20:37:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 20:37:40 $ docker stop --time=1 278b43b32cb26d05a04c38367109136a3e7cfcd8d2c3b572e724369b70e680de 20:37:41 $ docker rm -f --volumes 278b43b32cb26d05a04c38367109136a3e7cfcd8d2c3b572e724369b70e680de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:47 provisioning config files... 20:37:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/142@tmp/config15840132488922011675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:47 ---> docker-login.sh 20:37:47 nexus3.edgexfoundry.org:10001 20:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:48 Configure a credential helper to remove this warning. See 20:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:48 20:37:48 Login Succeeded 20:37:48 nexus3.edgexfoundry.org:10002 20:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:48 Configure a credential helper to remove this warning. See 20:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:48 20:37:48 Login Succeeded 20:37:48 nexus3.edgexfoundry.org:10003 20:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:49 Configure a credential helper to remove this warning. See 20:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:49 20:37:49 Login Succeeded 20:37:49 nexus3.edgexfoundry.org:10004 20:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:49 Configure a credential helper to remove this warning. See 20:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:49 20:37:49 Login Succeeded 20:37:49 docker.io 20:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:49 Configure a credential helper to remove this warning. See 20:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:49 20:37:49 Login Succeeded 20:37:49 ---> docker-login.sh ends [Pipeline] } 20:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:50 ========================================================= 20:37:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:37:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:37:50 Sending build context to Docker daemon 144.4kB 20:37:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:37:50 Step 2/12 : FROM ${BASE} AS builder 20:37:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:37:54 9fda8d8052c6: Pulling fs layer 20:37:54 5d54e960e981: Pulling fs layer 20:37:54 c4a7e357bf2a: Pulling fs layer 20:37:54 f0e02332f6b5: Pulling fs layer 20:37:54 cefa15bbcfad: Pulling fs layer 20:37:54 17808c966233: Pulling fs layer 20:37:54 f4c1fc716caa: Pulling fs layer 20:37:54 f0e02332f6b5: Waiting 20:37:54 cefa15bbcfad: Waiting 20:37:54 17808c966233: Waiting 20:37:54 f4c1fc716caa: Waiting 20:37:54 5d54e960e981: Verifying Checksum 20:37:54 5d54e960e981: Download complete 20:37:54 f0e02332f6b5: Verifying Checksum 20:37:54 f0e02332f6b5: Download complete 20:37:54 cefa15bbcfad: Verifying Checksum 20:37:54 cefa15bbcfad: Download complete 20:37:54 9fda8d8052c6: Verifying Checksum 20:37:54 9fda8d8052c6: Download complete 20:37:54 f4c1fc716caa: Verifying Checksum 20:37:54 f4c1fc716caa: Download complete 20:37:55 9fda8d8052c6: Pull complete 20:37:56 5d54e960e981: Pull complete 20:37:56 c4a7e357bf2a: Verifying Checksum 20:37:56 c4a7e357bf2a: Download complete 20:37:57 17808c966233: Verifying Checksum 20:37:57 17808c966233: Download complete 20:38:09 c4a7e357bf2a: Pull complete 20:38:09 f0e02332f6b5: Pull complete 20:38:09 cefa15bbcfad: Pull complete 20:38:22 17808c966233: Pull complete 20:38:22 f4c1fc716caa: Pull complete 20:38:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:38:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:38:22 ---> ea914061e18c 20:38:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:38:23 ---> Running in bc61cd10beaa 20:38:23 Removing intermediate container bc61cd10beaa 20:38:23 ---> 01faeb86ec87 20:38:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:23 ---> Running in 163566aa6896 20:38:24 Removing intermediate container 163566aa6896 20:38:24 ---> 91884ddf3098 20:38:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:38:24 ---> Running in efcb21c513fc 20:38:24 Removing intermediate container efcb21c513fc 20:38:24 ---> 8d99d8ab709a 20:38:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:38:24 ---> Running in 3801ff98b56d 20:38:25 Removing intermediate container 3801ff98b56d 20:38:25 ---> c41c4085e5fe 20:38:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:38:25 ---> Running in ae5dc39caeff 20:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:38:27 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:38:27 (2/4) Installing libedit (20221030.3.1-r1) 20:38:27 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:38:27 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:38:27 Executing busybox-1.36.1-r2.trigger 20:38:27 OK: 270 MiB in 56 packages 20:38:29 Removing intermediate container ae5dc39caeff 20:38:29 ---> e683ef095c53 20:38:29 Step 8/12 : WORKDIR /device-rest-go 20:38:29 ---> Running in 52f634fd66b7 20:38:29 Removing intermediate container 52f634fd66b7 20:38:29 ---> f0f756310563 20:38:29 Step 9/12 : COPY go.mod vendor* ./ 20:38:29 ---> cda7b3bf93d2 20:38:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:29 ---> Running in 0263305b445f 20:40:06 Removing intermediate container 0263305b445f 20:40:06 ---> a9dbce71a3fb 20:40:06 Step 11/12 : COPY . . 20:40:06 ---> 13848b65abd2 20:40:06 Step 12/12 : RUN $MAKE 20:40:06 ---> Running in 38ebeb63594b 20:40:06 noop 20:40:09 Removing intermediate container 38ebeb63594b 20:40:09 ---> 0758f439279e 20:40:09 Successfully built 0758f439279e 20:40:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:10 + docker inspect -f . ci-base-image-arm64 20:40:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:10 prd-ubuntu20.04-docker-arm64-4c-16g-9549 does not seem to be running inside a container 20:40:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/142 -v /w/workspace/device-rest-go/142:/w/workspace/device-rest-go/142:rw,z -v /w/workspace/device-rest-go/142@tmp:/w/workspace/device-rest-go/142@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 20:40:11 $ docker top ebf4f12d0490c20d2674e224e40b15273f23dc6512a644ceab095d625851d800 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:12 + go version 20:40:12 go version go1.21.0 linux/arm64 [Pipeline] } 20:40:12 $ docker stop --time=1 ebf4f12d0490c20d2674e224e40b15273f23dc6512a644ceab095d625851d800 20:40:14 $ docker rm -f --volumes ebf4f12d0490c20d2674e224e40b15273f23dc6512a644ceab095d625851d800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:14 + docker inspect -f . ci-base-image-arm64 20:40:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:14 prd-ubuntu20.04-docker-arm64-4c-16g-9549 does not seem to be running inside a container 20:40:15 $ 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/142 -v /w/workspace/device-rest-go/142:/w/workspace/device-rest-go/142:rw,z -v /w/workspace/device-rest-go/142@tmp:/w/workspace/device-rest-go/142@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 20:40:16 $ docker top 8f4444b2dfeeb463bfe66f51f1589826a31ecf376323988c290245f9626dd44f -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:17 + git config --global --add safe.directory /w/workspace/device-rest-go/142 [Pipeline] fileExists [Pipeline] sh 20:40:17 + make test 20:40:17 go test ./... -coverprofile=coverage.out ./... 20:40:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:41:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:41:58 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 20:41:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:41:58 go vet ./... 20:42:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:11 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:42:11 $ docker stop --time=1 8f4444b2dfeeb463bfe66f51f1589826a31ecf376323988c290245f9626dd44f 20:42:13 $ docker rm -f --volumes 8f4444b2dfeeb463bfe66f51f1589826a31ecf376323988c290245f9626dd44f [Pipeline] // withDockerContainer [Pipeline] sh 20:42:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:15 Warning: overwriting stash ‘coverage-report’ 20:42:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:16 + ls -al . 20:42:16 total 184 20:42:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:40 . 20:42:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:37 .. 20:42:16 -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:37 .dockerignore 20:42:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:37 .git 20:42:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:37 .github 20:42:16 -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:37 .gitignore 20:42:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:37 .golangci.yml 20:42:16 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:37 Attribution.txt 20:42:16 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:37 CHANGELOG.md 20:42:16 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:37 Dockerfile 20:42:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:37 GOVERNANCE.md 20:42:16 -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:37 Jenkinsfile 20:42:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:37 LICENSE 20:42:16 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:37 Makefile 20:42:16 -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:37 OWNERS.md 20:42:16 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:37 README.md 20:42:16 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 20:35 VERSION 20:42:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:37 bin 20:42:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:37 cmd 20:42:16 -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:41 coverage.out 20:42:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:37 driver 20:42:16 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:37 go.mod 20:42:16 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:37 go.sum 20:42:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:37 snap 20:42:16 -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:16 + 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=8f56d306fd858ae3d3367190115f2cbc940f5ff8 --label arch=arm64 --label version=3.1.0-dev.22 . 20:42:16 Sending build context to Docker daemon 159.7kB 20:42:16 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:42:16 Step 2/25 : FROM ${BASE} AS builder 20:42:16 ---> 0758f439279e 20:42:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:42:16 ---> Running in 7c6feca9fb5b 20:42:17 Removing intermediate container 7c6feca9fb5b 20:42:17 ---> 545e5d5e6aac 20:42:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:17 ---> Running in 38f911263eed 20:42:17 Removing intermediate container 38f911263eed 20:42:17 ---> 83dcacb4f1b5 20:42:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:42:17 ---> Running in 8cbfbf12140d 20:42:18 Removing intermediate container 8cbfbf12140d 20:42:18 ---> de9fe6a0956b 20:42:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:42:18 ---> Running in f2055ab5c7d4 20:42:18 Removing intermediate container f2055ab5c7d4 20:42:18 ---> 86738be1afe7 20:42:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:18 ---> Running in 61ad953000a2 20:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:42:21 OK: 270 MiB in 56 packages 20:42:22 Removing intermediate container 61ad953000a2 20:42:22 ---> 3ddf88b258fc 20:42:22 Step 8/25 : WORKDIR /device-rest-go 20:42:22 ---> Running in 18531c04ca7d 20:42:22 Removing intermediate container 18531c04ca7d 20:42:22 ---> 7f09cfcd7098 20:42:22 Step 9/25 : COPY go.mod vendor* ./ 20:42:25 ---> 19521c8bb57d 20:42:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:25 ---> Running in afbe6c654c81 20:42:27 Removing intermediate container afbe6c654c81 20:42:27 ---> c5a2882aca97 20:42:27 Step 11/25 : COPY . . 20:42:28 ---> 1ae777d32373 20:42:28 Step 12/25 : RUN $MAKE 20:42:28 ---> Running in 982bd5426e18 20:42:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:44:20 Removing intermediate container 982bd5426e18 20:44:20 ---> 14f82dd6eeb4 20:44:20 Step 13/25 : FROM alpine:3.18 20:44:20 3.18: Pulling from library/alpine 20:44:20 579b34f0a95b: Pulling fs layer 20:44:20 579b34f0a95b: Download complete 20:44:20 579b34f0a95b: Pull complete 20:44:20 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:44:20 Status: Downloaded newer image for alpine:3.18 20:44:20 ---> 3cc203321400 20:44:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:44:20 ---> Running in b23fe04389ee 20:44:20 Removing intermediate container b23fe04389ee 20:44:20 ---> cd5b0a85fa92 20:44:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:44:20 ---> Running in 7a9d1abb5cba 20:44:20 Removing intermediate container 7a9d1abb5cba 20:44:20 ---> f324db2ee2a0 20:44:20 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:44:20 ---> Running in a70bd15fedb2 20:44:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:44:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:44:20 (1/1) Installing dumb-init (1.2.5-r2) 20:44:20 Executing busybox-1.36.1-r2.trigger 20:44:20 OK: 8 MiB in 16 packages 20:44:20 Removing intermediate container a70bd15fedb2 20:44:20 ---> 39e1ab439354 20:44:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:44:20 ---> 9418ed7fd51b 20:44:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:44:20 ---> 7eb015c898ff 20:44:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:44:20 ---> 6c60826ed3c7 20:44:20 Step 20/25 : EXPOSE 59986 20:44:20 ---> Running in a555ea819c38 20:44:20 Removing intermediate container a555ea819c38 20:44:20 ---> b1aa970d4a45 20:44:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:44:20 ---> Running in 2c57daf417b8 20:44:21 Removing intermediate container 2c57daf417b8 20:44:21 ---> 2d554c0fc5e1 20:44:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:44:21 ---> Running in 4ce9241cd67c 20:44:21 Removing intermediate container 4ce9241cd67c 20:44:21 ---> 45ae1b34b1f3 20:44:21 Step 23/25 : LABEL arch=arm64 20:44:21 ---> Running in 7f8a305bf39e 20:44:21 Removing intermediate container 7f8a305bf39e 20:44:21 ---> a64a6a50ec36 20:44:21 Step 24/25 : LABEL git_sha=8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:44:21 ---> Running in 7fd61b93ad65 20:44:22 Removing intermediate container 7fd61b93ad65 20:44:22 ---> 65ef31c2b950 20:44:22 Step 25/25 : LABEL version=3.1.0-dev.22 20:44:22 ---> Running in 2b3983832530 20:44:22 Removing intermediate container 2b3983832530 20:44:22 ---> 443ce45ae6ca 20:44:22 [Warning] One or more build-args [ARCH] were not consumed 20:44:22 Successfully built 443ce45ae6ca 20:44:22 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 20:44:22 provisioning config files... 20:44:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/142@tmp/config10041499251627268066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:23 ---> docker-login.sh 20:44:23 nexus3.edgexfoundry.org:10001 20:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:23 Configure a credential helper to remove this warning. See 20:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:23 20:44:23 Login Succeeded 20:44:23 nexus3.edgexfoundry.org:10002 20:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:23 Configure a credential helper to remove this warning. See 20:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:23 20:44:23 Login Succeeded 20:44:23 nexus3.edgexfoundry.org:10003 20:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:23 Configure a credential helper to remove this warning. See 20:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:23 20:44:23 Login Succeeded 20:44:23 nexus3.edgexfoundry.org:10004 20:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:24 Configure a credential helper to remove this warning. See 20:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:24 20:44:24 Login Succeeded 20:44:24 docker.io 20:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:25 Configure a credential helper to remove this warning. See 20:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:25 20:44:25 Login Succeeded 20:44:25 ---> docker-login.sh ends [Pipeline] } 20:44:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:25 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:44:25 8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:44:25 latest 20:44:25 3.1.0-dev.22 20:44:25 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 20:44:25 main 20:44:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:44:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:44:26 59e155d31195: Preparing 20:44:26 321826544d0a: Preparing 20:44:26 53fe197cc1b9: Preparing 20:44:26 2ab24493fa3e: Preparing 20:44:26 5f4d9fc4d98d: Preparing 20:44:26 5f4d9fc4d98d: Layer already exists 20:44:26 321826544d0a: Pushed 20:44:26 59e155d31195: Pushed 20:44:26 2ab24493fa3e: Pushed 20:44:31 53fe197cc1b9: Pushed 20:44:31 8f56d306fd858ae3d3367190115f2cbc940f5ff8: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:44:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:44:32 59e155d31195: Preparing 20:44:32 321826544d0a: Preparing 20:44:32 53fe197cc1b9: Preparing 20:44:32 2ab24493fa3e: Preparing 20:44:32 5f4d9fc4d98d: Preparing 20:44:32 2ab24493fa3e: Layer already exists 20:44:32 5f4d9fc4d98d: Layer already exists 20:44:32 59e155d31195: Layer already exists 20:44:32 53fe197cc1b9: Layer already exists 20:44:32 321826544d0a: Layer already exists 20:44:32 latest: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.22 20:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:44:33 59e155d31195: Preparing 20:44:33 321826544d0a: Preparing 20:44:33 53fe197cc1b9: Preparing 20:44:33 2ab24493fa3e: Preparing 20:44:33 5f4d9fc4d98d: Preparing 20:44:33 321826544d0a: Layer already exists 20:44:33 59e155d31195: Layer already exists 20:44:33 53fe197cc1b9: Layer already exists 20:44:33 2ab24493fa3e: Layer already exists 20:44:33 5f4d9fc4d98d: Layer already exists 20:44:33 3.1.0-dev.22: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 20:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:44:34 59e155d31195: Preparing 20:44:34 321826544d0a: Preparing 20:44:34 53fe197cc1b9: Preparing 20:44:34 2ab24493fa3e: Preparing 20:44:34 5f4d9fc4d98d: Preparing 20:44:34 53fe197cc1b9: Layer already exists 20:44:34 5f4d9fc4d98d: Layer already exists 20:44:34 2ab24493fa3e: Layer already exists 20:44:34 321826544d0a: Layer already exists 20:44:34 59e155d31195: Layer already exists 20:44:34 8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:44:34 59e155d31195: Preparing 20:44:34 321826544d0a: Preparing 20:44:34 53fe197cc1b9: Preparing 20:44:34 2ab24493fa3e: Preparing 20:44:34 5f4d9fc4d98d: Preparing 20:44:34 321826544d0a: Layer already exists 20:44:34 2ab24493fa3e: Layer already exists 20:44:34 5f4d9fc4d98d: Layer already exists 20:44:34 59e155d31195: Layer already exists 20:44:34 53fe197cc1b9: Layer already exists 20:44:34 main: digest: sha256:4a92825547a2debe96ffa7954c82ae08ca329519f3f7d5dd3e46d38e3fac798e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:44:34 ===================================================== [Pipeline] echo 20:44:34 taggedImages: 20:44:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8 20:44:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:44:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.22 20:44:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f56d306fd858ae3d3367190115f2cbc940f5ff8-3.1.0-dev.22 20:44:34 - 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 20:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:35 20:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:35 arm64: Pulling from edgex-lftools-log-publisher 20:44:35 8998bd30e6a1: Pulling fs layer 20:44:35 04944245beec: Pulling fs layer 20:44:35 699f458cf7ca: Pulling fs layer 20:44:35 765212b225bb: Pulling fs layer 20:44:35 f23df028b6ca: Pulling fs layer 20:44:35 d65c8cfc05b1: Pulling fs layer 20:44:35 2437ff75d9bd: Pulling fs layer 20:44:35 765212b225bb: Waiting 20:44:35 f23df028b6ca: Waiting 20:44:35 d65c8cfc05b1: Waiting 20:44:35 2437ff75d9bd: Waiting 20:44:35 04944245beec: Verifying Checksum 20:44:35 04944245beec: Download complete 20:44:35 765212b225bb: Verifying Checksum 20:44:35 765212b225bb: Download complete 20:44:35 f23df028b6ca: Download complete 20:44:35 d65c8cfc05b1: Verifying Checksum 20:44:35 d65c8cfc05b1: Download complete 20:44:35 699f458cf7ca: Verifying Checksum 20:44:35 699f458cf7ca: Download complete 20:44:36 8998bd30e6a1: Verifying Checksum 20:44:36 8998bd30e6a1: Download complete 20:44:39 2437ff75d9bd: Verifying Checksum 20:44:39 2437ff75d9bd: Download complete 20:44:41 8998bd30e6a1: Pull complete 20:44:41 04944245beec: Pull complete 20:44:43 699f458cf7ca: Pull complete 20:44:43 765212b225bb: Pull complete 20:44:43 f23df028b6ca: Pull complete 20:44:44 d65c8cfc05b1: Pull complete 20:45:02 2437ff75d9bd: Pull complete 20:45:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:45:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:02 prd-ubuntu20.04-docker-arm64-4c-16g-9549 does not seem to be running inside a container 20:45:02 $ 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/142 -v /w/workspace/device-rest-go/142:/w/workspace/device-rest-go/142:rw,z -v /w/workspace/device-rest-go/142@tmp:/w/workspace/device-rest-go/142@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 20:45:05 $ docker top 23efe51c5a620e5fa5709f532c091a4e9d0461d66a8927bc6e840336b2fc2f0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:06 ---> job-cost.sh 20:45:06 lf-activate-venv: SKIPPING 20:45:06 INFO: No Stack... 20:45:06 INFO: Retrieving Pricing Info for: v3-standard-4 20:45:07 INFO: Archiving Costs [Pipeline] sh 20:45:08 + cat /w/workspace/device-rest-go/142/archives/cost.csv 20:45:08 + cut -d, -f6 [Pipeline] lock 20:45:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] 20:45:08 Resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] did not exist. Created. 20:45:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:08 /w/workspace/device-rest-go/142@tmp/durable-8f100d73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:45:09 + echo total: 0.10999999940395355 [Pipeline] stash 20:45:09 Warning: overwriting stash ‘stack-cost’ 20:45:09 Stashed 1 file(s) [Pipeline] } 20:45:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:09 $ docker stop --time=1 23efe51c5a620e5fa5709f532c091a4e9d0461d66a8927bc6e840336b2fc2f0d 20:45:11 $ docker rm -f --volumes 23efe51c5a620e5fa5709f532c091a4e9d0461d66a8927bc6e840336b2fc2f0d [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 20:45:11 provisioning config files... 20:45:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5839722633882890885tmp [Pipeline] { [Pipeline] sh 20:45:11 + set +x 20:45:11 + bash -s -- 20:45:11 + curl -s https://codecov.io/bash 20:45:11 20:45:11 _____ _ 20:45:11 / ____| | | 20:45:11 | | ___ __| | ___ ___ _____ __ 20:45:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:45:11 | |___| (_) | (_| | __/ (_| (_) \ V / 20:45:11 \_____\___/ \__,_|\___|\___\___/ \_/ 20:45:11 Bash-1.0.6 20:45:11 20:45:11 20:45:11 ==> git version 2.25.1 found 20:45:11 ==> 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 20:45:11 Release-Date: 2020-01-08 20:45:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:45:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:45:11 ==> Jenkins CI detected. 20:45:11 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:45:11 project root: . 20:45:11 --> token set from env 20:45:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:45:12 ==> Running gcov in . (disable via -X gcov) 20:45:12 ==> Python coveragepy not found 20:45:12 ==> Searching for coverage reports in: 20:45:12 + . 20:45:12 -> Found 1 reports 20:45:12 ==> Detecting git/mercurial file structure 20:45:12 ==> Reading reports 20:45:12 + ./coverage.out bytes=14499 20:45:12 ==> Appending adjustments 20:45:12 https://docs.codecov.io/docs/fixing-reports 20:45:12 + Found adjustments 20:45:12 ==> Gzipping contents 20:45:12 4.0K /tmp/codecov.Kvkp7V.gz 20:45:12 ==> Uploading reports 20:45:12 url: https://codecov.io 20:45:12 query: branch=main&commit=8f56d306fd858ae3d3367190115f2cbc940f5ff8&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:45:12 -> Pinging Codecov 20:45:12 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=8f56d306fd858ae3d3367190115f2cbc940f5ff8&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:45:12 -> Uploading to 20:45:12 https://storage.googleapis.com/codecov/v4/raw/2023-10-18/4E5D53B4F1F92C436F7061BF334D961C/8f56d306fd858ae3d3367190115f2cbc940f5ff8/70b9aa1c-ae79-4607-bd44-d357b85bc438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T204511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fa84ba156e36a014732a297611ffc6ad3fda1e8bd70f2a56dccef4030eccd27 20:45:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:12 Dload Upload Total Spent Left Speed 20:45:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8365 --:--:-- --:--:-- --:--:-- 8365 20:45:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] } 20:45:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:45:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:45:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:45:13 20:45:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:45:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:45:13 df9b9388f04a: Pulling fs layer 20:45:13 52dc419b0ee2: Pulling fs layer 20:45:13 25bc292e5bac: Pulling fs layer 20:45:13 114826534d7a: Pulling fs layer 20:45:13 4657fd5d0bcf: Pulling fs layer 20:45:13 6ad1cebc031e: Pulling fs layer 20:45:13 8a3aa393b2d8: Pulling fs layer 20:45:13 4657fd5d0bcf: Waiting 20:45:13 6ad1cebc031e: Waiting 20:45:13 8a3aa393b2d8: Waiting 20:45:13 114826534d7a: Waiting 20:45:13 25bc292e5bac: Verifying Checksum 20:45:13 25bc292e5bac: Download complete 20:45:13 52dc419b0ee2: Verifying Checksum 20:45:13 52dc419b0ee2: Download complete 20:45:13 4657fd5d0bcf: Verifying Checksum 20:45:13 4657fd5d0bcf: Download complete 20:45:13 df9b9388f04a: Verifying Checksum 20:45:13 df9b9388f04a: Download complete 20:45:13 6ad1cebc031e: Verifying Checksum 20:45:13 6ad1cebc031e: Download complete 20:45:13 df9b9388f04a: Pull complete 20:45:13 52dc419b0ee2: Pull complete 20:45:13 25bc292e5bac: Pull complete 20:45:14 114826534d7a: Verifying Checksum 20:45:14 114826534d7a: Download complete 20:45:14 8a3aa393b2d8: Verifying Checksum 20:45:14 8a3aa393b2d8: Download complete 20:45:17 114826534d7a: Pull complete 20:45:17 4657fd5d0bcf: Pull complete 20:45:17 6ad1cebc031e: Pull complete 20:45:20 8a3aa393b2d8: Pull complete 20:45:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:45:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:45:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:20 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:45:26 $ docker top 33c2689c0c9e8c96b56aaeab598a702f5b69123fcc939b53fcf53eeb8a47f82e -eo pid,comm [Pipeline] { [Pipeline] echo 20:45:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:45:26 + set -o pipefail 20:45:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:45:33 20:45:33 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:45:33 20:45:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/36e44a27-772c-45fd-8761-fd7542a73c4d 20:45:33 20:45:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:45:33 20:45:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:45:33 20:45:34 20:45:34 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:45:34 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:45:34 More details here: https://snyk.co/ue1NS [Pipeline] } 20:45:34 $ docker stop --time=1 33c2689c0c9e8c96b56aaeab598a702f5b69123fcc939b53fcf53eeb8a47f82e 20:45:38 $ docker rm -f --volumes 33c2689c0c9e8c96b56aaeab598a702f5b69123fcc939b53fcf53eeb8a47f82e [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 20:45:39 + git log --format=format:%s -1 8f56d306fd858ae3d3367190115f2cbc940f5ff8 [Pipeline] sh 20:45:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:45:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:39 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:45:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:45:40 $ docker top 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 -eo pid,comm 20:45:40 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). 20:45:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:40 [ssh-agent] Looking for ssh-agent implementation... 20:45:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:40 $ docker exec 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 ssh-agent 20:45:40 SSH_AUTH_SOCK=/tmp/ssh-zGvJjSavFsY9/agent.33 20:45:40 SSH_AGENT_PID=39 20:45:40 Running ssh-add (command line suppressed) 20:45:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2549476026385522842.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2549476026385522842.key) 20:45:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:41 + git semver tag 20:45:41 2023-10-18 20:45:41,522 [run_tag] DEBUG tag force:False 20:45:41 2023-10-18 20:45:41,522 [check_head_tag] DEBUG check head tag 20:45:41 2023-10-18 20:45:41,522 [execute] INFO git cat-file --batch-check 20:45:41 2023-10-18 20:45:41,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:45:41 2023-10-18 20:45:41,526 [execute] INFO git cat-file --batch 20:45:41 2023-10-18 20:45:41,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:45:41 2023-10-18 20:45:41,539 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:45:41 2023-10-18 20:45:41,539 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 20:45:41 2023-10-18 20:45:41,539 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:45:41 2023-10-18 20:45:41,544 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:45:41 3.1.0-dev.22 [Pipeline] } 20:45:41 $ docker exec --env ******** --env ******** 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 ssh-agent -k 20:45:41 unset SSH_AUTH_SOCK; 20:45:41 unset SSH_AGENT_PID; 20:45:41 echo Agent pid 39 killed; 20:45:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:42 + git semver [Pipeline] } 20:45:42 $ docker stop --time=1 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 20:45:43 $ docker rm -f --volumes 118cd1fb45b7f1c670e6de3795a6a232792c7bddc40349f192d0b41927668360 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:43 20:45:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:44 0.23.1-centos7: Pulling from edgex-lftools 20:45:44 ab5ef0e58194: Pulling fs layer 20:45:44 9712f1f96733: Pulling fs layer 20:45:44 63f879dbbcfc: Pulling fs layer 20:45:44 0d9ebad4ef96: Pulling fs layer 20:45:44 e9a5061849ea: Pulling fs layer 20:45:44 d747dcd14b5f: Pulling fs layer 20:45:44 2de7ff778b66: Pulling fs layer 20:45:44 e9a5061849ea: Waiting 20:45:44 d747dcd14b5f: Waiting 20:45:44 2de7ff778b66: Waiting 20:45:44 0d9ebad4ef96: Waiting 20:45:44 9712f1f96733: Verifying Checksum 20:45:44 9712f1f96733: Download complete 20:45:44 63f879dbbcfc: Verifying Checksum 20:45:44 63f879dbbcfc: Download complete 20:45:44 0d9ebad4ef96: Verifying Checksum 20:45:44 0d9ebad4ef96: Download complete 20:45:44 d747dcd14b5f: Download complete 20:45:44 e9a5061849ea: Verifying Checksum 20:45:44 e9a5061849ea: Download complete 20:45:44 ab5ef0e58194: Verifying Checksum 20:45:44 ab5ef0e58194: Download complete 20:45:44 2de7ff778b66: Verifying Checksum 20:45:44 2de7ff778b66: Download complete 20:45:47 ab5ef0e58194: Pull complete 20:45:47 9712f1f96733: Pull complete 20:45:48 63f879dbbcfc: Pull complete 20:45:52 0d9ebad4ef96: Pull complete 20:45:52 e9a5061849ea: Pull complete 20:45:52 d747dcd14b5f: Pull complete 20:45:53 2de7ff778b66: Pull complete 20:45:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:45:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:53 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:45:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:46:02 $ docker top 5fb84235ab2d52b563fc2dc763d3491f0d17725f48d5aeda7fb906a657fe83f1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:46:02 provisioning config files... 20:46:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16684894077683102891tmp 20:46:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2229265656474448779tmp 20:46:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3130809982628270125tmp [Pipeline] { [Pipeline] echo 20:46:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:46:02 ---> sigul-configuration.sh 20:46:02 gpg: directory `/root/.gnupg' created 20:46:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:46:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:46:02 gpg: keyring `/root/.gnupg/secring.gpg' created 20:46:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:46:02 gpg: CAST5 encrypted data 20:46:02 gpg: encrypted with 1 passphrase 20:46:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:46:02 + mkdir /home/jenkins 20:46:02 + mkdir /home/jenkins/sigul [Pipeline] sh 20:46:03 + 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 20:46:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:46:03 ---> sigul-install.sh 20:46:03 Sigul already installed; skipping installation. [Pipeline] sh 20:46:03 + git tag --list 20:46:03 v1.0.0 20:46:03 v1.1.0 20:46:03 v1.1.1 20:46:03 v1.1.2 20:46:03 v1.2.0 20:46:03 v1.2.1 20:46:03 v2.0.0 20:46:03 v2.1.0 20:46:03 v2.1.1 20:46:03 v2.2.0 20:46:03 v2.3.0 20:46:03 v3.0 20:46:03 v3.0.0 20:46:03 v3.1.0-dev.1 20:46:03 v3.1.0-dev.10 20:46:03 v3.1.0-dev.11 20:46:03 v3.1.0-dev.12 20:46:03 v3.1.0-dev.13 20:46:03 v3.1.0-dev.14 20:46:03 v3.1.0-dev.15 20:46:03 v3.1.0-dev.16 20:46:03 v3.1.0-dev.17 20:46:03 v3.1.0-dev.18 20:46:03 v3.1.0-dev.19 20:46:03 v3.1.0-dev.2 20:46:03 v3.1.0-dev.20 20:46:03 v3.1.0-dev.21 20:46:03 v3.1.0-dev.22 20:46:03 v3.1.0-dev.3 20:46:03 v3.1.0-dev.4 20:46:03 v3.1.0-dev.5 20:46:03 v3.1.0-dev.6 20:46:03 v3.1.0-dev.7 20:46:03 v3.1.0-dev.8 20:46:03 v3.1.0-dev.9 [Pipeline] sh 20:46:04 + lftools sign git-tag v3.1.0-dev.22 20:46:04 Signing Git tag with Sigul... 20:46:04 Signing v3.1.0-dev.22 [Pipeline] echo 20:46:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:46:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:46:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:46:05 $ docker stop --time=1 5fb84235ab2d52b563fc2dc763d3491f0d17725f48d5aeda7fb906a657fe83f1 20:46:06 $ docker rm -f --volumes 5fb84235ab2d52b563fc2dc763d3491f0d17725f48d5aeda7fb906a657fe83f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:46:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:07 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:46:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:46:07 $ docker top cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 -eo pid,comm 20:46:07 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). 20:46:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:07 [ssh-agent] Looking for ssh-agent implementation... 20:46:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:07 $ docker exec cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 ssh-agent 20:46:07 SSH_AUTH_SOCK=/tmp/ssh-KHO3pCwtVGUf/agent.32 20:46:07 SSH_AGENT_PID=38 20:46:07 Running ssh-add (command line suppressed) 20:46:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11391545980572789548.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11391545980572789548.key) 20:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:08 + git semver bump pre 20:46:08 2023-10-18 20:46:08,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:08 2023-10-18 20:46:08,484 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev 20:46:08 2023-10-18 20:46:08,484 [bump_version] DEBUG bumped version:3.1.0-dev.23 20:46:08 2023-10-18 20:46:08,484 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:46:08 2023-10-18 20:46:08,485 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:08 2023-10-18 20:46:08,485 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:08 2023-10-18 20:46:08,489 [execute] INFO git cat-file --batch-check 20:46:08 2023-10-18 20:46:08,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:08 2023-10-18 20:46:08,495 [execute] INFO git cat-file --batch 20:46:08 2023-10-18 20:46:08,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:08 2023-10-18 20:46:08,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:08 3.1.0-dev.23 [Pipeline] } 20:46:08 $ docker exec --env ******** --env ******** cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 ssh-agent -k 20:46:08 unset SSH_AUTH_SOCK; 20:46:08 unset SSH_AGENT_PID; 20:46:08 echo Agent pid 38 killed; 20:46:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:09 + git semver [Pipeline] } 20:46:09 $ docker stop --time=1 cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 20:46:10 $ docker rm -f --volumes cb0d26f064d0640ddafbcb31845f888621dbc841411b978d3370d3b84679f325 [Pipeline] // withDockerContainer [Pipeline] sh 20:46:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:11 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:46:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:46:11 $ docker top 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca -eo pid,comm 20:46:11 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). 20:46:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:11 [ssh-agent] Looking for ssh-agent implementation... 20:46:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:11 $ docker exec 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca ssh-agent 20:46:11 SSH_AUTH_SOCK=/tmp/ssh-ZUhZxM9CNnHO/agent.33 20:46:11 SSH_AGENT_PID=39 20:46:11 Running ssh-add (command line suppressed) 20:46:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2732905542593549522.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2732905542593549522.key) 20:46:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:12 + git semver push 20:46:12 2023-10-18 20:46:12,603 [run_push] DEBUG push 20:46:12 2023-10-18 20:46:12,604 [execute] INFO git cat-file --batch-check 20:46:12 2023-10-18 20:46:12,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:12 2023-10-18 20:46:12,608 [execute] INFO git rev-list 33201d730a40dc10b47273e555c6dfc2960a4c01 -- 20:46:12 2023-10-18 20:46:12,608 [execute] DEBUG Popen(['git', 'rev-list', '33201d730a40dc10b47273e555c6dfc2960a4c01', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:46:12 2023-10-18 20:46:12,617 [execute] INFO git fetch -v origin 20:46:12 2023-10-18 20:46:12,617 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:46:13 2023-10-18 20:46:13,151 [run_push] DEBUG no remote changes detected 20:46:13 2023-10-18 20:46:13,151 [execute] INFO git push origin semver 20:46:13 2023-10-18 20:46:13,152 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:46:14 2023-10-18 20:46:13,891 [run_push] DEBUG push all version tags 20:46:14 2023-10-18 20:46:13,891 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:46:14 2023-10-18 20:46:13,892 [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) 20:46:14 2023-10-18 20:46:14,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:46:14 3.1.0-dev.23 [Pipeline] } 20:46:14 $ docker exec --env ******** --env ******** 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca ssh-agent -k 20:46:15 unset SSH_AUTH_SOCK; 20:46:15 unset SSH_AGENT_PID; 20:46:15 echo Agent pid 39 killed; 20:46:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:15 + git semver [Pipeline] } 20:46:15 $ docker stop --time=1 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca 20:46:16 $ docker rm -f --volumes 375cd362b37fe34416dc0ff8f42d4aab41f35935d8b4c5ebc8336d1640ce3bca [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 20:46:17 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:46:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:46:17 total 16 20:46:17 drwxr-xr-x 3 root root 4096 Oct 18 20:37 . 20:46:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:46 .. 20:46:17 drwxr-xr-x 2 root root 4096 Oct 18 20:37 cost 20:46:17 -rw-r--r-- 1 root root 86 Oct 18 20:37 cost.csv 20:46:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:46:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:46:17 total 16 20:46:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:37 . 20:46:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:46 .. 20:46:17 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 20:37 cost 20:46:17 -rw-r--r-- 1 jenkins jenkins 86 Oct 18 20:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:46:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:46:18 ---> package-listing.sh 20:46:18 ++ facter osfamily 20:46:18 ++ tr '[:upper:]' '[:lower:]' 20:46:18 + OS_FAMILY=debian 20:46:18 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:46:18 + START_PACKAGES=/tmp/packages_start.txt 20:46:18 + END_PACKAGES=/tmp/packages_end.txt 20:46:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:46:18 + PACKAGES=/tmp/packages_start.txt 20:46:18 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:46:18 + PACKAGES=/tmp/packages_end.txt 20:46:18 + case "${OS_FAMILY}" in 20:46:18 + dpkg -l 20:46:18 + grep '^ii' 20:46:18 + '[' -f /tmp/packages_start.txt ']' 20:46:18 + '[' -f /tmp/packages_end.txt ']' 20:46:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:46:18 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:46:18 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:46:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:46:18 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 20:46:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:19 prd-ubuntu20.04-docker-8c-8g-9548 does not seem to be running inside a container 20:46:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:46:20 $ docker top ac9d1dcac1dcbda016ea3883a5c3835ab1295be5538d5ef4a8568508af98f874 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:20 + touch /tmp/pre-build-complete [Pipeline] sh 20:46:21 + mkdir -p /var/log/sysstat [Pipeline] sh 20:46:21 + ls /var/log/sa-host 20:46:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:21 provisioning config files... 20:46:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14668296217160429436tmp [Pipeline] { [Pipeline] echo 20:46:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:46:21 ---> create-netrc.sh [Pipeline] } 20:46:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:46:21 ---> python-tools-install.sh [Pipeline] echo 20:46:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:46:22 ---> sudo-logs.sh 20:46:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:46:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:46:22 ---> job-cost.sh 20:46:22 lf-activate-venv: SKIPPING 20:46:22 DEBUG: total: 0.2199999988079071 20:46:22 INFO: Retrieving Stack Cost... 20:46:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:23 INFO: Archiving Costs [Pipeline] echo 20:46:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:46:23 ---> logs-deploy.sh 20:46:23 lf-activate-venv: SKIPPING 20:46:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/142 20:46:23 INFO: archiving workspace using pattern(s): 20:46:24 Archives upload complete. 20:46:24 INFO: archiving logs to Nexus