Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 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-ssh3489340727926499877.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh985657798102735209.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7255843159631579563.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12846266524441106408.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-ssh11401774172409877901.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-12059’ is offline ‘prd-ubuntu20.04-docker-8c-8g-12066’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-12064’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12069 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#357)" > git rev-list --no-walk 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:21:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:21:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:21:23 ========================================================= 21:21:23 EdgeX Global Pipelines Version Info 21:21:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:21:24 ------------------- 21:21:24 stable info: 21:21:24 ------------------- 21:21:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:21:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:21:24 Message: update stable to v1.0.254 21:21:24 ------------------- 21:21:24 experimental info: 21:21:24 ------------------- 21:21:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:21:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:21:24 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:21:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be4ef31 [Pipeline] echo 21:21:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:25 provisioning config files... 21:21:25 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13244182505028677836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:25 ---> docker-login.sh 21:21:25 nexus3.edgexfoundry.org:10001 21:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:25 Configure a credential helper to remove this warning. See 21:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:25 21:21:25 Login Succeeded 21:21:25 nexus3.edgexfoundry.org:10002 21:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:25 Configure a credential helper to remove this warning. See 21:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:25 21:21:25 Login Succeeded 21:21:25 nexus3.edgexfoundry.org:10003 21:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:26 Configure a credential helper to remove this warning. See 21:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:26 21:21:26 Login Succeeded 21:21:26 nexus3.edgexfoundry.org:10004 21:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:26 Configure a credential helper to remove this warning. See 21:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:26 21:21:26 Login Succeeded 21:21:26 docker.io 21:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:26 Configure a credential helper to remove this warning. See 21:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:26 21:21:26 Login Succeeded 21:21:26 ---> docker-login.sh ends [Pipeline] } 21:21:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:21:26 + git rev-list -1 --merges be4ef312c22dc034e41ce6d88dbc2c6735f3bed2~1..be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] echo 21:21:26 -----------> git rev-list -1 --merges be4ef312c22dc034e41ce6d88dbc2c6735f3bed2~1..be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [false] [Pipeline] sh 21:21:27 + git log --format=format:%s -1 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] echo 21:21:27 ========================================================= 21:21:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:21:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:27 + git log --format=format:%s -1 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] echo 21:21:27 [semverPrep] GIT_COMMIT: be4ef312c22dc034e41ce6d88dbc2c6735f3bed2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#357) [Pipeline] echo 21:21:27 [semverPrep] This is not a build commit. [Pipeline] sh 21:21:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:21:27 + grep -v github /etc/ssh/ssh_known_hosts 21:21:27 + [ -e /tmp/ssh_known_hosts ] 21:21:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:21:27 + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 21:21:27 21:21:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:28 21:21:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:28 0.1.4: Pulling from edgex-devops/py-git-semver 21:21:28 b85a868b505f: Pulling fs layer 21:21:28 e2be974225ed: Pulling fs layer 21:21:28 339a4e72a1f5: Pulling fs layer 21:21:28 988bab9f4d93: Pulling fs layer 21:21:28 1469e6f7b9e6: Pulling fs layer 21:21:28 eaf3925da568: Pulling fs layer 21:21:28 bab4dde63d76: Pulling fs layer 21:21:28 bde34c3a00c8: Pulling fs layer 21:21:28 b352a97aabf1: Pulling fs layer 21:21:28 4872d77fe225: Pulling fs layer 21:21:28 5851b861e8e6: Pulling fs layer 21:21:28 988bab9f4d93: Waiting 21:21:28 bde34c3a00c8: Waiting 21:21:28 b352a97aabf1: Waiting 21:21:28 4872d77fe225: Waiting 21:21:28 eaf3925da568: Waiting 21:21:28 5851b861e8e6: Waiting 21:21:28 bab4dde63d76: Waiting 21:21:28 1469e6f7b9e6: Waiting 21:21:28 e2be974225ed: Download complete 21:21:28 988bab9f4d93: Verifying Checksum 21:21:28 988bab9f4d93: Download complete 21:21:28 339a4e72a1f5: Verifying Checksum 21:21:28 339a4e72a1f5: Download complete 21:21:28 1469e6f7b9e6: Verifying Checksum 21:21:28 1469e6f7b9e6: Download complete 21:21:28 eaf3925da568: Verifying Checksum 21:21:28 eaf3925da568: Download complete 21:21:28 bde34c3a00c8: Verifying Checksum 21:21:28 bde34c3a00c8: Download complete 21:21:28 b352a97aabf1: Verifying Checksum 21:21:28 b352a97aabf1: Download complete 21:21:28 4872d77fe225: Download complete 21:21:28 5851b861e8e6: Download complete 21:21:28 b85a868b505f: Verifying Checksum 21:21:28 b85a868b505f: Download complete 21:21:29 bab4dde63d76: Verifying Checksum 21:21:29 bab4dde63d76: Download complete 21:21:30 b85a868b505f: Pull complete 21:21:30 e2be974225ed: Pull complete 21:21:30 339a4e72a1f5: Pull complete 21:21:30 988bab9f4d93: Pull complete 21:21:30 1469e6f7b9e6: Pull complete 21:21:30 eaf3925da568: Pull complete 21:21:32 bab4dde63d76: Pull complete 21:21:32 bde34c3a00c8: Pull complete 21:21:32 b352a97aabf1: Pull complete 21:21:32 4872d77fe225: Pull complete 21:21:32 5851b861e8e6: Pull complete 21:21:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:21:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:32 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:21:32 $ 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 21:21:35 $ docker top 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d -eo pid,comm 21:21:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:21:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:21:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:35 [ssh-agent] Looking for ssh-agent implementation... 21:21:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:36 $ docker exec 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d ssh-agent 21:21:36 SSH_AUTH_SOCK=/tmp/ssh-UIKg9aDzDpz0/agent.33 21:21:36 SSH_AGENT_PID=39 21:21:36 Running ssh-add (command line suppressed) 21:21:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4990123826885998382.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4990123826885998382.key) 21:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:36 + git tag --points-at HEAD [Pipeline] } 21:21:36 $ docker exec --env ******** --env ******** 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d ssh-agent -k 21:21:36 unset SSH_AUTH_SOCK; 21:21:36 unset SSH_AGENT_PID; 21:21:36 echo Agent pid 39 killed; 21:21:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:21:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:36 [ssh-agent] Looking for ssh-agent implementation... 21:21:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:36 $ docker exec 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d ssh-agent 21:21:36 SSH_AUTH_SOCK=/tmp/ssh-g3uN12bFno39/agent.71 21:21:36 SSH_AGENT_PID=77 21:21:36 Running ssh-add (command line suppressed) 21:21:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9132205880996813280.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9132205880996813280.key) 21:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:37 + git semver init 21:21:37 2023-10-26 21:21:37,441 [run_init] DEBUG init version:0.0.0 force:False 21:21:37 2023-10-26 21:21:37,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:21:37 2023-10-26 21:21:37,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:21:37 2023-10-26 21:21:37,443 [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) 21:21:38 2023-10-26 21:21:38,533 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:21:38 2023-10-26 21:21:38,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:21:38 2023-10-26 21:21:38,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:21:38 2023-10-26 21:21:38,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:21:38 3.1.0-dev.26 [Pipeline] } 21:21:38 $ docker exec --env ******** --env ******** 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d ssh-agent -k 21:21:39 unset SSH_AUTH_SOCK; 21:21:39 unset SSH_AGENT_PID; 21:21:39 echo Agent pid 77 killed; 21:21:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:21:39 + git semver [Pipeline] } 21:21:39 $ docker stop --time=1 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d 21:21:40 $ docker rm -f --volumes 4a306675243ac2421b5dffc212138ca8e817fdc3edb086c853dbd9e4e7b2312d [Pipeline] // withDockerContainer [Pipeline] sh 21:21:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:21:41 Stashed 1 file(s) [Pipeline] echo 21:21:41 [edgeXSemver]: initialized semver on version 3.1.0-dev.26 [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 21:21:41 provisioning config files... 21:21:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12438264391452557806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:41 ---> docker-login.sh 21:21:41 nexus3.edgexfoundry.org:10001 21:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:41 Configure a credential helper to remove this warning. See 21:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:41 21:21:41 Login Succeeded 21:21:41 nexus3.edgexfoundry.org:10002 21:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:41 Configure a credential helper to remove this warning. See 21:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:41 21:21:41 Login Succeeded 21:21:41 nexus3.edgexfoundry.org:10003 21:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:42 Configure a credential helper to remove this warning. See 21:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:42 21:21:42 Login Succeeded 21:21:42 nexus3.edgexfoundry.org:10004 21:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:42 Configure a credential helper to remove this warning. See 21:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:42 21:21:42 Login Succeeded 21:21:42 docker.io 21:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:42 Configure a credential helper to remove this warning. See 21:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:42 21:21:42 Login Succeeded 21:21:42 ---> docker-login.sh ends [Pipeline] } 21:21:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:42 ========================================================= 21:21:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:21:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:21:42 Sending build context to Docker daemon 10.92MB 21:21:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:21:42 Step 2/12 : FROM ${BASE} AS builder 21:21:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:21:42 7264a8db6415: Pulling fs layer 21:21:42 c4d48a809fc2: Pulling fs layer 21:21:42 4f1c88b9dad5: Pulling fs layer 21:21:42 ad3a456e5733: Pulling fs layer 21:21:42 33e27b845d1e: Pulling fs layer 21:21:42 c68163c4e522: Pulling fs layer 21:21:42 50da416c3ac9: Pulling fs layer 21:21:42 23d2d4c4bb30: Pulling fs layer 21:21:42 ad3a456e5733: Waiting 21:21:42 33e27b845d1e: Waiting 21:21:42 c68163c4e522: Waiting 21:21:42 50da416c3ac9: Waiting 21:21:42 23d2d4c4bb30: Waiting 21:21:43 c4d48a809fc2: Verifying Checksum 21:21:43 c4d48a809fc2: Download complete 21:21:43 ad3a456e5733: Verifying Checksum 21:21:43 ad3a456e5733: Download complete 21:21:43 33e27b845d1e: Download complete 21:21:43 7264a8db6415: Download complete 21:21:43 c68163c4e522: Verifying Checksum 21:21:43 c68163c4e522: Download complete 21:21:43 7264a8db6415: Pull complete 21:21:43 c4d48a809fc2: Pull complete 21:21:43 23d2d4c4bb30: Verifying Checksum 21:21:43 23d2d4c4bb30: Download complete 21:21:43 4f1c88b9dad5: Verifying Checksum 21:21:43 4f1c88b9dad5: Download complete 21:21:43 50da416c3ac9: Verifying Checksum 21:21:43 50da416c3ac9: Download complete 21:21:46 4f1c88b9dad5: Pull complete 21:21:46 ad3a456e5733: Pull complete 21:21:46 33e27b845d1e: Pull complete 21:21:46 c68163c4e522: Pull complete 21:21:48 50da416c3ac9: Pull complete 21:21:49 23d2d4c4bb30: Pull complete 21:21:49 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:21:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:21:49 ---> 0786185ac409 21:21:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:21:53 ---> Running in e2332015cf0b 21:21:53 Removing intermediate container e2332015cf0b 21:21:53 ---> 424501425489 21:21:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:53 ---> Running in 055e7a37238e 21:21:53 Removing intermediate container 055e7a37238e 21:21:53 ---> 523921f7eb7f 21:21:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:21:53 ---> Running in badabaa83d82 21:21:53 Removing intermediate container badabaa83d82 21:21:53 ---> bbdb5d4ce65e 21:21:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:21:53 ---> Running in 9709bc3fd71b 21:21:53 Removing intermediate container 9709bc3fd71b 21:21:53 ---> 0328dfdbda70 21:21:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:53 ---> Running in 139d701064a3 21:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:21:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:21:53 (2/4) Installing libedit (20221030.3.1-r1) 21:21:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:21:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:21:54 Executing busybox-1.36.1-r2.trigger 21:21:54 OK: 268 MiB in 56 packages 21:21:54 Removing intermediate container 139d701064a3 21:21:54 ---> 37b0ff363ae6 21:21:54 Step 8/12 : WORKDIR /device-rest-go 21:21:54 ---> Running in 888e09a37f89 21:21:54 Removing intermediate container 888e09a37f89 21:21:54 ---> b808bbe2bedf 21:21:54 Step 9/12 : COPY go.mod vendor* ./ 21:21:54 ---> 936929957607 21:21:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:54 ---> Running in dbb74b16864e 21:21:56 Still waiting to schedule task 21:21:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:22:50 Removing intermediate container dbb74b16864e 21:22:50 ---> b6f1b227e504 21:22:50 Step 11/12 : COPY . . 21:22:50 ---> 0cd3892107f4 21:22:50 Step 12/12 : RUN $MAKE 21:22:50 ---> Running in cb8e58248196 21:22:50 noop 21:22:50 Removing intermediate container cb8e58248196 21:22:50 ---> e9e667b9d8af 21:22:50 Successfully built e9e667b9d8af 21:22:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:51 + docker inspect -f . ci-base-image-x86_64 21:22:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:51 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:22:51 $ 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 21:22:51 $ docker top 27073fccc46cbcd1c68b5b157238afad228a98d5dddfd673c7554047f26aded5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:51 + go version 21:22:51 go version go1.21.0 linux/amd64 [Pipeline] } 21:22:51 $ docker stop --time=1 27073fccc46cbcd1c68b5b157238afad228a98d5dddfd673c7554047f26aded5 21:22:53 $ docker rm -f --volumes 27073fccc46cbcd1c68b5b157238afad228a98d5dddfd673c7554047f26aded5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:53 + docker inspect -f . ci-base-image-x86_64 21:22:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:53 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:22:53 $ 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 21:22:53 $ docker top 1699b9a7d5fca7109e3ec43509a9fb35ef944ef2603eb086a12ceff75ce62a98 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:22:54 + make test 21:22:54 go test ./... -coverprofile=coverage.out ./... 21:22:55 ? github.com/edgexfoundry/device-rest-go [no test files] 21:23:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:23:05 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 21:23:12 go vet ./... 21:23:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:23:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:23:15 ./bin/test-attribution-txt.sh [Pipeline] echo 21:23:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:23:15 $ docker stop --time=1 1699b9a7d5fca7109e3ec43509a9fb35ef944ef2603eb086a12ceff75ce62a98 21:23:19 $ docker rm -f --volumes 1699b9a7d5fca7109e3ec43509a9fb35ef944ef2603eb086a12ceff75ce62a98 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:23:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:23:20 + ls -al . 21:23:20 total 184 21:23:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:22 . 21:23:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:21 .. 21:23:20 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 21:21 .dockerignore 21:23:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:23 .git 21:23:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:21 .github 21:23:20 -rw-rw-r-- 1 jenkins jenkins 264 Oct 26 21:21 .gitignore 21:23:20 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 21:21 .golangci.yml 21:23:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 21:21 .semver 21:23:20 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 26 21:21 Attribution.txt 21:23:20 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 26 21:21 CHANGELOG.md 21:23:20 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 26 21:21 Dockerfile 21:23:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 21:21 GOVERNANCE.md 21:23:20 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 21:21 Jenkinsfile 21:23:20 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 21:21 LICENSE 21:23:20 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 26 21:21 Makefile 21:23:20 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 21:21 OWNERS.md 21:23:20 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 26 21:21 README.md 21:23:20 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 21:21 VERSION 21:23:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:21 bin 21:23:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:21 cmd 21:23:20 -rw-r--r-- 1 jenkins jenkins 14499 Oct 26 21:23 coverage.out 21:23:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:21 driver 21:23:20 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 26 21:21 go.mod 21:23:20 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 26 21:21 go.sum 21:23:20 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:21 + 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=be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 --label arch=amd64 --label version=3.1.0-dev.26 . 21:23:21 Sending build context to Docker daemon 10.94MB 21:23:21 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:23:21 Step 2/25 : FROM ${BASE} AS builder 21:23:21 ---> e9e667b9d8af 21:23:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:23:21 ---> Running in 69f473241294 21:23:21 Removing intermediate container 69f473241294 21:23:21 ---> 044cb1a45025 21:23:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:23:21 ---> Running in e339a05d2118 21:23:21 Removing intermediate container e339a05d2118 21:23:21 ---> 2e329782a154 21:23:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:23:21 ---> Running in 92ce04648898 21:23:21 Removing intermediate container 92ce04648898 21:23:21 ---> a7fe1a5c7ff8 21:23:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:23:21 ---> Running in 948eb24d8607 21:23:21 Removing intermediate container 948eb24d8607 21:23:21 ---> 09cb16fe4abb 21:23:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:21 ---> Running in ecf2849bce71 21:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:23:22 OK: 268 MiB in 56 packages 21:23:22 Removing intermediate container ecf2849bce71 21:23:22 ---> 8fffc8db43d1 21:23:22 Step 8/25 : WORKDIR /device-rest-go 21:23:22 ---> Running in e3e2e2f5d701 21:23:22 Removing intermediate container e3e2e2f5d701 21:23:22 ---> 968599519785 21:23:22 Step 9/25 : COPY go.mod vendor* ./ 21:23:22 ---> 1fe88cbd8091 21:23:22 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:22 ---> Running in e70fb82511a6 21:23:23 Removing intermediate container e70fb82511a6 21:23:23 ---> a5f6b750176f 21:23:23 Step 11/25 : COPY . . 21:23:24 ---> d790e934b26b 21:23:24 Step 12/25 : RUN $MAKE 21:23:24 ---> Running in 3b3879cd6a20 21:23:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:23:46 Removing intermediate container 3b3879cd6a20 21:23:46 ---> e11a003471da 21:23:46 Step 13/25 : FROM alpine:3.18 21:23:46 3.18: Pulling from library/alpine 21:23:46 96526aa774ef: Pulling fs layer 21:23:46 96526aa774ef: Verifying Checksum 21:23:46 96526aa774ef: Download complete 21:23:46 96526aa774ef: Pull complete 21:23:46 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:23:46 Status: Downloaded newer image for alpine:3.18 21:23:46 ---> 8ca4688f4f35 21:23:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:23:46 ---> Running in 45d68804e772 21:23:46 Removing intermediate container 45d68804e772 21:23:46 ---> 8eff22b5ee05 21:23:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:23:46 ---> Running in c7d82e78afd5 21:23:46 Removing intermediate container c7d82e78afd5 21:23:46 ---> d4417f83a489 21:23:46 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:23:46 ---> Running in 6b7d9ac72b89 21:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:23:46 (1/1) Installing dumb-init (1.2.5-r2) 21:23:46 Executing busybox-1.36.1-r2.trigger 21:23:46 OK: 7 MiB in 16 packages 21:23:46 Removing intermediate container 6b7d9ac72b89 21:23:46 ---> 8f23d0bbb27a 21:23:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:23:46 ---> 05f6d89582ee 21:23:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:23:46 ---> fc46d58ad8a3 21:23:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:23:46 ---> 522fbaa67786 21:23:46 Step 20/25 : EXPOSE 59986 21:23:46 ---> Running in c4abd2755e62 21:23:46 Removing intermediate container c4abd2755e62 21:23:46 ---> dfc9bd4c41dc 21:23:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:23:46 ---> Running in 2d65c50d4245 21:23:46 Removing intermediate container 2d65c50d4245 21:23:46 ---> d29320abdd87 21:23:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:23:46 ---> Running in b9c2c9e1a8e5 21:23:46 Removing intermediate container b9c2c9e1a8e5 21:23:46 ---> 384c8f68ebaa 21:23:46 Step 23/25 : LABEL arch=amd64 21:23:46 ---> Running in 95dd7f41becd 21:23:46 Removing intermediate container 95dd7f41becd 21:23:46 ---> 507dd2da365f 21:23:46 Step 24/25 : LABEL git_sha=be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:23:46 ---> Running in 5be149569105 21:23:46 Removing intermediate container 5be149569105 21:23:46 ---> c929b0d0eec8 21:23:46 Step 25/25 : LABEL version=3.1.0-dev.26 21:23:46 ---> Running in ec3b8cc39524 21:23:46 Removing intermediate container ec3b8cc39524 21:23:46 ---> bc6db47ea515 21:23:46 [Warning] One or more build-args [ARCH] were not consumed 21:23:46 Successfully built bc6db47ea515 21:23:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:47 provisioning config files... 21:23:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9495498079312738064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:47 ---> docker-login.sh 21:23:47 nexus3.edgexfoundry.org:10001 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 nexus3.edgexfoundry.org:10002 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 nexus3.edgexfoundry.org:10003 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 nexus3.edgexfoundry.org:10004 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 docker.io 21:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:47 Configure a credential helper to remove this warning. See 21:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:47 21:23:47 Login Succeeded 21:23:47 ---> docker-login.sh ends [Pipeline] } 21:23:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:23:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:47 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:23:47 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:23:47 latest 21:23:47 3.1.0-dev.26 21:23:47 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 21:23:47 main 21:23:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:23:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:23:48 201bb54aa194: Preparing 21:23:48 8409406b33cc: Preparing 21:23:48 f1694a3c42a1: Preparing 21:23:48 05158e5aaf9b: Preparing 21:23:48 cc2447e1835a: Preparing 21:23:48 cc2447e1835a: Layer already exists 21:23:48 201bb54aa194: Pushed 21:23:48 8409406b33cc: Pushed 21:23:48 05158e5aaf9b: Pushed 21:23:51 f1694a3c42a1: Pushed 21:23:51 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2: digest: sha256:592e4b921490668e1516e31be8d7b3b72d373acce35461a82d73364cd3e224f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:23:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:23:52 201bb54aa194: Preparing 21:23:52 8409406b33cc: Preparing 21:23:52 f1694a3c42a1: Preparing 21:23:52 05158e5aaf9b: Preparing 21:23:52 cc2447e1835a: Preparing 21:23:52 201bb54aa194: Layer already exists 21:23:52 cc2447e1835a: Layer already exists 21:23:52 8409406b33cc: Layer already exists 21:23:52 05158e5aaf9b: Layer already exists 21:23:52 f1694a3c42a1: Layer already exists 21:23:52 latest: digest: sha256:592e4b921490668e1516e31be8d7b3b72d373acce35461a82d73364cd3e224f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.26 21:23:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:23:53 201bb54aa194: Preparing 21:23:53 8409406b33cc: Preparing 21:23:53 f1694a3c42a1: Preparing 21:23:53 05158e5aaf9b: Preparing 21:23:53 cc2447e1835a: Preparing 21:23:53 cc2447e1835a: Layer already exists 21:23:53 f1694a3c42a1: Layer already exists 21:23:53 05158e5aaf9b: Layer already exists 21:23:53 201bb54aa194: Layer already exists 21:23:53 8409406b33cc: Layer already exists 21:23:53 3.1.0-dev.26: digest: sha256:592e4b921490668e1516e31be8d7b3b72d373acce35461a82d73364cd3e224f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 21:23:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:23:53 201bb54aa194: Preparing 21:23:53 8409406b33cc: Preparing 21:23:53 f1694a3c42a1: Preparing 21:23:53 05158e5aaf9b: Preparing 21:23:53 cc2447e1835a: Preparing 21:23:53 cc2447e1835a: Layer already exists 21:23:53 201bb54aa194: Layer already exists 21:23:53 05158e5aaf9b: Layer already exists 21:23:53 f1694a3c42a1: Layer already exists 21:23:53 8409406b33cc: Layer already exists 21:23:53 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26: digest: sha256:592e4b921490668e1516e31be8d7b3b72d373acce35461a82d73364cd3e224f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:23:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:23:54 201bb54aa194: Preparing 21:23:54 8409406b33cc: Preparing 21:23:54 f1694a3c42a1: Preparing 21:23:54 05158e5aaf9b: Preparing 21:23:54 cc2447e1835a: Preparing 21:23:54 201bb54aa194: Layer already exists 21:23:54 05158e5aaf9b: Layer already exists 21:23:54 8409406b33cc: Layer already exists 21:23:54 cc2447e1835a: Layer already exists 21:23:54 f1694a3c42a1: Layer already exists 21:23:54 main: digest: sha256:592e4b921490668e1516e31be8d7b3b72d373acce35461a82d73364cd3e224f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:23:54 ===================================================== [Pipeline] echo 21:23:54 taggedImages: 21:23:54 - nexus3.edgexfoundry.org:10004/device-rest:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:23:54 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:23:54 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.26 21:23:54 - nexus3.edgexfoundry.org:10004/device-rest:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 21:23:54 - 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 21:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:54 21:23:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:55 latest: Pulling from edgex-lftools-log-publisher 21:23:55 5eb5b503b376: Pulling fs layer 21:23:55 5c69ac0246d0: Pulling fs layer 21:23:55 ec43610c2a17: Pulling fs layer 21:23:55 3a2ae6a8a46f: Pulling fs layer 21:23:55 33b1e0a273af: Pulling fs layer 21:23:55 5d3b04190fa2: Pulling fs layer 21:23:55 2f39f015ded8: Pulling fs layer 21:23:55 33b1e0a273af: Waiting 21:23:55 2f39f015ded8: Waiting 21:23:55 3a2ae6a8a46f: Waiting 21:23:55 5c69ac0246d0: Verifying Checksum 21:23:55 5c69ac0246d0: Download complete 21:23:55 3a2ae6a8a46f: Verifying Checksum 21:23:55 3a2ae6a8a46f: Download complete 21:23:55 33b1e0a273af: Verifying Checksum 21:23:55 33b1e0a273af: Download complete 21:23:55 ec43610c2a17: Verifying Checksum 21:23:55 ec43610c2a17: Download complete 21:23:55 5d3b04190fa2: Verifying Checksum 21:23:55 5d3b04190fa2: Download complete 21:23:55 5eb5b503b376: Verifying Checksum 21:23:55 5eb5b503b376: Download complete 21:23:55 2f39f015ded8: Download complete 21:23:56 5eb5b503b376: Pull complete 21:23:56 5c69ac0246d0: Pull complete 21:23:57 ec43610c2a17: Pull complete 21:23:57 3a2ae6a8a46f: Pull complete 21:23:57 33b1e0a273af: Pull complete 21:23:57 5d3b04190fa2: Pull complete 21:24:01 2f39f015ded8: Pull complete 21:24:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:24:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:01 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:24:01 $ 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 21:24:06 $ docker top 2da9db0708376fad9f44dc4a33412946f2632497fc2cbc83309fd90f7125c446 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:06 ---> job-cost.sh 21:24:06 lf-activate-venv: SKIPPING 21:24:06 INFO: No Stack... 21:24:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:06 INFO: Archiving Costs [Pipeline] sh 21:24:07 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:24:07 + cut -d, -f6 [Pipeline] lock 21:24:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] 21:24:07 Resource [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] did not exist. Created. 21:24:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:07 + echo total: 0.2199999988079071 [Pipeline] stash 21:24:07 Stashed 1 file(s) [Pipeline] } 21:24:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:07 $ docker stop --time=1 2da9db0708376fad9f44dc4a33412946f2632497fc2cbc83309fd90f7125c446 21:24:08 $ docker rm -f --volumes 2da9db0708376fad9f44dc4a33412946f2632497fc2cbc83309fd90f7125c446 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:29:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12148 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:29:51 Running in /w/workspace/device-rest-go/146 [Pipeline] { [Pipeline] checkout 21:29:51 The recommended git tool is: git 21:29:58 using credential edgex-jenkins-ssh 21:29:58 Cloning the remote Git repository 21:29:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:29:58 > git init /w/workspace/device-rest-go/146 # timeout=10 21:29:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:29:58 > git --version # timeout=10 21:29:59 > git --version # 'git version 2.25.1' 21:29:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:30:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:02 Avoid second fetch 21:30:02 Checking out Revision be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 (main) 21:30:02 > git config core.sparsecheckout # timeout=10 21:30:02 > git checkout -f be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 # timeout=10 21:30:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#357)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:30:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:30:03 Dload Upload Total Spent Left Speed 21:30:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 21:30:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:30:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:30:04 + sudo tee /etc/docker/daemon.new 21:30:04 { 21:30:04 "registry-mirrors": [ 21:30:04 "https://nexus3.edgexfoundry.org:10001" 21:30:04 ], 21:30:04 "bip": "10.250.0.254/24", 21:30:04 "hosts": [ 21:30:04 "tcp://0.0.0.0:5555", 21:30:04 "unix:///var/run/docker.sock" 21:30:04 ], 21:30:04 "mtu": 1458, 21:30:04 "selinux-enabled": true, 21:30:04 "seccomp-profile": "/etc/docker/seccomp.json" 21:30:04 } [Pipeline] sh 21:30:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:30:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:24 provisioning config files... 21:30:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/146@tmp/config4770051890606736226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:24 ---> docker-login.sh 21:30:24 nexus3.edgexfoundry.org:10001 21:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:25 Configure a credential helper to remove this warning. See 21:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:25 21:30:25 Login Succeeded 21:30:25 nexus3.edgexfoundry.org:10002 21:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:25 Configure a credential helper to remove this warning. See 21:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:25 21:30:25 Login Succeeded 21:30:25 nexus3.edgexfoundry.org:10003 21:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:25 Configure a credential helper to remove this warning. See 21:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:25 21:30:25 Login Succeeded 21:30:25 nexus3.edgexfoundry.org:10004 21:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:26 Configure a credential helper to remove this warning. See 21:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:26 21:30:26 Login Succeeded 21:30:26 docker.io 21:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 ---> docker-login.sh ends [Pipeline] } 21:30:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:27 ========================================================= 21:30:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:30:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:30:27 Sending build context to Docker daemon 121.9kB 21:30:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:30:28 Step 2/12 : FROM ${BASE} AS builder 21:30:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:30:28 9fda8d8052c6: Pulling fs layer 21:30:28 5d54e960e981: Pulling fs layer 21:30:28 c4a7e357bf2a: Pulling fs layer 21:30:28 f0e02332f6b5: Pulling fs layer 21:30:28 cefa15bbcfad: Pulling fs layer 21:30:28 17808c966233: Pulling fs layer 21:30:28 f4c1fc716caa: Pulling fs layer 21:30:28 f0e02332f6b5: Waiting 21:30:28 cefa15bbcfad: Waiting 21:30:28 17808c966233: Waiting 21:30:28 f4c1fc716caa: Waiting 21:30:28 5d54e960e981: Verifying Checksum 21:30:28 5d54e960e981: Download complete 21:30:28 f0e02332f6b5: Verifying Checksum 21:30:28 f0e02332f6b5: Download complete 21:30:28 cefa15bbcfad: Verifying Checksum 21:30:28 cefa15bbcfad: Download complete 21:30:28 9fda8d8052c6: Verifying Checksum 21:30:28 9fda8d8052c6: Download complete 21:30:28 f4c1fc716caa: Verifying Checksum 21:30:28 f4c1fc716caa: Download complete 21:30:29 9fda8d8052c6: Pull complete 21:30:30 5d54e960e981: Pull complete 21:30:30 c4a7e357bf2a: Verifying Checksum 21:30:30 c4a7e357bf2a: Download complete 21:30:31 17808c966233: Verifying Checksum 21:30:31 17808c966233: Download complete 21:30:43 c4a7e357bf2a: Pull complete 21:30:43 f0e02332f6b5: Pull complete 21:30:43 cefa15bbcfad: Pull complete 21:30:56 17808c966233: Pull complete 21:30:57 f4c1fc716caa: Pull complete 21:30:57 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:30:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:30:57 ---> ea914061e18c 21:30:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:30:59 ---> Running in b46a570a4d51 21:30:59 Removing intermediate container b46a570a4d51 21:30:59 ---> 62cd539e5d1b 21:30:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:59 ---> Running in 933e564ba556 21:30:59 Removing intermediate container 933e564ba556 21:30:59 ---> 3ad12e70b5eb 21:30:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:30:59 ---> Running in e4870f04de23 21:31:00 Removing intermediate container e4870f04de23 21:31:00 ---> f5a48bdac2fd 21:31:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:31:00 ---> Running in 731f72ef5e91 21:31:00 Removing intermediate container 731f72ef5e91 21:31:00 ---> a400dedfd7c3 21:31:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:00 ---> Running in 06cadf34b9db 21:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:31:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:31:03 (2/4) Installing libedit (20221030.3.1-r1) 21:31:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:31:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:31:03 Executing busybox-1.36.1-r2.trigger 21:31:03 OK: 270 MiB in 56 packages 21:31:05 Removing intermediate container 06cadf34b9db 21:31:05 ---> 122a56df88b6 21:31:05 Step 8/12 : WORKDIR /device-rest-go 21:31:05 ---> Running in 5d56641e5733 21:31:05 Removing intermediate container 5d56641e5733 21:31:05 ---> a3c9c093f534 21:31:05 Step 9/12 : COPY go.mod vendor* ./ 21:31:06 ---> e1e1f90defa1 21:31:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:06 ---> Running in 4c11af9bd32c 21:32:42 Removing intermediate container 4c11af9bd32c 21:32:42 ---> 314b927126dc 21:32:42 Step 11/12 : COPY . . 21:32:42 ---> 2e1dfd39eea5 21:32:42 Step 12/12 : RUN $MAKE 21:32:42 ---> Running in 8c0d4c54b245 21:32:42 noop 21:32:42 Removing intermediate container 8c0d4c54b245 21:32:42 ---> 2c771cdfb6fc 21:32:42 Successfully built 2c771cdfb6fc 21:32:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:43 + docker inspect -f . ci-base-image-arm64 21:32:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:43 prd-ubuntu20.04-docker-arm64-4c-16g-12148 does not seem to be running inside a container 21:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/146 -v /w/workspace/device-rest-go/146:/w/workspace/device-rest-go/146:rw,z -v /w/workspace/device-rest-go/146@tmp:/w/workspace/device-rest-go/146@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 21:32:48 $ docker top 315697abae02fff2e83b6485ae55a23ac62e3460fc13f9982ddfd1294c2561fe -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:49 + go version 21:32:49 go version go1.21.0 linux/arm64 [Pipeline] } 21:32:49 $ docker stop --time=1 315697abae02fff2e83b6485ae55a23ac62e3460fc13f9982ddfd1294c2561fe 21:32:50 $ docker rm -f --volumes 315697abae02fff2e83b6485ae55a23ac62e3460fc13f9982ddfd1294c2561fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:51 + docker inspect -f . ci-base-image-arm64 21:32:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:51 prd-ubuntu20.04-docker-arm64-4c-16g-12148 does not seem to be running inside a container 21:32:51 $ 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/146 -v /w/workspace/device-rest-go/146:/w/workspace/device-rest-go/146:rw,z -v /w/workspace/device-rest-go/146@tmp:/w/workspace/device-rest-go/146@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 21:32:53 $ docker top 5cb3565e8fb4a190834f633a67feb9069de465277b059f89ac32b5db1ea128a7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:54 + git config --global --add safe.directory /w/workspace/device-rest-go/146 [Pipeline] fileExists [Pipeline] sh 21:32:54 + make test 21:32:54 go test ./... -coverprofile=coverage.out ./... 21:33:00 ? github.com/edgexfoundry/device-rest-go [no test files] 21:35:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:35:06 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 33.2% of statements 21:35:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:35:06 go vet ./... 21:35:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:35:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:35:39 ./bin/test-attribution-txt.sh [Pipeline] echo 21:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:35:39 $ docker stop --time=1 5cb3565e8fb4a190834f633a67feb9069de465277b059f89ac32b5db1ea128a7 21:35:41 $ docker rm -f --volumes 5cb3565e8fb4a190834f633a67feb9069de465277b059f89ac32b5db1ea128a7 [Pipeline] // withDockerContainer [Pipeline] sh 21:35:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:35:42 Warning: overwriting stash ‘coverage-report’ 21:35:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:35:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:35:43 + ls -al . 21:35:43 total 180 21:35:43 drwxrwxr-x 7 jenkins jenkins 4096 Oct 26 21:32 . 21:35:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:29 .. 21:35:43 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 21:30 .dockerignore 21:35:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:30 .git 21:35:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:30 .github 21:35:43 -rw-rw-r-- 1 jenkins jenkins 264 Oct 26 21:30 .gitignore 21:35:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 21:30 .golangci.yml 21:35:43 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 26 21:30 Attribution.txt 21:35:43 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 26 21:30 CHANGELOG.md 21:35:43 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 26 21:30 Dockerfile 21:35:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 21:30 GOVERNANCE.md 21:35:43 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 21:30 Jenkinsfile 21:35:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 21:30 LICENSE 21:35:43 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 26 21:30 Makefile 21:35:43 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 21:30 OWNERS.md 21:35:43 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 26 21:30 README.md 21:35:43 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 21:21 VERSION 21:35:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:30 bin 21:35:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:30 cmd 21:35:43 -rw-r--r-- 1 jenkins jenkins 14499 Oct 26 21:35 coverage.out 21:35:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:30 driver 21:35:43 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 26 21:30 go.mod 21:35:43 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 26 21:30 go.sum 21:35:43 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:44 + 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=be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 --label arch=arm64 --label version=3.1.0-dev.26 . 21:35:44 Sending build context to Docker daemon 137.2kB 21:35:44 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:35:44 Step 2/25 : FROM ${BASE} AS builder 21:35:44 ---> 2c771cdfb6fc 21:35:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:35:44 ---> Running in 16bb447fe831 21:35:45 Removing intermediate container 16bb447fe831 21:35:45 ---> 14d57f5f6771 21:35:45 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:35:45 ---> Running in c49ef13b9cba 21:35:45 Removing intermediate container c49ef13b9cba 21:35:45 ---> 5b07c4e7e2c6 21:35:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:35:45 ---> Running in 5bdf664facde 21:35:45 Removing intermediate container 5bdf664facde 21:35:45 ---> ff87d39176f7 21:35:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:35:45 ---> Running in 9afc8c89316c 21:35:46 Removing intermediate container 9afc8c89316c 21:35:46 ---> 650e074af833 21:35:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:35:46 ---> Running in b8fc80d3e07e 21:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:35:49 OK: 270 MiB in 56 packages 21:35:52 Removing intermediate container b8fc80d3e07e 21:35:52 ---> 4affbc451920 21:35:52 Step 8/25 : WORKDIR /device-rest-go 21:35:52 ---> Running in 9f4395cbfd6c 21:35:52 Removing intermediate container 9f4395cbfd6c 21:35:52 ---> cad75572e50d 21:35:52 Step 9/25 : COPY go.mod vendor* ./ 21:35:52 ---> a0620835d0f9 21:35:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:35:52 ---> Running in d12c2c291c7d 21:35:55 Removing intermediate container d12c2c291c7d 21:35:55 ---> 6faedb26bca7 21:35:55 Step 11/25 : COPY . . 21:35:56 ---> 87b0c36a4c19 21:35:56 Step 12/25 : RUN $MAKE 21:35:56 ---> Running in db1644f2ccb8 21:35:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:38:03 Removing intermediate container db1644f2ccb8 21:38:03 ---> 9ddea4915a26 21:38:03 Step 13/25 : FROM alpine:3.18 21:38:03 3.18: Pulling from library/alpine 21:38:03 579b34f0a95b: Pulling fs layer 21:38:03 579b34f0a95b: Verifying Checksum 21:38:03 579b34f0a95b: Download complete 21:38:03 579b34f0a95b: Pull complete 21:38:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:38:03 Status: Downloaded newer image for alpine:3.18 21:38:03 ---> 3cc203321400 21:38:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:38:03 ---> Running in 6e7e39cdcb90 21:38:03 Removing intermediate container 6e7e39cdcb90 21:38:03 ---> d710062fcf7b 21:38:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:38:03 ---> Running in 55651dae3eee 21:38:03 Removing intermediate container 55651dae3eee 21:38:03 ---> aa4714aafd8a 21:38:03 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:38:03 ---> Running in b14aae9c6ced 21:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:38:04 (1/1) Installing dumb-init (1.2.5-r2) 21:38:04 Executing busybox-1.36.1-r2.trigger 21:38:05 OK: 8 MiB in 16 packages 21:38:06 Removing intermediate container b14aae9c6ced 21:38:06 ---> 8403114df31a 21:38:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:38:08 ---> c314c2d8455a 21:38:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:38:08 ---> c4961225e441 21:38:08 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:38:09 ---> a547b71c16d0 21:38:09 Step 20/25 : EXPOSE 59986 21:38:09 ---> Running in 083ec95ae8a0 21:38:09 Removing intermediate container 083ec95ae8a0 21:38:09 ---> a25ae4cd2337 21:38:09 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:38:09 ---> Running in 89c84cad51ef 21:38:10 Removing intermediate container 89c84cad51ef 21:38:10 ---> 7dad388b2e01 21:38:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:38:10 ---> Running in cd9a97cc699b 21:38:10 Removing intermediate container cd9a97cc699b 21:38:10 ---> c5a62e27923b 21:38:10 Step 23/25 : LABEL arch=arm64 21:38:10 ---> Running in 5af3649f4b8f 21:38:11 Removing intermediate container 5af3649f4b8f 21:38:11 ---> f318cbce6178 21:38:11 Step 24/25 : LABEL git_sha=be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:38:11 ---> Running in eeae1260e96b 21:38:11 Removing intermediate container eeae1260e96b 21:38:11 ---> c6e1dce43149 21:38:11 Step 25/25 : LABEL version=3.1.0-dev.26 21:38:11 ---> Running in 33e7e3825dff 21:38:11 Removing intermediate container 33e7e3825dff 21:38:11 ---> a5b7076b9d4a 21:38:11 [Warning] One or more build-args [ARCH] were not consumed 21:38:11 Successfully built a5b7076b9d4a 21:38:11 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:38:12 provisioning config files... 21:38:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/146@tmp/config605347392005396702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:12 ---> docker-login.sh 21:38:12 nexus3.edgexfoundry.org:10001 21:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:12 Configure a credential helper to remove this warning. See 21:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:12 21:38:12 Login Succeeded 21:38:12 nexus3.edgexfoundry.org:10002 21:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:12 Configure a credential helper to remove this warning. See 21:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:12 21:38:12 Login Succeeded 21:38:12 nexus3.edgexfoundry.org:10003 21:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:13 Configure a credential helper to remove this warning. See 21:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:13 21:38:13 Login Succeeded 21:38:13 nexus3.edgexfoundry.org:10004 21:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:13 Configure a credential helper to remove this warning. See 21:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:13 21:38:13 Login Succeeded 21:38:13 docker.io 21:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:14 Configure a credential helper to remove this warning. See 21:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:14 21:38:14 Login Succeeded 21:38:14 ---> docker-login.sh ends [Pipeline] } 21:38:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:38:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:14 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:38:14 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:38:14 latest 21:38:14 3.1.0-dev.26 21:38:14 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 21:38:14 main 21:38:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:38:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:38:17 fa311aa292c0: Preparing 21:38:17 7f757fff301d: Preparing 21:38:17 72383bb39c4a: Preparing 21:38:17 f5bcd0e0322d: Preparing 21:38:17 5f4d9fc4d98d: Preparing 21:38:17 5f4d9fc4d98d: Layer already exists 21:38:17 7f757fff301d: Pushed 21:38:17 fa311aa292c0: Pushed 21:38:17 f5bcd0e0322d: Pushed 21:38:24 72383bb39c4a: Pushed 21:38:24 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2: digest: sha256:5cf5ffec71c55b740018631731b439623299162d96941b7bf34f50d10d2e0f98 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:38:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:38:27 fa311aa292c0: Preparing 21:38:27 7f757fff301d: Preparing 21:38:27 72383bb39c4a: Preparing 21:38:27 f5bcd0e0322d: Preparing 21:38:27 5f4d9fc4d98d: Preparing 21:38:27 72383bb39c4a: Layer already exists 21:38:27 f5bcd0e0322d: Layer already exists 21:38:27 5f4d9fc4d98d: Layer already exists 21:38:27 fa311aa292c0: Layer already exists 21:38:27 7f757fff301d: Layer already exists 21:38:27 latest: digest: sha256:5cf5ffec71c55b740018631731b439623299162d96941b7bf34f50d10d2e0f98 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.26 21:38:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:38:28 fa311aa292c0: Preparing 21:38:28 7f757fff301d: Preparing 21:38:28 72383bb39c4a: Preparing 21:38:28 f5bcd0e0322d: Preparing 21:38:28 5f4d9fc4d98d: Preparing 21:38:28 7f757fff301d: Layer already exists 21:38:28 72383bb39c4a: Layer already exists 21:38:28 fa311aa292c0: Layer already exists 21:38:28 5f4d9fc4d98d: Layer already exists 21:38:28 f5bcd0e0322d: Layer already exists 21:38:28 3.1.0-dev.26: digest: sha256:5cf5ffec71c55b740018631731b439623299162d96941b7bf34f50d10d2e0f98 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 21:38:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:38:29 fa311aa292c0: Preparing 21:38:29 7f757fff301d: Preparing 21:38:29 72383bb39c4a: Preparing 21:38:29 f5bcd0e0322d: Preparing 21:38:29 5f4d9fc4d98d: Preparing 21:38:29 7f757fff301d: Layer already exists 21:38:29 fa311aa292c0: Layer already exists 21:38:29 72383bb39c4a: Layer already exists 21:38:29 5f4d9fc4d98d: Layer already exists 21:38:29 f5bcd0e0322d: Layer already exists 21:38:29 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26: digest: sha256:5cf5ffec71c55b740018631731b439623299162d96941b7bf34f50d10d2e0f98 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:38:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:38:30 fa311aa292c0: Preparing 21:38:30 7f757fff301d: Preparing 21:38:30 72383bb39c4a: Preparing 21:38:30 f5bcd0e0322d: Preparing 21:38:30 5f4d9fc4d98d: Preparing 21:38:30 72383bb39c4a: Layer already exists 21:38:30 fa311aa292c0: Layer already exists 21:38:30 5f4d9fc4d98d: Layer already exists 21:38:30 f5bcd0e0322d: Layer already exists 21:38:30 7f757fff301d: Layer already exists 21:38:30 main: digest: sha256:5cf5ffec71c55b740018631731b439623299162d96941b7bf34f50d10d2e0f98 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:38:30 ===================================================== [Pipeline] echo 21:38:30 taggedImages: 21:38:30 - nexus3.edgexfoundry.org:10004/device-rest-arm64:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 21:38:30 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:38:30 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.26 21:38:30 - nexus3.edgexfoundry.org:10004/device-rest-arm64:be4ef312c22dc034e41ce6d88dbc2c6735f3bed2-3.1.0-dev.26 21:38:30 - 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:38:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:38:30 21:38:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:38:31 arm64: Pulling from edgex-lftools-log-publisher 21:38:31 8998bd30e6a1: Pulling fs layer 21:38:31 04944245beec: Pulling fs layer 21:38:31 699f458cf7ca: Pulling fs layer 21:38:31 765212b225bb: Pulling fs layer 21:38:31 f23df028b6ca: Pulling fs layer 21:38:31 d65c8cfc05b1: Pulling fs layer 21:38:31 2437ff75d9bd: Pulling fs layer 21:38:31 f23df028b6ca: Waiting 21:38:31 765212b225bb: Waiting 21:38:31 2437ff75d9bd: Waiting 21:38:31 d65c8cfc05b1: Waiting 21:38:31 04944245beec: Verifying Checksum 21:38:31 04944245beec: Download complete 21:38:31 765212b225bb: Verifying Checksum 21:38:31 765212b225bb: Download complete 21:38:31 f23df028b6ca: Verifying Checksum 21:38:31 f23df028b6ca: Download complete 21:38:31 d65c8cfc05b1: Verifying Checksum 21:38:31 d65c8cfc05b1: Download complete 21:38:31 699f458cf7ca: Verifying Checksum 21:38:31 699f458cf7ca: Download complete 21:38:32 8998bd30e6a1: Verifying Checksum 21:38:32 8998bd30e6a1: Download complete 21:38:35 2437ff75d9bd: Download complete 21:38:40 8998bd30e6a1: Pull complete 21:38:41 04944245beec: Pull complete 21:38:42 699f458cf7ca: Pull complete 21:38:43 765212b225bb: Pull complete 21:38:44 f23df028b6ca: Pull complete 21:38:44 d65c8cfc05b1: Pull complete 21:39:02 2437ff75d9bd: Pull complete 21:39:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:02 prd-ubuntu20.04-docker-arm64-4c-16g-12148 does not seem to be running inside a container 21:39:03 $ 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/146 -v /w/workspace/device-rest-go/146:/w/workspace/device-rest-go/146:rw,z -v /w/workspace/device-rest-go/146@tmp:/w/workspace/device-rest-go/146@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:39:06 $ docker top b24f0163e9263067c2e29fdfe8827b34c2f64a9545ccccbdb314793131c04f57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:07 ---> job-cost.sh 21:39:07 lf-activate-venv: SKIPPING 21:39:07 INFO: No Stack... 21:39:07 INFO: Retrieving Pricing Info for: v3-standard-4 21:39:08 INFO: Archiving Costs [Pipeline] sh 21:39:08 + cat /w/workspace/device-rest-go/146/archives/cost.csv 21:39:08 + cut -d, -f6 [Pipeline] lock 21:39:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] 21:39:09 Resource [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] did not exist. Created. 21:39:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:09 /w/workspace/device-rest-go/146@tmp/durable-131a1003/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:39:10 + echo total: 0.10999999940395355 [Pipeline] stash 21:39:10 Warning: overwriting stash ‘stack-cost’ 21:39:10 Stashed 1 file(s) [Pipeline] } 21:39:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:10 $ docker stop --time=1 b24f0163e9263067c2e29fdfe8827b34c2f64a9545ccccbdb314793131c04f57 21:39:11 $ docker rm -f --volumes b24f0163e9263067c2e29fdfe8827b34c2f64a9545ccccbdb314793131c04f57 [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:39:12 provisioning config files... 21:39:12 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3858408948855839034tmp [Pipeline] { [Pipeline] sh 21:39:12 + set +x 21:39:12 + curl -s https://codecov.io/bash 21:39:12 + bash -s -- 21:39:12 21:39:12 _____ _ 21:39:12 / ____| | | 21:39:12 | | ___ __| | ___ ___ _____ __ 21:39:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:39:12 | |___| (_) | (_| | __/ (_| (_) \ V / 21:39:12 \_____\___/ \__,_|\___|\___\___/ \_/ 21:39:12 Bash-1.0.6 21:39:12 21:39:12 21:39:12 ==> git version 2.25.1 found 21:39:12 ==> 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:39:12 Release-Date: 2020-01-08 21:39:12 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:39:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:39:12 ==> Jenkins CI detected. 21:39:12 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:39:12 project root: . 21:39:12 --> token set from env 21:39:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:39:12 ==> Running gcov in . (disable via -X gcov) 21:39:12 ==> Python coveragepy not found 21:39:12 ==> Searching for coverage reports in: 21:39:12 + . 21:39:12 -> Found 1 reports 21:39:12 ==> Detecting git/mercurial file structure 21:39:12 ==> Reading reports 21:39:12 + ./coverage.out bytes=14499 21:39:12 ==> Appending adjustments 21:39:12 https://docs.codecov.io/docs/fixing-reports 21:39:12 + Found adjustments 21:39:12 ==> Gzipping contents 21:39:12 4.0K /tmp/codecov.41ozQ5.gz 21:39:12 ==> Uploading reports 21:39:12 url: https://codecov.io 21:39:12 query: branch=main&commit=be4ef312c22dc034e41ce6d88dbc2c6735f3bed2&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:39:12 -> Pinging Codecov 21:39:12 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=be4ef312c22dc034e41ce6d88dbc2c6735f3bed2&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:39:12 -> Uploading to 21:39:12 https://storage.googleapis.com/codecov/v4/raw/2023-10-26/4E5D53B4F1F92C436F7061BF334D961C/be4ef312c22dc034e41ce6d88dbc2c6735f3bed2/1d32204a-7c62-403a-a31e-3365e6bd53dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T213912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20f20e6990a8b5b70349cef5e1b75387190ed806be6c5201cb4948e423180837 21:39:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:12 Dload Upload Total Spent Left Speed 21:39:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8348 --:--:-- --:--:-- --:--:-- 8348 21:39:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] } 21:39:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:39:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:39:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:39:13 21:39:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:39:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:39:13 df9b9388f04a: Pulling fs layer 21:39:13 52dc419b0ee2: Pulling fs layer 21:39:13 25bc292e5bac: Pulling fs layer 21:39:13 114826534d7a: Pulling fs layer 21:39:13 4657fd5d0bcf: Pulling fs layer 21:39:13 6ad1cebc031e: Pulling fs layer 21:39:13 8a3aa393b2d8: Pulling fs layer 21:39:13 4657fd5d0bcf: Waiting 21:39:13 114826534d7a: Waiting 21:39:13 6ad1cebc031e: Waiting 21:39:13 8a3aa393b2d8: Waiting 21:39:13 25bc292e5bac: Verifying Checksum 21:39:13 25bc292e5bac: Download complete 21:39:13 52dc419b0ee2: Verifying Checksum 21:39:13 52dc419b0ee2: Download complete 21:39:13 4657fd5d0bcf: Verifying Checksum 21:39:13 4657fd5d0bcf: Download complete 21:39:13 df9b9388f04a: Download complete 21:39:14 df9b9388f04a: Pull complete 21:39:14 6ad1cebc031e: Verifying Checksum 21:39:14 6ad1cebc031e: Download complete 21:39:14 52dc419b0ee2: Pull complete 21:39:14 25bc292e5bac: Pull complete 21:39:14 114826534d7a: Verifying Checksum 21:39:14 114826534d7a: Download complete 21:39:15 8a3aa393b2d8: Verifying Checksum 21:39:15 8a3aa393b2d8: Download complete 21:39:18 114826534d7a: Pull complete 21:39:18 4657fd5d0bcf: Pull complete 21:39:18 6ad1cebc031e: Pull complete 21:39:21 8a3aa393b2d8: Pull complete 21:39:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:39:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:39:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:21 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:39:21 $ 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:39:26 $ docker top 8dc2f7b24d95201ba619b0e10a3efdac8f54cea1cf53dc1b7f7a6eba6e9cc180 -eo pid,comm [Pipeline] { [Pipeline] echo 21:39:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:39:26 + set -o pipefail 21:39:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:39:32 21:39:32 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:39:32 21:39:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4c1368bc-845b-41f8-8344-d7b499114d5f 21:39:32 21:39:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:39:32 21:39:33 21:39:33 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:39:33 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:39:33 More details here: https://snyk.co/ue1NS [Pipeline] } 21:39:33 $ docker stop --time=1 8dc2f7b24d95201ba619b0e10a3efdac8f54cea1cf53dc1b7f7a6eba6e9cc180 21:39:37 $ docker rm -f --volumes 8dc2f7b24d95201ba619b0e10a3efdac8f54cea1cf53dc1b7f7a6eba6e9cc180 [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:39:37 + git log --format=format:%s -1 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 [Pipeline] sh 21:39:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:39:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:38 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:39:38 $ 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:39:39 $ docker top 5a2ffeb1acc253d91be409fd6b013c6db8a9ad82058ea97d765239b41cdb3a03 -eo pid,comm 21:39:39 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:39:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:39 [ssh-agent] Looking for ssh-agent implementation... 21:39:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:39 $ docker exec 5a2ffeb1acc253d91be409fd6b013c6db8a9ad82058ea97d765239b41cdb3a03 ssh-agent 21:39:39 SSH_AUTH_SOCK=/tmp/ssh-x7sqNztV8ZJh/agent.31 21:39:39 SSH_AGENT_PID=37 21:39:39 Running ssh-add (command line suppressed) 21:39:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6720153325121025764.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6720153325121025764.key) 21:39:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:39 + git semver tag 21:39:40 2023-10-26 21:39:39,916 [run_tag] DEBUG tag force:False 21:39:40 2023-10-26 21:39:39,916 [check_head_tag] DEBUG check head tag 21:39:40 2023-10-26 21:39:39,917 [execute] INFO git cat-file --batch-check 21:39:40 2023-10-26 21:39:39,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:39:40 2023-10-26 21:39:39,920 [execute] INFO git cat-file --batch 21:39:40 2023-10-26 21:39:39,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:39:40 2023-10-26 21:39:39,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:40 2023-10-26 21:39:39,936 [execute] INFO git tag -a v3.1.0-dev.26 -m v3.1.0-dev.26 21:39:40 2023-10-26 21:39:39,936 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.26', '-m', 'v3.1.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:39:40 2023-10-26 21:39:39,941 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:39:40 3.1.0-dev.26 [Pipeline] } 21:39:40 $ docker exec --env ******** --env ******** 5a2ffeb1acc253d91be409fd6b013c6db8a9ad82058ea97d765239b41cdb3a03 ssh-agent -k 21:39:40 unset SSH_AUTH_SOCK; 21:39:40 unset SSH_AGENT_PID; 21:39:40 echo Agent pid 37 killed; 21:39:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:40 + git semver [Pipeline] } 21:39:40 $ docker stop --time=1 5a2ffeb1acc253d91be409fd6b013c6db8a9ad82058ea97d765239b41cdb3a03 21:39:42 $ docker rm -f --volumes 5a2ffeb1acc253d91be409fd6b013c6db8a9ad82058ea97d765239b41cdb3a03 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:39:42 21:39:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:39:42 0.23.1-centos7: Pulling from edgex-lftools 21:39:42 ab5ef0e58194: Pulling fs layer 21:39:42 9712f1f96733: Pulling fs layer 21:39:42 63f879dbbcfc: Pulling fs layer 21:39:42 0d9ebad4ef96: Pulling fs layer 21:39:42 e9a5061849ea: Pulling fs layer 21:39:42 d747dcd14b5f: Pulling fs layer 21:39:42 2de7ff778b66: Pulling fs layer 21:39:42 d747dcd14b5f: Waiting 21:39:42 2de7ff778b66: Waiting 21:39:42 e9a5061849ea: Waiting 21:39:42 0d9ebad4ef96: Waiting 21:39:42 9712f1f96733: Verifying Checksum 21:39:42 9712f1f96733: Download complete 21:39:43 63f879dbbcfc: Verifying Checksum 21:39:43 63f879dbbcfc: Download complete 21:39:43 e9a5061849ea: Verifying Checksum 21:39:43 e9a5061849ea: Download complete 21:39:43 d747dcd14b5f: Verifying Checksum 21:39:43 d747dcd14b5f: Download complete 21:39:43 ab5ef0e58194: Verifying Checksum 21:39:43 ab5ef0e58194: Download complete 21:39:43 0d9ebad4ef96: Verifying Checksum 21:39:43 0d9ebad4ef96: Download complete 21:39:43 2de7ff778b66: Verifying Checksum 21:39:43 2de7ff778b66: Download complete 21:39:45 ab5ef0e58194: Pull complete 21:39:45 9712f1f96733: Pull complete 21:39:46 63f879dbbcfc: Pull complete 21:39:49 0d9ebad4ef96: Pull complete 21:39:50 e9a5061849ea: Pull complete 21:39:50 d747dcd14b5f: Pull complete 21:39:50 2de7ff778b66: Pull complete 21:39:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:39:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:39:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:51 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:39:51 $ 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:39:55 $ docker top 4eb83680a1a1d68342bdef9c6d9d5c64cfe3961786eae0b84901034436ec6c30 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:39:55 provisioning config files... 21:39:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5213314138571869751tmp 21:39:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config211306248336073531tmp 21:39:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18335547641686132589tmp [Pipeline] { [Pipeline] echo 21:39:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:39:56 ---> sigul-configuration.sh 21:39:56 gpg: directory `/root/.gnupg' created 21:39:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:39:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:39:56 gpg: keyring `/root/.gnupg/secring.gpg' created 21:39:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:39:56 gpg: CAST5 encrypted data 21:39:56 gpg: encrypted with 1 passphrase 21:39:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:39:56 + mkdir /home/jenkins 21:39:56 + mkdir /home/jenkins/sigul [Pipeline] sh 21:39:56 + 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:39:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:39:57 ---> sigul-install.sh 21:39:57 Sigul already installed; skipping installation. [Pipeline] sh 21:39:57 + git tag --list 21:39:57 v1.0.0 21:39:57 v1.1.0 21:39:57 v1.1.1 21:39:57 v1.1.2 21:39:57 v1.2.0 21:39:57 v1.2.1 21:39:57 v2.0.0 21:39:57 v2.1.0 21:39:57 v2.1.1 21:39:57 v2.2.0 21:39:57 v2.3.0 21:39:57 v3.0 21:39:57 v3.0.0 21:39:57 v3.1.0-dev.1 21:39:57 v3.1.0-dev.10 21:39:57 v3.1.0-dev.11 21:39:57 v3.1.0-dev.12 21:39:57 v3.1.0-dev.13 21:39:57 v3.1.0-dev.14 21:39:57 v3.1.0-dev.15 21:39:57 v3.1.0-dev.16 21:39:57 v3.1.0-dev.17 21:39:57 v3.1.0-dev.18 21:39:57 v3.1.0-dev.19 21:39:57 v3.1.0-dev.2 21:39:57 v3.1.0-dev.20 21:39:57 v3.1.0-dev.21 21:39:57 v3.1.0-dev.22 21:39:57 v3.1.0-dev.23 21:39:57 v3.1.0-dev.24 21:39:57 v3.1.0-dev.25 21:39:57 v3.1.0-dev.26 21:39:57 v3.1.0-dev.3 21:39:57 v3.1.0-dev.4 21:39:57 v3.1.0-dev.5 21:39:57 v3.1.0-dev.6 21:39:57 v3.1.0-dev.7 21:39:57 v3.1.0-dev.8 21:39:57 v3.1.0-dev.9 [Pipeline] sh 21:39:57 + lftools sign git-tag v3.1.0-dev.26 21:39:58 Signing Git tag with Sigul... 21:39:58 Signing v3.1.0-dev.26 [Pipeline] echo 21:39:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:39:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:39:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:39:58 $ docker stop --time=1 4eb83680a1a1d68342bdef9c6d9d5c64cfe3961786eae0b84901034436ec6c30 21:40:00 $ docker rm -f --volumes 4eb83680a1a1d68342bdef9c6d9d5c64cfe3961786eae0b84901034436ec6c30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:40:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:40:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:40:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:00 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:40:00 $ 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:40:01 $ docker top 0418e57572b4d73cf0ed5a2ddcf722556842af8074cadb880050e4f95fc86a47 -eo pid,comm 21:40:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:40:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:40:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:40:01 [ssh-agent] Looking for ssh-agent implementation... 21:40:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:40:01 $ docker exec 0418e57572b4d73cf0ed5a2ddcf722556842af8074cadb880050e4f95fc86a47 ssh-agent 21:40:01 SSH_AUTH_SOCK=/tmp/ssh-c3nqcZp7lOK4/agent.33 21:40:01 SSH_AGENT_PID=39 21:40:01 Running ssh-add (command line suppressed) 21:40:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4380314803782222107.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4380314803782222107.key) 21:40:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:40:02 + git semver bump pre 21:40:02 2023-10-26 21:40:02,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:40:02 2023-10-26 21:40:02,148 [bump_version] DEBUG bumping version:3.1.0-dev.26 on axis:pre with prefix:dev 21:40:02 2023-10-26 21:40:02,148 [bump_version] DEBUG bumped version:3.1.0-dev.27 21:40:02 2023-10-26 21:40:02,148 [write_version] DEBUG write version:3.1.0-dev.27 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:40:02 2023-10-26 21:40:02,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:40:02 2023-10-26 21:40:02,148 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:40:02 2023-10-26 21:40:02,150 [execute] INFO git cat-file --batch-check 21:40:02 2023-10-26 21:40:02,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:40:02 2023-10-26 21:40:02,155 [execute] INFO git cat-file --batch 21:40:02 2023-10-26 21:40:02,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:40:02 2023-10-26 21:40:02,160 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:40:02 3.1.0-dev.27 [Pipeline] } 21:40:02 $ docker exec --env ******** --env ******** 0418e57572b4d73cf0ed5a2ddcf722556842af8074cadb880050e4f95fc86a47 ssh-agent -k 21:40:02 unset SSH_AUTH_SOCK; 21:40:02 unset SSH_AGENT_PID; 21:40:02 echo Agent pid 39 killed; 21:40:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:40:02 + git semver [Pipeline] } 21:40:02 $ docker stop --time=1 0418e57572b4d73cf0ed5a2ddcf722556842af8074cadb880050e4f95fc86a47 21:40:04 $ docker rm -f --volumes 0418e57572b4d73cf0ed5a2ddcf722556842af8074cadb880050e4f95fc86a47 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:40:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:40:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:04 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:40:04 $ 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:40:05 $ docker top c11d9d49736b4d3ca852e0cbaca51e69e0c67b90ddf551f4d181afc28b930c72 -eo pid,comm 21:40:05 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:40:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:40:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:40:05 [ssh-agent] Looking for ssh-agent implementation... 21:40:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:40:05 $ docker exec c11d9d49736b4d3ca852e0cbaca51e69e0c67b90ddf551f4d181afc28b930c72 ssh-agent 21:40:05 SSH_AUTH_SOCK=/tmp/ssh-ULhy6HGRCLM6/agent.31 21:40:05 SSH_AGENT_PID=37 21:40:05 Running ssh-add (command line suppressed) 21:40:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16852473105559784684.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16852473105559784684.key) 21:40:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:40:05 + git semver push 21:40:06 2023-10-26 21:40:06,114 [run_push] DEBUG push 21:40:06 2023-10-26 21:40:06,115 [execute] INFO git cat-file --batch-check 21:40:06 2023-10-26 21:40:06,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:40:06 2023-10-26 21:40:06,118 [execute] INFO git rev-list 75b443c6ce12178a119dfbec1c2cff37f29a4cdc -- 21:40:06 2023-10-26 21:40:06,119 [execute] DEBUG Popen(['git', 'rev-list', '75b443c6ce12178a119dfbec1c2cff37f29a4cdc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:40:06 2023-10-26 21:40:06,127 [execute] INFO git fetch -v origin 21:40:06 2023-10-26 21:40:06,128 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:40:06 2023-10-26 21:40:06,659 [run_push] DEBUG no remote changes detected 21:40:06 2023-10-26 21:40:06,659 [execute] INFO git push origin semver 21:40:06 2023-10-26 21:40:06,659 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:40:07 2023-10-26 21:40:07,455 [run_push] DEBUG push all version tags 21:40:07 2023-10-26 21:40:07,455 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:40:07 2023-10-26 21:40:07,456 [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:40:08 2023-10-26 21:40:08,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:40:08 3.1.0-dev.27 [Pipeline] } 21:40:08 $ docker exec --env ******** --env ******** c11d9d49736b4d3ca852e0cbaca51e69e0c67b90ddf551f4d181afc28b930c72 ssh-agent -k 21:40:08 unset SSH_AUTH_SOCK; 21:40:08 unset SSH_AGENT_PID; 21:40:08 echo Agent pid 37 killed; 21:40:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:40:09 + git semver [Pipeline] } 21:40:09 $ docker stop --time=1 c11d9d49736b4d3ca852e0cbaca51e69e0c67b90ddf551f4d181afc28b930c72 21:40:10 $ docker rm -f --volumes c11d9d49736b4d3ca852e0cbaca51e69e0c67b90ddf551f4d181afc28b930c72 [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:40:11 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:40:11 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:40:11 total 16 21:40:11 drwxr-xr-x 3 root root 4096 Oct 26 21:24 . 21:40:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 21:39 .. 21:40:11 drwxr-xr-x 2 root root 4096 Oct 26 21:24 cost 21:40:11 -rw-r--r-- 1 root root 86 Oct 26 21:24 cost.csv 21:40:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:40:11 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:40:11 total 16 21:40:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 21:24 . 21:40:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 21:39 .. 21:40:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 21:24 cost 21:40:11 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:40:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:40:12 ---> package-listing.sh 21:40:12 ++ facter osfamily 21:40:12 ++ tr '[:upper:]' '[:lower:]' 21:40:12 + OS_FAMILY=debian 21:40:12 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:40:12 + START_PACKAGES=/tmp/packages_start.txt 21:40:12 + END_PACKAGES=/tmp/packages_end.txt 21:40:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:40:12 + PACKAGES=/tmp/packages_start.txt 21:40:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:40:12 + PACKAGES=/tmp/packages_end.txt 21:40:12 + case "${OS_FAMILY}" in 21:40:12 + dpkg -l 21:40:12 + grep '^ii' 21:40:12 + '[' -f /tmp/packages_start.txt ']' 21:40:12 + '[' -f /tmp/packages_end.txt ']' 21:40:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:40:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:40:12 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:40:12 + 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:40:12 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:40:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:13 prd-ubuntu20.04-docker-8c-8g-12069 does not seem to be running inside a container 21:40:13 $ 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:40:13 $ docker top 5ada86f97ab146482d6a5fe01b14b1e5e19416b45617b550229313fb7ce8f20a -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:13 + touch /tmp/pre-build-complete [Pipeline] sh 21:40:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:40:14 + ls /var/log/sa-host 21:40:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:14 provisioning config files... 21:40:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3343256537366893701tmp [Pipeline] { [Pipeline] echo 21:40:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:40:14 ---> create-netrc.sh [Pipeline] } 21:40:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:40:15 ---> python-tools-install.sh [Pipeline] echo 21:40:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:40:15 ---> sudo-logs.sh 21:40:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:40:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:40:15 ---> job-cost.sh 21:40:15 lf-activate-venv: SKIPPING 21:40:15 DEBUG: total: 0.2199999988079071 21:40:15 INFO: Retrieving Stack Cost... 21:40:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:40:16 INFO: Archiving Costs [Pipeline] echo 21:40:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:40:16 ---> logs-deploy.sh 21:40:16 lf-activate-venv: SKIPPING 21:40:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/146 21:40:16 INFO: archiving workspace using pattern(s): 21:40:17 Archives upload complete. 21:40:17 INFO: archiving logs to Nexus