Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 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-ssh14982039428087657680.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-ssh9202517964214125243.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-ssh1908204354911790053.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-ssh10069265857810776951.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-ssh1080113888939425225.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6041 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#339)" > git config core.sparsecheckout # timeout=10 > git checkout -f b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 > git rev-list --no-walk 7661139dd1c3d848a7247d8835c5c2fde1868ee5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:38:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:38:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:38:48 ========================================================= 22:38:48 EdgeX Global Pipelines Version Info 22:38:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:38:49 ------------------- 22:38:49 stable info: 22:38:49 ------------------- 22:38:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:38:49 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:38:49 Message: update stable to v1.0.254 22:38:49 ------------------- 22:38:49 experimental info: 22:38:49 ------------------- 22:38:49 Commited By: **** collab-it+edgex@linuxfoundation.org 22:38:49 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:38:49 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:38:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:38:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7980b9 [Pipeline] echo 22:38:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:50 provisioning config files... 22:38:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17344755997355351747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:50 ---> docker-login.sh 22:38:50 nexus3.edgexfoundry.org:10001 22:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:51 Configure a credential helper to remove this warning. See 22:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:51 22:38:51 Login Succeeded 22:38:51 nexus3.edgexfoundry.org:10002 22:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:51 Configure a credential helper to remove this warning. See 22:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:51 22:38:51 Login Succeeded 22:38:51 nexus3.edgexfoundry.org:10003 22:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:51 Configure a credential helper to remove this warning. See 22:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:51 22:38:51 Login Succeeded 22:38:51 nexus3.edgexfoundry.org:10004 22:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:51 Configure a credential helper to remove this warning. See 22:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:51 22:38:51 Login Succeeded 22:38:51 docker.io 22:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:51 Configure a credential helper to remove this warning. See 22:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:51 22:38:51 Login Succeeded 22:38:51 ---> docker-login.sh ends [Pipeline] } 22:38:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:38:51 + git rev-list -1 --merges b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29~1..b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo 22:38:52 -----------> git rev-list -1 --merges b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29~1..b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [false] [Pipeline] sh 22:38:52 + git log --format=format:%s -1 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo 22:38:52 ========================================================= 22:38:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:38:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:38:52 + git log --format=format:%s -1 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] echo 22:38:52 [semverPrep] GIT_COMMIT: b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#339) [Pipeline] echo 22:38:52 [semverPrep] This is not a build commit. [Pipeline] sh 22:38:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:38:53 + grep -v github /etc/ssh/ssh_known_hosts 22:38:53 + [ -e /tmp/ssh_known_hosts ] 22:38:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:38:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:38:53 + sudo tee -a /etc/ssh/ssh_known_hosts 22:38:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:38:53 22:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:38:53 0.1.4: Pulling from edgex-devops/py-git-semver 22:38:53 b85a868b505f: Pulling fs layer 22:38:53 e2be974225ed: Pulling fs layer 22:38:53 339a4e72a1f5: Pulling fs layer 22:38:53 988bab9f4d93: Pulling fs layer 22:38:53 1469e6f7b9e6: Pulling fs layer 22:38:53 eaf3925da568: Pulling fs layer 22:38:53 bab4dde63d76: Pulling fs layer 22:38:53 bde34c3a00c8: Pulling fs layer 22:38:53 b352a97aabf1: Pulling fs layer 22:38:53 4872d77fe225: Pulling fs layer 22:38:53 5851b861e8e6: Pulling fs layer 22:38:53 988bab9f4d93: Waiting 22:38:53 1469e6f7b9e6: Waiting 22:38:53 eaf3925da568: Waiting 22:38:53 bab4dde63d76: Waiting 22:38:53 bde34c3a00c8: Waiting 22:38:53 b352a97aabf1: Waiting 22:38:53 4872d77fe225: Waiting 22:38:53 5851b861e8e6: Waiting 22:38:53 e2be974225ed: Download complete 22:38:53 988bab9f4d93: Verifying Checksum 22:38:53 988bab9f4d93: Download complete 22:38:54 1469e6f7b9e6: Verifying Checksum 22:38:54 1469e6f7b9e6: Download complete 22:38:54 eaf3925da568: Verifying Checksum 22:38:54 eaf3925da568: Download complete 22:38:54 339a4e72a1f5: Verifying Checksum 22:38:54 339a4e72a1f5: Download complete 22:38:54 bde34c3a00c8: Verifying Checksum 22:38:54 bde34c3a00c8: Download complete 22:38:54 b352a97aabf1: Download complete 22:38:54 4872d77fe225: Download complete 22:38:54 5851b861e8e6: Verifying Checksum 22:38:54 5851b861e8e6: Download complete 22:38:54 b85a868b505f: Verifying Checksum 22:38:54 b85a868b505f: Download complete 22:38:54 bab4dde63d76: Verifying Checksum 22:38:54 bab4dde63d76: Download complete 22:38:55 b85a868b505f: Pull complete 22:38:55 e2be974225ed: Pull complete 22:38:56 339a4e72a1f5: Pull complete 22:38:56 988bab9f4d93: Pull complete 22:38:56 1469e6f7b9e6: Pull complete 22:38:56 eaf3925da568: Pull complete 22:38:58 bab4dde63d76: Pull complete 22:38:58 bde34c3a00c8: Pull complete 22:38:58 b352a97aabf1: Pull complete 22:38:58 4872d77fe225: Pull complete 22:38:58 5851b861e8e6: Pull complete 22:38:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:38:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:38:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:58 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:38:58 $ 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 22:39:01 $ docker top 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 -eo pid,comm 22:39:01 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). 22:39:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:01 [ssh-agent] Looking for ssh-agent implementation... 22:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:01 $ docker exec 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent 22:39:02 SSH_AUTH_SOCK=/tmp/ssh-37sWlsIO99eh/agent.32 22:39:02 SSH_AGENT_PID=38 22:39:02 Running ssh-add (command line suppressed) 22:39:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14494511929670652777.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14494511929670652777.key) 22:39:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:02 + git tag --points-at HEAD [Pipeline] } 22:39:02 $ docker exec --env ******** --env ******** 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent -k 22:39:02 unset SSH_AUTH_SOCK; 22:39:02 unset SSH_AGENT_PID; 22:39:02 echo Agent pid 38 killed; 22:39:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:39:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:02 [ssh-agent] Looking for ssh-agent implementation... 22:39:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:02 $ docker exec 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent 22:39:02 SSH_AUTH_SOCK=/tmp/ssh-TLvmgIFD0SIT/agent.70 22:39:02 SSH_AGENT_PID=76 22:39:02 Running ssh-add (command line suppressed) 22:39:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11510257911490463939.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11510257911490463939.key) 22:39:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:03 + git semver init 22:39:03 2023-09-12 22:39:03,465 [run_init] DEBUG init version:0.0.0 force:False 22:39:03 2023-09-12 22:39:03,465 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:39:03 2023-09-12 22:39:03,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:39:03 2023-09-12 22:39:03,466 [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) 22:39:04 2023-09-12 22:39:04,486 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:39:04 2023-09-12 22:39:04,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:39:04 2023-09-12 22:39:04,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:04 2023-09-12 22:39:04,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:39:04 3.1.0-dev.12 [Pipeline] } 22:39:04 $ docker exec --env ******** --env ******** 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 ssh-agent -k 22:39:04 unset SSH_AUTH_SOCK; 22:39:04 unset SSH_AGENT_PID; 22:39:04 echo Agent pid 76 killed; 22:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:05 + git semver [Pipeline] } 22:39:05 $ docker stop --time=1 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 22:39:06 $ docker rm -f --volumes 82d59955d253206bf3656a93669b2f56939bddb4bc104f29a3fe23746b28a227 [Pipeline] // withDockerContainer [Pipeline] sh 22:39:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:39:07 Stashed 1 file(s) [Pipeline] echo 22:39:07 [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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 22:39:07 provisioning config files... 22:39:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8907923328550968947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:08 ---> docker-login.sh 22:39:08 nexus3.edgexfoundry.org:10001 22:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:08 Configure a credential helper to remove this warning. See 22:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:08 22:39:08 Login Succeeded 22:39:08 nexus3.edgexfoundry.org:10002 22:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:08 Configure a credential helper to remove this warning. See 22:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:08 22:39:08 Login Succeeded 22:39:08 nexus3.edgexfoundry.org:10003 22:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:08 Configure a credential helper to remove this warning. See 22:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:08 22:39:08 Login Succeeded 22:39:08 nexus3.edgexfoundry.org:10004 22:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:08 Configure a credential helper to remove this warning. See 22:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:08 22:39:08 Login Succeeded 22:39:08 docker.io 22:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:08 Configure a credential helper to remove this warning. See 22:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:08 22:39:08 Login Succeeded 22:39:08 ---> docker-login.sh ends [Pipeline] } 22:39:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:39:08 ========================================================= 22:39:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:39:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:08 + 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 . 22:39:08 Sending build context to Docker daemon 10.89MB 22:39:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:39:08 Step 2/12 : FROM ${BASE} AS builder 22:39:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:39:08 7264a8db6415: Pulling fs layer 22:39:08 c4d48a809fc2: Pulling fs layer 22:39:08 4f1c88b9dad5: Pulling fs layer 22:39:08 ad3a456e5733: Pulling fs layer 22:39:08 9e4f439ed901: Pulling fs layer 22:39:08 feaf6a47b606: Pulling fs layer 22:39:08 5e8b037d7d82: Pulling fs layer 22:39:08 8ac70367396e: Pulling fs layer 22:39:08 6db16350a2e2: Pulling fs layer 22:39:08 9250d5d63582: Pulling fs layer 22:39:08 9e4f439ed901: Waiting 22:39:08 feaf6a47b606: Waiting 22:39:08 5e8b037d7d82: Waiting 22:39:08 8ac70367396e: Waiting 22:39:08 6db16350a2e2: Waiting 22:39:08 9250d5d63582: Waiting 22:39:08 ad3a456e5733: Waiting 22:39:08 c4d48a809fc2: Verifying Checksum 22:39:08 c4d48a809fc2: Download complete 22:39:08 ad3a456e5733: Verifying Checksum 22:39:08 ad3a456e5733: Download complete 22:39:09 9e4f439ed901: Verifying Checksum 22:39:09 9e4f439ed901: Download complete 22:39:09 7264a8db6415: Verifying Checksum 22:39:09 7264a8db6415: Download complete 22:39:09 feaf6a47b606: Verifying Checksum 22:39:09 feaf6a47b606: Download complete 22:39:09 7264a8db6415: Pull complete 22:39:09 c4d48a809fc2: Pull complete 22:39:09 8ac70367396e: Verifying Checksum 22:39:09 8ac70367396e: Download complete 22:39:09 4f1c88b9dad5: Download complete 22:39:09 6db16350a2e2: Verifying Checksum 22:39:09 6db16350a2e2: Download complete 22:39:09 9250d5d63582: Verifying Checksum 22:39:09 9250d5d63582: Download complete 22:39:09 5e8b037d7d82: Verifying Checksum 22:39:09 5e8b037d7d82: Download complete 22:39:13 4f1c88b9dad5: Pull complete 22:39:13 ad3a456e5733: Pull complete 22:39:13 9e4f439ed901: Pull complete 22:39:13 feaf6a47b606: Pull complete 22:39:15 5e8b037d7d82: Pull complete 22:39:16 8ac70367396e: Pull complete 22:39:16 6db16350a2e2: Pull complete 22:39:17 9250d5d63582: Pull complete 22:39:17 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 22:39:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:39:17 ---> fa269f55d9b9 22:39:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:39:22 Still waiting to schedule task 22:39:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:39:27 ---> Running in c4275b95032c 22:39:27 Removing intermediate container c4275b95032c 22:39:27 ---> e8cad5373dee 22:39:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:39:27 ---> Running in ec9673b5a564 22:39:27 Removing intermediate container ec9673b5a564 22:39:27 ---> 0140cc17ee48 22:39:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:39:27 ---> Running in 1ffae5b04e55 22:39:27 Removing intermediate container 1ffae5b04e55 22:39:27 ---> 6d71bba3e646 22:39:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:39:27 ---> Running in 50f3101b2684 22:39:27 Removing intermediate container 50f3101b2684 22:39:27 ---> 592410cf38a4 22:39:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:39:27 ---> Running in 2ac9ba74737f 22:39:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:39:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:39:28 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:39:28 (2/4) Installing libedit (20221030.3.1-r1) 22:39:28 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:39:28 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:39:28 Executing busybox-1.36.1-r2.trigger 22:39:28 OK: 270 MiB in 60 packages 22:39:28 Removing intermediate container 2ac9ba74737f 22:39:28 ---> ca7fa788ea45 22:39:28 Step 8/12 : WORKDIR /device-rest-go 22:39:28 ---> Running in c5c71edf0917 22:39:28 Removing intermediate container c5c71edf0917 22:39:28 ---> e6ec9797a413 22:39:28 Step 9/12 : COPY go.mod vendor* ./ 22:39:28 ---> 2bb3ed702109 22:39:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:39:28 ---> Running in 313ff9193800 22:40:15 Removing intermediate container 313ff9193800 22:40:15 ---> 9a7e2b8568c7 22:40:15 Step 11/12 : COPY . . 22:40:15 ---> df590a9cdac5 22:40:15 Step 12/12 : RUN $MAKE 22:40:15 ---> Running in 15d586125bf1 22:40:15 noop 22:40:15 Removing intermediate container 15d586125bf1 22:40:15 ---> 211bfea63892 22:40:15 Successfully built 211bfea63892 22:40:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:15 + docker inspect -f . ci-base-image-x86_64 22:40:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:15 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:40:15 $ 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 22:40:16 $ docker top 64778ec13616f9886e21498201e84b705000a81ed99fed0a975ff1914d9c5e92 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:16 + go version 22:40:16 go version go1.21.0 linux/amd64 [Pipeline] } 22:40:16 $ docker stop --time=1 64778ec13616f9886e21498201e84b705000a81ed99fed0a975ff1914d9c5e92 22:40:17 $ docker rm -f --volumes 64778ec13616f9886e21498201e84b705000a81ed99fed0a975ff1914d9c5e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:18 + docker inspect -f . ci-base-image-x86_64 22:40:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:18 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:40:18 $ 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 22:40:18 $ docker top 427b10aeb60b9bea83a0cfa936bc19d6d229692757eb5b9b9da22de29995330d -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:40:19 + make test 22:40:19 go test ./... -coverprofile=coverage.out ./... 22:40:20 ? github.com/edgexfoundry/device-rest-go [no test files] 22:40:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:40:30 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 22:40:38 go vet ./... 22:40:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:40:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:40:41 ./bin/test-attribution-txt.sh [Pipeline] echo 22:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:40:41 $ docker stop --time=1 427b10aeb60b9bea83a0cfa936bc19d6d229692757eb5b9b9da22de29995330d 22:40:45 $ docker rm -f --volumes 427b10aeb60b9bea83a0cfa936bc19d6d229692757eb5b9b9da22de29995330d [Pipeline] // withDockerContainer [Pipeline] sh 22:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:40:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:40:47 + ls -al . 22:40:47 total 188 22:40:47 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:40 . 22:40:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:38 .. 22:40:47 -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 22:38 .dockerignore 22:40:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:40 .git 22:40:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:38 .github 22:40:47 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:38 .gitignore 22:40:47 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:38 .golangci.yml 22:40:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:39 .semver 22:40:47 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 22:38 Attribution.txt 22:40:47 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 22:38 CHANGELOG.md 22:40:47 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 22:38 Dockerfile 22:40:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:38 GOVERNANCE.md 22:40:47 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:38 Jenkinsfile 22:40:47 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:38 LICENSE 22:40:47 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 22:38 Makefile 22:40:47 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:38 OWNERS.md 22:40:47 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 22:38 README.md 22:40:47 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 22:39 VERSION 22:40:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:38 bin 22:40:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:38 cmd 22:40:47 -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 22:40 coverage.out 22:40:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:38 driver 22:40:47 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 22:38 go.mod 22:40:47 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:38 go.sum 22:40:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:38 snap 22:40:47 -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 22:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:47 + 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=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 --label arch=amd64 --label version=3.1.0-dev.12 . 22:40:47 Sending build context to Docker daemon 10.9MB 22:40:47 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:40:47 Step 2/25 : FROM ${BASE} AS builder 22:40:47 ---> 211bfea63892 22:40:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:40:47 ---> Running in bb1b1fab3283 22:40:47 Removing intermediate container bb1b1fab3283 22:40:47 ---> 76ce5cfeb5ac 22:40:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:47 ---> Running in 298f7095b7c0 22:40:47 Removing intermediate container 298f7095b7c0 22:40:47 ---> feb9b137e1ad 22:40:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:40:47 ---> Running in 257da873f686 22:40:48 Removing intermediate container 257da873f686 22:40:48 ---> d8a59521433d 22:40:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:40:48 ---> Running in 88abeb71bfd5 22:40:48 Removing intermediate container 88abeb71bfd5 22:40:48 ---> 5bd4c9a48b80 22:40:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:40:48 ---> Running in 739cae07e961 22:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:40:48 OK: 270 MiB in 60 packages 22:40:49 Removing intermediate container 739cae07e961 22:40:49 ---> 46cc460a8c27 22:40:49 Step 8/25 : WORKDIR /device-rest-go 22:40:49 ---> Running in a28f93404f0a 22:40:49 Removing intermediate container a28f93404f0a 22:40:49 ---> 9c356a731cf7 22:40:49 Step 9/25 : COPY go.mod vendor* ./ 22:40:49 ---> e14487e9aeeb 22:40:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:49 ---> Running in cf4e77a58fc8 22:40:50 Removing intermediate container cf4e77a58fc8 22:40:50 ---> c7e8e3ae35af 22:40:50 Step 11/25 : COPY . . 22:40:50 ---> 39f70c729084 22:40:50 Step 12/25 : RUN $MAKE 22:40:50 ---> Running in 19f4cafd0cd6 22:40:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:41:12 Removing intermediate container 19f4cafd0cd6 22:41:12 ---> fa83a87a8ffc 22:41:12 Step 13/25 : FROM alpine:3.18 22:41:12 3.18: Pulling from library/alpine 22:41:12 7264a8db6415: Already exists 22:41:12 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:41:12 Status: Downloaded newer image for alpine:3.18 22:41:12 ---> 7e01a0d0a1dc 22:41:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:41:12 ---> Running in 01ce0bb729b6 22:41:12 Removing intermediate container 01ce0bb729b6 22:41:12 ---> 5d6b33c37a9a 22:41:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:41:12 ---> Running in b1d2d4330dc4 22:41:12 Removing intermediate container b1d2d4330dc4 22:41:12 ---> f308e8699e87 22:41:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:41:12 ---> Running in dda249327632 22:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:41:12 (1/1) Installing dumb-init (1.2.5-r2) 22:41:12 Executing busybox-1.36.1-r2.trigger 22:41:12 OK: 7 MiB in 16 packages 22:41:12 Removing intermediate container dda249327632 22:41:12 ---> 51800c13259a 22:41:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:41:13 ---> 3178324b3e60 22:41:13 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:41:13 ---> 1fba296b3ec2 22:41:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:41:13 ---> 3b353df91360 22:41:13 Step 20/25 : EXPOSE 59986 22:41:13 ---> Running in af4871e76e54 22:41:14 Removing intermediate container af4871e76e54 22:41:14 ---> 1426c349050a 22:41:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:41:14 ---> Running in c2419e24f6a9 22:41:14 Removing intermediate container c2419e24f6a9 22:41:14 ---> 73cfa6ba0744 22:41:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:41:14 ---> Running in 4bf03b1f238e 22:41:14 Removing intermediate container 4bf03b1f238e 22:41:14 ---> 91b6786289d1 22:41:14 Step 23/25 : LABEL arch=amd64 22:41:14 ---> Running in 69cf5d376200 22:41:14 Removing intermediate container 69cf5d376200 22:41:14 ---> d73a02115886 22:41:14 Step 24/25 : LABEL git_sha=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:41:14 ---> Running in c4a95b7b4f34 22:41:14 Removing intermediate container c4a95b7b4f34 22:41:14 ---> 429b504c8f8c 22:41:14 Step 25/25 : LABEL version=3.1.0-dev.12 22:41:14 ---> Running in 66ff38e92cc5 22:41:14 Removing intermediate container 66ff38e92cc5 22:41:14 ---> 89e71154f1d3 22:41:14 [Warning] One or more build-args [ARCH] were not consumed 22:41:14 Successfully built 89e71154f1d3 22:41:14 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:14 provisioning config files... 22:41:14 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4065534002566957553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:14 ---> docker-login.sh 22:41:14 nexus3.edgexfoundry.org:10001 22:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:14 Configure a credential helper to remove this warning. See 22:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:14 22:41:14 Login Succeeded 22:41:14 nexus3.edgexfoundry.org:10002 22:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:14 Configure a credential helper to remove this warning. See 22:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:14 22:41:14 Login Succeeded 22:41:14 nexus3.edgexfoundry.org:10003 22:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:14 Configure a credential helper to remove this warning. See 22:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:14 22:41:14 Login Succeeded 22:41:14 nexus3.edgexfoundry.org:10004 22:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:14 Configure a credential helper to remove this warning. See 22:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:14 22:41:14 Login Succeeded 22:41:14 docker.io 22:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:15 Configure a credential helper to remove this warning. See 22:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:15 22:41:15 Login Succeeded 22:41:15 ---> docker-login.sh ends [Pipeline] } 22:41:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:15 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:41:15 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:41:15 latest 22:41:15 3.1.0-dev.12 22:41:15 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 22:41:15 main 22:41:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:41:16 5237a249e008: Preparing 22:41:16 dd503eddfa2f: Preparing 22:41:16 f6b126366029: Preparing 22:41:16 f69adc5d86e1: Preparing 22:41:16 4693057ce236: Preparing 22:41:16 4693057ce236: Layer already exists 22:41:16 dd503eddfa2f: Pushed 22:41:16 f69adc5d86e1: Pushed 22:41:16 5237a249e008: Pushed 22:41:19 f6b126366029: Pushed 22:41:19 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:41:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:41:20 5237a249e008: Preparing 22:41:20 dd503eddfa2f: Preparing 22:41:20 f6b126366029: Preparing 22:41:20 f69adc5d86e1: Preparing 22:41:20 4693057ce236: Preparing 22:41:20 f6b126366029: Layer already exists 22:41:20 5237a249e008: Layer already exists 22:41:20 f69adc5d86e1: Layer already exists 22:41:20 4693057ce236: Layer already exists 22:41:20 dd503eddfa2f: Layer already exists 22:41:20 latest: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.12 22:41:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:41:20 5237a249e008: Preparing 22:41:20 dd503eddfa2f: Preparing 22:41:20 f6b126366029: Preparing 22:41:20 f69adc5d86e1: Preparing 22:41:20 4693057ce236: Preparing 22:41:20 5237a249e008: Layer already exists 22:41:20 f69adc5d86e1: Layer already exists 22:41:20 f6b126366029: Layer already exists 22:41:20 4693057ce236: Layer already exists 22:41:20 dd503eddfa2f: Layer already exists 22:41:20 3.1.0-dev.12: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 22:41:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:41:21 5237a249e008: Preparing 22:41:21 dd503eddfa2f: Preparing 22:41:21 f6b126366029: Preparing 22:41:21 f69adc5d86e1: Preparing 22:41:21 4693057ce236: Preparing 22:41:21 f69adc5d86e1: Layer already exists 22:41:21 5237a249e008: Layer already exists 22:41:21 dd503eddfa2f: Layer already exists 22:41:21 f6b126366029: Layer already exists 22:41:21 4693057ce236: Layer already exists 22:41:21 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:41:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:41:21 5237a249e008: Preparing 22:41:21 dd503eddfa2f: Preparing 22:41:21 f6b126366029: Preparing 22:41:21 f69adc5d86e1: Preparing 22:41:21 4693057ce236: Preparing 22:41:21 5237a249e008: Layer already exists 22:41:21 dd503eddfa2f: Layer already exists 22:41:21 f69adc5d86e1: Layer already exists 22:41:21 4693057ce236: Layer already exists 22:41:21 f6b126366029: Layer already exists 22:41:21 main: digest: sha256:8ea5ef7f24e607054e743cb2a57a8456ab68c7e8741f8da120be3fb7deffcda6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:41:22 ===================================================== [Pipeline] echo 22:41:22 taggedImages: 22:41:22 - nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:41:22 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:41:22 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.12 22:41:22 - nexus3.edgexfoundry.org:10004/device-rest:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 22:41:22 - 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 22:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:22 22:41:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:22 latest: Pulling from edgex-lftools-log-publisher 22:41:22 5eb5b503b376: Pulling fs layer 22:41:22 5c69ac0246d0: Pulling fs layer 22:41:22 ec43610c2a17: Pulling fs layer 22:41:22 3a2ae6a8a46f: Pulling fs layer 22:41:22 33b1e0a273af: Pulling fs layer 22:41:22 5d3b04190fa2: Pulling fs layer 22:41:22 2f39f015ded8: Pulling fs layer 22:41:22 3a2ae6a8a46f: Waiting 22:41:22 33b1e0a273af: Waiting 22:41:22 5d3b04190fa2: Waiting 22:41:22 2f39f015ded8: Waiting 22:41:22 5c69ac0246d0: Verifying Checksum 22:41:22 5c69ac0246d0: Download complete 22:41:22 3a2ae6a8a46f: Verifying Checksum 22:41:22 3a2ae6a8a46f: Download complete 22:41:22 33b1e0a273af: Download complete 22:41:22 5d3b04190fa2: Verifying Checksum 22:41:22 5d3b04190fa2: Download complete 22:41:22 ec43610c2a17: Verifying Checksum 22:41:22 ec43610c2a17: Download complete 22:41:22 5eb5b503b376: Verifying Checksum 22:41:22 5eb5b503b376: Download complete 22:41:23 2f39f015ded8: Download complete 22:41:24 5eb5b503b376: Pull complete 22:41:24 5c69ac0246d0: Pull complete 22:41:24 ec43610c2a17: Pull complete 22:41:24 3a2ae6a8a46f: Pull complete 22:41:25 33b1e0a273af: Pull complete 22:41:25 5d3b04190fa2: Pull complete 22:41:30 2f39f015ded8: Pull complete 22:41:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:41:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:30 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:41:30 $ 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 22:41:36 $ docker top eac30365e0a576fffd852b56c4395b549efe01164d356e883f99ab56b7c448d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:36 ---> job-cost.sh 22:41:36 lf-activate-venv: SKIPPING 22:41:36 INFO: No Stack... 22:41:36 INFO: Retrieving Pricing Info for: v3-standard-8 22:41:37 INFO: Archiving Costs [Pipeline] sh 22:41:37 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:41:37 + cut -d, -f6 [Pipeline] lock 22:41:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] 22:41:37 Resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] did not exist. Created. 22:41:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:41:37 + echo total: 0.2199999988079071 [Pipeline] stash 22:41:38 Stashed 1 file(s) [Pipeline] } 22:41:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 22:41:38 $ docker stop --time=1 eac30365e0a576fffd852b56c4395b549efe01164d356e883f99ab56b7c448d2 22:41:39 $ docker rm -f --volumes eac30365e0a576fffd852b56c4395b549efe01164d356e883f99ab56b7c448d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:41:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6043 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:41:44 Running in /w/workspace/device-rest-go/132 [Pipeline] { [Pipeline] checkout 22:41:44 The recommended git tool is: git 22:41:52 using credential edgex-jenkins-ssh 22:41:52 Cloning the remote Git repository 22:41:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:41:52 > git init /w/workspace/device-rest-go/132 # timeout=10 22:41:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:41:53 > git --version # timeout=10 22:41:53 > git --version # 'git version 2.25.1' 22:41:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:41:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:00 Avoid second fetch 22:42:00 Checking out Revision b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 (main) 22:42:00 > git config core.sparsecheckout # timeout=10 22:42:00 > git checkout -f b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 22:42:01 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#339)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:42:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:02 Dload Upload Total Spent Left Speed 22:42:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 22:42:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:42:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:42:03 + sudo tee /etc/docker/daemon.new 22:42:03 { 22:42:03 "registry-mirrors": [ 22:42:03 "https://nexus3.edgexfoundry.org:10001" 22:42:03 ], 22:42:03 "bip": "10.250.0.254/24", 22:42:03 "hosts": [ 22:42:03 "tcp://0.0.0.0:5555", 22:42:03 "unix:///var/run/docker.sock" 22:42:03 ], 22:42:03 "mtu": 1458, 22:42:03 "selinux-enabled": true, 22:42:03 "seccomp-profile": "/etc/docker/seccomp.json" 22:42:03 } [Pipeline] sh 22:42:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:42:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:22 provisioning config files... 22:42:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/132@tmp/config16677803400260191997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:22 ---> docker-login.sh 22:42:22 nexus3.edgexfoundry.org:10001 22:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:23 Configure a credential helper to remove this warning. See 22:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:23 22:42:23 Login Succeeded 22:42:23 nexus3.edgexfoundry.org:10002 22:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:23 Configure a credential helper to remove this warning. See 22:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:23 22:42:23 Login Succeeded 22:42:23 nexus3.edgexfoundry.org:10003 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:24 Configure a credential helper to remove this warning. See 22:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:24 22:42:24 Login Succeeded 22:42:24 nexus3.edgexfoundry.org:10004 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:24 Configure a credential helper to remove this warning. See 22:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:24 22:42:24 Login Succeeded 22:42:24 docker.io 22:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:25 Configure a credential helper to remove this warning. See 22:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:25 22:42:25 Login Succeeded 22:42:25 ---> docker-login.sh ends [Pipeline] } 22:42:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:25 ========================================================= 22:42:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:42:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:25 + 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 . 22:42:25 Sending build context to Docker daemon 143.4kB 22:42:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:42:26 Step 2/12 : FROM ${BASE} AS builder 22:42:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:42:26 9fda8d8052c6: Pulling fs layer 22:42:26 5d54e960e981: Pulling fs layer 22:42:26 c4a7e357bf2a: Pulling fs layer 22:42:26 f0e02332f6b5: Pulling fs layer 22:42:26 66412af1f25a: Pulling fs layer 22:42:26 1baf3a5c0e64: Pulling fs layer 22:42:26 9a37bb91b891: Pulling fs layer 22:42:26 a29adfc67d43: Pulling fs layer 22:42:26 d5de9f91c1a4: Pulling fs layer 22:42:26 1baf3a5c0e64: Waiting 22:42:26 9a37bb91b891: Waiting 22:42:26 a29adfc67d43: Waiting 22:42:26 d5de9f91c1a4: Waiting 22:42:26 f0e02332f6b5: Waiting 22:42:26 66412af1f25a: Waiting 22:42:26 5d54e960e981: Verifying Checksum 22:42:26 5d54e960e981: Download complete 22:42:26 f0e02332f6b5: Verifying Checksum 22:42:26 f0e02332f6b5: Download complete 22:42:26 66412af1f25a: Verifying Checksum 22:42:26 66412af1f25a: Download complete 22:42:26 9fda8d8052c6: Download complete 22:42:27 9a37bb91b891: Verifying Checksum 22:42:27 9a37bb91b891: Download complete 22:42:27 9fda8d8052c6: Pull complete 22:42:27 a29adfc67d43: Verifying Checksum 22:42:27 a29adfc67d43: Download complete 22:42:28 5d54e960e981: Pull complete 22:42:28 d5de9f91c1a4: Verifying Checksum 22:42:28 d5de9f91c1a4: Download complete 22:42:28 c4a7e357bf2a: Verifying Checksum 22:42:28 c4a7e357bf2a: Download complete 22:42:29 1baf3a5c0e64: Verifying Checksum 22:42:29 1baf3a5c0e64: Download complete 22:42:39 c4a7e357bf2a: Pull complete 22:42:39 f0e02332f6b5: Pull complete 22:42:39 66412af1f25a: Pull complete 22:42:44 1baf3a5c0e64: Pull complete 22:42:45 9a37bb91b891: Pull complete 22:42:46 a29adfc67d43: Pull complete 22:42:48 d5de9f91c1a4: Pull complete 22:42:49 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 22:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:42:49 ---> 746ca1b523b5 22:42:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:42:51 ---> Running in 99f36e15e805 22:42:52 Removing intermediate container 99f36e15e805 22:42:52 ---> 5fe968aec0d5 22:42:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:42:52 ---> Running in e565e763d18c 22:42:52 Removing intermediate container e565e763d18c 22:42:52 ---> 753327ffbca1 22:42:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:42:52 ---> Running in feaad3be424e 22:42:52 Removing intermediate container feaad3be424e 22:42:52 ---> bdbcfded92a1 22:42:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:42:52 ---> Running in 383fce132b00 22:42:53 Removing intermediate container 383fce132b00 22:42:53 ---> fa02ef56a4f6 22:42:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:53 ---> Running in ab016b5352b3 22:42:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:42:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:42:55 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:42:55 (2/4) Installing libedit (20221030.3.1-r1) 22:42:55 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:42:55 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:42:55 Executing busybox-1.36.1-r2.trigger 22:42:55 OK: 272 MiB in 60 packages 22:42:56 Removing intermediate container ab016b5352b3 22:42:56 ---> 0c364fd832aa 22:42:56 Step 8/12 : WORKDIR /device-rest-go 22:42:56 ---> Running in 6762a704527b 22:42:57 Removing intermediate container 6762a704527b 22:42:57 ---> 3c34ec15e16c 22:42:57 Step 9/12 : COPY go.mod vendor* ./ 22:42:57 ---> b0fd4274d2ef 22:42:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:57 ---> Running in 4bdb6b3e2fd9 22:44:05 Removing intermediate container 4bdb6b3e2fd9 22:44:05 ---> 50dc8033252f 22:44:05 Step 11/12 : COPY . . 22:44:05 ---> 9c5fd7f068ae 22:44:05 Step 12/12 : RUN $MAKE 22:44:05 ---> Running in 89e3c2467bd8 22:44:06 noop 22:44:07 Removing intermediate container 89e3c2467bd8 22:44:07 ---> 033e46105356 22:44:07 Successfully built 033e46105356 22:44:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:07 + docker inspect -f . ci-base-image-arm64 22:44:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:07 prd-ubuntu20.04-docker-arm64-4c-16g-6043 does not seem to be running inside a container 22:44:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/132 -v /w/workspace/device-rest-go/132:/w/workspace/device-rest-go/132:rw,z -v /w/workspace/device-rest-go/132@tmp:/w/workspace/device-rest-go/132@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 22:44:09 $ docker top 061808f7095b5441b810cb6c1233840cceadafed22d92d4f6435120a0257606e -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:10 + go version 22:44:10 go version go1.21.0 linux/arm64 [Pipeline] } 22:44:10 $ docker stop --time=1 061808f7095b5441b810cb6c1233840cceadafed22d92d4f6435120a0257606e 22:44:11 $ docker rm -f --volumes 061808f7095b5441b810cb6c1233840cceadafed22d92d4f6435120a0257606e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:12 + docker inspect -f . ci-base-image-arm64 22:44:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:12 prd-ubuntu20.04-docker-arm64-4c-16g-6043 does not seem to be running inside a container 22:44:12 $ 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/132 -v /w/workspace/device-rest-go/132:/w/workspace/device-rest-go/132:rw,z -v /w/workspace/device-rest-go/132@tmp:/w/workspace/device-rest-go/132@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 22:44:13 $ docker top c5fe5291e8144b2e1e0769c0e969c6ad6a9f26d29f58db4faebe5dce53384d58 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:14 + git config --global --add safe.directory /w/workspace/device-rest-go/132 [Pipeline] fileExists [Pipeline] sh 22:44:14 + make test 22:44:15 go test ./... -coverprofile=coverage.out ./... 22:44:19 ? github.com/edgexfoundry/device-rest-go [no test files] 22:45:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:45:57 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 22:45:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:45:57 go vet ./... 22:46:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:46:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:46:19 ./bin/test-attribution-txt.sh [Pipeline] echo 22:46:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:46:20 $ docker stop --time=1 c5fe5291e8144b2e1e0769c0e969c6ad6a9f26d29f58db4faebe5dce53384d58 22:46:24 $ docker rm -f --volumes c5fe5291e8144b2e1e0769c0e969c6ad6a9f26d29f58db4faebe5dce53384d58 [Pipeline] // withDockerContainer [Pipeline] sh 22:46:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:25 Warning: overwriting stash ‘coverage-report’ 22:46:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:27 + ls -al . 22:46:27 total 184 22:46:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:44 . 22:46:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:41 .. 22:46:27 -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 22:42 .dockerignore 22:46:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:42 .git 22:46:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 .github 22:46:27 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:42 .gitignore 22:46:27 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:42 .golangci.yml 22:46:27 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 22:42 Attribution.txt 22:46:27 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 22:42 CHANGELOG.md 22:46:27 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 22:42 Dockerfile 22:46:27 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:42 GOVERNANCE.md 22:46:27 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:42 Jenkinsfile 22:46:27 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:42 LICENSE 22:46:27 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 22:42 Makefile 22:46:27 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:42 OWNERS.md 22:46:27 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 22:42 README.md 22:46:27 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 22:39 VERSION 22:46:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:42 bin 22:46:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:42 cmd 22:46:27 -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 22:45 coverage.out 22:46:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:42 driver 22:46:27 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 22:42 go.mod 22:46:27 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:42 go.sum 22:46:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:42 snap 22:46:27 -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 22:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:27 + 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=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 --label arch=arm64 --label version=3.1.0-dev.12 . 22:46:27 Sending build context to Docker daemon 158.7kB 22:46:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:46:27 Step 2/25 : FROM ${BASE} AS builder 22:46:27 ---> 033e46105356 22:46:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:46:27 ---> Running in f2b796636c66 22:46:28 Removing intermediate container f2b796636c66 22:46:28 ---> 3297a2ff79f8 22:46:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:46:28 ---> Running in fa6683c1039b 22:46:28 Removing intermediate container fa6683c1039b 22:46:28 ---> 1cdbe58d3296 22:46:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:46:28 ---> Running in f77c7c2b611b 22:46:28 Removing intermediate container f77c7c2b611b 22:46:28 ---> bfab38dc3e9b 22:46:28 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:46:29 ---> Running in d56df7385c58 22:46:29 Removing intermediate container d56df7385c58 22:46:29 ---> e7d41eab88d8 22:46:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:29 ---> Running in abaf8f8e86f3 22:46:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:46:32 OK: 272 MiB in 60 packages 22:46:33 Removing intermediate container abaf8f8e86f3 22:46:33 ---> 4e4a3c6f2b17 22:46:33 Step 8/25 : WORKDIR /device-rest-go 22:46:33 ---> Running in e6978cb44010 22:46:33 Removing intermediate container e6978cb44010 22:46:33 ---> 8eb45eb3c925 22:46:33 Step 9/25 : COPY go.mod vendor* ./ 22:46:34 ---> b0a26b9c4a4f 22:46:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:34 ---> Running in fe4ea9542f43 22:46:39 Removing intermediate container fe4ea9542f43 22:46:39 ---> 66dcb2f63672 22:46:39 Step 11/25 : COPY . . 22:46:39 ---> ef35842f3797 22:46:39 Step 12/25 : RUN $MAKE 22:46:39 ---> Running in 073f20c380a4 22:46:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:48:47 Removing intermediate container 073f20c380a4 22:48:47 ---> 81669a6ead07 22:48:47 Step 13/25 : FROM alpine:3.18 22:48:47 3.18: Pulling from library/alpine 22:48:47 9fda8d8052c6: Already exists 22:48:47 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:48:47 Status: Downloaded newer image for alpine:3.18 22:48:47 ---> f6648c04cd6c 22:48:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:48:47 ---> Running in 4592ab3d32f5 22:48:47 Removing intermediate container 4592ab3d32f5 22:48:47 ---> 56ddc1a2aaf5 22:48:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:48:47 ---> Running in b538bdc4a16a 22:48:47 Removing intermediate container b538bdc4a16a 22:48:47 ---> cebd12e5f85a 22:48:47 Step 16/25 : RUN apk add --update --no-cache dumb-init 22:48:47 ---> Running in a126c5803005 22:48:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:48:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:48:47 (1/1) Installing dumb-init (1.2.5-r2) 22:48:47 Executing busybox-1.36.1-r2.trigger 22:48:47 OK: 8 MiB in 16 packages 22:48:47 Removing intermediate container a126c5803005 22:48:47 ---> de15f649b35a 22:48:47 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:48:47 ---> 9cf7aa7dad09 22:48:47 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:48:47 ---> 4a70136440ff 22:48:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:48:47 ---> 32a1401225ed 22:48:47 Step 20/25 : EXPOSE 59986 22:48:47 ---> Running in 5c4cc51d08e3 22:48:47 Removing intermediate container 5c4cc51d08e3 22:48:47 ---> fb65bb9acd28 22:48:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:48:47 ---> Running in 756a766374e4 22:48:47 Removing intermediate container 756a766374e4 22:48:47 ---> cdefaca5ba43 22:48:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:48:47 ---> Running in e97eebd4a7fa 22:48:47 Removing intermediate container e97eebd4a7fa 22:48:47 ---> 14bc019d0b09 22:48:47 Step 23/25 : LABEL arch=arm64 22:48:47 ---> Running in 2ca87a6204b3 22:48:47 Removing intermediate container 2ca87a6204b3 22:48:47 ---> f47334cbe41a 22:48:47 Step 24/25 : LABEL git_sha=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:48:47 ---> Running in 7b059c1ca164 22:48:47 Removing intermediate container 7b059c1ca164 22:48:47 ---> 22b72f93c623 22:48:47 Step 25/25 : LABEL version=3.1.0-dev.12 22:48:47 ---> Running in db2521b4ead0 22:48:47 Removing intermediate container db2521b4ead0 22:48:47 ---> e6252f1df17b 22:48:47 [Warning] One or more build-args [ARCH] were not consumed 22:48:47 Successfully built e6252f1df17b 22:48:47 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 22:48:47 provisioning config files... 22:48:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/132@tmp/config16143274029873694542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:47 ---> docker-login.sh 22:48:47 nexus3.edgexfoundry.org:10001 22:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:48 Configure a credential helper to remove this warning. See 22:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:48 22:48:48 Login Succeeded 22:48:48 nexus3.edgexfoundry.org:10002 22:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:48 Configure a credential helper to remove this warning. See 22:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:48 22:48:48 Login Succeeded 22:48:48 nexus3.edgexfoundry.org:10003 22:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:49 Configure a credential helper to remove this warning. See 22:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:49 22:48:49 Login Succeeded 22:48:49 nexus3.edgexfoundry.org:10004 22:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:49 Configure a credential helper to remove this warning. See 22:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:49 22:48:49 Login Succeeded 22:48:49 docker.io 22:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:49 Configure a credential helper to remove this warning. See 22:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:49 22:48:49 Login Succeeded 22:48:49 ---> docker-login.sh ends [Pipeline] } 22:48:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:49 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:48:49 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:48:49 latest 22:48:49 3.1.0-dev.12 22:48:49 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 22:48:49 main 22:48:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:48:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:48:50 20a9df22738e: Preparing 22:48:50 3152f4639351: Preparing 22:48:50 4c6124f64742: Preparing 22:48:50 6934b2656d00: Preparing 22:48:50 b2191e2be29d: Preparing 22:48:50 b2191e2be29d: Layer already exists 22:48:50 20a9df22738e: Pushed 22:48:50 6934b2656d00: Pushed 22:48:50 3152f4639351: Pushed 22:48:56 4c6124f64742: Pushed 22:48:56 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:48:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:48:56 20a9df22738e: Preparing 22:48:56 3152f4639351: Preparing 22:48:56 4c6124f64742: Preparing 22:48:56 6934b2656d00: Preparing 22:48:56 b2191e2be29d: Preparing 22:48:56 3152f4639351: Layer already exists 22:48:56 b2191e2be29d: Layer already exists 22:48:56 6934b2656d00: Layer already exists 22:48:56 4c6124f64742: Layer already exists 22:48:56 20a9df22738e: Layer already exists 22:48:56 latest: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.12 22:48:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:48:57 20a9df22738e: Preparing 22:48:57 3152f4639351: Preparing 22:48:57 4c6124f64742: Preparing 22:48:57 6934b2656d00: Preparing 22:48:57 b2191e2be29d: Preparing 22:48:57 b2191e2be29d: Layer already exists 22:48:57 4c6124f64742: Layer already exists 22:48:57 6934b2656d00: Layer already exists 22:48:57 3152f4639351: Layer already exists 22:48:57 20a9df22738e: Layer already exists 22:48:57 3.1.0-dev.12: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 22:48:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:48:58 20a9df22738e: Preparing 22:48:58 3152f4639351: Preparing 22:48:58 4c6124f64742: Preparing 22:48:58 6934b2656d00: Preparing 22:48:58 b2191e2be29d: Preparing 22:48:58 20a9df22738e: Layer already exists 22:48:58 3152f4639351: Layer already exists 22:48:58 4c6124f64742: Layer already exists 22:48:58 b2191e2be29d: Layer already exists 22:48:58 6934b2656d00: Layer already exists 22:48:58 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:48:59 20a9df22738e: Preparing 22:48:59 3152f4639351: Preparing 22:48:59 4c6124f64742: Preparing 22:48:59 6934b2656d00: Preparing 22:48:59 b2191e2be29d: Preparing 22:48:59 b2191e2be29d: Layer already exists 22:48:59 4c6124f64742: Layer already exists 22:48:59 3152f4639351: Layer already exists 22:48:59 6934b2656d00: Layer already exists 22:48:59 20a9df22738e: Layer already exists 22:48:59 main: digest: sha256:6d5f99e00827dd990afd7a1e2501922fb51d718d5203d310df0a552f95b9a840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:48:59 ===================================================== [Pipeline] echo 22:48:59 taggedImages: 22:48:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 22:48:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:48:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.12 22:48:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29-3.1.0-dev.12 22:48:59 - 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 22:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:48:59 22:48:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:00 arm64: Pulling from edgex-lftools-log-publisher 22:49:00 8998bd30e6a1: Pulling fs layer 22:49:00 04944245beec: Pulling fs layer 22:49:00 699f458cf7ca: Pulling fs layer 22:49:00 765212b225bb: Pulling fs layer 22:49:00 f23df028b6ca: Pulling fs layer 22:49:00 d65c8cfc05b1: Pulling fs layer 22:49:00 2437ff75d9bd: Pulling fs layer 22:49:00 765212b225bb: Waiting 22:49:00 f23df028b6ca: Waiting 22:49:00 d65c8cfc05b1: Waiting 22:49:00 2437ff75d9bd: Waiting 22:49:00 04944245beec: Verifying Checksum 22:49:00 04944245beec: Download complete 22:49:00 765212b225bb: Verifying Checksum 22:49:00 765212b225bb: Download complete 22:49:00 f23df028b6ca: Verifying Checksum 22:49:00 f23df028b6ca: Download complete 22:49:00 d65c8cfc05b1: Verifying Checksum 22:49:00 d65c8cfc05b1: Download complete 22:49:00 699f458cf7ca: Verifying Checksum 22:49:00 699f458cf7ca: Download complete 22:49:00 8998bd30e6a1: Verifying Checksum 22:49:00 8998bd30e6a1: Download complete 22:49:02 2437ff75d9bd: Verifying Checksum 22:49:02 2437ff75d9bd: Download complete 22:49:04 8998bd30e6a1: Pull complete 22:49:06 04944245beec: Pull complete 22:49:08 699f458cf7ca: Pull complete 22:49:08 765212b225bb: Pull complete 22:49:09 f23df028b6ca: Pull complete 22:49:09 d65c8cfc05b1: Pull complete 22:49:24 2437ff75d9bd: Pull complete 22:49:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:49:24 prd-ubuntu20.04-docker-arm64-4c-16g-6043 does not seem to be running inside a container 22:49:24 $ 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/132 -v /w/workspace/device-rest-go/132:/w/workspace/device-rest-go/132:rw,z -v /w/workspace/device-rest-go/132@tmp:/w/workspace/device-rest-go/132@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 22:49:27 $ docker top 99874b277cd548ac0829afad1e88798ff66069f61116fad6fd60304544d098fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:28 ---> job-cost.sh 22:49:28 lf-activate-venv: SKIPPING 22:49:28 INFO: No Stack... 22:49:28 INFO: Retrieving Pricing Info for: v3-standard-4 22:49:29 INFO: Archiving Costs [Pipeline] sh 22:49:29 + cat /w/workspace/device-rest-go/132/archives/cost.csv 22:49:29 + cut -d, -f6 [Pipeline] lock 22:49:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] 22:49:29 Resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] did not exist. Created. 22:49:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:49:30 /w/workspace/device-rest-go/132@tmp/durable-b23c5a07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:49:30 + echo total: 0.10999999940395355 [Pipeline] stash 22:49:30 Warning: overwriting stash ‘stack-cost’ 22:49:31 Stashed 1 file(s) [Pipeline] } 22:49:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 22:49:31 $ docker stop --time=1 99874b277cd548ac0829afad1e88798ff66069f61116fad6fd60304544d098fe 22:49:34 $ docker rm -f --volumes 99874b277cd548ac0829afad1e88798ff66069f61116fad6fd60304544d098fe [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 22:49:34 provisioning config files... 22:49:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4516564530106804852tmp [Pipeline] { [Pipeline] sh 22:49:34 + set +x 22:49:34 + curl -s https://codecov.io/bash 22:49:34 + bash -s -- 22:49:34 22:49:34 _____ _ 22:49:34 / ____| | | 22:49:34 | | ___ __| | ___ ___ _____ __ 22:49:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:49:34 | |___| (_) | (_| | __/ (_| (_) \ V / 22:49:34 \_____\___/ \__,_|\___|\___\___/ \_/ 22:49:34 Bash-1.0.6 22:49:34 22:49:34 22:49:34 ==> git version 2.25.1 found 22:49:34 ==> 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 22:49:34 Release-Date: 2020-01-08 22:49:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:49:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:49:34 ==> Jenkins CI detected. 22:49:34 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:49:34 project root: . 22:49:34 --> token set from env 22:49:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:49:34 ==> Running gcov in . (disable via -X gcov) 22:49:34 ==> Python coveragepy not found 22:49:34 ==> Searching for coverage reports in: 22:49:34 + . 22:49:34 -> Found 1 reports 22:49:34 ==> Detecting git/mercurial file structure 22:49:35 ==> Reading reports 22:49:35 + ./coverage.out bytes=14499 22:49:35 ==> Appending adjustments 22:49:35 https://docs.codecov.io/docs/fixing-reports 22:49:35 + Found adjustments 22:49:35 ==> Gzipping contents 22:49:35 4.0K /tmp/codecov.6U5O30.gz 22:49:35 ==> Uploading reports 22:49:35 url: https://codecov.io 22:49:35 query: branch=main&commit=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:49:35 -> Pinging Codecov 22:49:35 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=b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:49:35 -> Uploading to 22:49:35 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/4E5D53B4F1F92C436F7061BF334D961C/b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29/149edde8-0731-44b4-83c2-9841a9a338db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T224935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcf7e2eebba694ae13ceaf68e50bed3230c86f35c60ef09cd65cef4e6726d457 22:49:35 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:35 Dload Upload Total Spent Left Speed 22:49:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10934 --:--:-- --:--:-- --:--:-- 10886 100 2493 0 0 100 2493 0 10563 --:--:-- --:--:-- --:--:-- 10518 22:49:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] } 22:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:49:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:49:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:49:35 22:49:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:49:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:49:36 df9b9388f04a: Pulling fs layer 22:49:36 52dc419b0ee2: Pulling fs layer 22:49:36 25bc292e5bac: Pulling fs layer 22:49:36 114826534d7a: Pulling fs layer 22:49:36 4657fd5d0bcf: Pulling fs layer 22:49:36 6ad1cebc031e: Pulling fs layer 22:49:36 8a3aa393b2d8: Pulling fs layer 22:49:36 8a3aa393b2d8: Waiting 22:49:36 4657fd5d0bcf: Waiting 22:49:36 6ad1cebc031e: Waiting 22:49:36 114826534d7a: Waiting 22:49:36 25bc292e5bac: Download complete 22:49:36 52dc419b0ee2: Verifying Checksum 22:49:36 52dc419b0ee2: Download complete 22:49:36 4657fd5d0bcf: Download complete 22:49:36 df9b9388f04a: Download complete 22:49:36 df9b9388f04a: Pull complete 22:49:36 52dc419b0ee2: Pull complete 22:49:36 6ad1cebc031e: Verifying Checksum 22:49:36 6ad1cebc031e: Download complete 22:49:36 25bc292e5bac: Pull complete 22:49:37 114826534d7a: Verifying Checksum 22:49:37 114826534d7a: Download complete 22:49:37 8a3aa393b2d8: Verifying Checksum 22:49:37 8a3aa393b2d8: Download complete 22:49:40 114826534d7a: Pull complete 22:49:40 4657fd5d0bcf: Pull complete 22:49:41 6ad1cebc031e: Pull complete 22:49:43 8a3aa393b2d8: Pull complete 22:49:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:49:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:49:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:49:43 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:49:43 $ 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 22:49:49 $ docker top 199023c646357369dbd9fd3a11a2974ac24b444d066423bfa1b5a9a25ffb9f79 -eo pid,comm [Pipeline] { [Pipeline] echo 22:49:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:49:50 + set -o pipefail 22:49:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:49:55 22:49:55 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:49:55 22:49:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f9137b0b-76a0-4fa7-9516-7d394339d5af 22:49:55 22:49:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:49:55 22:49:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:49:55 22:49:55 22:49:55 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:49:55 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:49:55 More details here: https://snyk.co/ue1NS 22:49:55 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:49:55 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:49:55 $ docker stop --time=1 199023c646357369dbd9fd3a11a2974ac24b444d066423bfa1b5a9a25ffb9f79 22:50:00 $ docker rm -f --volumes 199023c646357369dbd9fd3a11a2974ac24b444d066423bfa1b5a9a25ffb9f79 [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 22:50:00 + git log --format=format:%s -1 b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 [Pipeline] sh 22:50:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:50:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:01 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:50:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:50:01 $ docker top 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f -eo pid,comm 22:50:01 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). 22:50:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:02 [ssh-agent] Looking for ssh-agent implementation... 22:50:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:02 $ docker exec 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f ssh-agent 22:50:02 SSH_AUTH_SOCK=/tmp/ssh-ilPWVejK7Ofk/agent.31 22:50:02 SSH_AGENT_PID=37 22:50:02 Running ssh-add (command line suppressed) 22:50:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2912904065062724370.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2912904065062724370.key) 22:50:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:02 + git semver tag 22:50:02 2023-09-12 22:50:02,835 [run_tag] DEBUG tag force:False 22:50:02 2023-09-12 22:50:02,836 [check_head_tag] DEBUG check head tag 22:50:02 2023-09-12 22:50:02,837 [execute] INFO git cat-file --batch-check 22:50:02 2023-09-12 22:50:02,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:50:02 2023-09-12 22:50:02,841 [execute] INFO git cat-file --batch 22:50:02 2023-09-12 22:50:02,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:50:02 2023-09-12 22:50:02,854 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:02 2023-09-12 22:50:02,854 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 22:50:02 2023-09-12 22:50:02,854 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:50:02 2023-09-12 22:50:02,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:02 3.1.0-dev.12 [Pipeline] } 22:50:02 $ docker exec --env ******** --env ******** 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f ssh-agent -k 22:50:03 unset SSH_AUTH_SOCK; 22:50:03 unset SSH_AGENT_PID; 22:50:03 echo Agent pid 37 killed; 22:50:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:03 + git semver [Pipeline] } 22:50:03 $ docker stop --time=1 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f 22:50:04 $ docker rm -f --volumes 7210dbfd7e6fc43b120fd9a2c7ef70ffd2b05d14d67b8ca5674f7ea17381b68f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:50:05 22:50:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:50:05 0.23.1-centos7: Pulling from edgex-lftools 22:50:05 ab5ef0e58194: Pulling fs layer 22:50:05 9712f1f96733: Pulling fs layer 22:50:05 63f879dbbcfc: Pulling fs layer 22:50:05 0d9ebad4ef96: Pulling fs layer 22:50:05 e9a5061849ea: Pulling fs layer 22:50:05 d747dcd14b5f: Pulling fs layer 22:50:05 2de7ff778b66: Pulling fs layer 22:50:05 e9a5061849ea: Waiting 22:50:05 0d9ebad4ef96: Waiting 22:50:05 2de7ff778b66: Waiting 22:50:05 9712f1f96733: Download complete 22:50:06 63f879dbbcfc: Verifying Checksum 22:50:06 63f879dbbcfc: Download complete 22:50:06 0d9ebad4ef96: Verifying Checksum 22:50:06 0d9ebad4ef96: Download complete 22:50:06 d747dcd14b5f: Download complete 22:50:06 e9a5061849ea: Verifying Checksum 22:50:06 e9a5061849ea: Download complete 22:50:06 ab5ef0e58194: Verifying Checksum 22:50:06 ab5ef0e58194: Download complete 22:50:06 2de7ff778b66: Verifying Checksum 22:50:06 2de7ff778b66: Download complete 22:50:08 ab5ef0e58194: Pull complete 22:50:08 9712f1f96733: Pull complete 22:50:09 63f879dbbcfc: Pull complete 22:50:14 0d9ebad4ef96: Pull complete 22:50:14 e9a5061849ea: Pull complete 22:50:14 d747dcd14b5f: Pull complete 22:50:15 2de7ff778b66: Pull complete 22:50:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:50:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:15 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:50:15 $ 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 22:50:22 $ docker top 69f7fa35839f39c111c3731a343992161f92bad738be24d502b9e34cc426cb5b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:50:22 provisioning config files... 22:50:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10769218112588564379tmp 22:50:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13491142571720779914tmp 22:50:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2744667802102035669tmp [Pipeline] { [Pipeline] echo 22:50:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:50:22 ---> sigul-configuration.sh 22:50:22 gpg: directory `/root/.gnupg' created 22:50:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:50:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:50:22 gpg: keyring `/root/.gnupg/secring.gpg' created 22:50:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:50:22 gpg: CAST5 encrypted data 22:50:22 gpg: encrypted with 1 passphrase 22:50:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:50:22 + mkdir /home/jenkins 22:50:22 + mkdir /home/jenkins/sigul [Pipeline] sh 22:50:23 + 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 22:50:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:50:23 ---> sigul-install.sh 22:50:23 Sigul already installed; skipping installation. [Pipeline] sh 22:50:23 + git tag --list 22:50:23 v1.0.0 22:50:23 v1.1.0 22:50:23 v1.1.1 22:50:23 v1.1.2 22:50:23 v1.2.0 22:50:23 v1.2.1 22:50:23 v2.0.0 22:50:23 v2.1.0 22:50:23 v2.1.1 22:50:23 v2.2.0 22:50:23 v2.3.0 22:50:23 v3.0 22:50:23 v3.0.0 22:50:23 v3.1.0-dev.1 22:50:23 v3.1.0-dev.10 22:50:23 v3.1.0-dev.11 22:50:23 v3.1.0-dev.12 22:50:23 v3.1.0-dev.2 22:50:23 v3.1.0-dev.3 22:50:23 v3.1.0-dev.4 22:50:23 v3.1.0-dev.5 22:50:23 v3.1.0-dev.6 22:50:23 v3.1.0-dev.7 22:50:23 v3.1.0-dev.8 22:50:23 v3.1.0-dev.9 [Pipeline] sh 22:50:23 + lftools sign git-tag v3.1.0-dev.12 22:50:24 Signing Git tag with Sigul... 22:50:24 Signing v3.1.0-dev.12 [Pipeline] echo 22:50:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:50:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:50:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:50:25 $ docker stop --time=1 69f7fa35839f39c111c3731a343992161f92bad738be24d502b9e34cc426cb5b 22:50:26 $ docker rm -f --volumes 69f7fa35839f39c111c3731a343992161f92bad738be24d502b9e34cc426cb5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:50:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:50:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:27 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:50:27 $ 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 22:50:27 $ docker top 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a -eo pid,comm 22:50:27 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). 22:50:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:27 [ssh-agent] Looking for ssh-agent implementation... 22:50:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:27 $ docker exec 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a ssh-agent 22:50:27 SSH_AUTH_SOCK=/tmp/ssh-8fupp3XzDLQW/agent.32 22:50:27 SSH_AGENT_PID=38 22:50:27 Running ssh-add (command line suppressed) 22:50:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16651024312151115989.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16651024312151115989.key) 22:50:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:28 + git semver bump pre 22:50:28 2023-09-12 22:50:28,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:28 2023-09-12 22:50:28,526 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev 22:50:28 2023-09-12 22:50:28,526 [bump_version] DEBUG bumped version:3.1.0-dev.13 22:50:28 2023-09-12 22:50:28,526 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:50:28 2023-09-12 22:50:28,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:28 2023-09-12 22:50:28,526 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:28 2023-09-12 22:50:28,528 [execute] INFO git cat-file --batch-check 22:50:28 2023-09-12 22:50:28,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:50:28 2023-09-12 22:50:28,533 [execute] INFO git cat-file --batch 22:50:28 2023-09-12 22:50:28,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:50:28 2023-09-12 22:50:28,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:28 3.1.0-dev.13 [Pipeline] } 22:50:28 $ docker exec --env ******** --env ******** 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a ssh-agent -k 22:50:28 unset SSH_AUTH_SOCK; 22:50:28 unset SSH_AGENT_PID; 22:50:28 echo Agent pid 38 killed; 22:50:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:29 + git semver [Pipeline] } 22:50:29 $ docker stop --time=1 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a 22:50:30 $ docker rm -f --volumes 6feb33c120b5a9f0cb55632f67382708a9eec44d6e5bdd45c5108a915494d01a [Pipeline] // withDockerContainer [Pipeline] sh 22:50:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:50:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:31 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:50: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 22:50:31 $ docker top 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 -eo pid,comm 22:50: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). 22:50:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:31 [ssh-agent] Looking for ssh-agent implementation... 22:50:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:31 $ docker exec 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 ssh-agent 22:50:31 SSH_AUTH_SOCK=/tmp/ssh-M3Ii8vU64jPM/agent.31 22:50:31 SSH_AGENT_PID=37 22:50:31 Running ssh-add (command line suppressed) 22:50:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16388180768349619626.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16388180768349619626.key) 22:50:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:32 + git semver push 22:50:32 2023-09-12 22:50:32,495 [run_push] DEBUG push 22:50:32 2023-09-12 22:50:32,495 [execute] INFO git cat-file --batch-check 22:50:32 2023-09-12 22:50:32,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:50:32 2023-09-12 22:50:32,499 [execute] INFO git rev-list 646704557f0b63f8bb5ffabf7e34af5603928274 -- 22:50:32 2023-09-12 22:50:32,499 [execute] DEBUG Popen(['git', 'rev-list', '646704557f0b63f8bb5ffabf7e34af5603928274', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:50:32 2023-09-12 22:50:32,507 [execute] INFO git fetch -v origin 22:50:32 2023-09-12 22:50:32,508 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:50:33 2023-09-12 22:50:32,953 [run_push] DEBUG no remote changes detected 22:50:33 2023-09-12 22:50:32,954 [execute] INFO git push origin semver 22:50:33 2023-09-12 22:50:32,954 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:50:33 2023-09-12 22:50:33,682 [run_push] DEBUG push all version tags 22:50:33 2023-09-12 22:50:33,682 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:50:33 2023-09-12 22:50:33,683 [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) 22:50:34 2023-09-12 22:50:34,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:34 3.1.0-dev.13 [Pipeline] } 22:50:34 $ docker exec --env ******** --env ******** 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 ssh-agent -k 22:50:34 unset SSH_AUTH_SOCK; 22:50:34 unset SSH_AGENT_PID; 22:50:34 echo Agent pid 37 killed; 22:50:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:35 + git semver [Pipeline] } 22:50:35 $ docker stop --time=1 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 22:50:36 $ docker rm -f --volumes 7d7036e0d4ec6a24300e42284c80faa9f9ab6465694f37aac461ea8077b7ce22 [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 22:50:37 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:50:37 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:50:37 total 16 22:50:37 drwxr-xr-x 3 root root 4096 Sep 12 22:41 . 22:50:37 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:50 .. 22:50:37 drwxr-xr-x 2 root root 4096 Sep 12 22:41 cost 22:50:37 -rw-r--r-- 1 root root 86 Sep 12 22:41 cost.csv 22:50:37 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:50:37 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:50:37 total 16 22:50:37 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:41 . 22:50:37 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:50 .. 22:50:37 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:41 cost 22:50:37 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 22:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:50:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:50:38 ---> package-listing.sh 22:50:38 ++ facter osfamily 22:50:38 ++ tr '[:upper:]' '[:lower:]' 22:50:38 + OS_FAMILY=debian 22:50:38 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:50:38 + START_PACKAGES=/tmp/packages_start.txt 22:50:38 + END_PACKAGES=/tmp/packages_end.txt 22:50:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:50:38 + PACKAGES=/tmp/packages_start.txt 22:50:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:50:38 + PACKAGES=/tmp/packages_end.txt 22:50:38 + case "${OS_FAMILY}" in 22:50:38 + dpkg -l 22:50:38 + grep '^ii' 22:50:38 + '[' -f /tmp/packages_start.txt ']' 22:50:38 + '[' -f /tmp/packages_end.txt ']' 22:50:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:50:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:50:38 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:50:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:50:38 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 22:50:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:39 prd-ubuntu20.04-docker-8c-8g-6041 does not seem to be running inside a container 22:50:39 $ 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 22:50:40 $ docker top 2cd8f12ac4ab16c3a406b4ea282eb03a37b3a23fc15f2e4571d230971562b0b6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:40 + touch /tmp/pre-build-complete [Pipeline] sh 22:50:40 + mkdir -p /var/log/sysstat [Pipeline] sh 22:50:41 + ls /var/log/sa-host 22:50:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:41 provisioning config files... 22:50:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17057009381458848388tmp [Pipeline] { [Pipeline] echo 22:50:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:41 ---> create-netrc.sh [Pipeline] } 22:50:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:50:41 ---> python-tools-install.sh [Pipeline] echo 22:50:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:50:42 ---> sudo-logs.sh 22:50:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:50:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:50:42 ---> job-cost.sh 22:50:42 lf-activate-venv: SKIPPING 22:50:42 DEBUG: total: 0.2199999988079071 22:50:42 INFO: Retrieving Stack Cost... 22:50:42 INFO: Retrieving Pricing Info for: v3-standard-8 22:50:43 INFO: Archiving Costs [Pipeline] echo 22:50:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:50:43 ---> logs-deploy.sh 22:50:43 lf-activate-venv: SKIPPING 22:50:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/132 22:50:43 INFO: archiving workspace using pattern(s): 22:50:44 Archives upload complete. 22:50:44 INFO: archiving logs to Nexus