Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57a7e4fe794bb86fec7da1c819e454c45e75ed90 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-ssh14687541540588375544.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-ssh2347321683730553817.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-ssh11232935499707064765.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-ssh15935598775742020341.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-ssh12765009254032454109.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-5376 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 57a7e4fe794bb86fec7da1c819e454c45e75ed90 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#336)" > git config core.sparsecheckout # timeout=10 > git checkout -f 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 > git rev-list --no-walk f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:49:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:49:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:49:55 ========================================================= 20:49:55 EdgeX Global Pipelines Version Info 20:49:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:49:55 ------------------- 20:49:55 stable info: 20:49:55 ------------------- 20:49:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:49:55 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:49:55 Message: update stable to v1.0.253 20:49:56 ------------------- 20:49:56 experimental info: 20:49:56 ------------------- 20:49:56 Commited By: **** collab-it+edgex@linuxfoundation.org 20:49:56 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:49:56 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:49:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57a7e4f [Pipeline] echo 20:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:57 provisioning config files... 20:49:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8975565950737903390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:57 ---> docker-login.sh 20:49:57 nexus3.edgexfoundry.org:10001 20:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:57 Configure a credential helper to remove this warning. See 20:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:57 20:49:57 Login Succeeded 20:49:57 nexus3.edgexfoundry.org:10002 20:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:57 Configure a credential helper to remove this warning. See 20:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:57 20:49:57 Login Succeeded 20:49:57 nexus3.edgexfoundry.org:10003 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 nexus3.edgexfoundry.org:10004 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 docker.io 20:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:58 Configure a credential helper to remove this warning. See 20:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:58 20:49:58 Login Succeeded 20:49:58 ---> docker-login.sh ends [Pipeline] } 20:49:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:49:58 + git rev-list -1 --merges 57a7e4fe794bb86fec7da1c819e454c45e75ed90~1..57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo 20:49:58 -----------> git rev-list -1 --merges 57a7e4fe794bb86fec7da1c819e454c45e75ed90~1..57a7e4fe794bb86fec7da1c819e454c45e75ed90 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [false] [Pipeline] sh 20:49:59 + git log --format=format:%s -1 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo 20:49:59 ========================================================= 20:49:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:49:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:59 + git log --format=format:%s -1 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo 20:49:59 [semverPrep] GIT_COMMIT: 57a7e4fe794bb86fec7da1c819e454c45e75ed90, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#336) [Pipeline] echo 20:49:59 [semverPrep] This is not a build commit. [Pipeline] sh 20:49:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:49:59 + grep -v github /etc/ssh/ssh_known_hosts 20:49:59 + [ -e /tmp/ssh_known_hosts ] 20:49:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:49:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:49:59 + sudo tee -a /etc/ssh/ssh_known_hosts 20:49:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:00 20:50:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:00 0.1.4: Pulling from edgex-devops/py-git-semver 20:50:00 b85a868b505f: Pulling fs layer 20:50:00 e2be974225ed: Pulling fs layer 20:50:00 339a4e72a1f5: Pulling fs layer 20:50:00 988bab9f4d93: Pulling fs layer 20:50:00 1469e6f7b9e6: Pulling fs layer 20:50:00 eaf3925da568: Pulling fs layer 20:50:00 bab4dde63d76: Pulling fs layer 20:50:00 bde34c3a00c8: Pulling fs layer 20:50:00 b352a97aabf1: Pulling fs layer 20:50:00 4872d77fe225: Pulling fs layer 20:50:00 5851b861e8e6: Pulling fs layer 20:50:00 988bab9f4d93: Waiting 20:50:00 1469e6f7b9e6: Waiting 20:50:00 b352a97aabf1: Waiting 20:50:00 eaf3925da568: Waiting 20:50:00 5851b861e8e6: Waiting 20:50:00 bab4dde63d76: Waiting 20:50:00 4872d77fe225: Waiting 20:50:00 bde34c3a00c8: Waiting 20:50:00 e2be974225ed: Download complete 20:50:00 988bab9f4d93: Download complete 20:50:00 339a4e72a1f5: Verifying Checksum 20:50:00 339a4e72a1f5: Download complete 20:50:00 1469e6f7b9e6: Verifying Checksum 20:50:00 1469e6f7b9e6: Download complete 20:50:00 eaf3925da568: Verifying Checksum 20:50:00 eaf3925da568: Download complete 20:50:00 bde34c3a00c8: Verifying Checksum 20:50:00 bde34c3a00c8: Download complete 20:50:00 b352a97aabf1: Verifying Checksum 20:50:00 b352a97aabf1: Download complete 20:50:00 b85a868b505f: Verifying Checksum 20:50:00 b85a868b505f: Download complete 20:50:00 4872d77fe225: Verifying Checksum 20:50:00 4872d77fe225: Download complete 20:50:00 5851b861e8e6: Download complete 20:50:01 bab4dde63d76: Verifying Checksum 20:50:01 bab4dde63d76: Download complete 20:50:02 b85a868b505f: Pull complete 20:50:02 e2be974225ed: Pull complete 20:50:02 339a4e72a1f5: Pull complete 20:50:02 988bab9f4d93: Pull complete 20:50:02 1469e6f7b9e6: Pull complete 20:50:02 eaf3925da568: Pull complete 20:50:04 bab4dde63d76: Pull complete 20:50:04 bde34c3a00c8: Pull complete 20:50:04 b352a97aabf1: Pull complete 20:50:04 4872d77fe225: Pull complete 20:50:05 5851b861e8e6: Pull complete 20:50:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:05 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 20:50:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:50:08 $ docker top 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e -eo pid,comm 20:50:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:50:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:08 [ssh-agent] Looking for ssh-agent implementation... 20:50:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:08 $ docker exec 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent 20:50:08 SSH_AUTH_SOCK=/tmp/ssh-X0xlGqfUwuaT/agent.33 20:50:08 SSH_AGENT_PID=39 20:50:08 Running ssh-add (command line suppressed) 20:50:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4414596799436444350.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4414596799436444350.key) 20:50:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:08 + git tag --points-at HEAD [Pipeline] } 20:50:08 $ docker exec --env ******** --env ******** 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent -k 20:50:08 unset SSH_AUTH_SOCK; 20:50:08 unset SSH_AGENT_PID; 20:50:08 echo Agent pid 39 killed; 20:50:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:50:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:09 [ssh-agent] Looking for ssh-agent implementation... 20:50:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:09 $ docker exec 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent 20:50:09 SSH_AUTH_SOCK=/tmp/ssh-WIv3iZQGZpmP/agent.71 20:50:09 SSH_AGENT_PID=77 20:50:09 Running ssh-add (command line suppressed) 20:50:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2358186862521497047.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2358186862521497047.key) 20:50:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:09 + git semver init 20:50:09 2023-09-05 20:50:09,824 [run_init] DEBUG init version:0.0.0 force:False 20:50:09 2023-09-05 20:50:09,825 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:50:09 2023-09-05 20:50:09,825 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:50:09 2023-09-05 20:50:09,825 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:50:11 2023-09-05 20:50:10,988 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:50:11 2023-09-05 20:50:10,989 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:50:11 2023-09-05 20:50:10,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:50:11 2023-09-05 20:50:10,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:50:11 3.1.0-dev.8 [Pipeline] } 20:50:11 $ docker exec --env ******** --env ******** 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent -k 20:50:11 unset SSH_AUTH_SOCK; 20:50:11 unset SSH_AGENT_PID; 20:50:11 echo Agent pid 77 killed; 20:50:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:11 + git semver [Pipeline] } 20:50:11 $ docker stop --time=1 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e 20:50:13 $ docker rm -f --volumes 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e [Pipeline] // withDockerContainer [Pipeline] sh 20:50:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:50:13 Stashed 1 file(s) [Pipeline] echo 20:50:13 [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:13 provisioning config files... 20:50:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config397172220744112255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:14 ---> docker-login.sh 20:50:14 nexus3.edgexfoundry.org:10001 20:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:14 Configure a credential helper to remove this warning. See 20:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:14 20:50:14 Login Succeeded 20:50:14 nexus3.edgexfoundry.org:10002 20:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:14 Configure a credential helper to remove this warning. See 20:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:14 20:50:14 Login Succeeded 20:50:14 nexus3.edgexfoundry.org:10003 20:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:14 Configure a credential helper to remove this warning. See 20:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:14 20:50:14 Login Succeeded 20:50:14 nexus3.edgexfoundry.org:10004 20:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:14 Configure a credential helper to remove this warning. See 20:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:14 20:50:14 Login Succeeded 20:50:14 docker.io 20:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:14 Configure a credential helper to remove this warning. See 20:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:14 20:50:14 Login Succeeded 20:50:14 ---> docker-login.sh ends [Pipeline] } 20:50:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:50:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:14 ========================================================= 20:50:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:50:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:15 + 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 . 20:50:15 Sending build context to Docker daemon 10.92MB 20:50:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:50:15 Step 2/12 : FROM ${BASE} AS builder 20:50:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:50:15 4db1b89c0bd1: Pulling fs layer 20:50:15 6911f1a30b25: Pulling fs layer 20:50:15 e194b8c5c2a9: Pulling fs layer 20:50:15 6863d3e3a2b1: Pulling fs layer 20:50:15 ec0bb842ea78: Pulling fs layer 20:50:15 40a00589a448: Pulling fs layer 20:50:15 6c08303d61cc: Pulling fs layer 20:50:15 798269fcf238: Pulling fs layer 20:50:15 6863d3e3a2b1: Waiting 20:50:15 ec0bb842ea78: Waiting 20:50:15 40a00589a448: Waiting 20:50:15 6c08303d61cc: Waiting 20:50:15 798269fcf238: Waiting 20:50:15 6911f1a30b25: Download complete 20:50:15 6863d3e3a2b1: Verifying Checksum 20:50:15 6863d3e3a2b1: Download complete 20:50:15 ec0bb842ea78: Verifying Checksum 20:50:15 ec0bb842ea78: Download complete 20:50:15 4db1b89c0bd1: Download complete 20:50:15 40a00589a448: Verifying Checksum 20:50:15 40a00589a448: Download complete 20:50:15 4db1b89c0bd1: Pull complete 20:50:15 6911f1a30b25: Pull complete 20:50:15 798269fcf238: Verifying Checksum 20:50:15 798269fcf238: Download complete 20:50:15 e194b8c5c2a9: Verifying Checksum 20:50:15 e194b8c5c2a9: Download complete 20:50:15 6c08303d61cc: Verifying Checksum 20:50:15 6c08303d61cc: Download complete 20:50:19 e194b8c5c2a9: Pull complete 20:50:19 6863d3e3a2b1: Pull complete 20:50:19 ec0bb842ea78: Pull complete 20:50:19 40a00589a448: Pull complete 20:50:21 6c08303d61cc: Pull complete 20:50:22 798269fcf238: Pull complete 20:50:22 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:50:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:50:22 ---> ec979cd7f677 20:50:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:50:28 ---> Running in 89cdda45b67f 20:50:28 Removing intermediate container 89cdda45b67f 20:50:28 ---> a79860f22a6d 20:50:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:50:28 ---> Running in b3bfc47c788a 20:50:28 Removing intermediate container b3bfc47c788a 20:50:28 ---> d9bc881e804f 20:50:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:50:28 ---> Running in 80b29c876cd0 20:50:28 Removing intermediate container 80b29c876cd0 20:50:28 ---> e5c8c9a01d5f 20:50:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:50:28 ---> Running in dd080101647c 20:50:28 Removing intermediate container dd080101647c 20:50:28 ---> d1edfeed91d3 20:50:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:28 ---> Running in aff033b07fc3 20:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:50:28 Still waiting to schedule task 20:50:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:50:29 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:50:29 (2/4) Installing libedit (20221030.3.1-r0) 20:50:29 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:50:29 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:50:29 Executing busybox-1.35.0-r29.trigger 20:50:29 OK: 269 MiB in 57 packages 20:50:29 Removing intermediate container aff033b07fc3 20:50:29 ---> 2e4bd3e13b54 20:50:29 Step 8/12 : WORKDIR /device-rest-go 20:50:29 ---> Running in aaecdb4640a1 20:50:29 Removing intermediate container aaecdb4640a1 20:50:29 ---> 501627476b2c 20:50:29 Step 9/12 : COPY go.mod vendor* ./ 20:50:29 ---> 4ab6f4cc14ef 20:50:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:29 ---> Running in 61612c04c06d 20:51:03 Removing intermediate container 61612c04c06d 20:51:03 ---> cd230ac78e00 20:51:03 Step 11/12 : COPY . . 20:51:03 ---> 4022a719693c 20:51:03 Step 12/12 : RUN $MAKE 20:51:03 ---> Running in 5cdadf721f8d 20:51:03 noop 20:51:03 Removing intermediate container 5cdadf721f8d 20:51:03 ---> a7692a1ad32e 20:51:03 Successfully built a7692a1ad32e 20:51:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:03 + docker inspect -f . ci-base-image-x86_64 20:51:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:03 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 20:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:51:03 $ docker top b905167c6a4be996d15324339dde147f54d3b2462ad070eb8ae8fbe95612f793 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:04 + go version 20:51:04 go version go1.20.6 linux/amd64 [Pipeline] } 20:51:04 $ docker stop --time=1 b905167c6a4be996d15324339dde147f54d3b2462ad070eb8ae8fbe95612f793 20:51:05 $ docker rm -f --volumes b905167c6a4be996d15324339dde147f54d3b2462ad070eb8ae8fbe95612f793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:05 + docker inspect -f . ci-base-image-x86_64 20:51:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:05 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 20:51:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:51:06 $ docker top e8c7a713dea30d07b0970eae51093fbaa3b7bdfd47a39f483c3023c6b358fadf -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:51:07 + make test 20:51:07 go test ./... -coverprofile=coverage.out ./... 20:51:12 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:51:22 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:51:28 go vet ./... 20:51:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:32 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:51:32 $ docker stop --time=1 e8c7a713dea30d07b0970eae51093fbaa3b7bdfd47a39f483c3023c6b358fadf 20:51:36 $ docker rm -f --volumes e8c7a713dea30d07b0970eae51093fbaa3b7bdfd47a39f483c3023c6b358fadf [Pipeline] // withDockerContainer [Pipeline] sh 20:51:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:51:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:37 + ls -al . 20:51:37 total 188 20:51:37 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 20:51 . 20:51:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:49 .. 20:51:37 -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:49 .dockerignore 20:51:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:50 .git 20:51:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:49 .github 20:51:37 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:49 .gitignore 20:51:37 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:49 .golangci.yml 20:51:37 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:50 .semver 20:51:37 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:49 Attribution.txt 20:51:37 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:49 CHANGELOG.md 20:51:37 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:49 Dockerfile 20:51:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:49 GOVERNANCE.md 20:51:37 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:49 Jenkinsfile 20:51:37 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:49 LICENSE 20:51:37 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:49 Makefile 20:51:37 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:49 OWNERS.md 20:51:37 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:49 README.md 20:51:37 -rw-rw-r-- 1 jenkins jenkins 11 Sep 5 20:50 VERSION 20:51:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:49 bin 20:51:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:49 cmd 20:51:37 -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:51 coverage.out 20:51:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:49 driver 20:51:37 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:49 go.mod 20:51:37 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:49 go.sum 20:51:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:49 snap 20:51:37 -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:37 + 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=57a7e4fe794bb86fec7da1c819e454c45e75ed90 --label arch=amd64 --label version=3.1.0-dev.8 . 20:51:37 Sending build context to Docker daemon 10.94MB 20:51:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:51:37 Step 2/25 : FROM ${BASE} AS builder 20:51:37 ---> a7692a1ad32e 20:51:37 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:51:38 ---> Running in 10772ffba82f 20:51:38 Removing intermediate container 10772ffba82f 20:51:38 ---> 47582b986cf1 20:51:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:38 ---> Running in 137fc49575d7 20:51:38 Removing intermediate container 137fc49575d7 20:51:38 ---> 9e2b07e3ff3d 20:51:38 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:51:38 ---> Running in d14bc9db9f09 20:51:38 Removing intermediate container d14bc9db9f09 20:51:38 ---> 34f9f22d4bac 20:51:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:51:38 ---> Running in fbef879dc5da 20:51:38 Removing intermediate container fbef879dc5da 20:51:38 ---> 606e019c6d10 20:51:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:38 ---> Running in 826158391dd2 20:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:51:39 OK: 269 MiB in 57 packages 20:51:39 Removing intermediate container 826158391dd2 20:51:39 ---> 57f58239c34d 20:51:39 Step 8/25 : WORKDIR /device-rest-go 20:51:39 ---> Running in 6acb91cc9fe7 20:51:39 Removing intermediate container 6acb91cc9fe7 20:51:39 ---> b957329b1863 20:51:39 Step 9/25 : COPY go.mod vendor* ./ 20:51:39 ---> 77852dda69e9 20:51:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:39 ---> Running in 7f0f684d7ba5 20:51:40 Removing intermediate container 7f0f684d7ba5 20:51:40 ---> 12719f1f9730 20:51:40 Step 11/25 : COPY . . 20:51:41 ---> 5b6e95896a32 20:51:41 Step 12/25 : RUN $MAKE 20:51:41 ---> Running in 9f7e9cc0330a 20:51:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:52:03 Removing intermediate container 9f7e9cc0330a 20:52:03 ---> 3d388d38581c 20:52:03 Step 13/25 : FROM alpine:3.17 20:52:03 3.17: Pulling from library/alpine 20:52:03 9398808236ff: Pulling fs layer 20:52:03 9398808236ff: Download complete 20:52:03 9398808236ff: Pull complete 20:52:03 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:52:03 Status: Downloaded newer image for alpine:3.17 20:52:03 ---> 1e0b8b5322fc 20:52:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:52:03 ---> Running in 5cc8dbad3666 20:52:03 Removing intermediate container 5cc8dbad3666 20:52:03 ---> 37f9333c022a 20:52:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:52:03 ---> Running in 852e733f3393 20:52:03 Removing intermediate container 852e733f3393 20:52:03 ---> 1668ffd7fc20 20:52:03 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:52:03 ---> Running in 3e6f5f7e2691 20:52:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:52:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:52:03 (1/1) Installing dumb-init (1.2.5-r2) 20:52:03 Executing busybox-1.35.0-r29.trigger 20:52:03 OK: 7 MiB in 16 packages 20:52:03 Removing intermediate container 3e6f5f7e2691 20:52:03 ---> 241c7f1b650b 20:52:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:52:04 ---> 0352fdb63384 20:52:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:52:05 ---> 052ada737550 20:52:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:52:05 ---> 2490ab082dde 20:52:05 Step 20/25 : EXPOSE 59986 20:52:05 ---> Running in 4b528b177abe 20:52:05 Removing intermediate container 4b528b177abe 20:52:05 ---> 7bf063cf39f1 20:52:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:52:05 ---> Running in 214bd9691549 20:52:05 Removing intermediate container 214bd9691549 20:52:05 ---> 3e0b16b69ce1 20:52:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:52:05 ---> Running in 456a9ec9c3b2 20:52:05 Removing intermediate container 456a9ec9c3b2 20:52:05 ---> 8803c3eafac7 20:52:05 Step 23/25 : LABEL arch=amd64 20:52:05 ---> Running in e0a182e31b0a 20:52:05 Removing intermediate container e0a182e31b0a 20:52:05 ---> 780f3255d7f1 20:52:05 Step 24/25 : LABEL git_sha=57a7e4fe794bb86fec7da1c819e454c45e75ed90 20:52:05 ---> Running in bbcc98fd4eef 20:52:05 Removing intermediate container bbcc98fd4eef 20:52:05 ---> 20e66f45b7bf 20:52:05 Step 25/25 : LABEL version=3.1.0-dev.8 20:52:05 ---> Running in 20dcc0e169d8 20:52:05 Removing intermediate container 20dcc0e169d8 20:52:05 ---> ee82f8048c01 20:52:05 [Warning] One or more build-args [ARCH] were not consumed 20:52:05 Successfully built ee82f8048c01 20:52:05 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:05 provisioning config files... 20:52:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2647378763663606066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:06 ---> docker-login.sh 20:52:06 nexus3.edgexfoundry.org:10001 20:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:06 Configure a credential helper to remove this warning. See 20:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:06 20:52:06 Login Succeeded 20:52:06 nexus3.edgexfoundry.org:10002 20:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:06 Configure a credential helper to remove this warning. See 20:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:06 20:52:06 Login Succeeded 20:52:06 nexus3.edgexfoundry.org:10003 20:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:06 Configure a credential helper to remove this warning. See 20:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:06 20:52:06 Login Succeeded 20:52:06 nexus3.edgexfoundry.org:10004 20:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:06 Configure a credential helper to remove this warning. See 20:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:06 20:52:06 Login Succeeded 20:52:06 docker.io 20:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:06 Configure a credential helper to remove this warning. See 20:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:06 20:52:06 Login Succeeded 20:52:06 ---> docker-login.sh ends [Pipeline] } 20:52:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:07 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:52:07 57a7e4fe794bb86fec7da1c819e454c45e75ed90 20:52:07 latest 20:52:07 3.1.0-dev.8 20:52:07 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 20:52:07 main 20:52:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90 20:52:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:07 a1880dcc167e: Preparing 20:52:07 18cefbfaa85f: Preparing 20:52:07 f3696b76283f: Preparing 20:52:07 1bdb917ee235: Preparing 20:52:07 36b50b131297: Preparing 20:52:07 36b50b131297: Layer already exists 20:52:07 18cefbfaa85f: Pushed 20:52:07 a1880dcc167e: Pushed 20:52:07 1bdb917ee235: Pushed 20:52:10 f3696b76283f: Pushed 20:52:10 57a7e4fe794bb86fec7da1c819e454c45e75ed90: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:52:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:11 a1880dcc167e: Preparing 20:52:11 18cefbfaa85f: Preparing 20:52:11 f3696b76283f: Preparing 20:52:11 1bdb917ee235: Preparing 20:52:11 36b50b131297: Preparing 20:52:11 36b50b131297: Layer already exists 20:52:11 1bdb917ee235: Layer already exists 20:52:11 18cefbfaa85f: Layer already exists 20:52:11 a1880dcc167e: Layer already exists 20:52:11 f3696b76283f: Layer already exists 20:52:11 latest: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.8 20:52:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:12 a1880dcc167e: Preparing 20:52:12 18cefbfaa85f: Preparing 20:52:12 f3696b76283f: Preparing 20:52:12 1bdb917ee235: Preparing 20:52:12 36b50b131297: Preparing 20:52:12 f3696b76283f: Layer already exists 20:52:12 a1880dcc167e: Layer already exists 20:52:12 1bdb917ee235: Layer already exists 20:52:12 18cefbfaa85f: Layer already exists 20:52:12 36b50b131297: Layer already exists 20:52:12 3.1.0-dev.8: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 20:52:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:12 a1880dcc167e: Preparing 20:52:12 18cefbfaa85f: Preparing 20:52:12 f3696b76283f: Preparing 20:52:12 1bdb917ee235: Preparing 20:52:12 36b50b131297: Preparing 20:52:12 36b50b131297: Layer already exists 20:52:12 a1880dcc167e: Layer already exists 20:52:12 18cefbfaa85f: Layer already exists 20:52:12 f3696b76283f: Layer already exists 20:52:12 1bdb917ee235: Layer already exists 20:52:12 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:13 a1880dcc167e: Preparing 20:52:13 18cefbfaa85f: Preparing 20:52:13 f3696b76283f: Preparing 20:52:13 1bdb917ee235: Preparing 20:52:13 36b50b131297: Preparing 20:52:13 18cefbfaa85f: Layer already exists 20:52:13 1bdb917ee235: Layer already exists 20:52:13 a1880dcc167e: Layer already exists 20:52:13 f3696b76283f: Layer already exists 20:52:13 36b50b131297: Layer already exists 20:52:13 main: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:13 ===================================================== [Pipeline] echo 20:52:13 taggedImages: 20:52:13 - nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90 20:52:13 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:52:13 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.8 20:52:13 - nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 20:52:13 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:13 20:52:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:14 latest: Pulling from edgex-lftools-log-publisher 20:52:14 5eb5b503b376: Pulling fs layer 20:52:14 5c69ac0246d0: Pulling fs layer 20:52:14 ec43610c2a17: Pulling fs layer 20:52:14 3a2ae6a8a46f: Pulling fs layer 20:52:14 33b1e0a273af: Pulling fs layer 20:52:14 5d3b04190fa2: Pulling fs layer 20:52:14 2f39f015ded8: Pulling fs layer 20:52:14 3a2ae6a8a46f: Waiting 20:52:14 33b1e0a273af: Waiting 20:52:14 5d3b04190fa2: Waiting 20:52:14 2f39f015ded8: Waiting 20:52:14 5c69ac0246d0: Verifying Checksum 20:52:14 5c69ac0246d0: Download complete 20:52:14 3a2ae6a8a46f: Verifying Checksum 20:52:14 3a2ae6a8a46f: Download complete 20:52:14 33b1e0a273af: Verifying Checksum 20:52:14 33b1e0a273af: Download complete 20:52:14 5d3b04190fa2: Verifying Checksum 20:52:14 5d3b04190fa2: Download complete 20:52:14 ec43610c2a17: Verifying Checksum 20:52:14 ec43610c2a17: Download complete 20:52:14 5eb5b503b376: Verifying Checksum 20:52:14 5eb5b503b376: Download complete 20:52:14 2f39f015ded8: Download complete 20:52:15 5eb5b503b376: Pull complete 20:52:15 5c69ac0246d0: Pull complete 20:52:16 ec43610c2a17: Pull complete 20:52:16 3a2ae6a8a46f: Pull complete 20:52:16 33b1e0a273af: Pull complete 20:52:16 5d3b04190fa2: Pull complete 20:52:20 2f39f015ded8: Pull complete 20:52:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:20 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 20:52:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:52:26 $ docker top 014b64fef285d1c89827533ae8475d80b5e78235c03680d37fa40bc233ccc6d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:26 ---> job-cost.sh 20:52:26 lf-activate-venv: SKIPPING 20:52:26 INFO: No Stack... 20:52:26 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:27 INFO: Archiving Costs [Pipeline] sh 20:52:27 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:52:27 + cut -d, -f6 [Pipeline] lock 20:52:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] 20:52:27 Resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] did not exist. Created. 20:52:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:27 + echo total: 0.2199999988079071 [Pipeline] stash 20:52:27 Stashed 1 file(s) [Pipeline] } 20:52:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:27 $ docker stop --time=1 014b64fef285d1c89827533ae8475d80b5e78235c03680d37fa40bc233ccc6d2 20:52:29 $ docker rm -f --volumes 014b64fef285d1c89827533ae8475d80b5e78235c03680d37fa40bc233ccc6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:54:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5377 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:54:21 Running in /w/workspace/device-rest-go/128 [Pipeline] { [Pipeline] checkout 20:54:21 The recommended git tool is: git 20:54:27 using credential edgex-jenkins-ssh 20:54:27 Cloning the remote Git repository 20:54:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:54:27 > git init /w/workspace/device-rest-go/128 # timeout=10 20:54:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:54:27 > git --version # timeout=10 20:54:27 > git --version # 'git version 2.25.1' 20:54:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:54:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:54:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:54:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:54:30 Avoid second fetch 20:54:30 Checking out Revision 57a7e4fe794bb86fec7da1c819e454c45e75ed90 (main) 20:54:31 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#336)" 20:54:31 > git config core.sparsecheckout # timeout=10 20:54:31 > git checkout -f 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:54:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:54:32 Dload Upload Total Spent Left Speed 20:54:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 20:54:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:54:33 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 20:54:33 /etc/docker/daemon.new 20:54:33 { 20:54:33 "registry-mirrors": [ 20:54:33 "https://nexus3.edgexfoundry.org:10001" 20:54:33 ], 20:54:33 "bip": "10.250.0.254/24", 20:54:33 "hosts": [ 20:54:33 "tcp://0.0.0.0:5555", 20:54:33 "unix:///var/run/docker.sock" 20:54:33 ], 20:54:33 "mtu": 1458, 20:54:33 "selinux-enabled": true, 20:54:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:54:33 } [Pipeline] sh 20:54:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:54:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:56 provisioning config files... 20:54:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/128@tmp/config6647482008719476461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:56 ---> docker-login.sh 20:54:56 nexus3.edgexfoundry.org:10001 20:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:57 Configure a credential helper to remove this warning. See 20:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:57 20:54:57 Login Succeeded 20:54:57 nexus3.edgexfoundry.org:10002 20:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:58 Configure a credential helper to remove this warning. See 20:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:58 20:54:58 Login Succeeded 20:54:58 nexus3.edgexfoundry.org:10003 20:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:58 Configure a credential helper to remove this warning. See 20:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:58 20:54:58 Login Succeeded 20:54:58 nexus3.edgexfoundry.org:10004 20:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:58 Configure a credential helper to remove this warning. See 20:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:58 20:54:58 Login Succeeded 20:54:58 docker.io 20:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:59 Configure a credential helper to remove this warning. See 20:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:59 20:54:59 Login Succeeded 20:54:59 ---> docker-login.sh ends [Pipeline] } 20:54:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:00 ========================================================= 20:55:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:55:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:00 + 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 . 20:55:00 Sending build context to Docker daemon 143.4kB 20:55:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:55:00 Step 2/12 : FROM ${BASE} AS builder 20:55:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:01 edb6bdbacee9: Pulling fs layer 20:55:01 5f9638ab2659: Pulling fs layer 20:55:01 8d51d6327a98: Pulling fs layer 20:55:01 8b374f2dd631: Pulling fs layer 20:55:01 ec14aa9079de: Pulling fs layer 20:55:01 2f466654f4bb: Pulling fs layer 20:55:01 554e91adad29: Pulling fs layer 20:55:01 8b374f2dd631: Waiting 20:55:01 2f466654f4bb: Waiting 20:55:01 ec14aa9079de: Waiting 20:55:01 554e91adad29: Waiting 20:55:01 5f9638ab2659: Download complete 20:55:01 8b374f2dd631: Verifying Checksum 20:55:01 8b374f2dd631: Download complete 20:55:01 ec14aa9079de: Verifying Checksum 20:55:01 ec14aa9079de: Download complete 20:55:01 edb6bdbacee9: Verifying Checksum 20:55:02 edb6bdbacee9: Pull complete 20:55:02 554e91adad29: Verifying Checksum 20:55:02 554e91adad29: Download complete 20:55:03 8d51d6327a98: Verifying Checksum 20:55:03 8d51d6327a98: Download complete 20:55:03 2f466654f4bb: Verifying Checksum 20:55:03 2f466654f4bb: Download complete 20:55:05 5f9638ab2659: Pull complete 20:55:20 8d51d6327a98: Pull complete 20:55:20 8b374f2dd631: Pull complete 20:55:20 ec14aa9079de: Pull complete 20:55:27 2f466654f4bb: Pull complete 20:55:29 554e91adad29: Pull complete 20:55:29 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:55:29 ---> 1e15ea492957 20:55:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:55:30 ---> Running in 33974e46de52 20:55:32 Removing intermediate container 33974e46de52 20:55:32 ---> 728d74265a7f 20:55:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:33 ---> Running in b33453472a65 20:55:33 Removing intermediate container b33453472a65 20:55:33 ---> 08b0eff86ca9 20:55:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:55:33 ---> Running in 5e7719bc8759 20:55:33 Removing intermediate container 5e7719bc8759 20:55:33 ---> 2ee66ccfa6cf 20:55:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:55:33 ---> Running in 47e41bc7c877 20:55:34 Removing intermediate container 47e41bc7c877 20:55:34 ---> 60bda1a37f17 20:55:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:34 ---> Running in 17e95daa016a 20:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:55:37 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:55:37 (2/4) Installing libedit (20221030.3.1-r0) 20:55:37 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:55:37 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:55:37 Executing busybox-1.35.0-r29.trigger 20:55:37 OK: 268 MiB in 57 packages 20:55:38 Removing intermediate container 17e95daa016a 20:55:38 ---> 1f9a3a460c09 20:55:38 Step 8/12 : WORKDIR /device-rest-go 20:55:38 ---> Running in 4cfc5d2cb08a 20:55:38 Removing intermediate container 4cfc5d2cb08a 20:55:38 ---> 0c2b4a6e5a79 20:55:38 Step 9/12 : COPY go.mod vendor* ./ 20:55:39 ---> bd76ee8b7381 20:55:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:39 ---> Running in ce9ad34211d7 20:56:47 Removing intermediate container ce9ad34211d7 20:56:47 ---> 90bbead7ca75 20:56:47 Step 11/12 : COPY . . 20:56:47 ---> def7f1f529b6 20:56:47 Step 12/12 : RUN $MAKE 20:56:47 ---> Running in 670893fc1ed7 20:56:47 noop 20:56:47 Removing intermediate container 670893fc1ed7 20:56:47 ---> a4d9b15fad16 20:56:47 Successfully built a4d9b15fad16 20:56:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:48 + docker inspect -f . ci-base-image-arm64 20:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:48 prd-ubuntu20.04-docker-arm64-4c-16g-5377 does not seem to be running inside a container 20:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/128 -v /w/workspace/device-rest-go/128:/w/workspace/device-rest-go/128:rw,z -v /w/workspace/device-rest-go/128@tmp:/w/workspace/device-rest-go/128@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 20:56:49 $ docker top fd44cf9cc9b343214853f4ce0046fcb63d80236a56221615d7e7f95bfcbb33c7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:50 + go version 20:56:50 go version go1.20.6 linux/arm64 [Pipeline] } 20:56:50 $ docker stop --time=1 fd44cf9cc9b343214853f4ce0046fcb63d80236a56221615d7e7f95bfcbb33c7 20:56:52 $ docker rm -f --volumes fd44cf9cc9b343214853f4ce0046fcb63d80236a56221615d7e7f95bfcbb33c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:52 + docker inspect -f . ci-base-image-arm64 20:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:53 prd-ubuntu20.04-docker-arm64-4c-16g-5377 does not seem to be running inside a container 20:56:53 $ 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/128 -v /w/workspace/device-rest-go/128:/w/workspace/device-rest-go/128:rw,z -v /w/workspace/device-rest-go/128@tmp:/w/workspace/device-rest-go/128@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 20:56:55 $ docker top 6eb108b582e1ee9e1bd530c6a9e86a0eafd6d39f2b470a5bb184fb08e0c936c7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:56 + git config --global --add safe.directory /w/workspace/device-rest-go/128 [Pipeline] fileExists [Pipeline] sh 20:56:57 + make test 20:56:57 go test ./... -coverprofile=coverage.out ./... 20:57:36 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:46 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements 20:59:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:59:46 go vet ./... 21:00:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:19 $ docker stop --time=1 6eb108b582e1ee9e1bd530c6a9e86a0eafd6d39f2b470a5bb184fb08e0c936c7 21:00:21 $ docker rm -f --volumes 6eb108b582e1ee9e1bd530c6a9e86a0eafd6d39f2b470a5bb184fb08e0c936c7 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:22 Warning: overwriting stash ‘coverage-report’ 21:00:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:23 + ls -al . 21:00:23 total 184 21:00:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:57 . 21:00:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:54 .. 21:00:23 -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:54 .dockerignore 21:00:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:54 .git 21:00:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:54 .github 21:00:23 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:54 .gitignore 21:00:23 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:54 .golangci.yml 21:00:23 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:54 Attribution.txt 21:00:23 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:54 CHANGELOG.md 21:00:23 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:54 Dockerfile 21:00:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:54 GOVERNANCE.md 21:00:23 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:54 Jenkinsfile 21:00:23 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:54 LICENSE 21:00:23 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:54 Makefile 21:00:23 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:54 OWNERS.md 21:00:23 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:54 README.md 21:00:23 -rw-rw-r-- 1 jenkins jenkins 11 Sep 5 20:50 VERSION 21:00:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:54 bin 21:00:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:54 cmd 21:00:23 -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:59 coverage.out 21:00:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:54 driver 21:00:23 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:54 go.mod 21:00:23 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:54 go.sum 21:00:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:54 snap 21:00:23 -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:23 + 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=57a7e4fe794bb86fec7da1c819e454c45e75ed90 --label arch=arm64 --label version=3.1.0-dev.8 . 21:00:23 Sending build context to Docker daemon 158.7kB 21:00:24 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:00:24 Step 2/25 : FROM ${BASE} AS builder 21:00:24 ---> a4d9b15fad16 21:00:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:24 ---> Running in fa50b8f26ec8 21:00:24 Removing intermediate container fa50b8f26ec8 21:00:24 ---> 05a0b47f40b2 21:00:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:24 ---> Running in d0de2c7a6418 21:00:24 Removing intermediate container d0de2c7a6418 21:00:24 ---> f649290134da 21:00:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:24 ---> Running in 7b328603870b 21:00:25 Removing intermediate container 7b328603870b 21:00:25 ---> a50e7cebbbc8 21:00:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:25 ---> Running in 6b27b0f754fb 21:00:25 Removing intermediate container 6b27b0f754fb 21:00:25 ---> 5c3c042960c3 21:00:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:25 ---> Running in 97463eafd9c3 21:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:00:28 OK: 268 MiB in 57 packages 21:00:29 Removing intermediate container 97463eafd9c3 21:00:29 ---> 2ad200020a45 21:00:29 Step 8/25 : WORKDIR /device-rest-go 21:00:29 ---> Running in f1faebca1ae9 21:00:29 Removing intermediate container f1faebca1ae9 21:00:29 ---> 48116621172a 21:00:29 Step 9/25 : COPY go.mod vendor* ./ 21:00:31 ---> 23e9482b5a48 21:00:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:31 ---> Running in 1068f82ab147 21:00:34 Removing intermediate container 1068f82ab147 21:00:34 ---> 28471c836a98 21:00:34 Step 11/25 : COPY . . 21:00:34 ---> 7497a28df4e2 21:00:34 Step 12/25 : RUN $MAKE 21:00:34 ---> Running in d16024dad05f 21:00:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:02:57 Removing intermediate container d16024dad05f 21:02:57 ---> 43fef57a6d32 21:02:57 Step 13/25 : FROM alpine:3.17 21:02:57 3.17: Pulling from library/alpine 21:02:57 4060ece20d7a: Pulling fs layer 21:02:57 4060ece20d7a: Verifying Checksum 21:02:57 4060ece20d7a: Download complete 21:02:57 4060ece20d7a: Pull complete 21:02:57 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:02:57 Status: Downloaded newer image for alpine:3.17 21:02:57 ---> 8650cd65339b 21:02:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:02:57 ---> Running in 18552b743173 21:02:57 Removing intermediate container 18552b743173 21:02:57 ---> aef80d2a5372 21:02:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:02:57 ---> Running in 147372d3a67b 21:02:57 Removing intermediate container 147372d3a67b 21:02:57 ---> 12e80349b9db 21:02:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:02:57 ---> Running in 3b8a3363dcbd 21:02:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:02:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:02:58 (1/1) Installing dumb-init (1.2.5-r2) 21:02:58 Executing busybox-1.35.0-r29.trigger 21:02:58 OK: 8 MiB in 16 packages 21:02:59 Removing intermediate container 3b8a3363dcbd 21:02:59 ---> eb49ced3f778 21:02:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:03:01 ---> 9d6c7a8c8e7e 21:03:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:03:01 ---> 6d1f94037c0c 21:03:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:03:02 ---> 43b21d66be96 21:03:02 Step 20/25 : EXPOSE 59986 21:03:02 ---> Running in 73b08d075a4c 21:03:02 Removing intermediate container 73b08d075a4c 21:03:02 ---> c459ff942014 21:03:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:03:02 ---> Running in 859b224c0d04 21:03:02 Removing intermediate container 859b224c0d04 21:03:02 ---> 2bbf1c8d4b50 21:03:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:03:02 ---> Running in 01b40ce200a0 21:03:03 Removing intermediate container 01b40ce200a0 21:03:03 ---> c90982c37c76 21:03:03 Step 23/25 : LABEL arch=arm64 21:03:03 ---> Running in c8be3db8f60e 21:03:03 Removing intermediate container c8be3db8f60e 21:03:03 ---> ec5f4630ff2f 21:03:03 Step 24/25 : LABEL git_sha=57a7e4fe794bb86fec7da1c819e454c45e75ed90 21:03:03 ---> Running in 75227cd3b443 21:03:04 Removing intermediate container 75227cd3b443 21:03:04 ---> 009127d92248 21:03:04 Step 25/25 : LABEL version=3.1.0-dev.8 21:03:04 ---> Running in c5ba8dc8896b 21:03:04 Removing intermediate container c5ba8dc8896b 21:03:04 ---> 34e46406e90f 21:03:04 [Warning] One or more build-args [ARCH] were not consumed 21:03:04 Successfully built 34e46406e90f 21:03:04 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 21:03:04 provisioning config files... 21:03:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/128@tmp/config2749645643160211443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:04 ---> docker-login.sh 21:03:04 nexus3.edgexfoundry.org:10001 21:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:05 Configure a credential helper to remove this warning. See 21:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:05 21:03:05 Login Succeeded 21:03:05 nexus3.edgexfoundry.org:10002 21:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:05 Configure a credential helper to remove this warning. See 21:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:05 21:03:05 Login Succeeded 21:03:05 nexus3.edgexfoundry.org:10003 21:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:05 Configure a credential helper to remove this warning. See 21:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:05 21:03:05 Login Succeeded 21:03:05 nexus3.edgexfoundry.org:10004 21:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:06 Configure a credential helper to remove this warning. See 21:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:06 21:03:06 Login Succeeded 21:03:06 docker.io 21:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:07 Configure a credential helper to remove this warning. See 21:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:07 21:03:07 Login Succeeded 21:03:07 ---> docker-login.sh ends [Pipeline] } 21:03:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:07 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:03:07 57a7e4fe794bb86fec7da1c819e454c45e75ed90 21:03:07 latest 21:03:07 3.1.0-dev.8 21:03:07 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 21:03:07 main 21:03:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90 21:03:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:03:07 cdecd0b14cfe: Preparing 21:03:07 a8180d417f80: Preparing 21:03:07 1a5d60600bed: Preparing 21:03:07 85d4cabc0000: Preparing 21:03:07 d2d9d24a8c2a: Preparing 21:03:07 d2d9d24a8c2a: Layer already exists 21:03:08 a8180d417f80: Pushed 21:03:08 cdecd0b14cfe: Pushed 21:03:08 85d4cabc0000: Pushed 21:03:13 1a5d60600bed: Pushed 21:03:13 57a7e4fe794bb86fec7da1c819e454c45e75ed90: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:03:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:03:14 cdecd0b14cfe: Preparing 21:03:14 a8180d417f80: Preparing 21:03:14 1a5d60600bed: Preparing 21:03:14 85d4cabc0000: Preparing 21:03:14 d2d9d24a8c2a: Preparing 21:03:14 a8180d417f80: Layer already exists 21:03:14 1a5d60600bed: Layer already exists 21:03:14 d2d9d24a8c2a: Layer already exists 21:03:14 cdecd0b14cfe: Layer already exists 21:03:14 85d4cabc0000: Layer already exists 21:03:14 latest: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.8 21:03:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:03:14 cdecd0b14cfe: Preparing 21:03:14 a8180d417f80: Preparing 21:03:14 1a5d60600bed: Preparing 21:03:14 85d4cabc0000: Preparing 21:03:14 d2d9d24a8c2a: Preparing 21:03:14 1a5d60600bed: Layer already exists 21:03:14 d2d9d24a8c2a: Layer already exists 21:03:14 a8180d417f80: Layer already exists 21:03:14 85d4cabc0000: Layer already exists 21:03:14 cdecd0b14cfe: Layer already exists 21:03:14 3.1.0-dev.8: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 21:03:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:03:15 cdecd0b14cfe: Preparing 21:03:15 a8180d417f80: Preparing 21:03:15 1a5d60600bed: Preparing 21:03:15 85d4cabc0000: Preparing 21:03:15 d2d9d24a8c2a: Preparing 21:03:15 1a5d60600bed: Layer already exists 21:03:15 d2d9d24a8c2a: Layer already exists 21:03:15 85d4cabc0000: Layer already exists 21:03:15 cdecd0b14cfe: Layer already exists 21:03:15 a8180d417f80: Layer already exists 21:03:15 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:03:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:03:16 cdecd0b14cfe: Preparing 21:03:16 a8180d417f80: Preparing 21:03:16 1a5d60600bed: Preparing 21:03:16 85d4cabc0000: Preparing 21:03:16 d2d9d24a8c2a: Preparing 21:03:16 cdecd0b14cfe: Layer already exists 21:03:16 a8180d417f80: Layer already exists 21:03:16 d2d9d24a8c2a: Layer already exists 21:03:16 85d4cabc0000: Layer already exists 21:03:16 1a5d60600bed: Layer already exists 21:03:16 main: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:03:16 ===================================================== [Pipeline] echo 21:03:16 taggedImages: 21:03:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90 21:03:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:03:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.8 21:03:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 21:03:16 - 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 21:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:16 21:03:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:17 arm64: Pulling from edgex-lftools-log-publisher 21:03:17 8998bd30e6a1: Pulling fs layer 21:03:17 04944245beec: Pulling fs layer 21:03:17 699f458cf7ca: Pulling fs layer 21:03:17 765212b225bb: Pulling fs layer 21:03:17 f23df028b6ca: Pulling fs layer 21:03:17 d65c8cfc05b1: Pulling fs layer 21:03:17 2437ff75d9bd: Pulling fs layer 21:03:17 765212b225bb: Waiting 21:03:17 f23df028b6ca: Waiting 21:03:17 d65c8cfc05b1: Waiting 21:03:17 2437ff75d9bd: Waiting 21:03:17 04944245beec: Verifying Checksum 21:03:17 04944245beec: Download complete 21:03:17 765212b225bb: Verifying Checksum 21:03:17 765212b225bb: Download complete 21:03:17 699f458cf7ca: Verifying Checksum 21:03:17 699f458cf7ca: Download complete 21:03:17 f23df028b6ca: Verifying Checksum 21:03:17 f23df028b6ca: Download complete 21:03:17 d65c8cfc05b1: Verifying Checksum 21:03:17 d65c8cfc05b1: Download complete 21:03:17 8998bd30e6a1: Verifying Checksum 21:03:17 8998bd30e6a1: Download complete 21:03:20 2437ff75d9bd: Download complete 21:03:21 8998bd30e6a1: Pull complete 21:03:22 04944245beec: Pull complete 21:03:23 699f458cf7ca: Pull complete 21:03:23 765212b225bb: Pull complete 21:03:24 f23df028b6ca: Pull complete 21:03:24 d65c8cfc05b1: Pull complete 21:03:42 2437ff75d9bd: Pull complete 21:03:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:03:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:42 prd-ubuntu20.04-docker-arm64-4c-16g-5377 does not seem to be running inside a container 21:03:42 $ 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/128 -v /w/workspace/device-rest-go/128:/w/workspace/device-rest-go/128:rw,z -v /w/workspace/device-rest-go/128@tmp:/w/workspace/device-rest-go/128@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 21:03:45 $ docker top 192825d1d3353b5fd79c47553f4315dfa2f671e28c43baf47b45a83ee93eeaba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:46 ---> job-cost.sh 21:03:46 lf-activate-venv: SKIPPING 21:03:46 INFO: No Stack... 21:03:46 INFO: Retrieving Pricing Info for: v3-standard-4 21:03:47 INFO: Archiving Costs [Pipeline] sh 21:03:48 + cat /w/workspace/device-rest-go/128/archives/cost.csv 21:03:48 + cut -d, -f6 [Pipeline] lock 21:03:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] 21:03:48 Resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] did not exist. Created. 21:03:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:48 /w/workspace/device-rest-go/128@tmp/durable-19305cc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:03:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:03:48 Warning: overwriting stash ‘stack-cost’ 21:03:49 Stashed 1 file(s) [Pipeline] } 21:03:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:49 $ docker stop --time=1 192825d1d3353b5fd79c47553f4315dfa2f671e28c43baf47b45a83ee93eeaba 21:03:50 $ docker rm -f --volumes 192825d1d3353b5fd79c47553f4315dfa2f671e28c43baf47b45a83ee93eeaba [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 21:03:50 provisioning config files... 21:03:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1610784738106611602tmp [Pipeline] { [Pipeline] sh 21:03:51 + set +x 21:03:51 + curl -s https://codecov.io/bash 21:03:51 + bash -s -- 21:03:51 21:03:51 _____ _ 21:03:51 / ____| | | 21:03:51 | | ___ __| | ___ ___ _____ __ 21:03:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:03:51 | |___| (_) | (_| | __/ (_| (_) \ V / 21:03:51 \_____\___/ \__,_|\___|\___\___/ \_/ 21:03:51 Bash-1.0.6 21:03:51 21:03:51 21:03:51 ==> git version 2.25.1 found 21:03:51 ==> 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 21:03:51 Release-Date: 2020-01-08 21:03:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:03:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:03:51 ==> Jenkins CI detected. 21:03:51 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:03:51 project root: . 21:03:51 --> token set from env 21:03:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:03:51 ==> Running gcov in . (disable via -X gcov) 21:03:51 ==> Python coveragepy not found 21:03:51 ==> Searching for coverage reports in: 21:03:51 + . 21:03:51 -> Found 1 reports 21:03:51 ==> Detecting git/mercurial file structure 21:03:51 ==> Reading reports 21:03:51 + ./coverage.out bytes=14499 21:03:51 ==> Appending adjustments 21:03:51 https://docs.codecov.io/docs/fixing-reports 21:03:51 + Found adjustments 21:03:51 ==> Gzipping contents 21:03:51 4.0K /tmp/codecov.JFLnVq.gz 21:03:51 ==> Uploading reports 21:03:51 url: https://codecov.io 21:03:51 query: branch=main&commit=57a7e4fe794bb86fec7da1c819e454c45e75ed90&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:03:51 -> Pinging Codecov 21:03:51 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=57a7e4fe794bb86fec7da1c819e454c45e75ed90&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:03:51 -> Uploading to 21:03:51 https://storage.googleapis.com/codecov/v4/raw/2023-09-05/4E5D53B4F1F92C436F7061BF334D961C/57a7e4fe794bb86fec7da1c819e454c45e75ed90/9e33960a-ccce-40fb-b11c-03e7c18c359d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T210351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a57250b9b9eeb5907a117fca289ee317ac4c47e18637a187d825bbbc57610e18 21:03:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:51 Dload Upload Total Spent Left Speed 21:03:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 11488 --:--:-- --:--:-- --:--:-- 11488 21:03:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] } 21:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:03:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:03:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:52 21:03:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:03:52 df9b9388f04a: Pulling fs layer 21:03:52 52dc419b0ee2: Pulling fs layer 21:03:52 25bc292e5bac: Pulling fs layer 21:03:52 114826534d7a: Pulling fs layer 21:03:52 4657fd5d0bcf: Pulling fs layer 21:03:52 6ad1cebc031e: Pulling fs layer 21:03:52 8a3aa393b2d8: Pulling fs layer 21:03:52 4657fd5d0bcf: Waiting 21:03:52 6ad1cebc031e: Waiting 21:03:52 8a3aa393b2d8: Waiting 21:03:52 25bc292e5bac: Download complete 21:03:52 52dc419b0ee2: Verifying Checksum 21:03:52 52dc419b0ee2: Download complete 21:03:52 4657fd5d0bcf: Verifying Checksum 21:03:52 4657fd5d0bcf: Download complete 21:03:52 df9b9388f04a: Verifying Checksum 21:03:52 df9b9388f04a: Download complete 21:03:52 6ad1cebc031e: Verifying Checksum 21:03:52 6ad1cebc031e: Download complete 21:03:52 df9b9388f04a: Pull complete 21:03:53 52dc419b0ee2: Pull complete 21:03:53 25bc292e5bac: Pull complete 21:03:53 114826534d7a: Verifying Checksum 21:03:53 114826534d7a: Download complete 21:03:53 8a3aa393b2d8: Verifying Checksum 21:03:53 8a3aa393b2d8: Download complete 21:03:56 114826534d7a: Pull complete 21:03:56 4657fd5d0bcf: Pull complete 21:03:57 6ad1cebc031e: Pull complete 21:03:59 8a3aa393b2d8: Pull complete 21:03:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:59 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 21:03:59 $ 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 21:04:04 $ docker top cf8f199841fcd38aebd1647538d54e47796824310285b527929574318436edb2 -eo pid,comm [Pipeline] { [Pipeline] echo 21:04:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:04:05 + set -o pipefail 21:04:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:04:13 21:04:13 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:04:13 21:04:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/fc8fc438-67a3-4b00-8e81-0da2ed1b22c0 21:04:13 21:04:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:04:13 21:04:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:04:13 21:04:13 21:04:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:04:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:04:13 More details here: https://snyk.co/ue1NS 21:04:13 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:04:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:04:13 $ docker stop --time=1 cf8f199841fcd38aebd1647538d54e47796824310285b527929574318436edb2 21:04:17 $ docker rm -f --volumes cf8f199841fcd38aebd1647538d54e47796824310285b527929574318436edb2 [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 21:04:18 + git log --format=format:%s -1 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] sh 21:04:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:18 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 21:04:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:19 $ docker top 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 -eo pid,comm 21:04:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:04:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:19 [ssh-agent] Looking for ssh-agent implementation... 21:04:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:19 $ docker exec 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 ssh-agent 21:04:19 SSH_AUTH_SOCK=/tmp/ssh-vVxqodJ53lre/agent.32 21:04:19 SSH_AGENT_PID=38 21:04:19 Running ssh-add (command line suppressed) 21:04:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15077043977349960495.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15077043977349960495.key) 21:04:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:19 + git semver tag 21:04:20 2023-09-05 21:04:19,929 [run_tag] DEBUG tag force:False 21:04:20 2023-09-05 21:04:19,929 [check_head_tag] DEBUG check head tag 21:04:20 2023-09-05 21:04:19,930 [execute] INFO git cat-file --batch-check 21:04:20 2023-09-05 21:04:19,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:04:20 2023-09-05 21:04:19,934 [execute] INFO git cat-file --batch 21:04:20 2023-09-05 21:04:19,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:04:20 2023-09-05 21:04:19,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:20 2023-09-05 21:04:19,946 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 21:04:20 2023-09-05 21:04:19,946 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:04:20 2023-09-05 21:04:19,951 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:20 3.1.0-dev.8 [Pipeline] } 21:04:20 $ docker exec --env ******** --env ******** 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 ssh-agent -k 21:04:20 unset SSH_AUTH_SOCK; 21:04:20 unset SSH_AGENT_PID; 21:04:20 echo Agent pid 38 killed; 21:04:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:20 + git semver [Pipeline] } 21:04:20 $ docker stop --time=1 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 21:04:21 $ docker rm -f --volumes 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:22 21:04:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:22 0.23.1-centos7: Pulling from edgex-lftools 21:04:22 ab5ef0e58194: Pulling fs layer 21:04:22 9712f1f96733: Pulling fs layer 21:04:22 63f879dbbcfc: Pulling fs layer 21:04:22 0d9ebad4ef96: Pulling fs layer 21:04:22 e9a5061849ea: Pulling fs layer 21:04:22 d747dcd14b5f: Pulling fs layer 21:04:22 2de7ff778b66: Pulling fs layer 21:04:22 e9a5061849ea: Waiting 21:04:22 d747dcd14b5f: Waiting 21:04:22 2de7ff778b66: Waiting 21:04:22 0d9ebad4ef96: Waiting 21:04:22 9712f1f96733: Download complete 21:04:22 63f879dbbcfc: Verifying Checksum 21:04:22 63f879dbbcfc: Download complete 21:04:23 e9a5061849ea: Verifying Checksum 21:04:23 e9a5061849ea: Download complete 21:04:23 0d9ebad4ef96: Verifying Checksum 21:04:23 0d9ebad4ef96: Download complete 21:04:23 d747dcd14b5f: Verifying Checksum 21:04:23 d747dcd14b5f: Download complete 21:04:23 ab5ef0e58194: Verifying Checksum 21:04:23 ab5ef0e58194: Download complete 21:04:23 2de7ff778b66: Verifying Checksum 21:04:23 2de7ff778b66: Download complete 21:04:25 ab5ef0e58194: Pull complete 21:04:25 9712f1f96733: Pull complete 21:04:26 63f879dbbcfc: Pull complete 21:04:30 0d9ebad4ef96: Pull complete 21:04:30 e9a5061849ea: Pull complete 21:04:30 d747dcd14b5f: Pull complete 21:04:31 2de7ff778b66: Pull complete 21:04:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:31 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 21:04:31 $ 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 21:04:37 $ docker top 5eda4ed01c7c330056c233846b33d8303d3b907876e253b63957e2fb38845dea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:04:37 provisioning config files... 21:04:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11846684228162200998tmp 21:04:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11667780852847017570tmp 21:04:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config575551013494149058tmp [Pipeline] { [Pipeline] echo 21:04:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:04:37 ---> sigul-configuration.sh 21:04:37 gpg: directory `/root/.gnupg' created 21:04:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:04:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:04:37 gpg: keyring `/root/.gnupg/secring.gpg' created 21:04:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:04:37 gpg: CAST5 encrypted data 21:04:37 gpg: encrypted with 1 passphrase 21:04:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:04:38 + mkdir /home/jenkins 21:04:38 + mkdir /home/jenkins/sigul [Pipeline] sh 21:04:38 + 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 21:04:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:04:38 ---> sigul-install.sh 21:04:38 Sigul already installed; skipping installation. [Pipeline] sh 21:04:39 + git tag --list 21:04:39 v1.0.0 21:04:39 v1.1.0 21:04:39 v1.1.1 21:04:39 v1.1.2 21:04:39 v1.2.0 21:04:39 v1.2.1 21:04:39 v2.0.0 21:04:39 v2.1.0 21:04:39 v2.1.1 21:04:39 v2.2.0 21:04:39 v2.3.0 21:04:39 v3.0 21:04:39 v3.0.0 21:04:39 v3.1.0-dev.1 21:04:39 v3.1.0-dev.2 21:04:39 v3.1.0-dev.3 21:04:39 v3.1.0-dev.4 21:04:39 v3.1.0-dev.5 21:04:39 v3.1.0-dev.6 21:04:39 v3.1.0-dev.7 21:04:39 v3.1.0-dev.8 [Pipeline] sh 21:04:39 + lftools sign git-tag v3.1.0-dev.8 21:04:39 Signing Git tag with Sigul... 21:04:39 Signing v3.1.0-dev.8 [Pipeline] echo 21:04:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:04:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:04:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:04:40 $ docker stop --time=1 5eda4ed01c7c330056c233846b33d8303d3b907876e253b63957e2fb38845dea 21:04:41 $ docker rm -f --volumes 5eda4ed01c7c330056c233846b33d8303d3b907876e253b63957e2fb38845dea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:04:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:42 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 21:04:42 $ 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 21:04:42 $ docker top 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c -eo pid,comm 21:04:42 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). 21:04:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:42 [ssh-agent] Looking for ssh-agent implementation... 21:04:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:43 $ docker exec 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c ssh-agent 21:04:43 SSH_AUTH_SOCK=/tmp/ssh-hE0YOBVLjtFn/agent.33 21:04:43 SSH_AGENT_PID=39 21:04:43 Running ssh-add (command line suppressed) 21:04:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16795960170955920565.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16795960170955920565.key) 21:04:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:43 + git semver bump pre 21:04:43 2023-09-05 21:04:43,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:43 2023-09-05 21:04:43,731 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev 21:04:43 2023-09-05 21:04:43,731 [bump_version] DEBUG bumped version:3.1.0-dev.9 21:04:43 2023-09-05 21:04:43,731 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:04:43 2023-09-05 21:04:43,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:43 2023-09-05 21:04:43,731 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:43 2023-09-05 21:04:43,733 [execute] INFO git cat-file --batch-check 21:04:43 2023-09-05 21:04:43,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:43 2023-09-05 21:04:43,738 [execute] INFO git cat-file --batch 21:04:43 2023-09-05 21:04:43,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:43 2023-09-05 21:04:43,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:43 3.1.0-dev.9 [Pipeline] } 21:04:43 $ docker exec --env ******** --env ******** 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c ssh-agent -k 21:04:43 unset SSH_AUTH_SOCK; 21:04:43 unset SSH_AGENT_PID; 21:04:43 echo Agent pid 39 killed; 21:04:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:44 + git semver [Pipeline] } 21:04:44 $ docker stop --time=1 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c 21:04:45 $ docker rm -f --volumes 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c [Pipeline] // withDockerContainer [Pipeline] sh 21:04:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:46 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 21:04:46 $ 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 21:04:46 $ docker top fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:46 [ssh-agent] Looking for ssh-agent implementation... 21:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:47 $ docker exec fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f ssh-agent 21:04:47 SSH_AUTH_SOCK=/tmp/ssh-cKhYiIs7F7jm/agent.32 21:04:47 SSH_AGENT_PID=38 21:04:47 Running ssh-add (command line suppressed) 21:04:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11654205538513712526.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11654205538513712526.key) 21:04:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:47 + git semver push 21:04:47 2023-09-05 21:04:47,691 [run_push] DEBUG push 21:04:47 2023-09-05 21:04:47,692 [execute] INFO git cat-file --batch-check 21:04:47 2023-09-05 21:04:47,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:47 2023-09-05 21:04:47,695 [execute] INFO git rev-list c972b8b94d41eb84c3d190fd779f3cba3b9172f6 -- 21:04:47 2023-09-05 21:04:47,695 [execute] DEBUG Popen(['git', 'rev-list', 'c972b8b94d41eb84c3d190fd779f3cba3b9172f6', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:04:47 2023-09-05 21:04:47,703 [execute] INFO git fetch -v origin 21:04:47 2023-09-05 21:04:47,703 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:04:48 2023-09-05 21:04:48,161 [run_push] DEBUG no remote changes detected 21:04:48 2023-09-05 21:04:48,162 [execute] INFO git push origin semver 21:04:48 2023-09-05 21:04:48,162 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:04:49 2023-09-05 21:04:48,933 [run_push] DEBUG push all version tags 21:04:49 2023-09-05 21:04:48,933 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:04:49 2023-09-05 21:04:48,934 [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) 21:04:50 2023-09-05 21:04:49,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:50 3.1.0-dev.9 [Pipeline] } 21:04:50 $ docker exec --env ******** --env ******** fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f ssh-agent -k 21:04:50 unset SSH_AUTH_SOCK; 21:04:50 unset SSH_AGENT_PID; 21:04:50 echo Agent pid 38 killed; 21:04:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:50 + git semver [Pipeline] } 21:04:50 $ docker stop --time=1 fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f 21:04:52 $ docker rm -f --volumes fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:04:52 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:04:52 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:04:52 total 16 21:04:52 drwxr-xr-x 3 root root 4096 Sep 5 20:52 . 21:04:52 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 21:04 .. 21:04:52 drwxr-xr-x 2 root root 4096 Sep 5 20:52 cost 21:04:52 -rw-r--r-- 1 root root 86 Sep 5 20:52 cost.csv 21:04:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:04:52 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:04:52 total 16 21:04:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:52 . 21:04:52 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 21:04 .. 21:04:52 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 20:52 cost 21:04:52 -rw-r--r-- 1 jenkins jenkins 86 Sep 5 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:04:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:04:53 ---> package-listing.sh 21:04:53 ++ facter osfamily 21:04:53 ++ tr '[:upper:]' '[:lower:]' 21:04:54 + OS_FAMILY=debian 21:04:54 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:04:54 + START_PACKAGES=/tmp/packages_start.txt 21:04:54 + END_PACKAGES=/tmp/packages_end.txt 21:04:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:04:54 + PACKAGES=/tmp/packages_start.txt 21:04:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:04:54 + PACKAGES=/tmp/packages_end.txt 21:04:54 + case "${OS_FAMILY}" in 21:04:54 + dpkg -l 21:04:54 + grep '^ii' 21:04:54 + '[' -f /tmp/packages_start.txt ']' 21:04:54 + '[' -f /tmp/packages_end.txt ']' 21:04:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:04:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:04:54 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:04:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:04:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:04:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:55 prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container 21:04:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:04:55 $ docker top 6b9bb6b62edd4e078d455dda4fc7e3b3043da9b04b3ba3e65f2daa4cbcf8e8e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:04:56 + mkdir -p /var/log/sysstat [Pipeline] sh 21:04:56 + ls /var/log/sa-host 21:04:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:56 provisioning config files... 21:04:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17613821752409098703tmp [Pipeline] { [Pipeline] echo 21:04:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:04:56 ---> create-netrc.sh [Pipeline] } 21:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:04:57 ---> python-tools-install.sh [Pipeline] echo 21:04:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:04:57 ---> sudo-logs.sh 21:04:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:04:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:04:57 ---> job-cost.sh 21:04:57 lf-activate-venv: SKIPPING 21:04:57 DEBUG: total: 0.2199999988079071 21:04:57 INFO: Retrieving Stack Cost... 21:04:57 INFO: Retrieving Pricing Info for: v3-standard-8 21:04:58 INFO: Archiving Costs [Pipeline] echo 21:04:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:04:58 ---> logs-deploy.sh 21:04:58 lf-activate-venv: SKIPPING 21:04:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/128 21:04:58 INFO: archiving workspace using pattern(s): 21:04:59 Archives upload complete. 21:04:59 INFO: archiving logs to Nexus