Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 660491fba38d8ec3280cd778996bba77bc0edf60 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-ssh7541170435870334995.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-ssh18323880106990751129.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-ssh6637202107918330674.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-ssh2208579111917472901.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-ssh14299563101411771771.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6408 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 660491fba38d8ec3280cd778996bba77bc0edf60 (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#341)" > git checkout -f 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 > git rev-list --no-walk b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:17 ========================================================= 20:58:17 EdgeX Global Pipelines Version Info 20:58:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:17 ------------------- 20:58:17 stable info: 20:58:17 ------------------- 20:58:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:58:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:58:17 Message: update stable to v1.0.254 20:58:18 ------------------- 20:58:18 experimental info: 20:58:18 ------------------- 20:58:18 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:58:18 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:58:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:58:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:58:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo 20:58:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 660491f [Pipeline] echo 20:58:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:19 provisioning config files... 20:58:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6346049639037269289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:19 ---> docker-login.sh 20:58:19 nexus3.edgexfoundry.org:10001 20:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:19 Configure a credential helper to remove this warning. See 20:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:19 20:58:19 Login Succeeded 20:58:19 nexus3.edgexfoundry.org:10002 20:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:20 Configure a credential helper to remove this warning. See 20:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:20 20:58:20 Login Succeeded 20:58:20 nexus3.edgexfoundry.org:10003 20:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:20 Configure a credential helper to remove this warning. See 20:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:20 20:58:20 Login Succeeded 20:58:20 nexus3.edgexfoundry.org:10004 20:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:20 Configure a credential helper to remove this warning. See 20:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:20 20:58:20 Login Succeeded 20:58:20 docker.io 20:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:20 Configure a credential helper to remove this warning. See 20:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:20 20:58:20 Login Succeeded 20:58:20 ---> docker-login.sh ends [Pipeline] } 20:58:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:20 + git rev-list -1 --merges 660491fba38d8ec3280cd778996bba77bc0edf60~1..660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo 20:58:20 -----------> git rev-list -1 --merges 660491fba38d8ec3280cd778996bba77bc0edf60~1..660491fba38d8ec3280cd778996bba77bc0edf60 660491fba38d8ec3280cd778996bba77bc0edf60 [false] [Pipeline] sh 20:58:21 + git log --format=format:%s -1 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo 20:58:21 ========================================================= 20:58:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:21 + git log --format=format:%s -1 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo 20:58:21 [semverPrep] GIT_COMMIT: 660491fba38d8ec3280cd778996bba77bc0edf60, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#341) [Pipeline] echo 20:58:21 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:22 + grep -v github /etc/ssh/ssh_known_hosts 20:58:22 + [ -e /tmp/ssh_known_hosts ] 20:58:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:22 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:22 20:58:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:22 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:22 b85a868b505f: Pulling fs layer 20:58:22 e2be974225ed: Pulling fs layer 20:58:22 339a4e72a1f5: Pulling fs layer 20:58:22 988bab9f4d93: Pulling fs layer 20:58:22 1469e6f7b9e6: Pulling fs layer 20:58:22 eaf3925da568: Pulling fs layer 20:58:22 bab4dde63d76: Pulling fs layer 20:58:22 bde34c3a00c8: Pulling fs layer 20:58:22 b352a97aabf1: Pulling fs layer 20:58:22 4872d77fe225: Pulling fs layer 20:58:22 5851b861e8e6: Pulling fs layer 20:58:22 bab4dde63d76: Waiting 20:58:22 1469e6f7b9e6: Waiting 20:58:22 b352a97aabf1: Waiting 20:58:22 4872d77fe225: Waiting 20:58:22 bde34c3a00c8: Waiting 20:58:22 5851b861e8e6: Waiting 20:58:22 988bab9f4d93: Waiting 20:58:22 eaf3925da568: Waiting 20:58:22 e2be974225ed: Download complete 20:58:22 988bab9f4d93: Verifying Checksum 20:58:22 988bab9f4d93: Download complete 20:58:22 1469e6f7b9e6: Verifying Checksum 20:58:22 1469e6f7b9e6: Download complete 20:58:22 eaf3925da568: Download complete 20:58:22 339a4e72a1f5: Verifying Checksum 20:58:22 339a4e72a1f5: Download complete 20:58:22 bde34c3a00c8: Verifying Checksum 20:58:22 bde34c3a00c8: Download complete 20:58:22 b352a97aabf1: Download complete 20:58:22 4872d77fe225: Download complete 20:58:22 5851b861e8e6: Verifying Checksum 20:58:22 5851b861e8e6: Download complete 20:58:22 b85a868b505f: Verifying Checksum 20:58:22 b85a868b505f: Download complete 20:58:23 bab4dde63d76: Verifying Checksum 20:58:23 bab4dde63d76: Download complete 20:58:24 b85a868b505f: Pull complete 20:58:24 e2be974225ed: Pull complete 20:58:24 339a4e72a1f5: Pull complete 20:58:24 988bab9f4d93: Pull complete 20:58:24 1469e6f7b9e6: Pull complete 20:58:24 eaf3925da568: Pull complete 20:58:26 bab4dde63d76: Pull complete 20:58:26 bde34c3a00c8: Pull complete 20:58:26 b352a97aabf1: Pull complete 20:58:26 4872d77fe225: Pull complete 20:58:26 5851b861e8e6: Pull complete 20:58:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:27 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 20:58:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:30 $ docker top 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 -eo pid,comm 20:58:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:58:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:30 [ssh-agent] Looking for ssh-agent implementation... 20:58:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:30 $ docker exec 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent 20:58:30 SSH_AUTH_SOCK=/tmp/ssh-RkLPRIKzfX93/agent.32 20:58:30 SSH_AGENT_PID=38 20:58:30 Running ssh-add (command line suppressed) 20:58:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15356302986805895368.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15356302986805895368.key) 20:58:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:31 + git tag --points-at HEAD [Pipeline] } 20:58:31 $ docker exec --env ******** --env ******** 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent -k 20:58:31 unset SSH_AUTH_SOCK; 20:58:31 unset SSH_AGENT_PID; 20:58:31 echo Agent pid 38 killed; 20:58:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:31 [ssh-agent] Looking for ssh-agent implementation... 20:58:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:31 $ docker exec 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent 20:58:31 SSH_AUTH_SOCK=/tmp/ssh-jeFc45HzxKL9/agent.71 20:58:31 SSH_AGENT_PID=77 20:58:31 Running ssh-add (command line suppressed) 20:58:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2861852969550008995.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2861852969550008995.key) 20:58:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:31 + git semver init 20:58:32 2023-09-18 20:58:32,046 [run_init] DEBUG init version:0.0.0 force:False 20:58:32 2023-09-18 20:58:32,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:58:32 2023-09-18 20:58:32,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:58:32 2023-09-18 20:58:32,048 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:58:33 2023-09-18 20:58:33,077 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:58:33 2023-09-18 20:58:33,078 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:58:33 2023-09-18 20:58:33,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:58:33 2023-09-18 20:58:33,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:58:33 3.1.0-dev.13 [Pipeline] } 20:58:33 $ docker exec --env ******** --env ******** 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent -k 20:58:33 unset SSH_AUTH_SOCK; 20:58:33 unset SSH_AGENT_PID; 20:58:33 echo Agent pid 77 killed; 20:58:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:33 + git semver [Pipeline] } 20:58:34 $ docker stop --time=1 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 20:58:35 $ docker rm -f --volumes 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:36 Stashed 1 file(s) [Pipeline] echo 20:58:36 [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:36 provisioning config files... 20:58:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5356538422029103327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:36 ---> docker-login.sh 20:58:36 nexus3.edgexfoundry.org:10001 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 nexus3.edgexfoundry.org:10002 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 nexus3.edgexfoundry.org:10003 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 nexus3.edgexfoundry.org:10004 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 docker.io 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 ---> docker-login.sh ends [Pipeline] } 20:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:37 ========================================================= 20:58:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:58:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:37 + 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 . 20:58:37 Sending build context to Docker daemon 10.9MB 20:58:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:58:37 Step 2/12 : FROM ${BASE} AS builder 20:58:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:37 7264a8db6415: Pulling fs layer 20:58:37 c4d48a809fc2: Pulling fs layer 20:58:37 4f1c88b9dad5: Pulling fs layer 20:58:37 ad3a456e5733: Pulling fs layer 20:58:37 9e4f439ed901: Pulling fs layer 20:58:37 feaf6a47b606: Pulling fs layer 20:58:37 5e8b037d7d82: Pulling fs layer 20:58:37 8ac70367396e: Pulling fs layer 20:58:37 6db16350a2e2: Pulling fs layer 20:58:37 9250d5d63582: Pulling fs layer 20:58:37 feaf6a47b606: Waiting 20:58:37 6db16350a2e2: Waiting 20:58:37 9250d5d63582: Waiting 20:58:37 ad3a456e5733: Waiting 20:58:37 5e8b037d7d82: Waiting 20:58:37 9e4f439ed901: Waiting 20:58:37 8ac70367396e: Waiting 20:58:37 c4d48a809fc2: Verifying Checksum 20:58:37 c4d48a809fc2: Download complete 20:58:37 ad3a456e5733: Verifying Checksum 20:58:37 ad3a456e5733: Download complete 20:58:37 9e4f439ed901: Verifying Checksum 20:58:37 9e4f439ed901: Download complete 20:58:37 7264a8db6415: Verifying Checksum 20:58:37 7264a8db6415: Download complete 20:58:37 feaf6a47b606: Verifying Checksum 20:58:37 feaf6a47b606: Download complete 20:58:37 7264a8db6415: Pull complete 20:58:38 c4d48a809fc2: Pull complete 20:58:38 8ac70367396e: Download complete 20:58:38 4f1c88b9dad5: Verifying Checksum 20:58:38 4f1c88b9dad5: Download complete 20:58:38 6db16350a2e2: Download complete 20:58:38 9250d5d63582: Verifying Checksum 20:58:38 9250d5d63582: Download complete 20:58:38 5e8b037d7d82: Verifying Checksum 20:58:38 5e8b037d7d82: Download complete 20:58:41 4f1c88b9dad5: Pull complete 20:58:41 ad3a456e5733: Pull complete 20:58:41 9e4f439ed901: Pull complete 20:58:41 feaf6a47b606: Pull complete 20:58:43 5e8b037d7d82: Pull complete 20:58:44 8ac70367396e: Pull complete 20:58:44 6db16350a2e2: Pull complete 20:58:44 9250d5d63582: Pull complete 20:58:45 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:58:45 ---> fa269f55d9b9 20:58:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:58:49 ---> Running in edb3db38c2d5 20:58:49 Removing intermediate container edb3db38c2d5 20:58:49 ---> 15c56b05464a 20:58:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:49 ---> Running in afbd98e4544e 20:58:49 Removing intermediate container afbd98e4544e 20:58:49 ---> 124ec005de15 20:58:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:49 ---> Running in 886c81b4cb16 20:58:49 Removing intermediate container 886c81b4cb16 20:58:49 ---> 91bf4f213624 20:58:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:58:49 ---> Running in c171ca7fc728 20:58:49 Removing intermediate container c171ca7fc728 20:58:49 ---> 40b639a510bf 20:58:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:49 ---> Running in 45af0c229f84 20:58:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:50 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:58:50 (2/4) Installing libedit (20221030.3.1-r1) 20:58:50 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:58:50 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:58:50 Executing busybox-1.36.1-r2.trigger 20:58:50 OK: 270 MiB in 60 packages 20:58:51 Removing intermediate container 45af0c229f84 20:58:51 ---> 64f77e7c5560 20:58:51 Step 8/12 : WORKDIR /device-rest-go 20:58:51 ---> Running in 7efcd2f4b94c 20:58:51 Removing intermediate container 7efcd2f4b94c 20:58:51 ---> 4bf611cfd60e 20:58:51 Step 9/12 : COPY go.mod vendor* ./ 20:58:51 Still waiting to schedule task 20:58:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:58:51 ---> 41e6174eda8e 20:58:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:51 ---> Running in 9435655d7cb9 20:59:30 Removing intermediate container 9435655d7cb9 20:59:30 ---> 7a69914ef74a 20:59:30 Step 11/12 : COPY . . 20:59:30 ---> 57f4a7cbbf56 20:59:30 Step 12/12 : RUN $MAKE 20:59:30 ---> Running in 226e00fc6031 20:59:30 noop 20:59:30 Removing intermediate container 226e00fc6031 20:59:30 ---> 39dd57ba11df 20:59:30 Successfully built 39dd57ba11df 20:59:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:30 + docker inspect -f . ci-base-image-x86_64 20:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:30 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 20:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:30 $ docker top f741a0a174c711a0393e1eede3cf70653570df5e31e1eb94da2a071660a130ce -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:31 + go version 20:59:31 go version go1.21.0 linux/amd64 [Pipeline] } 20:59:31 $ docker stop --time=1 f741a0a174c711a0393e1eede3cf70653570df5e31e1eb94da2a071660a130ce 20:59:32 $ docker rm -f --volumes f741a0a174c711a0393e1eede3cf70653570df5e31e1eb94da2a071660a130ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:32 + docker inspect -f . ci-base-image-x86_64 20:59:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:32 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 20:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:33 $ docker top bc881718bf9dbb9ae74e6c555b4c2d204bc44fb2d0804acb46beffa997f54930 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:59:33 + make test 20:59:33 go test ./... -coverprofile=coverage.out ./... 20:59:35 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:45 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:59:51 go vet ./... 20:59:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:55 $ docker stop --time=1 bc881718bf9dbb9ae74e6c555b4c2d204bc44fb2d0804acb46beffa997f54930 20:59:59 $ docker rm -f --volumes bc881718bf9dbb9ae74e6c555b4c2d204bc44fb2d0804acb46beffa997f54930 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:00 + ls -al . 21:00:00 total 188 21:00:00 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 20:59 . 21:00:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:58 .. 21:00:00 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 20:58 .dockerignore 21:00:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 20:59 .git 21:00:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:58 .github 21:00:00 -rw-rw-r-- 1 jenkins jenkins 329 Sep 18 20:58 .gitignore 21:00:00 -rw-rw-r-- 1 jenkins jenkins 41 Sep 18 20:58 .golangci.yml 21:00:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 20:58 .semver 21:00:00 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 18 20:58 Attribution.txt 21:00:00 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 18 20:58 CHANGELOG.md 21:00:00 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 18 20:58 Dockerfile 21:00:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 20:58 GOVERNANCE.md 21:00:00 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 20:58 Jenkinsfile 21:00:00 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 20:58 LICENSE 21:00:00 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 18 20:58 Makefile 21:00:00 -rw-rw-r-- 1 jenkins jenkins 620 Sep 18 20:58 OWNERS.md 21:00:00 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 18 20:58 README.md 21:00:00 -rw-rw-r-- 1 jenkins jenkins 12 Sep 18 20:58 VERSION 21:00:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:58 bin 21:00:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:58 cmd 21:00:00 -rw-r--r-- 1 jenkins jenkins 14499 Sep 18 20:59 coverage.out 21:00:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:58 driver 21:00:00 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 18 20:58 go.mod 21:00:00 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 18 20:58 go.sum 21:00:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:58 snap 21:00:00 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:00 + 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=660491fba38d8ec3280cd778996bba77bc0edf60 --label arch=amd64 --label version=3.1.0-dev.13 . 21:00:00 Sending build context to Docker daemon 10.91MB 21:00:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:00:00 Step 2/25 : FROM ${BASE} AS builder 21:00:00 ---> 39dd57ba11df 21:00:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:01 ---> Running in 10749d1f740c 21:00:01 Removing intermediate container 10749d1f740c 21:00:01 ---> 8bb27559ebab 21:00:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:01 ---> Running in 2831dc6ad68f 21:00:01 Removing intermediate container 2831dc6ad68f 21:00:01 ---> be652bc35cd0 21:00:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:01 ---> Running in 17904da3f839 21:00:01 Removing intermediate container 17904da3f839 21:00:01 ---> dd34080e92af 21:00:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:01 ---> Running in 0aaf66bb4f7a 21:00:01 Removing intermediate container 0aaf66bb4f7a 21:00:01 ---> a990376288f3 21:00:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:01 ---> Running in 32df9700196f 21:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:00:01 OK: 270 MiB in 60 packages 21:00:02 Removing intermediate container 32df9700196f 21:00:02 ---> 6ea271149468 21:00:02 Step 8/25 : WORKDIR /device-rest-go 21:00:02 ---> Running in ee86cf186d92 21:00:02 Removing intermediate container ee86cf186d92 21:00:02 ---> 54db41b06ee5 21:00:02 Step 9/25 : COPY go.mod vendor* ./ 21:00:02 ---> b504195e1533 21:00:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:02 ---> Running in 9dc737552ff5 21:00:03 Removing intermediate container 9dc737552ff5 21:00:03 ---> 107afedb4e37 21:00:03 Step 11/25 : COPY . . 21:00:04 ---> 7265d7141323 21:00:04 Step 12/25 : RUN $MAKE 21:00:04 ---> Running in d0404666014b 21:00:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:00:22 Removing intermediate container d0404666014b 21:00:22 ---> 0ec5fc9103f4 21:00:22 Step 13/25 : FROM alpine:3.18 21:00:22 3.18: Pulling from library/alpine 21:00:23 7264a8db6415: Already exists 21:00:23 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:00:23 Status: Downloaded newer image for alpine:3.18 21:00:23 ---> 7e01a0d0a1dc 21:00:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:00:23 ---> Running in 14e9950eba8a 21:00:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6409 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:00:23 Running in /w/workspace/device-rest-go/133 [Pipeline] { [Pipeline] checkout 21:00:23 The recommended git tool is: git 21:00:23 Removing intermediate container 14e9950eba8a 21:00:23 ---> feaa43726b21 21:00:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:00:23 ---> Running in 6e830989c93f 21:00:23 Removing intermediate container 6e830989c93f 21:00:23 ---> 94576e609271 21:00:23 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:00:23 ---> Running in 9ea995721d70 21:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:00:24 (1/1) Installing dumb-init (1.2.5-r2) 21:00:24 Executing busybox-1.36.1-r2.trigger 21:00:24 OK: 7 MiB in 16 packages 21:00:24 Removing intermediate container 9ea995721d70 21:00:24 ---> a95303e2c216 21:00:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:00:25 ---> 52521a86f20f 21:00:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:00:25 ---> 6f920d43facd 21:00:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:00:25 ---> 4a3936647481 21:00:25 Step 20/25 : EXPOSE 59986 21:00:25 ---> Running in 498712880c5e 21:00:25 Removing intermediate container 498712880c5e 21:00:25 ---> f4e5c028101e 21:00:25 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:00:25 ---> Running in 20a698ce9560 21:00:25 Removing intermediate container 20a698ce9560 21:00:25 ---> 86fb9773fe29 21:00:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:25 ---> Running in e4a2779d26af 21:00:25 Removing intermediate container e4a2779d26af 21:00:25 ---> a2948ddfb3e3 21:00:25 Step 23/25 : LABEL arch=amd64 21:00:25 ---> Running in 66c3967db87c 21:00:26 Removing intermediate container 66c3967db87c 21:00:26 ---> c106c26d8dbd 21:00:26 Step 24/25 : LABEL git_sha=660491fba38d8ec3280cd778996bba77bc0edf60 21:00:26 ---> Running in 2812fee07aa0 21:00:26 Removing intermediate container 2812fee07aa0 21:00:26 ---> 3ece04939268 21:00:26 Step 25/25 : LABEL version=3.1.0-dev.13 21:00:26 ---> Running in f5f55f7ce3d2 21:00:26 Removing intermediate container f5f55f7ce3d2 21:00:26 ---> 96d05555d8aa 21:00:26 [Warning] One or more build-args [ARCH] were not consumed 21:00:26 Successfully built 96d05555d8aa 21:00:26 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:00:26 provisioning config files... 21:00:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6551510014568057020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:26 ---> docker-login.sh 21:00:26 nexus3.edgexfoundry.org:10001 21:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:26 Configure a credential helper to remove this warning. See 21:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:26 21:00:26 Login Succeeded 21:00:26 nexus3.edgexfoundry.org:10002 21:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:26 Configure a credential helper to remove this warning. See 21:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:26 21:00:26 Login Succeeded 21:00:26 nexus3.edgexfoundry.org:10003 21:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:26 Configure a credential helper to remove this warning. See 21:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:26 21:00:26 Login Succeeded 21:00:26 nexus3.edgexfoundry.org:10004 21:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:26 Configure a credential helper to remove this warning. See 21:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:26 21:00:26 Login Succeeded 21:00:26 docker.io 21:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:27 Configure a credential helper to remove this warning. See 21:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:27 21:00:27 Login Succeeded 21:00:27 ---> docker-login.sh ends [Pipeline] } 21:00:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:27 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:00:27 660491fba38d8ec3280cd778996bba77bc0edf60 21:00:27 latest 21:00:27 3.1.0-dev.13 21:00:27 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 21:00:27 main 21:00:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60 21:00:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:00:27 7838d4c9ecc9: Preparing 21:00:27 1433edbeab75: Preparing 21:00:27 599f31ffa33a: Preparing 21:00:27 62d9e5d7713e: Preparing 21:00:27 4693057ce236: Preparing 21:00:27 4693057ce236: Layer already exists 21:00:27 7838d4c9ecc9: Pushed 21:00:27 62d9e5d7713e: Pushed 21:00:27 1433edbeab75: Pushed 21:00:28 using credential edgex-jenkins-ssh 21:00:28 Cloning the remote Git repository 21:00:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:00:28 > git init /w/workspace/device-rest-go/133 # timeout=10 21:00:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:28 > git --version # timeout=10 21:00:28 > git --version # 'git version 2.25.1' 21:00:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:31 599f31ffa33a: Pushed 21:00:31 660491fba38d8ec3280cd778996bba77bc0edf60: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:00:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:00:31 7838d4c9ecc9: Preparing 21:00:31 1433edbeab75: Preparing 21:00:31 599f31ffa33a: Preparing 21:00:31 62d9e5d7713e: Preparing 21:00:31 4693057ce236: Preparing 21:00:31 599f31ffa33a: Layer already exists 21:00:31 1433edbeab75: Layer already exists 21:00:31 4693057ce236: Layer already exists 21:00:31 62d9e5d7713e: Layer already exists 21:00:31 7838d4c9ecc9: Layer already exists 21:00:31 latest: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:00:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:32 Avoid second fetch 21:00:32 Checking out Revision 660491fba38d8ec3280cd778996bba77bc0edf60 (main) 21:00:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.13 21:00:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:00:32 7838d4c9ecc9: Preparing 21:00:32 1433edbeab75: Preparing 21:00:32 599f31ffa33a: Preparing 21:00:32 62d9e5d7713e: Preparing 21:00:32 4693057ce236: Preparing 21:00:32 62d9e5d7713e: Layer already exists 21:00:32 599f31ffa33a: Layer already exists 21:00:32 4693057ce236: Layer already exists 21:00:32 1433edbeab75: Layer already exists 21:00:32 7838d4c9ecc9: Layer already exists 21:00:32 3.1.0-dev.13: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#341)" 21:00:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 21:00:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:00:33 7838d4c9ecc9: Preparing 21:00:33 1433edbeab75: Preparing 21:00:33 599f31ffa33a: Preparing 21:00:33 62d9e5d7713e: Preparing 21:00:33 4693057ce236: Preparing 21:00:33 62d9e5d7713e: Layer already exists 21:00:33 599f31ffa33a: Layer already exists 21:00:33 4693057ce236: Layer already exists 21:00:33 7838d4c9ecc9: Layer already exists 21:00:33 1433edbeab75: Layer already exists 21:00:33 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:32 > git config core.sparsecheckout # timeout=10 21:00:32 > git checkout -f 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 21:00:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:00:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:00:33 7838d4c9ecc9: Preparing 21:00:33 1433edbeab75: Preparing 21:00:33 599f31ffa33a: Preparing 21:00:33 62d9e5d7713e: Preparing 21:00:33 4693057ce236: Preparing 21:00:33 4693057ce236: Layer already exists 21:00:33 7838d4c9ecc9: Layer already exists 21:00:33 599f31ffa33a: Layer already exists 21:00:33 1433edbeab75: Layer already exists 21:00:33 62d9e5d7713e: Layer already exists 21:00:33 main: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:00:33 ===================================================== [Pipeline] echo 21:00:33 taggedImages: 21:00:33 - nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60 21:00:33 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:00:33 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.13 21:00:33 - nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 21:00:33 - 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:00:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:34 Dload Upload Total Spent Left Speed 21:00:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 82819 0 --:--:-- --:--:-- --:--:-- 82201 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 21:00:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:34 21:00:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 21:00:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:34 latest: Pulling from edgex-lftools-log-publisher 21:00:34 5eb5b503b376: Pulling fs layer 21:00:34 5c69ac0246d0: Pulling fs layer 21:00:34 ec43610c2a17: Pulling fs layer 21:00:34 3a2ae6a8a46f: Pulling fs layer 21:00:34 33b1e0a273af: Pulling fs layer 21:00:34 5d3b04190fa2: Pulling fs layer 21:00:34 2f39f015ded8: Pulling fs layer 21:00:34 3a2ae6a8a46f: Waiting 21:00:34 33b1e0a273af: Waiting 21:00:34 5d3b04190fa2: Waiting 21:00:34 2f39f015ded8: Waiting 21:00:34 5c69ac0246d0: Verifying Checksum 21:00:34 5c69ac0246d0: Download complete 21:00:34 3a2ae6a8a46f: Verifying Checksum 21:00:34 3a2ae6a8a46f: Download complete 21:00:34 33b1e0a273af: Verifying Checksum 21:00:34 33b1e0a273af: Download complete 21:00:34 ec43610c2a17: Verifying Checksum 21:00:34 ec43610c2a17: Download complete 21:00:34 5d3b04190fa2: Download complete 21:00:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:34 5eb5b503b376: Verifying Checksum 21:00:34 5eb5b503b376: Download complete 21:00:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:00:34 + sudo tee /etc/docker/daemon.new 21:00:34 { 21:00:34 "registry-mirrors": [ 21:00:34 "https://nexus3.edgexfoundry.org:10001" 21:00:34 ], 21:00:34 "bip": "10.250.0.254/24", 21:00:34 "hosts": [ 21:00:34 "tcp://0.0.0.0:5555", 21:00:34 "unix:///var/run/docker.sock" 21:00:34 ], 21:00:34 "mtu": 1458, 21:00:34 "selinux-enabled": true, 21:00:34 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:34 } [Pipeline] sh 21:00:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:35 2f39f015ded8: Download complete 21:00:35 + sudo service docker restart 21:00:35 5eb5b503b376: Pull complete 21:00:36 5c69ac0246d0: Pull complete 21:00:36 ec43610c2a17: Pull complete 21:00:36 3a2ae6a8a46f: Pull complete 21:00:37 33b1e0a273af: Pull complete 21:00:37 5d3b04190fa2: Pull complete 21:00:41 2f39f015ded8: Pull complete 21:00:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:41 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:00:41 $ 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:00:45 $ docker top 01c9fa13681609f5c04949a6dfa8dd5b3cf3be9799419e3bdedda84033125ce4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:46 ---> job-cost.sh 21:00:46 lf-activate-venv: SKIPPING 21:00:46 INFO: No Stack... 21:00:46 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:46 INFO: Archiving Costs [Pipeline] sh 21:00:46 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:00:46 + cut -d, -f6 [Pipeline] lock 21:00:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] 21:00:46 Resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] did not exist. Created. 21:00:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:47 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:47 Stashed 1 file(s) [Pipeline] } 21:00:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:47 $ docker stop --time=1 01c9fa13681609f5c04949a6dfa8dd5b3cf3be9799419e3bdedda84033125ce4 21:00:48 $ docker rm -f --volumes 01c9fa13681609f5c04949a6dfa8dd5b3cf3be9799419e3bdedda84033125ce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:53 provisioning config files... 21:00:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/133@tmp/config15986165670257639004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:54 ---> docker-login.sh 21:00:54 nexus3.edgexfoundry.org:10001 21:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:54 Configure a credential helper to remove this warning. See 21:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:54 21:00:54 Login Succeeded 21:00:54 nexus3.edgexfoundry.org:10002 21:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:55 Configure a credential helper to remove this warning. See 21:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:55 21:00:55 Login Succeeded 21:00:55 nexus3.edgexfoundry.org:10003 21:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:55 Configure a credential helper to remove this warning. See 21:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:55 21:00:59 Login Succeeded 21:00:59 nexus3.edgexfoundry.org:10004 21:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:59 Configure a credential helper to remove this warning. See 21:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:59 21:00:59 Login Succeeded 21:00:59 docker.io 21:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:59 Configure a credential helper to remove this warning. See 21:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:59 21:00:59 Login Succeeded 21:00:59 ---> docker-login.sh ends [Pipeline] } 21:00:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:59 ========================================================= 21:00:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:00:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:00 + 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:01:00 Sending build context to Docker daemon 143.4kB 21:01:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:01:00 Step 2/12 : FROM ${BASE} AS builder 21:01:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:00 9fda8d8052c6: Pulling fs layer 21:01:00 5d54e960e981: Pulling fs layer 21:01:00 c4a7e357bf2a: Pulling fs layer 21:01:00 f0e02332f6b5: Pulling fs layer 21:01:00 66412af1f25a: Pulling fs layer 21:01:00 1baf3a5c0e64: Pulling fs layer 21:01:00 9a37bb91b891: Pulling fs layer 21:01:00 a29adfc67d43: Pulling fs layer 21:01:00 d5de9f91c1a4: Pulling fs layer 21:01:00 f0e02332f6b5: Waiting 21:01:00 66412af1f25a: Waiting 21:01:00 1baf3a5c0e64: Waiting 21:01:00 9a37bb91b891: Waiting 21:01:00 a29adfc67d43: Waiting 21:01:00 d5de9f91c1a4: Waiting 21:01:00 5d54e960e981: Verifying Checksum 21:01:00 5d54e960e981: Download complete 21:01:00 f0e02332f6b5: Verifying Checksum 21:01:00 f0e02332f6b5: Download complete 21:01:00 66412af1f25a: Verifying Checksum 21:01:00 66412af1f25a: Download complete 21:01:00 9fda8d8052c6: Download complete 21:01:00 9a37bb91b891: Verifying Checksum 21:01:00 9a37bb91b891: Download complete 21:01:01 a29adfc67d43: Verifying Checksum 21:01:01 a29adfc67d43: Download complete 21:01:01 9fda8d8052c6: Pull complete 21:01:02 5d54e960e981: Pull complete 21:01:02 d5de9f91c1a4: Verifying Checksum 21:01:02 d5de9f91c1a4: Download complete 21:01:02 c4a7e357bf2a: Verifying Checksum 21:01:02 c4a7e357bf2a: Download complete 21:01:03 1baf3a5c0e64: Verifying Checksum 21:01:03 1baf3a5c0e64: Download complete 21:01:13 c4a7e357bf2a: Pull complete 21:01:13 f0e02332f6b5: Pull complete 21:01:13 66412af1f25a: Pull complete 21:01:20 1baf3a5c0e64: Pull complete 21:01:21 9a37bb91b891: Pull complete 21:01:22 a29adfc67d43: Pull complete 21:01:27 d5de9f91c1a4: Pull complete 21:01:27 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:01:27 ---> 746ca1b523b5 21:01:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:01:28 ---> Running in b0374c7e63bc 21:01:29 Removing intermediate container b0374c7e63bc 21:01:29 ---> 363799c0843b 21:01:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:29 ---> Running in 2278053d66a7 21:01:29 Removing intermediate container 2278053d66a7 21:01:29 ---> 39de3ed2a3b5 21:01:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:29 ---> Running in 95370d4cad3f 21:01:29 Removing intermediate container 95370d4cad3f 21:01:29 ---> 13e4cc7dc64f 21:01:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:29 ---> Running in 4b6a793ed120 21:01:29 Removing intermediate container 4b6a793ed120 21:01:29 ---> d3c2741fa86a 21:01:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:30 ---> Running in 7992bf852f4d 21:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:01:32 (2/4) Installing libedit (20221030.3.1-r1) 21:01:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:01:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:01:32 Executing busybox-1.36.1-r2.trigger 21:01:32 OK: 272 MiB in 60 packages 21:01:33 Removing intermediate container 7992bf852f4d 21:01:33 ---> 08c1a223b826 21:01:33 Step 8/12 : WORKDIR /device-rest-go 21:01:33 ---> Running in 1b8addab7a56 21:01:33 Removing intermediate container 1b8addab7a56 21:01:33 ---> 560d275e4b00 21:01:33 Step 9/12 : COPY go.mod vendor* ./ 21:01:34 ---> 9daec89b0145 21:01:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:34 ---> Running in e24cbc45eebc 21:02:56 Removing intermediate container e24cbc45eebc 21:02:56 ---> 684b94cf6dc8 21:02:56 Step 11/12 : COPY . . 21:02:56 ---> d3a9355899e5 21:02:56 Step 12/12 : RUN $MAKE 21:02:56 ---> Running in 0546bafb1182 21:02:56 noop 21:02:56 Removing intermediate container 0546bafb1182 21:02:56 ---> db82218d9308 21:02:56 Successfully built db82218d9308 21:02:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:56 + docker inspect -f . ci-base-image-arm64 21:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-6409 does not seem to be running inside a container 21:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/133 -v /w/workspace/device-rest-go/133:/w/workspace/device-rest-go/133:rw,z -v /w/workspace/device-rest-go/133@tmp:/w/workspace/device-rest-go/133@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:02:57 $ docker top 115ada71188913bce1bbd6e8f3d39d464d1a4331a73c12fe3ebd600d5c08bcbe -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:58 + go version 21:02:58 go version go1.21.0 linux/arm64 [Pipeline] } 21:02:58 $ docker stop --time=1 115ada71188913bce1bbd6e8f3d39d464d1a4331a73c12fe3ebd600d5c08bcbe 21:03:00 $ docker rm -f --volumes 115ada71188913bce1bbd6e8f3d39d464d1a4331a73c12fe3ebd600d5c08bcbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:00 + docker inspect -f . ci-base-image-arm64 21:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:00 prd-ubuntu20.04-docker-arm64-4c-16g-6409 does not seem to be running inside a container 21:03:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/133 -v /w/workspace/device-rest-go/133:/w/workspace/device-rest-go/133:rw,z -v /w/workspace/device-rest-go/133@tmp:/w/workspace/device-rest-go/133@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:03:04 $ docker top 5e6a8b4667d48cdc84d2f21ccee698cc48e271a260fd9f0b349a21ec53d6ea83 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:05 + git config --global --add safe.directory /w/workspace/device-rest-go/133 [Pipeline] fileExists [Pipeline] sh 21:03:05 + make test 21:03:05 go test ./... -coverprofile=coverage.out ./... 21:03:09 ? github.com/edgexfoundry/device-rest-go [no test files] 21:04:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:04:46 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements 21:04:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:04:46 go vet ./... 21:04:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:58 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:59 $ docker stop --time=1 5e6a8b4667d48cdc84d2f21ccee698cc48e271a260fd9f0b349a21ec53d6ea83 21:05:01 $ docker rm -f --volumes 5e6a8b4667d48cdc84d2f21ccee698cc48e271a260fd9f0b349a21ec53d6ea83 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:02 Warning: overwriting stash ‘coverage-report’ 21:05:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:03 + ls -al . 21:05:03 total 184 21:05:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 21:03 . 21:05:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 21:00 .. 21:05:03 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 21:00 .dockerignore 21:05:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 21:00 .git 21:05:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 21:00 .github 21:05:03 -rw-rw-r-- 1 jenkins jenkins 329 Sep 18 21:00 .gitignore 21:05:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 18 21:00 .golangci.yml 21:05:03 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 18 21:00 Attribution.txt 21:05:03 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 18 21:00 CHANGELOG.md 21:05:03 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 18 21:00 Dockerfile 21:05:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 21:00 GOVERNANCE.md 21:05:03 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 21:00 Jenkinsfile 21:05:03 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 21:00 LICENSE 21:05:03 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 18 21:00 Makefile 21:05:03 -rw-rw-r-- 1 jenkins jenkins 620 Sep 18 21:00 OWNERS.md 21:05:03 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 18 21:00 README.md 21:05:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 18 20:58 VERSION 21:05:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 21:00 bin 21:05:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 21:00 cmd 21:05:03 -rw-r--r-- 1 jenkins jenkins 14499 Sep 18 21:04 coverage.out 21:05:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 21:00 driver 21:05:03 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 18 21:00 go.mod 21:05:03 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 18 21:00 go.sum 21:05:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 21:00 snap 21:05:03 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:04 + 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=660491fba38d8ec3280cd778996bba77bc0edf60 --label arch=arm64 --label version=3.1.0-dev.13 . 21:05:04 Sending build context to Docker daemon 158.7kB 21:05:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:05:04 Step 2/25 : FROM ${BASE} AS builder 21:05:04 ---> db82218d9308 21:05:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:05:05 ---> Running in 669fc830491c 21:05:06 Removing intermediate container 669fc830491c 21:05:06 ---> 7b9fd7a99f12 21:05:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:06 ---> Running in 208bb23847e7 21:05:06 Removing intermediate container 208bb23847e7 21:05:06 ---> e7e2aaeee5d4 21:05:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:05:06 ---> Running in f6d7e5a43606 21:05:07 Removing intermediate container f6d7e5a43606 21:05:07 ---> a729b162bfe8 21:05:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:05:07 ---> Running in e582ccb00ab5 21:05:07 Removing intermediate container e582ccb00ab5 21:05:07 ---> 94fdf11f1046 21:05:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:07 ---> Running in 259bd49095c2 21:05:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:05:10 OK: 272 MiB in 60 packages 21:05:11 Removing intermediate container 259bd49095c2 21:05:11 ---> b1a51678734a 21:05:11 Step 8/25 : WORKDIR /device-rest-go 21:05:11 ---> Running in 3db8eac875a0 21:05:11 Removing intermediate container 3db8eac875a0 21:05:11 ---> 3cc301df3ed8 21:05:11 Step 9/25 : COPY go.mod vendor* ./ 21:05:12 ---> 8024af7cf6d9 21:05:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:12 ---> Running in bcbcf4adb12e 21:05:14 Removing intermediate container bcbcf4adb12e 21:05:14 ---> 1c4abeafa2f9 21:05:14 Step 11/25 : COPY . . 21:05:14 ---> 1179a466f38d 21:05:14 Step 12/25 : RUN $MAKE 21:05:15 ---> Running in 70139badf8cd 21:05:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:07:09 Removing intermediate container 70139badf8cd 21:07:09 ---> 7b87d9189b9f 21:07:09 Step 13/25 : FROM alpine:3.18 21:07:09 3.18: Pulling from library/alpine 21:07:09 9fda8d8052c6: Already exists 21:07:09 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:07:09 Status: Downloaded newer image for alpine:3.18 21:07:09 ---> f6648c04cd6c 21:07:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:07:09 ---> Running in 4f0eb9aa7b8c 21:07:09 Removing intermediate container 4f0eb9aa7b8c 21:07:09 ---> 4f1e75d2beb8 21:07:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:07:09 ---> Running in bb4b2bd36ae7 21:07:09 Removing intermediate container bb4b2bd36ae7 21:07:09 ---> 653216b85c38 21:07:09 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:07:09 ---> Running in 9a7c91783a16 21:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:07:10 (1/1) Installing dumb-init (1.2.5-r2) 21:07:10 Executing busybox-1.36.1-r2.trigger 21:07:10 OK: 8 MiB in 16 packages 21:07:11 Removing intermediate container 9a7c91783a16 21:07:11 ---> 2fb3716ff1dd 21:07:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:07:12 ---> afc5285c10df 21:07:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:07:13 ---> 3e98051e87f6 21:07:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:07:13 ---> 5f21aa4db397 21:07:13 Step 20/25 : EXPOSE 59986 21:07:13 ---> Running in 80a7c94f576a 21:07:14 Removing intermediate container 80a7c94f576a 21:07:14 ---> db98a9e0ca3e 21:07:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:07:14 ---> Running in 40c974ccc980 21:07:14 Removing intermediate container 40c974ccc980 21:07:14 ---> 6537b1c1a213 21:07:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:07:14 ---> Running in 1d2976cb31b3 21:07:14 Removing intermediate container 1d2976cb31b3 21:07:14 ---> c9754a9dfa78 21:07:14 Step 23/25 : LABEL arch=arm64 21:07:15 ---> Running in 7210bc5f356a 21:07:15 Removing intermediate container 7210bc5f356a 21:07:15 ---> 9b55ffcc1748 21:07:15 Step 24/25 : LABEL git_sha=660491fba38d8ec3280cd778996bba77bc0edf60 21:07:15 ---> Running in 6a3d95326b77 21:07:15 Removing intermediate container 6a3d95326b77 21:07:15 ---> 6e7db40323f3 21:07:15 Step 25/25 : LABEL version=3.1.0-dev.13 21:07:15 ---> Running in c8032178a2fa 21:07:15 Removing intermediate container c8032178a2fa 21:07:15 ---> 3eb48cab3022 21:07:15 [Warning] One or more build-args [ARCH] were not consumed 21:07:15 Successfully built 3eb48cab3022 21:07:15 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:07:15 provisioning config files... 21:07:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/133@tmp/config3193501345927088743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:16 ---> docker-login.sh 21:07:16 nexus3.edgexfoundry.org:10001 21:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:16 Configure a credential helper to remove this warning. See 21:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:16 21:07:16 Login Succeeded 21:07:16 nexus3.edgexfoundry.org:10002 21:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:16 Configure a credential helper to remove this warning. See 21:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:16 21:07:16 Login Succeeded 21:07:16 nexus3.edgexfoundry.org:10003 21:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:17 Configure a credential helper to remove this warning. See 21:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:17 21:07:17 Login Succeeded 21:07:17 nexus3.edgexfoundry.org:10004 21:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:17 Configure a credential helper to remove this warning. See 21:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:17 21:07:17 Login Succeeded 21:07:17 docker.io 21:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 ---> docker-login.sh ends [Pipeline] } 21:07:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:07:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:18 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:07:18 660491fba38d8ec3280cd778996bba77bc0edf60 21:07:18 latest 21:07:18 3.1.0-dev.13 21:07:18 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 21:07:18 main 21:07:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60 21:07:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:07:21 49dae2a65f54: Preparing 21:07:21 8a34e82281e2: Preparing 21:07:21 a3f27247d8c2: Preparing 21:07:21 23fa53bd498d: Preparing 21:07:21 b2191e2be29d: Preparing 21:07:21 b2191e2be29d: Layer already exists 21:07:21 23fa53bd498d: Pushed 21:07:21 8a34e82281e2: Pushed 21:07:21 49dae2a65f54: Pushed 21:07:27 a3f27247d8c2: Pushed 21:07:27 660491fba38d8ec3280cd778996bba77bc0edf60: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:07:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:07:27 49dae2a65f54: Preparing 21:07:27 8a34e82281e2: Preparing 21:07:27 a3f27247d8c2: Preparing 21:07:27 23fa53bd498d: Preparing 21:07:27 b2191e2be29d: Preparing 21:07:27 a3f27247d8c2: Layer already exists 21:07:27 b2191e2be29d: Layer already exists 21:07:27 23fa53bd498d: Layer already exists 21:07:27 8a34e82281e2: Layer already exists 21:07:27 49dae2a65f54: Layer already exists 21:07:27 latest: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.13 21:07:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:07:28 49dae2a65f54: Preparing 21:07:28 8a34e82281e2: Preparing 21:07:28 a3f27247d8c2: Preparing 21:07:28 23fa53bd498d: Preparing 21:07:28 b2191e2be29d: Preparing 21:07:28 a3f27247d8c2: Layer already exists 21:07:28 b2191e2be29d: Layer already exists 21:07:28 23fa53bd498d: Layer already exists 21:07:28 49dae2a65f54: Layer already exists 21:07:28 8a34e82281e2: Layer already exists 21:07:28 3.1.0-dev.13: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 21:07:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:07:29 49dae2a65f54: Preparing 21:07:29 8a34e82281e2: Preparing 21:07:29 a3f27247d8c2: Preparing 21:07:29 23fa53bd498d: Preparing 21:07:29 b2191e2be29d: Preparing 21:07:29 b2191e2be29d: Layer already exists 21:07:29 a3f27247d8c2: Layer already exists 21:07:29 49dae2a65f54: Layer already exists 21:07:29 23fa53bd498d: Layer already exists 21:07:29 8a34e82281e2: Layer already exists 21:07:29 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07: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:07:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:07:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:07:29 49dae2a65f54: Preparing 21:07:29 8a34e82281e2: Preparing 21:07:29 a3f27247d8c2: Preparing 21:07:29 23fa53bd498d: Preparing 21:07:29 b2191e2be29d: Preparing 21:07:29 23fa53bd498d: Layer already exists 21:07:29 b2191e2be29d: Layer already exists 21:07:29 a3f27247d8c2: Layer already exists 21:07:29 49dae2a65f54: Layer already exists 21:07:29 8a34e82281e2: Layer already exists 21:07:29 main: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:07:29 ===================================================== [Pipeline] echo 21:07:29 taggedImages: 21:07:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60 21:07:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:07:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.13 21:07:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 21:07:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:30 21:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:30 arm64: Pulling from edgex-lftools-log-publisher 21:07:30 8998bd30e6a1: Pulling fs layer 21:07:30 04944245beec: Pulling fs layer 21:07:30 699f458cf7ca: Pulling fs layer 21:07:30 765212b225bb: Pulling fs layer 21:07:30 f23df028b6ca: Pulling fs layer 21:07:30 d65c8cfc05b1: Pulling fs layer 21:07:30 765212b225bb: Waiting 21:07:30 f23df028b6ca: Waiting 21:07:30 2437ff75d9bd: Pulling fs layer 21:07:30 d65c8cfc05b1: Waiting 21:07:30 2437ff75d9bd: Waiting 21:07:30 04944245beec: Verifying Checksum 21:07:30 04944245beec: Download complete 21:07:30 765212b225bb: Verifying Checksum 21:07:30 765212b225bb: Download complete 21:07:30 f23df028b6ca: Download complete 21:07:30 d65c8cfc05b1: Verifying Checksum 21:07:30 d65c8cfc05b1: Download complete 21:07:30 699f458cf7ca: Verifying Checksum 21:07:30 699f458cf7ca: Download complete 21:07:31 8998bd30e6a1: Verifying Checksum 21:07:31 8998bd30e6a1: Download complete 21:07:33 2437ff75d9bd: Verifying Checksum 21:07:33 2437ff75d9bd: Download complete 21:07:35 8998bd30e6a1: Pull complete 21:07:35 04944245beec: Pull complete 21:07:37 699f458cf7ca: Pull complete 21:07:37 765212b225bb: Pull complete 21:07:37 f23df028b6ca: Pull complete 21:07:38 d65c8cfc05b1: Pull complete 21:07:53 2437ff75d9bd: Pull complete 21:07:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:53 prd-ubuntu20.04-docker-arm64-4c-16g-6409 does not seem to be running inside a container 21:07:53 $ 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/133 -v /w/workspace/device-rest-go/133:/w/workspace/device-rest-go/133:rw,z -v /w/workspace/device-rest-go/133@tmp:/w/workspace/device-rest-go/133@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:07:55 $ docker top 4e4a75275437c435afd4ccccfbf817676c2e74b53faaba857b7ebbaa523dca3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:56 ---> job-cost.sh 21:07:56 lf-activate-venv: SKIPPING 21:07:56 INFO: No Stack... 21:07:56 INFO: Retrieving Pricing Info for: v3-standard-4 21:07:57 INFO: Archiving Costs [Pipeline] sh 21:07:58 + cat /w/workspace/device-rest-go/133/archives/cost.csv 21:07:58 + cut -d, -f6 [Pipeline] lock 21:07:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] 21:07:58 Resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] did not exist. Created. 21:07:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:07:58 /w/workspace/device-rest-go/133@tmp/durable-93d2f318/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:07:59 + echo total: 0.10999999940395355 [Pipeline] stash 21:07:59 Warning: overwriting stash ‘stack-cost’ 21:07:59 Stashed 1 file(s) [Pipeline] } 21:07:59 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 21:07:59 $ docker stop --time=1 4e4a75275437c435afd4ccccfbf817676c2e74b53faaba857b7ebbaa523dca3c 21:08:00 $ docker rm -f --volumes 4e4a75275437c435afd4ccccfbf817676c2e74b53faaba857b7ebbaa523dca3c [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:08:01 provisioning config files... 21:08:01 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11420673795046854388tmp [Pipeline] { [Pipeline] sh 21:08:01 + set +x 21:08:01 + + curl -s https://codecov.io/bash 21:08:01 bash -s -- 21:08:01 21:08:01 _____ _ 21:08:01 / ____| | | 21:08:01 | | ___ __| | ___ ___ _____ __ 21:08:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:01 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:01 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:01 Bash-1.0.6 21:08:01 21:08:01 21:08:01 ==> git version 2.25.1 found 21:08:01 ==> 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:08:01 Release-Date: 2020-01-08 21:08:01 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:08:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:01 ==> Jenkins CI detected. 21:08:01 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:08:01 project root: . 21:08:01 --> token set from env 21:08:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:01 ==> Running gcov in . (disable via -X gcov) 21:08:01 ==> Python coveragepy not found 21:08:01 ==> Searching for coverage reports in: 21:08:01 + . 21:08:01 -> Found 1 reports 21:08:01 ==> Detecting git/mercurial file structure 21:08:01 ==> Reading reports 21:08:01 + ./coverage.out bytes=14499 21:08:01 ==> Appending adjustments 21:08:01 https://docs.codecov.io/docs/fixing-reports 21:08:01 + Found adjustments 21:08:01 ==> Gzipping contents 21:08:01 4.0K /tmp/codecov.YVIaMO.gz 21:08:01 ==> Uploading reports 21:08:01 url: https://codecov.io 21:08:01 query: branch=main&commit=660491fba38d8ec3280cd778996bba77bc0edf60&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:08:01 -> Pinging Codecov 21:08:01 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=660491fba38d8ec3280cd778996bba77bc0edf60&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:08:01 -> Uploading to 21:08:01 https://storage.googleapis.com/codecov/v4/raw/2023-09-18/4E5D53B4F1F92C436F7061BF334D961C/660491fba38d8ec3280cd778996bba77bc0edf60/8df51b22-439b-45a7-ab47-ba4f20b5bcc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230918%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230918T210801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc2ba592f8b7cee772b15e2403d42457d3c2299bf07580f1a3261b0bd892e734 21:08:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:01 Dload Upload Total Spent Left Speed 21:08:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12784 --:--:-- --:--:-- --:--:-- 12784 21:08:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] } 21:08:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:08:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:08:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:02 21:08:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:08:02 df9b9388f04a: Pulling fs layer 21:08:02 52dc419b0ee2: Pulling fs layer 21:08:02 25bc292e5bac: Pulling fs layer 21:08:02 114826534d7a: Pulling fs layer 21:08:02 4657fd5d0bcf: Pulling fs layer 21:08:02 6ad1cebc031e: Pulling fs layer 21:08:02 8a3aa393b2d8: Pulling fs layer 21:08:02 4657fd5d0bcf: Waiting 21:08:02 6ad1cebc031e: Waiting 21:08:02 8a3aa393b2d8: Waiting 21:08:02 114826534d7a: Waiting 21:08:02 25bc292e5bac: Download complete 21:08:02 52dc419b0ee2: Verifying Checksum 21:08:02 52dc419b0ee2: Download complete 21:08:02 4657fd5d0bcf: Verifying Checksum 21:08:02 4657fd5d0bcf: Download complete 21:08:02 df9b9388f04a: Download complete 21:08:03 df9b9388f04a: Pull complete 21:08:03 6ad1cebc031e: Verifying Checksum 21:08:03 6ad1cebc031e: Download complete 21:08:03 52dc419b0ee2: Pull complete 21:08:03 25bc292e5bac: Pull complete 21:08:03 114826534d7a: Download complete 21:08:03 8a3aa393b2d8: Verifying Checksum 21:08:03 8a3aa393b2d8: Download complete 21:08:07 114826534d7a: Pull complete 21:08:07 4657fd5d0bcf: Pull complete 21:08:07 6ad1cebc031e: Pull complete 21:08:09 8a3aa393b2d8: Pull complete 21:08:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:09 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:08:09 $ 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:08:13 $ docker top 23ccf2af946881c5cd084b26749c641d848fcda10a3aa0b0866a4bc179b81de8 -eo pid,comm [Pipeline] { [Pipeline] echo 21:08:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:08:14 + set -o pipefail 21:08:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:08:20 21:08:20 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:08:20 21:08:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/198c6c29-277a-490b-a2ec-71da8eb1e37f 21:08:20 21:08:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:08:20 21:08:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:08:20 21:08:20 21:08:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:08:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:08:20 More details here: https://snyk.co/ue1NS [Pipeline] } 21:08:20 $ docker stop --time=1 23ccf2af946881c5cd084b26749c641d848fcda10a3aa0b0866a4bc179b81de8 21:08:23 $ docker rm -f --volumes 23ccf2af946881c5cd084b26749c641d848fcda10a3aa0b0866a4bc179b81de8 [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:08:24 + git log --format=format:%s -1 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] sh 21:08:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:25 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:08:25 $ 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:08:25 $ docker top 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 -eo pid,comm 21:08:25 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:08:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:25 [ssh-agent] Looking for ssh-agent implementation... 21:08:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:25 $ docker exec 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 ssh-agent 21:08:25 SSH_AUTH_SOCK=/tmp/ssh-JVognVPxnS7O/agent.32 21:08:25 SSH_AGENT_PID=38 21:08:25 Running ssh-add (command line suppressed) 21:08:25 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16323200055966188780.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16323200055966188780.key) 21:08:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:26 + git semver tag 21:08:26 2023-09-18 21:08:26,427 [run_tag] DEBUG tag force:False 21:08:26 2023-09-18 21:08:26,427 [check_head_tag] DEBUG check head tag 21:08:26 2023-09-18 21:08:26,428 [execute] INFO git cat-file --batch-check 21:08:26 2023-09-18 21:08:26,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:08:26 2023-09-18 21:08:26,431 [execute] INFO git cat-file --batch 21:08:26 2023-09-18 21:08:26,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:08:26 2023-09-18 21:08:26,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:26 2023-09-18 21:08:26,443 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 21:08:26 2023-09-18 21:08:26,443 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:08:26 2023-09-18 21:08:26,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:26 3.1.0-dev.13 [Pipeline] } 21:08:26 $ docker exec --env ******** --env ******** 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 ssh-agent -k 21:08:26 unset SSH_AUTH_SOCK; 21:08:26 unset SSH_AGENT_PID; 21:08:26 echo Agent pid 38 killed; 21:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:26 + git semver [Pipeline] } 21:08:27 $ docker stop --time=1 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 21:08:28 $ docker rm -f --volumes 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:08:28 21:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:08:29 0.23.1-centos7: Pulling from edgex-lftools 21:08:29 ab5ef0e58194: Pulling fs layer 21:08:29 9712f1f96733: Pulling fs layer 21:08:29 63f879dbbcfc: Pulling fs layer 21:08:29 0d9ebad4ef96: Pulling fs layer 21:08:29 e9a5061849ea: Pulling fs layer 21:08:29 d747dcd14b5f: Pulling fs layer 21:08:29 2de7ff778b66: Pulling fs layer 21:08:29 e9a5061849ea: Waiting 21:08:29 0d9ebad4ef96: Waiting 21:08:29 2de7ff778b66: Waiting 21:08:29 9712f1f96733: Verifying Checksum 21:08:29 9712f1f96733: Download complete 21:08:29 63f879dbbcfc: Verifying Checksum 21:08:29 63f879dbbcfc: Download complete 21:08:29 0d9ebad4ef96: Verifying Checksum 21:08:29 0d9ebad4ef96: Download complete 21:08:29 ab5ef0e58194: Verifying Checksum 21:08:29 ab5ef0e58194: Download complete 21:08:29 d747dcd14b5f: Download complete 21:08:29 e9a5061849ea: Download complete 21:08:30 2de7ff778b66: Verifying Checksum 21:08:30 2de7ff778b66: Download complete 21:08:32 ab5ef0e58194: Pull complete 21:08:32 9712f1f96733: Pull complete 21:08:32 63f879dbbcfc: Pull complete 21:08:36 0d9ebad4ef96: Pull complete 21:08:36 e9a5061849ea: Pull complete 21:08:36 d747dcd14b5f: Pull complete 21:08:37 2de7ff778b66: Pull complete 21:08:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:08:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:37 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:08:37 $ 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:08:41 $ docker top 9be60a910a7623bdf1885c80f9db4ff030b008db977fca1da524893af4120236 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:08:41 provisioning config files... 21:08:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13716171282063204652tmp 21:08:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14588166150490086299tmp 21:08:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5429601068720411656tmp [Pipeline] { [Pipeline] echo 21:08:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:08:41 ---> sigul-configuration.sh 21:08:41 gpg: directory `/root/.gnupg' created 21:08:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:08:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:08:41 gpg: keyring `/root/.gnupg/secring.gpg' created 21:08:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:08:41 gpg: CAST5 encrypted data 21:08:41 gpg: encrypted with 1 passphrase 21:08:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:08:42 + mkdir /home/jenkins 21:08:42 + mkdir /home/jenkins/sigul [Pipeline] sh 21:08:42 + 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:08:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:08:42 ---> sigul-install.sh 21:08:42 Sigul already installed; skipping installation. [Pipeline] sh 21:08:43 + git tag --list 21:08:43 v1.0.0 21:08:43 v1.1.0 21:08:43 v1.1.1 21:08:43 v1.1.2 21:08:43 v1.2.0 21:08:43 v1.2.1 21:08:43 v2.0.0 21:08:43 v2.1.0 21:08:43 v2.1.1 21:08:43 v2.2.0 21:08:43 v2.3.0 21:08:43 v3.0 21:08:43 v3.0.0 21:08:43 v3.1.0-dev.1 21:08:43 v3.1.0-dev.10 21:08:43 v3.1.0-dev.11 21:08:43 v3.1.0-dev.12 21:08:43 v3.1.0-dev.13 21:08:43 v3.1.0-dev.2 21:08:43 v3.1.0-dev.3 21:08:43 v3.1.0-dev.4 21:08:43 v3.1.0-dev.5 21:08:43 v3.1.0-dev.6 21:08:43 v3.1.0-dev.7 21:08:43 v3.1.0-dev.8 21:08:43 v3.1.0-dev.9 [Pipeline] sh 21:08:43 + lftools sign git-tag v3.1.0-dev.13 21:08:43 Signing Git tag with Sigul... 21:08:43 Signing v3.1.0-dev.13 [Pipeline] echo 21:08:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:08:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:08:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:08:44 $ docker stop --time=1 9be60a910a7623bdf1885c80f9db4ff030b008db977fca1da524893af4120236 21:08:45 $ docker rm -f --volumes 9be60a910a7623bdf1885c80f9db4ff030b008db977fca1da524893af4120236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:08:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:46 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:08:46 $ docker top 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 -eo pid,comm 21:08:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:08:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:46 [ssh-agent] Looking for ssh-agent implementation... 21:08:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:47 $ docker exec 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 ssh-agent 21:08:47 SSH_AUTH_SOCK=/tmp/ssh-zoezuSu7jBIS/agent.31 21:08:47 SSH_AGENT_PID=37 21:08:47 Running ssh-add (command line suppressed) 21:08:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_809181485846836111.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_809181485846836111.key) 21:08:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:47 + git semver bump pre 21:08:47 2023-09-18 21:08:47,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:47 2023-09-18 21:08:47,786 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev 21:08:47 2023-09-18 21:08:47,786 [bump_version] DEBUG bumped version:3.1.0-dev.14 21:08:47 2023-09-18 21:08:47,786 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:08:47 2023-09-18 21:08:47,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:47 2023-09-18 21:08:47,787 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:47 2023-09-18 21:08:47,788 [execute] INFO git cat-file --batch-check 21:08:47 2023-09-18 21:08:47,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:08:47 2023-09-18 21:08:47,793 [execute] INFO git cat-file --batch 21:08:47 2023-09-18 21:08:47,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:08:47 2023-09-18 21:08:47,798 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:47 3.1.0-dev.14 [Pipeline] } 21:08:47 $ docker exec --env ******** --env ******** 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 ssh-agent -k 21:08:47 unset SSH_AUTH_SOCK; 21:08:47 unset SSH_AGENT_PID; 21:08:47 echo Agent pid 37 killed; 21:08:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:48 + git semver [Pipeline] } 21:08:48 $ docker stop --time=1 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 21:08:49 $ docker rm -f --volumes 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:50 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:08:50 $ 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:08:50 $ docker top 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 -eo pid,comm 21:08:50 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:08:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:50 [ssh-agent] Looking for ssh-agent implementation... 21:08:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:51 $ docker exec 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 ssh-agent 21:08:51 SSH_AUTH_SOCK=/tmp/ssh-RY0f4d6o35ea/agent.31 21:08:51 SSH_AGENT_PID=37 21:08:51 Running ssh-add (command line suppressed) 21:08:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1633984738954339499.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1633984738954339499.key) 21:08:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:51 + git semver push 21:08:51 2023-09-18 21:08:51,788 [run_push] DEBUG push 21:08:51 2023-09-18 21:08:51,789 [execute] INFO git cat-file --batch-check 21:08:51 2023-09-18 21:08:51,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:08:51 2023-09-18 21:08:51,793 [execute] INFO git rev-list 428bc2f001a6c8cf674dead4e82b6888ac50d39e -- 21:08:51 2023-09-18 21:08:51,793 [execute] DEBUG Popen(['git', 'rev-list', '428bc2f001a6c8cf674dead4e82b6888ac50d39e', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:08:51 2023-09-18 21:08:51,802 [execute] INFO git fetch -v origin 21:08:51 2023-09-18 21:08:51,802 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:08:52 2023-09-18 21:08:52,285 [run_push] DEBUG no remote changes detected 21:08:52 2023-09-18 21:08:52,286 [execute] INFO git push origin semver 21:08:52 2023-09-18 21:08:52,286 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:08:53 2023-09-18 21:08:53,053 [run_push] DEBUG push all version tags 21:08:53 2023-09-18 21:08:53,053 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:08:53 2023-09-18 21:08:53,054 [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:08:54 2023-09-18 21:08:53,870 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:08:54 3.1.0-dev.14 [Pipeline] } 21:08:54 $ docker exec --env ******** --env ******** 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 ssh-agent -k 21:08:54 unset SSH_AUTH_SOCK; 21:08:54 unset SSH_AGENT_PID; 21:08:54 echo Agent pid 37 killed; 21:08:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:54 + git semver [Pipeline] } 21:08:54 $ docker stop --time=1 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 21:08:55 $ docker rm -f --volumes 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 [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:08:56 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:08:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:08:56 total 16 21:08:56 drwxr-xr-x 3 root root 4096 Sep 18 21:00 . 21:08:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 21:08 .. 21:08:56 drwxr-xr-x 2 root root 4096 Sep 18 21:00 cost 21:08:56 -rw-r--r-- 1 root root 86 Sep 18 21:00 cost.csv 21:08:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:08:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:08:56 total 16 21:08:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 21:00 . 21:08:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 21:08 .. 21:08:56 drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 21:00 cost 21:08:56 -rw-r--r-- 1 jenkins jenkins 86 Sep 18 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:08:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:08:57 ---> package-listing.sh 21:08:57 ++ facter osfamily 21:08:57 ++ tr '[:upper:]' '[:lower:]' 21:08:57 + OS_FAMILY=debian 21:08:57 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:08:57 + START_PACKAGES=/tmp/packages_start.txt 21:08:57 + END_PACKAGES=/tmp/packages_end.txt 21:08:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:08:57 + PACKAGES=/tmp/packages_start.txt 21:08:57 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:08:57 + PACKAGES=/tmp/packages_end.txt 21:08:57 + case "${OS_FAMILY}" in 21:08:57 + dpkg -l 21:08:57 + grep '^ii' 21:08:57 + '[' -f /tmp/packages_start.txt ']' 21:08:57 + '[' -f /tmp/packages_end.txt ']' 21:08:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:08:57 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:08:57 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:08:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:08:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:08:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:58 prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container 21:08:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:59 $ docker top 1eb1c8186a900673f651080cca48d94d063401973811a5ecbdbe1cbad9230b42 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:59 + touch /tmp/pre-build-complete [Pipeline] sh 21:08:59 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:00 + ls /var/log/sa-host 21:09:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:00 provisioning config files... 21:09:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10674952344729921956tmp [Pipeline] { [Pipeline] echo 21:09:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:00 ---> create-netrc.sh [Pipeline] } 21:09:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:00 ---> python-tools-install.sh [Pipeline] echo 21:09:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:00 ---> sudo-logs.sh 21:09:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:01 ---> job-cost.sh 21:09:01 lf-activate-venv: SKIPPING 21:09:01 DEBUG: total: 0.2199999988079071 21:09:01 INFO: Retrieving Stack Cost... 21:09:01 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:02 INFO: Archiving Costs [Pipeline] echo 21:09:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:02 ---> logs-deploy.sh 21:09:02 lf-activate-venv: SKIPPING 21:09:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/133 21:09:02 INFO: archiving workspace using pattern(s): 21:09:03 Archives upload complete. 21:09:03 INFO: archiving logs to Nexus