Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a8865c056b3ddfa2315b5fa3a0a86be937f1051f 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-ssh6844939431466437447.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh8173793331209288938.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh13088740612794424922.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh17982064708589908676.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh18393579531113483964.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19509 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 a8865c056b3ddfa2315b5fa3a0a86be937f1051f (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 Commit message: "Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.12" > git rev-list --no-walk 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:51:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:52:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:52:00 ========================================================= 01:52:00 EdgeX Global Pipelines Version Info 01:52:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:52:00 ------------------- 01:52:00 stable info: 01:52:00 ------------------- 01:52:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:52:00 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 01:52:00 Message: update stable to v1.0.237 01:52:01 ------------------- 01:52:01 experimental info: 01:52:01 ------------------- 01:52:01 Commited By: **** collab-it+edgex@linuxfoundation.org 01:52:01 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 01:52:01 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8865c0 [Pipeline] echo 01:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:01 provisioning config files... 01:52:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8737795702180112766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:02 ---> docker-login.sh 01:52:02 nexus3.edgexfoundry.org:10001 01:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:02 Configure a credential helper to remove this warning. See 01:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:02 01:52:02 Login Succeeded 01:52:02 nexus3.edgexfoundry.org:10002 01:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:02 Configure a credential helper to remove this warning. See 01:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:02 01:52:02 Login Succeeded 01:52:02 nexus3.edgexfoundry.org:10003 01:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:02 Configure a credential helper to remove this warning. See 01:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:02 01:52:02 Login Succeeded 01:52:02 nexus3.edgexfoundry.org:10004 01:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:03 Configure a credential helper to remove this warning. See 01:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:03 01:52:03 Login Succeeded 01:52:03 docker.io 01:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:03 Configure a credential helper to remove this warning. See 01:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:03 01:52:03 Login Succeeded 01:52:03 ---> docker-login.sh ends [Pipeline] } 01:52:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:52:03 + git rev-list -1 --merges a8865c056b3ddfa2315b5fa3a0a86be937f1051f~1..a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo 01:52:03 -----------> git rev-list -1 --merges a8865c056b3ddfa2315b5fa3a0a86be937f1051f~1..a8865c056b3ddfa2315b5fa3a0a86be937f1051f a8865c056b3ddfa2315b5fa3a0a86be937f1051f 01:52:03 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [false] [Pipeline] sh 01:52:04 + git log --format=format:%s -1 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo 01:52:04 ========================================================= 01:52:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:52:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:04 + git log --format=format:%s -1 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo 01:52:04 [semverPrep] GIT_COMMIT: a8865c056b3ddfa2315b5fa3a0a86be937f1051f, Commit Message: Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.12 [Pipeline] echo 01:52:04 [semverPrep] This is not a build commit. [Pipeline] sh 01:52:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:52:04 + grep -v github /etc/ssh/ssh_known_hosts 01:52:04 + [ -e /tmp/ssh_known_hosts ] 01:52:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:52:04 + + sudo teeecho -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 01:52:04 01:52:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:05 01:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:05 0.1.4: Pulling from edgex-devops/py-git-semver 01:52:05 b85a868b505f: Pulling fs layer 01:52:05 e2be974225ed: Pulling fs layer 01:52:05 339a4e72a1f5: Pulling fs layer 01:52:05 988bab9f4d93: Pulling fs layer 01:52:05 1469e6f7b9e6: Pulling fs layer 01:52:05 eaf3925da568: Pulling fs layer 01:52:05 bab4dde63d76: Pulling fs layer 01:52:05 bde34c3a00c8: Pulling fs layer 01:52:05 b352a97aabf1: Pulling fs layer 01:52:05 4872d77fe225: Pulling fs layer 01:52:05 5851b861e8e6: Pulling fs layer 01:52:05 988bab9f4d93: Waiting 01:52:05 1469e6f7b9e6: Waiting 01:52:05 eaf3925da568: Waiting 01:52:05 bab4dde63d76: Waiting 01:52:05 bde34c3a00c8: Waiting 01:52:05 b352a97aabf1: Waiting 01:52:05 4872d77fe225: Waiting 01:52:05 5851b861e8e6: Waiting 01:52:05 e2be974225ed: Verifying Checksum 01:52:05 e2be974225ed: Download complete 01:52:05 988bab9f4d93: Verifying Checksum 01:52:05 988bab9f4d93: Download complete 01:52:05 1469e6f7b9e6: Verifying Checksum 01:52:05 1469e6f7b9e6: Download complete 01:52:05 eaf3925da568: Verifying Checksum 01:52:05 eaf3925da568: Download complete 01:52:05 339a4e72a1f5: Verifying Checksum 01:52:05 339a4e72a1f5: Download complete 01:52:05 bde34c3a00c8: Download complete 01:52:05 b352a97aabf1: Download complete 01:52:05 4872d77fe225: Verifying Checksum 01:52:05 4872d77fe225: Download complete 01:52:05 5851b861e8e6: Verifying Checksum 01:52:05 5851b861e8e6: Download complete 01:52:05 b85a868b505f: Verifying Checksum 01:52:05 b85a868b505f: Download complete 01:52:05 bab4dde63d76: Verifying Checksum 01:52:05 bab4dde63d76: Download complete 01:52:06 b85a868b505f: Pull complete 01:52:07 e2be974225ed: Pull complete 01:52:07 339a4e72a1f5: Pull complete 01:52:07 988bab9f4d93: Pull complete 01:52:07 1469e6f7b9e6: Pull complete 01:52:07 eaf3925da568: Pull complete 01:52:09 bab4dde63d76: Pull complete 01:52:09 bde34c3a00c8: Pull complete 01:52:09 b352a97aabf1: Pull complete 01:52:10 4872d77fe225: Pull complete 01:52:10 5851b861e8e6: Pull complete 01:52:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:10 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 01:52:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:52:11 $ docker top c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 -eo pid,comm 01:52:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:52:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:52:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:11 [ssh-agent] Looking for ssh-agent implementation... 01:52:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:11 $ docker exec c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent 01:52:12 SSH_AUTH_SOCK=/tmp/ssh-ikzuinaYkzEf/agent.32 01:52:12 SSH_AGENT_PID=39 01:52:12 Running ssh-add (command line suppressed) 01:52:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5304324093091413495.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5304324093091413495.key) 01:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:12 + git tag --points-at HEAD [Pipeline] } 01:52:12 $ docker exec --env ******** --env ******** c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent -k 01:52:12 unset SSH_AUTH_SOCK; 01:52:12 unset SSH_AGENT_PID; 01:52:12 echo Agent pid 39 killed; 01:52:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:52:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:12 [ssh-agent] Looking for ssh-agent implementation... 01:52:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:12 $ docker exec c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent 01:52:12 SSH_AUTH_SOCK=/tmp/ssh-xdq5UQFah61v/agent.71 01:52:12 SSH_AGENT_PID=78 01:52:12 Running ssh-add (command line suppressed) 01:52:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2582724461770404687.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2582724461770404687.key) 01:52:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:13 + git semver init 01:52:13 2022-07-12 01:52:13,541 [run_init] DEBUG init version:0.0.0 force:False 01:52:13 2022-07-12 01:52:13,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:52:13 2022-07-12 01:52:13,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:52:13 2022-07-12 01:52:13,542 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:52:14 2022-07-12 01:52:14,494 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:52:14 2022-07-12 01:52:14,494 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:52:14 2022-07-12 01:52:14,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:52:14 2022-07-12 01:52:14,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:52:14 2.2.1-dev.9 [Pipeline] } 01:52:14 $ docker exec --env ******** --env ******** c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent -k 01:52:14 unset SSH_AUTH_SOCK; 01:52:14 unset SSH_AGENT_PID; 01:52:14 echo Agent pid 78 killed; 01:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:52:15 + git semver [Pipeline] } 01:52:15 $ docker stop --time=1 c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 01:52:17 $ docker rm -f c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 [Pipeline] // withDockerContainer [Pipeline] sh 01:52:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:52:17 Stashed 1 file(s) [Pipeline] echo 01:52:17 [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:17 provisioning config files... 01:52:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8087386992427121703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:18 ---> docker-login.sh 01:52:18 nexus3.edgexfoundry.org:10001 01:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:18 Configure a credential helper to remove this warning. See 01:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:18 01:52:18 Login Succeeded 01:52:18 nexus3.edgexfoundry.org:10002 01:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:18 Configure a credential helper to remove this warning. See 01:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:18 01:52:18 Login Succeeded 01:52:18 nexus3.edgexfoundry.org:10003 01:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:18 Configure a credential helper to remove this warning. See 01:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:18 01:52:18 Login Succeeded 01:52:18 nexus3.edgexfoundry.org:10004 01:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:18 Configure a credential helper to remove this warning. See 01:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:18 01:52:18 Login Succeeded 01:52:18 docker.io 01:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:19 Configure a credential helper to remove this warning. See 01:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:19 01:52:19 Login Succeeded 01:52:19 ---> docker-login.sh ends [Pipeline] } 01:52:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:19 ========================================================= 01:52:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:52:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:52:19 Sending build context to Docker daemon 10.68MB 01:52:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:52:19 Step 2/12 : FROM ${BASE} AS builder 01:52:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:52:19 2408cc74d12b: Pulling fs layer 01:52:19 ea60b727a1ce: Pulling fs layer 01:52:19 30c4a7721957: Pulling fs layer 01:52:19 370296b7ddb6: Pulling fs layer 01:52:19 7c6cee850709: Pulling fs layer 01:52:19 39a5fcdaea64: Pulling fs layer 01:52:19 d94ebbe4e438: Pulling fs layer 01:52:19 bcfd1f05c69d: Pulling fs layer 01:52:19 59ccb84bbe0f: Pulling fs layer 01:52:19 39a5fcdaea64: Waiting 01:52:19 d94ebbe4e438: Waiting 01:52:19 bcfd1f05c69d: Waiting 01:52:19 59ccb84bbe0f: Waiting 01:52:19 370296b7ddb6: Waiting 01:52:19 7c6cee850709: Waiting 01:52:19 30c4a7721957: Verifying Checksum 01:52:19 30c4a7721957: Download complete 01:52:19 ea60b727a1ce: Download complete 01:52:19 7c6cee850709: Verifying Checksum 01:52:19 7c6cee850709: Download complete 01:52:19 39a5fcdaea64: Verifying Checksum 01:52:19 39a5fcdaea64: Download complete 01:52:19 2408cc74d12b: Verifying Checksum 01:52:19 2408cc74d12b: Download complete 01:52:19 d94ebbe4e438: Verifying Checksum 01:52:19 d94ebbe4e438: Download complete 01:52:19 2408cc74d12b: Pull complete 01:52:20 ea60b727a1ce: Pull complete 01:52:20 30c4a7721957: Pull complete 01:52:20 59ccb84bbe0f: Download complete 01:52:20 bcfd1f05c69d: Verifying Checksum 01:52:20 bcfd1f05c69d: Download complete 01:52:20 370296b7ddb6: Download complete 01:52:24 370296b7ddb6: Pull complete 01:52:24 7c6cee850709: Pull complete 01:52:24 39a5fcdaea64: Pull complete 01:52:24 d94ebbe4e438: Pull complete 01:52:26 bcfd1f05c69d: Pull complete 01:52:27 59ccb84bbe0f: Pull complete 01:52:27 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:52:27 ---> a4fb48ad2a94 01:52:27 Step 3/12 : ARG MAKE='make build' 01:52:29 ---> Running in 08c40bc71978 01:52:29 Removing intermediate container 08c40bc71978 01:52:29 ---> da7109981b69 01:52:29 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:52:29 ---> Running in 69a797528555 01:52:29 Removing intermediate container 69a797528555 01:52:29 ---> 85d4ba1ef4df 01:52:29 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:52:29 ---> Running in 000e86b961a8 01:52:29 Removing intermediate container 000e86b961a8 01:52:29 ---> 0f9454f5d086 01:52:29 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:29 ---> Running in 4cb4cf0c8ce6 01:52:29 Removing intermediate container 4cb4cf0c8ce6 01:52:29 ---> 14ea883ea94a 01:52:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:29 ---> Running in 7f3fa5ec48e2 01:52:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:52:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:52:31 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:52:31 (2/4) Installing libedit (20210910.3.1-r0) 01:52:31 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:52:31 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:52:31 Executing busybox-1.35.0-r13.trigger 01:52:31 OK: 216 MiB in 55 packages 01:52:32 Removing intermediate container 7f3fa5ec48e2 01:52:32 ---> 6748e12ff276 01:52:32 Step 8/12 : WORKDIR /device-rest-go 01:52:32 ---> Running in 2852caf5b6cb 01:52:32 Removing intermediate container 2852caf5b6cb 01:52:32 ---> b6d1815b61f0 01:52:32 Step 9/12 : COPY go.mod vendor* ./ 01:52:32 ---> a1f55f47515b 01:52:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:32 ---> Running in e02c344667c4 01:52:32 Still waiting to schedule task 01:52:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19508’ 01:52:50 Removing intermediate container e02c344667c4 01:52:50 ---> cd5ca038e170 01:52:50 Step 11/12 : COPY . . 01:52:50 ---> 5ee1d10b26e6 01:52:50 Step 12/12 : RUN $MAKE 01:52:50 ---> Running in 85ae780bb2d9 01:52:50 noop 01:52:50 Removing intermediate container 85ae780bb2d9 01:52:50 ---> 28092012d1d5 01:52:50 Successfully built 28092012d1d5 01:52:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:50 + docker inspect -f . ci-base-image-x86_64 01:52:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:51 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 01:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:52:51 $ docker top acfd540e6d6e827a7a15c3772cec7ea8286d25a29362c06d006c3b4ec70b1b8a -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:51 + go version 01:52:51 go version go1.18.3 linux/amd64 [Pipeline] } 01:52:51 $ docker stop --time=1 acfd540e6d6e827a7a15c3772cec7ea8286d25a29362c06d006c3b4ec70b1b8a 01:52:53 $ docker rm -f acfd540e6d6e827a7a15c3772cec7ea8286d25a29362c06d006c3b4ec70b1b8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:53 + docker inspect -f . ci-base-image-x86_64 01:52:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:53 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 01:52:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-x86_64 cat 01:52:54 $ docker top bc12982a2f073418dd8be3af8a2fa35584163cc0f9c0bfbae183d3d7adbf0927 -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:52:54 + make test 01:52:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:52:55 ? github.com/edgexfoundry/device-rest-go [no test files] 01:53:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:53:05 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 55.2% of statements 01:53:11 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:53:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:53:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:53:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:53:14 ./bin/test-attribution-txt.sh [Pipeline] echo 01:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:53:14 $ docker stop --time=1 bc12982a2f073418dd8be3af8a2fa35584163cc0f9c0bfbae183d3d7adbf0927 01:53:15 $ docker rm -f bc12982a2f073418dd8be3af8a2fa35584163cc0f9c0bfbae183d3d7adbf0927 [Pipeline] // withDockerContainer [Pipeline] sh 01:53:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:53:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:53:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:53:17 + ls -al . 01:53:17 total 172 01:53:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:52 . 01:53:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:51 .. 01:53:17 -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:51 .dockerignore 01:53:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:53 .git 01:53:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:51 .github 01:53:17 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:51 .gitignore 01:53:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:51 .golangci.yml 01:53:17 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:52 .semver 01:53:17 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:51 Attribution.txt 01:53:17 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:51 CHANGELOG.md 01:53:17 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:51 Dockerfile 01:53:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:51 GOVERNANCE.md 01:53:17 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:51 Jenkinsfile 01:53:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:51 LICENSE 01:53:17 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:51 Makefile 01:53:17 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:51 OWNERS.md 01:53:17 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:51 README.md 01:53:17 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 01:52 VERSION 01:53:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:51 bin 01:53:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:51 cmd 01:53:17 -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:53 coverage.out 01:53:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:51 driver 01:53:17 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:51 go.mod 01:53:17 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:51 go.sum 01:53:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:51 snap 01:53:17 -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:17 + 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=a8865c056b3ddfa2315b5fa3a0a86be937f1051f --label arch=amd64 --label version=2.2.1-dev.9 . 01:53:17 Sending build context to Docker daemon 10.69MB 01:53:17 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:53:17 Step 2/25 : FROM ${BASE} AS builder 01:53:17 ---> 28092012d1d5 01:53:17 Step 3/25 : ARG MAKE='make build' 01:53:17 ---> Running in b2de3cbc5016 01:53:17 Removing intermediate container b2de3cbc5016 01:53:17 ---> 0f71723c6470 01:53:17 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:53:17 ---> Running in 4817b7e8b806 01:53:17 Removing intermediate container 4817b7e8b806 01:53:17 ---> 84dc4e0d722d 01:53:17 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:53:17 ---> Running in 904a8c34e666 01:53:18 Removing intermediate container 904a8c34e666 01:53:18 ---> dc55cce2c5e9 01:53:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:53:18 ---> Running in f7dbb6888018 01:53:18 Removing intermediate container f7dbb6888018 01:53:18 ---> ff06983f1241 01:53:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:18 ---> Running in a11f0235e138 01:53:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:53:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:53:20 OK: 216 MiB in 55 packages 01:53:20 Removing intermediate container a11f0235e138 01:53:20 ---> 1435d11f0256 01:53:20 Step 8/25 : WORKDIR /device-rest-go 01:53:20 ---> Running in bf372e1f7d35 01:53:20 Removing intermediate container bf372e1f7d35 01:53:20 ---> bf90036d2d5e 01:53:20 Step 9/25 : COPY go.mod vendor* ./ 01:53:20 ---> 811258a5b30a 01:53:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:20 ---> Running in 7d5f7f4182e0 01:53:21 Removing intermediate container 7d5f7f4182e0 01:53:21 ---> dc46229dfc27 01:53:21 Step 11/25 : COPY . . 01:53:22 ---> 22151243411f 01:53:22 Step 12/25 : RUN $MAKE 01:53:22 ---> Running in ead5dc6ca6aa 01:53:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:53:44 Removing intermediate container ead5dc6ca6aa 01:53:44 ---> a22d84a1db30 01:53:44 Step 13/25 : FROM alpine:3.16 01:53:44 3.16: Pulling from library/alpine 01:53:44 2408cc74d12b: Already exists 01:53:44 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:53:44 Status: Downloaded newer image for alpine:3.16 01:53:44 ---> e66264b98777 01:53:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:53:44 ---> Running in 87e72d9e6518 01:53:44 Removing intermediate container 87e72d9e6518 01:53:44 ---> 28c995241d47 01:53:44 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:53:44 ---> Running in 656acaa26926 01:53:44 Removing intermediate container 656acaa26926 01:53:44 ---> 478d8ca36fb3 01:53:44 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:53:44 ---> Running in f4939c1af632 01:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:53:44 (1/6) Installing dumb-init (1.2.5-r1) 01:53:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:53:44 (3/6) Installing libsodium (1.0.18-r0) 01:53:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:53:44 (5/6) Installing libzmq (4.3.4-r0) 01:53:44 (6/6) Installing zeromq (4.3.4-r0) 01:53:44 Executing busybox-1.35.0-r13.trigger 01:53:44 OK: 8 MiB in 20 packages 01:53:44 Removing intermediate container f4939c1af632 01:53:44 ---> 1574159ad237 01:53:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:53:44 ---> 135d262cb10c 01:53:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:53:44 ---> d70166f0ffea 01:53:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:53:44 ---> 48189aa6d70f 01:53:44 Step 20/25 : EXPOSE 59986 01:53:44 ---> Running in 48ceb1056104 01:53:44 Removing intermediate container 48ceb1056104 01:53:44 ---> 01d00ed0ef4f 01:53:44 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:53:45 ---> Running in e66752079325 01:53:45 Removing intermediate container e66752079325 01:53:45 ---> a7af9dfd5aae 01:53:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:53:45 ---> Running in 3ddb2ae72190 01:53:45 Removing intermediate container 3ddb2ae72190 01:53:45 ---> 8bfe60e368ad 01:53:45 Step 23/25 : LABEL arch=amd64 01:53:45 ---> Running in 06ee43b9c59a 01:53:45 Removing intermediate container 06ee43b9c59a 01:53:45 ---> a7af7105aad7 01:53:45 Step 24/25 : LABEL git_sha=a8865c056b3ddfa2315b5fa3a0a86be937f1051f 01:53:45 ---> Running in 215c7e2c1673 01:53:45 Removing intermediate container 215c7e2c1673 01:53:45 ---> 2ca7e32990a1 01:53:45 Step 25/25 : LABEL version=2.2.1-dev.9 01:53:45 ---> Running in 174d454e549d 01:53:45 Removing intermediate container 174d454e549d 01:53:45 ---> c496632ccdf3 01:53:45 [Warning] One or more build-args [ARCH] were not consumed 01:53:45 Successfully built c496632ccdf3 01:53:45 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:45 provisioning config files... 01:53:45 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5619229950055099576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:46 ---> docker-login.sh 01:53:46 nexus3.edgexfoundry.org:10001 01:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:46 Configure a credential helper to remove this warning. See 01:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:46 01:53:46 Login Succeeded 01:53:46 nexus3.edgexfoundry.org:10002 01:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:46 Configure a credential helper to remove this warning. See 01:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:46 01:53:46 Login Succeeded 01:53:46 nexus3.edgexfoundry.org:10003 01:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:46 Configure a credential helper to remove this warning. See 01:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:46 01:53:46 Login Succeeded 01:53:46 nexus3.edgexfoundry.org:10004 01:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:46 Configure a credential helper to remove this warning. See 01:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:46 01:53:46 Login Succeeded 01:53:46 docker.io 01:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:46 Configure a credential helper to remove this warning. See 01:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:46 01:53:46 Login Succeeded 01:53:46 ---> docker-login.sh ends [Pipeline] } 01:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:53:46 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:53:46 a8865c056b3ddfa2315b5fa3a0a86be937f1051f 01:53:46 latest 01:53:46 2.2.1-dev.9 01:53:46 a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 01:53:46 main 01:53:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f 01:53:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:47 4912b402e090: Preparing 01:53:47 d9753b953d76: Preparing 01:53:47 e1749ce1fbbc: Preparing 01:53:47 54b113f43e74: Preparing 01:53:47 24302eb7d908: Preparing 01:53:47 24302eb7d908: Layer already exists 01:53:47 4912b402e090: Pushed 01:53:47 d9753b953d76: Pushed 01:53:47 54b113f43e74: Pushed 01:53:49 e1749ce1fbbc: Pushed 01:53:49 a8865c056b3ddfa2315b5fa3a0a86be937f1051f: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:53:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:50 4912b402e090: Preparing 01:53:50 d9753b953d76: Preparing 01:53:50 e1749ce1fbbc: Preparing 01:53:50 54b113f43e74: Preparing 01:53:50 24302eb7d908: Preparing 01:53:50 24302eb7d908: Layer already exists 01:53:50 4912b402e090: Layer already exists 01:53:50 54b113f43e74: Layer already exists 01:53:50 d9753b953d76: Layer already exists 01:53:50 e1749ce1fbbc: Layer already exists 01:53:50 latest: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 01:53:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:51 4912b402e090: Preparing 01:53:51 d9753b953d76: Preparing 01:53:51 e1749ce1fbbc: Preparing 01:53:51 54b113f43e74: Preparing 01:53:51 24302eb7d908: Preparing 01:53:51 24302eb7d908: Layer already exists 01:53:51 d9753b953d76: Layer already exists 01:53:51 54b113f43e74: Layer already exists 01:53:51 4912b402e090: Layer already exists 01:53:51 e1749ce1fbbc: Layer already exists 01:53:51 2.2.1-dev.9: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 01:53:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:51 4912b402e090: Preparing 01:53:51 d9753b953d76: Preparing 01:53:51 e1749ce1fbbc: Preparing 01:53:51 54b113f43e74: Preparing 01:53:51 24302eb7d908: Preparing 01:53:51 e1749ce1fbbc: Layer already exists 01:53:51 24302eb7d908: Layer already exists 01:53:51 d9753b953d76: Layer already exists 01:53:51 54b113f43e74: Layer already exists 01:53:51 4912b402e090: Layer already exists 01:53:51 a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:53:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:52 4912b402e090: Preparing 01:53:52 d9753b953d76: Preparing 01:53:52 e1749ce1fbbc: Preparing 01:53:52 54b113f43e74: Preparing 01:53:52 24302eb7d908: Preparing 01:53:52 4912b402e090: Layer already exists 01:53:52 d9753b953d76: Layer already exists 01:53:52 54b113f43e74: Layer already exists 01:53:52 e1749ce1fbbc: Layer already exists 01:53:52 24302eb7d908: Layer already exists 01:53:52 main: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:53:52 ===================================================== [Pipeline] echo 01:53:52 taggedImages: 01:53:52 - nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f 01:53:52 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:53:52 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 01:53:52 - nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 01:53:52 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:53 01:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:53 latest: Pulling from edgex-lftools-log-publisher 01:53:53 5eb5b503b376: Pulling fs layer 01:53:53 5c69ac0246d0: Pulling fs layer 01:53:53 ec43610c2a17: Pulling fs layer 01:53:53 3a2ae6a8a46f: Pulling fs layer 01:53:53 33b1e0a273af: Pulling fs layer 01:53:53 5d3b04190fa2: Pulling fs layer 01:53:53 2f39f015ded8: Pulling fs layer 01:53:53 3a2ae6a8a46f: Waiting 01:53:53 33b1e0a273af: Waiting 01:53:53 5d3b04190fa2: Waiting 01:53:53 2f39f015ded8: Waiting 01:53:53 5c69ac0246d0: Download complete 01:53:53 3a2ae6a8a46f: Verifying Checksum 01:53:53 3a2ae6a8a46f: Download complete 01:53:53 33b1e0a273af: Verifying Checksum 01:53:53 33b1e0a273af: Download complete 01:53:53 ec43610c2a17: Verifying Checksum 01:53:53 ec43610c2a17: Download complete 01:53:53 5d3b04190fa2: Verifying Checksum 01:53:53 5d3b04190fa2: Download complete 01:53:53 5eb5b503b376: Verifying Checksum 01:53:53 5eb5b503b376: Download complete 01:53:54 2f39f015ded8: Download complete 01:53:54 5eb5b503b376: Pull complete 01:53:54 5c69ac0246d0: Pull complete 01:53:55 ec43610c2a17: Pull complete 01:53:55 3a2ae6a8a46f: Pull complete 01:53:55 33b1e0a273af: Pull complete 01:53:55 5d3b04190fa2: Pull complete 01:53:59 2f39f015ded8: Pull complete 01:53:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:53:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:59 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 01:53:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:54:01 $ docker top 3ff785e106658772abb85c8d43f1dd1216d9373e2465a77db3dba4b45425621b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:01 ---> job-cost.sh 01:54:01 lf-activate-venv: SKIPPING 01:54:01 INFO: No Stack... 01:54:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:02 INFO: Archiving Costs [Pipeline] sh 01:54:03 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:54:03 + cut -d, -f6 [Pipeline] lock 01:54:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] 01:54:03 Resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] did not exist. Created. 01:54:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:03 + echo total: 0.2199999988079071 [Pipeline] stash 01:54:03 Stashed 1 file(s) [Pipeline] } 01:54:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:03 $ docker stop --time=1 3ff785e106658772abb85c8d43f1dd1216d9373e2465a77db3dba4b45425621b 01:54:04 $ docker rm -f 3ff785e106658772abb85c8d43f1dd1216d9373e2465a77db3dba4b45425621b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:55:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19511 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:55:44 Running in /w/workspace/device-rest-go/52 [Pipeline] { [Pipeline] checkout 01:55:44 The recommended git tool is: git 01:55:52 using credential edgex-jenkins-ssh 01:55:52 Cloning the remote Git repository 01:55:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:55:52 > git init /w/workspace/device-rest-go/52 # timeout=10 01:55:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:55:52 > git --version # timeout=10 01:55:52 > git --version # 'git version 2.25.1' 01:55:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:55:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:55:55 Avoid second fetch 01:55:55 Checking out Revision a8865c056b3ddfa2315b5fa3a0a86be937f1051f (main) 01:55:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:55:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:55:55 > git config core.sparsecheckout # timeout=10 01:55:55 > git checkout -f a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 01:56:00 Commit message: "Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.12" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:56:01 % Total % Received % Xferd Average Speed Time Time Time Current 01:56:01 Dload Upload Total Spent Left Speed 01:56:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 01:56:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:56:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:56:02 + sudo tee /etc/docker/daemon.new 01:56:02 { 01:56:02 "registry-mirrors": [ 01:56:02 "https://nexus3.edgexfoundry.org:10001" 01:56:02 ], 01:56:02 "bip": "10.250.0.254/24", 01:56:02 "hosts": [ 01:56:02 "tcp://0.0.0.0:5555", 01:56:02 "unix:///var/run/docker.sock" 01:56:02 ], 01:56:02 "mtu": 1458, 01:56:02 "selinux-enabled": true, 01:56:02 "seccomp-profile": "/etc/docker/seccomp.json" 01:56:02 } [Pipeline] sh 01:56:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:56:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:21 provisioning config files... 01:56:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config4099888082098657061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:21 ---> docker-login.sh 01:56:21 nexus3.edgexfoundry.org:10001 01:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:22 Configure a credential helper to remove this warning. See 01:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:22 01:56:22 Login Succeeded 01:56:22 nexus3.edgexfoundry.org:10002 01:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:22 Configure a credential helper to remove this warning. See 01:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:22 01:56:22 Login Succeeded 01:56:22 nexus3.edgexfoundry.org:10003 01:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:23 Configure a credential helper to remove this warning. See 01:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:23 01:56:23 Login Succeeded 01:56:23 nexus3.edgexfoundry.org:10004 01:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:23 Configure a credential helper to remove this warning. See 01:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:23 01:56:23 Login Succeeded 01:56:23 docker.io 01:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:24 Configure a credential helper to remove this warning. See 01:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:24 01:56:24 Login Succeeded 01:56:24 ---> docker-login.sh ends [Pipeline] } 01:56:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:56:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:56:25 ========================================================= 01:56:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:56:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:56:25 Sending build context to Docker daemon 126.5kB 01:56:25 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:56:25 Step 2/12 : FROM ${BASE} AS builder 01:56:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:56:25 b3c136eddcbf: Pulling fs layer 01:56:25 c0a3192eca97: Pulling fs layer 01:56:25 a050256f5b6f: Pulling fs layer 01:56:25 656be50a0ddc: Pulling fs layer 01:56:25 2bbca73fdf42: Pulling fs layer 01:56:25 46d945488cbd: Pulling fs layer 01:56:25 8a5474983e97: Pulling fs layer 01:56:25 329c88fbcd65: Pulling fs layer 01:56:25 656be50a0ddc: Waiting 01:56:25 2bbca73fdf42: Waiting 01:56:25 46d945488cbd: Waiting 01:56:25 8a5474983e97: Waiting 01:56:25 329c88fbcd65: Waiting 01:56:25 a050256f5b6f: Verifying Checksum 01:56:25 a050256f5b6f: Download complete 01:56:25 c0a3192eca97: Verifying Checksum 01:56:25 c0a3192eca97: Download complete 01:56:25 2bbca73fdf42: Verifying Checksum 01:56:25 2bbca73fdf42: Download complete 01:56:25 46d945488cbd: Verifying Checksum 01:56:25 46d945488cbd: Download complete 01:56:25 b3c136eddcbf: Download complete 01:56:26 b3c136eddcbf: Pull complete 01:56:26 329c88fbcd65: Verifying Checksum 01:56:26 329c88fbcd65: Download complete 01:56:27 c0a3192eca97: Pull complete 01:56:27 a050256f5b6f: Pull complete 01:56:28 8a5474983e97: Verifying Checksum 01:56:28 8a5474983e97: Download complete 01:56:28 656be50a0ddc: Download complete 01:56:43 656be50a0ddc: Pull complete 01:56:43 2bbca73fdf42: Pull complete 01:56:43 46d945488cbd: Pull complete 01:56:49 8a5474983e97: Pull complete 01:56:50 329c88fbcd65: Pull complete 01:56:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:56:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:56:50 ---> ff4287adb874 01:56:50 Step 3/12 : ARG MAKE='make build' 01:56:51 ---> Running in 8c1204f57a8e 01:56:51 Removing intermediate container 8c1204f57a8e 01:56:51 ---> eb1a1490a90f 01:56:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:56:51 ---> Running in 402fe762d89b 01:56:51 Removing intermediate container 402fe762d89b 01:56:51 ---> c0caffbb8a19 01:56:51 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:56:52 ---> Running in f748b2e961d5 01:56:52 Removing intermediate container f748b2e961d5 01:56:52 ---> 73510c2adf6e 01:56:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:56:52 ---> Running in 07b02b563f34 01:56:54 Removing intermediate container 07b02b563f34 01:56:54 ---> 235af60c0558 01:56:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:54 ---> Running in b47dd15876e2 01:56:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:56:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:56:56 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:56:57 (2/4) Installing libedit (20210910.3.1-r0) 01:56:57 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:56:57 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:56:57 Executing busybox-1.35.0-r13.trigger 01:56:57 OK: 226 MiB in 55 packages 01:57:00 Removing intermediate container b47dd15876e2 01:57:00 ---> dea521de5f2d 01:57:00 Step 8/12 : WORKDIR /device-rest-go 01:57:00 ---> Running in 4b87bf4ef1d3 01:57:00 Removing intermediate container 4b87bf4ef1d3 01:57:00 ---> 3cb59713ad3b 01:57:00 Step 9/12 : COPY go.mod vendor* ./ 01:57:00 ---> d2fc07b8e768 01:57:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:00 ---> Running in 5570b7f73bc0 01:57:47 Removing intermediate container 5570b7f73bc0 01:57:47 ---> 1d43057f965b 01:57:47 Step 11/12 : COPY . . 01:57:47 ---> ced6a82d114c 01:57:47 Step 12/12 : RUN $MAKE 01:57:47 ---> Running in 55a9899f7822 01:57:47 noop 01:57:47 Removing intermediate container 55a9899f7822 01:57:47 ---> dee4563cce74 01:57:47 Successfully built dee4563cce74 01:57:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:48 + docker inspect -f . ci-base-image-arm64 01:57:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:48 prd-ubuntu20.04-docker-arm64-4c-16g-19511 does not seem to be running inside a container 01:57:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:57:49 $ docker top d6dbf525930d64003aa03b6e0f315608c5e88fb0d5e3a97fa6b08ec184e70b38 -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:50 + go version 01:57:50 go version go1.18.3 linux/arm64 [Pipeline] } 01:57:50 $ docker stop --time=1 d6dbf525930d64003aa03b6e0f315608c5e88fb0d5e3a97fa6b08ec184e70b38 01:57:52 $ docker rm -f d6dbf525930d64003aa03b6e0f315608c5e88fb0d5e3a97fa6b08ec184e70b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:52 + docker inspect -f . ci-base-image-arm64 01:57:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:53 prd-ubuntu20.04-docker-arm64-4c-16g-19511 does not seem to be running inside a container 01:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:57:54 $ docker top 3ce0b4d3cfa9cc90237c1f7bf2d1619bbd952791ac68f02c9c5e8ab2613e8b8b -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:55 + git config --global --add safe.directory /w/workspace/device-rest-go/52 [Pipeline] fileExists [Pipeline] sh 01:57:56 + make test 01:57:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:57:57 ? github.com/edgexfoundry/device-rest-go [no test files] 01:59:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:59:19 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements 01:59:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:59:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:59:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:59:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:59:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:59:42 $ docker stop --time=1 3ce0b4d3cfa9cc90237c1f7bf2d1619bbd952791ac68f02c9c5e8ab2613e8b8b 01:59:44 $ docker rm -f 3ce0b4d3cfa9cc90237c1f7bf2d1619bbd952791ac68f02c9c5e8ab2613e8b8b [Pipeline] // withDockerContainer [Pipeline] sh 01:59:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:45 Warning: overwriting stash ‘coverage-report’ 01:59:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:46 + ls -al . 01:59:46 total 168 01:59:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:57 . 01:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:55 .. 01:59:46 -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:55 .dockerignore 01:59:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:55 .git 01:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:55 .github 01:59:46 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:55 .gitignore 01:59:46 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:55 .golangci.yml 01:59:46 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:55 Attribution.txt 01:59:46 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:55 CHANGELOG.md 01:59:46 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:55 Dockerfile 01:59:46 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:55 GOVERNANCE.md 01:59:46 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:55 Jenkinsfile 01:59:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:55 LICENSE 01:59:46 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:55 Makefile 01:59:46 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:55 OWNERS.md 01:59:46 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:55 README.md 01:59:46 -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 01:52 VERSION 01:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:55 bin 01:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:55 cmd 01:59:46 -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:59 coverage.out 01:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:55 driver 01:59:46 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:55 go.mod 01:59:46 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:55 go.sum 01:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:55 snap 01:59:46 -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:47 + 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=a8865c056b3ddfa2315b5fa3a0a86be937f1051f --label arch=arm64 --label version=2.2.1-dev.9 . 01:59:47 Sending build context to Docker daemon 136.7kB 01:59:47 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:59:47 Step 2/25 : FROM ${BASE} AS builder 01:59:47 ---> dee4563cce74 01:59:47 Step 3/25 : ARG MAKE='make build' 01:59:47 ---> Running in ff111770d0b8 01:59:47 Removing intermediate container ff111770d0b8 01:59:47 ---> 7174e29a382d 01:59:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:59:47 ---> Running in 319a1bb8713b 01:59:48 Removing intermediate container 319a1bb8713b 01:59:48 ---> 6baa834fdbc7 01:59:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:59:48 ---> Running in bf233ea7dac1 01:59:48 Removing intermediate container bf233ea7dac1 01:59:48 ---> 4d390dbd14c2 01:59:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:59:48 ---> Running in 147a51a91768 01:59:50 Removing intermediate container 147a51a91768 01:59:50 ---> 3d9cac75f644 01:59:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:50 ---> Running in e67e9a37c544 01:59:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:59:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:59:53 OK: 226 MiB in 55 packages 01:59:54 Removing intermediate container e67e9a37c544 01:59:54 ---> 2b91f747803b 01:59:54 Step 8/25 : WORKDIR /device-rest-go 01:59:54 ---> Running in 540ad8ae1cab 01:59:54 Removing intermediate container 540ad8ae1cab 01:59:54 ---> 60a796c0f5ef 01:59:54 Step 9/25 : COPY go.mod vendor* ./ 01:59:55 ---> dc650ceeacb7 01:59:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:55 ---> Running in 1b0db8b197cd 01:59:57 Removing intermediate container 1b0db8b197cd 01:59:57 ---> 87ecd0bdf8c6 01:59:57 Step 11/25 : COPY . . 01:59:57 ---> 51ed8258419d 01:59:57 Step 12/25 : RUN $MAKE 01:59:58 ---> Running in e5dcd49dd9a9 01:59:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:02:20 Removing intermediate container e5dcd49dd9a9 02:02:20 ---> 656abde8926f 02:02:20 Step 13/25 : FROM alpine:3.16 02:02:20 3.16: Pulling from library/alpine 02:02:20 b3c136eddcbf: Already exists 02:02:20 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 02:02:20 Status: Downloaded newer image for alpine:3.16 02:02:20 ---> 6e30ab57aeee 02:02:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:02:20 ---> Running in ce5c0c20d735 02:02:20 Removing intermediate container ce5c0c20d735 02:02:20 ---> f6d05c16a780 02:02:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:02:20 ---> Running in fe3bed6269f7 02:02:20 Removing intermediate container fe3bed6269f7 02:02:20 ---> d541cd23e9a2 02:02:20 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 02:02:20 ---> Running in 080e8244bc9c 02:02:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:02:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:02:20 (1/6) Installing dumb-init (1.2.5-r1) 02:02:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:02:20 (3/6) Installing libsodium (1.0.18-r0) 02:02:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:02:20 (5/6) Installing libzmq (4.3.4-r0) 02:02:20 (6/6) Installing zeromq (4.3.4-r0) 02:02:20 Executing busybox-1.35.0-r13.trigger 02:02:20 OK: 8 MiB in 20 packages 02:02:20 Removing intermediate container 080e8244bc9c 02:02:20 ---> b27e7323d846 02:02:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:02:20 ---> 69e62549bf1e 02:02:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:02:20 ---> 5a7651d9358f 02:02:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:02:20 ---> bb28572d66a6 02:02:20 Step 20/25 : EXPOSE 59986 02:02:20 ---> Running in cb6f867ec820 02:02:20 Removing intermediate container cb6f867ec820 02:02:20 ---> 4b347b134025 02:02:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:02:20 ---> Running in c09564058176 02:02:20 Removing intermediate container c09564058176 02:02:20 ---> 3123aa909e20 02:02:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:02:20 ---> Running in db057e65a691 02:02:20 Removing intermediate container db057e65a691 02:02:20 ---> cc09116728b5 02:02:20 Step 23/25 : LABEL arch=arm64 02:02:20 ---> Running in 26dcb057931e 02:02:20 Removing intermediate container 26dcb057931e 02:02:20 ---> 154a4cb5bace 02:02:20 Step 24/25 : LABEL git_sha=a8865c056b3ddfa2315b5fa3a0a86be937f1051f 02:02:20 ---> Running in e429cf592083 02:02:20 Removing intermediate container e429cf592083 02:02:20 ---> 4ea1f4300d81 02:02:20 Step 25/25 : LABEL version=2.2.1-dev.9 02:02:20 ---> Running in e1254e620c4d 02:02:20 Removing intermediate container e1254e620c4d 02:02:20 ---> b7cce9e331f3 02:02:20 [Warning] One or more build-args [ARCH] were not consumed 02:02:20 Successfully built b7cce9e331f3 02:02:20 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 02:02:21 provisioning config files... 02:02:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config7736352823062126744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:21 ---> docker-login.sh 02:02:21 nexus3.edgexfoundry.org:10001 02:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:21 Configure a credential helper to remove this warning. See 02:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:21 02:02:21 Login Succeeded 02:02:21 nexus3.edgexfoundry.org:10002 02:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:22 Configure a credential helper to remove this warning. See 02:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:22 02:02:22 Login Succeeded 02:02:22 nexus3.edgexfoundry.org:10003 02:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:22 Configure a credential helper to remove this warning. See 02:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:22 02:02:22 Login Succeeded 02:02:22 nexus3.edgexfoundry.org:10004 02:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:23 Configure a credential helper to remove this warning. See 02:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:23 02:02:23 Login Succeeded 02:02:23 docker.io 02:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:23 Configure a credential helper to remove this warning. See 02:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:23 02:02:23 Login Succeeded 02:02:23 ---> docker-login.sh ends [Pipeline] } 02:02:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:23 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:02:23 a8865c056b3ddfa2315b5fa3a0a86be937f1051f 02:02:23 latest 02:02:23 2.2.1-dev.9 02:02:23 a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 02:02:23 main 02:02:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f 02:02:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:02:24 5034499717ed: Preparing 02:02:24 61e997244fe0: Preparing 02:02:24 c479768541a9: Preparing 02:02:24 23e56994d2ea: Preparing 02:02:24 dd565ff850e7: Preparing 02:02:24 dd565ff850e7: Layer already exists 02:02:25 61e997244fe0: Pushed 02:02:25 5034499717ed: Pushed 02:02:25 23e56994d2ea: Pushed 02:02:30 c479768541a9: Pushed 02:02:30 a8865c056b3ddfa2315b5fa3a0a86be937f1051f: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:02:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:02:31 5034499717ed: Preparing 02:02:31 61e997244fe0: Preparing 02:02:31 c479768541a9: Preparing 02:02:31 23e56994d2ea: Preparing 02:02:31 dd565ff850e7: Preparing 02:02:31 5034499717ed: Layer already exists 02:02:31 dd565ff850e7: Layer already exists 02:02:31 61e997244fe0: Layer already exists 02:02:31 23e56994d2ea: Layer already exists 02:02:31 c479768541a9: Layer already exists 02:02:31 latest: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 02:02:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:02:32 5034499717ed: Preparing 02:02:32 61e997244fe0: Preparing 02:02:32 c479768541a9: Preparing 02:02:32 23e56994d2ea: Preparing 02:02:32 dd565ff850e7: Preparing 02:02:32 dd565ff850e7: Layer already exists 02:02:32 c479768541a9: Layer already exists 02:02:32 23e56994d2ea: Layer already exists 02:02:32 5034499717ed: Layer already exists 02:02:32 61e997244fe0: Layer already exists 02:02:32 2.2.1-dev.9: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 02:02:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:02:33 5034499717ed: Preparing 02:02:33 61e997244fe0: Preparing 02:02:33 c479768541a9: Preparing 02:02:33 23e56994d2ea: Preparing 02:02:33 dd565ff850e7: Preparing 02:02:33 dd565ff850e7: Layer already exists 02:02:33 c479768541a9: Layer already exists 02:02:33 5034499717ed: Layer already exists 02:02:33 61e997244fe0: Layer already exists 02:02:33 23e56994d2ea: Layer already exists 02:02:33 a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:02:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:02:34 5034499717ed: Preparing 02:02:34 61e997244fe0: Preparing 02:02:34 c479768541a9: Preparing 02:02:34 23e56994d2ea: Preparing 02:02:34 dd565ff850e7: Preparing 02:02:34 61e997244fe0: Layer already exists 02:02:34 23e56994d2ea: Layer already exists 02:02:34 c479768541a9: Layer already exists 02:02:34 dd565ff850e7: Layer already exists 02:02:34 5034499717ed: Layer already exists 02:02:34 main: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:35 ===================================================== [Pipeline] echo 02:02:35 taggedImages: 02:02:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f 02:02:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:02:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 02:02:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 02:02:35 - 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 02:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:35 02:02:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:36 arm64: Pulling from edgex-lftools-log-publisher 02:02:36 8998bd30e6a1: Pulling fs layer 02:02:36 04944245beec: Pulling fs layer 02:02:36 699f458cf7ca: Pulling fs layer 02:02:36 765212b225bb: Pulling fs layer 02:02:36 f23df028b6ca: Pulling fs layer 02:02:36 d65c8cfc05b1: Pulling fs layer 02:02:36 2437ff75d9bd: Pulling fs layer 02:02:36 f23df028b6ca: Waiting 02:02:36 d65c8cfc05b1: Waiting 02:02:36 2437ff75d9bd: Waiting 02:02:36 765212b225bb: Waiting 02:02:36 04944245beec: Verifying Checksum 02:02:36 04944245beec: Download complete 02:02:36 765212b225bb: Verifying Checksum 02:02:36 765212b225bb: Download complete 02:02:36 f23df028b6ca: Download complete 02:02:36 d65c8cfc05b1: Verifying Checksum 02:02:36 d65c8cfc05b1: Download complete 02:02:36 699f458cf7ca: Verifying Checksum 02:02:36 699f458cf7ca: Download complete 02:02:36 8998bd30e6a1: Download complete 02:02:39 2437ff75d9bd: Verifying Checksum 02:02:41 8998bd30e6a1: Pull complete 02:02:41 04944245beec: Pull complete 02:02:42 699f458cf7ca: Pull complete 02:02:43 765212b225bb: Pull complete 02:02:44 f23df028b6ca: Pull complete 02:02:44 d65c8cfc05b1: Pull complete 02:02:59 2437ff75d9bd: Pull complete 02:02:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:59 prd-ubuntu20.04-docker-arm64-4c-16g-19511 does not seem to be running inside a container 02:02:59 $ 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/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@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 02:03:02 $ docker top b4409ad3e5b9892dfac883ef4011b07355928820eaf5bea94cb0aac3b1372cf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:03 ---> job-cost.sh 02:03:03 lf-activate-venv: SKIPPING 02:03:03 INFO: No Stack... 02:03:03 INFO: Retrieving Pricing Info for: v3-standard-4 02:03:04 INFO: Archiving Costs [Pipeline] sh 02:03:04 + cat /w/workspace/device-rest-go/52/archives/cost.csv 02:03:04 + cut -d, -f6 [Pipeline] lock 02:03:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] 02:03:04 Resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] did not exist. Created. 02:03:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:05 /w/workspace/device-rest-go/52@tmp/durable-9819c9ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:03:06 + echo total: 0.10999999940395355 [Pipeline] stash 02:03:06 Warning: overwriting stash ‘stack-cost’ 02:03:06 Stashed 1 file(s) [Pipeline] } 02:03:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:06 $ docker stop --time=1 b4409ad3e5b9892dfac883ef4011b07355928820eaf5bea94cb0aac3b1372cf5 02:03:07 $ docker rm -f b4409ad3e5b9892dfac883ef4011b07355928820eaf5bea94cb0aac3b1372cf5 [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 02:03:08 provisioning config files... 02:03:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1973101598200589354tmp [Pipeline] { [Pipeline] sh 02:03:08 + set +x 02:03:08 + bash -s -- 02:03:08 + curl -s https://codecov.io/bash 02:03:08 02:03:08 _____ _ 02:03:08 / ____| | | 02:03:08 | | ___ __| | ___ ___ _____ __ 02:03:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:03:08 | |___| (_) | (_| | __/ (_| (_) \ V / 02:03:08 \_____\___/ \__,_|\___|\___\___/ \_/ 02:03:08 Bash-1.0.6 02:03:08 02:03:08 02:03:08 ==> git version 2.25.1 found 02:03:08 ==> 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 02:03:08 Release-Date: 2020-01-08 02:03:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:03:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:03:08 ==> Jenkins CI detected. 02:03:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:03:08 project root: . 02:03:08 --> token set from env 02:03:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:03:08 ==> Running gcov in . (disable via -X gcov) 02:03:08 ==> Python coveragepy not found 02:03:08 ==> Searching for coverage reports in: 02:03:08 + . 02:03:08 -> Found 1 reports 02:03:08 ==> Detecting git/mercurial file structure 02:03:08 ==> Reading reports 02:03:09 + ./coverage.out bytes=9355 02:03:09 ==> Appending adjustments 02:03:09 https://docs.codecov.io/docs/fixing-reports 02:03:09 + Found adjustments 02:03:09 ==> Gzipping contents 02:03:09 4.0K /tmp/codecov.1ILwtF.gz 02:03:09 ==> Uploading reports 02:03:09 url: https://codecov.io 02:03:09 query: branch=main&commit=a8865c056b3ddfa2315b5fa3a0a86be937f1051f&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:03:09 -> Pinging Codecov 02:03:09 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=a8865c056b3ddfa2315b5fa3a0a86be937f1051f&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:03:09 -> Uploading to 02:03:09 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/4E5D53B4F1F92C436F7061BF334D961C/a8865c056b3ddfa2315b5fa3a0a86be937f1051f/1881af6f-b3bc-42d2-9949-7455aa9cc15c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T020309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52c2947769ad35dc0b5ee0c74f6af131abfd86570235327f1994140f984b7246 02:03:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:09 Dload Upload Total Spent Left Speed 02:03:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7101 --:--:-- --:--:-- --:--:-- 7101 02:03:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] } 02:03:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:03:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:03:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:03:10 02:03:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:03:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:03:10 df9b9388f04a: Pulling fs layer 02:03:10 52dc419b0ee2: Pulling fs layer 02:03:10 25bc292e5bac: Pulling fs layer 02:03:10 114826534d7a: Pulling fs layer 02:03:10 4657fd5d0bcf: Pulling fs layer 02:03:10 6ad1cebc031e: Pulling fs layer 02:03:10 8a3aa393b2d8: Pulling fs layer 02:03:10 4657fd5d0bcf: Waiting 02:03:10 6ad1cebc031e: Waiting 02:03:10 8a3aa393b2d8: Waiting 02:03:10 25bc292e5bac: Verifying Checksum 02:03:10 25bc292e5bac: Download complete 02:03:10 52dc419b0ee2: Download complete 02:03:10 4657fd5d0bcf: Verifying Checksum 02:03:10 4657fd5d0bcf: Download complete 02:03:10 df9b9388f04a: Verifying Checksum 02:03:10 df9b9388f04a: Download complete 02:03:10 df9b9388f04a: Pull complete 02:03:10 6ad1cebc031e: Verifying Checksum 02:03:10 6ad1cebc031e: Download complete 02:03:10 52dc419b0ee2: Pull complete 02:03:10 25bc292e5bac: Pull complete 02:03:11 114826534d7a: Verifying Checksum 02:03:11 114826534d7a: Download complete 02:03:11 8a3aa393b2d8: Verifying Checksum 02:03:11 8a3aa393b2d8: Download complete 02:03:14 114826534d7a: Pull complete 02:03:14 4657fd5d0bcf: Pull complete 02:03:14 6ad1cebc031e: Pull complete 02:03:18 8a3aa393b2d8: Pull complete 02:03:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:03:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:03:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:18 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 02:03:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:03:20 $ docker top d149911ccdf5eef3516b92a52c35de0324d21fea52208bc226078cf0c0a42c19 -eo pid,comm [Pipeline] { [Pipeline] echo 02:03:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:03:20 + set -o pipefail 02:03:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:03:24 02:03:24 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:03:24 02:03:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f4c5ed0b-a08d-4840-b664-d5a31e8cc165 02:03:24 02:03:24 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:03:24 02:03:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:03:24 02:03:25 02:03:25 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:03:25 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:03:25 $ docker stop --time=1 d149911ccdf5eef3516b92a52c35de0324d21fea52208bc226078cf0c0a42c19 02:03:27 $ docker rm -f d149911ccdf5eef3516b92a52c35de0324d21fea52208bc226078cf0c0a42c19 [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 02:03:28 + git log --format=format:%s -1 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] sh 02:03:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:29 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 02:03:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:03:29 $ docker top ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 -eo pid,comm 02:03:29 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). 02:03:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:29 [ssh-agent] Looking for ssh-agent implementation... 02:03:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:29 $ docker exec ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 ssh-agent 02:03:29 SSH_AUTH_SOCK=/tmp/ssh-FV62V8NWWtId/agent.33 02:03:29 SSH_AGENT_PID=39 02:03:29 Running ssh-add (command line suppressed) 02:03:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3160554035478098378.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3160554035478098378.key) 02:03:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:30 + git semver tag 02:03:30 2022-07-12 02:03:30,535 [run_tag] DEBUG tag force:False 02:03:30 2022-07-12 02:03:30,535 [check_head_tag] DEBUG check head tag 02:03:30 2022-07-12 02:03:30,536 [execute] INFO git cat-file --batch-check 02:03:30 2022-07-12 02:03:30,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:03:30 2022-07-12 02:03:30,539 [execute] INFO git cat-file --batch 02:03:30 2022-07-12 02:03:30,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:03:30 2022-07-12 02:03:30,547 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:30 2022-07-12 02:03:30,547 [execute] INFO git tag -a v2.2.1-dev.9 -m v2.2.1-dev.9 02:03:30 2022-07-12 02:03:30,547 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.9', '-m', 'v2.2.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 02:03:30 2022-07-12 02:03:30,551 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:30 2.2.1-dev.9 [Pipeline] } 02:03:30 $ docker exec --env ******** --env ******** ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 ssh-agent -k 02:03:30 unset SSH_AUTH_SOCK; 02:03:30 unset SSH_AGENT_PID; 02:03:30 echo Agent pid 39 killed; 02:03:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:31 + git semver [Pipeline] } 02:03:31 $ docker stop --time=1 ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 02:03:32 $ docker rm -f ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:03:33 02:03:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:03:33 0.23.1-centos7: Pulling from edgex-lftools 02:03:33 ab5ef0e58194: Pulling fs layer 02:03:33 9712f1f96733: Pulling fs layer 02:03:33 63f879dbbcfc: Pulling fs layer 02:03:33 0d9ebad4ef96: Pulling fs layer 02:03:33 e9a5061849ea: Pulling fs layer 02:03:33 d747dcd14b5f: Pulling fs layer 02:03:33 2de7ff778b66: Pulling fs layer 02:03:33 e9a5061849ea: Waiting 02:03:33 d747dcd14b5f: Waiting 02:03:33 0d9ebad4ef96: Waiting 02:03:33 2de7ff778b66: Waiting 02:03:33 9712f1f96733: Download complete 02:03:34 63f879dbbcfc: Verifying Checksum 02:03:34 63f879dbbcfc: Download complete 02:03:34 e9a5061849ea: Verifying Checksum 02:03:34 e9a5061849ea: Download complete 02:03:34 d747dcd14b5f: Verifying Checksum 02:03:34 d747dcd14b5f: Download complete 02:03:34 ab5ef0e58194: Verifying Checksum 02:03:34 ab5ef0e58194: Download complete 02:03:34 0d9ebad4ef96: Verifying Checksum 02:03:34 0d9ebad4ef96: Download complete 02:03:34 2de7ff778b66: Verifying Checksum 02:03:34 2de7ff778b66: Download complete 02:03:36 ab5ef0e58194: Pull complete 02:03:36 9712f1f96733: Pull complete 02:03:37 63f879dbbcfc: Pull complete 02:03:42 0d9ebad4ef96: Pull complete 02:03:42 e9a5061849ea: Pull complete 02:03:42 d747dcd14b5f: Pull complete 02:03:43 2de7ff778b66: Pull complete 02:03:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:03:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:03:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:43 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 02:03:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:03:45 $ docker top 37d3fae20cb8e17b8907c7893079222980868ace47dc7193401b51de5345e94a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:03:45 provisioning config files... 02:03:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4298004695723903227tmp 02:03:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7819462895572626206tmp 02:03:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8298605826592614647tmp [Pipeline] { [Pipeline] echo 02:03:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:03:46 ---> sigul-configuration.sh 02:03:46 gpg: directory `/root/.gnupg' created 02:03:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:03:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:03:46 gpg: keyring `/root/.gnupg/secring.gpg' created 02:03:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:03:46 gpg: CAST5 encrypted data 02:03:46 gpg: encrypted with 1 passphrase 02:03:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:03:46 + mkdir /home/jenkins 02:03:46 + mkdir /home/jenkins/sigul [Pipeline] sh 02:03:46 + 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 02:03:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:03:46 ---> sigul-install.sh 02:03:46 Sigul already installed; skipping installation. [Pipeline] sh 02:03:47 + git tag --list 02:03:47 v1.0.0 02:03:47 v1.1.0 02:03:47 v1.1.1 02:03:47 v1.1.2 02:03:47 v1.2.0 02:03:47 v1.2.1 02:03:47 v2.0.0 02:03:47 v2.1.0 02:03:47 v2.1.1 02:03:47 v2.1.1-dev.1 02:03:47 v2.1.1-dev.2 02:03:47 v2.1.1-dev.3 02:03:47 v2.2.0 02:03:47 v2.2.1-dev.1 02:03:47 v2.2.1-dev.2 02:03:47 v2.2.1-dev.3 02:03:47 v2.2.1-dev.4 02:03:47 v2.2.1-dev.5 02:03:47 v2.2.1-dev.6 02:03:47 v2.2.1-dev.7 02:03:47 v2.2.1-dev.8 02:03:47 v2.2.1-dev.9 [Pipeline] sh 02:03:47 + lftools sign git-tag v2.2.1-dev.9 02:03:48 Signing Git tag with Sigul... 02:03:48 Signing v2.2.1-dev.9 [Pipeline] echo 02:03:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:03:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:03:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:03:48 $ docker stop --time=1 37d3fae20cb8e17b8907c7893079222980868ace47dc7193401b51de5345e94a 02:03:49 $ docker rm -f 37d3fae20cb8e17b8907c7893079222980868ace47dc7193401b51de5345e94a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:03:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:50 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 02:03: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:03:51 $ docker top 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:51 [ssh-agent] Looking for ssh-agent implementation... 02:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:51 $ docker exec 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd ssh-agent 02:03:51 SSH_AUTH_SOCK=/tmp/ssh-9jRZH0xEQxVP/agent.33 02:03:51 SSH_AGENT_PID=39 02:03:51 Running ssh-add (command line suppressed) 02:03:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8583196891888017751.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8583196891888017751.key) 02:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:52 + git semver bump pre 02:03:52 2022-07-12 02:03:52,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:52 2022-07-12 02:03:52,276 [bump_version] DEBUG bumping version:2.2.1-dev.9 on axis:pre with prefix:dev 02:03:52 2022-07-12 02:03:52,276 [bump_version] DEBUG bumped version:2.2.1-dev.10 02:03:52 2022-07-12 02:03:52,276 [write_version] DEBUG write version:2.2.1-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 02:03:52 2022-07-12 02:03:52,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:52 2022-07-12 02:03:52,276 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:52 2022-07-12 02:03:52,278 [execute] INFO git cat-file --batch-check 02:03:52 2022-07-12 02:03:52,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:03:52 2022-07-12 02:03:52,282 [execute] INFO git cat-file --batch 02:03:52 2022-07-12 02:03:52,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:03:52 2022-07-12 02:03:52,286 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:52 2.2.1-dev.10 [Pipeline] } 02:03:52 $ docker exec --env ******** --env ******** 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd ssh-agent -k 02:03:52 unset SSH_AUTH_SOCK; 02:03:52 unset SSH_AGENT_PID; 02:03:52 echo Agent pid 39 killed; 02:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:53 + git semver [Pipeline] } 02:03:53 $ docker stop --time=1 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd 02:03:54 $ docker rm -f 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd [Pipeline] // withDockerContainer [Pipeline] sh 02:03:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:55 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 02:03:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:03:55 $ docker top 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a -eo pid,comm 02:03:55 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). 02:03:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:56 [ssh-agent] Looking for ssh-agent implementation... 02:03:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:56 $ docker exec 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a ssh-agent 02:03:56 SSH_AUTH_SOCK=/tmp/ssh-WzLN92NMUrqS/agent.33 02:03:56 SSH_AGENT_PID=39 02:03:56 Running ssh-add (command line suppressed) 02:03:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_715097886610142463.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_715097886610142463.key) 02:03:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:56 + git semver push 02:03:56 2022-07-12 02:03:56,951 [run_push] DEBUG push 02:03:56 2022-07-12 02:03:56,952 [execute] INFO git cat-file --batch-check 02:03:56 2022-07-12 02:03:56,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:03:56 2022-07-12 02:03:56,956 [execute] INFO git rev-list cf8365977cd6e6861852c9d4f83a71658770196c -- 02:03:56 2022-07-12 02:03:56,956 [execute] DEBUG Popen(['git', 'rev-list', 'cf8365977cd6e6861852c9d4f83a71658770196c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:03:56 2022-07-12 02:03:56,962 [execute] INFO git fetch -v origin 02:03:56 2022-07-12 02:03:56,963 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:03:57 2022-07-12 02:03:57,427 [run_push] DEBUG no remote changes detected 02:03:57 2022-07-12 02:03:57,427 [execute] INFO git push origin semver 02:03:57 2022-07-12 02:03:57,428 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:03:58 2022-07-12 02:03:58,127 [run_push] DEBUG push all version tags 02:03:58 2022-07-12 02:03:58,127 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:03:58 2022-07-12 02:03:58,128 [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) 02:03:59 2022-07-12 02:03:58,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:03:59 2.2.1-dev.10 [Pipeline] } 02:03:59 $ docker exec --env ******** --env ******** 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a ssh-agent -k 02:03:59 unset SSH_AUTH_SOCK; 02:03:59 unset SSH_AGENT_PID; 02:03:59 echo Agent pid 39 killed; 02:03:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:59 + git semver [Pipeline] } 02:03:59 $ docker stop --time=1 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a 02:04:01 $ docker rm -f 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a [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 02:04:01 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:04:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:04:01 total 16 02:04:01 drwxr-xr-x 3 root root 4096 Jul 12 01:54 . 02:04:01 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 02:03 .. 02:04:01 drwxr-xr-x 2 root root 4096 Jul 12 01:54 cost 02:04:01 -rw-r--r-- 1 root root 84 Jul 12 01:54 cost.csv 02:04:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:04:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:04:01 total 16 02:04:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:54 . 02:04:01 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 02:03 .. 02:04:01 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:54 cost 02:04:01 -rw-r--r-- 1 jenkins jenkins 84 Jul 12 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:04:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:04:02 ---> package-listing.sh 02:04:02 ++ facter osfamily 02:04:02 ++ tr '[:upper:]' '[:lower:]' 02:04:03 + OS_FAMILY=debian 02:04:03 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:04:03 + START_PACKAGES=/tmp/packages_start.txt 02:04:03 + END_PACKAGES=/tmp/packages_end.txt 02:04:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:04:03 + PACKAGES=/tmp/packages_start.txt 02:04:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:04:03 + PACKAGES=/tmp/packages_end.txt 02:04:03 + case "${OS_FAMILY}" in 02:04:03 + dpkg -l 02:04:03 + grep '^ii' 02:04:03 + '[' -f /tmp/packages_start.txt ']' 02:04:03 + '[' -f /tmp/packages_end.txt ']' 02:04:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:04:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:04:03 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:04:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:04:03 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 02:04:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:04 prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container 02:04:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:04:04 $ docker top dc256f420fe5fa1b96007d4f9254544957da737be601a29e3e023f31c7437571 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:04 + touch /tmp/pre-build-complete [Pipeline] sh 02:04:05 + mkdir -p /var/log/sysstat [Pipeline] sh 02:04:05 + ls /var/log/sa-host 02:04:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:05 provisioning config files... 02:04:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1331539996123484060tmp [Pipeline] { [Pipeline] echo 02:04:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:04:05 ---> create-netrc.sh [Pipeline] } 02:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:04:06 ---> python-tools-install.sh [Pipeline] echo 02:04:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:04:06 ---> sudo-logs.sh 02:04:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:04:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:04:06 ---> job-cost.sh 02:04:06 lf-activate-venv: SKIPPING 02:04:06 DEBUG: total: 0.2199999988079071 02:04:06 INFO: Retrieving Stack Cost... 02:04:07 INFO: Retrieving Pricing Info for: v3-standard-8 02:04:07 INFO: Archiving Costs [Pipeline] echo 02:04:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:04:07 ---> logs-deploy.sh 02:04:07 lf-activate-venv: SKIPPING 02:04:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/52 02:04:07 INFO: archiving workspace using pattern(s): 02:04:08 Archives upload complete. 02:04:09 INFO: archiving logs to Nexus