Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 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-ssh12997981718319687730.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-ssh3996823961723774949.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-ssh7732230677899289443.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-ssh16940123422955832604.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-ssh2208519307030879417.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-7885 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346)" > git rev-list --no-walk d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:28:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:28:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:28:53 ========================================================= 21:28:53 EdgeX Global Pipelines Version Info 21:28:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:28:54 ------------------- 21:28:54 stable info: 21:28:54 ------------------- 21:28:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:28:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:28:54 Message: update stable to v1.0.254 21:28:55 ------------------- 21:28:55 experimental info: 21:28:55 ------------------- 21:28:55 Commited By: **** collab-it+edgex@linuxfoundation.org 21:28:55 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:28:55 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73bea07 [Pipeline] echo 21:28:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:55 provisioning config files... 21:28:55 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7928463713767788230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:55 ---> docker-login.sh 21:28:55 nexus3.edgexfoundry.org:10001 21:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:56 Configure a credential helper to remove this warning. See 21:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:56 21:28:56 Login Succeeded 21:28:56 nexus3.edgexfoundry.org:10002 21:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:56 Configure a credential helper to remove this warning. See 21:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:56 21:28:56 Login Succeeded 21:28:56 nexus3.edgexfoundry.org:10003 21:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:56 Configure a credential helper to remove this warning. See 21:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:56 21:28:56 Login Succeeded 21:28:56 nexus3.edgexfoundry.org:10004 21:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:56 Configure a credential helper to remove this warning. See 21:28:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:56 21:28:56 Login Succeeded 21:28:56 docker.io 21:28:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:57 Configure a credential helper to remove this warning. See 21:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:57 21:28:57 Login Succeeded 21:28:57 ---> docker-login.sh ends [Pipeline] } 21:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:28:57 + git rev-list -1 --merges 73bea07d0c9b5090e1f6a3014a45db50fae0ec58~1..73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo 21:28:57 -----------> git rev-list -1 --merges 73bea07d0c9b5090e1f6a3014a45db50fae0ec58~1..73bea07d0c9b5090e1f6a3014a45db50fae0ec58 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [false] [Pipeline] sh 21:28:57 + git log --format=format:%s -1 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo 21:28:57 ========================================================= 21:28:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:28:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:58 + git log --format=format:%s -1 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo 21:28:58 [semverPrep] GIT_COMMIT: 73bea07d0c9b5090e1f6a3014a45db50fae0ec58, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346) [Pipeline] echo 21:28:58 [semverPrep] This is not a build commit. [Pipeline] sh 21:28:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:58 + grep -v github /etc/ssh/ssh_known_hosts 21:28:58 + [ -e /tmp/ssh_known_hosts ] 21:28:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:28:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:28:58 + sudo tee -a /etc/ssh/ssh_known_hosts 21:28:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:58 21:28:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:59 0.1.4: Pulling from edgex-devops/py-git-semver 21:28:59 b85a868b505f: Pulling fs layer 21:28:59 e2be974225ed: Pulling fs layer 21:28:59 339a4e72a1f5: Pulling fs layer 21:28:59 988bab9f4d93: Pulling fs layer 21:28:59 1469e6f7b9e6: Pulling fs layer 21:28:59 eaf3925da568: Pulling fs layer 21:28:59 bab4dde63d76: Pulling fs layer 21:28:59 bde34c3a00c8: Pulling fs layer 21:28:59 b352a97aabf1: Pulling fs layer 21:28:59 4872d77fe225: Pulling fs layer 21:28:59 5851b861e8e6: Pulling fs layer 21:28:59 bab4dde63d76: Waiting 21:28:59 bde34c3a00c8: Waiting 21:28:59 b352a97aabf1: Waiting 21:28:59 988bab9f4d93: Waiting 21:28:59 4872d77fe225: Waiting 21:28:59 5851b861e8e6: Waiting 21:28:59 eaf3925da568: Waiting 21:28:59 1469e6f7b9e6: Waiting 21:28:59 e2be974225ed: Download complete 21:28:59 988bab9f4d93: Verifying Checksum 21:28:59 988bab9f4d93: Download complete 21:28:59 1469e6f7b9e6: Verifying Checksum 21:28:59 1469e6f7b9e6: Download complete 21:28:59 eaf3925da568: Verifying Checksum 21:28:59 eaf3925da568: Download complete 21:28:59 339a4e72a1f5: Verifying Checksum 21:28:59 339a4e72a1f5: Download complete 21:28:59 bde34c3a00c8: Verifying Checksum 21:28:59 bde34c3a00c8: Download complete 21:28:59 b352a97aabf1: Verifying Checksum 21:28:59 b352a97aabf1: Download complete 21:28:59 4872d77fe225: Verifying Checksum 21:28:59 4872d77fe225: Download complete 21:28:59 5851b861e8e6: Verifying Checksum 21:28:59 5851b861e8e6: Download complete 21:28:59 b85a868b505f: Download complete 21:28:59 bab4dde63d76: Verifying Checksum 21:28:59 bab4dde63d76: Download complete 21:29:01 b85a868b505f: Pull complete 21:29:01 e2be974225ed: Pull complete 21:29:01 339a4e72a1f5: Pull complete 21:29:01 988bab9f4d93: Pull complete 21:29:01 1469e6f7b9e6: Pull complete 21:29:01 eaf3925da568: Pull complete 21:29:03 bab4dde63d76: Pull complete 21:29:03 bde34c3a00c8: Pull complete 21:29:04 b352a97aabf1: Pull complete 21:29:04 4872d77fe225: Pull complete 21:29:04 5851b861e8e6: Pull complete 21:29:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:04 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:29:04 $ 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 21:29:07 $ docker top b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 -eo pid,comm 21:29: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). 21:29:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:07 [ssh-agent] Looking for ssh-agent implementation... 21:29:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:07 $ docker exec b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent 21:29:07 SSH_AUTH_SOCK=/tmp/ssh-kDKrXnW7ZoyP/agent.33 21:29:07 SSH_AGENT_PID=39 21:29:07 Running ssh-add (command line suppressed) 21:29:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5008588374328362816.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5008588374328362816.key) 21:29:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:08 + git tag --points-at HEAD [Pipeline] } 21:29:08 $ docker exec --env ******** --env ******** b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent -k 21:29:08 unset SSH_AUTH_SOCK; 21:29:08 unset SSH_AGENT_PID; 21:29:08 echo Agent pid 39 killed; 21:29:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:08 [ssh-agent] Looking for ssh-agent implementation... 21:29:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:08 $ docker exec b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent 21:29:08 SSH_AUTH_SOCK=/tmp/ssh-i3nEUhK3jtJ3/agent.71 21:29:08 SSH_AGENT_PID=77 21:29:08 Running ssh-add (command line suppressed) 21:29:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18122316631264898989.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18122316631264898989.key) 21:29:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:08 + git semver init 21:29:09 2023-09-25 21:29:09,056 [run_init] DEBUG init version:0.0.0 force:False 21:29:09 2023-09-25 21:29:09,057 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:29:09 2023-09-25 21:29:09,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:29:09 2023-09-25 21:29:09,058 [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) 21:29:10 2023-09-25 21:29:10,093 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:29:10 2023-09-25 21:29:10,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:29:10 2023-09-25 21:29:10,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:29:10 2023-09-25 21:29:10,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:29:10 3.1.0-dev.18 [Pipeline] } 21:29:10 $ docker exec --env ******** --env ******** b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent -k 21:29:10 unset SSH_AUTH_SOCK; 21:29:10 unset SSH_AGENT_PID; 21:29:10 echo Agent pid 77 killed; 21:29:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:10 + git semver [Pipeline] } 21:29:11 $ docker stop --time=1 b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 21:29:12 $ docker rm -f --volumes b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 [Pipeline] // withDockerContainer [Pipeline] sh 21:29:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:29:13 Stashed 1 file(s) [Pipeline] echo 21:29:13 [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [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 21:29:13 provisioning config files... 21:29:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15521480666480329000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:13 ---> docker-login.sh 21:29:13 nexus3.edgexfoundry.org:10001 21:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:13 Configure a credential helper to remove this warning. See 21:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:13 21:29:13 Login Succeeded 21:29:13 nexus3.edgexfoundry.org:10002 21:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:13 Configure a credential helper to remove this warning. See 21:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:13 21:29:13 Login Succeeded 21:29:13 nexus3.edgexfoundry.org:10003 21:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:13 Configure a credential helper to remove this warning. See 21:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:13 21:29:13 Login Succeeded 21:29:13 nexus3.edgexfoundry.org:10004 21:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:13 Configure a credential helper to remove this warning. See 21:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:13 21:29:13 Login Succeeded 21:29:14 docker.io 21:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:14 Configure a credential helper to remove this warning. See 21:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:14 21:29:14 Login Succeeded 21:29:14 ---> docker-login.sh ends [Pipeline] } 21:29:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:29:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:14 ========================================================= 21:29:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:29:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:14 + 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 . 21:29:14 Sending build context to Docker daemon 10.91MB 21:29:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:29:14 Step 2/12 : FROM ${BASE} AS builder 21:29:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:29:14 7264a8db6415: Pulling fs layer 21:29:14 c4d48a809fc2: Pulling fs layer 21:29:14 4f1c88b9dad5: Pulling fs layer 21:29:14 ad3a456e5733: Pulling fs layer 21:29:14 33e27b845d1e: Pulling fs layer 21:29:14 c68163c4e522: Pulling fs layer 21:29:14 50da416c3ac9: Pulling fs layer 21:29:14 23d2d4c4bb30: Pulling fs layer 21:29:14 33e27b845d1e: Waiting 21:29:14 23d2d4c4bb30: Waiting 21:29:14 c68163c4e522: Waiting 21:29:14 ad3a456e5733: Waiting 21:29:14 50da416c3ac9: Waiting 21:29:14 c4d48a809fc2: Verifying Checksum 21:29:14 c4d48a809fc2: Download complete 21:29:14 ad3a456e5733: Verifying Checksum 21:29:14 ad3a456e5733: Download complete 21:29:14 7264a8db6415: Verifying Checksum 21:29:14 7264a8db6415: Download complete 21:29:14 33e27b845d1e: Verifying Checksum 21:29:14 33e27b845d1e: Download complete 21:29:14 c68163c4e522: Verifying Checksum 21:29:14 c68163c4e522: Download complete 21:29:14 7264a8db6415: Pull complete 21:29:15 23d2d4c4bb30: Verifying Checksum 21:29:15 23d2d4c4bb30: Download complete 21:29:15 c4d48a809fc2: Pull complete 21:29:15 4f1c88b9dad5: Verifying Checksum 21:29:15 4f1c88b9dad5: Download complete 21:29:15 50da416c3ac9: Verifying Checksum 21:29:15 50da416c3ac9: Download complete 21:29:19 4f1c88b9dad5: Pull complete 21:29:19 ad3a456e5733: Pull complete 21:29:19 33e27b845d1e: Pull complete 21:29:19 c68163c4e522: Pull complete 21:29:20 50da416c3ac9: Pull complete 21:29:21 23d2d4c4bb30: Pull complete 21:29:21 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:29:21 ---> 0786185ac409 21:29:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:29:25 ---> Running in 59dca9e05908 21:29:25 Removing intermediate container 59dca9e05908 21:29:25 ---> 2e1aa2050bc7 21:29:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:25 ---> Running in 477dc28f3a0e 21:29:25 Removing intermediate container 477dc28f3a0e 21:29:25 ---> b6fdef977fb9 21:29:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:29:25 ---> Running in 050cd44346b2 21:29:25 Removing intermediate container 050cd44346b2 21:29:25 ---> 4f9842d8b144 21:29:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:29:25 ---> Running in a2056a80034e 21:29:25 Removing intermediate container a2056a80034e 21:29:25 ---> 3ff23875cc7d 21:29:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:25 ---> Running in 79f8a6035f9d 21:29:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:29:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:29:26 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:29:26 (2/4) Installing libedit (20221030.3.1-r1) 21:29:26 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:29:26 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:29:26 Executing busybox-1.36.1-r2.trigger 21:29:26 OK: 268 MiB in 56 packages 21:29:27 Removing intermediate container 79f8a6035f9d 21:29:27 ---> 68064f9f3c51 21:29:27 Step 8/12 : WORKDIR /device-rest-go 21:29:27 ---> Running in 6360098fd8e2 21:29:27 Removing intermediate container 6360098fd8e2 21:29:27 ---> 97da74fa69bf 21:29:27 Step 9/12 : COPY go.mod vendor* ./ 21:29:27 ---> df5ae6e2f9ab 21:29:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:27 ---> Running in 40b9aa606cc7 21:29:28 Still waiting to schedule task 21:29:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:30:06 Removing intermediate container 40b9aa606cc7 21:30:06 ---> 097fd02ee07d 21:30:06 Step 11/12 : COPY . . 21:30:06 ---> dc7858f91202 21:30:06 Step 12/12 : RUN $MAKE 21:30:06 ---> Running in 7f2816bc9348 21:30:06 noop 21:30:06 Removing intermediate container 7f2816bc9348 21:30:06 ---> 01367b3420bc 21:30:06 Successfully built 01367b3420bc 21:30:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:06 + docker inspect -f . ci-base-image-x86_64 21:30:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:06 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:30:06 $ 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 21:30:06 $ docker top 5081117214aae83e75ae186de51bccc93510f53fc0355102ae08ba9320b85a46 -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:07 + go version 21:30:07 go version go1.21.0 linux/amd64 [Pipeline] } 21:30:07 $ docker stop --time=1 5081117214aae83e75ae186de51bccc93510f53fc0355102ae08ba9320b85a46 21:30:08 $ docker rm -f --volumes 5081117214aae83e75ae186de51bccc93510f53fc0355102ae08ba9320b85a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:08 + docker inspect -f . ci-base-image-x86_64 21:30:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:08 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:30:08 $ 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 21:30:09 $ docker top 104ea21e612a4eb42f4e6427c23cb8dd8a9cd099b443af536496bc5f00bd3a5d -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:30:09 + make test 21:30:09 go test ./... -coverprofile=coverage.out ./... 21:30:11 ? github.com/edgexfoundry/device-rest-go [no test files] 21:30:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:30:21 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements 21:30:26 go vet ./... 21:30:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:30:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:30:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:30:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:30:30 $ docker stop --time=1 104ea21e612a4eb42f4e6427c23cb8dd8a9cd099b443af536496bc5f00bd3a5d 21:30:33 $ docker rm -f --volumes 104ea21e612a4eb42f4e6427c23cb8dd8a9cd099b443af536496bc5f00bd3a5d [Pipeline] // withDockerContainer [Pipeline] sh 21:30:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:30:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:30:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:30:35 + ls -al . 21:30:35 total 188 21:30:35 drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 21:30 . 21:30:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:28 .. 21:30:35 -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 21:28 .dockerignore 21:30:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 21:30 .git 21:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:28 .github 21:30:35 -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 21:28 .gitignore 21:30:35 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 21:28 .golangci.yml 21:30:35 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 21:29 .semver 21:30:35 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 21:28 Attribution.txt 21:30:35 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 21:28 CHANGELOG.md 21:30:35 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 21:28 Dockerfile 21:30:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 21:28 GOVERNANCE.md 21:30:35 -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 21:28 Jenkinsfile 21:30:35 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 21:28 LICENSE 21:30:35 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 21:28 Makefile 21:30:35 -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 21:28 OWNERS.md 21:30:35 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 21:28 README.md 21:30:35 -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 21:29 VERSION 21:30:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:28 bin 21:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:28 cmd 21:30:35 -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 21:30 coverage.out 21:30:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:28 driver 21:30:35 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 21:28 go.mod 21:30:35 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 21:28 go.sum 21:30:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:28 snap 21:30:35 -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 21:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:35 + 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=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 --label arch=amd64 --label version=3.1.0-dev.18 . 21:30:35 Sending build context to Docker daemon 10.93MB 21:30:35 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:30:35 Step 2/25 : FROM ${BASE} AS builder 21:30:35 ---> 01367b3420bc 21:30:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:30:35 ---> Running in cb8134c691a6 21:30:35 Removing intermediate container cb8134c691a6 21:30:35 ---> 410bc66b089b 21:30:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:35 ---> Running in 2f53c71bc7e2 21:30:35 Removing intermediate container 2f53c71bc7e2 21:30:35 ---> 8f0ed53bc5c9 21:30:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:30:35 ---> Running in ff8f66e9a773 21:30:36 Removing intermediate container ff8f66e9a773 21:30:36 ---> 3ad1cadbdb70 21:30:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:30:36 ---> Running in f7f9a573ac6e 21:30:36 Removing intermediate container f7f9a573ac6e 21:30:36 ---> ceb5eeeb46d4 21:30:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:36 ---> Running in be2a866b57f8 21:30:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:30:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:30:36 OK: 268 MiB in 56 packages 21:30:37 Removing intermediate container be2a866b57f8 21:30:37 ---> 6ae8f32f9cc6 21:30:37 Step 8/25 : WORKDIR /device-rest-go 21:30:37 ---> Running in 0226d8c8c0a4 21:30:37 Removing intermediate container 0226d8c8c0a4 21:30:37 ---> f8bab24436c3 21:30:37 Step 9/25 : COPY go.mod vendor* ./ 21:30:37 ---> c310ea0b7ad3 21:30:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:37 ---> Running in 93f5360302aa 21:30:38 Removing intermediate container 93f5360302aa 21:30:38 ---> 1f8f6db58484 21:30:38 Step 11/25 : COPY . . 21:30:38 ---> 2be87da56a65 21:30:38 Step 12/25 : RUN $MAKE 21:30:38 ---> Running in 19063e435132 21:30:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:31:01 Removing intermediate container 19063e435132 21:31:01 ---> c13e73b62946 21:31:01 Step 13/25 : FROM alpine:3.18 21:31:01 3.18: Pulling from library/alpine 21:31:01 7264a8db6415: Already exists 21:31:01 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:31:01 Status: Downloaded newer image for alpine:3.18 21:31:01 ---> 7e01a0d0a1dc 21:31:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:31:01 ---> Running in 9d48c3951dec 21:31:01 Removing intermediate container 9d48c3951dec 21:31:01 ---> 543fb220b7f4 21:31:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:31:01 ---> Running in 7741307914ae 21:31:01 Removing intermediate container 7741307914ae 21:31:01 ---> 44f8bb12b27b 21:31:01 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:31:01 ---> Running in 5a6a34b011fb 21:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:31:01 (1/1) Installing dumb-init (1.2.5-r2) 21:31:01 Executing busybox-1.36.1-r2.trigger 21:31:01 OK: 7 MiB in 16 packages 21:31:01 Removing intermediate container 5a6a34b011fb 21:31:01 ---> c5f6dfdcc7dd 21:31:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:31:01 ---> 0e2adf1b83d3 21:31:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:31:01 ---> 10eb5d8610d8 21:31:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:31:01 ---> 6ef0ae35e317 21:31:01 Step 20/25 : EXPOSE 59986 21:31:01 ---> Running in e503eadb81a5 21:31:01 Removing intermediate container e503eadb81a5 21:31:01 ---> 34788b1fa451 21:31:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:31:01 ---> Running in 959a7c320fb3 21:31:01 Removing intermediate container 959a7c320fb3 21:31:01 ---> 719535951fcc 21:31:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:31:01 ---> Running in 47e870d5054d 21:31:01 Removing intermediate container 47e870d5054d 21:31:01 ---> da22b08c16ce 21:31:01 Step 23/25 : LABEL arch=amd64 21:31:01 ---> Running in 60c9e9b14bcc 21:31:01 Removing intermediate container 60c9e9b14bcc 21:31:01 ---> 191897cde0ef 21:31:01 Step 24/25 : LABEL git_sha=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:31:01 ---> Running in bdb0a6932d4e 21:31:01 Removing intermediate container bdb0a6932d4e 21:31:01 ---> a1ec1782293f 21:31:01 Step 25/25 : LABEL version=3.1.0-dev.18 21:31:01 ---> Running in 8a6a099ed65d 21:31:01 Removing intermediate container 8a6a099ed65d 21:31:01 ---> ef6cf05c75a9 21:31:01 [Warning] One or more build-args [ARCH] were not consumed 21:31:01 Successfully built ef6cf05c75a9 21:31:01 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:01 provisioning config files... 21:31:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16152179958362939154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:01 ---> docker-login.sh 21:31:01 nexus3.edgexfoundry.org:10001 21:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:01 Configure a credential helper to remove this warning. See 21:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:01 21:31:01 Login Succeeded 21:31:01 nexus3.edgexfoundry.org:10002 21:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:01 Configure a credential helper to remove this warning. See 21:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:01 21:31:01 Login Succeeded 21:31:01 nexus3.edgexfoundry.org:10003 21:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:01 Configure a credential helper to remove this warning. See 21:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:01 21:31:01 Login Succeeded 21:31:01 nexus3.edgexfoundry.org:10004 21:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:01 Configure a credential helper to remove this warning. See 21:31:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:01 21:31:01 Login Succeeded 21:31:01 docker.io 21:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:02 Configure a credential helper to remove this warning. See 21:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:02 21:31:02 Login Succeeded 21:31:02 ---> docker-login.sh ends [Pipeline] } 21:31:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:02 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:31:02 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:31:02 latest 21:31:02 3.1.0-dev.18 21:31:02 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 21:31:02 main 21:31:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:31:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:31:02 a7f84264b7c9: Preparing 21:31:02 def6c850b318: Preparing 21:31:02 21928474a6f8: Preparing 21:31:02 8411eba1ff2e: Preparing 21:31:02 4693057ce236: Preparing 21:31:02 4693057ce236: Layer already exists 21:31:02 def6c850b318: Pushed 21:31:02 a7f84264b7c9: Pushed 21:31:02 8411eba1ff2e: Pushed 21:31:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7886 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:31:03 Running in /w/workspace/device-rest-go/138 [Pipeline] { [Pipeline] checkout 21:31:03 The recommended git tool is: git 21:31:06 21928474a6f8: Pushed 21:31:06 73bea07d0c9b5090e1f6a3014a45db50fae0ec58: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:31:06 a7f84264b7c9: Preparing 21:31:06 def6c850b318: Preparing 21:31:06 21928474a6f8: Preparing 21:31:06 8411eba1ff2e: Preparing 21:31:06 4693057ce236: Preparing 21:31:06 8411eba1ff2e: Layer already exists 21:31:06 21928474a6f8: Layer already exists 21:31:06 def6c850b318: Layer already exists 21:31:06 4693057ce236: Layer already exists 21:31:06 a7f84264b7c9: Layer already exists 21:31:06 latest: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.18 21:31:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:31:07 a7f84264b7c9: Preparing 21:31:07 def6c850b318: Preparing 21:31:07 21928474a6f8: Preparing 21:31:07 8411eba1ff2e: Preparing 21:31:07 4693057ce236: Preparing 21:31:07 def6c850b318: Layer already exists 21:31:07 21928474a6f8: Layer already exists 21:31:07 a7f84264b7c9: Layer already exists 21:31:07 8411eba1ff2e: Layer already exists 21:31:07 4693057ce236: Layer already exists 21:31:07 3.1.0-dev.18: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 using credential edgex-jenkins-ssh 21:31:07 Cloning the remote Git repository 21:31:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 21:31:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:31:07 a7f84264b7c9: Preparing 21:31:07 def6c850b318: Preparing 21:31:07 21928474a6f8: Preparing 21:31:07 8411eba1ff2e: Preparing 21:31:07 4693057ce236: Preparing 21:31:07 a7f84264b7c9: Layer already exists 21:31:07 8411eba1ff2e: Layer already exists 21:31:07 21928474a6f8: Layer already exists 21:31:07 4693057ce236: Layer already exists 21:31:07 def6c850b318: Layer already exists 21:31:07 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:31:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:31:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:31:08 a7f84264b7c9: Preparing 21:31:08 def6c850b318: Preparing 21:31:08 21928474a6f8: Preparing 21:31:08 8411eba1ff2e: Preparing 21:31:08 4693057ce236: Preparing 21:31:08 21928474a6f8: Layer already exists 21:31:08 8411eba1ff2e: Layer already exists 21:31:08 def6c850b318: Layer already exists 21:31:08 a7f84264b7c9: Layer already exists 21:31:08 4693057ce236: Layer already exists 21:31:08 main: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:08 ===================================================== [Pipeline] echo 21:31:08 taggedImages: 21:31:08 - nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:31:08 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:31:08 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.18 21:31:08 - nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 21:31:08 - 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 21:31:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:09 21:31:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 > git init /w/workspace/device-rest-go/138 # timeout=10 21:31:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:08 > git --version # timeout=10 21:31:08 > git --version # 'git version 2.25.1' 21:31:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:09 latest: Pulling from edgex-lftools-log-publisher 21:31:09 5eb5b503b376: Pulling fs layer 21:31:09 5c69ac0246d0: Pulling fs layer 21:31:09 ec43610c2a17: Pulling fs layer 21:31:09 3a2ae6a8a46f: Pulling fs layer 21:31:09 33b1e0a273af: Pulling fs layer 21:31:09 5d3b04190fa2: Pulling fs layer 21:31:09 2f39f015ded8: Pulling fs layer 21:31:09 33b1e0a273af: Waiting 21:31:09 5d3b04190fa2: Waiting 21:31:09 2f39f015ded8: Waiting 21:31:09 3a2ae6a8a46f: Waiting 21:31:09 5c69ac0246d0: Download complete 21:31:09 3a2ae6a8a46f: Verifying Checksum 21:31:09 3a2ae6a8a46f: Download complete 21:31:09 33b1e0a273af: Verifying Checksum 21:31:09 33b1e0a273af: Download complete 21:31:09 5d3b04190fa2: Verifying Checksum 21:31:09 5d3b04190fa2: Download complete 21:31:09 ec43610c2a17: Verifying Checksum 21:31:09 ec43610c2a17: Download complete 21:31:09 5eb5b503b376: Verifying Checksum 21:31:09 5eb5b503b376: Download complete 21:31:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:10 5eb5b503b376: Pull complete 21:31:10 5c69ac0246d0: Pull complete 21:31:11 Avoid second fetch 21:31:11 Checking out Revision 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 (main) 21:31:11 ec43610c2a17: Pull complete 21:31:11 3a2ae6a8a46f: Pull complete 21:31:11 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346)" 21:31:11 33b1e0a273af: Pull complete 21:31:11 5d3b04190fa2: Pull complete 21:31:11 > git config core.sparsecheckout # timeout=10 21:31:11 > git checkout -f 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 21:31:11 21:31:11 GitHub has been notified of this commit’s build result 21:31:11 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:12 Dload Upload Total Spent Left Speed 21:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 21:31:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:31:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:31:13 + sudo tee /etc/docker/daemon.new 21:31:13 { 21:31:13 "registry-mirrors": [ 21:31:13 "https://nexus3.edgexfoundry.org:10001" 21:31:13 ], 21:31:13 "bip": "10.250.0.254/24", 21:31:13 "hosts": [ 21:31:13 "tcp://0.0.0.0:5555", 21:31:13 "unix:///var/run/docker.sock" 21:31:13 ], 21:31:13 "mtu": 1458, 21:31:13 "selinux-enabled": true, 21:31:13 "seccomp-profile": "/etc/docker/seccomp.json" 21:31:13 } [Pipeline] sh 21:31:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:31:14 + sudo service docker restart 21:31:17 2f39f015ded8: Pull complete 21:31:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:17 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:31:17 $ 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 21:31:21 $ docker top a3011e2c2daa7d1b19b8f5ba7ac922fbc0fb94f18da9e725c753ff574dda81a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:22 ---> job-cost.sh 21:31:22 lf-activate-venv: SKIPPING 21:31:22 INFO: No Stack... 21:31:22 INFO: Retrieving Pricing Info for: v3-standard-8 21:31:22 INFO: Archiving Costs [Pipeline] sh 21:31:23 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csvcut 21:31:23 -d, -f6 [Pipeline] lock 21:31:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] 21:31:23 Resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] did not exist. Created. 21:31:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:23 + echo total: 0.2199999988079071 [Pipeline] stash 21:31:23 Stashed 1 file(s) [Pipeline] } 21:31:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 21:31:23 $ docker stop --time=1 a3011e2c2daa7d1b19b8f5ba7ac922fbc0fb94f18da9e725c753ff574dda81a0 21:31:24 $ docker rm -f --volumes a3011e2c2daa7d1b19b8f5ba7ac922fbc0fb94f18da9e725c753ff574dda81a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:32 provisioning config files... 21:31:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/138@tmp/config11910369584806753167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:32 ---> docker-login.sh 21:31:32 nexus3.edgexfoundry.org:10001 21:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:33 Configure a credential helper to remove this warning. See 21:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:33 21:31:33 Login Succeeded 21:31:33 nexus3.edgexfoundry.org:10002 21:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:33 Configure a credential helper to remove this warning. See 21:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:33 21:31:33 Login Succeeded 21:31:33 nexus3.edgexfoundry.org:10003 21:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:34 Configure a credential helper to remove this warning. See 21:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:34 21:31:34 Login Succeeded 21:31:34 nexus3.edgexfoundry.org:10004 21:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:34 Configure a credential helper to remove this warning. See 21:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:34 21:31:34 Login Succeeded 21:31:34 docker.io 21:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:34 Configure a credential helper to remove this warning. See 21:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:34 21:31:34 Login Succeeded 21:31:34 ---> docker-login.sh ends [Pipeline] } 21:31:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:35 ========================================================= 21:31:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:31:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:35 + 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 . 21:31:35 Sending build context to Docker daemon 144.4kB 21:31:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:31:35 Step 2/12 : FROM ${BASE} AS builder 21:31:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:31:36 9fda8d8052c6: Pulling fs layer 21:31:36 5d54e960e981: Pulling fs layer 21:31:36 c4a7e357bf2a: Pulling fs layer 21:31:36 f0e02332f6b5: Pulling fs layer 21:31:36 cefa15bbcfad: Pulling fs layer 21:31:36 17808c966233: Pulling fs layer 21:31:36 f4c1fc716caa: Pulling fs layer 21:31:36 f0e02332f6b5: Waiting 21:31:36 cefa15bbcfad: Waiting 21:31:36 17808c966233: Waiting 21:31:36 f4c1fc716caa: Waiting 21:31:36 5d54e960e981: Verifying Checksum 21:31:36 5d54e960e981: Download complete 21:31:36 f0e02332f6b5: Verifying Checksum 21:31:36 f0e02332f6b5: Download complete 21:31:36 cefa15bbcfad: Verifying Checksum 21:31:36 cefa15bbcfad: Download complete 21:31:36 9fda8d8052c6: Verifying Checksum 21:31:36 9fda8d8052c6: Download complete 21:31:36 f4c1fc716caa: Verifying Checksum 21:31:36 f4c1fc716caa: Download complete 21:31:37 9fda8d8052c6: Pull complete 21:31:37 5d54e960e981: Pull complete 21:31:38 c4a7e357bf2a: Verifying Checksum 21:31:38 c4a7e357bf2a: Download complete 21:31:39 17808c966233: Verifying Checksum 21:31:39 17808c966233: Download complete 21:31:49 c4a7e357bf2a: Pull complete 21:31:49 f0e02332f6b5: Pull complete 21:31:49 cefa15bbcfad: Pull complete 21:31:57 17808c966233: Pull complete 21:31:57 f4c1fc716caa: Pull complete 21:31:57 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:31:57 ---> ea914061e18c 21:31:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:31:59 ---> Running in 9b34924d55d5 21:31:59 Removing intermediate container 9b34924d55d5 21:31:59 ---> 9e4a33842c53 21:31:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:59 ---> Running in 4565d795fc75 21:31:59 Removing intermediate container 4565d795fc75 21:31:59 ---> 74ac9df4d99f 21:31:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:32:00 ---> Running in 3345c36e715f 21:32:00 Removing intermediate container 3345c36e715f 21:32:00 ---> 8259cfd759fd 21:32:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:32:00 ---> Running in 552795d62e83 21:32:00 Removing intermediate container 552795d62e83 21:32:00 ---> d85a1b98c037 21:32:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:00 ---> Running in 28e1d673ce8c 21:32:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:32:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:32:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:32:03 (2/4) Installing libedit (20221030.3.1-r1) 21:32:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:32:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:32:03 Executing busybox-1.36.1-r2.trigger 21:32:03 OK: 270 MiB in 56 packages 21:32:04 Removing intermediate container 28e1d673ce8c 21:32:04 ---> db534a8f545b 21:32:04 Step 8/12 : WORKDIR /device-rest-go 21:32:04 ---> Running in a4f6db96daa5 21:32:04 Removing intermediate container a4f6db96daa5 21:32:04 ---> 23012ca29e91 21:32:04 Step 9/12 : COPY go.mod vendor* ./ 21:32:05 ---> 267a1e7cc007 21:32:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:05 ---> Running in 1838859fc64e 21:33:13 Removing intermediate container 1838859fc64e 21:33:13 ---> d88458e76b71 21:33:13 Step 11/12 : COPY . . 21:33:13 ---> d12505a0e25f 21:33:13 Step 12/12 : RUN $MAKE 21:33:13 ---> Running in 1332e49461b2 21:33:13 noop 21:33:14 Removing intermediate container 1332e49461b2 21:33:14 ---> b418e20dd897 21:33:14 Successfully built b418e20dd897 21:33:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:14 + docker inspect -f . ci-base-image-arm64 21:33:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:14 prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container 21:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/138 -v /w/workspace/device-rest-go/138:/w/workspace/device-rest-go/138:rw,z -v /w/workspace/device-rest-go/138@tmp:/w/workspace/device-rest-go/138@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 21:33:15 $ docker top 530c2652676931de08259a38d10770ae724921975501b8d0eb97c6f78d5f38cc -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:16 + go version 21:33:16 go version go1.21.0 linux/arm64 [Pipeline] } 21:33:16 $ docker stop --time=1 530c2652676931de08259a38d10770ae724921975501b8d0eb97c6f78d5f38cc 21:33:18 $ docker rm -f --volumes 530c2652676931de08259a38d10770ae724921975501b8d0eb97c6f78d5f38cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:18 + docker inspect -f . ci-base-image-arm64 21:33:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container 21:33:19 $ 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/138 -v /w/workspace/device-rest-go/138:/w/workspace/device-rest-go/138:rw,z -v /w/workspace/device-rest-go/138@tmp:/w/workspace/device-rest-go/138@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 21:33:20 $ docker top 0f8b4486938fd10715c04d5806b77458b85aee4bf1833e9a05c87704d0c0a1bf -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:20 + git config --global --add safe.directory /w/workspace/device-rest-go/138 [Pipeline] fileExists [Pipeline] sh 21:33:21 + make test 21:33:21 go test ./... -coverprofile=coverage.out ./... 21:33:25 ? github.com/edgexfoundry/device-rest-go [no test files] 21:35:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:35:02 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 21:35:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:35:02 go vet ./... 21:35:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:35:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:35:10 ./bin/test-attribution-txt.sh [Pipeline] echo 21:35:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:35:10 $ docker stop --time=1 0f8b4486938fd10715c04d5806b77458b85aee4bf1833e9a05c87704d0c0a1bf 21:35:12 $ docker rm -f --volumes 0f8b4486938fd10715c04d5806b77458b85aee4bf1833e9a05c87704d0c0a1bf [Pipeline] // withDockerContainer [Pipeline] sh 21:35:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:35:13 Warning: overwriting stash ‘coverage-report’ 21:35:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:35:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:35:14 + ls -al . 21:35:14 total 184 21:35:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 21:33 . 21:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:31 .. 21:35:14 -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 21:31 .dockerignore 21:35:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 21:31 .git 21:35:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:31 .github 21:35:14 -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 21:31 .gitignore 21:35:14 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 21:31 .golangci.yml 21:35:14 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 21:31 Attribution.txt 21:35:14 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 21:31 CHANGELOG.md 21:35:14 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 21:31 Dockerfile 21:35:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 21:31 GOVERNANCE.md 21:35:14 -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 21:31 Jenkinsfile 21:35:14 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 21:31 LICENSE 21:35:14 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 21:31 Makefile 21:35:14 -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 21:31 OWNERS.md 21:35:14 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 21:31 README.md 21:35:14 -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 21:29 VERSION 21:35:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:31 bin 21:35:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:31 cmd 21:35:14 -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 21:34 coverage.out 21:35:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:31 driver 21:35:14 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 21:31 go.mod 21:35:14 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 21:31 go.sum 21:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:31 snap 21:35:14 -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:15 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 --label arch=arm64 --label version=3.1.0-dev.18 . 21:35:15 Sending build context to Docker daemon 159.7kB 21:35:15 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:35:15 Step 2/25 : FROM ${BASE} AS builder 21:35:15 ---> b418e20dd897 21:35:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:35:15 ---> Running in 96be0c7fec55 21:35:15 Removing intermediate container 96be0c7fec55 21:35:15 ---> 7bd56b97ea0d 21:35:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:35:15 ---> Running in 2c8ba3afa49a 21:35:16 Removing intermediate container 2c8ba3afa49a 21:35:16 ---> bf9636b388fb 21:35:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:35:16 ---> Running in 7dd98012ad2d 21:35:16 Removing intermediate container 7dd98012ad2d 21:35:16 ---> b2e0d0aa04de 21:35:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:35:16 ---> Running in 509ceff564c7 21:35:17 Removing intermediate container 509ceff564c7 21:35:17 ---> 118308ce1e87 21:35:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:35:17 ---> Running in 81384014a045 21:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:35:20 OK: 270 MiB in 56 packages 21:35:20 Removing intermediate container 81384014a045 21:35:20 ---> 950cc42bc6cb 21:35:20 Step 8/25 : WORKDIR /device-rest-go 21:35:20 ---> Running in a93a56a2d249 21:35:21 Removing intermediate container a93a56a2d249 21:35:21 ---> cf0bab15e765 21:35:21 Step 9/25 : COPY go.mod vendor* ./ 21:35:21 ---> e5291615bc9e 21:35:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:35:21 ---> Running in 0686382ff7b2 21:35:24 Removing intermediate container 0686382ff7b2 21:35:24 ---> b614e46358f1 21:35:24 Step 11/25 : COPY . . 21:35:24 ---> 5f9728fa041f 21:35:24 Step 12/25 : RUN $MAKE 21:35:24 ---> Running in 6ba81398bea0 21:35:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:37:17 Removing intermediate container 6ba81398bea0 21:37:17 ---> eb402fd88b1f 21:37:17 Step 13/25 : FROM alpine:3.18 21:37:17 3.18: Pulling from library/alpine 21:37:17 9fda8d8052c6: Already exists 21:37:17 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:37:17 Status: Downloaded newer image for alpine:3.18 21:37:17 ---> f6648c04cd6c 21:37:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:37:17 ---> Running in 87e847f708b4 21:37:17 Removing intermediate container 87e847f708b4 21:37:17 ---> 0bf446b9f00d 21:37:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:37:17 ---> Running in 31c4786fb7a6 21:37:17 Removing intermediate container 31c4786fb7a6 21:37:17 ---> cc2e1c45fc85 21:37:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:37:17 ---> Running in 99c527e2fb6b 21:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:37:17 (1/1) Installing dumb-init (1.2.5-r2) 21:37:17 Executing busybox-1.36.1-r2.trigger 21:37:17 OK: 8 MiB in 16 packages 21:37:18 Removing intermediate container 99c527e2fb6b 21:37:18 ---> bf71497dea15 21:37:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:37:20 ---> 7e1c5a392477 21:37:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:37:20 ---> 242791934a22 21:37:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:37:20 ---> 872c70a8b823 21:37:20 Step 20/25 : EXPOSE 59986 21:37:20 ---> Running in a73101173bb2 21:37:21 Removing intermediate container a73101173bb2 21:37:21 ---> bfa986f265df 21:37:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:37:21 ---> Running in 79ae53d10f68 21:37:21 Removing intermediate container 79ae53d10f68 21:37:21 ---> b4c8c3c2f36e 21:37:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:37:21 ---> Running in 3fd5cb409aaa 21:37:22 Removing intermediate container 3fd5cb409aaa 21:37:22 ---> 18d55d91bf50 21:37:22 Step 23/25 : LABEL arch=arm64 21:37:22 ---> Running in 613b68e3818f 21:37:22 Removing intermediate container 613b68e3818f 21:37:22 ---> 0cd59619bc02 21:37:22 Step 24/25 : LABEL git_sha=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:37:22 ---> Running in ee1e79b6978a 21:37:22 Removing intermediate container ee1e79b6978a 21:37:22 ---> 98d332489d4f 21:37:22 Step 25/25 : LABEL version=3.1.0-dev.18 21:37:22 ---> Running in 273b58d42bf4 21:37:23 Removing intermediate container 273b58d42bf4 21:37:23 ---> 12501061d35f 21:37:23 [Warning] One or more build-args [ARCH] were not consumed 21:37:23 Successfully built 12501061d35f 21:37:23 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 21:37:23 provisioning config files... 21:37:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/138@tmp/config9345957614843851422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:23 ---> docker-login.sh 21:37:23 nexus3.edgexfoundry.org:10001 21:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:23 Configure a credential helper to remove this warning. See 21:37:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:23 21:37:23 Login Succeeded 21:37:23 nexus3.edgexfoundry.org:10002 21:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:24 Configure a credential helper to remove this warning. See 21:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:24 21:37:24 Login Succeeded 21:37:24 nexus3.edgexfoundry.org:10003 21:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:24 Configure a credential helper to remove this warning. See 21:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:24 21:37:24 Login Succeeded 21:37:24 nexus3.edgexfoundry.org:10004 21:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:24 Configure a credential helper to remove this warning. See 21:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:24 21:37:24 Login Succeeded 21:37:24 docker.io 21:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:25 Configure a credential helper to remove this warning. See 21:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:25 21:37:25 Login Succeeded 21:37:25 ---> docker-login.sh ends [Pipeline] } 21:37:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:25 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:37:25 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:37:25 latest 21:37:25 3.1.0-dev.18 21:37:25 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 21:37:25 main 21:37:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:37:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:37:26 b097f07e066a: Preparing 21:37:26 06dc307d7d04: Preparing 21:37:26 50986f9461dc: Preparing 21:37:26 1b69808d7730: Preparing 21:37:26 b2191e2be29d: Preparing 21:37:26 b2191e2be29d: Layer already exists 21:37:26 b097f07e066a: Pushed 21:37:26 1b69808d7730: Pushed 21:37:26 06dc307d7d04: Pushed 21:37:31 50986f9461dc: Pushed 21:37:31 73bea07d0c9b5090e1f6a3014a45db50fae0ec58: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:37:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:37:32 b097f07e066a: Preparing 21:37:32 06dc307d7d04: Preparing 21:37:32 50986f9461dc: Preparing 21:37:32 1b69808d7730: Preparing 21:37:32 b2191e2be29d: Preparing 21:37:32 b2191e2be29d: Layer already exists 21:37:32 b097f07e066a: Layer already exists 21:37:32 50986f9461dc: Layer already exists 21:37:32 06dc307d7d04: Layer already exists 21:37:32 1b69808d7730: Layer already exists 21:37:32 latest: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.18 21:37:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:37:33 b097f07e066a: Preparing 21:37:33 06dc307d7d04: Preparing 21:37:33 50986f9461dc: Preparing 21:37:33 1b69808d7730: Preparing 21:37:33 b2191e2be29d: Preparing 21:37:33 b2191e2be29d: Layer already exists 21:37:33 06dc307d7d04: Layer already exists 21:37:33 50986f9461dc: Layer already exists 21:37:33 1b69808d7730: Layer already exists 21:37:33 b097f07e066a: Layer already exists 21:37:33 3.1.0-dev.18: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 21:37:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:37:33 b097f07e066a: Preparing 21:37:33 06dc307d7d04: Preparing 21:37:33 50986f9461dc: Preparing 21:37:33 1b69808d7730: Preparing 21:37:33 b2191e2be29d: Preparing 21:37:33 b2191e2be29d: Layer already exists 21:37:33 06dc307d7d04: Layer already exists 21:37:33 1b69808d7730: Layer already exists 21:37:33 b097f07e066a: Layer already exists 21:37:33 50986f9461dc: Layer already exists 21:37:33 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:37:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:37:34 b097f07e066a: Preparing 21:37:34 06dc307d7d04: Preparing 21:37:34 50986f9461dc: Preparing 21:37:34 1b69808d7730: Preparing 21:37:34 b2191e2be29d: Preparing 21:37:34 b2191e2be29d: Layer already exists 21:37:34 b097f07e066a: Layer already exists 21:37:34 06dc307d7d04: Layer already exists 21:37:34 50986f9461dc: Layer already exists 21:37:34 1b69808d7730: Layer already exists 21:37:34 main: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:34 ===================================================== [Pipeline] echo 21:37:34 taggedImages: 21:37:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 21:37:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:37:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.18 21:37:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 21:37: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 21:37:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:35 21:37:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:35 arm64: Pulling from edgex-lftools-log-publisher 21:37:35 8998bd30e6a1: Pulling fs layer 21:37:35 04944245beec: Pulling fs layer 21:37:35 699f458cf7ca: Pulling fs layer 21:37:35 765212b225bb: Pulling fs layer 21:37:35 f23df028b6ca: Pulling fs layer 21:37:35 d65c8cfc05b1: Pulling fs layer 21:37:35 2437ff75d9bd: Pulling fs layer 21:37:35 f23df028b6ca: Waiting 21:37:35 d65c8cfc05b1: Waiting 21:37:35 2437ff75d9bd: Waiting 21:37:35 765212b225bb: Waiting 21:37:35 04944245beec: Verifying Checksum 21:37:35 04944245beec: Download complete 21:37:35 765212b225bb: Verifying Checksum 21:37:35 765212b225bb: Download complete 21:37:35 f23df028b6ca: Verifying Checksum 21:37:35 f23df028b6ca: Download complete 21:37:35 d65c8cfc05b1: Download complete 21:37:35 699f458cf7ca: Verifying Checksum 21:37:35 699f458cf7ca: Download complete 21:37:36 8998bd30e6a1: Verifying Checksum 21:37:36 8998bd30e6a1: Download complete 21:37:38 2437ff75d9bd: Verifying Checksum 21:37:38 2437ff75d9bd: Download complete 21:37:40 8998bd30e6a1: Pull complete 21:37:40 04944245beec: Pull complete 21:37:41 699f458cf7ca: Pull complete 21:37:42 765212b225bb: Pull complete 21:37:45 f23df028b6ca: Pull complete 21:37:45 d65c8cfc05b1: Pull complete 21:38:00 2437ff75d9bd: Pull complete 21:38:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:38:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:38:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:01 prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container 21:38:01 $ 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/138 -v /w/workspace/device-rest-go/138:/w/workspace/device-rest-go/138:rw,z -v /w/workspace/device-rest-go/138@tmp:/w/workspace/device-rest-go/138@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 21:38:03 $ docker top 8c2ca7570035225d038504f84128ef5bc549ba4c17172a5a760c969ea5a11129 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:03 ---> job-cost.sh 21:38:04 lf-activate-venv: SKIPPING 21:38:04 INFO: No Stack... 21:38:04 INFO: Retrieving Pricing Info for: v3-standard-4 21:38:05 INFO: Archiving Costs [Pipeline] sh 21:38:05 + cut -d, -f6 21:38:05 + cat /w/workspace/device-rest-go/138/archives/cost.csv [Pipeline] lock 21:38:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] 21:38:05 Resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] did not exist. Created. 21:38:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:06 /w/workspace/device-rest-go/138@tmp/durable-cfbbc79e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:38:06 + echo total: 0.10999999940395355 [Pipeline] stash 21:38:06 Warning: overwriting stash ‘stack-cost’ 21:38:06 Stashed 1 file(s) [Pipeline] } 21:38:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:07 $ docker stop --time=1 8c2ca7570035225d038504f84128ef5bc549ba4c17172a5a760c969ea5a11129 21:38:08 $ docker rm -f --volumes 8c2ca7570035225d038504f84128ef5bc549ba4c17172a5a760c969ea5a11129 [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 21:38:08 provisioning config files... 21:38:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5820192560417947862tmp [Pipeline] { [Pipeline] sh 21:38:09 + set +x 21:38:09 + curl -s https://codecov.io/bash 21:38:09 + bash -s -- 21:38:09 21:38:09 _____ _ 21:38:09 / ____| | | 21:38:09 | | ___ __| | ___ ___ _____ __ 21:38:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:38:09 | |___| (_) | (_| | __/ (_| (_) \ V / 21:38:09 \_____\___/ \__,_|\___|\___\___/ \_/ 21:38:09 Bash-1.0.6 21:38:09 21:38:09 21:38:09 ==> git version 2.25.1 found 21:38:09 ==> 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 21:38:09 Release-Date: 2020-01-08 21:38:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:38:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:38:09 ==> Jenkins CI detected. 21:38:09 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:38:09 project root: . 21:38:09 --> token set from env 21:38:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:38:09 ==> Running gcov in . (disable via -X gcov) 21:38:09 ==> Python coveragepy not found 21:38:09 ==> Searching for coverage reports in: 21:38:09 + . 21:38:09 -> Found 1 reports 21:38:09 ==> Detecting git/mercurial file structure 21:38:09 ==> Reading reports 21:38:09 + ./coverage.out bytes=14499 21:38:09 ==> Appending adjustments 21:38:09 https://docs.codecov.io/docs/fixing-reports 21:38:09 + Found adjustments 21:38:09 ==> Gzipping contents 21:38:09 4.0K /tmp/codecov.A6ljDo.gz 21:38:09 ==> Uploading reports 21:38:09 url: https://codecov.io 21:38:09 query: branch=main&commit=73bea07d0c9b5090e1f6a3014a45db50fae0ec58&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:38:09 -> Pinging Codecov 21:38:09 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=73bea07d0c9b5090e1f6a3014a45db50fae0ec58&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:38:09 -> Uploading to 21:38:09 https://storage.googleapis.com/codecov/v4/raw/2023-09-25/4E5D53B4F1F92C436F7061BF334D961C/73bea07d0c9b5090e1f6a3014a45db50fae0ec58/9a8dd158-4f8d-443d-a5b9-22fe8eb259bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T213809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ea38ec789b5ad6988306a3f6c34d40e065f5fbf0910584cda82c7843755b1c7 21:38:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:09 Dload Upload Total Spent Left Speed 21:38:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 11280 --:--:-- --:--:-- --:--:-- 11229 100 2493 0 0 100 2493 0 11129 --:--:-- --:--:-- --:--:-- 11129 21:38:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] } 21:38:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:38:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:38:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:10 21:38:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:38:10 df9b9388f04a: Pulling fs layer 21:38:10 52dc419b0ee2: Pulling fs layer 21:38:10 25bc292e5bac: Pulling fs layer 21:38:10 114826534d7a: Pulling fs layer 21:38:10 4657fd5d0bcf: Pulling fs layer 21:38:10 6ad1cebc031e: Pulling fs layer 21:38:10 8a3aa393b2d8: Pulling fs layer 21:38:10 4657fd5d0bcf: Waiting 21:38:10 6ad1cebc031e: Waiting 21:38:10 114826534d7a: Waiting 21:38:10 8a3aa393b2d8: Waiting 21:38:10 25bc292e5bac: Verifying Checksum 21:38:10 25bc292e5bac: Download complete 21:38:10 52dc419b0ee2: Verifying Checksum 21:38:10 52dc419b0ee2: Download complete 21:38:10 4657fd5d0bcf: Verifying Checksum 21:38:10 4657fd5d0bcf: Download complete 21:38:10 df9b9388f04a: Download complete 21:38:10 6ad1cebc031e: Verifying Checksum 21:38:10 6ad1cebc031e: Download complete 21:38:10 df9b9388f04a: Pull complete 21:38:10 52dc419b0ee2: Pull complete 21:38:10 25bc292e5bac: Pull complete 21:38:11 114826534d7a: Verifying Checksum 21:38:11 114826534d7a: Download complete 21:38:11 8a3aa393b2d8: Verifying Checksum 21:38:11 8a3aa393b2d8: Download complete 21:38:14 114826534d7a: Pull complete 21:38:14 4657fd5d0bcf: Pull complete 21:38:15 6ad1cebc031e: Pull complete 21:38:17 8a3aa393b2d8: Pull complete 21:38:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:38:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:17 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:38:17 $ 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 21:38:22 $ docker top 9f24ae8c92bd4e8dbcfb48d7931022d13106b221d224b68306f3ea176372f1da -eo pid,comm [Pipeline] { [Pipeline] echo 21:38:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:38:23 + set -o pipefail 21:38:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:38:28 21:38:28 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:38:28 21:38:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0fb77234-63b4-4d4d-9b25-62b62b2136be 21:38:28 21:38:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:38:28 21:38:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:38:28 21:38:28 21:38:28 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:38:28 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:38:28 More details here: https://snyk.co/ue1NS [Pipeline] } 21:38:28 $ docker stop --time=1 9f24ae8c92bd4e8dbcfb48d7931022d13106b221d224b68306f3ea176372f1da 21:38:32 $ docker rm -f --volumes 9f24ae8c92bd4e8dbcfb48d7931022d13106b221d224b68306f3ea176372f1da [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 21:38:33 + git log --format=format:%s -1 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] sh 21:38:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:34 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:38:34 $ 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 21:38:34 $ docker top 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:34 [ssh-agent] Looking for ssh-agent implementation... 21:38:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:34 $ docker exec 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d ssh-agent 21:38:35 SSH_AUTH_SOCK=/tmp/ssh-MXl4J45C1dXQ/agent.32 21:38:35 SSH_AGENT_PID=38 21:38:35 Running ssh-add (command line suppressed) 21:38:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10994992960839959635.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10994992960839959635.key) 21:38:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:35 + git semver tag 21:38:35 2023-09-25 21:38:35,702 [run_tag] DEBUG tag force:False 21:38:35 2023-09-25 21:38:35,703 [check_head_tag] DEBUG check head tag 21:38:35 2023-09-25 21:38:35,704 [execute] INFO git cat-file --batch-check 21:38:35 2023-09-25 21:38:35,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:38:35 2023-09-25 21:38:35,709 [execute] INFO git cat-file --batch 21:38:35 2023-09-25 21:38:35,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:38:35 2023-09-25 21:38:35,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:38:35 2023-09-25 21:38:35,722 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 21:38:35 2023-09-25 21:38:35,722 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:38:35 2023-09-25 21:38:35,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:38:35 3.1.0-dev.18 [Pipeline] } 21:38:35 $ docker exec --env ******** --env ******** 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d ssh-agent -k 21:38:35 unset SSH_AUTH_SOCK; 21:38:35 unset SSH_AGENT_PID; 21:38:35 echo Agent pid 38 killed; 21:38:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:36 + git semver [Pipeline] } 21:38:36 $ docker stop --time=1 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d 21:38:37 $ docker rm -f --volumes 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:38 21:38:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:38 0.23.1-centos7: Pulling from edgex-lftools 21:38:38 ab5ef0e58194: Pulling fs layer 21:38:38 9712f1f96733: Pulling fs layer 21:38:38 63f879dbbcfc: Pulling fs layer 21:38:38 0d9ebad4ef96: Pulling fs layer 21:38:38 e9a5061849ea: Pulling fs layer 21:38:38 d747dcd14b5f: Pulling fs layer 21:38:38 2de7ff778b66: Pulling fs layer 21:38:38 0d9ebad4ef96: Waiting 21:38:38 d747dcd14b5f: Waiting 21:38:38 e9a5061849ea: Waiting 21:38:38 2de7ff778b66: Waiting 21:38:38 9712f1f96733: Verifying Checksum 21:38:38 9712f1f96733: Download complete 21:38:38 63f879dbbcfc: Verifying Checksum 21:38:38 63f879dbbcfc: Download complete 21:38:38 e9a5061849ea: Verifying Checksum 21:38:38 e9a5061849ea: Download complete 21:38:38 0d9ebad4ef96: Verifying Checksum 21:38:38 0d9ebad4ef96: Download complete 21:38:38 d747dcd14b5f: Verifying Checksum 21:38:38 d747dcd14b5f: Download complete 21:38:38 ab5ef0e58194: Verifying Checksum 21:38:38 ab5ef0e58194: Download complete 21:38:38 2de7ff778b66: Verifying Checksum 21:38:38 2de7ff778b66: Download complete 21:38:41 ab5ef0e58194: Pull complete 21:38:41 9712f1f96733: Pull complete 21:38:42 63f879dbbcfc: Pull complete 21:38:46 0d9ebad4ef96: Pull complete 21:38:46 e9a5061849ea: Pull complete 21:38:46 d747dcd14b5f: Pull complete 21:38:47 2de7ff778b66: Pull complete 21:38:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:38:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:47 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:38:47 $ 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 21:38:53 $ docker top b2081afc522fa5cd73b13c075c7980c01af3e10311a9f94f6245c2e14851b237 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:38:53 provisioning config files... 21:38:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16316742722009870391tmp 21:38:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5000499926207900214tmp 21:38:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16118528580417250898tmp [Pipeline] { [Pipeline] echo 21:38:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:38:54 ---> sigul-configuration.sh 21:38:54 gpg: directory `/root/.gnupg' created 21:38:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:38:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:38:54 gpg: keyring `/root/.gnupg/secring.gpg' created 21:38:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:38:54 gpg: CAST5 encrypted data 21:38:54 gpg: encrypted with 1 passphrase 21:38:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:38:54 + mkdir /home/jenkins 21:38:54 + mkdir /home/jenkins/sigul [Pipeline] sh 21:38:54 + 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 21:38:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:38:55 ---> sigul-install.sh 21:38:55 Sigul already installed; skipping installation. [Pipeline] sh 21:38:55 + git tag --list 21:38:55 v1.0.0 21:38:55 v1.1.0 21:38:55 v1.1.1 21:38:55 v1.1.2 21:38:55 v1.2.0 21:38:55 v1.2.1 21:38:55 v2.0.0 21:38:55 v2.1.0 21:38:55 v2.1.1 21:38:55 v2.2.0 21:38:55 v2.3.0 21:38:55 v3.0 21:38:55 v3.0.0 21:38:55 v3.1.0-dev.1 21:38:55 v3.1.0-dev.10 21:38:55 v3.1.0-dev.11 21:38:55 v3.1.0-dev.12 21:38:55 v3.1.0-dev.13 21:38:55 v3.1.0-dev.14 21:38:55 v3.1.0-dev.15 21:38:55 v3.1.0-dev.16 21:38:55 v3.1.0-dev.17 21:38:55 v3.1.0-dev.18 21:38:55 v3.1.0-dev.2 21:38:55 v3.1.0-dev.3 21:38:55 v3.1.0-dev.4 21:38:55 v3.1.0-dev.5 21:38:55 v3.1.0-dev.6 21:38:55 v3.1.0-dev.7 21:38:55 v3.1.0-dev.8 21:38:55 v3.1.0-dev.9 [Pipeline] sh 21:38:55 + lftools sign git-tag v3.1.0-dev.18 21:38:56 Signing Git tag with Sigul... 21:38:56 Signing v3.1.0-dev.18 [Pipeline] echo 21:38:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:38:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:38:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:38:56 $ docker stop --time=1 b2081afc522fa5cd73b13c075c7980c01af3e10311a9f94f6245c2e14851b237 21:38:58 $ docker rm -f --volumes b2081afc522fa5cd73b13c075c7980c01af3e10311a9f94f6245c2e14851b237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:38:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:59 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:38:59 $ 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 21:38:59 $ docker top 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f -eo pid,comm 21:38:59 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). 21:38:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:59 [ssh-agent] Looking for ssh-agent implementation... 21:38:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:59 $ docker exec 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f ssh-agent 21:38:59 SSH_AUTH_SOCK=/tmp/ssh-aHIU1fvGECuF/agent.32 21:38:59 SSH_AGENT_PID=38 21:38:59 Running ssh-add (command line suppressed) 21:38:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6528915508471558152.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6528915508471558152.key) 21:38:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:00 + git semver bump pre 21:39:00 2023-09-25 21:39:00,207 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:00 2023-09-25 21:39:00,207 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev 21:39:00 2023-09-25 21:39:00,207 [bump_version] DEBUG bumped version:3.1.0-dev.19 21:39:00 2023-09-25 21:39:00,208 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:39:00 2023-09-25 21:39:00,208 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:00 2023-09-25 21:39:00,208 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:00 2023-09-25 21:39:00,210 [execute] INFO git cat-file --batch-check 21:39:00 2023-09-25 21:39:00,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:39:00 2023-09-25 21:39:00,214 [execute] INFO git cat-file --batch 21:39:00 2023-09-25 21:39:00,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:39:00 2023-09-25 21:39:00,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:00 3.1.0-dev.19 [Pipeline] } 21:39:00 $ docker exec --env ******** --env ******** 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f ssh-agent -k 21:39:00 unset SSH_AUTH_SOCK; 21:39:00 unset SSH_AGENT_PID; 21:39:00 echo Agent pid 38 killed; 21:39:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:00 + git semver [Pipeline] } 21:39:01 $ docker stop --time=1 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f 21:39:02 $ docker rm -f --volumes 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f [Pipeline] // withDockerContainer [Pipeline] sh 21:39:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:39:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:02 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:39:03 $ 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 21:39:03 $ docker top 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc -eo pid,comm 21:39:03 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). 21:39:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:03 [ssh-agent] Looking for ssh-agent implementation... 21:39:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:03 $ docker exec 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc ssh-agent 21:39:03 SSH_AUTH_SOCK=/tmp/ssh-pWhhk3VDYETU/agent.33 21:39:03 SSH_AGENT_PID=39 21:39:03 Running ssh-add (command line suppressed) 21:39:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15025873618780901123.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15025873618780901123.key) 21:39:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:04 + git semver push 21:39:04 2023-09-25 21:39:04,205 [run_push] DEBUG push 21:39:04 2023-09-25 21:39:04,205 [execute] INFO git cat-file --batch-check 21:39:04 2023-09-25 21:39:04,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:39:04 2023-09-25 21:39:04,209 [execute] INFO git rev-list 742a2a9ad0213b7997002540ca4424c719c85ce3 -- 21:39:04 2023-09-25 21:39:04,209 [execute] DEBUG Popen(['git', 'rev-list', '742a2a9ad0213b7997002540ca4424c719c85ce3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:39:04 2023-09-25 21:39:04,214 [execute] INFO git fetch -v origin 21:39:04 2023-09-25 21:39:04,214 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:39:04 2023-09-25 21:39:04,698 [run_push] DEBUG no remote changes detected 21:39:04 2023-09-25 21:39:04,699 [execute] INFO git push origin semver 21:39:04 2023-09-25 21:39:04,699 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:39:05 2023-09-25 21:39:05,473 [run_push] DEBUG push all version tags 21:39:05 2023-09-25 21:39:05,474 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:39:05 2023-09-25 21:39:05,474 [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) 21:39:06 2023-09-25 21:39:06,186 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:06 3.1.0-dev.19 [Pipeline] } 21:39:06 $ docker exec --env ******** --env ******** 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc ssh-agent -k 21:39:06 unset SSH_AUTH_SOCK; 21:39:06 unset SSH_AGENT_PID; 21:39:06 echo Agent pid 39 killed; 21:39:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:06 + git semver [Pipeline] } 21:39:07 $ docker stop --time=1 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc 21:39:08 $ docker rm -f --volumes 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc [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 21:39:08 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:39:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:39:08 total 16 21:39:08 drwxr-xr-x 3 root root 4096 Sep 25 21:31 . 21:39:08 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 21:38 .. 21:39:08 drwxr-xr-x 2 root root 4096 Sep 25 21:31 cost 21:39:08 -rw-r--r-- 1 root root 86 Sep 25 21:31 cost.csv 21:39:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:39:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:39:08 total 16 21:39:08 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 21:31 . 21:39:08 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 21:38 .. 21:39:08 drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 21:31 cost 21:39:08 -rw-r--r-- 1 jenkins jenkins 86 Sep 25 21:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:39:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:39:10 ---> package-listing.sh 21:39:10 ++ facter osfamily 21:39:10 ++ tr '[:upper:]' '[:lower:]' 21:39:10 + OS_FAMILY=debian 21:39:10 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:39:10 + START_PACKAGES=/tmp/packages_start.txt 21:39:10 + END_PACKAGES=/tmp/packages_end.txt 21:39:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:39:10 + PACKAGES=/tmp/packages_start.txt 21:39:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:39:10 + PACKAGES=/tmp/packages_end.txt 21:39:10 + case "${OS_FAMILY}" in 21:39:10 + dpkg -l 21:39:10 + grep '^ii' 21:39:10 + '[' -f /tmp/packages_start.txt ']' 21:39:10 + '[' -f /tmp/packages_end.txt ']' 21:39:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:39:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:39:10 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:39:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:39:10 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 21:39:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:11 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 21:39:11 $ 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 21:39:11 $ docker top bd522150338e04873016a64a9733888285677ba962203f2989fd5c0615d979e7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:39:12 + mkdir -p /var/log/sysstat [Pipeline] sh 21:39:12 + ls /var/log/sa-host 21:39:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:12 provisioning config files... 21:39:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9013976436141789373tmp [Pipeline] { [Pipeline] echo 21:39:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:39:12 ---> create-netrc.sh [Pipeline] } 21:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:39:13 ---> python-tools-install.sh [Pipeline] echo 21:39:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:39:13 ---> sudo-logs.sh 21:39:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:39:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:39:13 ---> job-cost.sh 21:39:13 lf-activate-venv: SKIPPING 21:39:13 DEBUG: total: 0.2199999988079071 21:39:13 INFO: Retrieving Stack Cost... 21:39:14 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:14 INFO: Archiving Costs [Pipeline] echo 21:39:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:39:15 ---> logs-deploy.sh 21:39:15 lf-activate-venv: SKIPPING 21:39:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/138 21:39:15 INFO: archiving workspace using pattern(s): 21:39:15 Archives upload complete. 21:39:15 INFO: archiving logs to Nexus