Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 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-ssh1079621363981062359.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12403397271000220285.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12202664847369061864.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7768980672167027575.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-ssh16837566559785052151.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6631 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#342)" > 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 > git rev-list --no-walk 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:17 ========================================================= 23:08:17 EdgeX Global Pipelines Version Info 23:08:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:19 ------------------- 23:08:19 stable info: 23:08:19 ------------------- 23:08:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:19 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:08:19 Message: update stable to v1.0.254 23:08:19 ------------------- 23:08:19 experimental info: 23:08:19 ------------------- 23:08:19 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:19 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:08:19 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:08:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a5bbfd [Pipeline] echo 23:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:20 provisioning config files... 23:08:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4003650074815307871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:20 ---> docker-login.sh 23:08:20 nexus3.edgexfoundry.org:10001 23:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:22 Configure a credential helper to remove this warning. See 23:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:22 23:08:22 Login Succeeded 23:08:22 nexus3.edgexfoundry.org:10002 23:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:22 Configure a credential helper to remove this warning. See 23:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:22 23:08:22 Login Succeeded 23:08:22 nexus3.edgexfoundry.org:10003 23:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:22 Configure a credential helper to remove this warning. See 23:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:22 23:08:22 Login Succeeded 23:08:22 nexus3.edgexfoundry.org:10004 23:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:22 Configure a credential helper to remove this warning. See 23:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:22 23:08:22 Login Succeeded 23:08:22 docker.io 23:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:23 Configure a credential helper to remove this warning. See 23:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:23 23:08:23 Login Succeeded 23:08:23 ---> docker-login.sh ends [Pipeline] } 23:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:08:24 + git rev-list -1 --merges 6a5bbfd9e0df4486290843fbebd273780ea8bdd3~1..6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] echo 23:08:24 -----------> git rev-list -1 --merges 6a5bbfd9e0df4486290843fbebd273780ea8bdd3~1..6a5bbfd9e0df4486290843fbebd273780ea8bdd3 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [false] [Pipeline] sh 23:08:24 + git log --format=format:%s -1 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] echo 23:08:24 ========================================================= 23:08:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:08:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:25 + git log --format=format:%s -1 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] echo 23:08:25 [semverPrep] GIT_COMMIT: 6a5bbfd9e0df4486290843fbebd273780ea8bdd3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#342) [Pipeline] echo 23:08:25 [semverPrep] This is not a build commit. [Pipeline] sh 23:08:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:25 + grep -v github /etc/ssh/ssh_known_hosts 23:08:25 + [ -e /tmp/ssh_known_hosts ] 23:08:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:08:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:08:25 + sudo tee -a /etc/ssh/ssh_known_hosts 23:08:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:25 23:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:26 0.1.4: Pulling from edgex-devops/py-git-semver 23:08:26 b85a868b505f: Pulling fs layer 23:08:26 e2be974225ed: Pulling fs layer 23:08:26 339a4e72a1f5: Pulling fs layer 23:08:26 988bab9f4d93: Pulling fs layer 23:08:26 1469e6f7b9e6: Pulling fs layer 23:08:26 eaf3925da568: Pulling fs layer 23:08:26 bab4dde63d76: Pulling fs layer 23:08:26 bde34c3a00c8: Pulling fs layer 23:08:26 b352a97aabf1: Pulling fs layer 23:08:26 4872d77fe225: Pulling fs layer 23:08:26 5851b861e8e6: Pulling fs layer 23:08:26 988bab9f4d93: Waiting 23:08:26 bab4dde63d76: Waiting 23:08:26 bde34c3a00c8: Waiting 23:08:26 b352a97aabf1: Waiting 23:08:26 4872d77fe225: Waiting 23:08:26 5851b861e8e6: Waiting 23:08:26 eaf3925da568: Waiting 23:08:26 1469e6f7b9e6: Waiting 23:08:26 e2be974225ed: Verifying Checksum 23:08:26 e2be974225ed: Download complete 23:08:26 988bab9f4d93: Download complete 23:08:26 339a4e72a1f5: Verifying Checksum 23:08:26 339a4e72a1f5: Download complete 23:08:26 1469e6f7b9e6: Verifying Checksum 23:08:26 1469e6f7b9e6: Download complete 23:08:26 eaf3925da568: Verifying Checksum 23:08:26 eaf3925da568: Download complete 23:08:26 bde34c3a00c8: Verifying Checksum 23:08:26 bde34c3a00c8: Download complete 23:08:26 b352a97aabf1: Download complete 23:08:26 4872d77fe225: Download complete 23:08:26 5851b861e8e6: Verifying Checksum 23:08:26 5851b861e8e6: Download complete 23:08:26 b85a868b505f: Download complete 23:08:26 bab4dde63d76: Download complete 23:08:27 b85a868b505f: Pull complete 23:08:27 e2be974225ed: Pull complete 23:08:28 339a4e72a1f5: Pull complete 23:08:28 988bab9f4d93: Pull complete 23:08:28 1469e6f7b9e6: Pull complete 23:08:28 eaf3925da568: Pull complete 23:08:30 bab4dde63d76: Pull complete 23:08:30 bde34c3a00c8: Pull complete 23:08:31 b352a97aabf1: Pull complete 23:08:31 4872d77fe225: Pull complete 23:08:31 5851b861e8e6: Pull complete 23:08:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:08:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:31 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:35 $ docker top 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:35 [ssh-agent] Looking for ssh-agent implementation... 23:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:35 $ docker exec 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 ssh-agent 23:08:35 SSH_AUTH_SOCK=/tmp/ssh-AGooL71uJPWv/agent.31 23:08:35 SSH_AGENT_PID=37 23:08:35 Running ssh-add (command line suppressed) 23:08:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16167870810200731629.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16167870810200731629.key) 23:08:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:36 + git tag --points-at HEAD [Pipeline] } 23:08:36 $ docker exec --env ******** --env ******** 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 ssh-agent -k 23:08:36 unset SSH_AUTH_SOCK; 23:08:36 unset SSH_AGENT_PID; 23:08:36 echo Agent pid 37 killed; 23:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:36 [ssh-agent] Looking for ssh-agent implementation... 23:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:36 $ docker exec 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 ssh-agent 23:08:36 SSH_AUTH_SOCK=/tmp/ssh-qXTtHGTFEx04/agent.69 23:08:36 SSH_AGENT_PID=75 23:08:36 Running ssh-add (command line suppressed) 23:08:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1574416051807316720.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1574416051807316720.key) 23:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:37 + git semver init 23:08:37 2023-09-19 23:08:37,243 [run_init] DEBUG init version:0.0.0 force:False 23:08:37 2023-09-19 23:08:37,244 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:08:37 2023-09-19 23:08:37,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:08:37 2023-09-19 23:08:37,244 [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) 23:08:38 2023-09-19 23:08:38,269 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:08:38 2023-09-19 23:08:38,270 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:08:38 2023-09-19 23:08:38,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:08:38 2023-09-19 23:08:38,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:08:38 3.1.0-dev.14 [Pipeline] } 23:08:38 $ docker exec --env ******** --env ******** 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 ssh-agent -k 23:08:38 unset SSH_AUTH_SOCK; 23:08:38 unset SSH_AGENT_PID; 23:08:38 echo Agent pid 75 killed; 23:08:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:39 + git semver [Pipeline] } 23:08:39 $ docker stop --time=1 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 23:08:40 $ docker rm -f --volumes 8723f335a77b5675fc8e8147d91319269143f8babb6854a9dca9825e52761e75 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:41 Stashed 1 file(s) [Pipeline] echo 23:08:41 [edgeXSemver]: initialized semver on version 3.1.0-dev.14 [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 23:08:41 provisioning config files... 23:08:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11499747503336873114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:41 ---> docker-login.sh 23:08:41 nexus3.edgexfoundry.org:10001 23:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:41 Configure a credential helper to remove this warning. See 23:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:41 23:08:41 Login Succeeded 23:08:41 nexus3.edgexfoundry.org:10002 23:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:41 Configure a credential helper to remove this warning. See 23:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:41 23:08:41 Login Succeeded 23:08:41 nexus3.edgexfoundry.org:10003 23:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:41 Configure a credential helper to remove this warning. See 23:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:41 23:08:41 Login Succeeded 23:08:41 nexus3.edgexfoundry.org:10004 23:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:41 Configure a credential helper to remove this warning. See 23:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:41 23:08:41 Login Succeeded 23:08:41 docker.io 23:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:42 Configure a credential helper to remove this warning. See 23:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:42 23:08:42 Login Succeeded 23:08:42 ---> docker-login.sh ends [Pipeline] } 23:08:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:42 ========================================================= 23:08:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:08:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:42 + 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 . 23:08:42 Sending build context to Docker daemon 10.9MB 23:08:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:08:42 Step 2/12 : FROM ${BASE} AS builder 23:08:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:08:42 7264a8db6415: Pulling fs layer 23:08:42 c4d48a809fc2: Pulling fs layer 23:08:42 4f1c88b9dad5: Pulling fs layer 23:08:42 ad3a456e5733: Pulling fs layer 23:08:42 9e4f439ed901: Pulling fs layer 23:08:42 feaf6a47b606: Pulling fs layer 23:08:42 5e8b037d7d82: Pulling fs layer 23:08:42 8ac70367396e: Pulling fs layer 23:08:42 6db16350a2e2: Pulling fs layer 23:08:42 9250d5d63582: Pulling fs layer 23:08:42 ad3a456e5733: Waiting 23:08:42 5e8b037d7d82: Waiting 23:08:42 8ac70367396e: Waiting 23:08:42 6db16350a2e2: Waiting 23:08:42 9250d5d63582: Waiting 23:08:42 feaf6a47b606: Waiting 23:08:42 9e4f439ed901: Waiting 23:08:42 c4d48a809fc2: Verifying Checksum 23:08:42 c4d48a809fc2: Download complete 23:08:42 ad3a456e5733: Download complete 23:08:42 9e4f439ed901: Download complete 23:08:42 7264a8db6415: Verifying Checksum 23:08:42 7264a8db6415: Download complete 23:08:42 feaf6a47b606: Verifying Checksum 23:08:42 feaf6a47b606: Download complete 23:08:42 7264a8db6415: Pull complete 23:08:43 8ac70367396e: Verifying Checksum 23:08:43 8ac70367396e: Download complete 23:08:43 c4d48a809fc2: Pull complete 23:08:43 4f1c88b9dad5: Download complete 23:08:43 6db16350a2e2: Verifying Checksum 23:08:43 6db16350a2e2: Download complete 23:08:43 9250d5d63582: Verifying Checksum 23:08:43 9250d5d63582: Download complete 23:08:43 5e8b037d7d82: Verifying Checksum 23:08:43 5e8b037d7d82: Download complete 23:08:46 4f1c88b9dad5: Pull complete 23:08:46 ad3a456e5733: Pull complete 23:08:46 9e4f439ed901: Pull complete 23:08:46 feaf6a47b606: Pull complete 23:08:48 5e8b037d7d82: Pull complete 23:08:49 8ac70367396e: Pull complete 23:08:49 6db16350a2e2: Pull complete 23:08:50 9250d5d63582: Pull complete 23:08:50 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 23:08:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:08:50 ---> fa269f55d9b9 23:08:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:08:56 Still waiting to schedule task 23:08:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:08:58 ---> Running in be3a708498fe 23:08:58 Removing intermediate container be3a708498fe 23:08:58 ---> cdcc0999895c 23:08:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:58 ---> Running in 269048036b85 23:08:58 Removing intermediate container 269048036b85 23:08:58 ---> 4289ff2fdfc1 23:08:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:08:58 ---> Running in 4fb4279a3536 23:08:58 Removing intermediate container 4fb4279a3536 23:08:58 ---> 68c453cf3dde 23:08:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:08:58 ---> Running in c387d1c25d3e 23:08:58 Removing intermediate container c387d1c25d3e 23:08:58 ---> ecee606d3863 23:08:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:08:58 ---> Running in b628731062c1 23:08:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:08:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:08:58 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:08:58 (2/4) Installing libedit (20221030.3.1-r1) 23:08:58 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:08:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:08:58 Executing busybox-1.36.1-r2.trigger 23:08:58 OK: 270 MiB in 60 packages 23:08:59 Removing intermediate container b628731062c1 23:08:59 ---> f601b3138d99 23:08:59 Step 8/12 : WORKDIR /device-rest-go 23:08:59 ---> Running in 1e755452fa69 23:08:59 Removing intermediate container 1e755452fa69 23:08:59 ---> e430a330051d 23:08:59 Step 9/12 : COPY go.mod vendor* ./ 23:08:59 ---> d32c95dc9fb4 23:08:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:59 ---> Running in f68e4f0ccd9a 23:09:45 Removing intermediate container f68e4f0ccd9a 23:09:45 ---> 53b6747ff232 23:09:45 Step 11/12 : COPY . . 23:09:46 ---> 24690cdd0f71 23:09:46 Step 12/12 : RUN $MAKE 23:09:46 ---> Running in 16110f37010a 23:09:46 noop 23:09:47 Removing intermediate container 16110f37010a 23:09:47 ---> 3e905108ce9a 23:09:47 Successfully built 3e905108ce9a 23:09:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:47 + docker inspect -f . ci-base-image-x86_64 23:09:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:47 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:09:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:09:48 $ docker top e3dc504225023452978f84000a082367ee0c8091af7bc2f80956751aaa921040 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:48 + go version 23:09:48 go version go1.21.0 linux/amd64 [Pipeline] } 23:09:48 $ docker stop --time=1 e3dc504225023452978f84000a082367ee0c8091af7bc2f80956751aaa921040 23:09:49 $ docker rm -f --volumes e3dc504225023452978f84000a082367ee0c8091af7bc2f80956751aaa921040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:50 + docker inspect -f . ci-base-image-x86_64 23:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:50 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:09:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:09:50 $ docker top 80f3095ecde7b968848a2b61c57d86a4d97be45420a5a26efec395625ce4e85a -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:09:51 + make test 23:09:51 go test ./... -coverprofile=coverage.out ./... 23:09:52 ? github.com/edgexfoundry/device-rest-go [no test files] 23:10:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:10:02 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements 23:10:09 go vet ./... 23:10:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:10:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:10:12 ./bin/test-attribution-txt.sh [Pipeline] echo 23:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:10:12 $ docker stop --time=1 80f3095ecde7b968848a2b61c57d86a4d97be45420a5a26efec395625ce4e85a 23:10:15 $ docker rm -f --volumes 80f3095ecde7b968848a2b61c57d86a4d97be45420a5a26efec395625ce4e85a [Pipeline] // withDockerContainer [Pipeline] sh 23:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:10:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:10:17 + ls -al . 23:10:17 total 188 23:10:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 23:09 . 23:10:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 23:08 .. 23:10:17 -rw-rw-r-- 1 jenkins jenkins 151 Sep 19 23:08 .dockerignore 23:10:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 23:10 .git 23:10:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 23:08 .github 23:10:17 -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 23:08 .gitignore 23:10:17 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 23:08 .golangci.yml 23:10:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 23:08 .semver 23:10:17 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 19 23:08 Attribution.txt 23:10:17 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 19 23:08 CHANGELOG.md 23:10:17 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 19 23:08 Dockerfile 23:10:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 23:08 GOVERNANCE.md 23:10:17 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 23:08 Jenkinsfile 23:10:17 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 23:08 LICENSE 23:10:17 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 19 23:08 Makefile 23:10:17 -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 23:08 OWNERS.md 23:10:17 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 19 23:08 README.md 23:10:17 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 23:08 VERSION 23:10:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 23:08 bin 23:10:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 23:08 cmd 23:10:17 -rw-r--r-- 1 jenkins jenkins 14499 Sep 19 23:10 coverage.out 23:10:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 23:08 driver 23:10:17 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 19 23:08 go.mod 23:10:17 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 23:08 go.sum 23:10:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 23:08 snap 23:10:17 -rw-rw-r-- 1 jenkins jenkins 713 Sep 19 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:17 + 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=6a5bbfd9e0df4486290843fbebd273780ea8bdd3 --label arch=amd64 --label version=3.1.0-dev.14 . 23:10:17 Sending build context to Docker daemon 10.92MB 23:10:17 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:10:17 Step 2/25 : FROM ${BASE} AS builder 23:10:17 ---> 3e905108ce9a 23:10:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:10:17 ---> Running in 6dd0828dd0c6 23:10:17 Removing intermediate container 6dd0828dd0c6 23:10:17 ---> 4ca0526cea18 23:10:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:10:17 ---> Running in a8cc61b97a86 23:10:17 Removing intermediate container a8cc61b97a86 23:10:17 ---> ca4f2aa5248d 23:10:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:10:17 ---> Running in b331f5c7ce2e 23:10:17 Removing intermediate container b331f5c7ce2e 23:10:17 ---> 34387673aead 23:10:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:10:17 ---> Running in bc1438574a50 23:10:17 Removing intermediate container bc1438574a50 23:10:17 ---> dcd233f9bfa9 23:10:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:10:17 ---> Running in ff600803b4c4 23:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:10:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:10:21 OK: 270 MiB in 60 packages 23:10:21 Removing intermediate container ff600803b4c4 23:10:21 ---> cd3cc5d570cc 23:10:21 Step 8/25 : WORKDIR /device-rest-go 23:10:21 ---> Running in fe86401dc4d6 23:10:21 Removing intermediate container fe86401dc4d6 23:10:21 ---> 2a53da376dc3 23:10:21 Step 9/25 : COPY go.mod vendor* ./ 23:10:21 ---> 4bce14d3a145 23:10:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:21 ---> Running in 4cd6d58ce460 23:10:22 Removing intermediate container 4cd6d58ce460 23:10:22 ---> b805a3740734 23:10:22 Step 11/25 : COPY . . 23:10:23 ---> 61aebbfdc82f 23:10:23 Step 12/25 : RUN $MAKE 23:10:23 ---> Running in 552f6a113b82 23:10:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:10:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6632 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:10:30 Running in /w/workspace/device-rest-go/134 [Pipeline] { [Pipeline] checkout 23:10:30 The recommended git tool is: git 23:10:34 using credential edgex-jenkins-ssh 23:10:34 Cloning the remote Git repository 23:10:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:10:35 > git init /w/workspace/device-rest-go/134 # timeout=10 23:10:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:10:35 > git --version # timeout=10 23:10:35 > git --version # 'git version 2.25.1' 23:10:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:10:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:37 Avoid second fetch 23:10:37 Checking out Revision 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 (main) 23:10:38 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#342)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:10:37 > git config core.sparsecheckout # timeout=10 23:10:38 > git checkout -f 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 23:10:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:10:39 % Total % Received % Xferd Average Speed Time Time Time Current 23:10:39 Dload Upload Total Spent Left Speed 23:10:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 23:10:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:10:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:10:40 + sudo tee /etc/docker/daemon.new 23:10:40 { 23:10:40 "registry-mirrors": [ 23:10:40 "https://nexus3.edgexfoundry.org:10001" 23:10:40 ], 23:10:40 "bip": "10.250.0.254/24", 23:10:40 "hosts": [ 23:10:40 "tcp://0.0.0.0:5555", 23:10:40 "unix:///var/run/docker.sock" 23:10:40 ], 23:10:40 "mtu": 1458, 23:10:40 "selinux-enabled": true, 23:10:40 "seccomp-profile": "/etc/docker/seccomp.json" 23:10:40 } [Pipeline] sh 23:10:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:10:40 + sudo service docker restart 23:10:45 Removing intermediate container 552f6a113b82 23:10:45 ---> 14d099c7bf0d 23:10:45 Step 13/25 : FROM alpine:3.18 23:10:45 3.18: Pulling from library/alpine 23:10:45 7264a8db6415: Already exists 23:10:45 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 23:10:45 Status: Downloaded newer image for alpine:3.18 23:10:45 ---> 7e01a0d0a1dc 23:10:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:10:45 ---> Running in 9937035f4457 23:10:45 Removing intermediate container 9937035f4457 23:10:45 ---> 9f1ddf60614c 23:10:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:10:45 ---> Running in 3de141c5309f 23:10:45 Removing intermediate container 3de141c5309f 23:10:45 ---> ac3c346b433a 23:10:45 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:10:45 ---> Running in 003baa1db965 23:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:10:45 (1/1) Installing dumb-init (1.2.5-r2) 23:10:45 Executing busybox-1.36.1-r2.trigger 23:10:45 OK: 7 MiB in 16 packages 23:10:46 Removing intermediate container 003baa1db965 23:10:46 ---> e6e2c8383269 23:10:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:10:46 ---> 4e36690a3e92 23:10:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:10:47 ---> 6e27e76c806d 23:10:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:10:47 ---> 3f3a1762b285 23:10:47 Step 20/25 : EXPOSE 59986 23:10:47 ---> Running in ea088fc22553 23:10:47 Removing intermediate container ea088fc22553 23:10:47 ---> 65f086690fc0 23:10:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:10:47 ---> Running in c5b20fe40ea4 23:10:47 Removing intermediate container c5b20fe40ea4 23:10:47 ---> 4b2b37051a9d 23:10:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:10:47 ---> Running in 7247930ec243 23:10:47 Removing intermediate container 7247930ec243 23:10:47 ---> e8fdfe93acbe 23:10:47 Step 23/25 : LABEL arch=amd64 23:10:47 ---> Running in 8f9932fbcfdc 23:10:47 Removing intermediate container 8f9932fbcfdc 23:10:47 ---> 4d1199ee93f1 23:10:47 Step 24/25 : LABEL git_sha=6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:10:47 ---> Running in 3442d1a55a90 23:10:48 Removing intermediate container 3442d1a55a90 23:10:48 ---> dc207b2cb0a1 23:10:48 Step 25/25 : LABEL version=3.1.0-dev.14 23:10:48 ---> Running in a25fa8c4efd7 23:10:48 Removing intermediate container a25fa8c4efd7 23:10:48 ---> 7d07a4cd1387 23:10:48 [Warning] One or more build-args [ARCH] were not consumed 23:10:48 Successfully built 7d07a4cd1387 23:10:48 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:48 provisioning config files... 23:10:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7172069662061024216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:48 ---> docker-login.sh 23:10:48 nexus3.edgexfoundry.org:10001 23:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:48 Configure a credential helper to remove this warning. See 23:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:48 23:10:48 Login Succeeded 23:10:48 nexus3.edgexfoundry.org:10002 23:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:48 Configure a credential helper to remove this warning. See 23:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:48 23:10:48 Login Succeeded 23:10:48 nexus3.edgexfoundry.org:10003 23:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:48 Configure a credential helper to remove this warning. See 23:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:48 23:10:48 Login Succeeded 23:10:48 nexus3.edgexfoundry.org:10004 23:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:48 Configure a credential helper to remove this warning. See 23:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:48 23:10:48 Login Succeeded 23:10:48 docker.io 23:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:48 Configure a credential helper to remove this warning. See 23:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:48 23:10:48 Login Succeeded 23:10:48 ---> docker-login.sh ends [Pipeline] } 23:10:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:10:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:10:49 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:10:49 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:10:49 latest 23:10:49 3.1.0-dev.14 23:10:49 6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 23:10:49 main 23:10:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:10:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:49 6ac95b9cd97f: Preparing 23:10:49 5b4bb1bdd5bd: Preparing 23:10:49 793fa39c068f: Preparing 23:10:49 f98017e8b7fb: Preparing 23:10:49 4693057ce236: Preparing 23:10:49 4693057ce236: Layer already exists 23:10:49 6ac95b9cd97f: Pushed 23:10:49 f98017e8b7fb: Pushed 23:10:49 5b4bb1bdd5bd: Pushed 23:10:52 793fa39c068f: Pushed 23:10:52 6a5bbfd9e0df4486290843fbebd273780ea8bdd3: digest: sha256:e70cb346f73494081151c903e844f5573eb839be41c5963b55c5bd755057cf61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:10:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:53 6ac95b9cd97f: Preparing 23:10:53 5b4bb1bdd5bd: Preparing 23:10:53 793fa39c068f: Preparing 23:10:53 f98017e8b7fb: Preparing 23:10:53 4693057ce236: Preparing 23:10:53 f98017e8b7fb: Layer already exists 23:10:53 5b4bb1bdd5bd: Layer already exists 23:10:53 793fa39c068f: Layer already exists 23:10:53 6ac95b9cd97f: Layer already exists 23:10:53 4693057ce236: Layer already exists 23:10:53 latest: digest: sha256:e70cb346f73494081151c903e844f5573eb839be41c5963b55c5bd755057cf61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.14 23:10:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:54 6ac95b9cd97f: Preparing 23:10:54 5b4bb1bdd5bd: Preparing 23:10:54 793fa39c068f: Preparing 23:10:54 f98017e8b7fb: Preparing 23:10:54 4693057ce236: Preparing 23:10:54 4693057ce236: Layer already exists 23:10:54 793fa39c068f: Layer already exists 23:10:54 6ac95b9cd97f: Layer already exists 23:10:54 f98017e8b7fb: Layer already exists 23:10:54 5b4bb1bdd5bd: Layer already exists 23:10:54 3.1.0-dev.14: digest: sha256:e70cb346f73494081151c903e844f5573eb839be41c5963b55c5bd755057cf61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 23:10:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:54 6ac95b9cd97f: Preparing 23:10:54 5b4bb1bdd5bd: Preparing 23:10:54 793fa39c068f: Preparing 23:10:54 f98017e8b7fb: Preparing 23:10:54 4693057ce236: Preparing 23:10:54 4693057ce236: Layer already exists 23:10:54 793fa39c068f: Layer already exists 23:10:54 5b4bb1bdd5bd: Layer already exists 23:10:54 f98017e8b7fb: Layer already exists 23:10:54 6ac95b9cd97f: Layer already exists 23:10:54 6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14: digest: sha256:e70cb346f73494081151c903e844f5573eb839be41c5963b55c5bd755057cf61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:10:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:55 6ac95b9cd97f: Preparing 23:10:55 5b4bb1bdd5bd: Preparing 23:10:55 793fa39c068f: Preparing 23:10:55 f98017e8b7fb: Preparing 23:10:55 4693057ce236: Preparing 23:10:55 4693057ce236: Layer already exists 23:10:55 f98017e8b7fb: Layer already exists 23:10:55 6ac95b9cd97f: Layer already exists 23:10:55 793fa39c068f: Layer already exists 23:10:55 5b4bb1bdd5bd: Layer already exists 23:10:55 main: digest: sha256:e70cb346f73494081151c903e844f5573eb839be41c5963b55c5bd755057cf61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:10:55 ===================================================== [Pipeline] echo 23:10:55 taggedImages: 23:10:55 - nexus3.edgexfoundry.org:10004/device-rest:6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:10:55 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:10:55 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.14 23:10:55 - nexus3.edgexfoundry.org:10004/device-rest:6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 23:10:55 - 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 23:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:55 23:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:56 latest: Pulling from edgex-lftools-log-publisher 23:10:56 5eb5b503b376: Pulling fs layer 23:10:56 5c69ac0246d0: Pulling fs layer 23:10:56 ec43610c2a17: Pulling fs layer 23:10:56 3a2ae6a8a46f: Pulling fs layer 23:10:56 33b1e0a273af: Pulling fs layer 23:10:56 5d3b04190fa2: Pulling fs layer 23:10:56 2f39f015ded8: Pulling fs layer 23:10:56 33b1e0a273af: Waiting 23:10:56 5d3b04190fa2: Waiting 23:10:56 3a2ae6a8a46f: Waiting 23:10:56 2f39f015ded8: Waiting 23:10:56 5c69ac0246d0: Verifying Checksum 23:10:56 5c69ac0246d0: Download complete 23:10:56 3a2ae6a8a46f: Verifying Checksum 23:10:56 3a2ae6a8a46f: Download complete 23:10:56 33b1e0a273af: Verifying Checksum 23:10:56 33b1e0a273af: Download complete 23:10:56 5d3b04190fa2: Verifying Checksum 23:10:56 5d3b04190fa2: Download complete 23:10:56 ec43610c2a17: Verifying Checksum 23:10:56 ec43610c2a17: Download complete 23:10:56 5eb5b503b376: Verifying Checksum 23:10:56 5eb5b503b376: Download complete 23:10:56 2f39f015ded8: Download complete 23:10:57 5eb5b503b376: Pull complete 23:10:57 5c69ac0246d0: Pull complete 23:10:57 ec43610c2a17: Pull complete 23:10:57 3a2ae6a8a46f: Pull complete 23:10:58 33b1e0a273af: Pull complete 23:10:58 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:59 provisioning config files... 23:10:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/134@tmp/config11132848810047578173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:59 ---> docker-login.sh 23:10:59 nexus3.edgexfoundry.org:10001 23:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:00 Configure a credential helper to remove this warning. See 23:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:00 23:11:00 Login Succeeded 23:11:00 nexus3.edgexfoundry.org:10002 23:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:00 Configure a credential helper to remove this warning. See 23:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:00 23:11:00 Login Succeeded 23:11:00 nexus3.edgexfoundry.org:10003 23:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:00 Configure a credential helper to remove this warning. See 23:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:00 23:11:00 Login Succeeded 23:11:00 nexus3.edgexfoundry.org:10004 23:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:01 Configure a credential helper to remove this warning. See 23:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:01 23:11:01 Login Succeeded 23:11:01 docker.io 23:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:01 Configure a credential helper to remove this warning. See 23:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:01 23:11:01 Login Succeeded 23:11:01 ---> docker-login.sh ends [Pipeline] } 23:11:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:01 ========================================================= 23:11:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:11:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:02 + 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 . 23:11:02 Sending build context to Docker daemon 143.4kB 23:11:02 2f39f015ded8: Pull complete 23:11:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:02 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:11:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:11:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:11:02 Step 2/12 : FROM ${BASE} AS builder 23:11:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:11:02 9fda8d8052c6: Pulling fs layer 23:11:02 5d54e960e981: Pulling fs layer 23:11:02 c4a7e357bf2a: Pulling fs layer 23:11:02 f0e02332f6b5: Pulling fs layer 23:11:02 66412af1f25a: Pulling fs layer 23:11:02 1baf3a5c0e64: Pulling fs layer 23:11:02 9a37bb91b891: Pulling fs layer 23:11:02 a29adfc67d43: Pulling fs layer 23:11:02 d5de9f91c1a4: Pulling fs layer 23:11:02 f0e02332f6b5: Waiting 23:11:02 66412af1f25a: Waiting 23:11:02 a29adfc67d43: Waiting 23:11:02 1baf3a5c0e64: Waiting 23:11:02 d5de9f91c1a4: Waiting 23:11:02 9a37bb91b891: Waiting 23:11:02 5d54e960e981: Download complete 23:11:02 f0e02332f6b5: Download complete 23:11:02 9fda8d8052c6: Verifying Checksum 23:11:02 9fda8d8052c6: Download complete 23:11:02 66412af1f25a: Verifying Checksum 23:11:02 66412af1f25a: Download complete 23:11:03 9a37bb91b891: Verifying Checksum 23:11:03 9a37bb91b891: Download complete 23:11:03 9fda8d8052c6: Pull complete 23:11:03 a29adfc67d43: Verifying Checksum 23:11:03 a29adfc67d43: Download complete 23:11:04 5d54e960e981: Pull complete 23:11:04 d5de9f91c1a4: Verifying Checksum 23:11:04 d5de9f91c1a4: Download complete 23:11:04 c4a7e357bf2a: Verifying Checksum 23:11:04 c4a7e357bf2a: Download complete 23:11:05 1baf3a5c0e64: Verifying Checksum 23:11:05 1baf3a5c0e64: Download complete 23:11:08 $ docker top d097bb2a1640dd34e0f1450a11fb969a00fbe054358ba298c1839682a0cf3e30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:08 ---> job-cost.sh 23:11:08 lf-activate-venv: SKIPPING 23:11:08 INFO: No Stack... 23:11:09 INFO: Retrieving Pricing Info for: v3-standard-8 23:11:09 INFO: Archiving Costs [Pipeline] sh 23:11:09 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:11:09 + cut -d, -f6 [Pipeline] lock 23:11:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] 23:11:09 Resource [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] did not exist. Created. 23:11:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:11:09 + echo total: 0.2199999988079071 [Pipeline] stash 23:11:10 Stashed 1 file(s) [Pipeline] } 23:11:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 23:11:10 $ docker stop --time=1 d097bb2a1640dd34e0f1450a11fb969a00fbe054358ba298c1839682a0cf3e30 23:11:11 $ docker rm -f --volumes d097bb2a1640dd34e0f1450a11fb969a00fbe054358ba298c1839682a0cf3e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:11:15 c4a7e357bf2a: Pull complete 23:11:15 f0e02332f6b5: Pull complete 23:11:15 66412af1f25a: Pull complete 23:11:22 1baf3a5c0e64: Pull complete 23:11:24 9a37bb91b891: Pull complete 23:11:25 a29adfc67d43: Pull complete 23:11:27 d5de9f91c1a4: Pull complete 23:11:27 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 23:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:11:27 ---> 746ca1b523b5 23:11:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:11:28 ---> Running in 76b76e122c24 23:11:29 Removing intermediate container 76b76e122c24 23:11:29 ---> 4ebbf307a194 23:11:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:11:29 ---> Running in 2b471752cdef 23:11:29 Removing intermediate container 2b471752cdef 23:11:29 ---> ac279b298ae7 23:11:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:11:29 ---> Running in f8626eaf31ae 23:11:29 Removing intermediate container f8626eaf31ae 23:11:29 ---> 459fbf4b445c 23:11:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:11:29 ---> Running in f3a03f28fec7 23:11:30 Removing intermediate container f3a03f28fec7 23:11:30 ---> c5b442efd88a 23:11:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:30 ---> Running in 50fdd4870fcd 23:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:11:33 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:11:33 (2/4) Installing libedit (20221030.3.1-r1) 23:11:33 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:11:33 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:11:33 Executing busybox-1.36.1-r2.trigger 23:11:33 OK: 272 MiB in 60 packages 23:11:34 Removing intermediate container 50fdd4870fcd 23:11:34 ---> 7cce679b9b2f 23:11:34 Step 8/12 : WORKDIR /device-rest-go 23:11:34 ---> Running in fca4bba14335 23:11:34 Removing intermediate container fca4bba14335 23:11:34 ---> c6a474469306 23:11:34 Step 9/12 : COPY go.mod vendor* ./ 23:11:34 ---> 7db069045850 23:11:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:34 ---> Running in 157f9a4f0506 23:12:56 Removing intermediate container 157f9a4f0506 23:12:56 ---> af061a184796 23:12:56 Step 11/12 : COPY . . 23:12:56 ---> 48d08b17f24b 23:12:56 Step 12/12 : RUN $MAKE 23:12:56 ---> Running in 2d44037a0134 23:12:56 noop 23:12:56 Removing intermediate container 2d44037a0134 23:12:56 ---> cad7a5623537 23:12:56 Successfully built cad7a5623537 23:12:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:56 + docker inspect -f . ci-base-image-arm64 23:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:57 prd-ubuntu20.04-docker-arm64-4c-16g-6632 does not seem to be running inside a container 23:12:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/134 -v /w/workspace/device-rest-go/134:/w/workspace/device-rest-go/134:rw,z -v /w/workspace/device-rest-go/134@tmp:/w/workspace/device-rest-go/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:12:58 $ docker top 423c1b45c1d165a94ddb51928903bbc2418a216b7a04159325328621e5c81c65 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:59 + go version 23:12:59 go version go1.21.0 linux/arm64 [Pipeline] } 23:12:59 $ docker stop --time=1 423c1b45c1d165a94ddb51928903bbc2418a216b7a04159325328621e5c81c65 23:13:00 $ docker rm -f --volumes 423c1b45c1d165a94ddb51928903bbc2418a216b7a04159325328621e5c81c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:01 + docker inspect -f . ci-base-image-arm64 23:13:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:01 prd-ubuntu20.04-docker-arm64-4c-16g-6632 does not seem to be running inside a container 23:13:01 $ 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/134 -v /w/workspace/device-rest-go/134:/w/workspace/device-rest-go/134:rw,z -v /w/workspace/device-rest-go/134@tmp:/w/workspace/device-rest-go/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:13:02 $ docker top e0f35a56cdc5d6f6fd1d974e3eea0101cf331b29fdb7b87c652d43f3de7025db -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:03 + git config --global --add safe.directory /w/workspace/device-rest-go/134 [Pipeline] fileExists [Pipeline] sh 23:13:03 + make test 23:13:03 go test ./... -coverprofile=coverage.out ./... 23:13:08 ? github.com/edgexfoundry/device-rest-go [no test files] 23:14:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:14:44 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 23:14:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:14:44 go vet ./... 23:14:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:54 ./bin/test-attribution-txt.sh [Pipeline] echo 23:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:54 $ docker stop --time=1 e0f35a56cdc5d6f6fd1d974e3eea0101cf331b29fdb7b87c652d43f3de7025db 23:14:56 $ docker rm -f --volumes e0f35a56cdc5d6f6fd1d974e3eea0101cf331b29fdb7b87c652d43f3de7025db [Pipeline] // withDockerContainer [Pipeline] sh 23:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:58 Warning: overwriting stash ‘coverage-report’ 23:14:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:59 + ls -al . 23:14:59 total 184 23:14:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 23:13 . 23:14:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 23:10 .. 23:14:59 -rw-rw-r-- 1 jenkins jenkins 151 Sep 19 23:10 .dockerignore 23:14:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 23:10 .git 23:14:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 23:10 .github 23:14:59 -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 23:10 .gitignore 23:14:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 23:10 .golangci.yml 23:14:59 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 19 23:10 Attribution.txt 23:14:59 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 19 23:10 CHANGELOG.md 23:14:59 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 19 23:10 Dockerfile 23:14:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 23:10 GOVERNANCE.md 23:14:59 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 23:10 Jenkinsfile 23:14:59 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 23:10 LICENSE 23:14:59 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 19 23:10 Makefile 23:14:59 -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 23:10 OWNERS.md 23:14:59 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 19 23:10 README.md 23:14:59 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 23:08 VERSION 23:14:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 23:10 bin 23:14:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 23:10 cmd 23:14:59 -rw-r--r-- 1 jenkins jenkins 14499 Sep 19 23:14 coverage.out 23:14:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 23:10 driver 23:14:59 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 19 23:10 go.mod 23:14:59 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 23:10 go.sum 23:14:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 23:10 snap 23:14:59 -rw-rw-r-- 1 jenkins jenkins 713 Sep 19 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:59 + 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=6a5bbfd9e0df4486290843fbebd273780ea8bdd3 --label arch=arm64 --label version=3.1.0-dev.14 . 23:14:59 Sending build context to Docker daemon 158.7kB 23:14:59 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:14:59 Step 2/25 : FROM ${BASE} AS builder 23:14:59 ---> cad7a5623537 23:14:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:14:59 ---> Running in 3797f96a3beb 23:15:00 Removing intermediate container 3797f96a3beb 23:15:00 ---> edaea53d9a83 23:15:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:15:00 ---> Running in da9e6854843d 23:15:00 Removing intermediate container da9e6854843d 23:15:00 ---> 9f796599c593 23:15:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:15:00 ---> Running in 9ac267adb1ce 23:15:00 Removing intermediate container 9ac267adb1ce 23:15:00 ---> e0c824bec145 23:15:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:15:00 ---> Running in 83d822abd44d 23:15:01 Removing intermediate container 83d822abd44d 23:15:01 ---> ed05313140ba 23:15:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:01 ---> Running in 140717da2593 23:15:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:15:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:15:04 OK: 272 MiB in 60 packages 23:15:04 Removing intermediate container 140717da2593 23:15:04 ---> 9bf0fd6f24c1 23:15:04 Step 8/25 : WORKDIR /device-rest-go 23:15:05 ---> Running in 7a634d2ded49 23:15:05 Removing intermediate container 7a634d2ded49 23:15:05 ---> b0930278c24e 23:15:05 Step 9/25 : COPY go.mod vendor* ./ 23:15:05 ---> cc266195ef0b 23:15:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:15:05 ---> Running in b8eba9272c6b 23:15:08 Removing intermediate container b8eba9272c6b 23:15:08 ---> e4105cda603b 23:15:08 Step 11/25 : COPY . . 23:15:09 ---> 7dbd609e0cc6 23:15:09 Step 12/25 : RUN $MAKE 23:15:09 ---> Running in bf3bac61f821 23:15:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:17:01 Removing intermediate container bf3bac61f821 23:17:01 ---> 6787073e4934 23:17:01 Step 13/25 : FROM alpine:3.18 23:17:01 3.18: Pulling from library/alpine 23:17:01 9fda8d8052c6: Already exists 23:17:01 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 23:17:01 Status: Downloaded newer image for alpine:3.18 23:17:01 ---> f6648c04cd6c 23:17:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:17:01 ---> Running in 6f5ee474d232 23:17:01 Removing intermediate container 6f5ee474d232 23:17:01 ---> 6a6dc4cd3bab 23:17:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:17:01 ---> Running in 4e7c18083be3 23:17:01 Removing intermediate container 4e7c18083be3 23:17:01 ---> 848bae1cef9d 23:17:01 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:17:01 ---> Running in f8ee54986821 23:17:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:17:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:17:01 (1/1) Installing dumb-init (1.2.5-r2) 23:17:01 Executing busybox-1.36.1-r2.trigger 23:17:01 OK: 8 MiB in 16 packages 23:17:01 Removing intermediate container f8ee54986821 23:17:01 ---> 8f2038ae8db8 23:17:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:17:01 ---> a0a6b9d27499 23:17:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:17:01 ---> abd82a7aaea3 23:17:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:17:01 ---> c8e42e98bf33 23:17:01 Step 20/25 : EXPOSE 59986 23:17:01 ---> Running in 4da26dc16a35 23:17:01 Removing intermediate container 4da26dc16a35 23:17:01 ---> 17ce676eadd5 23:17:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:17:01 ---> Running in c9c1b4f2ec5a 23:17:01 Removing intermediate container c9c1b4f2ec5a 23:17:01 ---> ddd13d991a3b 23:17:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:17:01 ---> Running in c6daba4a09f8 23:17:01 Removing intermediate container c6daba4a09f8 23:17:01 ---> 9e03a54728d0 23:17:01 Step 23/25 : LABEL arch=arm64 23:17:01 ---> Running in 54a6339e9212 23:17:01 Removing intermediate container 54a6339e9212 23:17:01 ---> f22ee5628448 23:17:01 Step 24/25 : LABEL git_sha=6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:17:01 ---> Running in 08f6c934883e 23:17:01 Removing intermediate container 08f6c934883e 23:17:01 ---> 5f5e68b77281 23:17:01 Step 25/25 : LABEL version=3.1.0-dev.14 23:17:01 ---> Running in e1febf184151 23:17:01 Removing intermediate container e1febf184151 23:17:01 ---> c414ccce5235 23:17:01 [Warning] One or more build-args [ARCH] were not consumed 23:17:01 Successfully built c414ccce5235 23:17:01 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 23:17:01 provisioning config files... 23:17:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/134@tmp/config2925581964215893302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:02 ---> docker-login.sh 23:17:02 nexus3.edgexfoundry.org:10001 23:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:02 Configure a credential helper to remove this warning. See 23:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:02 23:17:02 Login Succeeded 23:17:02 nexus3.edgexfoundry.org:10002 23:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:02 Configure a credential helper to remove this warning. See 23:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:02 23:17:02 Login Succeeded 23:17:02 nexus3.edgexfoundry.org:10003 23:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:02 Configure a credential helper to remove this warning. See 23:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:02 23:17:02 Login Succeeded 23:17:02 nexus3.edgexfoundry.org:10004 23:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:03 Configure a credential helper to remove this warning. See 23:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:03 23:17:03 Login Succeeded 23:17:03 docker.io 23:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:04 Configure a credential helper to remove this warning. See 23:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:04 23:17:04 Login Succeeded 23:17:04 ---> docker-login.sh ends [Pipeline] } 23:17:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:17:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:04 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:17:04 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:17:04 latest 23:17:04 3.1.0-dev.14 23:17:04 6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 23:17:04 main 23:17:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:17:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:04 4f94350ad296: Preparing 23:17:04 d09f692e0137: Preparing 23:17:04 d24055a5241f: Preparing 23:17:04 316308ec83cc: Preparing 23:17:04 b2191e2be29d: Preparing 23:17:04 b2191e2be29d: Layer already exists 23:17:05 4f94350ad296: Pushed 23:17:05 316308ec83cc: Pushed 23:17:05 d09f692e0137: Pushed 23:17:10 d24055a5241f: Pushed 23:17:10 6a5bbfd9e0df4486290843fbebd273780ea8bdd3: digest: sha256:ce0bc9df554511424f491bdf56bb279e6c412a3786aaa872b9f9e5a75c1ae137 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:17:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:11 4f94350ad296: Preparing 23:17:11 d09f692e0137: Preparing 23:17:11 d24055a5241f: Preparing 23:17:11 316308ec83cc: Preparing 23:17:11 b2191e2be29d: Preparing 23:17:11 4f94350ad296: Layer already exists 23:17:11 d09f692e0137: Layer already exists 23:17:11 316308ec83cc: Layer already exists 23:17:11 d24055a5241f: Layer already exists 23:17:11 b2191e2be29d: Layer already exists 23:17:11 latest: digest: sha256:ce0bc9df554511424f491bdf56bb279e6c412a3786aaa872b9f9e5a75c1ae137 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.14 23:17:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:11 4f94350ad296: Preparing 23:17:11 d09f692e0137: Preparing 23:17:11 d24055a5241f: Preparing 23:17:11 316308ec83cc: Preparing 23:17:11 b2191e2be29d: Preparing 23:17:11 d09f692e0137: Layer already exists 23:17:11 316308ec83cc: Layer already exists 23:17:11 4f94350ad296: Layer already exists 23:17:11 b2191e2be29d: Layer already exists 23:17:11 d24055a5241f: Layer already exists 23:17:11 3.1.0-dev.14: digest: sha256:ce0bc9df554511424f491bdf56bb279e6c412a3786aaa872b9f9e5a75c1ae137 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 23:17:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:12 4f94350ad296: Preparing 23:17:12 d09f692e0137: Preparing 23:17:12 d24055a5241f: Preparing 23:17:12 316308ec83cc: Preparing 23:17:12 b2191e2be29d: Preparing 23:17:12 b2191e2be29d: Layer already exists 23:17:12 d24055a5241f: Layer already exists 23:17:12 d09f692e0137: Layer already exists 23:17:12 4f94350ad296: Layer already exists 23:17:12 316308ec83cc: Layer already exists 23:17:12 6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14: digest: sha256:ce0bc9df554511424f491bdf56bb279e6c412a3786aaa872b9f9e5a75c1ae137 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:17:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:17:13 4f94350ad296: Preparing 23:17:13 d09f692e0137: Preparing 23:17:13 d24055a5241f: Preparing 23:17:13 316308ec83cc: Preparing 23:17:13 b2191e2be29d: Preparing 23:17:13 d24055a5241f: Layer already exists 23:17:13 d09f692e0137: Layer already exists 23:17:13 4f94350ad296: Layer already exists 23:17:13 316308ec83cc: Layer already exists 23:17:13 b2191e2be29d: Layer already exists 23:17:13 main: digest: sha256:ce0bc9df554511424f491bdf56bb279e6c412a3786aaa872b9f9e5a75c1ae137 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:17:13 ===================================================== [Pipeline] echo 23:17:13 taggedImages: 23:17:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6a5bbfd9e0df4486290843fbebd273780ea8bdd3 23:17:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:17:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.14 23:17:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6a5bbfd9e0df4486290843fbebd273780ea8bdd3-3.1.0-dev.14 23:17:13 - 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 23:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:13 23:17:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:14 arm64: Pulling from edgex-lftools-log-publisher 23:17:14 8998bd30e6a1: Pulling fs layer 23:17:14 04944245beec: Pulling fs layer 23:17:14 699f458cf7ca: Pulling fs layer 23:17:14 765212b225bb: Pulling fs layer 23:17:14 f23df028b6ca: Pulling fs layer 23:17:14 d65c8cfc05b1: Pulling fs layer 23:17:14 2437ff75d9bd: Pulling fs layer 23:17:14 765212b225bb: Waiting 23:17:14 d65c8cfc05b1: Waiting 23:17:14 2437ff75d9bd: Waiting 23:17:14 04944245beec: Verifying Checksum 23:17:14 04944245beec: Download complete 23:17:14 765212b225bb: Verifying Checksum 23:17:14 765212b225bb: Download complete 23:17:14 f23df028b6ca: Download complete 23:17:14 d65c8cfc05b1: Verifying Checksum 23:17:14 d65c8cfc05b1: Download complete 23:17:14 699f458cf7ca: Download complete 23:17:14 8998bd30e6a1: Verifying Checksum 23:17:14 8998bd30e6a1: Download complete 23:17:17 2437ff75d9bd: Verifying Checksum 23:17:17 2437ff75d9bd: Download complete 23:17:18 8998bd30e6a1: Pull complete 23:17:19 04944245beec: Pull complete 23:17:20 699f458cf7ca: Pull complete 23:17:20 765212b225bb: Pull complete 23:17:21 f23df028b6ca: Pull complete 23:17:21 d65c8cfc05b1: Pull complete 23:17:36 2437ff75d9bd: Pull complete 23:17:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:17:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:37 prd-ubuntu20.04-docker-arm64-4c-16g-6632 does not seem to be running inside a container 23:17:37 $ 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/134 -v /w/workspace/device-rest-go/134:/w/workspace/device-rest-go/134:rw,z -v /w/workspace/device-rest-go/134@tmp:/w/workspace/device-rest-go/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:17:39 $ docker top 9ae5e02747153ae6932623f1af69bc37c32ee1ea8e100c5c012e2164a27883d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:40 ---> job-cost.sh 23:17:40 lf-activate-venv: SKIPPING 23:17:40 INFO: No Stack... 23:17:40 INFO: Retrieving Pricing Info for: v3-standard-4 23:17:41 INFO: Archiving Costs [Pipeline] sh 23:17:41 + cat /w/workspace/device-rest-go/134/archives/cost.csv 23:17:41 + cut -d, -f6 [Pipeline] lock 23:17:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] 23:17:41 Resource [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] did not exist. Created. 23:17:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:17:42 /w/workspace/device-rest-go/134@tmp/durable-b7617e6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:17:42 + echo total: 0.10999999940395355 [Pipeline] stash 23:17:42 Warning: overwriting stash ‘stack-cost’ 23:17:42 Stashed 1 file(s) [Pipeline] } 23:17:42 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 23:17:42 $ docker stop --time=1 9ae5e02747153ae6932623f1af69bc37c32ee1ea8e100c5c012e2164a27883d4 23:17:44 $ docker rm -f --volumes 9ae5e02747153ae6932623f1af69bc37c32ee1ea8e100c5c012e2164a27883d4 [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 23:17:44 provisioning config files... 23:17:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12598020609933772620tmp [Pipeline] { [Pipeline] sh 23:17:44 + set +x 23:17:44 + curl -s https://codecov.io/bash 23:17:44 + bash -s -- 23:17:44 23:17:44 _____ _ 23:17:44 / ____| | | 23:17:44 | | ___ __| | ___ ___ _____ __ 23:17:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:17:44 | |___| (_) | (_| | __/ (_| (_) \ V / 23:17:44 \_____\___/ \__,_|\___|\___\___/ \_/ 23:17:44 Bash-1.0.6 23:17:44 23:17:44 23:17:44 ==> git version 2.25.1 found 23:17:44 ==> 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 23:17:44 Release-Date: 2020-01-08 23:17:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:17:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:17:44 ==> Jenkins CI detected. 23:17:44 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:17:44 project root: . 23:17:44 --> token set from env 23:17:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:17:45 ==> Running gcov in . (disable via -X gcov) 23:17:45 ==> Python coveragepy not found 23:17:45 ==> Searching for coverage reports in: 23:17:45 + . 23:17:45 -> Found 1 reports 23:17:45 ==> Detecting git/mercurial file structure 23:17:45 ==> Reading reports 23:17:45 + ./coverage.out bytes=14499 23:17:45 ==> Appending adjustments 23:17:45 https://docs.codecov.io/docs/fixing-reports 23:17:45 + Found adjustments 23:17:45 ==> Gzipping contents 23:17:45 4.0K /tmp/codecov.8eBvZr.gz 23:17:45 ==> Uploading reports 23:17:45 url: https://codecov.io 23:17:45 query: branch=main&commit=6a5bbfd9e0df4486290843fbebd273780ea8bdd3&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:17:45 -> Pinging Codecov 23:17:45 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=6a5bbfd9e0df4486290843fbebd273780ea8bdd3&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:17:45 -> Uploading to 23:17:45 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/4E5D53B4F1F92C436F7061BF334D961C/6a5bbfd9e0df4486290843fbebd273780ea8bdd3/6ba2b753-ffcf-4ac2-b67a-7d2f692f34eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T231745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=729aa53d8e94fca658561e691fc5f2822f06160a0b4c33b4c7c4a6f97b3805a1 23:17:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:17:45 Dload Upload Total Spent Left Speed 23:17:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 11179 --:--:-- --:--:-- --:--:-- 11229 23:17:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] } 23:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:17:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:17:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:17:45 23:17:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:17:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:17:46 df9b9388f04a: Pulling fs layer 23:17:46 52dc419b0ee2: Pulling fs layer 23:17:46 25bc292e5bac: Pulling fs layer 23:17:46 114826534d7a: Pulling fs layer 23:17:46 4657fd5d0bcf: Pulling fs layer 23:17:46 6ad1cebc031e: Pulling fs layer 23:17:46 8a3aa393b2d8: Pulling fs layer 23:17:46 114826534d7a: Waiting 23:17:46 4657fd5d0bcf: Waiting 23:17:46 6ad1cebc031e: Waiting 23:17:46 8a3aa393b2d8: Waiting 23:17:46 25bc292e5bac: Verifying Checksum 23:17:46 25bc292e5bac: Download complete 23:17:46 52dc419b0ee2: Verifying Checksum 23:17:46 52dc419b0ee2: Download complete 23:17:46 4657fd5d0bcf: Download complete 23:17:46 df9b9388f04a: Download complete 23:17:46 df9b9388f04a: Pull complete 23:17:46 6ad1cebc031e: Verifying Checksum 23:17:46 6ad1cebc031e: Download complete 23:17:46 52dc419b0ee2: Pull complete 23:17:46 25bc292e5bac: Pull complete 23:17:46 114826534d7a: Verifying Checksum 23:17:46 114826534d7a: Download complete 23:17:46 8a3aa393b2d8: Verifying Checksum 23:17:46 8a3aa393b2d8: Download complete 23:17:50 114826534d7a: Pull complete 23:17:50 4657fd5d0bcf: Pull complete 23:17:50 6ad1cebc031e: Pull complete 23:17:52 8a3aa393b2d8: Pull complete 23:17:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:17:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:17:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:52 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:17:56 $ docker top 2dc25673b2f1c949629b4cd6ccbecbb4323b7ae6074c620f2904dc7112b9e5d2 -eo pid,comm [Pipeline] { [Pipeline] echo 23:17:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:17:57 + set -o pipefail 23:17:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:18:02 23:18:02 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:18:02 23:18:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/630f1271-7b9d-45b4-b0bd-b6dd00949ffe 23:18:02 23:18:02 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:18:02 23:18:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:18:02 23:18:02 23:18:02 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:18:02 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:18:02 More details here: https://snyk.co/ue1NS [Pipeline] } 23:18:02 $ docker stop --time=1 2dc25673b2f1c949629b4cd6ccbecbb4323b7ae6074c620f2904dc7112b9e5d2 23:18:06 $ docker rm -f --volumes 2dc25673b2f1c949629b4cd6ccbecbb4323b7ae6074c620f2904dc7112b9e5d2 [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 23:18:07 + git log --format=format:%s -1 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 [Pipeline] sh 23:18:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:07 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:18:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:18:08 $ docker top 776cbd46886e99d5dfd3832b24ccdfbe5a42fc750e40da29105fdbe409e2a494 -eo pid,comm 23:18:08 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). 23:18:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:08 [ssh-agent] Looking for ssh-agent implementation... 23:18:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:08 $ docker exec 776cbd46886e99d5dfd3832b24ccdfbe5a42fc750e40da29105fdbe409e2a494 ssh-agent 23:18:08 SSH_AUTH_SOCK=/tmp/ssh-3C4DBkIuXNcF/agent.32 23:18:08 SSH_AGENT_PID=38 23:18:08 Running ssh-add (command line suppressed) 23:18:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2227676725614756467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2227676725614756467.key) 23:18:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:09 + git semver tag 23:18:09 2023-09-19 23:18:09,253 [run_tag] DEBUG tag force:False 23:18:09 2023-09-19 23:18:09,253 [check_head_tag] DEBUG check head tag 23:18:09 2023-09-19 23:18:09,255 [execute] INFO git cat-file --batch-check 23:18:09 2023-09-19 23:18:09,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:18:09 2023-09-19 23:18:09,260 [execute] INFO git cat-file --batch 23:18:09 2023-09-19 23:18:09,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:18:09 2023-09-19 23:18:09,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:09 2023-09-19 23:18:09,273 [execute] INFO git tag -a v3.1.0-dev.14 -m v3.1.0-dev.14 23:18:09 2023-09-19 23:18:09,274 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.14', '-m', 'v3.1.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:18:09 2023-09-19 23:18:09,278 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:09 3.1.0-dev.14 [Pipeline] } 23:18:09 $ docker exec --env ******** --env ******** 776cbd46886e99d5dfd3832b24ccdfbe5a42fc750e40da29105fdbe409e2a494 ssh-agent -k 23:18:09 unset SSH_AUTH_SOCK; 23:18:09 unset SSH_AGENT_PID; 23:18:09 echo Agent pid 38 killed; 23:18:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:09 + git semver [Pipeline] } 23:18:10 $ docker stop --time=1 776cbd46886e99d5dfd3832b24ccdfbe5a42fc750e40da29105fdbe409e2a494 23:18:11 $ docker rm -f --volumes 776cbd46886e99d5dfd3832b24ccdfbe5a42fc750e40da29105fdbe409e2a494 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:18:11 23:18:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:18:11 0.23.1-centos7: Pulling from edgex-lftools 23:18:11 ab5ef0e58194: Pulling fs layer 23:18:11 9712f1f96733: Pulling fs layer 23:18:11 63f879dbbcfc: Pulling fs layer 23:18:11 0d9ebad4ef96: Pulling fs layer 23:18:11 e9a5061849ea: Pulling fs layer 23:18:11 d747dcd14b5f: Pulling fs layer 23:18:11 2de7ff778b66: Pulling fs layer 23:18:11 e9a5061849ea: Waiting 23:18:11 0d9ebad4ef96: Waiting 23:18:11 d747dcd14b5f: Waiting 23:18:11 2de7ff778b66: Waiting 23:18:11 9712f1f96733: Verifying Checksum 23:18:11 9712f1f96733: Download complete 23:18:12 63f879dbbcfc: Verifying Checksum 23:18:12 63f879dbbcfc: Download complete 23:18:12 e9a5061849ea: Verifying Checksum 23:18:12 e9a5061849ea: Download complete 23:18:12 d747dcd14b5f: Download complete 23:18:12 0d9ebad4ef96: Verifying Checksum 23:18:12 0d9ebad4ef96: Download complete 23:18:12 2de7ff778b66: Verifying Checksum 23:18:12 2de7ff778b66: Download complete 23:18:12 ab5ef0e58194: Verifying Checksum 23:18:12 ab5ef0e58194: Download complete 23:18:15 ab5ef0e58194: Pull complete 23:18:15 9712f1f96733: Pull complete 23:18:16 63f879dbbcfc: Pull complete 23:18:19 0d9ebad4ef96: Pull complete 23:18:19 e9a5061849ea: Pull complete 23:18:19 d747dcd14b5f: Pull complete 23:18:21 2de7ff778b66: Pull complete 23:18:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:18:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:21 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:18:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:18:26 $ docker top e15454423514a172eb7e67d7f0d77f0d3ef42e44f90051149f533649a6a18c13 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:18:26 provisioning config files... 23:18:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18395333569839738391tmp 23:18:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15152220669588231743tmp 23:18:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8636882085192565684tmp [Pipeline] { [Pipeline] echo 23:18:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:18:26 ---> sigul-configuration.sh 23:18:26 gpg: directory `/root/.gnupg' created 23:18:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:18:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:18:26 gpg: keyring `/root/.gnupg/secring.gpg' created 23:18:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:18:26 gpg: CAST5 encrypted data 23:18:26 gpg: encrypted with 1 passphrase 23:18:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:18:27 + mkdir /home/jenkins 23:18:27 + mkdir /home/jenkins/sigul [Pipeline] sh 23:18:27 + 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 23:18:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:18:27 ---> sigul-install.sh 23:18:27 Sigul already installed; skipping installation. [Pipeline] sh 23:18:28 + git tag --list 23:18:28 v1.0.0 23:18:28 v1.1.0 23:18:28 v1.1.1 23:18:28 v1.1.2 23:18:28 v1.2.0 23:18:28 v1.2.1 23:18:28 v2.0.0 23:18:28 v2.1.0 23:18:28 v2.1.1 23:18:28 v2.2.0 23:18:28 v2.3.0 23:18:28 v3.0 23:18:28 v3.0.0 23:18:28 v3.1.0-dev.1 23:18:28 v3.1.0-dev.10 23:18:28 v3.1.0-dev.11 23:18:28 v3.1.0-dev.12 23:18:28 v3.1.0-dev.13 23:18:28 v3.1.0-dev.14 23:18:28 v3.1.0-dev.2 23:18:28 v3.1.0-dev.3 23:18:28 v3.1.0-dev.4 23:18:28 v3.1.0-dev.5 23:18:28 v3.1.0-dev.6 23:18:28 v3.1.0-dev.7 23:18:28 v3.1.0-dev.8 23:18:28 v3.1.0-dev.9 [Pipeline] sh 23:18:28 + lftools sign git-tag v3.1.0-dev.14 23:18:28 Signing Git tag with Sigul... 23:18:28 Signing v3.1.0-dev.14 [Pipeline] echo 23:18:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:18:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:18:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:18:29 $ docker stop --time=1 e15454423514a172eb7e67d7f0d77f0d3ef42e44f90051149f533649a6a18c13 23:18:30 $ docker rm -f --volumes e15454423514a172eb7e67d7f0d77f0d3ef42e44f90051149f533649a6a18c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:18:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:31 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:18:31 $ docker top 1d48555cabc19e61f9533cf5a2a69c482151c41aad8db7703da238e7a90c6ed6 -eo pid,comm 23:18:31 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). 23:18:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:31 [ssh-agent] Looking for ssh-agent implementation... 23:18:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:32 $ docker exec 1d48555cabc19e61f9533cf5a2a69c482151c41aad8db7703da238e7a90c6ed6 ssh-agent 23:18:32 SSH_AUTH_SOCK=/tmp/ssh-qQN7VZJq8Kc9/agent.32 23:18:32 SSH_AGENT_PID=38 23:18:32 Running ssh-add (command line suppressed) 23:18:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6624914720586169294.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6624914720586169294.key) 23:18:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:32 + git semver bump pre 23:18:32 2023-09-19 23:18:32,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:32 2023-09-19 23:18:32,817 [bump_version] DEBUG bumping version:3.1.0-dev.14 on axis:pre with prefix:dev 23:18:32 2023-09-19 23:18:32,817 [bump_version] DEBUG bumped version:3.1.0-dev.15 23:18:32 2023-09-19 23:18:32,817 [write_version] DEBUG write version:3.1.0-dev.15 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:18:32 2023-09-19 23:18:32,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:32 2023-09-19 23:18:32,817 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:32 2023-09-19 23:18:32,819 [execute] INFO git cat-file --batch-check 23:18:32 2023-09-19 23:18:32,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:18:32 2023-09-19 23:18:32,825 [execute] INFO git cat-file --batch 23:18:32 2023-09-19 23:18:32,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:18:32 2023-09-19 23:18:32,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:32 3.1.0-dev.15 [Pipeline] } 23:18:32 $ docker exec --env ******** --env ******** 1d48555cabc19e61f9533cf5a2a69c482151c41aad8db7703da238e7a90c6ed6 ssh-agent -k 23:18:32 unset SSH_AUTH_SOCK; 23:18:32 unset SSH_AGENT_PID; 23:18:32 echo Agent pid 38 killed; 23:18:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:33 + git semver [Pipeline] } 23:18:33 $ docker stop --time=1 1d48555cabc19e61f9533cf5a2a69c482151c41aad8db7703da238e7a90c6ed6 23:18:34 $ docker rm -f --volumes 1d48555cabc19e61f9533cf5a2a69c482151c41aad8db7703da238e7a90c6ed6 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:35 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:18:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:18:35 $ docker top 5f599978c48af9d11eebb2704d99534ff38ef1e97f76f389b9d1fb8114c0dafb -eo pid,comm 23:18:35 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). 23:18:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:36 [ssh-agent] Looking for ssh-agent implementation... 23:18:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:36 $ docker exec 5f599978c48af9d11eebb2704d99534ff38ef1e97f76f389b9d1fb8114c0dafb ssh-agent 23:18:36 SSH_AUTH_SOCK=/tmp/ssh-OjfSTpWlkl16/agent.32 23:18:36 SSH_AGENT_PID=39 23:18:36 Running ssh-add (command line suppressed) 23:18:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15134812532222816040.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15134812532222816040.key) 23:18:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:36 + git semver push 23:18:36 2023-09-19 23:18:36,844 [run_push] DEBUG push 23:18:36 2023-09-19 23:18:36,845 [execute] INFO git cat-file --batch-check 23:18:36 2023-09-19 23:18:36,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:18:36 2023-09-19 23:18:36,849 [execute] INFO git rev-list 0e7b84f041a5522528c706a9a21441c213d07672 -- 23:18:36 2023-09-19 23:18:36,849 [execute] DEBUG Popen(['git', 'rev-list', '0e7b84f041a5522528c706a9a21441c213d07672', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:18:36 2023-09-19 23:18:36,859 [execute] INFO git fetch -v origin 23:18:36 2023-09-19 23:18:36,859 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:18:37 2023-09-19 23:18:37,327 [run_push] DEBUG no remote changes detected 23:18:37 2023-09-19 23:18:37,327 [execute] INFO git push origin semver 23:18:37 2023-09-19 23:18:37,328 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:18:38 2023-09-19 23:18:38,317 [run_push] DEBUG push all version tags 23:18:38 2023-09-19 23:18:38,317 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:18:38 2023-09-19 23:18:38,318 [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) 23:18:39 2023-09-19 23:18:39,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:18:39 3.1.0-dev.15 [Pipeline] } 23:18:39 $ docker exec --env ******** --env ******** 5f599978c48af9d11eebb2704d99534ff38ef1e97f76f389b9d1fb8114c0dafb ssh-agent -k 23:18:39 unset SSH_AUTH_SOCK; 23:18:39 unset SSH_AGENT_PID; 23:18:39 echo Agent pid 39 killed; 23:18:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:39 + git semver [Pipeline] } 23:18:40 $ docker stop --time=1 5f599978c48af9d11eebb2704d99534ff38ef1e97f76f389b9d1fb8114c0dafb 23:18:41 $ docker rm -f --volumes 5f599978c48af9d11eebb2704d99534ff38ef1e97f76f389b9d1fb8114c0dafb [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 23:18:41 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:18:41 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:18:41 total 16 23:18:41 drwxr-xr-x 3 root root 4096 Sep 19 23:11 . 23:18:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 23:18 .. 23:18:41 drwxr-xr-x 2 root root 4096 Sep 19 23:11 cost 23:18:41 -rw-r--r-- 1 root root 86 Sep 19 23:11 cost.csv 23:18:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:18:41 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:18:41 total 16 23:18:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 23:11 . 23:18:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 23:18 .. 23:18:41 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 23:11 cost 23:18:41 -rw-r--r-- 1 jenkins jenkins 86 Sep 19 23:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:18:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:18:43 ---> package-listing.sh 23:18:43 ++ facter osfamily 23:18:43 ++ tr '[:upper:]' '[:lower:]' 23:18:43 + OS_FAMILY=debian 23:18:43 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:18:43 + START_PACKAGES=/tmp/packages_start.txt 23:18:43 + END_PACKAGES=/tmp/packages_end.txt 23:18:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:18:43 + PACKAGES=/tmp/packages_start.txt 23:18:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:18:43 + PACKAGES=/tmp/packages_end.txt 23:18:43 + case "${OS_FAMILY}" in 23:18:43 + dpkg -l 23:18:43 + grep '^ii' 23:18:43 + '[' -f /tmp/packages_start.txt ']' 23:18:43 + '[' -f /tmp/packages_end.txt ']' 23:18:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:18:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:18:43 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:18:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:18:43 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 23:18:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:44 prd-ubuntu20.04-docker-8c-8g-6631 does not seem to be running inside a container 23:18:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:18:44 $ docker top 0338521b73b72b139dbbb4a73c540a5f2c28bf9b9cf84f969c36255fca2c2bcf -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:44 + touch /tmp/pre-build-complete [Pipeline] sh 23:18:45 + mkdir -p /var/log/sysstat [Pipeline] sh 23:18:45 + ls /var/log/sa-host 23:18:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:45 provisioning config files... 23:18:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13782514161762004240tmp [Pipeline] { [Pipeline] echo 23:18:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:18:46 ---> create-netrc.sh [Pipeline] } 23:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:18:46 ---> python-tools-install.sh [Pipeline] echo 23:18:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:18:46 ---> sudo-logs.sh 23:18:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:18:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:18:46 ---> job-cost.sh 23:18:46 lf-activate-venv: SKIPPING 23:18:46 DEBUG: total: 0.2199999988079071 23:18:46 INFO: Retrieving Stack Cost... 23:18:47 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:47 INFO: Archiving Costs [Pipeline] echo 23:18:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:18:48 ---> logs-deploy.sh 23:18:48 lf-activate-venv: SKIPPING 23:18:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/134 23:18:48 INFO: archiving workspace using pattern(s): 23:18:49 Archives upload complete. 23:18:49 INFO: archiving logs to Nexus 23:18:49 ---> uname -a: 23:18:49 Linux prd-ubuntu20-04-docker-8c-8g-6631 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:18:49 23:18:49 23:18:49 ---> lscpu: 23:18:49 Architecture: x86_64 23:18:49 CPU op-mode(s): 32-bit, 64-bit 23:18:49 Byte Order: Little Endian 23:18:49 Address sizes: 40 bits physical, 48 bits virtual 23:18:49 CPU(s): 8 23:18:49 On-line CPU(s) list: 0-7 23:18:49 Thread(s) per core: 1 23:18:49 Core(s) per socket: 1 23:18:49 Socket(s): 8 23:18:49 NUMA node(s): 1 23:18:49 Vendor ID: AuthenticAMD 23:18:49 CPU family: 23 23:18:49 Model: 49 23:18:49 Model name: AMD EPYC-Rome Processor 23:18:49 Stepping: 0 23:18:49 CPU MHz: 2799.998 23:18:49 BogoMIPS: 5599.99 23:18:49 Virtualization: AMD-V 23:18:49 Hypervisor vendor: KVM 23:18:49 Virtualization type: full 23:18:49 L1d cache: 256 KiB 23:18:49 L1i cache: 256 KiB 23:18:49 L2 cache: 4 MiB 23:18:49 L3 cache: 128 MiB 23:18:49 NUMA node0 CPU(s): 0-7 23:18:49 Vulnerability Itlb multihit: Not affected 23:18:49 Vulnerability L1tf: Not affected 23:18:49 Vulnerability Mds: Not affected 23:18:49 Vulnerability Meltdown: Not affected 23:18:49 Vulnerability Mmio stale data: Not affected 23:18:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:18:49 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:18:49 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:18:49 Vulnerability Srbds: Not affected 23:18:49 Vulnerability Tsx async abort: Not affected 23:18:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 23:18:49 23:18:49 23:18:49 ---> nproc: 23:18:49 8 23:18:49 23:18:49 23:18:49 ---> df -h: 23:18:49 Filesystem Size Used Avail Use% Mounted on 23:18:49 overlay 155G 13G 143G 9% / 23:18:49 tmpfs 64M 0 64M 0% /dev 23:18:49 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:18:49 shm 64M 0 64M 0% /dev/shm 23:18:49 /dev/vda1 155G 13G 143G 9% /facter-os 23:18:49 23:18:49 23:18:49 ---> sar -b -r -n DEV: 23:18:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6631) 09/19/23 _x86_64_ (8 CPU) 23:18:49 23:18:49 23:07:37 LINUX RESTART (8 CPU) 23:18:49 23:18:49 23:08:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:18:49 23:09:01 161.85 39.18 122.67 0.00 4376.34 58362.58 0.00 23:18:49 23:10:01 136.13 0.93 135.19 0.00 7.47 53322.85 0.00 23:18:49 23:11:01 157.26 1.22 156.04 0.00 32.26 29000.63 0.00 23:18:49 23:12:01 32.64 0.02 32.63 0.00 0.27 16474.20 0.00 23:18:49 23:13:01 43.44 10.41 33.03 0.00 3431.16 5793.57 0.00 23:18:49 23:14:01 5.48 0.02 5.47 0.00 0.13 101.32 0.00 23:18:49 23:15:01 1.72 0.00 1.72 0.00 0.00 20.26 0.00 23:18:49 23:16:01 1.68 0.00 1.68 0.00 0.00 18.79 0.00 23:18:49 23:17:01 0.97 0.02 0.95 0.00 0.13 10.40 0.00 23:18:49 23:18:01 32.48 0.22 32.26 0.00 14.13 25948.08 0.00 23:18:49 Average: 57.19 5.14 52.05 0.00 780.18 18839.09 0.00 23:18:49 23:18:49 23:08:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:18:49 23:09:01 29085264 31560060 752360 2.29 77596 2670276 1981884 5.84 1020760 2410436 1468 23:18:49 23:10:01 27765652 31474420 823200 2.50 151852 3717444 2051676 6.05 1434428 3186332 370816 23:18:49 23:11:01 27366096 31535772 763340 2.32 165000 4128796 2076320 6.12 1295612 3690896 549624 23:18:49 23:12:01 27493840 31570616 727592 2.21 165456 4036600 1778944 5.24 1272824 3586512 8 23:18:49 23:13:01 27136668 31531868 740384 2.25 188004 4329348 1718336 5.06 1520640 3663296 1044 23:18:49 23:14:01 27162244 31552520 719656 2.19 186504 4326092 1719648 5.07 1498992 3660032 380 23:18:49 23:15:01 27162620 31552900 719248 2.19 186516 4326096 1719648 5.07 1498588 3660036 12 23:18:49 23:16:01 27172716 31563044 709072 2.16 186560 4326100 1719648 5.07 1488796 3660040 44 23:18:49 23:17:01 27174256 31564692 707368 2.15 186580 4326096 1719648 5.07 1487160 3660044 8 23:18:49 23:18:01 25961564 31450780 813544 2.47 202868 5316216 1845416 5.44 1714720 4542604 285776 23:18:49 Average: 27348092 31535667 747576 2.27 169694 4150306 1833117 5.40 1423252 3572023 120918 23:18:49 23:18:49 23:08:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:18:49 23:09:01 lo 6.58 6.58 0.65 0.65 0.00 0.00 0.00 0.00 23:18:49 23:09:01 docker0 72.50 82.87 5.96 282.74 0.00 0.00 0.00 0.00 23:18:49 23:09:01 veth7f26077 50.82 56.63 4.90 48.74 0.00 0.00 0.00 0.00 23:18:49 23:09:01 ens3 657.58 449.03 6738.09 94.90 0.00 0.00 0.00 0.00 23:18:49 23:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:49 23:10:01 docker0 154.54 289.84 13.22 2306.53 0.00 0.00 0.00 0.00 23:18:49 23:10:01 ens3 317.90 172.04 2337.89 26.00 0.00 0.00 0.00 0.00 23:18:49 23:10:01 veth6cc157e 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 23:18:49 23:11:01 lo 7.47 7.47 0.75 0.75 0.00 0.00 0.00 0.00 23:18:49 23:11:01 docker0 2.90 5.83 0.18 62.26 0.00 0.00 0.00 0.00 23:18:49 23:11:01 ens3 170.97 134.11 2619.75 327.78 0.00 0.00 0.00 0.00 23:18:49 23:12:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 23:18:49 23:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:12:01 ens3 11.20 8.18 12.18 4.49 0.00 0.00 0.00 0.00 23:18:49 23:13:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 23:18:49 23:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:13:01 ens3 148.33 69.34 2076.90 4.89 0.00 0.00 0.00 0.00 23:18:49 23:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:49 23:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:14:01 ens3 0.42 0.28 0.09 0.08 0.00 0.00 0.00 0.00 23:18:49 23:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:15:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:49 23:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:16:01 ens3 0.18 0.12 0.01 0.01 0.00 0.00 0.00 0.00 23:18:49 23:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:17:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 23:18:49 23:18:01 lo 1.33 1.33 0.12 0.12 0.00 0.00 0.00 0.00 23:18:49 23:18:01 docker0 62.96 107.85 5.00 1024.15 0.00 0.00 0.00 0.00 23:18:49 23:18:01 ens3 235.36 133.38 5000.50 16.89 0.00 0.00 0.00 0.00 23:18:49 23:18:01 veth2dd1d5a 62.96 107.95 5.86 1024.16 0.00 0.00 0.00 0.08 23:18:49 Average: lo 1.66 1.66 0.16 0.16 0.00 0.00 0.00 0.00 23:18:49 Average: docker0 29.22 48.58 2.43 367.70 0.00 0.00 0.00 0.00 23:18:49 Average: ens3 153.36 96.06 1870.40 47.42 0.00 0.00 0.00 0.00 23:18:49 Average: veth2dd1d5a 6.31 10.81 0.59 102.58 0.00 0.00 0.00 0.01 23:18:49 23:18:49