Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7254ae82036954a30da847ceb4fb6fc335c14613 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-ssh11230572821711054184.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-ssh3101763134995013321.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-ssh16713685611194113896.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-ssh13816411382735979609.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-ssh11817529879355143295.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-8505 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7254ae82036954a30da847ceb4fb6fc335c14613 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#348)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-list --no-walk d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:49:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:49:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:49:15 ========================================================= 20:49:15 EdgeX Global Pipelines Version Info 20:49:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:49:16 ------------------- 20:49:16 stable info: 20:49:16 ------------------- 20:49:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:49:16 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:49:16 Message: update stable to v1.0.254 20:49:17 ------------------- 20:49:17 experimental info: 20:49:17 ------------------- 20:49:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:49:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:49:17 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7254ae8 [Pipeline] echo 20:49:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:17 provisioning config files... 20:49:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15157927130577269911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:18 ---> docker-login.sh 20:49:18 nexus3.edgexfoundry.org:10001 20:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:18 Configure a credential helper to remove this warning. See 20:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:18 20:49:18 Login Succeeded 20:49:18 nexus3.edgexfoundry.org:10002 20:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:18 Configure a credential helper to remove this warning. See 20:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:18 20:49:18 Login Succeeded 20:49:18 nexus3.edgexfoundry.org:10003 20:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:18 Configure a credential helper to remove this warning. See 20:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:18 20:49:18 Login Succeeded 20:49:18 nexus3.edgexfoundry.org:10004 20:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:18 Configure a credential helper to remove this warning. See 20:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:18 20:49:18 Login Succeeded 20:49:18 docker.io 20:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:19 Configure a credential helper to remove this warning. See 20:49:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:19 20:49:19 Login Succeeded 20:49:19 ---> docker-login.sh ends [Pipeline] } 20:49:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:49:19 + git rev-list -1 --merges 7254ae82036954a30da847ceb4fb6fc335c14613~1..7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo 20:49:19 -----------> git rev-list -1 --merges 7254ae82036954a30da847ceb4fb6fc335c14613~1..7254ae82036954a30da847ceb4fb6fc335c14613 7254ae82036954a30da847ceb4fb6fc335c14613 [false] [Pipeline] sh 20:49:19 + git log --format=format:%s -1 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo 20:49:19 ========================================================= 20:49:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:49:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:20 + git log --format=format:%s -1 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] echo 20:49:20 [semverPrep] GIT_COMMIT: 7254ae82036954a30da847ceb4fb6fc335c14613, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#348) [Pipeline] echo 20:49:20 [semverPrep] This is not a build commit. [Pipeline] sh 20:49:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:49:20 + grep -v github /etc/ssh/ssh_known_hosts 20:49:20 + [ -e /tmp/ssh_known_hosts ] 20:49:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:49:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:49:20 + sudo tee -a /etc/ssh/ssh_known_hosts 20:49:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:49:21 20:49:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:49:21 0.1.4: Pulling from edgex-devops/py-git-semver 20:49:21 b85a868b505f: Pulling fs layer 20:49:21 e2be974225ed: Pulling fs layer 20:49:21 339a4e72a1f5: Pulling fs layer 20:49:21 988bab9f4d93: Pulling fs layer 20:49:21 1469e6f7b9e6: Pulling fs layer 20:49:21 988bab9f4d93: Waiting 20:49:21 eaf3925da568: Pulling fs layer 20:49:21 1469e6f7b9e6: Waiting 20:49:21 bab4dde63d76: Pulling fs layer 20:49:21 eaf3925da568: Waiting 20:49:21 bde34c3a00c8: Pulling fs layer 20:49:21 b352a97aabf1: Pulling fs layer 20:49:21 4872d77fe225: Pulling fs layer 20:49:21 bde34c3a00c8: Waiting 20:49:21 5851b861e8e6: Pulling fs layer 20:49:21 b352a97aabf1: Waiting 20:49:21 e2be974225ed: Verifying Checksum 20:49:21 e2be974225ed: Download complete 20:49:21 988bab9f4d93: Download complete 20:49:21 1469e6f7b9e6: Verifying Checksum 20:49:21 1469e6f7b9e6: Download complete 20:49:21 339a4e72a1f5: Verifying Checksum 20:49:21 339a4e72a1f5: Download complete 20:49:21 eaf3925da568: Verifying Checksum 20:49:21 eaf3925da568: Download complete 20:49:21 bde34c3a00c8: Verifying Checksum 20:49:21 bde34c3a00c8: Download complete 20:49:21 b352a97aabf1: Download complete 20:49:21 4872d77fe225: Download complete 20:49:21 5851b861e8e6: Download complete 20:49:21 b85a868b505f: Verifying Checksum 20:49:21 b85a868b505f: Download complete 20:49:21 bab4dde63d76: Verifying Checksum 20:49:21 bab4dde63d76: Download complete 20:49:23 b85a868b505f: Pull complete 20:49:23 e2be974225ed: Pull complete 20:49:23 339a4e72a1f5: Pull complete 20:49:23 988bab9f4d93: Pull complete 20:49:24 1469e6f7b9e6: Pull complete 20:49:24 eaf3925da568: Pull complete 20:49:25 bab4dde63d76: Pull complete 20:49:25 bde34c3a00c8: Pull complete 20:49:25 b352a97aabf1: Pull complete 20:49:26 4872d77fe225: Pull complete 20:49:26 5851b861e8e6: Pull complete 20:49:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:49:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:26 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:49:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:49:28 $ docker top 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 -eo pid,comm 20:49:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:49:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:49:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:49:29 [ssh-agent] Looking for ssh-agent implementation... 20:49:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:49:29 $ docker exec 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent 20:49:29 SSH_AUTH_SOCK=/tmp/ssh-Xoe7YsQjU9HS/agent.33 20:49:29 SSH_AGENT_PID=39 20:49:29 Running ssh-add (command line suppressed) 20:49:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6613009071736499571.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6613009071736499571.key) 20:49:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:49:29 + git tag --points-at HEAD [Pipeline] } 20:49:29 $ docker exec --env ******** --env ******** 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent -k 20:49:29 unset SSH_AUTH_SOCK; 20:49:29 unset SSH_AGENT_PID; 20:49:29 echo Agent pid 39 killed; 20:49:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:49:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:49:29 [ssh-agent] Looking for ssh-agent implementation... 20:49:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:49:29 $ docker exec 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent 20:49:30 SSH_AUTH_SOCK=/tmp/ssh-8ehea6aJxCpT/agent.71 20:49:30 SSH_AGENT_PID=77 20:49:30 Running ssh-add (command line suppressed) 20:49:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1089727268535523959.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1089727268535523959.key) 20:49:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:49:30 + git semver init 20:49:30 2023-10-04 20:49:30,675 [run_init] DEBUG init version:0.0.0 force:False 20:49:30 2023-10-04 20:49:30,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:49:30 2023-10-04 20:49:30,677 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:49:30 2023-10-04 20:49:30,677 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:49:32 2023-10-04 20:49:31,931 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:49:32 2023-10-04 20:49:31,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:49:32 2023-10-04 20:49:31,932 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:49:32 2023-10-04 20:49:31,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:49:32 3.1.0-dev.20 [Pipeline] } 20:49:32 $ docker exec --env ******** --env ******** 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 ssh-agent -k 20:49:32 unset SSH_AUTH_SOCK; 20:49:32 unset SSH_AGENT_PID; 20:49:32 echo Agent pid 77 killed; 20:49:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:49:32 + git semver [Pipeline] } 20:49:32 $ docker stop --time=1 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 20:49:34 $ docker rm -f --volumes 1554c156b21fd96e181a729782794ecbf1f913db35d0eda6d2a383a0d6f88194 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:49:34 Stashed 1 file(s) [Pipeline] echo 20:49:34 [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:35 provisioning config files... 20:49:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7239411639164972339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:35 ---> docker-login.sh 20:49:35 nexus3.edgexfoundry.org:10001 20:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:35 Configure a credential helper to remove this warning. See 20:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:35 20:49:35 Login Succeeded 20:49:35 nexus3.edgexfoundry.org:10002 20:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:35 Configure a credential helper to remove this warning. See 20:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:35 20:49:35 Login Succeeded 20:49:35 nexus3.edgexfoundry.org:10003 20:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:35 Configure a credential helper to remove this warning. See 20:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:35 20:49:35 Login Succeeded 20:49:35 nexus3.edgexfoundry.org:10004 20:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:35 Configure a credential helper to remove this warning. See 20:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:35 20:49:35 Login Succeeded 20:49:35 docker.io 20:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:36 Configure a credential helper to remove this warning. See 20:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:36 20:49:36 Login Succeeded 20:49:36 ---> docker-login.sh ends [Pipeline] } 20:49:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:49:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:49:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:49:36 ========================================================= 20:49:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:49:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:49:36 Sending build context to Docker daemon 10.93MB 20:49:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:49:36 Step 2/12 : FROM ${BASE} AS builder 20:49:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:49:36 7264a8db6415: Pulling fs layer 20:49:36 c4d48a809fc2: Pulling fs layer 20:49:36 4f1c88b9dad5: Pulling fs layer 20:49:36 ad3a456e5733: Pulling fs layer 20:49:36 33e27b845d1e: Pulling fs layer 20:49:36 c68163c4e522: Pulling fs layer 20:49:36 50da416c3ac9: Pulling fs layer 20:49:36 23d2d4c4bb30: Pulling fs layer 20:49:36 c68163c4e522: Waiting 20:49:36 ad3a456e5733: Waiting 20:49:36 50da416c3ac9: Waiting 20:49:36 23d2d4c4bb30: Waiting 20:49:36 33e27b845d1e: Waiting 20:49:36 c4d48a809fc2: Verifying Checksum 20:49:36 c4d48a809fc2: Download complete 20:49:36 ad3a456e5733: Verifying Checksum 20:49:36 ad3a456e5733: Download complete 20:49:36 33e27b845d1e: Verifying Checksum 20:49:36 33e27b845d1e: Download complete 20:49:36 7264a8db6415: Verifying Checksum 20:49:36 7264a8db6415: Download complete 20:49:36 c68163c4e522: Verifying Checksum 20:49:36 c68163c4e522: Download complete 20:49:36 7264a8db6415: Pull complete 20:49:37 c4d48a809fc2: Pull complete 20:49:37 23d2d4c4bb30: Verifying Checksum 20:49:37 23d2d4c4bb30: Download complete 20:49:37 4f1c88b9dad5: Verifying Checksum 20:49:37 4f1c88b9dad5: Download complete 20:49:37 50da416c3ac9: Download complete 20:49:40 4f1c88b9dad5: Pull complete 20:49:40 ad3a456e5733: Pull complete 20:49:40 33e27b845d1e: Pull complete 20:49:40 c68163c4e522: Pull complete 20:49:42 50da416c3ac9: Pull complete 20:49:43 23d2d4c4bb30: Pull complete 20:49:43 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:49:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:49:43 ---> 0786185ac409 20:49:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:49:48 ---> Running in 53e91a13d684 20:49:48 Removing intermediate container 53e91a13d684 20:49:48 ---> 1c863a5d5838 20:49:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:48 ---> Running in 7cfd256f0cc4 20:49:48 Removing intermediate container 7cfd256f0cc4 20:49:48 ---> 52171b75cada 20:49:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:49:48 ---> Running in 7e0b62383b6e 20:49:48 Removing intermediate container 7e0b62383b6e 20:49:48 ---> 0b2208c795e2 20:49:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:49:48 ---> Running in 25acebd4b9db 20:49:48 Removing intermediate container 25acebd4b9db 20:49:48 ---> 47e1c85b2ee1 20:49:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:48 ---> Running in f1ff8e5e49d6 20:49:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:49:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:49:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:49:48 (2/4) Installing libedit (20221030.3.1-r1) 20:49:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:49:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:49:48 Executing busybox-1.36.1-r2.trigger 20:49:48 OK: 268 MiB in 56 packages 20:49:49 Removing intermediate container f1ff8e5e49d6 20:49:49 ---> 81be1e645e73 20:49:49 Step 8/12 : WORKDIR /device-rest-go 20:49:49 ---> Running in e07a61c7f2ac 20:49:49 Removing intermediate container e07a61c7f2ac 20:49:49 ---> 9a02b5b07a01 20:49:49 Step 9/12 : COPY go.mod vendor* ./ 20:49:49 ---> 5db9f67f12c4 20:49:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:49 ---> Running in 1070c4272104 20:49:49 Still waiting to schedule task 20:49:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:50:28 Removing intermediate container 1070c4272104 20:50:28 ---> 6002f110106d 20:50:28 Step 11/12 : COPY . . 20:50:28 ---> a402d51b8443 20:50:28 Step 12/12 : RUN $MAKE 20:50:28 ---> Running in 195ed594174f 20:50:28 noop 20:50:28 Removing intermediate container 195ed594174f 20:50:28 ---> 797b027ee9b6 20:50:28 Successfully built 797b027ee9b6 20:50:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:28 + docker inspect -f . ci-base-image-x86_64 20:50:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:28 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:50:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:50:28 $ docker top 158f5795a42fa41c472f812d808e06ec8c209ec7a339a9fccef232adc1f6f466 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:29 + go version 20:50:29 go version go1.21.0 linux/amd64 [Pipeline] } 20:50:29 $ docker stop --time=1 158f5795a42fa41c472f812d808e06ec8c209ec7a339a9fccef232adc1f6f466 20:50:30 $ docker rm -f --volumes 158f5795a42fa41c472f812d808e06ec8c209ec7a339a9fccef232adc1f6f466 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:30 + docker inspect -f . ci-base-image-x86_64 20:50:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:31 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:50:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:50:31 $ docker top 07ad0ccbc21f8a4ea5d94185e0d872c35f209c4d0197c897bbb9eccb6ac318d4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:50:32 + make test 20:50:32 go test ./... -coverprofile=coverage.out ./... 20:50:33 ? github.com/edgexfoundry/device-rest-go [no test files] 20:50:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:50:43 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 20:50:50 go vet ./... 20:50:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:50:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:50:53 ./bin/test-attribution-txt.sh [Pipeline] echo 20:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:50:53 $ docker stop --time=1 07ad0ccbc21f8a4ea5d94185e0d872c35f209c4d0197c897bbb9eccb6ac318d4 20:50:57 $ docker rm -f --volumes 07ad0ccbc21f8a4ea5d94185e0d872c35f209c4d0197c897bbb9eccb6ac318d4 [Pipeline] // withDockerContainer [Pipeline] sh 20:50:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:50:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:50:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:50:58 + ls -al . 20:50:58 total 188 20:50:58 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 20:50 . 20:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:49 .. 20:50:58 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:49 .dockerignore 20:50:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:50 .git 20:50:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:49 .github 20:50:58 -rw-rw-r-- 1 jenkins jenkins 329 Oct 4 20:49 .gitignore 20:50:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:49 .golangci.yml 20:50:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:49 .semver 20:50:58 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 4 20:49 Attribution.txt 20:50:58 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 4 20:49 CHANGELOG.md 20:50:58 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 20:49 Dockerfile 20:50:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:49 GOVERNANCE.md 20:50:58 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:49 Jenkinsfile 20:50:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:49 LICENSE 20:50:58 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 4 20:49 Makefile 20:50:58 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:49 OWNERS.md 20:50:58 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 4 20:49 README.md 20:50:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 20:49 VERSION 20:50:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:49 bin 20:50:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:49 cmd 20:50:58 -rw-r--r-- 1 jenkins jenkins 14499 Oct 4 20:50 coverage.out 20:50:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:49 driver 20:50:58 -rw-rw-r-- 1 jenkins jenkins 3890 Oct 4 20:49 go.mod 20:50:58 -rw-rw-r-- 1 jenkins jenkins 35623 Oct 4 20:49 go.sum 20:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:49 snap 20:50:58 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:58 + 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=7254ae82036954a30da847ceb4fb6fc335c14613 --label arch=amd64 --label version=3.1.0-dev.20 . 20:50:58 Sending build context to Docker daemon 10.95MB 20:50:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:50:58 Step 2/25 : FROM ${BASE} AS builder 20:50:58 ---> 797b027ee9b6 20:50:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:50:59 ---> Running in 629f34f6cf27 20:50:59 Removing intermediate container 629f34f6cf27 20:50:59 ---> a1606e59008d 20:50:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:50:59 ---> Running in 397b6ef3ea8b 20:50:59 Removing intermediate container 397b6ef3ea8b 20:50:59 ---> ed2b6c82a479 20:50:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:50:59 ---> Running in eb75c9c90e27 20:50:59 Removing intermediate container eb75c9c90e27 20:50:59 ---> b15efc0c4aed 20:50:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:50:59 ---> Running in 3369dcfdcfd4 20:50:59 Removing intermediate container 3369dcfdcfd4 20:50:59 ---> 230355e708d7 20:50:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:59 ---> Running in 1d2479f46a91 20:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:50:59 OK: 268 MiB in 56 packages 20:51:00 Removing intermediate container 1d2479f46a91 20:51:00 ---> 805e69ad57ed 20:51:00 Step 8/25 : WORKDIR /device-rest-go 20:51:00 ---> Running in acc76c524bf0 20:51:00 Removing intermediate container acc76c524bf0 20:51:00 ---> b4617d7c2135 20:51:00 Step 9/25 : COPY go.mod vendor* ./ 20:51:00 ---> ad1b5d356327 20:51:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:00 ---> Running in 6979f4039927 20:51:00 Removing intermediate container 6979f4039927 20:51:00 ---> ec255b9f22cf 20:51:00 Step 11/25 : COPY . . 20:51:01 ---> aaa9f2c05e9a 20:51:01 Step 12/25 : RUN $MAKE 20:51:01 ---> Running in ce8e2e143c6f 20:51:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:51:23 Removing intermediate container ce8e2e143c6f 20:51:23 ---> 6d76bf7d3c50 20:51:23 Step 13/25 : FROM alpine:3.18 20:51:23 3.18: Pulling from library/alpine 20:51:23 96526aa774ef: Pulling fs layer 20:51:23 96526aa774ef: Verifying Checksum 20:51:23 96526aa774ef: Download complete 20:51:23 96526aa774ef: Pull complete 20:51:23 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:51:23 Status: Downloaded newer image for alpine:3.18 20:51:23 ---> 8ca4688f4f35 20:51:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:51:23 ---> Running in 04a8f64d9337 20:51:23 Removing intermediate container 04a8f64d9337 20:51:23 ---> 79820f0a9c37 20:51:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:51:23 ---> Running in c48766baa2aa 20:51:23 Removing intermediate container c48766baa2aa 20:51:23 ---> 478db845c293 20:51:23 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:51:23 ---> Running in 4ebfbc7a647e 20:51:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:51:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:51:29 (1/1) Installing dumb-init (1.2.5-r2) 20:51:29 Executing busybox-1.36.1-r2.trigger 20:51:29 OK: 7 MiB in 16 packages 20:51:29 Removing intermediate container 4ebfbc7a647e 20:51:29 ---> f57563e9b09f 20:51:29 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:51:30 ---> 7e42b383d791 20:51:30 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:51:30 ---> e36cbce8e26b 20:51:30 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:51:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8506 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:51:30 Running in /w/workspace/device-rest-go/140 [Pipeline] { [Pipeline] checkout 20:51:30 The recommended git tool is: git 20:51:31 ---> 844b4a404773 20:51:31 Step 20/25 : EXPOSE 59986 20:51:31 ---> Running in 8422dfdfc972 20:51:31 Removing intermediate container 8422dfdfc972 20:51:31 ---> f22b9fa8a797 20:51:31 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:51:31 ---> Running in aac30ec2b1c9 20:51:31 Removing intermediate container aac30ec2b1c9 20:51:31 ---> 649a50fb87d8 20:51:31 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:51:31 ---> Running in e17ea1f100e2 20:51:31 Removing intermediate container e17ea1f100e2 20:51:31 ---> 3eb71501c40d 20:51:31 Step 23/25 : LABEL arch=amd64 20:51:31 ---> Running in cbce1eba209e 20:51:31 Removing intermediate container cbce1eba209e 20:51:31 ---> 6b8909fb0041 20:51:31 Step 24/25 : LABEL git_sha=7254ae82036954a30da847ceb4fb6fc335c14613 20:51:31 ---> Running in e9b68947329b 20:51:31 Removing intermediate container e9b68947329b 20:51:31 ---> 694704ac4d63 20:51:31 Step 25/25 : LABEL version=3.1.0-dev.20 20:51:31 ---> Running in 4974f6e9b7e5 20:51:31 Removing intermediate container 4974f6e9b7e5 20:51:31 ---> 1f05cc4069a3 20:51:31 [Warning] One or more build-args [ARCH] were not consumed 20:51:31 Successfully built 1f05cc4069a3 20:51:31 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:31 provisioning config files... 20:51:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1246927044659910112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:32 ---> docker-login.sh 20:51:32 nexus3.edgexfoundry.org:10001 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 nexus3.edgexfoundry.org:10002 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 nexus3.edgexfoundry.org:10003 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 nexus3.edgexfoundry.org:10004 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 docker.io 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 ---> docker-login.sh ends [Pipeline] } 20:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:32 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:51:32 7254ae82036954a30da847ceb4fb6fc335c14613 20:51:32 latest 20:51:32 3.1.0-dev.20 20:51:32 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 20:51:32 main 20:51:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613 20:51:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:51:33 2ddbf642c0b6: Preparing 20:51:33 2ecb2e6cc757: Preparing 20:51:33 ef77ba346a69: Preparing 20:51:33 3fe50cc8b119: Preparing 20:51:33 cc2447e1835a: Preparing 20:51:33 cc2447e1835a: Layer already exists 20:51:33 2ddbf642c0b6: Pushed 20:51:33 2ecb2e6cc757: Pushed 20:51:33 3fe50cc8b119: Pushed 20:51:35 ef77ba346a69: Pushed 20:51:35 7254ae82036954a30da847ceb4fb6fc335c14613: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 using credential edgex-jenkins-ssh 20:51:36 Cloning the remote Git repository 20:51:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:51:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:51:36 2ddbf642c0b6: Preparing 20:51:36 2ecb2e6cc757: Preparing 20:51:36 ef77ba346a69: Preparing 20:51:36 3fe50cc8b119: Preparing 20:51:36 cc2447e1835a: Preparing 20:51:36 cc2447e1835a: Layer already exists 20:51:36 ef77ba346a69: Layer already exists 20:51:36 3fe50cc8b119: Layer already exists 20:51:36 2ddbf642c0b6: Layer already exists 20:51:36 2ecb2e6cc757: Layer already exists 20:51:36 latest: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.20 20:51:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:51:37 2ddbf642c0b6: Preparing 20:51:37 2ecb2e6cc757: Preparing 20:51:37 ef77ba346a69: Preparing 20:51:37 3fe50cc8b119: Preparing 20:51:37 cc2447e1835a: Preparing 20:51:37 cc2447e1835a: Layer already exists 20:51:37 3fe50cc8b119: Layer already exists 20:51:37 2ecb2e6cc757: Layer already exists 20:51:37 2ddbf642c0b6: Layer already exists 20:51:37 ef77ba346a69: Layer already exists 20:51:37 3.1.0-dev.20: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:51:36 > git init /w/workspace/device-rest-go/140 # timeout=10 20:51:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:51:36 > git --version # timeout=10 20:51:36 > git --version # 'git version 2.25.1' 20:51:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 20:51:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:51:37 2ddbf642c0b6: Preparing 20:51:37 2ecb2e6cc757: Preparing 20:51:37 ef77ba346a69: Preparing 20:51:37 3fe50cc8b119: Preparing 20:51:37 cc2447e1835a: Preparing 20:51:37 2ddbf642c0b6: Layer already exists 20:51:37 cc2447e1835a: Layer already exists 20:51:37 3fe50cc8b119: Layer already exists 20:51:37 2ecb2e6cc757: Layer already exists 20:51:37 ef77ba346a69: Layer already exists 20:51:37 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:51:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:51:38 2ddbf642c0b6: Preparing 20:51:38 2ecb2e6cc757: Preparing 20:51:38 ef77ba346a69: Preparing 20:51:38 3fe50cc8b119: Preparing 20:51:38 cc2447e1835a: Preparing 20:51:38 cc2447e1835a: Layer already exists 20:51:38 ef77ba346a69: Layer already exists 20:51:38 2ddbf642c0b6: Layer already exists 20:51:38 3fe50cc8b119: Layer already exists 20:51:38 2ecb2e6cc757: Layer already exists 20:51:38 main: digest: sha256:acaac267ca582434a2f28e23bb54ae3c9649eb9ab7d0449d5c51bba659e9c30f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:38 ===================================================== [Pipeline] echo 20:51:38 taggedImages: 20:51:38 - nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613 20:51:38 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:51:38 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.20 20:51:38 - nexus3.edgexfoundry.org:10004/device-rest:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 20:51:38 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:51:38 20:51:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:51:39 latest: Pulling from edgex-lftools-log-publisher 20:51:39 5eb5b503b376: Pulling fs layer 20:51:39 5c69ac0246d0: Pulling fs layer 20:51:39 ec43610c2a17: Pulling fs layer 20:51:39 3a2ae6a8a46f: Pulling fs layer 20:51:39 33b1e0a273af: Pulling fs layer 20:51:39 3a2ae6a8a46f: Waiting 20:51:39 5d3b04190fa2: Pulling fs layer 20:51:39 2f39f015ded8: Pulling fs layer 20:51:39 33b1e0a273af: Waiting 20:51:39 2f39f015ded8: Waiting 20:51:39 5c69ac0246d0: Download complete 20:51:39 3a2ae6a8a46f: Verifying Checksum 20:51:39 3a2ae6a8a46f: Download complete 20:51:39 33b1e0a273af: Verifying Checksum 20:51:39 33b1e0a273af: Download complete 20:51:39 5d3b04190fa2: Verifying Checksum 20:51:39 5d3b04190fa2: Download complete 20:51:39 ec43610c2a17: Download complete 20:51:39 5eb5b503b376: Verifying Checksum 20:51:39 5eb5b503b376: Download complete 20:51:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:51:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:39 2f39f015ded8: Verifying Checksum 20:51:39 2f39f015ded8: Download complete 20:51:40 5eb5b503b376: Pull complete 20:51:40 5c69ac0246d0: Pull complete 20:51:40 Avoid second fetch 20:51:40 Checking out Revision 7254ae82036954a30da847ceb4fb6fc335c14613 (main) 20:51:40 ec43610c2a17: Pull complete 20:51:40 3a2ae6a8a46f: Pull complete 20:51:41 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#348)" 20:51:40 > git config core.sparsecheckout # timeout=10 20:51:40 > git checkout -f 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 20:51:41 33b1e0a273af: Pull complete 20:51:41 5d3b04190fa2: Pull complete 20:51:41 20:51:41 GitHub has been notified of this commit’s build result 20:51:41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:51:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:41 Dload Upload Total Spent Left Speed 20:51:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 57436 0 --:--:-- --:--:-- --:--:-- 57696 [Pipeline] sh 20:51:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:51:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:51:42 + sudo tee /etc/docker/daemon.new 20:51:42 { 20:51:42 "registry-mirrors": [ 20:51:42 "https://nexus3.edgexfoundry.org:10001" 20:51:42 ], 20:51:42 "bip": "10.250.0.254/24", 20:51:42 "hosts": [ 20:51:42 "tcp://0.0.0.0:5555", 20:51:42 "unix:///var/run/docker.sock" 20:51:42 ], 20:51:42 "mtu": 1458, 20:51:42 "selinux-enabled": true, 20:51:42 "seccomp-profile": "/etc/docker/seccomp.json" 20:51:42 } [Pipeline] sh 20:51:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:51:43 + sudo service docker restart 20:51:45 2f39f015ded8: Pull complete 20:51:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:51:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:51:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:46 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:51:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:51:52 $ docker top e1648467d3168f7ae089701e94c6db87c3fc17cba6d8630c0eadd69e027449b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:52 ---> job-cost.sh 20:51:52 lf-activate-venv: SKIPPING 20:51:52 INFO: No Stack... 20:51:52 INFO: Retrieving Pricing Info for: v3-standard-8 20:51:53 INFO: Archiving Costs [Pipeline] sh 20:51:53 + cut -d, -f6 20:51:53 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 20:51:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] 20:51:53 Resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] did not exist. Created. 20:51:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:51:54 Stashed 1 file(s) [Pipeline] } 20:51:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 20:51:54 $ docker stop --time=1 e1648467d3168f7ae089701e94c6db87c3fc17cba6d8630c0eadd69e027449b2 20:51:55 $ docker rm -f --volumes e1648467d3168f7ae089701e94c6db87c3fc17cba6d8630c0eadd69e027449b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:01 provisioning config files... 20:52:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/140@tmp/config1698454982219456533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> docker-login.sh 20:52:02 nexus3.edgexfoundry.org:10001 20:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:02 Configure a credential helper to remove this warning. See 20:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:02 20:52:02 Login Succeeded 20:52:02 nexus3.edgexfoundry.org:10002 20:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:02 Configure a credential helper to remove this warning. See 20:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:02 20:52:02 Login Succeeded 20:52:02 nexus3.edgexfoundry.org:10003 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:03 Configure a credential helper to remove this warning. See 20:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:03 20:52:03 Login Succeeded 20:52:03 nexus3.edgexfoundry.org:10004 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:03 Configure a credential helper to remove this warning. See 20:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:03 20:52:03 Login Succeeded 20:52:03 docker.io 20:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:04 Configure a credential helper to remove this warning. See 20:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:04 20:52:04 Login Succeeded 20:52:04 ---> docker-login.sh ends [Pipeline] } 20:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:04 ========================================================= 20:52:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:52:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:52:04 Sending build context to Docker daemon 144.4kB 20:52:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:52:05 Step 2/12 : FROM ${BASE} AS builder 20:52:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:52:08 9fda8d8052c6: Pulling fs layer 20:52:08 5d54e960e981: Pulling fs layer 20:52:08 c4a7e357bf2a: Pulling fs layer 20:52:08 f0e02332f6b5: Pulling fs layer 20:52:08 cefa15bbcfad: Pulling fs layer 20:52:08 17808c966233: Pulling fs layer 20:52:08 f4c1fc716caa: Pulling fs layer 20:52:08 f0e02332f6b5: Waiting 20:52:08 cefa15bbcfad: Waiting 20:52:08 f4c1fc716caa: Waiting 20:52:08 17808c966233: Waiting 20:52:08 5d54e960e981: Verifying Checksum 20:52:08 f0e02332f6b5: Verifying Checksum 20:52:08 f0e02332f6b5: Download complete 20:52:08 cefa15bbcfad: Verifying Checksum 20:52:08 cefa15bbcfad: Download complete 20:52:08 9fda8d8052c6: Download complete 20:52:08 f4c1fc716caa: Verifying Checksum 20:52:08 f4c1fc716caa: Download complete 20:52:09 9fda8d8052c6: Pull complete 20:52:09 5d54e960e981: Pull complete 20:52:09 c4a7e357bf2a: Download complete 20:52:10 17808c966233: Verifying Checksum 20:52:10 17808c966233: Download complete 20:52:23 c4a7e357bf2a: Pull complete 20:52:23 f0e02332f6b5: Pull complete 20:52:23 cefa15bbcfad: Pull complete 20:52:28 17808c966233: Pull complete 20:52:30 f4c1fc716caa: Pull complete 20:52:30 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:52:30 ---> ea914061e18c 20:52:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:52:32 ---> Running in 7dc9752e30d8 20:52:32 Removing intermediate container 7dc9752e30d8 20:52:32 ---> 5eace7a69b0b 20:52:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:32 ---> Running in a788857abd7e 20:52:32 Removing intermediate container a788857abd7e 20:52:32 ---> 46ece318ac79 20:52:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:52:32 ---> Running in 545783d65012 20:52:32 Removing intermediate container 545783d65012 20:52:32 ---> da2e9db0dfc6 20:52:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:52:32 ---> Running in 695b42009093 20:52:33 Removing intermediate container 695b42009093 20:52:33 ---> b1cbaf5f4ded 20:52:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:33 ---> Running in 55ed30d78d63 20:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:52:35 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:52:35 (2/4) Installing libedit (20221030.3.1-r1) 20:52:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:52:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:52:35 Executing busybox-1.36.1-r2.trigger 20:52:35 OK: 270 MiB in 56 packages 20:52:36 Removing intermediate container 55ed30d78d63 20:52:36 ---> 13f50376d695 20:52:36 Step 8/12 : WORKDIR /device-rest-go 20:52:36 ---> Running in ee47ee419148 20:52:37 Removing intermediate container ee47ee419148 20:52:37 ---> 11aded6ca3a0 20:52:37 Step 9/12 : COPY go.mod vendor* ./ 20:52:37 ---> 22da51019137 20:52:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:37 ---> Running in ee072c51abf4 20:53:45 Removing intermediate container ee072c51abf4 20:53:45 ---> b58aeda31089 20:53:45 Step 11/12 : COPY . . 20:53:45 ---> cd1b8e492752 20:53:45 Step 12/12 : RUN $MAKE 20:53:45 ---> Running in b6ae6cbefa2c 20:53:46 noop 20:53:46 Removing intermediate container b6ae6cbefa2c 20:53:46 ---> b0444270a9cb 20:53:46 Successfully built b0444270a9cb 20:53:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:47 + docker inspect -f . ci-base-image-arm64 20:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:47 prd-ubuntu20.04-docker-arm64-4c-16g-8506 does not seem to be running inside a container 20:53:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/140 -v /w/workspace/device-rest-go/140:/w/workspace/device-rest-go/140:rw,z -v /w/workspace/device-rest-go/140@tmp:/w/workspace/device-rest-go/140@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-arm64 cat 20:53:48 $ docker top 2c62acc4c6b0015f46aa0ca3899bfe17b4f297d0c6b031876f979a86a36962a0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:49 + go version 20:53:49 go version go1.21.0 linux/arm64 [Pipeline] } 20:53:49 $ docker stop --time=1 2c62acc4c6b0015f46aa0ca3899bfe17b4f297d0c6b031876f979a86a36962a0 20:53:50 $ docker rm -f --volumes 2c62acc4c6b0015f46aa0ca3899bfe17b4f297d0c6b031876f979a86a36962a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:51 + docker inspect -f . ci-base-image-arm64 20:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:51 prd-ubuntu20.04-docker-arm64-4c-16g-8506 does not seem to be running inside a container 20:53:51 $ 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/140 -v /w/workspace/device-rest-go/140:/w/workspace/device-rest-go/140:rw,z -v /w/workspace/device-rest-go/140@tmp:/w/workspace/device-rest-go/140@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-arm64 cat 20:53:52 $ docker top fcfb2692aaf67d9ba958e749ca1e26d60be7800940295c6ef4fcca60ac463bd0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:53 + git config --global --add safe.directory /w/workspace/device-rest-go/140 [Pipeline] fileExists [Pipeline] sh 20:53:53 + make test 20:53:53 go test ./... -coverprofile=coverage.out ./... 20:54:00 ? github.com/edgexfoundry/device-rest-go [no test files] 20:55:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:55:24 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements 20:55:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:55:24 go vet ./... 20:55:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:55:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:55:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:55:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:55:46 $ docker stop --time=1 fcfb2692aaf67d9ba958e749ca1e26d60be7800940295c6ef4fcca60ac463bd0 20:55:48 $ docker rm -f --volumes fcfb2692aaf67d9ba958e749ca1e26d60be7800940295c6ef4fcca60ac463bd0 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:49 Warning: overwriting stash ‘coverage-report’ 20:55:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:50 + ls -al . 20:55:50 total 184 20:55:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:53 . 20:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:51 .. 20:55:50 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:51 .dockerignore 20:55:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:51 .git 20:55:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:51 .github 20:55:50 -rw-rw-r-- 1 jenkins jenkins 329 Oct 4 20:51 .gitignore 20:55:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:51 .golangci.yml 20:55:50 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 4 20:51 Attribution.txt 20:55:50 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 4 20:51 CHANGELOG.md 20:55:50 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 20:51 Dockerfile 20:55:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:51 GOVERNANCE.md 20:55:50 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:51 Jenkinsfile 20:55:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:51 LICENSE 20:55:50 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 4 20:51 Makefile 20:55:50 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:51 OWNERS.md 20:55:50 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 4 20:51 README.md 20:55:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 20:49 VERSION 20:55:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:51 bin 20:55:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:51 cmd 20:55:50 -rw-r--r-- 1 jenkins jenkins 14499 Oct 4 20:55 coverage.out 20:55:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:51 driver 20:55:50 -rw-rw-r-- 1 jenkins jenkins 3890 Oct 4 20:51 go.mod 20:55:50 -rw-rw-r-- 1 jenkins jenkins 35623 Oct 4 20:51 go.sum 20:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:51 snap 20:55:50 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:51 + 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=7254ae82036954a30da847ceb4fb6fc335c14613 --label arch=arm64 --label version=3.1.0-dev.20 . 20:55:51 Sending build context to Docker daemon 159.7kB 20:55:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:55:51 Step 2/25 : FROM ${BASE} AS builder 20:55:51 ---> b0444270a9cb 20:55:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:55:51 ---> Running in fb6995f639bf 20:55:52 Removing intermediate container fb6995f639bf 20:55:52 ---> 39b08d5cd1ae 20:55:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:52 ---> Running in 4b0d31e8f5e3 20:55:52 Removing intermediate container 4b0d31e8f5e3 20:55:52 ---> a6cd8959103f 20:55:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:55:52 ---> Running in 362fe1d971b1 20:55:52 Removing intermediate container 362fe1d971b1 20:55:52 ---> dfd63c2d1abe 20:55:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:55:52 ---> Running in 24fe0fd24296 20:55:52 Removing intermediate container 24fe0fd24296 20:55:52 ---> 49f564fe3473 20:55:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:52 ---> Running in d8a49e41f214 20:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:55:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:55:55 OK: 270 MiB in 56 packages 20:55:56 Removing intermediate container d8a49e41f214 20:55:56 ---> 165920856d21 20:55:56 Step 8/25 : WORKDIR /device-rest-go 20:55:56 ---> Running in d3b2eef786c3 20:55:57 Removing intermediate container d3b2eef786c3 20:55:57 ---> 4603bd994647 20:55:57 Step 9/25 : COPY go.mod vendor* ./ 20:55:57 ---> a2d22ed4062f 20:55:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:57 ---> Running in a4b5b7b68f19 20:56:01 Removing intermediate container a4b5b7b68f19 20:56:01 ---> 4b7cf676da17 20:56:01 Step 11/25 : COPY . . 20:56:01 ---> b153b25da8dd 20:56:01 Step 12/25 : RUN $MAKE 20:56:01 ---> Running in 20ede5156975 20:56:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:58:09 Removing intermediate container 20ede5156975 20:58:09 ---> ab4d24710ee5 20:58:09 Step 13/25 : FROM alpine:3.18 20:58:09 3.18: Pulling from library/alpine 20:58:09 579b34f0a95b: Pulling fs layer 20:58:09 579b34f0a95b: Verifying Checksum 20:58:09 579b34f0a95b: Download complete 20:58:09 579b34f0a95b: Pull complete 20:58:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:58:09 Status: Downloaded newer image for alpine:3.18 20:58:09 ---> 3cc203321400 20:58:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:58:09 ---> Running in e5a59f9cd445 20:58:09 Removing intermediate container e5a59f9cd445 20:58:09 ---> 601e2e5e2c5b 20:58:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:58:09 ---> Running in c4677a5bb3e7 20:58:09 Removing intermediate container c4677a5bb3e7 20:58:09 ---> f0ac2d3bc42a 20:58:09 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:58:09 ---> Running in bee9cf26d9c8 20:58:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:58:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:58:09 (1/1) Installing dumb-init (1.2.5-r2) 20:58:09 Executing busybox-1.36.1-r2.trigger 20:58:09 OK: 8 MiB in 16 packages 20:58:09 Removing intermediate container bee9cf26d9c8 20:58:09 ---> 2556199279f1 20:58:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:58:09 ---> 21581fadb1dd 20:58:09 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:58:09 ---> cb8ca419a5b1 20:58:09 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:58:09 ---> 2f1af1bae508 20:58:09 Step 20/25 : EXPOSE 59986 20:58:09 ---> Running in cea251943303 20:58:09 Removing intermediate container cea251943303 20:58:09 ---> aabed7fc4caf 20:58:09 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:58:09 ---> Running in 95e12f481a61 20:58:10 Removing intermediate container 95e12f481a61 20:58:10 ---> e408b6b42451 20:58:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:58:10 ---> Running in c6e37139186d 20:58:10 Removing intermediate container c6e37139186d 20:58:10 ---> 926ada640025 20:58:10 Step 23/25 : LABEL arch=arm64 20:58:11 ---> Running in 27da296ed516 20:58:12 Removing intermediate container 27da296ed516 20:58:12 ---> a21a43deeba3 20:58:12 Step 24/25 : LABEL git_sha=7254ae82036954a30da847ceb4fb6fc335c14613 20:58:12 ---> Running in dc262c9a6331 20:58:12 Removing intermediate container dc262c9a6331 20:58:12 ---> e9365bfecb22 20:58:12 Step 25/25 : LABEL version=3.1.0-dev.20 20:58:12 ---> Running in 7481bb9a88ac 20:58:13 Removing intermediate container 7481bb9a88ac 20:58:13 ---> e930cb4aa770 20:58:13 [Warning] One or more build-args [ARCH] were not consumed 20:58:13 Successfully built e930cb4aa770 20:58:13 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:13 provisioning config files... 20:58:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/140@tmp/config9530079878612132331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:13 ---> docker-login.sh 20:58:13 nexus3.edgexfoundry.org:10001 20:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:13 Configure a credential helper to remove this warning. See 20:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:13 20:58:13 Login Succeeded 20:58:13 nexus3.edgexfoundry.org:10002 20:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:14 Configure a credential helper to remove this warning. See 20:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:14 20:58:14 Login Succeeded 20:58:14 nexus3.edgexfoundry.org:10003 20:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:14 Configure a credential helper to remove this warning. See 20:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:14 20:58:14 Login Succeeded 20:58:14 nexus3.edgexfoundry.org:10004 20:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 docker.io 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 ---> docker-login.sh ends [Pipeline] } 20:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:15 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:58:15 7254ae82036954a30da847ceb4fb6fc335c14613 20:58:15 latest 20:58:15 3.1.0-dev.20 20:58:15 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 20:58:15 main 20:58:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613 20:58:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:58:16 4415b70f5229: Preparing 20:58:16 aff4d75aaa1f: Preparing 20:58:16 e350d30381d1: Preparing 20:58:16 9d9a29cb7af6: Preparing 20:58:16 5f4d9fc4d98d: Preparing 20:58:16 5f4d9fc4d98d: Layer already exists 20:58:16 4415b70f5229: Pushed 20:58:16 aff4d75aaa1f: Pushed 20:58:16 9d9a29cb7af6: Pushed 20:58:21 e350d30381d1: Pushed 20:58:22 7254ae82036954a30da847ceb4fb6fc335c14613: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:58:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:58:22 4415b70f5229: Preparing 20:58:22 aff4d75aaa1f: Preparing 20:58:22 e350d30381d1: Preparing 20:58:22 9d9a29cb7af6: Preparing 20:58:22 5f4d9fc4d98d: Preparing 20:58:22 e350d30381d1: Layer already exists 20:58:22 9d9a29cb7af6: Layer already exists 20:58:22 4415b70f5229: Layer already exists 20:58:22 aff4d75aaa1f: Layer already exists 20:58:22 5f4d9fc4d98d: Layer already exists 20:58:22 latest: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.20 20:58:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:58:25 4415b70f5229: Preparing 20:58:25 aff4d75aaa1f: Preparing 20:58:25 e350d30381d1: Preparing 20:58:25 9d9a29cb7af6: Preparing 20:58:25 5f4d9fc4d98d: Preparing 20:58:25 9d9a29cb7af6: Layer already exists 20:58:25 e350d30381d1: Layer already exists 20:58:25 4415b70f5229: Layer already exists 20:58:25 aff4d75aaa1f: Layer already exists 20:58:25 5f4d9fc4d98d: Layer already exists 20:58:25 3.1.0-dev.20: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 20:58:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:58:26 4415b70f5229: Preparing 20:58:26 aff4d75aaa1f: Preparing 20:58:26 e350d30381d1: Preparing 20:58:26 9d9a29cb7af6: Preparing 20:58:26 5f4d9fc4d98d: Preparing 20:58:26 e350d30381d1: Layer already exists 20:58:26 5f4d9fc4d98d: Layer already exists 20:58:26 aff4d75aaa1f: Layer already exists 20:58:26 9d9a29cb7af6: Layer already exists 20:58:26 4415b70f5229: Layer already exists 20:58:26 7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:58:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:58:27 4415b70f5229: Preparing 20:58:27 aff4d75aaa1f: Preparing 20:58:27 e350d30381d1: Preparing 20:58:27 9d9a29cb7af6: Preparing 20:58:27 5f4d9fc4d98d: Preparing 20:58:27 aff4d75aaa1f: Layer already exists 20:58:27 5f4d9fc4d98d: Layer already exists 20:58:27 e350d30381d1: Layer already exists 20:58:27 4415b70f5229: Layer already exists 20:58:27 9d9a29cb7af6: Layer already exists 20:58:27 main: digest: sha256:7c5c8b5ad5d56fab010f22951e296d70f3b34159959ffec05062f7e4c7ec0114 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:27 ===================================================== [Pipeline] echo 20:58:27 taggedImages: 20:58:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613 20:58:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:58:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.20 20:58:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7254ae82036954a30da847ceb4fb6fc335c14613-3.1.0-dev.20 20:58:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:28 20:58:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:28 arm64: Pulling from edgex-lftools-log-publisher 20:58:28 8998bd30e6a1: Pulling fs layer 20:58:28 04944245beec: Pulling fs layer 20:58:28 699f458cf7ca: Pulling fs layer 20:58:28 765212b225bb: Pulling fs layer 20:58:28 f23df028b6ca: Pulling fs layer 20:58:28 d65c8cfc05b1: Pulling fs layer 20:58:28 2437ff75d9bd: Pulling fs layer 20:58:28 765212b225bb: Waiting 20:58:28 d65c8cfc05b1: Waiting 20:58:28 f23df028b6ca: Waiting 20:58:28 2437ff75d9bd: Waiting 20:58:28 04944245beec: Verifying Checksum 20:58:28 04944245beec: Download complete 20:58:28 765212b225bb: Verifying Checksum 20:58:28 765212b225bb: Download complete 20:58:28 f23df028b6ca: Download complete 20:58:28 d65c8cfc05b1: Verifying Checksum 20:58:28 d65c8cfc05b1: Download complete 20:58:28 699f458cf7ca: Verifying Checksum 20:58:28 699f458cf7ca: Download complete 20:58:29 8998bd30e6a1: Verifying Checksum 20:58:29 8998bd30e6a1: Download complete 20:58:31 2437ff75d9bd: Verifying Checksum 20:58:31 2437ff75d9bd: Download complete 20:58:33 8998bd30e6a1: Pull complete 20:58:33 04944245beec: Pull complete 20:58:34 699f458cf7ca: Pull complete 20:58:34 765212b225bb: Pull complete 20:58:35 f23df028b6ca: Pull complete 20:58:38 d65c8cfc05b1: Pull complete 20:58:53 2437ff75d9bd: Pull complete 20:58:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:58:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:53 prd-ubuntu20.04-docker-arm64-4c-16g-8506 does not seem to be running inside a container 20:58:53 $ 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/140 -v /w/workspace/device-rest-go/140:/w/workspace/device-rest-go/140:rw,z -v /w/workspace/device-rest-go/140@tmp:/w/workspace/device-rest-go/140@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:arm64 cat 20:58:55 $ docker top 5ffb3602aa99adb4f4c2226db7b6aeeb00517f10da610d533d1c19b1fc25d22f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:56 ---> job-cost.sh 20:58:56 lf-activate-venv: SKIPPING 20:58:56 INFO: No Stack... 20:58:56 INFO: Retrieving Pricing Info for: v3-standard-4 20:58:57 INFO: Archiving Costs [Pipeline] sh 20:58:58 + cat /w/workspace/device-rest-go/140/archives/cost.csv 20:58:58 + cut -d, -f6 [Pipeline] lock 20:58:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] 20:58:58 Resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] did not exist. Created. 20:58:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:58 /w/workspace/device-rest-go/140@tmp/durable-b605457d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:58:59 + echo total: 0.10999999940395355 [Pipeline] stash 20:58:59 Warning: overwriting stash ‘stack-cost’ 20:58:59 Stashed 1 file(s) [Pipeline] } 20:58:59 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:59 $ docker stop --time=1 5ffb3602aa99adb4f4c2226db7b6aeeb00517f10da610d533d1c19b1fc25d22f 20:59:00 $ docker rm -f --volumes 5ffb3602aa99adb4f4c2226db7b6aeeb00517f10da610d533d1c19b1fc25d22f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:59:01 provisioning config files... 20:59:01 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14264672507936520503tmp [Pipeline] { [Pipeline] sh 20:59:01 + set +x 20:59:01 + curl -s https://codecov.io/bash 20:59:01 + bash -s -- 20:59:01 20:59:01 _____ _ 20:59:01 / ____| | | 20:59:01 | | ___ __| | ___ ___ _____ __ 20:59:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:59:01 | |___| (_) | (_| | __/ (_| (_) \ V / 20:59:01 \_____\___/ \__,_|\___|\___\___/ \_/ 20:59:01 Bash-1.0.6 20:59:01 20:59:01 20:59:01 ==> git version 2.25.1 found 20:59:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:59:01 Release-Date: 2020-01-08 20:59:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:59:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:59:01 ==> Jenkins CI detected. 20:59:01 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:59:01 project root: . 20:59:01 --> token set from env 20:59:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:59:01 ==> Running gcov in . (disable via -X gcov) 20:59:01 ==> Python coveragepy not found 20:59:01 ==> Searching for coverage reports in: 20:59:01 + . 20:59:01 -> Found 1 reports 20:59:01 ==> Detecting git/mercurial file structure 20:59:01 ==> Reading reports 20:59:01 + ./coverage.out bytes=14499 20:59:01 ==> Appending adjustments 20:59:01 https://docs.codecov.io/docs/fixing-reports 20:59:01 + Found adjustments 20:59:01 ==> Gzipping contents 20:59:01 4.0K /tmp/codecov.CyWP5d.gz 20:59:01 ==> Uploading reports 20:59:01 url: https://codecov.io 20:59:01 query: branch=main&commit=7254ae82036954a30da847ceb4fb6fc335c14613&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:59:01 -> Pinging Codecov 20:59:01 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=7254ae82036954a30da847ceb4fb6fc335c14613&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:59:01 -> Uploading to 20:59:01 https://storage.googleapis.com/codecov/v4/raw/2023-10-04/4E5D53B4F1F92C436F7061BF334D961C/7254ae82036954a30da847ceb4fb6fc335c14613/a8606b8c-ef39-4189-bd16-b917df938118.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T205901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50546e3fe624df657c0e4567942a4b993b31e1ccf7b2ad002c2862d3915d2040 20:59:01 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:01 Dload Upload Total Spent Left Speed 20:59:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9000 --:--:-- --:--:-- --:--:-- 9032 20:59:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] } 20:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:59:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:59:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:59:02 20:59:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:59:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:59:03 df9b9388f04a: Pulling fs layer 20:59:03 52dc419b0ee2: Pulling fs layer 20:59:03 25bc292e5bac: Pulling fs layer 20:59:03 114826534d7a: Pulling fs layer 20:59:03 4657fd5d0bcf: Pulling fs layer 20:59:03 6ad1cebc031e: Pulling fs layer 20:59:03 8a3aa393b2d8: Pulling fs layer 20:59:03 4657fd5d0bcf: Waiting 20:59:03 114826534d7a: Waiting 20:59:03 8a3aa393b2d8: Waiting 20:59:03 25bc292e5bac: Verifying Checksum 20:59:03 25bc292e5bac: Download complete 20:59:03 52dc419b0ee2: Verifying Checksum 20:59:03 52dc419b0ee2: Download complete 20:59:03 4657fd5d0bcf: Download complete 20:59:03 df9b9388f04a: Verifying Checksum 20:59:03 df9b9388f04a: Download complete 20:59:03 6ad1cebc031e: Verifying Checksum 20:59:03 6ad1cebc031e: Download complete 20:59:03 df9b9388f04a: Pull complete 20:59:03 52dc419b0ee2: Pull complete 20:59:03 25bc292e5bac: Pull complete 20:59:03 114826534d7a: Verifying Checksum 20:59:03 114826534d7a: Download complete 20:59:03 8a3aa393b2d8: Verifying Checksum 20:59:03 8a3aa393b2d8: Download complete 20:59:07 114826534d7a: Pull complete 20:59:07 4657fd5d0bcf: Pull complete 20:59:07 6ad1cebc031e: Pull complete 20:59:09 8a3aa393b2d8: Pull complete 20:59:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:59:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:09 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:59:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:59:14 $ docker top 74896b71d7ec94b563cfa6e017ad81cbb5cdc858f18221057c3396569229cf95 -eo pid,comm [Pipeline] { [Pipeline] echo 20:59:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:59:15 + set -o pipefail 20:59:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:59:20 20:59:20 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:59:20 20:59:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/bfb92674-c437-4db0-8068-38f47c5d02ef 20:59:20 20:59:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:59:20 20:59:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:59:20 20:59:20 20:59:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:59:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:59:20 More details here: https://snyk.co/ue1NS 20:59:20 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 20:59:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:59:20 $ docker stop --time=1 74896b71d7ec94b563cfa6e017ad81cbb5cdc858f18221057c3396569229cf95 20:59:24 $ docker rm -f --volumes 74896b71d7ec94b563cfa6e017ad81cbb5cdc858f18221057c3396569229cf95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:25 + git log --format=format:%s -1 7254ae82036954a30da847ceb4fb6fc335c14613 [Pipeline] sh 20:59:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:26 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:59:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:26 $ docker top da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 -eo pid,comm 20:59:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:26 [ssh-agent] Looking for ssh-agent implementation... 20:59:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:26 $ docker exec da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 ssh-agent 20:59:26 SSH_AUTH_SOCK=/tmp/ssh-RTTkpaZH7nIM/agent.34 20:59:26 SSH_AGENT_PID=40 20:59:26 Running ssh-add (command line suppressed) 20:59:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5037780068839207855.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5037780068839207855.key) 20:59:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:27 + git semver tag 20:59:27 2023-10-04 20:59:27,406 [run_tag] DEBUG tag force:False 20:59:27 2023-10-04 20:59:27,407 [check_head_tag] DEBUG check head tag 20:59:27 2023-10-04 20:59:27,407 [execute] INFO git cat-file --batch-check 20:59:27 2023-10-04 20:59:27,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:59:27 2023-10-04 20:59:27,411 [execute] INFO git cat-file --batch 20:59:27 2023-10-04 20:59:27,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:59:27 2023-10-04 20:59:27,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:27 2023-10-04 20:59:27,427 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 20:59:27 2023-10-04 20:59:27,427 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:59:27 2023-10-04 20:59:27,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:27 3.1.0-dev.20 [Pipeline] } 20:59:27 $ docker exec --env ******** --env ******** da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 ssh-agent -k 20:59:27 unset SSH_AUTH_SOCK; 20:59:27 unset SSH_AGENT_PID; 20:59:27 echo Agent pid 40 killed; 20:59:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:27 + git semver [Pipeline] } 20:59:28 $ docker stop --time=1 da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 20:59:29 $ docker rm -f --volumes da74aa3fd461074cb93822eed1723b8666da4213b2d5865d062b2334473ce2c8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:59:29 20:59:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:59:30 0.23.1-centos7: Pulling from edgex-lftools 20:59:30 ab5ef0e58194: Pulling fs layer 20:59:30 9712f1f96733: Pulling fs layer 20:59:30 63f879dbbcfc: Pulling fs layer 20:59:30 0d9ebad4ef96: Pulling fs layer 20:59:30 e9a5061849ea: Pulling fs layer 20:59:30 d747dcd14b5f: Pulling fs layer 20:59:30 2de7ff778b66: Pulling fs layer 20:59:30 0d9ebad4ef96: Waiting 20:59:30 2de7ff778b66: Waiting 20:59:30 e9a5061849ea: Waiting 20:59:30 9712f1f96733: Verifying Checksum 20:59:30 9712f1f96733: Download complete 20:59:30 63f879dbbcfc: Verifying Checksum 20:59:30 63f879dbbcfc: Download complete 20:59:30 0d9ebad4ef96: Verifying Checksum 20:59:30 0d9ebad4ef96: Download complete 20:59:30 e9a5061849ea: Verifying Checksum 20:59:30 e9a5061849ea: Download complete 20:59:30 d747dcd14b5f: Verifying Checksum 20:59:30 d747dcd14b5f: Download complete 20:59:30 ab5ef0e58194: Verifying Checksum 20:59:30 ab5ef0e58194: Download complete 20:59:30 2de7ff778b66: Verifying Checksum 20:59:30 2de7ff778b66: Download complete 20:59:33 ab5ef0e58194: Pull complete 20:59:33 9712f1f96733: Pull complete 20:59:33 63f879dbbcfc: Pull complete 20:59:37 0d9ebad4ef96: Pull complete 20:59:37 e9a5061849ea: Pull complete 20:59:37 d747dcd14b5f: Pull complete 20:59:38 2de7ff778b66: Pull complete 20:59:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:59:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:59:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:38 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:59:44 $ docker top 651957ab0529aafc1cf4e335fcb116f4385ed621f87781ff5d88f0ca6297a184 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:59:44 provisioning config files... 20:59:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17371633376674775017tmp 20:59:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6182282952930951000tmp 20:59:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3167025912461836603tmp [Pipeline] { [Pipeline] echo 20:59:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:59:45 ---> sigul-configuration.sh 20:59:45 gpg: directory `/root/.gnupg' created 20:59:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:59:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:59:45 gpg: keyring `/root/.gnupg/secring.gpg' created 20:59:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:59:45 gpg: CAST5 encrypted data 20:59:45 gpg: encrypted with 1 passphrase 20:59:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:59:45 + mkdir /home/jenkins 20:59:45 + mkdir /home/jenkins/sigul [Pipeline] sh 20:59:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:59:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:59:45 ---> sigul-install.sh 20:59:45 Sigul already installed; skipping installation. [Pipeline] sh 20:59:46 + git tag --list 20:59:46 v1.0.0 20:59:46 v1.1.0 20:59:46 v1.1.1 20:59:46 v1.1.2 20:59:46 v1.2.0 20:59:46 v1.2.1 20:59:46 v2.0.0 20:59:46 v2.1.0 20:59:46 v2.1.1 20:59:46 v2.2.0 20:59:46 v2.3.0 20:59:46 v3.0 20:59:46 v3.0.0 20:59:46 v3.1.0-dev.1 20:59:46 v3.1.0-dev.10 20:59:46 v3.1.0-dev.11 20:59:46 v3.1.0-dev.12 20:59:46 v3.1.0-dev.13 20:59:46 v3.1.0-dev.14 20:59:46 v3.1.0-dev.15 20:59:46 v3.1.0-dev.16 20:59:46 v3.1.0-dev.17 20:59:46 v3.1.0-dev.18 20:59:46 v3.1.0-dev.19 20:59:46 v3.1.0-dev.2 20:59:46 v3.1.0-dev.20 20:59:46 v3.1.0-dev.3 20:59:46 v3.1.0-dev.4 20:59:46 v3.1.0-dev.5 20:59:46 v3.1.0-dev.6 20:59:46 v3.1.0-dev.7 20:59:46 v3.1.0-dev.8 20:59:46 v3.1.0-dev.9 [Pipeline] sh 20:59:46 + lftools sign git-tag v3.1.0-dev.20 20:59:47 Signing Git tag with Sigul... 20:59:47 Signing v3.1.0-dev.20 [Pipeline] echo 20:59:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:59:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:59:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:59:47 $ docker stop --time=1 651957ab0529aafc1cf4e335fcb116f4385ed621f87781ff5d88f0ca6297a184 20:59:49 $ docker rm -f --volumes 651957ab0529aafc1cf4e335fcb116f4385ed621f87781ff5d88f0ca6297a184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:59:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:50 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:51 $ docker top 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 -eo pid,comm 20:59:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:51 [ssh-agent] Looking for ssh-agent implementation... 20:59:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:51 $ docker exec 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 ssh-agent 20:59:51 SSH_AUTH_SOCK=/tmp/ssh-SmyF8EFYd3jr/agent.13 20:59:51 SSH_AGENT_PID=19 20:59:51 Running ssh-add (command line suppressed) 20:59:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8937145335118773514.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8937145335118773514.key) 20:59:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:52 + git semver bump pre 20:59:52 2023-10-04 20:59:52,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:52 2023-10-04 20:59:52,203 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev 20:59:52 2023-10-04 20:59:52,203 [bump_version] DEBUG bumped version:3.1.0-dev.21 20:59:52 2023-10-04 20:59:52,203 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:59:52 2023-10-04 20:59:52,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:52 2023-10-04 20:59:52,203 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:52 2023-10-04 20:59:52,205 [execute] INFO git cat-file --batch-check 20:59:52 2023-10-04 20:59:52,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:59:52 2023-10-04 20:59:52,211 [execute] INFO git cat-file --batch 20:59:52 2023-10-04 20:59:52,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:59:52 2023-10-04 20:59:52,217 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:52 3.1.0-dev.21 [Pipeline] } 20:59:52 $ docker exec --env ******** --env ******** 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 ssh-agent -k 20:59:52 unset SSH_AUTH_SOCK; 20:59:52 unset SSH_AGENT_PID; 20:59:52 echo Agent pid 19 killed; 20:59:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:52 + git semver [Pipeline] } 20:59:52 $ docker stop --time=1 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 20:59:55 $ docker rm -f --volumes 79bf9014c1e3040e5ca64e187236d1465a250b23d88fe964c49d858d3cd08779 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:55 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 20:59:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:56 $ docker top 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb -eo pid,comm 20:59:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:56 [ssh-agent] Looking for ssh-agent implementation... 20:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:56 $ docker exec 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb ssh-agent 20:59:56 SSH_AUTH_SOCK=/tmp/ssh-idPJoETfkJng/agent.32 20:59:56 SSH_AGENT_PID=38 20:59:56 Running ssh-add (command line suppressed) 20:59:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8623841479342375357.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8623841479342375357.key) 20:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:56 + git semver push 20:59:57 2023-10-04 20:59:56,941 [run_push] DEBUG push 20:59:57 2023-10-04 20:59:56,942 [execute] INFO git cat-file --batch-check 20:59:57 2023-10-04 20:59:56,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:59:57 2023-10-04 20:59:56,946 [execute] INFO git rev-list d1b663e43ac256bde0b5d7274d8246738fc3a8f1 -- 20:59:57 2023-10-04 20:59:56,946 [execute] DEBUG Popen(['git', 'rev-list', 'd1b663e43ac256bde0b5d7274d8246738fc3a8f1', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:59:57 2023-10-04 20:59:56,953 [execute] INFO git fetch -v origin 20:59:57 2023-10-04 20:59:56,953 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:59:57 2023-10-04 20:59:57,459 [run_push] DEBUG no remote changes detected 20:59:57 2023-10-04 20:59:57,460 [execute] INFO git push origin semver 20:59:57 2023-10-04 20:59:57,460 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:59:58 2023-10-04 20:59:58,213 [run_push] DEBUG push all version tags 20:59:58 2023-10-04 20:59:58,214 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:59:58 2023-10-04 20:59:58,214 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:59:59 2023-10-04 20:59:58,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:59:59 3.1.0-dev.21 [Pipeline] } 20:59:59 $ docker exec --env ******** --env ******** 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb ssh-agent -k 20:59:59 unset SSH_AUTH_SOCK; 20:59:59 unset SSH_AGENT_PID; 20:59:59 echo Agent pid 38 killed; 20:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:59 + git semver [Pipeline] } 20:59:59 $ docker stop --time=1 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb 21:00:01 $ docker rm -f --volumes 40d92458addc3258e52d6dc4fef52e78d233f1e155c67a3c0f952b7e29b91efb [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:00:01 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:00:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:00:01 total 16 21:00:01 drwxr-xr-x 3 root root 4096 Oct 4 20:51 . 21:00:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:59 .. 21:00:01 drwxr-xr-x 2 root root 4096 Oct 4 20:51 cost 21:00:01 -rw-r--r-- 1 root root 86 Oct 4 20:51 cost.csv 21:00:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:00:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:00:01 total 16 21:00:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:51 . 21:00:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:59 .. 21:00:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 20:51 cost 21:00:01 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 20:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:00:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:00:02 ---> package-listing.sh 21:00:02 ++ facter osfamily 21:00:02 ++ tr '[:upper:]' '[:lower:]' 21:00:03 + OS_FAMILY=debian 21:00:03 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:00:03 + START_PACKAGES=/tmp/packages_start.txt 21:00:03 + END_PACKAGES=/tmp/packages_end.txt 21:00:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:00:03 + PACKAGES=/tmp/packages_start.txt 21:00:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:00:03 + PACKAGES=/tmp/packages_end.txt 21:00:03 + case "${OS_FAMILY}" in 21:00:03 + dpkg -l 21:00:03 + grep '^ii' 21:00:03 + '[' -f /tmp/packages_start.txt ']' 21:00:03 + '[' -f /tmp/packages_end.txt ']' 21:00:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:00:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:00:03 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:00:03 + 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:00:03 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:00:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:03 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 21:00:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:04 $ docker top ebb1a10236b368f2097adb2db447cd2c24b7736de97908f4bb129b48fbdde174 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:04 + touch /tmp/pre-build-complete [Pipeline] sh 21:00:05 + mkdir -p /var/log/sysstat [Pipeline] sh 21:00:05 + ls /var/log/sa-host 21:00:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:05 provisioning config files... 21:00:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7209568360610988987tmp [Pipeline] { [Pipeline] echo 21:00:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:00:05 ---> create-netrc.sh [Pipeline] } 21:00:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:00:06 ---> python-tools-install.sh [Pipeline] echo 21:00:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:00:06 ---> sudo-logs.sh 21:00:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:00:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:00:06 ---> job-cost.sh 21:00:06 lf-activate-venv: SKIPPING 21:00:06 DEBUG: total: 0.2199999988079071 21:00:06 INFO: Retrieving Stack Cost... 21:00:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:07 INFO: Archiving Costs [Pipeline] echo 21:00:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:00:07 ---> logs-deploy.sh 21:00:07 lf-activate-venv: SKIPPING 21:00:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/140 21:00:07 INFO: archiving workspace using pattern(s): 21:00:08 Archives upload complete. 21:00:08 INFO: archiving logs to Nexus