Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63560b1f091cdd18f74439d048f83e61f0721fcd 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-ssh7349761087915179292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8563181823257228971.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4130086330998984600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh3571022823722887155.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-ssh11746029370992787416.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17130 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 63560b1f091cdd18f74439d048f83e61f0721fcd (main) Commit message: "Merge pull request #364 from ejlee3/napa-go-mod" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-list --no-walk 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:00:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:00:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:00:05 ========================================================= 14:00:05 EdgeX Global Pipelines Version Info 14:00:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:00:06 ------------------- 14:00:06 stable info: 14:00:06 ------------------- 14:00:06 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 14:00:06 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 14:00:06 Message: update stable to v1.0.257 14:00:06 ------------------- 14:00:06 experimental info: 14:00:06 ------------------- 14:00:06 Commited By: **** collab-it+edgex@linuxfoundation.org 14:00:06 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 14:00:06 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:00:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63560b1 [Pipeline] echo 14:00:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:00:07 provisioning config files... 14:00:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7114699890491911034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:07 ---> docker-login.sh 14:00:07 nexus3.edgexfoundry.org:10001 14:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:08 Configure a credential helper to remove this warning. See 14:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:08 14:00:08 Login Succeeded 14:00:08 nexus3.edgexfoundry.org:10002 14:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:08 Configure a credential helper to remove this warning. See 14:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:08 14:00:08 Login Succeeded 14:00:08 nexus3.edgexfoundry.org:10003 14:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:08 Configure a credential helper to remove this warning. See 14:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:08 14:00:08 Login Succeeded 14:00:08 nexus3.edgexfoundry.org:10004 14:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:08 Configure a credential helper to remove this warning. See 14:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:08 14:00:08 Login Succeeded 14:00:08 docker.io 14:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:10 Configure a credential helper to remove this warning. See 14:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:10 14:00:10 Login Succeeded 14:00:10 ---> docker-login.sh ends [Pipeline] } 14:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:00:10 + git rev-list -1 --merges 63560b1f091cdd18f74439d048f83e61f0721fcd~1..63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo 14:00:10 -----------> git rev-list -1 --merges 63560b1f091cdd18f74439d048f83e61f0721fcd~1..63560b1f091cdd18f74439d048f83e61f0721fcd 63560b1f091cdd18f74439d048f83e61f0721fcd 14:00:10 63560b1f091cdd18f74439d048f83e61f0721fcd [false] [Pipeline] sh 14:00:10 + git log --format=format:%s -1 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo 14:00:10 ========================================================= 14:00:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:00:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:11 + git log --format=format:%s -1 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo 14:00:11 [semverPrep] GIT_COMMIT: 63560b1f091cdd18f74439d048f83e61f0721fcd, Commit Message: Merge pull request #364 from ejlee3/napa-go-mod [Pipeline] echo 14:00:11 [semverPrep] This is not a build commit. [Pipeline] sh 14:00:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:00:11 + grep -v github /etc/ssh/ssh_known_hosts 14:00:11 + [ -e /tmp/ssh_known_hosts ] 14:00:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:00:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:00:11 sudo tee -a /etc/ssh/ssh_known_hosts 14:00:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:11 14:00:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:12 0.1.4: Pulling from edgex-devops/py-git-semver 14:00:12 b85a868b505f: Pulling fs layer 14:00:12 e2be974225ed: Pulling fs layer 14:00:12 339a4e72a1f5: Pulling fs layer 14:00:12 988bab9f4d93: Pulling fs layer 14:00:12 1469e6f7b9e6: Pulling fs layer 14:00:12 eaf3925da568: Pulling fs layer 14:00:12 bab4dde63d76: Pulling fs layer 14:00:12 bde34c3a00c8: Pulling fs layer 14:00:12 b352a97aabf1: Pulling fs layer 14:00:12 4872d77fe225: Pulling fs layer 14:00:12 5851b861e8e6: Pulling fs layer 14:00:12 988bab9f4d93: Waiting 14:00:12 1469e6f7b9e6: Waiting 14:00:12 eaf3925da568: Waiting 14:00:12 bab4dde63d76: Waiting 14:00:12 4872d77fe225: Waiting 14:00:12 bde34c3a00c8: Waiting 14:00:12 b352a97aabf1: Waiting 14:00:12 5851b861e8e6: Waiting 14:00:12 e2be974225ed: Download complete 14:00:12 988bab9f4d93: Verifying Checksum 14:00:12 988bab9f4d93: Download complete 14:00:12 339a4e72a1f5: Verifying Checksum 14:00:12 339a4e72a1f5: Download complete 14:00:12 eaf3925da568: Verifying Checksum 14:00:12 eaf3925da568: Download complete 14:00:12 1469e6f7b9e6: Verifying Checksum 14:00:12 1469e6f7b9e6: Download complete 14:00:12 bde34c3a00c8: Download complete 14:00:12 b85a868b505f: Verifying Checksum 14:00:12 b85a868b505f: Download complete 14:00:12 b352a97aabf1: Verifying Checksum 14:00:12 b352a97aabf1: Download complete 14:00:12 4872d77fe225: Verifying Checksum 14:00:12 4872d77fe225: Download complete 14:00:12 5851b861e8e6: Verifying Checksum 14:00:12 5851b861e8e6: Download complete 14:00:13 bab4dde63d76: Verifying Checksum 14:00:13 bab4dde63d76: Download complete 14:00:14 b85a868b505f: Pull complete 14:00:14 e2be974225ed: Pull complete 14:00:15 339a4e72a1f5: Pull complete 14:00:15 988bab9f4d93: Pull complete 14:00:16 1469e6f7b9e6: Pull complete 14:00:16 eaf3925da568: Pull complete 14:00:18 bab4dde63d76: Pull complete 14:00:18 bde34c3a00c8: Pull complete 14:00:18 b352a97aabf1: Pull complete 14:00:18 4872d77fe225: Pull complete 14:00:18 5851b861e8e6: Pull complete 14:00:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:18 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:00:28 $ docker top 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce -eo pid,comm 14:00:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:00:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:00:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:00:28 [ssh-agent] Looking for ssh-agent implementation... 14:00:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:00:28 $ docker exec 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent 14:00:28 SSH_AUTH_SOCK=/tmp/ssh-dRe8wpmJMfLY/agent.31 14:00:28 SSH_AGENT_PID=37 14:00:28 Running ssh-add (command line suppressed) 14:00:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10817406160938174767.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10817406160938174767.key) 14:00:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:00:29 + git tag --points-at HEAD [Pipeline] } 14:00:29 $ docker exec --env ******** --env ******** 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent -k 14:00:29 unset SSH_AUTH_SOCK; 14:00:29 unset SSH_AGENT_PID; 14:00:29 echo Agent pid 37 killed; 14:00:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:00:29 [ssh-agent] Looking for ssh-agent implementation... 14:00:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:00:29 $ docker exec 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent 14:00:29 SSH_AUTH_SOCK=/tmp/ssh-xhAorGPpMSNk/agent.69 14:00:29 SSH_AGENT_PID=75 14:00:29 Running ssh-add (command line suppressed) 14:00:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11598407748700931456.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11598407748700931456.key) 14:00:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:00:30 + git semver init 14:00:30 2023-11-09 14:00:30,190 [run_init] DEBUG init version:0.0.0 force:False 14:00:30 2023-11-09 14:00:30,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 14:00:30 2023-11-09 14:00:30,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:00:30 2023-11-09 14:00:30,192 [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) 14:00:31 2023-11-09 14:00:31,304 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 14:00:31 2023-11-09 14:00:31,304 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 14:00:31 2023-11-09 14:00:31,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:00:31 2023-11-09 14:00:31,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:00:31 3.1.0-dev.30 [Pipeline] } 14:00:31 $ docker exec --env ******** --env ******** 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent -k 14:00:31 unset SSH_AUTH_SOCK; 14:00:31 unset SSH_AGENT_PID; 14:00:31 echo Agent pid 75 killed; 14:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:00:33 + git semver [Pipeline] } 14:00:33 $ docker stop --time=1 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce 14:00:35 $ docker rm -f --volumes 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce [Pipeline] // withDockerContainer [Pipeline] sh 14:00:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:00:35 Stashed 1 file(s) [Pipeline] echo 14:00:35 [edgeXSemver]: initialized semver on version 3.1.0-dev.30 [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 14:00:35 provisioning config files... 14:00:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config331890462689149670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:36 ---> docker-login.sh 14:00:36 nexus3.edgexfoundry.org:10001 14:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:36 Configure a credential helper to remove this warning. See 14:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:36 14:00:36 Login Succeeded 14:00:36 nexus3.edgexfoundry.org:10002 14:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:36 Configure a credential helper to remove this warning. See 14:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:36 14:00:36 Login Succeeded 14:00:36 nexus3.edgexfoundry.org:10003 14:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:36 Configure a credential helper to remove this warning. See 14:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:36 14:00:36 Login Succeeded 14:00:36 nexus3.edgexfoundry.org:10004 14:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:36 Configure a credential helper to remove this warning. See 14:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:36 14:00:36 Login Succeeded 14:00:36 docker.io 14:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:00:36 Configure a credential helper to remove this warning. See 14:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:00:36 14:00:36 Login Succeeded 14:00:36 ---> docker-login.sh ends [Pipeline] } 14:00:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:00:36 ========================================================= 14:00:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:00:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:37 + 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 . 14:00:37 Sending build context to Docker daemon 10.95MB 14:00:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:00:37 Step 2/12 : FROM ${BASE} AS builder 14:00:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:00:37 7264a8db6415: Pulling fs layer 14:00:37 c4d48a809fc2: Pulling fs layer 14:00:37 4f1c88b9dad5: Pulling fs layer 14:00:37 ad3a456e5733: Pulling fs layer 14:00:37 33e27b845d1e: Pulling fs layer 14:00:37 c68163c4e522: Pulling fs layer 14:00:37 50da416c3ac9: Pulling fs layer 14:00:37 23d2d4c4bb30: Pulling fs layer 14:00:37 ad3a456e5733: Waiting 14:00:37 33e27b845d1e: Waiting 14:00:37 c68163c4e522: Waiting 14:00:37 50da416c3ac9: Waiting 14:00:37 23d2d4c4bb30: Waiting 14:00:37 c4d48a809fc2: Download complete 14:00:37 7264a8db6415: Verifying Checksum 14:00:37 7264a8db6415: Download complete 14:00:37 ad3a456e5733: Download complete 14:00:37 33e27b845d1e: Verifying Checksum 14:00:37 33e27b845d1e: Download complete 14:00:37 c68163c4e522: Verifying Checksum 14:00:37 c68163c4e522: Download complete 14:00:37 7264a8db6415: Pull complete 14:00:37 c4d48a809fc2: Pull complete 14:00:37 23d2d4c4bb30: Verifying Checksum 14:00:37 23d2d4c4bb30: Download complete 14:00:37 4f1c88b9dad5: Verifying Checksum 14:00:37 4f1c88b9dad5: Download complete 14:00:38 50da416c3ac9: Verifying Checksum 14:00:38 50da416c3ac9: Download complete 14:00:40 4f1c88b9dad5: Pull complete 14:00:40 ad3a456e5733: Pull complete 14:00:40 33e27b845d1e: Pull complete 14:00:40 c68163c4e522: Pull complete 14:00:43 50da416c3ac9: Pull complete 14:00:43 23d2d4c4bb30: Pull complete 14:00:43 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:00:43 ---> 0786185ac409 14:00:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:00:48 ---> Running in 4ca422721935 14:00:48 Removing intermediate container 4ca422721935 14:00:48 ---> fed35cf18a6e 14:00:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:00:48 ---> Running in 5622b18a56a7 14:00:48 Removing intermediate container 5622b18a56a7 14:00:48 ---> 13b74e38689c 14:00:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:00:48 ---> Running in d6c53003e75f 14:00:48 Removing intermediate container d6c53003e75f 14:00:48 ---> 77c7141cee87 14:00:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:00:48 ---> Running in 3da0a40a4364 14:00:49 Removing intermediate container 3da0a40a4364 14:00:49 ---> 0998bdd826d6 14:00:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:00:49 ---> Running in 57cb5eced4bf 14:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:00:49 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:00:49 (2/4) Installing libedit (20221030.3.1-r1) 14:00:49 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:00:49 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:00:49 Executing busybox-1.36.1-r2.trigger 14:00:49 OK: 268 MiB in 56 packages 14:00:50 Removing intermediate container 57cb5eced4bf 14:00:50 ---> 580d51d19ce3 14:00:50 Step 8/12 : WORKDIR /device-rest-go 14:00:50 Still waiting to schedule task 14:00:50 ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:00:50 ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:00:50 ‘prd-ubuntu20.04-docker-8c-8g-17133’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:00:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17132’ is offline 14:00:50 ---> Running in fcfecae87c8d 14:00:51 Removing intermediate container fcfecae87c8d 14:00:51 ---> b7b7afc6ebe7 14:00:51 Step 9/12 : COPY go.mod vendor* ./ 14:00:51 ---> 869fae854da0 14:00:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:00:51 ---> Running in a9ffb1adc344 14:01:30 Removing intermediate container a9ffb1adc344 14:01:30 ---> d46b1fa22353 14:01:30 Step 11/12 : COPY . . 14:01:30 ---> 3978508c730f 14:01:30 Step 12/12 : RUN $MAKE 14:01:30 ---> Running in fa21b0899507 14:01:30 noop 14:01:30 Removing intermediate container fa21b0899507 14:01:30 ---> bf26ba7980be 14:01:30 Successfully built bf26ba7980be 14:01:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:30 + docker inspect -f . ci-base-image-x86_64 14:01:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:30 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:01:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:01:31 $ docker top c68c89355fe09e0eff048450a3f1da4b7a6148233561a6ef7df36957e3b7cedf -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:31 + go version 14:01:31 go version go1.21.0 linux/amd64 [Pipeline] } 14:01:31 $ docker stop --time=1 c68c89355fe09e0eff048450a3f1da4b7a6148233561a6ef7df36957e3b7cedf 14:01:32 $ docker rm -f --volumes c68c89355fe09e0eff048450a3f1da4b7a6148233561a6ef7df36957e3b7cedf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:33 + docker inspect -f . ci-base-image-x86_64 14:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:33 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:01:33 $ docker top 8101cad23778d11181a06fb006e9003b6892adaa084606372f808c1c865c9587 -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 14:01:34 + make test 14:01:34 go test ./... -coverprofile=coverage.out ./... 14:01:35 ? github.com/edgexfoundry/device-rest-go [no test files] 14:01:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:01:46 ok github.com/edgexfoundry/device-rest-go/driver 0.028s coverage: 33.2% of statements 14:01:54 go vet ./... 14:01:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:01:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:01:56 ./bin/test-attribution-txt.sh [Pipeline] echo 14:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:01:56 $ docker stop --time=1 8101cad23778d11181a06fb006e9003b6892adaa084606372f808c1c865c9587 14:02:01 $ docker rm -f --volumes 8101cad23778d11181a06fb006e9003b6892adaa084606372f808c1c865c9587 [Pipeline] // withDockerContainer [Pipeline] sh 14:02:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:02:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:02:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:02:02 + ls -al . 14:02:02 total 176 14:02:02 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 14:01 . 14:02:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:00 .. 14:02:02 -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:00 .dockerignore 14:02:02 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:01 .git 14:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:00 .github 14:02:02 -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:00 .gitignore 14:02:02 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:00 .golangci.yml 14:02:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:00 .semver 14:02:02 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:00 Attribution.txt 14:02:02 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:00 CHANGELOG.md 14:02:02 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:00 Dockerfile 14:02:02 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:00 GOVERNANCE.md 14:02:02 -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:00 Jenkinsfile 14:02:02 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:00 LICENSE 14:02:02 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:00 Makefile 14:02:02 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:00 OWNERS.md 14:02:02 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:00 README.md 14:02:02 -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 14:00 VERSION 14:02:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:00 bin 14:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:00 cmd 14:02:02 -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:01 coverage.out 14:02:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:00 driver 14:02:02 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:00 go.mod 14:02:02 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:00 go.sum 14:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:00 openapi 14:02:02 -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:02 + 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=63560b1f091cdd18f74439d048f83e61f0721fcd --label arch=amd64 --label version=3.1.0-dev.30 . 14:02:02 Sending build context to Docker daemon 10.96MB 14:02:02 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:02:02 Step 2/25 : FROM ${BASE} AS builder 14:02:02 ---> bf26ba7980be 14:02:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:02:03 ---> Running in 49b5293cb847 14:02:03 Removing intermediate container 49b5293cb847 14:02:03 ---> 5081e7b15a9b 14:02:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:02:03 ---> Running in 499912a974c9 14:02:03 Removing intermediate container 499912a974c9 14:02:03 ---> 1cc1fa1962c6 14:02:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:02:03 ---> Running in a61c134a2978 14:02:03 Removing intermediate container a61c134a2978 14:02:03 ---> 32159778d2c5 14:02:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:02:03 ---> Running in 7008507c4134 14:02:03 Removing intermediate container 7008507c4134 14:02:03 ---> ea6dc2466611 14:02:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:02:03 ---> Running in 0d13193fca79 14:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:02:04 OK: 268 MiB in 56 packages 14:02:04 Removing intermediate container 0d13193fca79 14:02:04 ---> ab449c32ef33 14:02:04 Step 8/25 : WORKDIR /device-rest-go 14:02:04 ---> Running in e428beee05be 14:02:04 Removing intermediate container e428beee05be 14:02:04 ---> 9afc71fd9499 14:02:04 Step 9/25 : COPY go.mod vendor* ./ 14:02:04 ---> 98a63935f6be 14:02:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:02:04 ---> Running in 161604561a13 14:02:05 Removing intermediate container 161604561a13 14:02:05 ---> 69394d34d048 14:02:05 Step 11/25 : COPY . . 14:02:06 ---> 7dd612898fdc 14:02:06 Step 12/25 : RUN $MAKE 14:02:06 ---> Running in 2014c4c0213b 14:02:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:02:28 Removing intermediate container 2014c4c0213b 14:02:28 ---> fe2ba2246d7a 14:02:28 Step 13/25 : FROM alpine:3.18 14:02:28 3.18: Pulling from library/alpine 14:02:28 96526aa774ef: Pulling fs layer 14:02:28 96526aa774ef: Verifying Checksum 14:02:28 96526aa774ef: Download complete 14:02:28 96526aa774ef: Pull complete 14:02:28 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:02:28 Status: Downloaded newer image for alpine:3.18 14:02:28 ---> 8ca4688f4f35 14:02:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:02:28 ---> Running in 09786b49bddf 14:02:28 Removing intermediate container 09786b49bddf 14:02:28 ---> 65e6c550fd03 14:02:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:02:28 ---> Running in 5dae08f9b18d 14:02:28 Removing intermediate container 5dae08f9b18d 14:02:28 ---> 4aea74e4003c 14:02:28 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:02:28 ---> Running in 59318ca5ecc8 14:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:02:29 (1/1) Installing dumb-init (1.2.5-r2) 14:02:29 Executing busybox-1.36.1-r2.trigger 14:02:29 OK: 7 MiB in 16 packages 14:02:30 Removing intermediate container 59318ca5ecc8 14:02:30 ---> 624707d322e9 14:02:30 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:02:31 ---> 070a229762bf 14:02:31 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:02:31 ---> 365d4fba2aa3 14:02:31 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:02:31 ---> e5f6a90b057d 14:02:31 Step 20/25 : EXPOSE 59986 14:02:31 ---> Running in d59d0dab88e4 14:02:31 Removing intermediate container d59d0dab88e4 14:02:31 ---> 4bd8ba650771 14:02:31 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:02:31 ---> Running in 04c830815f41 14:02:31 Removing intermediate container 04c830815f41 14:02:31 ---> 4c699e659b6e 14:02:31 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:02:31 ---> Running in 2454b1faf005 14:02:31 Removing intermediate container 2454b1faf005 14:02:31 ---> 5cc0d1287cc4 14:02:31 Step 23/25 : LABEL arch=amd64 14:02:31 ---> Running in 07dbb549cb36 14:02:31 Removing intermediate container 07dbb549cb36 14:02:31 ---> 5600c89e49e6 14:02:31 Step 24/25 : LABEL git_sha=63560b1f091cdd18f74439d048f83e61f0721fcd 14:02:31 ---> Running in eb6115e3fc47 14:02:31 Removing intermediate container eb6115e3fc47 14:02:31 ---> 2e1a49103912 14:02:31 Step 25/25 : LABEL version=3.1.0-dev.30 14:02:31 ---> Running in 0c770498f268 14:02:31 Removing intermediate container 0c770498f268 14:02:31 ---> ab5b91d848b8 14:02:31 [Warning] One or more build-args [ARCH] were not consumed 14:02:31 Successfully built ab5b91d848b8 14:02: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 14:02:31 provisioning config files... 14:02:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2684224591971446804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:02:32 ---> docker-login.sh 14:02:32 nexus3.edgexfoundry.org:10001 14:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:32 Configure a credential helper to remove this warning. See 14:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:32 14:02:32 Login Succeeded 14:02:32 nexus3.edgexfoundry.org:10002 14:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:32 Configure a credential helper to remove this warning. See 14:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:32 14:02:32 Login Succeeded 14:02:32 nexus3.edgexfoundry.org:10003 14:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:32 Configure a credential helper to remove this warning. See 14:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:32 14:02:32 Login Succeeded 14:02:32 nexus3.edgexfoundry.org:10004 14:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:32 Configure a credential helper to remove this warning. See 14:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:32 14:02:32 Login Succeeded 14:02:32 docker.io 14:02:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:02:32 Configure a credential helper to remove this warning. See 14:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:02:32 14:02:32 Login Succeeded 14:02:32 ---> docker-login.sh ends [Pipeline] } 14:02:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:02:44 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:02:44 63560b1f091cdd18f74439d048f83e61f0721fcd 14:02:44 latest 14:02:44 3.1.0-dev.30 14:02:44 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 14:02:44 main 14:02:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd 14:02:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:02:44 199d355f957a: Preparing 14:02:44 2ad6ad34e768: Preparing 14:02:44 c6a331d128ed: Preparing 14:02:44 6d67b5c8ea5a: Preparing 14:02:44 cc2447e1835a: Preparing 14:02:44 cc2447e1835a: Layer already exists 14:02:44 6d67b5c8ea5a: Pushed 14:02:44 2ad6ad34e768: Pushed 14:02:44 199d355f957a: Pushed 14:02:47 c6a331d128ed: Pushed 14:02:47 63560b1f091cdd18f74439d048f83e61f0721fcd: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:02:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:02:48 199d355f957a: Preparing 14:02:48 2ad6ad34e768: Preparing 14:02:48 c6a331d128ed: Preparing 14:02:48 6d67b5c8ea5a: Preparing 14:02:48 cc2447e1835a: Preparing 14:02:48 199d355f957a: Layer already exists 14:02:48 6d67b5c8ea5a: Layer already exists 14:02:48 cc2447e1835a: Layer already exists 14:02:48 c6a331d128ed: Layer already exists 14:02:48 2ad6ad34e768: Layer already exists 14:02:48 latest: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.30 14:02:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:02:48 199d355f957a: Preparing 14:02:48 2ad6ad34e768: Preparing 14:02:48 c6a331d128ed: Preparing 14:02:48 6d67b5c8ea5a: Preparing 14:02:48 cc2447e1835a: Preparing 14:02:48 cc2447e1835a: Layer already exists 14:02:48 199d355f957a: Layer already exists 14:02:48 6d67b5c8ea5a: Layer already exists 14:02:48 2ad6ad34e768: Layer already exists 14:02:48 c6a331d128ed: Layer already exists 14:02:48 3.1.0-dev.30: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 14:02:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:02:49 199d355f957a: Preparing 14:02:49 2ad6ad34e768: Preparing 14:02:49 c6a331d128ed: Preparing 14:02:49 6d67b5c8ea5a: Preparing 14:02:49 cc2447e1835a: Preparing 14:02:49 2ad6ad34e768: Layer already exists 14:02:49 c6a331d128ed: Layer already exists 14:02:49 199d355f957a: Layer already exists 14:02:49 cc2447e1835a: Layer already exists 14:02:49 6d67b5c8ea5a: Layer already exists 14:02:49 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:02:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:02:50 199d355f957a: Preparing 14:02:50 2ad6ad34e768: Preparing 14:02:50 c6a331d128ed: Preparing 14:02:50 6d67b5c8ea5a: Preparing 14:02:50 cc2447e1835a: Preparing 14:02:50 cc2447e1835a: Layer already exists 14:02:50 6d67b5c8ea5a: Layer already exists 14:02:50 c6a331d128ed: Layer already exists 14:02:50 199d355f957a: Layer already exists 14:02:50 2ad6ad34e768: Layer already exists 14:02:50 main: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:02:50 ===================================================== [Pipeline] echo 14:02:50 taggedImages: 14:02:50 - nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd 14:02:50 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:02:50 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.30 14:02:50 - nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 14:02:50 - 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 14:02:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:02:50 14:02:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:02:50 latest: Pulling from edgex-lftools-log-publisher 14:02:50 5eb5b503b376: Pulling fs layer 14:02:50 5c69ac0246d0: Pulling fs layer 14:02:50 ec43610c2a17: Pulling fs layer 14:02:50 3a2ae6a8a46f: Pulling fs layer 14:02:50 33b1e0a273af: Pulling fs layer 14:02:50 3a2ae6a8a46f: Waiting 14:02:50 5d3b04190fa2: Pulling fs layer 14:02:50 2f39f015ded8: Pulling fs layer 14:02:50 33b1e0a273af: Waiting 14:02:50 2f39f015ded8: Waiting 14:02:50 5c69ac0246d0: Download complete 14:02:50 3a2ae6a8a46f: Verifying Checksum 14:02:50 3a2ae6a8a46f: Download complete 14:02:50 33b1e0a273af: Verifying Checksum 14:02:50 33b1e0a273af: Download complete 14:02:50 5d3b04190fa2: Verifying Checksum 14:02:50 5d3b04190fa2: Download complete 14:02:51 ec43610c2a17: Verifying Checksum 14:02:51 ec43610c2a17: Download complete 14:02:51 5eb5b503b376: Verifying Checksum 14:02:51 5eb5b503b376: Download complete 14:02:51 2f39f015ded8: Download complete 14:02:52 5eb5b503b376: Pull complete 14:02:52 5c69ac0246d0: Pull complete 14:02:52 ec43610c2a17: Pull complete 14:02:52 3a2ae6a8a46f: Pull complete 14:02:53 33b1e0a273af: Pull complete 14:02:53 5d3b04190fa2: Pull complete 14:02:57 2f39f015ded8: Pull complete 14:02:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:02:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:57 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:03:03 $ docker top 347022cb71cb4e49eedd6271236df81f9acdfdc06a1049ac8e72ecbd6d74e581 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:03 ---> job-cost.sh 14:03:03 lf-activate-venv: SKIPPING 14:03:03 INFO: No Stack... 14:03:04 INFO: Retrieving Pricing Info for: v3-standard-8 14:03:04 INFO: Archiving Costs [Pipeline] sh 14:03:04 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 14:03:04 + cut -d, -f6 [Pipeline] lock 14:03:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] 14:03:04 Resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] did not exist. Created. 14:03:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:03:05 + echo total: 0.2199999988079071 [Pipeline] stash 14:03:05 Stashed 1 file(s) [Pipeline] } 14:03:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 14:03:05 $ docker stop --time=1 347022cb71cb4e49eedd6271236df81f9acdfdc06a1049ac8e72ecbd6d74e581 14:03:06 $ docker rm -f --volumes 347022cb71cb4e49eedd6271236df81f9acdfdc06a1049ac8e72ecbd6d74e581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:04:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17134 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:04:16 Running in /w/workspace/device-rest-go/150 [Pipeline] { [Pipeline] checkout 14:04:16 The recommended git tool is: git 14:04:24 using credential edgex-jenkins-ssh 14:04:24 Cloning the remote Git repository 14:04:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:04:24 > git init /w/workspace/device-rest-go/150 # timeout=10 14:04:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:04:26 > git --version # timeout=10 14:04:26 > git --version # 'git version 2.25.1' 14:04:26 using GIT_SSH to set credentials SSH Credentials for GitHub 14:04:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:04:30 Avoid second fetch 14:04:30 Checking out Revision 63560b1f091cdd18f74439d048f83e61f0721fcd (main) 14:04:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:04:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:04:30 Commit message: "Merge pull request #364 from ejlee3/napa-go-mod" 14:04:30 > git config core.sparsecheckout # timeout=10 14:04:30 > git checkout -f 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:04:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:04:33 % Total % Received % Xferd Average Speed Time Time Time Current 14:04:33 Dload Upload Total Spent Left Speed 14:04:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 54196 0 --:--:-- --:--:-- --:--:-- 53965 [Pipeline] sh 14:04:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:04:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:04:34 + sudo tee /etc/docker/daemon.new 14:04:34 { 14:04:34 "registry-mirrors": [ 14:04:34 "https://nexus3.edgexfoundry.org:10001" 14:04:34 ], 14:04:34 "bip": "10.250.0.254/24", 14:04:34 "hosts": [ 14:04:34 "tcp://0.0.0.0:5555", 14:04:34 "unix:///var/run/docker.sock" 14:04:34 ], 14:04:34 "mtu": 1458, 14:04:34 "selinux-enabled": true, 14:04:34 "seccomp-profile": "/etc/docker/seccomp.json" 14:04:34 } [Pipeline] sh 14:04:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:04:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:04:58 provisioning config files... 14:04:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/150@tmp/config8247344165478278694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:58 ---> docker-login.sh 14:04:58 nexus3.edgexfoundry.org:10001 14:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:59 Configure a credential helper to remove this warning. See 14:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:59 14:04:59 Login Succeeded 14:04:59 nexus3.edgexfoundry.org:10002 14:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:59 Configure a credential helper to remove this warning. See 14:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:59 14:04:59 Login Succeeded 14:04:59 nexus3.edgexfoundry.org:10003 14:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:04:59 Configure a credential helper to remove this warning. See 14:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:04:59 14:04:59 Login Succeeded 14:04:59 nexus3.edgexfoundry.org:10004 14:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:00 Configure a credential helper to remove this warning. See 14:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:00 14:05:00 Login Succeeded 14:05:00 docker.io 14:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:00 Configure a credential helper to remove this warning. See 14:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:00 14:05:00 Login Succeeded 14:05:00 ---> docker-login.sh ends [Pipeline] } 14:05:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:05:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:05:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:05:01 ========================================================= 14:05:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:05:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:01 + 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 . 14:05:01 Sending build context to Docker daemon 125.4kB 14:05:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:05:01 Step 2/12 : FROM ${BASE} AS builder 14:05:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:05:02 9fda8d8052c6: Pulling fs layer 14:05:02 5d54e960e981: Pulling fs layer 14:05:02 c4a7e357bf2a: Pulling fs layer 14:05:02 f0e02332f6b5: Pulling fs layer 14:05:02 cefa15bbcfad: Pulling fs layer 14:05:02 17808c966233: Pulling fs layer 14:05:02 f4c1fc716caa: Pulling fs layer 14:05:02 f0e02332f6b5: Waiting 14:05:02 cefa15bbcfad: Waiting 14:05:02 f4c1fc716caa: Waiting 14:05:02 5d54e960e981: Download complete 14:05:02 f0e02332f6b5: Verifying Checksum 14:05:02 f0e02332f6b5: Download complete 14:05:02 cefa15bbcfad: Verifying Checksum 14:05:02 cefa15bbcfad: Download complete 14:05:02 9fda8d8052c6: Verifying Checksum 14:05:02 9fda8d8052c6: Download complete 14:05:02 f4c1fc716caa: Verifying Checksum 14:05:02 f4c1fc716caa: Download complete 14:05:03 9fda8d8052c6: Pull complete 14:05:04 5d54e960e981: Pull complete 14:05:04 c4a7e357bf2a: Verifying Checksum 14:05:04 c4a7e357bf2a: Download complete 14:05:05 17808c966233: Verifying Checksum 14:05:05 17808c966233: Download complete 14:05:17 c4a7e357bf2a: Pull complete 14:05:17 f0e02332f6b5: Pull complete 14:05:17 cefa15bbcfad: Pull complete 14:05:25 17808c966233: Pull complete 14:05:27 f4c1fc716caa: Pull complete 14:05:27 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:05:27 ---> ea914061e18c 14:05:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:05:29 ---> Running in 3142d592c0a3 14:05:29 Removing intermediate container 3142d592c0a3 14:05:29 ---> 4c04250b979c 14:05:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:05:29 ---> Running in e8a46e2b0aab 14:05:30 Removing intermediate container e8a46e2b0aab 14:05:30 ---> 1ef39cffcea8 14:05:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:05:30 ---> Running in eaa4aa4ba498 14:05:30 Removing intermediate container eaa4aa4ba498 14:05:30 ---> 0403247fe1cd 14:05:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:05:30 ---> Running in 8baf11f8d695 14:05:30 Removing intermediate container 8baf11f8d695 14:05:30 ---> e8ca662ed8dc 14:05:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:05:30 ---> Running in 0f4cf8d0e449 14:05:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:05:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:05:33 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:05:33 (2/4) Installing libedit (20221030.3.1-r1) 14:05:33 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:05:33 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:05:33 Executing busybox-1.36.1-r2.trigger 14:05:33 OK: 270 MiB in 56 packages 14:05:35 Removing intermediate container 0f4cf8d0e449 14:05:35 ---> 14082eb49b9d 14:05:35 Step 8/12 : WORKDIR /device-rest-go 14:05:35 ---> Running in 271fc76c5f79 14:05:35 Removing intermediate container 271fc76c5f79 14:05:35 ---> 3cd73356d74b 14:05:35 Step 9/12 : COPY go.mod vendor* ./ 14:05:36 ---> d3837964d3dc 14:05:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:05:36 ---> Running in 4fe4ade48911 14:06:59 Removing intermediate container 4fe4ade48911 14:06:59 ---> e2f62e43123a 14:06:59 Step 11/12 : COPY . . 14:06:59 ---> 4e6032591043 14:06:59 Step 12/12 : RUN $MAKE 14:06:59 ---> Running in 77f8a755b967 14:06:59 noop 14:06:59 Removing intermediate container 77f8a755b967 14:06:59 ---> e91bb0b7ced2 14:06:59 Successfully built e91bb0b7ced2 14:06:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:00 + docker inspect -f . ci-base-image-arm64 14:07:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:00 prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container 14:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/150 -v /w/workspace/device-rest-go/150:/w/workspace/device-rest-go/150:rw,z -v /w/workspace/device-rest-go/150@tmp:/w/workspace/device-rest-go/150@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 14:07:03 $ docker top 658e76a5fc0d627cdf91fe44d146560a837f3e977625b4f637a7df3e1ed11ec9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:04 + go version 14:07:04 go version go1.21.0 linux/arm64 [Pipeline] } 14:07:04 $ docker stop --time=1 658e76a5fc0d627cdf91fe44d146560a837f3e977625b4f637a7df3e1ed11ec9 14:07:06 $ docker rm -f --volumes 658e76a5fc0d627cdf91fe44d146560a837f3e977625b4f637a7df3e1ed11ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:06 + docker inspect -f . ci-base-image-arm64 14:07:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:06 prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container 14:07:06 $ 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/150 -v /w/workspace/device-rest-go/150:/w/workspace/device-rest-go/150:rw,z -v /w/workspace/device-rest-go/150@tmp:/w/workspace/device-rest-go/150@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 14:07:08 $ docker top 8bf9791a4076e8f93db92f56fd8d0f8f5f2288a933dfb50839fcf54a306dc40d -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:08 + git config --global --add safe.directory /w/workspace/device-rest-go/150 [Pipeline] fileExists [Pipeline] sh 14:07:09 + make test 14:07:09 go test ./... -coverprofile=coverage.out ./... 14:07:13 ? github.com/edgexfoundry/device-rest-go [no test files] 14:08:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:08:50 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements 14:08:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:08:50 go vet ./... 14:09:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:09:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:09:08 ./bin/test-attribution-txt.sh [Pipeline] echo 14:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:09:08 $ docker stop --time=1 8bf9791a4076e8f93db92f56fd8d0f8f5f2288a933dfb50839fcf54a306dc40d 14:09:14 $ docker rm -f --volumes 8bf9791a4076e8f93db92f56fd8d0f8f5f2288a933dfb50839fcf54a306dc40d [Pipeline] // withDockerContainer [Pipeline] sh 14:09:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:09:15 Warning: overwriting stash ‘coverage-report’ 14:09:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:09:17 + ls -al . 14:09:17 total 172 14:09:17 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:07 . 14:09:17 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:04 .. 14:09:17 -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:04 .dockerignore 14:09:17 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:04 .git 14:09:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:04 .github 14:09:17 -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:04 .gitignore 14:09:17 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:04 .golangci.yml 14:09:17 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:04 Attribution.txt 14:09:17 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:04 CHANGELOG.md 14:09:17 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:04 Dockerfile 14:09:17 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:04 GOVERNANCE.md 14:09:17 -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:04 Jenkinsfile 14:09:17 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:04 LICENSE 14:09:17 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:04 Makefile 14:09:17 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:04 OWNERS.md 14:09:17 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:04 README.md 14:09:17 -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 14:00 VERSION 14:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:04 bin 14:09:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:04 cmd 14:09:17 -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:08 coverage.out 14:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:04 driver 14:09:17 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:04 go.mod 14:09:17 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:04 go.sum 14:09:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:04 openapi 14:09:17 -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:17 + 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=63560b1f091cdd18f74439d048f83e61f0721fcd --label arch=arm64 --label version=3.1.0-dev.30 . 14:09:17 Sending build context to Docker daemon 140.8kB 14:09:17 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:09:17 Step 2/25 : FROM ${BASE} AS builder 14:09:17 ---> e91bb0b7ced2 14:09:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:09:17 ---> Running in 4a783586d28c 14:09:18 Removing intermediate container 4a783586d28c 14:09:18 ---> e32bb98608a6 14:09:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:09:18 ---> Running in c36ab8b4a04a 14:09:18 Removing intermediate container c36ab8b4a04a 14:09:18 ---> 9d85200c1106 14:09:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:09:18 ---> Running in 770e0189a673 14:09:18 Removing intermediate container 770e0189a673 14:09:18 ---> 69835c2f1231 14:09:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:09:19 ---> Running in 3580a1382e17 14:09:19 Removing intermediate container 3580a1382e17 14:09:19 ---> fdabda0a7e45 14:09:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:09:19 ---> Running in 9621a67f3d49 14:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:09:22 OK: 270 MiB in 56 packages 14:09:23 Removing intermediate container 9621a67f3d49 14:09:23 ---> 1e8c4707b5b2 14:09:23 Step 8/25 : WORKDIR /device-rest-go 14:09:23 ---> Running in e1ee90906c3f 14:09:23 Removing intermediate container e1ee90906c3f 14:09:23 ---> 3c8055ab28b4 14:09:23 Step 9/25 : COPY go.mod vendor* ./ 14:09:26 ---> 9e4d2ccf301c 14:09:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:09:26 ---> Running in 5a04ecc0de1d 14:09:29 Removing intermediate container 5a04ecc0de1d 14:09:29 ---> 3c55abefc85a 14:09:29 Step 11/25 : COPY . . 14:09:29 ---> a94487970a88 14:09:29 Step 12/25 : RUN $MAKE 14:09:29 ---> Running in fc4974c17b2c 14:09:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:11:37 Removing intermediate container fc4974c17b2c 14:11:37 ---> a92bf2c09471 14:11:37 Step 13/25 : FROM alpine:3.18 14:11:37 3.18: Pulling from library/alpine 14:11:37 579b34f0a95b: Pulling fs layer 14:11:37 579b34f0a95b: Verifying Checksum 14:11:37 579b34f0a95b: Download complete 14:11:37 579b34f0a95b: Pull complete 14:11:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:11:37 Status: Downloaded newer image for alpine:3.18 14:11:37 ---> 3cc203321400 14:11:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:11:37 ---> Running in fa0f272d09da 14:11:37 Removing intermediate container fa0f272d09da 14:11:37 ---> e579377debc1 14:11:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:11:37 ---> Running in 19aac59b29a2 14:11:37 Removing intermediate container 19aac59b29a2 14:11:37 ---> 6d2d3bf975aa 14:11:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:11:37 ---> Running in 701991585d84 14:11:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:11:37 (1/1) Installing dumb-init (1.2.5-r2) 14:11:37 Executing busybox-1.36.1-r2.trigger 14:11:37 OK: 8 MiB in 16 packages 14:11:37 Removing intermediate container 701991585d84 14:11:37 ---> 032223fc9418 14:11:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:11:37 ---> f6ccf647971f 14:11:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:11:37 ---> b83d257cdd3b 14:11:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:11:37 ---> 2a955d7cd9f0 14:11:37 Step 20/25 : EXPOSE 59986 14:11:37 ---> Running in 57021991f935 14:11:37 Removing intermediate container 57021991f935 14:11:37 ---> bd41cefa0782 14:11:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:11:37 ---> Running in 0c547080801c 14:11:37 Removing intermediate container 0c547080801c 14:11:37 ---> bad7a8d2ee94 14:11:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:11:37 ---> Running in ccfe090f9406 14:11:37 Removing intermediate container ccfe090f9406 14:11:37 ---> d5dc747b5ca9 14:11:37 Step 23/25 : LABEL arch=arm64 14:11:37 ---> Running in db65c67db031 14:11:37 Removing intermediate container db65c67db031 14:11:37 ---> 0e893751798d 14:11:37 Step 24/25 : LABEL git_sha=63560b1f091cdd18f74439d048f83e61f0721fcd 14:11:37 ---> Running in 9dfca2e1ffeb 14:11:37 Removing intermediate container 9dfca2e1ffeb 14:11:37 ---> 3ee611ab8092 14:11:37 Step 25/25 : LABEL version=3.1.0-dev.30 14:11:37 ---> Running in ae229bd13659 14:11:37 Removing intermediate container ae229bd13659 14:11:37 ---> dc7b90b8bfcd 14:11:37 [Warning] One or more build-args [ARCH] were not consumed 14:11:37 Successfully built dc7b90b8bfcd 14:11:37 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:37 provisioning config files... 14:11:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/150@tmp/config14276388901003544562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:38 ---> docker-login.sh 14:11:38 nexus3.edgexfoundry.org:10001 14:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:38 Configure a credential helper to remove this warning. See 14:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:38 14:11:38 Login Succeeded 14:11:38 nexus3.edgexfoundry.org:10002 14:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:38 Configure a credential helper to remove this warning. See 14:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:38 14:11:38 Login Succeeded 14:11:38 nexus3.edgexfoundry.org:10003 14:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:39 Configure a credential helper to remove this warning. See 14:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:39 14:11:39 Login Succeeded 14:11:39 nexus3.edgexfoundry.org:10004 14:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:39 Configure a credential helper to remove this warning. See 14:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:39 14:11:39 Login Succeeded 14:11:39 docker.io 14:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:40 Configure a credential helper to remove this warning. See 14:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:40 14:11:40 Login Succeeded 14:11:40 ---> docker-login.sh ends [Pipeline] } 14:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:11:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:11:40 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:11:40 63560b1f091cdd18f74439d048f83e61f0721fcd 14:11:40 latest 14:11:40 3.1.0-dev.30 14:11:40 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 14:11:40 main 14:11:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd 14:11:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:11:40 98376fa3f000: Preparing 14:11:40 6a3c349151c3: Preparing 14:11:40 723238f41bd3: Preparing 14:11:40 764d6e17b9ba: Preparing 14:11:40 5f4d9fc4d98d: Preparing 14:11:40 5f4d9fc4d98d: Layer already exists 14:11:41 6a3c349151c3: Pushed 14:11:41 98376fa3f000: Pushed 14:11:41 764d6e17b9ba: Pushed 14:11:47 723238f41bd3: Pushed 14:11:47 63560b1f091cdd18f74439d048f83e61f0721fcd: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:11:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:11:48 98376fa3f000: Preparing 14:11:48 6a3c349151c3: Preparing 14:11:48 723238f41bd3: Preparing 14:11:48 764d6e17b9ba: Preparing 14:11:48 5f4d9fc4d98d: Preparing 14:11:48 6a3c349151c3: Layer already exists 14:11:48 5f4d9fc4d98d: Layer already exists 14:11:48 764d6e17b9ba: Layer already exists 14:11:48 723238f41bd3: Layer already exists 14:11:48 98376fa3f000: Layer already exists 14:11:48 latest: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.30 14:11:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:11:51 98376fa3f000: Preparing 14:11:51 6a3c349151c3: Preparing 14:11:51 723238f41bd3: Preparing 14:11:51 764d6e17b9ba: Preparing 14:11:51 5f4d9fc4d98d: Preparing 14:11:51 5f4d9fc4d98d: Layer already exists 14:11:51 723238f41bd3: Layer already exists 14:11:51 764d6e17b9ba: Layer already exists 14:11:51 6a3c349151c3: Layer already exists 14:11:51 98376fa3f000: Layer already exists 14:11:51 3.1.0-dev.30: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 14:11:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:11:51 98376fa3f000: Preparing 14:11:51 6a3c349151c3: Preparing 14:11:51 723238f41bd3: Preparing 14:11:51 764d6e17b9ba: Preparing 14:11:51 5f4d9fc4d98d: Preparing 14:11:51 6a3c349151c3: Layer already exists 14:11:51 5f4d9fc4d98d: Layer already exists 14:11:51 723238f41bd3: Layer already exists 14:11:51 98376fa3f000: Layer already exists 14:11:51 764d6e17b9ba: Layer already exists 14:11:51 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:11:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:11:52 98376fa3f000: Preparing 14:11:52 6a3c349151c3: Preparing 14:11:52 723238f41bd3: Preparing 14:11:52 764d6e17b9ba: Preparing 14:11:52 5f4d9fc4d98d: Preparing 14:11:52 764d6e17b9ba: Layer already exists 14:11:52 6a3c349151c3: Layer already exists 14:11:52 98376fa3f000: Layer already exists 14:11:52 723238f41bd3: Layer already exists 14:11:52 5f4d9fc4d98d: Layer already exists 14:11:52 main: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:11:52 ===================================================== [Pipeline] echo 14:11:52 taggedImages: 14:11:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd 14:11:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:11:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.30 14:11:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 14:11:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:11:53 14:11:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:11:53 arm64: Pulling from edgex-lftools-log-publisher 14:11:53 8998bd30e6a1: Pulling fs layer 14:11:53 04944245beec: Pulling fs layer 14:11:53 699f458cf7ca: Pulling fs layer 14:11:53 765212b225bb: Pulling fs layer 14:11:53 f23df028b6ca: Pulling fs layer 14:11:53 d65c8cfc05b1: Pulling fs layer 14:11:53 2437ff75d9bd: Pulling fs layer 14:11:53 f23df028b6ca: Waiting 14:11:53 d65c8cfc05b1: Waiting 14:11:53 2437ff75d9bd: Waiting 14:11:53 765212b225bb: Waiting 14:11:53 04944245beec: Verifying Checksum 14:11:53 04944245beec: Download complete 14:11:53 765212b225bb: Verifying Checksum 14:11:53 765212b225bb: Download complete 14:11:53 f23df028b6ca: Verifying Checksum 14:11:53 f23df028b6ca: Download complete 14:11:53 d65c8cfc05b1: Verifying Checksum 14:11:53 d65c8cfc05b1: Download complete 14:11:53 699f458cf7ca: Verifying Checksum 14:11:53 699f458cf7ca: Download complete 14:11:54 8998bd30e6a1: Verifying Checksum 14:11:54 8998bd30e6a1: Download complete 14:11:56 2437ff75d9bd: Verifying Checksum 14:11:56 2437ff75d9bd: Download complete 14:11:58 8998bd30e6a1: Pull complete 14:11:58 04944245beec: Pull complete 14:12:00 699f458cf7ca: Pull complete 14:12:00 765212b225bb: Pull complete 14:12:04 f23df028b6ca: Pull complete 14:12:04 d65c8cfc05b1: Pull complete 14:12:22 2437ff75d9bd: Pull complete 14:12:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:23 prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container 14:12:23 $ 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/150 -v /w/workspace/device-rest-go/150:/w/workspace/device-rest-go/150:rw,z -v /w/workspace/device-rest-go/150@tmp:/w/workspace/device-rest-go/150@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 14:12:24 $ docker top 20b965212b3e17fdedb8b8db2d925b0b5fe14b296e7fb9f9bc40f9d60f22ce25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:12:25 ---> job-cost.sh 14:12:25 lf-activate-venv: SKIPPING 14:12:25 INFO: No Stack... 14:12:25 INFO: Retrieving Pricing Info for: v3-standard-4 14:12:26 INFO: Archiving Costs [Pipeline] sh 14:12:27 + cut -d, -f6 14:12:27 + cat /w/workspace/device-rest-go/150/archives/cost.csv [Pipeline] lock 14:12:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] 14:12:27 Resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] did not exist. Created. 14:12:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:12:27 /w/workspace/device-rest-go/150@tmp/durable-950f4d59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:12:28 + echo total: 0.10999999940395355 [Pipeline] stash 14:12:28 Warning: overwriting stash ‘stack-cost’ 14:12:28 Stashed 1 file(s) [Pipeline] } 14:12:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 14:12:28 $ docker stop --time=1 20b965212b3e17fdedb8b8db2d925b0b5fe14b296e7fb9f9bc40f9d60f22ce25 14:12:30 $ docker rm -f --volumes 20b965212b3e17fdedb8b8db2d925b0b5fe14b296e7fb9f9bc40f9d60f22ce25 [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 14:12:30 provisioning config files... 14:12:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14101419133452693659tmp [Pipeline] { [Pipeline] sh 14:12:30 + set +x 14:12:30 + curl -s https://codecov.io/bash 14:12:30 + bash -s -- 14:12:30 14:12:30 _____ _ 14:12:30 / ____| | | 14:12:30 | | ___ __| | ___ ___ _____ __ 14:12:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:12:30 | |___| (_) | (_| | __/ (_| (_) \ V / 14:12:30 \_____\___/ \__,_|\___|\___\___/ \_/ 14:12:30 Bash-1.0.6 14:12:30 14:12:30 14:12:30 ==> git version 2.25.1 found 14:12:30 ==> 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 14:12:30 Release-Date: 2020-01-08 14:12:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:12:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:12:30 ==> Jenkins CI detected. 14:12:30 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:12:30 project root: . 14:12:30 --> token set from env 14:12:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:12:30 ==> Running gcov in . (disable via -X gcov) 14:12:30 ==> Python coveragepy not found 14:12:30 ==> Searching for coverage reports in: 14:12:30 + . 14:12:30 -> Found 1 reports 14:12:30 ==> Detecting git/mercurial file structure 14:12:30 ==> Reading reports 14:12:30 + ./coverage.out bytes=14499 14:12:31 ==> Appending adjustments 14:12:31 https://docs.codecov.io/docs/fixing-reports 14:12:31 + Found adjustments 14:12:31 ==> Gzipping contents 14:12:31 4.0K /tmp/codecov.RMgpRi.gz 14:12:31 ==> Uploading reports 14:12:31 url: https://codecov.io 14:12:31 query: branch=main&commit=63560b1f091cdd18f74439d048f83e61f0721fcd&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:12:31 -> Pinging Codecov 14:12:31 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=63560b1f091cdd18f74439d048f83e61f0721fcd&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:12:31 -> Uploading to 14:12:31 https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/63560b1f091cdd18f74439d048f83e61f0721fcd/4f5ce426-f311-4f28-b779-210aafb8d70e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T141230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a47394aaad70465da651bf33345bb815ebb52f3a4f9fe48adae46844bd3dc472 14:12:31 % Total % Received % Xferd Average Speed Time Time Time Current 14:12:31 Dload Upload Total Spent Left Speed 14:12:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8087 --:--:-- --:--:-- --:--:-- 8087 14:12:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] } 14:12:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:12:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:12:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:12:32 14:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:12:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:12:32 df9b9388f04a: Pulling fs layer 14:12:32 52dc419b0ee2: Pulling fs layer 14:12:32 25bc292e5bac: Pulling fs layer 14:12:32 114826534d7a: Pulling fs layer 14:12:32 4657fd5d0bcf: Pulling fs layer 14:12:32 6ad1cebc031e: Pulling fs layer 14:12:32 8a3aa393b2d8: Pulling fs layer 14:12:32 114826534d7a: Waiting 14:12:32 6ad1cebc031e: Waiting 14:12:32 4657fd5d0bcf: Waiting 14:12:32 25bc292e5bac: Download complete 14:12:32 52dc419b0ee2: Verifying Checksum 14:12:32 52dc419b0ee2: Download complete 14:12:32 4657fd5d0bcf: Verifying Checksum 14:12:32 4657fd5d0bcf: Download complete 14:12:32 df9b9388f04a: Download complete 14:12:32 df9b9388f04a: Pull complete 14:12:32 6ad1cebc031e: Verifying Checksum 14:12:32 6ad1cebc031e: Download complete 14:12:32 52dc419b0ee2: Pull complete 14:12:32 25bc292e5bac: Pull complete 14:12:33 114826534d7a: Verifying Checksum 14:12:33 114826534d7a: Download complete 14:12:33 8a3aa393b2d8: Verifying Checksum 14:12:33 8a3aa393b2d8: Download complete 14:12:36 114826534d7a: Pull complete 14:12:36 4657fd5d0bcf: Pull complete 14:12:36 6ad1cebc031e: Pull complete 14:12:40 8a3aa393b2d8: Pull complete 14:12:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:12:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:40 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:12:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:12:46 $ docker top c1fbd248484cb3f1cc6894673b9f4c8406724310b2110a16f7c4eeaccda1075a -eo pid,comm [Pipeline] { [Pipeline] echo 14:12:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 14:12:46 + set -o pipefail 14:12:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 14:12:50 14:12:50 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:12:50 14:12:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/c4f77f85-c809-4f9a-97d7-3af0bf6a8f31 14:12:50 14:12:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:12:50 14:12:51 14:12:51 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:12:51 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:12:51 More details here: https://snyk.co/ue1NS 14:12:51 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 14:12:51 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:12:51 $ docker stop --time=1 c1fbd248484cb3f1cc6894673b9f4c8406724310b2110a16f7c4eeaccda1075a 14:12:55 $ docker rm -f --volumes c1fbd248484cb3f1cc6894673b9f4c8406724310b2110a16f7c4eeaccda1075a [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 14:12:55 + git log --format=format:%s -1 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] sh 14:12:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:12:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:56 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:12:57 $ docker top 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a -eo pid,comm 14:12:57 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). 14:12:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:12:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:12:57 [ssh-agent] Looking for ssh-agent implementation... 14:12:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:57 $ docker exec 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a ssh-agent 14:12:57 SSH_AUTH_SOCK=/tmp/ssh-nzLeDrE0g9FR/agent.33 14:12:57 SSH_AGENT_PID=39 14:12:57 Running ssh-add (command line suppressed) 14:12:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11684954960927508087.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11684954960927508087.key) 14:12:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:57 + git semver tag 14:12:58 2023-11-09 14:12:57,976 [run_tag] DEBUG tag force:False 14:12:58 2023-11-09 14:12:57,976 [check_head_tag] DEBUG check head tag 14:12:58 2023-11-09 14:12:57,977 [execute] INFO git cat-file --batch-check 14:12:58 2023-11-09 14:12:57,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:12:58 2023-11-09 14:12:57,981 [execute] INFO git cat-file --batch 14:12:58 2023-11-09 14:12:57,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:12:58 2023-11-09 14:12:57,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:12:58 2023-11-09 14:12:57,996 [execute] INFO git tag -a v3.1.0-dev.30 -m v3.1.0-dev.30 14:12:58 2023-11-09 14:12:57,996 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.30', '-m', 'v3.1.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 14:12:58 2023-11-09 14:12:58,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:12:58 3.1.0-dev.30 [Pipeline] } 14:12:58 $ docker exec --env ******** --env ******** 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a ssh-agent -k 14:12:58 unset SSH_AUTH_SOCK; 14:12:58 unset SSH_AGENT_PID; 14:12:58 echo Agent pid 39 killed; 14:12:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:12:58 + git semver [Pipeline] } 14:12:58 $ docker stop --time=1 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a 14:13:00 $ docker rm -f --volumes 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:13:00 14:13:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:13:00 0.23.1-centos7: Pulling from edgex-lftools 14:13:00 ab5ef0e58194: Pulling fs layer 14:13:00 9712f1f96733: Pulling fs layer 14:13:00 63f879dbbcfc: Pulling fs layer 14:13:00 0d9ebad4ef96: Pulling fs layer 14:13:00 e9a5061849ea: Pulling fs layer 14:13:00 d747dcd14b5f: Pulling fs layer 14:13:00 2de7ff778b66: Pulling fs layer 14:13:00 0d9ebad4ef96: Waiting 14:13:00 e9a5061849ea: Waiting 14:13:00 d747dcd14b5f: Waiting 14:13:00 2de7ff778b66: Waiting 14:13:00 9712f1f96733: Verifying Checksum 14:13:00 9712f1f96733: Download complete 14:13:01 63f879dbbcfc: Verifying Checksum 14:13:01 63f879dbbcfc: Download complete 14:13:01 0d9ebad4ef96: Verifying Checksum 14:13:01 0d9ebad4ef96: Download complete 14:13:01 d747dcd14b5f: Verifying Checksum 14:13:01 d747dcd14b5f: Download complete 14:13:01 e9a5061849ea: Verifying Checksum 14:13:01 e9a5061849ea: Download complete 14:13:01 ab5ef0e58194: Verifying Checksum 14:13:01 ab5ef0e58194: Download complete 14:13:01 2de7ff778b66: Verifying Checksum 14:13:01 2de7ff778b66: Download complete 14:13:04 ab5ef0e58194: Pull complete 14:13:04 9712f1f96733: Pull complete 14:13:04 63f879dbbcfc: Pull complete 14:13:08 0d9ebad4ef96: Pull complete 14:13:08 e9a5061849ea: Pull complete 14:13:08 d747dcd14b5f: Pull complete 14:13:09 2de7ff778b66: Pull complete 14:13:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:13:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:09 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:13:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:13:14 $ docker top 0c68a4afae1b9a8b944bc6a5cb9ebeee6664d1a4c195ab90a29b496d056d4828 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:13:14 provisioning config files... 14:13:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7832294456039945049tmp 14:13:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4870591534949191180tmp 14:13:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1500225974979209550tmp [Pipeline] { [Pipeline] echo 14:13:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:13:14 ---> sigul-configuration.sh 14:13:14 gpg: directory `/root/.gnupg' created 14:13:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:13:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:13:14 gpg: keyring `/root/.gnupg/secring.gpg' created 14:13:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:13:14 gpg: CAST5 encrypted data 14:13:14 gpg: encrypted with 1 passphrase 14:13:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:13:15 + mkdir /home/jenkins 14:13:15 + mkdir /home/jenkins/sigul [Pipeline] sh 14:13:15 + 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 14:13:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:13:15 ---> sigul-install.sh 14:13:15 Sigul already installed; skipping installation. [Pipeline] sh 14:13:16 + git tag --list 14:13:16 v1.0.0 14:13:16 v1.1.0 14:13:16 v1.1.1 14:13:16 v1.1.2 14:13:16 v1.2.0 14:13:16 v1.2.1 14:13:16 v2.0.0 14:13:16 v2.1.0 14:13:16 v2.1.1 14:13:16 v2.2.0 14:13:16 v2.3.0 14:13:16 v3.0 14:13:16 v3.0.0 14:13:16 v3.1.0-dev.1 14:13:16 v3.1.0-dev.10 14:13:16 v3.1.0-dev.11 14:13:16 v3.1.0-dev.12 14:13:16 v3.1.0-dev.13 14:13:16 v3.1.0-dev.14 14:13:16 v3.1.0-dev.15 14:13:16 v3.1.0-dev.16 14:13:16 v3.1.0-dev.17 14:13:16 v3.1.0-dev.18 14:13:16 v3.1.0-dev.19 14:13:16 v3.1.0-dev.2 14:13:16 v3.1.0-dev.20 14:13:16 v3.1.0-dev.21 14:13:16 v3.1.0-dev.22 14:13:16 v3.1.0-dev.23 14:13:16 v3.1.0-dev.24 14:13:16 v3.1.0-dev.25 14:13:16 v3.1.0-dev.26 14:13:16 v3.1.0-dev.27 14:13:16 v3.1.0-dev.28 14:13:16 v3.1.0-dev.29 14:13:16 v3.1.0-dev.3 14:13:16 v3.1.0-dev.30 14:13:16 v3.1.0-dev.4 14:13:16 v3.1.0-dev.5 14:13:16 v3.1.0-dev.6 14:13:16 v3.1.0-dev.7 14:13:16 v3.1.0-dev.8 14:13:16 v3.1.0-dev.9 [Pipeline] sh 14:13:16 + lftools sign git-tag v3.1.0-dev.30 14:13:16 Signing Git tag with Sigul... 14:13:16 Signing v3.1.0-dev.30 [Pipeline] echo 14:13:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:13:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:13:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:13:17 $ docker stop --time=1 0c68a4afae1b9a8b944bc6a5cb9ebeee6664d1a4c195ab90a29b496d056d4828 14:13:18 $ docker rm -f --volumes 0c68a4afae1b9a8b944bc6a5cb9ebeee6664d1a4c195ab90a29b496d056d4828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:13:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:13:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:19 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:13:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:13:19 $ docker top 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 -eo pid,comm 14:13:19 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). 14:13:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:20 [ssh-agent] Looking for ssh-agent implementation... 14:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:20 $ docker exec 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 ssh-agent 14:13:20 SSH_AUTH_SOCK=/tmp/ssh-3x2PPSCpMnCt/agent.32 14:13:20 SSH_AGENT_PID=38 14:13:20 Running ssh-add (command line suppressed) 14:13:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9992472555361185923.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9992472555361185923.key) 14:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:20 + git semver bump pre 14:13:20 2023-11-09 14:13:20,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:20 2023-11-09 14:13:20,839 [bump_version] DEBUG bumping version:3.1.0-dev.30 on axis:pre with prefix:dev 14:13:20 2023-11-09 14:13:20,839 [bump_version] DEBUG bumped version:3.1.0-dev.31 14:13:20 2023-11-09 14:13:20,839 [write_version] DEBUG write version:3.1.0-dev.31 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 14:13:20 2023-11-09 14:13:20,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:20 2023-11-09 14:13:20,839 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:20 2023-11-09 14:13:20,842 [execute] INFO git cat-file --batch-check 14:13:20 2023-11-09 14:13:20,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:13:20 2023-11-09 14:13:20,847 [execute] INFO git cat-file --batch 14:13:20 2023-11-09 14:13:20,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:13:20 2023-11-09 14:13:20,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:20 3.1.0-dev.31 [Pipeline] } 14:13:20 $ docker exec --env ******** --env ******** 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 ssh-agent -k 14:13:21 unset SSH_AUTH_SOCK; 14:13:21 unset SSH_AGENT_PID; 14:13:21 echo Agent pid 38 killed; 14:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:21 + git semver [Pipeline] } 14:13:21 $ docker stop --time=1 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 14:13:22 $ docker rm -f --volumes 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:13:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:23 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:13:24 $ docker top 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 -eo pid,comm 14:13:24 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). 14:13:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:13:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:24 [ssh-agent] Looking for ssh-agent implementation... 14:13:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:24 $ docker exec 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 ssh-agent 14:13:24 SSH_AUTH_SOCK=/tmp/ssh-I66JNMdGpE5Z/agent.32 14:13:24 SSH_AGENT_PID=38 14:13:24 Running ssh-add (command line suppressed) 14:13:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5898356898448750740.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5898356898448750740.key) 14:13:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:24 + git semver push 14:13:25 2023-11-09 14:13:25,006 [run_push] DEBUG push 14:13:25 2023-11-09 14:13:25,006 [execute] INFO git cat-file --batch-check 14:13:25 2023-11-09 14:13:25,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:13:25 2023-11-09 14:13:25,010 [execute] INFO git rev-list aff3c251a8d598e779dd1e60b114d24470ba96b4 -- 14:13:25 2023-11-09 14:13:25,010 [execute] DEBUG Popen(['git', 'rev-list', 'aff3c251a8d598e779dd1e60b114d24470ba96b4', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:13:25 2023-11-09 14:13:25,018 [execute] INFO git fetch -v origin 14:13:25 2023-11-09 14:13:25,019 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:13:25 2023-11-09 14:13:25,561 [run_push] DEBUG no remote changes detected 14:13:25 2023-11-09 14:13:25,562 [execute] INFO git push origin semver 14:13:25 2023-11-09 14:13:25,562 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:13:26 2023-11-09 14:13:26,435 [run_push] DEBUG push all version tags 14:13:26 2023-11-09 14:13:26,435 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:13:26 2023-11-09 14:13:26,436 [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) 14:13:27 2023-11-09 14:13:27,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:27 3.1.0-dev.31 [Pipeline] } 14:13:27 $ docker exec --env ******** --env ******** 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 ssh-agent -k 14:13:27 unset SSH_AUTH_SOCK; 14:13:27 unset SSH_AGENT_PID; 14:13:27 echo Agent pid 38 killed; 14:13:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:27 + git semver [Pipeline] } 14:13:28 $ docker stop --time=1 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 14:13:29 $ docker rm -f --volumes 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 [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 14:13:30 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 14:13:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:13:30 total 16 14:13:30 drwxr-xr-x 3 root root 4096 Nov 9 14:03 . 14:13:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:13 .. 14:13:30 drwxr-xr-x 2 root root 4096 Nov 9 14:03 cost 14:13:30 -rw-r--r-- 1 root root 86 Nov 9 14:03 cost.csv 14:13:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 14:13:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:13:30 total 16 14:13:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:03 . 14:13:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:13 .. 14:13:30 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 14:03 cost 14:13:30 -rw-r--r-- 1 jenkins jenkins 86 Nov 9 14:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:13:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:13:31 ---> package-listing.sh 14:13:31 ++ facter osfamily 14:13:31 ++ tr '[:upper:]' '[:lower:]' 14:13:31 + OS_FAMILY=debian 14:13:31 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:13:31 + START_PACKAGES=/tmp/packages_start.txt 14:13:31 + END_PACKAGES=/tmp/packages_end.txt 14:13:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:13:31 + PACKAGES=/tmp/packages_start.txt 14:13:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:13:31 + PACKAGES=/tmp/packages_end.txt 14:13:31 + case "${OS_FAMILY}" in 14:13:31 + dpkg -l 14:13:31 + grep '^ii' 14:13:31 + '[' -f /tmp/packages_start.txt ']' 14:13:31 + '[' -f /tmp/packages_end.txt ']' 14:13:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:13:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:13:31 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:13:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:13:31 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 14:13:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:32 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 14:13:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:13:32 $ docker top 07da232374158608417a1ec8b0461b9df24897ee4f577e2e8e10d776dc2f9f88 -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:32 + touch /tmp/pre-build-complete [Pipeline] sh 14:13:33 + mkdir -p /var/log/sysstat [Pipeline] sh 14:13:33 + ls /var/log/sa-host 14:13:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:13:33 provisioning config files... 14:13:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11323988752780052853tmp [Pipeline] { [Pipeline] echo 14:13:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:13:33 ---> create-netrc.sh [Pipeline] } 14:13:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:13:34 ---> python-tools-install.sh [Pipeline] echo 14:13:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:13:34 ---> sudo-logs.sh 14:13:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:13:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:13:34 ---> job-cost.sh 14:13:34 lf-activate-venv: SKIPPING 14:13:34 DEBUG: total: 0.2199999988079071 14:13:34 INFO: Retrieving Stack Cost... 14:13:34 INFO: Retrieving Pricing Info for: v3-standard-8 14:13:35 INFO: Archiving Costs [Pipeline] echo 14:13:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:13:35 ---> logs-deploy.sh 14:13:35 lf-activate-venv: SKIPPING 14:13:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/150 14:13:35 INFO: archiving workspace using pattern(s): 14:13:36 Archives upload complete. 14:13:36 INFO: archiving logs to Nexus