Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0bc3f30d539332995b04e4270d58f382a711f8a9 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-ssh17287136737808780264.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9467677181010770603.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11874412646386541994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh3575115349413445914.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-ssh152652739947087359.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.20 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-5752 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0bc3f30d539332995b04e4270d58f382a711f8a9 (main) Commit message: "Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 > git rev-list --no-walk 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:05:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:05:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:05:37 ========================================================= 01:05:37 EdgeX Global Pipelines Version Info 01:05:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:05:37 ------------------- 01:05:37 stable info: 01:05:37 ------------------- 01:05:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:05:37 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 01:05:37 Message: update stable to v1.0.253 01:05:38 ------------------- 01:05:38 experimental info: 01:05:38 ------------------- 01:05:38 Commited By: **** collab-it+edgex@linuxfoundation.org 01:05:38 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 01:05:38 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:05:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0bc3f30 [Pipeline] echo 01:05:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:39 provisioning config files... 01:05:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14395486215606315452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:39 ---> docker-login.sh 01:05:39 nexus3.edgexfoundry.org:10001 01:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:39 Configure a credential helper to remove this warning. See 01:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:39 01:05:39 Login Succeeded 01:05:39 nexus3.edgexfoundry.org:10002 01:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:40 Configure a credential helper to remove this warning. See 01:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:40 01:05:40 Login Succeeded 01:05:40 nexus3.edgexfoundry.org:10003 01:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:40 Configure a credential helper to remove this warning. See 01:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:40 01:05:40 Login Succeeded 01:05:40 nexus3.edgexfoundry.org:10004 01:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:40 Configure a credential helper to remove this warning. See 01:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:40 01:05:40 Login Succeeded 01:05:40 docker.io 01:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:40 Configure a credential helper to remove this warning. See 01:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:40 01:05:40 Login Succeeded 01:05:40 ---> docker-login.sh ends [Pipeline] } 01:05:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:05:40 + git rev-list -1 --merges 0bc3f30d539332995b04e4270d58f382a711f8a9~1..0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo 01:05:41 -----------> git rev-list -1 --merges 0bc3f30d539332995b04e4270d58f382a711f8a9~1..0bc3f30d539332995b04e4270d58f382a711f8a9 0bc3f30d539332995b04e4270d58f382a711f8a9 01:05:41 0bc3f30d539332995b04e4270d58f382a711f8a9 [false] [Pipeline] sh 01:05:41 + git log --format=format:%s -1 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo 01:05:41 ========================================================= 01:05:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:05:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:41 + git log --format=format:%s -1 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] echo 01:05:41 [semverPrep] GIT_COMMIT: 0bc3f30d539332995b04e4270d58f382a711f8a9, Commit Message: Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo 01:05:41 [semverPrep] This is not a build commit. [Pipeline] sh 01:05:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:05:42 + grep -v github /etc/ssh/ssh_known_hosts 01:05:42 + [ -e /tmp/ssh_known_hosts ] 01:05:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:05:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:05:42 + sudo tee -a /etc/ssh/ssh_known_hosts 01:05:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:42 01:05:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:42 0.1.4: Pulling from edgex-devops/py-git-semver 01:05:42 b85a868b505f: Pulling fs layer 01:05:42 e2be974225ed: Pulling fs layer 01:05:42 339a4e72a1f5: Pulling fs layer 01:05:42 988bab9f4d93: Pulling fs layer 01:05:42 1469e6f7b9e6: Pulling fs layer 01:05:42 eaf3925da568: Pulling fs layer 01:05:42 bab4dde63d76: Pulling fs layer 01:05:42 bde34c3a00c8: Pulling fs layer 01:05:42 b352a97aabf1: Pulling fs layer 01:05:42 4872d77fe225: Pulling fs layer 01:05:42 5851b861e8e6: Pulling fs layer 01:05:42 1469e6f7b9e6: Waiting 01:05:42 eaf3925da568: Waiting 01:05:42 bab4dde63d76: Waiting 01:05:42 4872d77fe225: Waiting 01:05:42 b352a97aabf1: Waiting 01:05:42 5851b861e8e6: Waiting 01:05:42 bde34c3a00c8: Waiting 01:05:42 e2be974225ed: Verifying Checksum 01:05:42 e2be974225ed: Download complete 01:05:42 988bab9f4d93: Download complete 01:05:42 1469e6f7b9e6: Verifying Checksum 01:05:42 1469e6f7b9e6: Download complete 01:05:42 eaf3925da568: Verifying Checksum 01:05:42 eaf3925da568: Download complete 01:05:42 339a4e72a1f5: Verifying Checksum 01:05:42 339a4e72a1f5: Download complete 01:05:42 bde34c3a00c8: Verifying Checksum 01:05:42 bde34c3a00c8: Download complete 01:05:42 b352a97aabf1: Verifying Checksum 01:05:42 b352a97aabf1: Download complete 01:05:42 4872d77fe225: Verifying Checksum 01:05:42 4872d77fe225: Download complete 01:05:42 5851b861e8e6: Download complete 01:05:42 b85a868b505f: Download complete 01:05:43 bab4dde63d76: Verifying Checksum 01:05:43 bab4dde63d76: Download complete 01:05:44 b85a868b505f: Pull complete 01:05:44 e2be974225ed: Pull complete 01:05:44 339a4e72a1f5: Pull complete 01:05:44 988bab9f4d93: Pull complete 01:05:45 1469e6f7b9e6: Pull complete 01:05:45 eaf3925da568: Pull complete 01:05:47 bab4dde63d76: Pull complete 01:05:47 bde34c3a00c8: Pull complete 01:05:47 b352a97aabf1: Pull complete 01:05:47 4872d77fe225: Pull complete 01:05:47 5851b861e8e6: Pull complete 01:05:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:47 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:05:47 $ 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 01:05:51 $ docker top da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 -eo pid,comm 01:05:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:05:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:05:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:51 [ssh-agent] Looking for ssh-agent implementation... 01:05:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:51 $ docker exec da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent 01:05:51 SSH_AUTH_SOCK=/tmp/ssh-9TTw2fIGYLla/agent.32 01:05:51 SSH_AGENT_PID=38 01:05:51 Running ssh-add (command line suppressed) 01:05:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17383854786215810122.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17383854786215810122.key) 01:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:51 + git tag --points-at HEAD [Pipeline] } 01:05:51 $ docker exec --env ******** --env ******** da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent -k 01:05:51 unset SSH_AUTH_SOCK; 01:05:51 unset SSH_AGENT_PID; 01:05:51 echo Agent pid 38 killed; 01:05:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:05:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:51 [ssh-agent] Looking for ssh-agent implementation... 01:05:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:52 $ docker exec da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent 01:05:52 SSH_AUTH_SOCK=/tmp/ssh-zy4BsGCjAwrI/agent.72 01:05:52 SSH_AGENT_PID=78 01:05:52 Running ssh-add (command line suppressed) 01:05:52 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6206002311946559777.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6206002311946559777.key) 01:05:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:52 + git semver init 01:05:52 2023-09-11 01:05:52,794 [run_init] DEBUG init version:0.0.0 force:False 01:05:52 2023-09-11 01:05:52,795 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:05:52 2023-09-11 01:05:52,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:05:52 2023-09-11 01:05:52,795 [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) 01:05:54 2023-09-11 01:05:53,771 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:05:54 2023-09-11 01:05:53,771 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:05:54 2023-09-11 01:05:53,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:05:54 2023-09-11 01:05:53,772 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:05:54 3.1.0-dev.10 [Pipeline] } 01:05:54 $ docker exec --env ******** --env ******** da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 ssh-agent -k 01:05:54 unset SSH_AUTH_SOCK; 01:05:54 unset SSH_AGENT_PID; 01:05:54 echo Agent pid 78 killed; 01:05:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:05:54 + git semver [Pipeline] } 01:05:54 $ docker stop --time=1 da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 01:05:56 $ docker rm -f --volumes da8ffb2a64433fc1a5cc5339999038e6b2b3af01e67defce6888a9224e35b510 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:05:56 Stashed 1 file(s) [Pipeline] echo 01:05:56 [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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 01:05:56 provisioning config files... 01:05:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6541071789937205873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:57 ---> docker-login.sh 01:05:57 nexus3.edgexfoundry.org:10001 01:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:57 Configure a credential helper to remove this warning. See 01:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:57 01:05:57 Login Succeeded 01:05:57 nexus3.edgexfoundry.org:10002 01:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:57 Configure a credential helper to remove this warning. See 01:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:57 01:05:57 Login Succeeded 01:05:57 nexus3.edgexfoundry.org:10003 01:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:57 Configure a credential helper to remove this warning. See 01:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:57 01:05:57 Login Succeeded 01:05:57 nexus3.edgexfoundry.org:10004 01:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:57 Configure a credential helper to remove this warning. See 01:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:57 01:05:57 Login Succeeded 01:05:57 docker.io 01:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:57 Configure a credential helper to remove this warning. See 01:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:57 01:05:57 Login Succeeded 01:05:57 ---> docker-login.sh ends [Pipeline] } 01:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:57 ========================================================= 01:05:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:05:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:05:58 Sending build context to Docker daemon 10.93MB 01:05:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:05:58 Step 2/12 : FROM ${BASE} AS builder 01:05:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:05:58 4db1b89c0bd1: Pulling fs layer 01:05:58 6911f1a30b25: Pulling fs layer 01:05:58 e194b8c5c2a9: Pulling fs layer 01:05:58 6863d3e3a2b1: Pulling fs layer 01:05:58 ec0bb842ea78: Pulling fs layer 01:05:58 40a00589a448: Pulling fs layer 01:05:58 6c08303d61cc: Pulling fs layer 01:05:58 798269fcf238: Pulling fs layer 01:05:58 ec0bb842ea78: Waiting 01:05:58 6863d3e3a2b1: Waiting 01:05:58 6c08303d61cc: Waiting 01:05:58 40a00589a448: Waiting 01:05:58 798269fcf238: Waiting 01:05:58 6911f1a30b25: Verifying Checksum 01:05:58 6911f1a30b25: Download complete 01:05:58 6863d3e3a2b1: Verifying Checksum 01:05:58 6863d3e3a2b1: Download complete 01:05:58 ec0bb842ea78: Verifying Checksum 01:05:58 ec0bb842ea78: Download complete 01:05:58 4db1b89c0bd1: Verifying Checksum 01:05:58 4db1b89c0bd1: Download complete 01:05:58 40a00589a448: Verifying Checksum 01:05:58 40a00589a448: Download complete 01:05:58 4db1b89c0bd1: Pull complete 01:05:58 6911f1a30b25: Pull complete 01:05:59 798269fcf238: Verifying Checksum 01:05:59 798269fcf238: Download complete 01:05:59 e194b8c5c2a9: Verifying Checksum 01:05:59 e194b8c5c2a9: Download complete 01:05:59 6c08303d61cc: Verifying Checksum 01:05:59 6c08303d61cc: Download complete 01:06:02 e194b8c5c2a9: Pull complete 01:06:02 6863d3e3a2b1: Pull complete 01:06:02 ec0bb842ea78: Pull complete 01:06:02 40a00589a448: Pull complete 01:06:04 6c08303d61cc: Pull complete 01:06:05 798269fcf238: Pull complete 01:06:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 01:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:06:05 ---> ec979cd7f677 01:06:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:06:10 ---> Running in 64c6a2afa22e 01:06:10 Removing intermediate container 64c6a2afa22e 01:06:10 ---> cf9285f0ce20 01:06:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:10 ---> Running in a4b69f6f8394 01:06:10 Removing intermediate container a4b69f6f8394 01:06:10 ---> cc765c385c6c 01:06:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:06:10 ---> Running in a8a5b0919fc7 01:06:10 Removing intermediate container a8a5b0919fc7 01:06:10 ---> 93621dc7223d 01:06:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:06:10 ---> Running in 2be40469b37a 01:06:10 Removing intermediate container 2be40469b37a 01:06:10 ---> 831779924bd9 01:06:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:10 ---> Running in 2bdc8ff8aa0d 01:06:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:11 (1/4) Installing openssh-keygen (9.1_p1-r4) 01:06:11 (2/4) Installing libedit (20221030.3.1-r0) 01:06:11 (3/4) Installing openssh-client-common (9.1_p1-r4) 01:06:11 (4/4) Installing openssh-client-default (9.1_p1-r4) 01:06:11 Executing busybox-1.35.0-r29.trigger 01:06:11 OK: 269 MiB in 57 packages 01:06:11 Still waiting to schedule task 01:06:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5747’ 01:06:12 Removing intermediate container 2bdc8ff8aa0d 01:06:12 ---> 85dc659a5fa8 01:06:12 Step 8/12 : WORKDIR /device-rest-go 01:06:12 ---> Running in eca3dea5814e 01:06:12 Removing intermediate container eca3dea5814e 01:06:12 ---> 7175aae24ec6 01:06:12 Step 9/12 : COPY go.mod vendor* ./ 01:06:12 ---> 13771d652c5f 01:06:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:12 ---> Running in 5ce0efc3383a 01:06:44 Removing intermediate container 5ce0efc3383a 01:06:44 ---> 9f1020f2c224 01:06:44 Step 11/12 : COPY . . 01:06:44 ---> 5cfaa0f8b6a6 01:06:44 Step 12/12 : RUN $MAKE 01:06:44 ---> Running in 6fdb665c33fe 01:06:44 noop 01:06:44 Removing intermediate container 6fdb665c33fe 01:06:44 ---> a6b3de7298e2 01:06:44 Successfully built a6b3de7298e2 01:06:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:44 + docker inspect -f . ci-base-image-x86_64 01:06:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:45 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:06:45 $ 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 01:06:45 $ docker top 984bccf25fcd7b51c2ba22121500fd3a8c26a91f478d4c365df45edd3c3241fe -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:45 + go version 01:06:45 go version go1.20.6 linux/amd64 [Pipeline] } 01:06:45 $ docker stop --time=1 984bccf25fcd7b51c2ba22121500fd3a8c26a91f478d4c365df45edd3c3241fe 01:06:47 $ docker rm -f --volumes 984bccf25fcd7b51c2ba22121500fd3a8c26a91f478d4c365df45edd3c3241fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:47 + docker inspect -f . ci-base-image-x86_64 01:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:47 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:06:47 $ 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 01:06:47 $ docker top f0227ede93ca9f88c210acb121f329a2f4e3fe340f8d43a8d346b1b58cb5fc43 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:06:48 + make test 01:06:48 go test ./... -coverprofile=coverage.out ./... 01:06:52 ? github.com/edgexfoundry/device-rest-go [no test files] 01:07:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:07:02 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 01:07:09 go vet ./... 01:07:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:07:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:07:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:07:12 $ docker stop --time=1 f0227ede93ca9f88c210acb121f329a2f4e3fe340f8d43a8d346b1b58cb5fc43 01:07:16 $ docker rm -f --volumes f0227ede93ca9f88c210acb121f329a2f4e3fe340f8d43a8d346b1b58cb5fc43 [Pipeline] // withDockerContainer [Pipeline] sh 01:07:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:07:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:07:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:22 + ls -al . 01:07:22 total 188 01:07:22 drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 01:06 . 01:07:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:05 .. 01:07:22 -rw-rw-r-- 1 jenkins jenkins 151 Sep 11 01:05 .dockerignore 01:07:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:05 .git 01:07:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:05 .github 01:07:22 -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:05 .gitignore 01:07:22 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:05 .golangci.yml 01:07:22 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:05 .semver 01:07:22 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 11 01:05 Attribution.txt 01:07:22 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 11 01:05 CHANGELOG.md 01:07:22 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 11 01:05 Dockerfile 01:07:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:05 GOVERNANCE.md 01:07:22 -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 01:05 Jenkinsfile 01:07:22 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:05 LICENSE 01:07:22 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 11 01:05 Makefile 01:07:22 -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:05 OWNERS.md 01:07:22 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 11 01:05 README.md 01:07:22 -rw-rw-r-- 1 jenkins jenkins 12 Sep 11 01:05 VERSION 01:07:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:05 bin 01:07:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:05 cmd 01:07:22 -rw-r--r-- 1 jenkins jenkins 14499 Sep 11 01:07 coverage.out 01:07:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:05 driver 01:07:22 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 11 01:05 go.mod 01:07:22 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:05 go.sum 01:07:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:05 snap 01:07:22 -rw-rw-r-- 1 jenkins jenkins 713 Sep 11 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:23 + 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=0bc3f30d539332995b04e4270d58f382a711f8a9 --label arch=amd64 --label version=3.1.0-dev.10 . 01:07:23 Sending build context to Docker daemon 10.94MB 01:07:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:07:23 Step 2/25 : FROM ${BASE} AS builder 01:07:23 ---> a6b3de7298e2 01:07:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:07:23 ---> Running in 2e69b26e0767 01:07:23 Removing intermediate container 2e69b26e0767 01:07:23 ---> bcfb7820dcbc 01:07:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:07:23 ---> Running in cfd8acffcdde 01:07:23 Removing intermediate container cfd8acffcdde 01:07:23 ---> 3c1ce82893f1 01:07:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:07:23 ---> Running in d79ad6ea9cc7 01:07:23 Removing intermediate container d79ad6ea9cc7 01:07:23 ---> 674f71ebd89b 01:07:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:07:23 ---> Running in 3171d8d7e2f2 01:07:23 Removing intermediate container 3171d8d7e2f2 01:07:23 ---> 78bbae173900 01:07:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:23 ---> Running in c32ef3be6cac 01:07:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:07:24 OK: 269 MiB in 57 packages 01:07:24 Removing intermediate container c32ef3be6cac 01:07:24 ---> 6079ca9f4eb9 01:07:24 Step 8/25 : WORKDIR /device-rest-go 01:07:24 ---> Running in 69167281fdcd 01:07:24 Removing intermediate container 69167281fdcd 01:07:24 ---> 369bb1d0b395 01:07:24 Step 9/25 : COPY go.mod vendor* ./ 01:07:24 ---> 61e7667fafce 01:07:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:24 ---> Running in b6f656bc7f53 01:07:25 Removing intermediate container b6f656bc7f53 01:07:25 ---> 0ee90c34ed93 01:07:25 Step 11/25 : COPY . . 01:07:26 ---> 78ed90cde4ca 01:07:26 Step 12/25 : RUN $MAKE 01:07:26 ---> Running in 47e6a2ce95a0 01:07:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 01:07:48 Removing intermediate container 47e6a2ce95a0 01:07:48 ---> f917b038bf4c 01:07:48 Step 13/25 : FROM alpine:3.17 01:07:48 3.17: Pulling from library/alpine 01:07:48 9398808236ff: Pulling fs layer 01:07:48 9398808236ff: Verifying Checksum 01:07:48 9398808236ff: Download complete 01:07:48 9398808236ff: Pull complete 01:07:48 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:07:48 Status: Downloaded newer image for alpine:3.17 01:07:48 ---> 1e0b8b5322fc 01:07:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:07:48 ---> Running in 30904c02fdb8 01:07:48 Removing intermediate container 30904c02fdb8 01:07:48 ---> 38187bf27776 01:07:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:07:48 ---> Running in e96c019060b0 01:07:48 Removing intermediate container e96c019060b0 01:07:48 ---> 545b2a365058 01:07:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 01:07:48 ---> Running in a864676a6fdb 01:07:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:07:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:07:48 (1/1) Installing dumb-init (1.2.5-r2) 01:07:48 Executing busybox-1.35.0-r29.trigger 01:07:48 OK: 7 MiB in 16 packages 01:07:48 Removing intermediate container a864676a6fdb 01:07:48 ---> 0d86b741560b 01:07:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:07:49 ---> 5e3832e6611d 01:07:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:07:49 ---> f5fd5b186359 01:07:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:07:49 ---> 9b901d7a2de2 01:07:49 Step 20/25 : EXPOSE 59986 01:07:49 ---> Running in 6918d8c953f6 01:07:49 Removing intermediate container 6918d8c953f6 01:07:49 ---> e7f326cbb959 01:07:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:07:49 ---> Running in e7d24b57312d 01:07:49 Removing intermediate container e7d24b57312d 01:07:49 ---> a98900a299d1 01:07:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:07:50 ---> Running in b0d2ca0fbb1b 01:07:50 Removing intermediate container b0d2ca0fbb1b 01:07:50 ---> b538d6500f66 01:07:50 Step 23/25 : LABEL arch=amd64 01:07:50 ---> Running in 554d255c2d20 01:07:50 Removing intermediate container 554d255c2d20 01:07:50 ---> 56c4feb82d54 01:07:50 Step 24/25 : LABEL git_sha=0bc3f30d539332995b04e4270d58f382a711f8a9 01:07:50 ---> Running in 792ddedd8694 01:07:50 Removing intermediate container 792ddedd8694 01:07:50 ---> 3d7f862ca87d 01:07:50 Step 25/25 : LABEL version=3.1.0-dev.10 01:07:50 ---> Running in cb535820f50b 01:07:50 Removing intermediate container cb535820f50b 01:07:50 ---> 1bb47d50d66a 01:07:50 [Warning] One or more build-args [ARCH] were not consumed 01:07:50 Successfully built 1bb47d50d66a 01:07:50 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:50 provisioning config files... 01:07:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14887762308827167014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:50 ---> docker-login.sh 01:07:50 nexus3.edgexfoundry.org:10001 01:07:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:50 Configure a credential helper to remove this warning. See 01:07:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:50 01:07:50 Login Succeeded 01:07:50 nexus3.edgexfoundry.org:10002 01:07:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:50 Configure a credential helper to remove this warning. See 01:07:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:50 01:07:50 Login Succeeded 01:07:50 nexus3.edgexfoundry.org:10003 01:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:51 Configure a credential helper to remove this warning. See 01:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:51 01:07:51 Login Succeeded 01:07:51 nexus3.edgexfoundry.org:10004 01:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:51 Configure a credential helper to remove this warning. See 01:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:51 01:07:51 Login Succeeded 01:07:51 docker.io 01:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:51 Configure a credential helper to remove this warning. See 01:07:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:51 01:07:51 Login Succeeded 01:07:51 ---> docker-login.sh ends [Pipeline] } 01:07:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:07:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:51 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:07:51 0bc3f30d539332995b04e4270d58f382a711f8a9 01:07:51 latest 01:07:51 3.1.0-dev.10 01:07:51 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 01:07:51 main 01:07:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9 01:07:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:07:51 2c7f422b925c: Preparing 01:07:51 16bece635368: Preparing 01:07:51 3d09a7c0e9df: Preparing 01:07:51 c13ad6f239bc: Preparing 01:07:51 36b50b131297: Preparing 01:07:51 36b50b131297: Layer already exists 01:07:51 16bece635368: Pushed 01:07:51 2c7f422b925c: Pushed 01:07:51 c13ad6f239bc: Pushed 01:07:54 3d09a7c0e9df: Pushed 01:07:54 0bc3f30d539332995b04e4270d58f382a711f8a9: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:07:55 2c7f422b925c: Preparing 01:07:55 16bece635368: Preparing 01:07:55 3d09a7c0e9df: Preparing 01:07:55 c13ad6f239bc: Preparing 01:07:55 36b50b131297: Preparing 01:07:55 16bece635368: Layer already exists 01:07:55 3d09a7c0e9df: Layer already exists 01:07:55 36b50b131297: Layer already exists 01:07:55 c13ad6f239bc: Layer already exists 01:07:55 2c7f422b925c: Layer already exists 01:07:55 latest: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.10 01:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:07:55 2c7f422b925c: Preparing 01:07:55 16bece635368: Preparing 01:07:55 3d09a7c0e9df: Preparing 01:07:55 c13ad6f239bc: Preparing 01:07:55 36b50b131297: Preparing 01:07:55 c13ad6f239bc: Layer already exists 01:07:55 16bece635368: Layer already exists 01:07:55 36b50b131297: Layer already exists 01:07:55 3d09a7c0e9df: Layer already exists 01:07:55 2c7f422b925c: Layer already exists 01:07:55 3.1.0-dev.10: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 01:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:07:56 2c7f422b925c: Preparing 01:07:56 16bece635368: Preparing 01:07:56 3d09a7c0e9df: Preparing 01:07:56 c13ad6f239bc: Preparing 01:07:56 36b50b131297: Preparing 01:07:56 36b50b131297: Layer already exists 01:07:56 16bece635368: Layer already exists 01:07:56 c13ad6f239bc: Layer already exists 01:07:56 3d09a7c0e9df: Layer already exists 01:07:56 2c7f422b925c: Layer already exists 01:07:56 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:07:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:07:57 2c7f422b925c: Preparing 01:07:57 16bece635368: Preparing 01:07:57 3d09a7c0e9df: Preparing 01:07:57 c13ad6f239bc: Preparing 01:07:57 36b50b131297: Preparing 01:07:57 3d09a7c0e9df: Layer already exists 01:07:57 2c7f422b925c: Layer already exists 01:07:57 16bece635368: Layer already exists 01:07:57 c13ad6f239bc: Layer already exists 01:07:57 36b50b131297: Layer already exists 01:07:57 main: digest: sha256:b0557bc17bb138422694d72ccd513a59c289926e3e0aa6663fae678904c74770 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:07:57 ===================================================== [Pipeline] echo 01:07:57 taggedImages: 01:07:57 - nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9 01:07:57 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:07:57 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.10 01:07:57 - nexus3.edgexfoundry.org:10004/device-rest:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 01:07:57 - 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 01:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:57 01:07:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:57 latest: Pulling from edgex-lftools-log-publisher 01:07:57 5eb5b503b376: Pulling fs layer 01:07:57 5c69ac0246d0: Pulling fs layer 01:07:57 ec43610c2a17: Pulling fs layer 01:07:57 3a2ae6a8a46f: Pulling fs layer 01:07:57 33b1e0a273af: Pulling fs layer 01:07:57 5d3b04190fa2: Pulling fs layer 01:07:57 2f39f015ded8: Pulling fs layer 01:07:57 33b1e0a273af: Waiting 01:07:57 2f39f015ded8: Waiting 01:07:57 5d3b04190fa2: Waiting 01:07:57 3a2ae6a8a46f: Waiting 01:07:57 5c69ac0246d0: Download complete 01:07:57 3a2ae6a8a46f: Verifying Checksum 01:07:57 3a2ae6a8a46f: Download complete 01:07:57 33b1e0a273af: Verifying Checksum 01:07:57 33b1e0a273af: Download complete 01:07:57 ec43610c2a17: Verifying Checksum 01:07:57 ec43610c2a17: Download complete 01:07:57 5d3b04190fa2: Verifying Checksum 01:07:57 5d3b04190fa2: Download complete 01:07:58 5eb5b503b376: Verifying Checksum 01:07:58 5eb5b503b376: Download complete 01:07:58 2f39f015ded8: Verifying Checksum 01:07:58 2f39f015ded8: Download complete 01:07:59 5eb5b503b376: Pull complete 01:07:59 5c69ac0246d0: Pull complete 01:07:59 ec43610c2a17: Pull complete 01:07:59 3a2ae6a8a46f: Pull complete 01:07:59 33b1e0a273af: Pull complete 01:08:00 5d3b04190fa2: Pull complete 01:08:04 2f39f015ded8: Pull complete 01:08:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:08:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:04 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:08:04 $ 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 01:08:08 $ docker top a00ff48d97799a20da5b466ade3c8579d29a7c0502fe446fb266373686406109 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:08 ---> job-cost.sh 01:08:08 lf-activate-venv: SKIPPING 01:08:08 INFO: No Stack... 01:08:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:08:09 INFO: Archiving Costs [Pipeline] sh 01:08:09 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:08:09 + cut -d, -f6 [Pipeline] lock 01:08:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] 01:08:09 Resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] did not exist. Created. 01:08:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:08:09 + echo total: 0.2199999988079071 [Pipeline] stash 01:08:09 Stashed 1 file(s) [Pipeline] } 01:08:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 01:08:09 $ docker stop --time=1 a00ff48d97799a20da5b466ade3c8579d29a7c0502fe446fb266373686406109 01:08:11 $ docker rm -f --volumes a00ff48d97799a20da5b466ade3c8579d29a7c0502fe446fb266373686406109 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5754 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:08:50 Running in /w/workspace/device-rest-go/130 [Pipeline] { [Pipeline] checkout 01:08:50 The recommended git tool is: git 01:08:56 using credential edgex-jenkins-ssh 01:08:56 Cloning the remote Git repository 01:08:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:08:56 > git init /w/workspace/device-rest-go/130 # timeout=10 01:08:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:08:56 > git --version # timeout=10 01:08:56 > git --version # 'git version 2.25.1' 01:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:08:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:59 Avoid second fetch 01:08:59 Checking out Revision 0bc3f30d539332995b04e4270d58f382a711f8a9 (main) 01:09:00 Commit message: "Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { 01:08:59 > git config core.sparsecheckout # timeout=10 01:08:59 > git checkout -f 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:09:01 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:01 Dload Upload Total Spent Left Speed 01:09:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 01:09:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:09:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:09:02 + sudo tee /etc/docker/daemon.new 01:09:02 { 01:09:02 "registry-mirrors": [ 01:09:02 "https://nexus3.edgexfoundry.org:10001" 01:09:02 ], 01:09:02 "bip": "10.250.0.254/24", 01:09:02 "hosts": [ 01:09:02 "tcp://0.0.0.0:5555", 01:09:02 "unix:///var/run/docker.sock" 01:09:02 ], 01:09:02 "mtu": 1458, 01:09:02 "selinux-enabled": true, 01:09:02 "seccomp-profile": "/etc/docker/seccomp.json" 01:09:02 } [Pipeline] sh 01:09:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:09:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:21 provisioning config files... 01:09:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/130@tmp/config2514180736316848326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:21 ---> docker-login.sh 01:09:21 nexus3.edgexfoundry.org:10001 01:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:22 Configure a credential helper to remove this warning. See 01:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:22 01:09:22 Login Succeeded 01:09:22 nexus3.edgexfoundry.org:10002 01:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:22 Configure a credential helper to remove this warning. See 01:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:22 01:09:22 Login Succeeded 01:09:22 nexus3.edgexfoundry.org:10003 01:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:23 Configure a credential helper to remove this warning. See 01:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:23 01:09:23 Login Succeeded 01:09:23 nexus3.edgexfoundry.org:10004 01:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:23 Configure a credential helper to remove this warning. See 01:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:23 01:09:23 Login Succeeded 01:09:23 docker.io 01:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:23 Configure a credential helper to remove this warning. See 01:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:23 01:09:23 Login Succeeded 01:09:23 ---> docker-login.sh ends [Pipeline] } 01:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:24 ========================================================= 01:09:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:09:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:24 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:09:24 Sending build context to Docker daemon 143.4kB 01:09:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:09:24 Step 2/12 : FROM ${BASE} AS builder 01:09:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:09:24 edb6bdbacee9: Pulling fs layer 01:09:24 5f9638ab2659: Pulling fs layer 01:09:24 8d51d6327a98: Pulling fs layer 01:09:24 8b374f2dd631: Pulling fs layer 01:09:24 ec14aa9079de: Pulling fs layer 01:09:24 2f466654f4bb: Pulling fs layer 01:09:24 554e91adad29: Pulling fs layer 01:09:24 8b374f2dd631: Waiting 01:09:24 ec14aa9079de: Waiting 01:09:24 2f466654f4bb: Waiting 01:09:24 554e91adad29: Waiting 01:09:25 5f9638ab2659: Verifying Checksum 01:09:25 5f9638ab2659: Download complete 01:09:25 8b374f2dd631: Verifying Checksum 01:09:25 8b374f2dd631: Download complete 01:09:25 ec14aa9079de: Verifying Checksum 01:09:25 ec14aa9079de: Download complete 01:09:25 edb6bdbacee9: Verifying Checksum 01:09:26 edb6bdbacee9: Pull complete 01:09:26 554e91adad29: Verifying Checksum 01:09:26 554e91adad29: Download complete 01:09:26 5f9638ab2659: Pull complete 01:09:27 2f466654f4bb: Verifying Checksum 01:09:27 2f466654f4bb: Download complete 01:09:27 8d51d6327a98: Verifying Checksum 01:09:27 8d51d6327a98: Download complete 01:09:40 8d51d6327a98: Pull complete 01:09:40 8b374f2dd631: Pull complete 01:09:40 ec14aa9079de: Pull complete 01:09:45 2f466654f4bb: Pull complete 01:09:47 554e91adad29: Pull complete 01:09:47 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 01:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:09:47 ---> 1e15ea492957 01:09:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:09:49 ---> Running in 4a4b39e828b7 01:09:49 Removing intermediate container 4a4b39e828b7 01:09:49 ---> 4c9a351d5732 01:09:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:09:49 ---> Running in 9573e53db374 01:09:50 Removing intermediate container 9573e53db374 01:09:50 ---> e3f38de72eb1 01:09:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:09:50 ---> Running in b93a4c85fb8a 01:09:50 Removing intermediate container b93a4c85fb8a 01:09:50 ---> 60467c347deb 01:09:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:09:50 ---> Running in bc0bcbbd3aef 01:09:50 Removing intermediate container bc0bcbbd3aef 01:09:50 ---> 9ad5086a535d 01:09:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:50 ---> Running in 51ff30694533 01:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:09:53 (1/4) Installing openssh-keygen (9.1_p1-r4) 01:09:53 (2/4) Installing libedit (20221030.3.1-r0) 01:09:53 (3/4) Installing openssh-client-common (9.1_p1-r4) 01:09:53 (4/4) Installing openssh-client-default (9.1_p1-r4) 01:09:53 Executing busybox-1.35.0-r29.trigger 01:09:53 OK: 268 MiB in 57 packages 01:09:54 Removing intermediate container 51ff30694533 01:09:54 ---> 82bfbc7e4167 01:09:54 Step 8/12 : WORKDIR /device-rest-go 01:09:54 ---> Running in 5e890e49a39f 01:09:55 Removing intermediate container 5e890e49a39f 01:09:55 ---> 250e6cab65e5 01:09:55 Step 9/12 : COPY go.mod vendor* ./ 01:09:56 ---> 522f2780c93b 01:09:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:56 ---> Running in b30f718a5c17 01:11:04 Removing intermediate container b30f718a5c17 01:11:04 ---> e81d1b4bae0f 01:11:04 Step 11/12 : COPY . . 01:11:04 ---> 0b6bb53581c0 01:11:04 Step 12/12 : RUN $MAKE 01:11:04 ---> Running in b5404a96d6aa 01:11:04 noop 01:11:04 Removing intermediate container b5404a96d6aa 01:11:04 ---> 1ff010996bc6 01:11:04 Successfully built 1ff010996bc6 01:11:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:05 + docker inspect -f . ci-base-image-arm64 01:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:05 prd-ubuntu20.04-docker-arm64-4c-16g-5754 does not seem to be running inside a container 01:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/130 -v /w/workspace/device-rest-go/130:/w/workspace/device-rest-go/130:rw,z -v /w/workspace/device-rest-go/130@tmp:/w/workspace/device-rest-go/130@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 01:11:06 $ docker top ec9393e8b68edcfa0671952898c1d68ca8aa45cfa762fa29c003c581b2607a20 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:07 + go version 01:11:07 go version go1.20.6 linux/arm64 [Pipeline] } 01:11:07 $ docker stop --time=1 ec9393e8b68edcfa0671952898c1d68ca8aa45cfa762fa29c003c581b2607a20 01:11:09 $ docker rm -f --volumes ec9393e8b68edcfa0671952898c1d68ca8aa45cfa762fa29c003c581b2607a20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:09 + docker inspect -f . ci-base-image-arm64 01:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:10 prd-ubuntu20.04-docker-arm64-4c-16g-5754 does not seem to be running inside a container 01:11:10 $ 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/130 -v /w/workspace/device-rest-go/130:/w/workspace/device-rest-go/130:rw,z -v /w/workspace/device-rest-go/130@tmp:/w/workspace/device-rest-go/130@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 01:11:11 $ docker top dbfa29e9ca106c0aa9712c6288a988d874ba1d7586050c65f87dd0ea1ad5eaa7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:12 + git config --global --add safe.directory /w/workspace/device-rest-go/130 [Pipeline] fileExists [Pipeline] sh 01:11:12 + make test 01:11:12 go test ./... -coverprofile=coverage.out ./... 01:11:45 ? github.com/edgexfoundry/device-rest-go [no test files] 01:14:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:14:06 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 33.2% of statements 01:14:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:14:06 go vet ./... 01:14:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:14:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:14:34 ./bin/test-attribution-txt.sh [Pipeline] echo 01:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:14:34 $ docker stop --time=1 dbfa29e9ca106c0aa9712c6288a988d874ba1d7586050c65f87dd0ea1ad5eaa7 01:14:36 $ docker rm -f --volumes dbfa29e9ca106c0aa9712c6288a988d874ba1d7586050c65f87dd0ea1ad5eaa7 [Pipeline] // withDockerContainer [Pipeline] sh 01:14:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:14:37 Warning: overwriting stash ‘coverage-report’ 01:14:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:14:39 + ls -al . 01:14:39 total 184 01:14:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:11 . 01:14:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:08 .. 01:14:39 -rw-rw-r-- 1 jenkins jenkins 151 Sep 11 01:08 .dockerignore 01:14:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:08 .git 01:14:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:08 .github 01:14:39 -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:08 .gitignore 01:14:39 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:08 .golangci.yml 01:14:39 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 11 01:08 Attribution.txt 01:14:39 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 11 01:08 CHANGELOG.md 01:14:39 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 11 01:08 Dockerfile 01:14:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:08 GOVERNANCE.md 01:14:39 -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 01:08 Jenkinsfile 01:14:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:08 LICENSE 01:14:39 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 11 01:08 Makefile 01:14:39 -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:08 OWNERS.md 01:14:39 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 11 01:08 README.md 01:14:39 -rw-rw-r-- 1 jenkins jenkins 12 Sep 11 01:05 VERSION 01:14:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:08 bin 01:14:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:08 cmd 01:14:39 -rw-r--r-- 1 jenkins jenkins 14499 Sep 11 01:14 coverage.out 01:14:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:08 driver 01:14:39 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 11 01:08 go.mod 01:14:39 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:08 go.sum 01:14:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:08 snap 01:14:39 -rw-rw-r-- 1 jenkins jenkins 713 Sep 11 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:39 + 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=0bc3f30d539332995b04e4270d58f382a711f8a9 --label arch=arm64 --label version=3.1.0-dev.10 . 01:14:39 Sending build context to Docker daemon 158.7kB 01:14:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:14:39 Step 2/25 : FROM ${BASE} AS builder 01:14:39 ---> 1ff010996bc6 01:14:39 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:14:39 ---> Running in 7329129da61f 01:14:39 Removing intermediate container 7329129da61f 01:14:39 ---> 16375e18ce1c 01:14:39 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:14:40 ---> Running in bd4e2b59ada2 01:14:40 Removing intermediate container bd4e2b59ada2 01:14:40 ---> d7f960a68d72 01:14:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:14:40 ---> Running in 7f83f2f4b96d 01:14:40 Removing intermediate container 7f83f2f4b96d 01:14:40 ---> e5f9cbe3d599 01:14:40 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:14:41 ---> Running in 30e4cd13597c 01:14:41 Removing intermediate container 30e4cd13597c 01:14:41 ---> f2e3471f43b0 01:14:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:14:41 ---> Running in fc01859e5ed7 01:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:14:44 OK: 268 MiB in 57 packages 01:14:45 Removing intermediate container fc01859e5ed7 01:14:45 ---> 50a548ee64c6 01:14:45 Step 8/25 : WORKDIR /device-rest-go 01:14:45 ---> Running in 866364c9bba0 01:14:45 Removing intermediate container 866364c9bba0 01:14:45 ---> 83c23d34083a 01:14:45 Step 9/25 : COPY go.mod vendor* ./ 01:14:45 ---> 288b2f08dd24 01:14:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:45 ---> Running in bdc4615dd908 01:14:47 Removing intermediate container bdc4615dd908 01:14:47 ---> aba62dfc7d8c 01:14:47 Step 11/25 : COPY . . 01:14:48 ---> 961c88455d79 01:14:48 Step 12/25 : RUN $MAKE 01:14:48 ---> Running in 2a51e5e1aecd 01:14:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 01:17:14 Removing intermediate container 2a51e5e1aecd 01:17:14 ---> f218e66406a9 01:17:14 Step 13/25 : FROM alpine:3.17 01:17:14 3.17: Pulling from library/alpine 01:17:14 4060ece20d7a: Pulling fs layer 01:17:14 4060ece20d7a: Download complete 01:17:14 4060ece20d7a: Pull complete 01:17:14 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:17:14 Status: Downloaded newer image for alpine:3.17 01:17:14 ---> 8650cd65339b 01:17:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:17:14 ---> Running in 2be82fee9d58 01:17:14 Removing intermediate container 2be82fee9d58 01:17:14 ---> 59507768f454 01:17:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:17:14 ---> Running in cc2396de75b1 01:17:14 Removing intermediate container cc2396de75b1 01:17:14 ---> 127523711c3c 01:17:14 Step 16/25 : RUN apk add --update --no-cache dumb-init 01:17:14 ---> Running in 064b4e055563 01:17:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:17:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:17:14 (1/1) Installing dumb-init (1.2.5-r2) 01:17:14 Executing busybox-1.35.0-r29.trigger 01:17:14 OK: 8 MiB in 16 packages 01:17:14 Removing intermediate container 064b4e055563 01:17:14 ---> 4d5b2a180261 01:17:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:17:15 ---> c9bf0540aeb3 01:17:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:17:16 ---> 63849d4c3186 01:17:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:17:16 ---> 3b5d5781ec3c 01:17:16 Step 20/25 : EXPOSE 59986 01:17:16 ---> Running in ce5a3d72450a 01:17:16 Removing intermediate container ce5a3d72450a 01:17:16 ---> 6253b8b5eb9f 01:17:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:17:17 ---> Running in 25c722c878ed 01:17:17 Removing intermediate container 25c722c878ed 01:17:17 ---> 48c26e7b4036 01:17:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:17:17 ---> Running in ffeeadec61c8 01:17:17 Removing intermediate container ffeeadec61c8 01:17:17 ---> f9dd51849cbf 01:17:17 Step 23/25 : LABEL arch=arm64 01:17:17 ---> Running in 9b4b79e7d88f 01:17:18 Removing intermediate container 9b4b79e7d88f 01:17:18 ---> 2a4eb49323cf 01:17:18 Step 24/25 : LABEL git_sha=0bc3f30d539332995b04e4270d58f382a711f8a9 01:17:18 ---> Running in cf643820cede 01:17:18 Removing intermediate container cf643820cede 01:17:18 ---> 010c459e63cc 01:17:18 Step 25/25 : LABEL version=3.1.0-dev.10 01:17:18 ---> Running in 06345e63e314 01:17:18 Removing intermediate container 06345e63e314 01:17:18 ---> 46a4bb8f570e 01:17:18 [Warning] One or more build-args [ARCH] were not consumed 01:17:18 Successfully built 46a4bb8f570e 01:17:18 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 01:17:18 provisioning config files... 01:17:18 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/130@tmp/config12841964924869747296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:19 ---> docker-login.sh 01:17:19 nexus3.edgexfoundry.org:10001 01:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:19 Configure a credential helper to remove this warning. See 01:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:19 01:17:19 Login Succeeded 01:17:19 nexus3.edgexfoundry.org:10002 01:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:19 Configure a credential helper to remove this warning. See 01:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:19 01:17:19 Login Succeeded 01:17:19 nexus3.edgexfoundry.org:10003 01:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:19 Configure a credential helper to remove this warning. See 01:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:19 01:17:19 Login Succeeded 01:17:19 nexus3.edgexfoundry.org:10004 01:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:20 Configure a credential helper to remove this warning. See 01:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:20 01:17:20 Login Succeeded 01:17:20 docker.io 01:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:20 Configure a credential helper to remove this warning. See 01:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:20 01:17:20 Login Succeeded 01:17:20 ---> docker-login.sh ends [Pipeline] } 01:17:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:17:20 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:17:20 0bc3f30d539332995b04e4270d58f382a711f8a9 01:17:20 latest 01:17:20 3.1.0-dev.10 01:17:20 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 01:17:20 main 01:17:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9 01:17:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:17:21 22e071cca7f0: Preparing 01:17:21 7626822a0a41: Preparing 01:17:21 9b40590abb0f: Preparing 01:17:21 52a231c20117: Preparing 01:17:21 d2d9d24a8c2a: Preparing 01:17:21 d2d9d24a8c2a: Layer already exists 01:17:21 7626822a0a41: Pushed 01:17:21 22e071cca7f0: Pushed 01:17:21 52a231c20117: Pushed 01:17:26 9b40590abb0f: Pushed 01:17:26 0bc3f30d539332995b04e4270d58f382a711f8a9: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:17:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:17:27 22e071cca7f0: Preparing 01:17:27 7626822a0a41: Preparing 01:17:27 9b40590abb0f: Preparing 01:17:27 52a231c20117: Preparing 01:17:27 d2d9d24a8c2a: Preparing 01:17:27 22e071cca7f0: Layer already exists 01:17:27 52a231c20117: Layer already exists 01:17:27 9b40590abb0f: Layer already exists 01:17:27 d2d9d24a8c2a: Layer already exists 01:17:27 7626822a0a41: Layer already exists 01:17:27 latest: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.10 01:17:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:17:28 22e071cca7f0: Preparing 01:17:28 7626822a0a41: Preparing 01:17:28 9b40590abb0f: Preparing 01:17:28 52a231c20117: Preparing 01:17:28 d2d9d24a8c2a: Preparing 01:17:28 d2d9d24a8c2a: Layer already exists 01:17:28 7626822a0a41: Layer already exists 01:17:28 9b40590abb0f: Layer already exists 01:17:28 52a231c20117: Layer already exists 01:17:28 22e071cca7f0: Layer already exists 01:17:28 3.1.0-dev.10: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 01:17:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:17:28 22e071cca7f0: Preparing 01:17:28 7626822a0a41: Preparing 01:17:28 9b40590abb0f: Preparing 01:17:28 52a231c20117: Preparing 01:17:28 d2d9d24a8c2a: Preparing 01:17:28 22e071cca7f0: Layer already exists 01:17:28 52a231c20117: Layer already exists 01:17:28 7626822a0a41: Layer already exists 01:17:28 d2d9d24a8c2a: Layer already exists 01:17:28 9b40590abb0f: Layer already exists 01:17:28 0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:17:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:17:29 22e071cca7f0: Preparing 01:17:29 7626822a0a41: Preparing 01:17:29 9b40590abb0f: Preparing 01:17:29 52a231c20117: Preparing 01:17:29 d2d9d24a8c2a: Preparing 01:17:29 9b40590abb0f: Layer already exists 01:17:29 22e071cca7f0: Layer already exists 01:17:29 52a231c20117: Layer already exists 01:17:29 7626822a0a41: Layer already exists 01:17:29 d2d9d24a8c2a: Layer already exists 01:17:29 main: digest: sha256:383b434a5d77560b8240947edb19c1a2c55d0331f1838bca21205eae0b61c078 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:29 ===================================================== [Pipeline] echo 01:17:29 taggedImages: 01:17:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9 01:17:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:17:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.10 01:17:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0bc3f30d539332995b04e4270d58f382a711f8a9-3.1.0-dev.10 01:17:29 - 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 01:17:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:30 01:17:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:30 arm64: Pulling from edgex-lftools-log-publisher 01:17:30 8998bd30e6a1: Pulling fs layer 01:17:30 04944245beec: Pulling fs layer 01:17:30 699f458cf7ca: Pulling fs layer 01:17:30 765212b225bb: Pulling fs layer 01:17:30 f23df028b6ca: Pulling fs layer 01:17:30 d65c8cfc05b1: Pulling fs layer 01:17:30 2437ff75d9bd: Pulling fs layer 01:17:30 765212b225bb: Waiting 01:17:30 d65c8cfc05b1: Waiting 01:17:30 2437ff75d9bd: Waiting 01:17:30 f23df028b6ca: Waiting 01:17:30 04944245beec: Verifying Checksum 01:17:30 04944245beec: Download complete 01:17:30 765212b225bb: Verifying Checksum 01:17:30 765212b225bb: Download complete 01:17:30 f23df028b6ca: Verifying Checksum 01:17:30 f23df028b6ca: Download complete 01:17:30 d65c8cfc05b1: Verifying Checksum 01:17:30 d65c8cfc05b1: Download complete 01:17:30 699f458cf7ca: Verifying Checksum 01:17:30 699f458cf7ca: Download complete 01:17:31 8998bd30e6a1: Verifying Checksum 01:17:31 8998bd30e6a1: Download complete 01:17:33 2437ff75d9bd: Verifying Checksum 01:17:33 2437ff75d9bd: Download complete 01:17:34 8998bd30e6a1: Pull complete 01:17:34 04944245beec: Pull complete 01:17:36 699f458cf7ca: Pull complete 01:17:36 765212b225bb: Pull complete 01:17:36 f23df028b6ca: Pull complete 01:17:37 d65c8cfc05b1: Pull complete 01:17:49 2437ff75d9bd: Pull complete 01:17:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:17:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:49 prd-ubuntu20.04-docker-arm64-4c-16g-5754 does not seem to be running inside a container 01:17:49 $ 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/130 -v /w/workspace/device-rest-go/130:/w/workspace/device-rest-go/130:rw,z -v /w/workspace/device-rest-go/130@tmp:/w/workspace/device-rest-go/130@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 01:17:51 $ docker top 32caa81deab089f62ea8e29a1ae8bb01dc35ba0e01a0cb87d08b858e0f523219 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:52 ---> job-cost.sh 01:17:52 lf-activate-venv: SKIPPING 01:17:52 INFO: No Stack... 01:17:52 INFO: Retrieving Pricing Info for: v3-standard-4 01:17:53 INFO: Archiving Costs [Pipeline] sh 01:17:54 + cat /w/workspace/device-rest-go/130/archives/cost.csv 01:17:54 + cut -d, -f6 [Pipeline] lock 01:17:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] 01:17:54 Resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] did not exist. Created. 01:17:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:17:54 /w/workspace/device-rest-go/130@tmp/durable-0a8f94f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:17:54 + echo total: 0.10999999940395355 [Pipeline] stash 01:17:54 Warning: overwriting stash ‘stack-cost’ 01:17:54 Stashed 1 file(s) [Pipeline] } 01:17:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 01:17:54 $ docker stop --time=1 32caa81deab089f62ea8e29a1ae8bb01dc35ba0e01a0cb87d08b858e0f523219 01:17:56 $ docker rm -f --volumes 32caa81deab089f62ea8e29a1ae8bb01dc35ba0e01a0cb87d08b858e0f523219 [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 01:17:56 provisioning config files... 01:17:56 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8676639926042803370tmp [Pipeline] { [Pipeline] sh 01:17:57 + set +x 01:17:57 + curl+ -s https://codecov.io/bash 01:17:57 bash -s -- 01:17:57 01:17:57 _____ _ 01:17:57 / ____| | | 01:17:57 | | ___ __| | ___ ___ _____ __ 01:17:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:17:57 | |___| (_) | (_| | __/ (_| (_) \ V / 01:17:57 \_____\___/ \__,_|\___|\___\___/ \_/ 01:17:57 Bash-1.0.6 01:17:57 01:17:57 01:17:57 ==> git version 2.25.1 found 01:17:57 ==> 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 01:17:57 Release-Date: 2020-01-08 01:17:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:17:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:17:57 ==> Jenkins CI detected. 01:17:57 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:17:57 project root: . 01:17:57 --> token set from env 01:17:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:17:57 ==> Running gcov in . (disable via -X gcov) 01:17:57 ==> Python coveragepy not found 01:17:57 ==> Searching for coverage reports in: 01:17:57 + . 01:17:57 -> Found 1 reports 01:17:57 ==> Detecting git/mercurial file structure 01:17:57 ==> Reading reports 01:17:57 + ./coverage.out bytes=14499 01:17:57 ==> Appending adjustments 01:17:57 https://docs.codecov.io/docs/fixing-reports 01:17:57 + Found adjustments 01:17:57 ==> Gzipping contents 01:17:57 4.0K /tmp/codecov.FScJ4L.gz 01:17:57 ==> Uploading reports 01:17:57 url: https://codecov.io 01:17:57 query: branch=main&commit=0bc3f30d539332995b04e4270d58f382a711f8a9&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:17:57 -> Pinging Codecov 01:17:57 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=0bc3f30d539332995b04e4270d58f382a711f8a9&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:17:57 -> Uploading to 01:17:57 https://storage.googleapis.com/codecov/v4/raw/2023-09-11/4E5D53B4F1F92C436F7061BF334D961C/0bc3f30d539332995b04e4270d58f382a711f8a9/8ad3dcd2-1366-47f3-aa0a-81ec29619f42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T011757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd6f6b85660af1ed5d39222cba765eb7821b43b78cb95ff3c28c866d5dda248b 01:17:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:17:57 Dload Upload Total Spent Left Speed 01:17:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13260 --:--:-- --:--:-- --:--:-- 13260 01:17:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] } 01:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:17:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:17:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:17:58 01:17:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:17:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:17:58 df9b9388f04a: Pulling fs layer 01:17:58 52dc419b0ee2: Pulling fs layer 01:17:58 25bc292e5bac: Pulling fs layer 01:17:58 114826534d7a: Pulling fs layer 01:17:58 4657fd5d0bcf: Pulling fs layer 01:17:58 6ad1cebc031e: Pulling fs layer 01:17:58 8a3aa393b2d8: Pulling fs layer 01:17:58 114826534d7a: Waiting 01:17:58 4657fd5d0bcf: Waiting 01:17:58 6ad1cebc031e: Waiting 01:17:58 8a3aa393b2d8: Waiting 01:17:58 25bc292e5bac: Verifying Checksum 01:17:58 25bc292e5bac: Download complete 01:17:58 52dc419b0ee2: Download complete 01:17:58 4657fd5d0bcf: Verifying Checksum 01:17:58 4657fd5d0bcf: Download complete 01:17:58 df9b9388f04a: Download complete 01:17:58 6ad1cebc031e: Verifying Checksum 01:17:58 6ad1cebc031e: Download complete 01:17:58 df9b9388f04a: Pull complete 01:17:58 52dc419b0ee2: Pull complete 01:17:58 25bc292e5bac: Pull complete 01:17:59 114826534d7a: Verifying Checksum 01:17:59 114826534d7a: Download complete 01:17:59 8a3aa393b2d8: Verifying Checksum 01:17:59 8a3aa393b2d8: Download complete 01:18:02 114826534d7a: Pull complete 01:18:02 4657fd5d0bcf: Pull complete 01:18:02 6ad1cebc031e: Pull complete 01:18:05 8a3aa393b2d8: Pull complete 01:18:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:05 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:18:05 $ 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 01:18:10 $ docker top 1dae4a5ed2d954e12cfcfc0a2dca1bb3206a8b299301c2a4a535f05048fc0693 -eo pid,comm [Pipeline] { [Pipeline] echo 01:18:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:18:10 + set -o pipefail 01:18:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:18:16 01:18:16 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:18:16 01:18:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/5f56faa9-23b3-4622-b51b-5d618d05d024 01:18:16 01:18:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:18:16 01:18:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:18:16 01:18:16 01:18:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:18:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:18:16 More details here: https://snyk.co/ue1NS 01:18:16 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:18:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:18:16 $ docker stop --time=1 1dae4a5ed2d954e12cfcfc0a2dca1bb3206a8b299301c2a4a535f05048fc0693 01:18:20 $ docker rm -f --volumes 1dae4a5ed2d954e12cfcfc0a2dca1bb3206a8b299301c2a4a535f05048fc0693 [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 01:18:21 + git log --format=format:%s -1 0bc3f30d539332995b04e4270d58f382a711f8a9 [Pipeline] sh 01:18:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:18:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:22 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:18:22 $ 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 01:18:22 $ docker top 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 -eo pid,comm 01:18:22 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). 01:18:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:22 [ssh-agent] Looking for ssh-agent implementation... 01:18:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:22 $ docker exec 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 ssh-agent 01:18:22 SSH_AUTH_SOCK=/tmp/ssh-dxNNns45f6pX/agent.32 01:18:22 SSH_AGENT_PID=39 01:18:22 Running ssh-add (command line suppressed) 01:18:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9336472406874674243.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9336472406874674243.key) 01:18:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:23 + git semver tag 01:18:23 2023-09-11 01:18:23,566 [run_tag] DEBUG tag force:False 01:18:23 2023-09-11 01:18:23,567 [check_head_tag] DEBUG check head tag 01:18:23 2023-09-11 01:18:23,568 [execute] INFO git cat-file --batch-check 01:18:23 2023-09-11 01:18:23,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:18:23 2023-09-11 01:18:23,574 [execute] INFO git cat-file --batch 01:18:23 2023-09-11 01:18:23,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:18:23 2023-09-11 01:18:23,585 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:23 2023-09-11 01:18:23,585 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 01:18:23 2023-09-11 01:18:23,585 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:18:23 2023-09-11 01:18:23,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:23 3.1.0-dev.10 [Pipeline] } 01:18:23 $ docker exec --env ******** --env ******** 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 ssh-agent -k 01:18:23 unset SSH_AUTH_SOCK; 01:18:23 unset SSH_AGENT_PID; 01:18:23 echo Agent pid 39 killed; 01:18:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:24 + git semver [Pipeline] } 01:18:24 $ docker stop --time=1 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 01:18:25 $ docker rm -f --volumes 39c31d816cbd7cad47d93a3fb3364f52177338708b53186b9b95dc49d257dba4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:26 01:18:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:26 0.23.1-centos7: Pulling from edgex-lftools 01:18:26 ab5ef0e58194: Pulling fs layer 01:18:26 9712f1f96733: Pulling fs layer 01:18:26 63f879dbbcfc: Pulling fs layer 01:18:26 0d9ebad4ef96: Pulling fs layer 01:18:26 e9a5061849ea: Pulling fs layer 01:18:26 d747dcd14b5f: Pulling fs layer 01:18:26 2de7ff778b66: Pulling fs layer 01:18:26 e9a5061849ea: Waiting 01:18:26 d747dcd14b5f: Waiting 01:18:26 2de7ff778b66: Waiting 01:18:26 9712f1f96733: Download complete 01:18:26 63f879dbbcfc: Verifying Checksum 01:18:26 63f879dbbcfc: Download complete 01:18:26 e9a5061849ea: Verifying Checksum 01:18:26 e9a5061849ea: Download complete 01:18:26 d747dcd14b5f: Verifying Checksum 01:18:26 d747dcd14b5f: Download complete 01:18:26 0d9ebad4ef96: Verifying Checksum 01:18:26 0d9ebad4ef96: Download complete 01:18:27 ab5ef0e58194: Verifying Checksum 01:18:27 ab5ef0e58194: Download complete 01:18:27 2de7ff778b66: Verifying Checksum 01:18:27 2de7ff778b66: Download complete 01:18:29 ab5ef0e58194: Pull complete 01:18:29 9712f1f96733: Pull complete 01:18:30 63f879dbbcfc: Pull complete 01:18:33 0d9ebad4ef96: Pull complete 01:18:33 e9a5061849ea: Pull complete 01:18:34 d747dcd14b5f: Pull complete 01:18:35 2de7ff778b66: Pull complete 01:18:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:35 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:18:35 $ 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 01:18:40 $ docker top d51a5964f06ea486743b3c3ac51d56c27121b8f82058444f0909bb15fbe4418b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:18:40 provisioning config files... 01:18:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9043727196406300959tmp 01:18:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15118101037347994933tmp 01:18:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16824049528260011314tmp [Pipeline] { [Pipeline] echo 01:18:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:18:41 ---> sigul-configuration.sh 01:18:41 gpg: directory `/root/.gnupg' created 01:18:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:18:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:18:41 gpg: keyring `/root/.gnupg/secring.gpg' created 01:18:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:18:41 gpg: CAST5 encrypted data 01:18:41 gpg: encrypted with 1 passphrase 01:18:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:18:41 + mkdir /home/jenkins 01:18:41 + mkdir /home/jenkins/sigul [Pipeline] sh 01:18:41 + 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 01:18:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:18:41 ---> sigul-install.sh 01:18:41 Sigul already installed; skipping installation. [Pipeline] sh 01:18:42 + git tag --list 01:18:42 v1.0.0 01:18:42 v1.1.0 01:18:42 v1.1.1 01:18:42 v1.1.2 01:18:42 v1.2.0 01:18:42 v1.2.1 01:18:42 v2.0.0 01:18:42 v2.1.0 01:18:42 v2.1.1 01:18:42 v2.2.0 01:18:42 v2.3.0 01:18:42 v3.0 01:18:42 v3.0.0 01:18:42 v3.1.0-dev.1 01:18:42 v3.1.0-dev.10 01:18:42 v3.1.0-dev.2 01:18:42 v3.1.0-dev.3 01:18:42 v3.1.0-dev.4 01:18:42 v3.1.0-dev.5 01:18:42 v3.1.0-dev.6 01:18:42 v3.1.0-dev.7 01:18:42 v3.1.0-dev.8 01:18:42 v3.1.0-dev.9 [Pipeline] sh 01:18:42 + lftools sign git-tag v3.1.0-dev.10 01:18:43 Signing Git tag with Sigul... 01:18:43 Signing v3.1.0-dev.10 [Pipeline] echo 01:18:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:18:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:18:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:18:43 $ docker stop --time=1 d51a5964f06ea486743b3c3ac51d56c27121b8f82058444f0909bb15fbe4418b 01:18:44 $ docker rm -f --volumes d51a5964f06ea486743b3c3ac51d56c27121b8f82058444f0909bb15fbe4418b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:18:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:18:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:45 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:18:45 $ 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 01:18:46 $ docker top 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 -eo pid,comm 01:18:46 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). 01:18:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:46 [ssh-agent] Looking for ssh-agent implementation... 01:18:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:46 $ docker exec 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 ssh-agent 01:18:46 SSH_AUTH_SOCK=/tmp/ssh-dBALfiDlRMOm/agent.32 01:18:46 SSH_AGENT_PID=38 01:18:46 Running ssh-add (command line suppressed) 01:18:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4040742807816961175.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4040742807816961175.key) 01:18:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:46 + git semver bump pre 01:18:47 2023-09-11 01:18:46,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:47 2023-09-11 01:18:46,973 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev 01:18:47 2023-09-11 01:18:46,973 [bump_version] DEBUG bumped version:3.1.0-dev.11 01:18:47 2023-09-11 01:18:46,973 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:18:47 2023-09-11 01:18:46,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:47 2023-09-11 01:18:46,973 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:47 2023-09-11 01:18:46,975 [execute] INFO git cat-file --batch-check 01:18:47 2023-09-11 01:18:46,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:18:47 2023-09-11 01:18:46,980 [execute] INFO git cat-file --batch 01:18:47 2023-09-11 01:18:46,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:18:47 2023-09-11 01:18:46,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:47 3.1.0-dev.11 [Pipeline] } 01:18:47 $ docker exec --env ******** --env ******** 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 ssh-agent -k 01:18:47 unset SSH_AUTH_SOCK; 01:18:47 unset SSH_AGENT_PID; 01:18:47 echo Agent pid 38 killed; 01:18:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:47 + git semver [Pipeline] } 01:18:47 $ docker stop --time=1 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 01:18:49 $ docker rm -f --volumes 72b3f885482d3fb800d247d3ce30f493a0c544dc49cb0b6e0e7b4214a34ee222 [Pipeline] // withDockerContainer [Pipeline] sh 01:18:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:18:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:49 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:18:49 $ 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 01:18:50 $ docker top 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:50 [ssh-agent] Looking for ssh-agent implementation... 01:18:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:50 $ docker exec 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 ssh-agent 01:18:50 SSH_AUTH_SOCK=/tmp/ssh-bRTSqeWZMWhc/agent.32 01:18:50 SSH_AGENT_PID=38 01:18:50 Running ssh-add (command line suppressed) 01:18:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11929510977071225772.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11929510977071225772.key) 01:18:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:50 + git semver push 01:18:51 2023-09-11 01:18:51,005 [run_push] DEBUG push 01:18:51 2023-09-11 01:18:51,006 [execute] INFO git cat-file --batch-check 01:18:51 2023-09-11 01:18:51,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:18:51 2023-09-11 01:18:51,010 [execute] INFO git rev-list cf47de288f542579d37a992d0befccc6ccb48c2f -- 01:18:51 2023-09-11 01:18:51,010 [execute] DEBUG Popen(['git', 'rev-list', 'cf47de288f542579d37a992d0befccc6ccb48c2f', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:18:51 2023-09-11 01:18:51,019 [execute] INFO git fetch -v origin 01:18:51 2023-09-11 01:18:51,020 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:18:51 2023-09-11 01:18:51,469 [run_push] DEBUG no remote changes detected 01:18:51 2023-09-11 01:18:51,469 [execute] INFO git push origin semver 01:18:51 2023-09-11 01:18:51,469 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:18:52 2023-09-11 01:18:52,289 [run_push] DEBUG push all version tags 01:18:52 2023-09-11 01:18:52,290 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:18:52 2023-09-11 01:18:52,290 [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) 01:18:53 2023-09-11 01:18:53,107 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:18:53 3.1.0-dev.11 [Pipeline] } 01:18:53 $ docker exec --env ******** --env ******** 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 ssh-agent -k 01:18:53 unset SSH_AUTH_SOCK; 01:18:53 unset SSH_AGENT_PID; 01:18:53 echo Agent pid 38 killed; 01:18:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:53 + git semver [Pipeline] } 01:18:53 $ docker stop --time=1 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 01:18:55 $ docker rm -f --volumes 5afe0eb471df2ae46f6fc833fbc0429b8ad74ce97f6cd0553052234dab709680 [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 01:18:55 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:18:55 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:18:55 total 16 01:18:55 drwxr-xr-x 3 root root 4096 Sep 11 01:08 . 01:18:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:18 .. 01:18:55 drwxr-xr-x 2 root root 4096 Sep 11 01:08 cost 01:18:55 -rw-r--r-- 1 root root 86 Sep 11 01:08 cost.csv 01:18:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:18:55 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:18:55 total 16 01:18:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:08 . 01:18:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:18 .. 01:18:55 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 01:08 cost 01:18:55 -rw-r--r-- 1 jenkins jenkins 86 Sep 11 01:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:18:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:18:56 ---> package-listing.sh 01:18:56 ++ facter osfamily 01:18:56 ++ tr '[:upper:]' '[:lower:]' 01:18:57 + OS_FAMILY=debian 01:18:57 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:18:57 + START_PACKAGES=/tmp/packages_start.txt 01:18:57 + END_PACKAGES=/tmp/packages_end.txt 01:18:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:18:57 + PACKAGES=/tmp/packages_start.txt 01:18:57 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:18:57 + PACKAGES=/tmp/packages_end.txt 01:18:57 + case "${OS_FAMILY}" in 01:18:57 + dpkg -l 01:18:57 + grep '^ii' 01:18:57 + '[' -f /tmp/packages_start.txt ']' 01:18:57 + '[' -f /tmp/packages_end.txt ']' 01:18:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:18:57 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:18:57 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:18:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:18:57 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 01:18:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:58 prd-ubuntu20.04-docker-8c-8g-5752 does not seem to be running inside a container 01:18:58 $ 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 01:18:58 $ docker top 6a6a59163d91ff38b41faa37e65a5d8b69d1b3ad7244212a842b4d5baeb8bfa5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:58 + touch /tmp/pre-build-complete [Pipeline] sh 01:18:59 + mkdir -p /var/log/sysstat [Pipeline] sh 01:18:59 + ls /var/log/sa-host 01:18:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:59 provisioning config files... 01:18:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10941771772119355819tmp [Pipeline] { [Pipeline] echo 01:18:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:18:59 ---> create-netrc.sh [Pipeline] } 01:18:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:19:00 ---> python-tools-install.sh [Pipeline] echo 01:19:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:19:00 ---> sudo-logs.sh 01:19:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:19:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:19:00 ---> job-cost.sh 01:19:00 lf-activate-venv: SKIPPING 01:19:00 DEBUG: total: 0.2199999988079071 01:19:00 INFO: Retrieving Stack Cost... 01:19:00 INFO: Retrieving Pricing Info for: v3-standard-8 01:19:01 INFO: Archiving Costs [Pipeline] echo 01:19:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:19:01 ---> logs-deploy.sh 01:19:01 lf-activate-venv: SKIPPING 01:19:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/130 01:19:01 INFO: archiving workspace using pattern(s): 01:19:02 Archives upload complete. 01:19:02 INFO: archiving logs to Nexus