Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2b4310d658eb26855889a332446806987507426 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-ssh17755101400941137477.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1060556701699876747.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12073293412378427502.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6443625496781035946.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh844985619812589766.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15086 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 c2b4310d658eb26855889a332446806987507426 (main) Commit message: "docs: Add main branch Warning (#316)" > 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 c2b4310d658eb26855889a332446806987507426 # timeout=10 > git rev-list --no-walk ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:29 ========================================================= 23:08:29 EdgeX Global Pipelines Version Info 23:08:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:30 ------------------- 23:08:30 stable info: 23:08:30 ------------------- 23:08:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:08:30 Message: update stable to v1.0.249 23:08:30 ------------------- 23:08:30 experimental info: 23:08:30 ------------------- 23:08:30 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:08:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2b4310d658eb26855889a332446806987507426 [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2b4310 [Pipeline] echo 23:08:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:31 provisioning config files... 23:08:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8218955263149935660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:31 ---> docker-login.sh 23:08:31 nexus3.edgexfoundry.org:10001 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10002 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10003 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10004 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 docker.io 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 ---> docker-login.sh ends [Pipeline] } 23:08:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:08:33 + git rev-list -1 --merges c2b4310d658eb26855889a332446806987507426~1..c2b4310d658eb26855889a332446806987507426 [Pipeline] echo 23:08:33 -----------> git rev-list -1 --merges c2b4310d658eb26855889a332446806987507426~1..c2b4310d658eb26855889a332446806987507426 c2b4310d658eb26855889a332446806987507426 [false] [Pipeline] sh 23:08:33 + git log --format=format:%s -1 c2b4310d658eb26855889a332446806987507426 [Pipeline] echo 23:08:33 ========================================================= 23:08:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:08:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:33 + git log --format=format:%s -1 c2b4310d658eb26855889a332446806987507426 [Pipeline] echo 23:08:33 [semverPrep] GIT_COMMIT: c2b4310d658eb26855889a332446806987507426, Commit Message: docs: Add main branch Warning (#316) [Pipeline] echo 23:08:33 [semverPrep] This is not a build commit. [Pipeline] sh 23:08:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:34 + grep -v github /etc/ssh/ssh_known_hosts 23:08:34 + [ -e /tmp/ssh_known_hosts ] 23:08:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:08:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:08:34 + sudo tee -a /etc/ssh/ssh_known_hosts 23:08:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:34 23:08:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:35 0.1.4: Pulling from edgex-devops/py-git-semver 23:08:35 b85a868b505f: Pulling fs layer 23:08:35 e2be974225ed: Pulling fs layer 23:08:35 339a4e72a1f5: Pulling fs layer 23:08:35 988bab9f4d93: Pulling fs layer 23:08:35 1469e6f7b9e6: Pulling fs layer 23:08:35 eaf3925da568: Pulling fs layer 23:08:35 bab4dde63d76: Pulling fs layer 23:08:35 bde34c3a00c8: Pulling fs layer 23:08:35 b352a97aabf1: Pulling fs layer 23:08:35 4872d77fe225: Pulling fs layer 23:08:35 5851b861e8e6: Pulling fs layer 23:08:35 1469e6f7b9e6: Waiting 23:08:35 988bab9f4d93: Waiting 23:08:35 eaf3925da568: Waiting 23:08:35 bab4dde63d76: Waiting 23:08:35 bde34c3a00c8: Waiting 23:08:35 b352a97aabf1: Waiting 23:08:35 4872d77fe225: Waiting 23:08:35 5851b861e8e6: Waiting 23:08:35 e2be974225ed: Verifying Checksum 23:08:35 e2be974225ed: Download complete 23:08:35 988bab9f4d93: Download complete 23:08:35 1469e6f7b9e6: Verifying Checksum 23:08:35 1469e6f7b9e6: Download complete 23:08:35 eaf3925da568: Verifying Checksum 23:08:35 eaf3925da568: Download complete 23:08:35 339a4e72a1f5: Verifying Checksum 23:08:35 339a4e72a1f5: Download complete 23:08:35 bde34c3a00c8: Verifying Checksum 23:08:35 bde34c3a00c8: Download complete 23:08:35 b352a97aabf1: Download complete 23:08:35 4872d77fe225: Verifying Checksum 23:08:35 4872d77fe225: Download complete 23:08:35 5851b861e8e6: Download complete 23:08:35 b85a868b505f: Verifying Checksum 23:08:35 b85a868b505f: Download complete 23:08:35 bab4dde63d76: Verifying Checksum 23:08:35 bab4dde63d76: Download complete 23:08:36 b85a868b505f: Pull complete 23:08:36 e2be974225ed: Pull complete 23:08:37 339a4e72a1f5: Pull complete 23:08:37 988bab9f4d93: Pull complete 23:08:37 1469e6f7b9e6: Pull complete 23:08:37 eaf3925da568: Pull complete 23:08:39 bab4dde63d76: Pull complete 23:08:39 bde34c3a00c8: Pull complete 23:08:39 b352a97aabf1: Pull complete 23:08:39 4872d77fe225: Pull complete 23:08:39 5851b861e8e6: Pull complete 23:08:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:08:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:39 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:08:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:41 $ docker top 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 -eo pid,comm 23:08:41 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). 23:08:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:41 [ssh-agent] Looking for ssh-agent implementation... 23:08:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:41 $ docker exec 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent 23:08:41 SSH_AUTH_SOCK=/tmp/ssh-A57xltrlTdc5/agent.33 23:08:41 SSH_AGENT_PID=39 23:08:41 Running ssh-add (command line suppressed) 23:08:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12951817560225621416.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12951817560225621416.key) 23:08:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:42 + git tag --points-at HEAD [Pipeline] } 23:08:42 $ docker exec --env ******** --env ******** 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent -k 23:08:42 unset SSH_AUTH_SOCK; 23:08:42 unset SSH_AGENT_PID; 23:08:42 echo Agent pid 39 killed; 23:08:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:42 [ssh-agent] Looking for ssh-agent implementation... 23:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:42 $ docker exec 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent 23:08:42 SSH_AUTH_SOCK=/tmp/ssh-lKJwsuTI3zV9/agent.73 23:08:42 SSH_AGENT_PID=79 23:08:42 Running ssh-add (command line suppressed) 23:08:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10148590532581935758.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10148590532581935758.key) 23:08:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:43 + git semver init 23:08:43 2023-05-10 23:08:43,227 [run_init] DEBUG init version:0.0.0 force:False 23:08:43 2023-05-10 23:08:43,228 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:08:43 2023-05-10 23:08:43,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:08:43 2023-05-10 23:08:43,229 [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) 23:08:44 2023-05-10 23:08:44,370 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:08:44 2023-05-10 23:08:44,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:08:44 2023-05-10 23:08:44,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:08:44 2023-05-10 23:08:44,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:08:44 3.0.0-dev.40 [Pipeline] } 23:08:44 $ docker exec --env ******** --env ******** 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent -k 23:08:44 unset SSH_AUTH_SOCK; 23:08:44 unset SSH_AGENT_PID; 23:08:44 echo Agent pid 79 killed; 23:08:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:45 + git semver [Pipeline] } 23:08:45 $ docker stop --time=1 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 23:08:46 $ docker rm -f --volumes 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:47 Stashed 1 file(s) [Pipeline] echo 23:08:47 [edgeXSemver]: initialized semver on version 3.0.0-dev.40 [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 23:08:47 provisioning config files... 23:08:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8471946979797651116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:47 ---> docker-login.sh 23:08:47 nexus3.edgexfoundry.org:10001 23:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:47 Configure a credential helper to remove this warning. See 23:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:47 23:08:47 Login Succeeded 23:08:47 nexus3.edgexfoundry.org:10002 23:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:47 Configure a credential helper to remove this warning. See 23:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:47 23:08:47 Login Succeeded 23:08:47 nexus3.edgexfoundry.org:10003 23:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:47 Configure a credential helper to remove this warning. See 23:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:47 23:08:47 Login Succeeded 23:08:47 nexus3.edgexfoundry.org:10004 23:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:47 Configure a credential helper to remove this warning. See 23:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:47 23:08:47 Login Succeeded 23:08:47 docker.io 23:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:48 Configure a credential helper to remove this warning. See 23:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:48 23:08:48 Login Succeeded 23:08:48 ---> docker-login.sh ends [Pipeline] } 23:08:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:48 ========================================================= 23:08:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:08:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:08:48 Sending build context to Docker daemon 10.91MB 23:08:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:08:48 Step 2/12 : FROM ${BASE} AS builder 23:08:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:08:48 f56be85fc22e: Pulling fs layer 23:08:48 85791d961cd3: Pulling fs layer 23:08:48 d694b5ae8c79: Pulling fs layer 23:08:48 9f32a84ed3da: Pulling fs layer 23:08:48 4d19c01a9841: Pulling fs layer 23:08:48 9325e15d5711: Pulling fs layer 23:08:48 556b6ee489ea: Pulling fs layer 23:08:48 c5a4b2cf53e6: Pulling fs layer 23:08:48 9f32a84ed3da: Waiting 23:08:48 4d19c01a9841: Waiting 23:08:48 9325e15d5711: Waiting 23:08:48 556b6ee489ea: Waiting 23:08:48 c5a4b2cf53e6: Waiting 23:08:48 85791d961cd3: Verifying Checksum 23:08:48 85791d961cd3: Download complete 23:08:48 9f32a84ed3da: Verifying Checksum 23:08:48 9f32a84ed3da: Download complete 23:08:48 4d19c01a9841: Verifying Checksum 23:08:48 4d19c01a9841: Download complete 23:08:48 f56be85fc22e: Verifying Checksum 23:08:48 f56be85fc22e: Download complete 23:08:48 9325e15d5711: Verifying Checksum 23:08:48 9325e15d5711: Download complete 23:08:48 f56be85fc22e: Pull complete 23:08:49 85791d961cd3: Pull complete 23:08:49 c5a4b2cf53e6: Verifying Checksum 23:08:49 c5a4b2cf53e6: Download complete 23:08:49 d694b5ae8c79: Verifying Checksum 23:08:49 d694b5ae8c79: Download complete 23:08:49 556b6ee489ea: Verifying Checksum 23:08:49 556b6ee489ea: Download complete 23:08:52 d694b5ae8c79: Pull complete 23:08:52 9f32a84ed3da: Pull complete 23:08:52 4d19c01a9841: Pull complete 23:08:52 9325e15d5711: Pull complete 23:08:55 556b6ee489ea: Pull complete 23:08:56 c5a4b2cf53e6: Pull complete 23:08:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:08:56 ---> c4be618373d6 23:08:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:08:59 ---> Running in 8deba592ed7c 23:08:59 Removing intermediate container 8deba592ed7c 23:08:59 ---> 13ffd7f71e1d 23:08:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:59 ---> Running in 7adf275ea7c5 23:08:59 Removing intermediate container 7adf275ea7c5 23:08:59 ---> 47eb12eca3fc 23:08:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:08:59 ---> Running in 719054be0b5d 23:08:59 Removing intermediate container 719054be0b5d 23:08:59 ---> acb330392c05 23:08:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:08:59 ---> Running in 31e38859a253 23:08:59 Removing intermediate container 31e38859a253 23:08:59 ---> 13be28c6d008 23:08:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:08:59 ---> Running in 998fecb3e09f 23:09:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:09:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:09:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:09:00 (2/4) Installing libedit (20221030.3.1-r0) 23:09:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:09:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:09:00 Executing busybox-1.35.0-r29.trigger 23:09:00 OK: 269 MiB in 57 packages 23:09:01 Removing intermediate container 998fecb3e09f 23:09:01 ---> 251cc20aa566 23:09:01 Step 8/12 : WORKDIR /device-rest-go 23:09:01 ---> Running in a94a7cfcbc8c 23:09:01 Removing intermediate container a94a7cfcbc8c 23:09:01 ---> 108000a3399a 23:09:01 Step 9/12 : COPY go.mod vendor* ./ 23:09:01 ---> b5a83244c90e 23:09:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:01 ---> Running in fba2235f0d28 23:09:02 Still waiting to schedule task 23:09:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:09:23 Removing intermediate container fba2235f0d28 23:09:23 ---> 5b1c626b789d 23:09:23 Step 11/12 : COPY . . 23:09:23 ---> 1c8f317ac7f8 23:09:23 Step 12/12 : RUN $MAKE 23:09:23 ---> Running in b3dfc3081d7d 23:09:23 noop 23:09:24 Removing intermediate container b3dfc3081d7d 23:09:24 ---> e00c7b0b391d 23:09:24 Successfully built e00c7b0b391d 23:09:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:24 + docker inspect -f . ci-base-image-x86_64 23:09:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:24 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:09:24 $ docker top 0ec7b307de4cea4d5e31f729d40b47db6f5bec79da2d6d34f7f2d39089ce26c4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:25 + go version 23:09:25 go version go1.20.2 linux/amd64 [Pipeline] } 23:09:25 $ docker stop --time=1 0ec7b307de4cea4d5e31f729d40b47db6f5bec79da2d6d34f7f2d39089ce26c4 23:09:26 $ docker rm -f --volumes 0ec7b307de4cea4d5e31f729d40b47db6f5bec79da2d6d34f7f2d39089ce26c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:26 + docker inspect -f . ci-base-image-x86_64 23:09:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:26 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:09:27 $ docker top ea3ad084a16d0700a03e20f50d5681ab052e9c664c54f0babcf777c8583614d0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:09:27 + make test 23:09:27 go test ./... -coverprofile=coverage.out ./... 23:09:32 ? github.com/edgexfoundry/device-rest-go [no test files] 23:09:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:09:42 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 23:09:48 go vet ./... 23:09:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:51 ./bin/test-attribution-txt.sh [Pipeline] echo 23:09:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:51 $ docker stop --time=1 ea3ad084a16d0700a03e20f50d5681ab052e9c664c54f0babcf777c8583614d0 23:09:54 $ docker rm -f --volumes ea3ad084a16d0700a03e20f50d5681ab052e9c664c54f0babcf777c8583614d0 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:09:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:09:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:09:55 + ls -al . 23:09:55 total 184 23:09:55 drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:09 . 23:09:55 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:08 .. 23:09:55 -rw-rw-r-- 1 jenkins jenkins 151 May 10 23:08 .dockerignore 23:09:55 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:08 .git 23:09:55 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:08 .github 23:09:55 -rw-rw-r-- 1 jenkins jenkins 329 May 10 23:08 .gitignore 23:09:55 -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:08 .golangci.yml 23:09:55 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:08 .semver 23:09:55 -rw-rw-r-- 1 jenkins jenkins 9331 May 10 23:08 Attribution.txt 23:09:55 -rw-rw-r-- 1 jenkins jenkins 13085 May 10 23:08 CHANGELOG.md 23:09:55 -rw-rw-r-- 1 jenkins jenkins 1578 May 10 23:08 Dockerfile 23:09:55 -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:08 GOVERNANCE.md 23:09:55 -rw-rw-r-- 1 jenkins jenkins 680 May 10 23:08 Jenkinsfile 23:09:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:08 LICENSE 23:09:55 -rw-rw-r-- 1 jenkins jenkins 1779 May 10 23:08 Makefile 23:09:55 -rw-rw-r-- 1 jenkins jenkins 620 May 10 23:08 OWNERS.md 23:09:55 -rw-rw-r-- 1 jenkins jenkins 15827 May 10 23:08 README.md 23:09:55 -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:08 VERSION 23:09:55 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:08 bin 23:09:55 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:08 cmd 23:09:55 -rw-r--r-- 1 jenkins jenkins 14663 May 10 23:09 coverage.out 23:09:55 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:08 driver 23:09:55 -rw-rw-r-- 1 jenkins jenkins 3402 May 10 23:08 go.mod 23:09:55 -rw-rw-r-- 1 jenkins jenkins 31328 May 10 23:08 go.sum 23:09:55 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:08 snap 23:09:55 -rw-rw-r-- 1 jenkins jenkins 713 May 10 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:56 + 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=c2b4310d658eb26855889a332446806987507426 --label arch=amd64 --label version=3.0.0-dev.40 . 23:09:56 Sending build context to Docker daemon 10.93MB 23:09:56 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:09:56 Step 2/25 : FROM ${BASE} AS builder 23:09:56 ---> e00c7b0b391d 23:09:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:09:56 ---> Running in 80cac9fcea09 23:09:56 Removing intermediate container 80cac9fcea09 23:09:56 ---> 4b2c58508e4f 23:09:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:56 ---> Running in c23d44e0b83e 23:09:56 Removing intermediate container c23d44e0b83e 23:09:56 ---> e550e6631817 23:09:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:09:56 ---> Running in 0883ffd4a260 23:09:56 Removing intermediate container 0883ffd4a260 23:09:56 ---> 6ad55cd988b2 23:09:56 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:09:56 ---> Running in 8bc617ebe978 23:09:56 Removing intermediate container 8bc617ebe978 23:09:56 ---> 1f0eba8af075 23:09:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:56 ---> Running in a4fd4fa1682e 23:09:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:09:57 OK: 269 MiB in 57 packages 23:09:57 Removing intermediate container a4fd4fa1682e 23:09:57 ---> c1cd41c48445 23:09:57 Step 8/25 : WORKDIR /device-rest-go 23:09:57 ---> Running in e7de7515ea10 23:09:57 Removing intermediate container e7de7515ea10 23:09:57 ---> 2949c71982ef 23:09:57 Step 9/25 : COPY go.mod vendor* ./ 23:09:57 ---> 3eb7d3290023 23:09:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:57 ---> Running in 89f8773351f3 23:09:58 Removing intermediate container 89f8773351f3 23:09:58 ---> f2e6d3482f13 23:09:58 Step 11/25 : COPY . . 23:09:59 ---> 5deb4e4a1b42 23:09:59 Step 12/25 : RUN $MAKE 23:09:59 ---> Running in a296a88e7437 23:09:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:10:17 Removing intermediate container a296a88e7437 23:10:17 ---> 8e4b87b815de 23:10:17 Step 13/25 : FROM alpine:3.17 23:10:17 3.17: Pulling from library/alpine 23:10:17 f56be85fc22e: Already exists 23:10:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:10:17 Status: Downloaded newer image for alpine:3.17 23:10:17 ---> 9ed4aefc74f6 23:10:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:10:17 ---> Running in bb8ef105cfa1 23:10:17 Removing intermediate container bb8ef105cfa1 23:10:17 ---> 001221a9e4a1 23:10:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:10:17 ---> Running in ab00fb85c895 23:10:17 Removing intermediate container ab00fb85c895 23:10:17 ---> 4999890f42dc 23:10:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:10:17 ---> Running in 7ac1eb94feec 23:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:10:18 (1/1) Installing dumb-init (1.2.5-r2) 23:10:18 Executing busybox-1.35.0-r29.trigger 23:10:18 OK: 7 MiB in 16 packages 23:10:18 Removing intermediate container 7ac1eb94feec 23:10:18 ---> d816de0a20ec 23:10:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:10:19 ---> 124df801b514 23:10:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:10:19 ---> 62b648ce924c 23:10:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:10:19 ---> 1b7fb0140795 23:10:19 Step 20/25 : EXPOSE 59986 23:10:19 ---> Running in 010672191a2f 23:10:19 Removing intermediate container 010672191a2f 23:10:19 ---> caafc7fd3b0e 23:10:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:10:19 ---> Running in 73d69063d51e 23:10:19 Removing intermediate container 73d69063d51e 23:10:19 ---> 3e1135c17b11 23:10:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:10:19 ---> Running in 208f1fc64a4f 23:10:20 Removing intermediate container 208f1fc64a4f 23:10:20 ---> fb3f42e9d389 23:10:20 Step 23/25 : LABEL arch=amd64 23:10:20 ---> Running in e7f78c25be5c 23:10:20 Removing intermediate container e7f78c25be5c 23:10:20 ---> 9510b1b3dd50 23:10:20 Step 24/25 : LABEL git_sha=c2b4310d658eb26855889a332446806987507426 23:10:20 ---> Running in 8dec33f4da6d 23:10:20 Removing intermediate container 8dec33f4da6d 23:10:20 ---> 056353d2de6a 23:10:20 Step 25/25 : LABEL version=3.0.0-dev.40 23:10:20 ---> Running in 572b73841bd9 23:10:20 Removing intermediate container 572b73841bd9 23:10:20 ---> 1d28641312cd 23:10:20 [Warning] One or more build-args [ARCH] were not consumed 23:10:20 Successfully built 1d28641312cd 23:10:20 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:20 provisioning config files... 23:10:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8976343712889374448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:20 ---> docker-login.sh 23:10:20 nexus3.edgexfoundry.org:10001 23:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:20 Configure a credential helper to remove this warning. See 23:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:20 23:10:20 Login Succeeded 23:10:20 nexus3.edgexfoundry.org:10002 23:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:20 Configure a credential helper to remove this warning. See 23:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:20 23:10:20 Login Succeeded 23:10:20 nexus3.edgexfoundry.org:10003 23:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:20 Configure a credential helper to remove this warning. See 23:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:20 23:10:20 Login Succeeded 23:10:20 nexus3.edgexfoundry.org:10004 23:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:20 Configure a credential helper to remove this warning. See 23:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:20 23:10:20 Login Succeeded 23:10:20 docker.io 23:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:21 Configure a credential helper to remove this warning. See 23:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:21 23:10:21 Login Succeeded 23:10:21 ---> docker-login.sh ends [Pipeline] } 23:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:10:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:10:21 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:10:21 c2b4310d658eb26855889a332446806987507426 23:10:21 latest 23:10:21 3.0.0-dev.40 23:10:21 c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 23:10:21 main 23:10:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426 23:10:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:21 236c10dee056: Preparing 23:10:21 9414cb1c9338: Preparing 23:10:21 0f6e12c9a8a2: Preparing 23:10:21 eb0103cce0fe: Preparing 23:10:21 f1417ff83b31: Preparing 23:10:21 f1417ff83b31: Layer already exists 23:10:21 9414cb1c9338: Pushed 23:10:21 236c10dee056: Pushed 23:10:21 eb0103cce0fe: Pushed 23:10:24 0f6e12c9a8a2: Pushed 23:10:24 c2b4310d658eb26855889a332446806987507426: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:25 236c10dee056: Preparing 23:10:25 9414cb1c9338: Preparing 23:10:25 0f6e12c9a8a2: Preparing 23:10:25 eb0103cce0fe: Preparing 23:10:25 f1417ff83b31: Preparing 23:10:25 9414cb1c9338: Layer already exists 23:10:25 eb0103cce0fe: Layer already exists 23:10:25 236c10dee056: Layer already exists 23:10:25 f1417ff83b31: Layer already exists 23:10:25 0f6e12c9a8a2: Layer already exists 23:10:25 latest: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.40 23:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:25 236c10dee056: Preparing 23:10:25 9414cb1c9338: Preparing 23:10:25 0f6e12c9a8a2: Preparing 23:10:25 eb0103cce0fe: Preparing 23:10:25 f1417ff83b31: Preparing 23:10:25 f1417ff83b31: Layer already exists 23:10:25 eb0103cce0fe: Layer already exists 23:10:25 0f6e12c9a8a2: Layer already exists 23:10:25 236c10dee056: Layer already exists 23:10:25 9414cb1c9338: Layer already exists 23:10:25 3.0.0-dev.40: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 23:10:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:26 236c10dee056: Preparing 23:10:26 9414cb1c9338: Preparing 23:10:26 0f6e12c9a8a2: Preparing 23:10:26 eb0103cce0fe: Preparing 23:10:26 f1417ff83b31: Preparing 23:10:26 9414cb1c9338: Layer already exists 23:10:26 f1417ff83b31: Layer already exists 23:10:26 eb0103cce0fe: Layer already exists 23:10:26 0f6e12c9a8a2: Layer already exists 23:10:26 236c10dee056: Layer already exists 23:10:26 c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:10:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:10:27 236c10dee056: Preparing 23:10:27 9414cb1c9338: Preparing 23:10:27 0f6e12c9a8a2: Preparing 23:10:27 eb0103cce0fe: Preparing 23:10:27 f1417ff83b31: Preparing 23:10:27 eb0103cce0fe: Layer already exists 23:10:27 9414cb1c9338: Layer already exists 23:10:27 f1417ff83b31: Layer already exists 23:10:27 0f6e12c9a8a2: Layer already exists 23:10:27 236c10dee056: Layer already exists 23:10:27 main: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:10:27 ===================================================== [Pipeline] echo 23:10:27 taggedImages: 23:10:27 - nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426 23:10:27 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:10:27 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.40 23:10:27 - nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 23:10:27 - 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 23:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:27 23:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:27 latest: Pulling from edgex-lftools-log-publisher 23:10:27 5eb5b503b376: Pulling fs layer 23:10:27 5c69ac0246d0: Pulling fs layer 23:10:27 ec43610c2a17: Pulling fs layer 23:10:27 3a2ae6a8a46f: Pulling fs layer 23:10:27 33b1e0a273af: Pulling fs layer 23:10:27 5d3b04190fa2: Pulling fs layer 23:10:27 2f39f015ded8: Pulling fs layer 23:10:27 33b1e0a273af: Waiting 23:10:27 5d3b04190fa2: Waiting 23:10:27 2f39f015ded8: Waiting 23:10:27 3a2ae6a8a46f: Waiting 23:10:27 5c69ac0246d0: Verifying Checksum 23:10:27 5c69ac0246d0: Download complete 23:10:27 3a2ae6a8a46f: Verifying Checksum 23:10:27 3a2ae6a8a46f: Download complete 23:10:27 33b1e0a273af: Verifying Checksum 23:10:27 33b1e0a273af: Download complete 23:10:27 5d3b04190fa2: Verifying Checksum 23:10:27 5d3b04190fa2: Download complete 23:10:28 ec43610c2a17: Verifying Checksum 23:10:28 ec43610c2a17: Download complete 23:10:28 5eb5b503b376: Verifying Checksum 23:10:28 5eb5b503b376: Download complete 23:10:28 2f39f015ded8: Verifying Checksum 23:10:28 2f39f015ded8: Download complete 23:10:29 5eb5b503b376: Pull complete 23:10:29 5c69ac0246d0: Pull complete 23:10:29 ec43610c2a17: Pull complete 23:10:29 3a2ae6a8a46f: Pull complete 23:10:30 33b1e0a273af: Pull complete 23:10:30 5d3b04190fa2: Pull complete 23:10:34 2f39f015ded8: Pull complete 23:10:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:34 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:10:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:10:36 $ docker top 5ddafd8431b3bc1af4bc93266e4f344e2da94a360cab3a8261697a50e7f8f7ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:36 ---> job-cost.sh 23:10:36 lf-activate-venv: SKIPPING 23:10:36 INFO: No Stack... 23:10:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:37 INFO: Archiving Costs [Pipeline] sh 23:10:37 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:10:37 + cut -d, -f6 [Pipeline] lock 23:10:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] 23:10:37 Resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] did not exist. Created. 23:10:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:10:38 + echo total: 0.2199999988079071 [Pipeline] stash 23:10:38 Stashed 1 file(s) [Pipeline] } 23:10:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 23:10:38 $ docker stop --time=1 5ddafd8431b3bc1af4bc93266e4f344e2da94a360cab3a8261697a50e7f8f7ad 23:10:39 $ docker rm -f --volumes 5ddafd8431b3bc1af4bc93266e4f344e2da94a360cab3a8261697a50e7f8f7ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:13:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15115 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:13:14 Running in /w/workspace/device-rest-go/112 [Pipeline] { [Pipeline] checkout 23:13:14 The recommended git tool is: git 23:13:21 using credential edgex-jenkins-ssh 23:13:21 Cloning the remote Git repository 23:13:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:13:21 > git init /w/workspace/device-rest-go/112 # timeout=10 23:13:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:13:21 > git --version # timeout=10 23:13:21 > git --version # 'git version 2.25.1' 23:13:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:13:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:24 Avoid second fetch 23:13:24 Checking out Revision c2b4310d658eb26855889a332446806987507426 (main) 23:13:25 Commit message: "docs: Add main branch Warning (#316)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:24 > git config core.sparsecheckout # timeout=10 23:13:24 > git checkout -f c2b4310d658eb26855889a332446806987507426 # timeout=10 23:13:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:13:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:13:26 Dload Upload Total Spent Left Speed 23:13:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 23:13:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:13:27 + sudo tee /etc/docker/daemon.new 23:13:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:13:27 { 23:13:27 "registry-mirrors": [ 23:13:27 "https://nexus3.edgexfoundry.org:10001" 23:13:27 ], 23:13:27 "bip": "10.250.0.254/24", 23:13:27 "hosts": [ 23:13:27 "tcp://0.0.0.0:5555", 23:13:27 "unix:///var/run/docker.sock" 23:13:27 ], 23:13:27 "mtu": 1458, 23:13:27 "selinux-enabled": true, 23:13:27 "seccomp-profile": "/etc/docker/seccomp.json" 23:13:27 } [Pipeline] sh 23:13:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:13:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:46 provisioning config files... 23:13:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/112@tmp/config13656162791807234857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:46 ---> docker-login.sh 23:13:46 nexus3.edgexfoundry.org:10001 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10002 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10003 23:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:48 Configure a credential helper to remove this warning. See 23:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:48 23:13:48 Login Succeeded 23:13:48 nexus3.edgexfoundry.org:10004 23:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:48 Configure a credential helper to remove this warning. See 23:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:48 23:13:48 Login Succeeded 23:13:48 docker.io 23:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:49 Configure a credential helper to remove this warning. See 23:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:49 23:13:49 Login Succeeded 23:13:49 ---> docker-login.sh ends [Pipeline] } 23:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:49 ========================================================= 23:13:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:13:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:13:50 Sending build context to Docker daemon 139.3kB 23:13:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:13:51 Step 2/12 : FROM ${BASE} AS builder 23:13:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:13:51 c41833b44d91: Pulling fs layer 23:13:51 ed15518f5707: Pulling fs layer 23:13:51 feae8fd75edb: Pulling fs layer 23:13:51 242c74f7c9fa: Pulling fs layer 23:13:51 3cdef696dda3: Pulling fs layer 23:13:51 2ced38df9373: Pulling fs layer 23:13:51 58f1dce35555: Pulling fs layer 23:13:51 242c74f7c9fa: Waiting 23:13:51 3cdef696dda3: Waiting 23:13:51 2ced38df9373: Waiting 23:13:51 58f1dce35555: Waiting 23:13:51 ed15518f5707: Verifying Checksum 23:13:51 ed15518f5707: Download complete 23:13:51 242c74f7c9fa: Verifying Checksum 23:13:51 242c74f7c9fa: Download complete 23:13:51 3cdef696dda3: Verifying Checksum 23:13:51 3cdef696dda3: Download complete 23:13:51 c41833b44d91: Verifying Checksum 23:13:51 c41833b44d91: Download complete 23:13:52 c41833b44d91: Pull complete 23:13:53 58f1dce35555: Verifying Checksum 23:13:53 58f1dce35555: Download complete 23:13:53 ed15518f5707: Pull complete 23:13:54 feae8fd75edb: Verifying Checksum 23:13:54 feae8fd75edb: Download complete 23:13:54 2ced38df9373: Verifying Checksum 23:13:54 2ced38df9373: Download complete 23:14:04 feae8fd75edb: Pull complete 23:14:05 242c74f7c9fa: Pull complete 23:14:05 3cdef696dda3: Pull complete 23:14:12 2ced38df9373: Pull complete 23:14:14 58f1dce35555: Pull complete 23:14:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:14:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:14:14 ---> fadd8f120f05 23:14:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:14:16 ---> Running in f37b37cda936 23:14:16 Removing intermediate container f37b37cda936 23:14:16 ---> 0083a234675a 23:14:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:14:16 ---> Running in 4cf3d1b9ec5b 23:14:17 Removing intermediate container 4cf3d1b9ec5b 23:14:17 ---> 0203d0608060 23:14:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:14:17 ---> Running in 11bf57d5810b 23:14:17 Removing intermediate container 11bf57d5810b 23:14:17 ---> 6e3acb6d401e 23:14:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:14:17 ---> Running in c23a078fa49e 23:14:18 Removing intermediate container c23a078fa49e 23:14:18 ---> dbcd900b5de1 23:14:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:18 ---> Running in 25e226cf11ff 23:14:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:14:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:14:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:14:21 (2/4) Installing libedit (20221030.3.1-r0) 23:14:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:14:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:14:21 Executing busybox-1.35.0-r29.trigger 23:14:21 OK: 268 MiB in 57 packages 23:14:22 Removing intermediate container 25e226cf11ff 23:14:22 ---> e4698a51c994 23:14:22 Step 8/12 : WORKDIR /device-rest-go 23:14:22 ---> Running in b3d53eec7d0c 23:14:22 Removing intermediate container b3d53eec7d0c 23:14:22 ---> e8d5c9ad0542 23:14:22 Step 9/12 : COPY go.mod vendor* ./ 23:14:23 ---> 8ffcd95c9fde 23:14:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:23 ---> Running in f53b9e90fb01 23:15:31 Removing intermediate container f53b9e90fb01 23:15:31 ---> b972424e4273 23:15:31 Step 11/12 : COPY . . 23:15:31 ---> ccbbd91df1cb 23:15:31 Step 12/12 : RUN $MAKE 23:15:31 ---> Running in 1c344606859a 23:15:31 noop 23:15:31 Removing intermediate container 1c344606859a 23:15:31 ---> bab371198957 23:15:31 Successfully built bab371198957 23:15:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:31 + docker inspect -f . ci-base-image-arm64 23:15:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:31 prd-ubuntu20.04-docker-arm64-4c-16g-15115 does not seem to be running inside a container 23:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/112 -v /w/workspace/device-rest-go/112:/w/workspace/device-rest-go/112:rw,z -v /w/workspace/device-rest-go/112@tmp:/w/workspace/device-rest-go/112@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 23:15:33 $ docker top 40f23e69131f15b582dd26f780ed3b1b13e65c08507d0c1933b5b8c43ebe96aa -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:34 + go version 23:15:34 go version go1.20.2 linux/arm64 [Pipeline] } 23:15:34 $ docker stop --time=1 40f23e69131f15b582dd26f780ed3b1b13e65c08507d0c1933b5b8c43ebe96aa 23:15:36 $ docker rm -f --volumes 40f23e69131f15b582dd26f780ed3b1b13e65c08507d0c1933b5b8c43ebe96aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:36 + docker inspect -f . ci-base-image-arm64 23:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:36 prd-ubuntu20.04-docker-arm64-4c-16g-15115 does not seem to be running inside a container 23:15:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/112 -v /w/workspace/device-rest-go/112:/w/workspace/device-rest-go/112:rw,z -v /w/workspace/device-rest-go/112@tmp:/w/workspace/device-rest-go/112@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 23:15:38 $ docker top 638a0eb85270dfb7e7b9f5fa0fb43dcbca19015cee3038056889ae2a9e8a9f53 -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:39 + git config --global --add safe.directory /w/workspace/device-rest-go/112 [Pipeline] fileExists [Pipeline] sh 23:15:39 + make test 23:15:39 go test ./... -coverprofile=coverage.out ./... 23:16:18 ? github.com/edgexfoundry/device-rest-go [no test files] 23:18:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:18:43 ok github.com/edgexfoundry/device-rest-go/driver 0.122s coverage: 32.2% of statements 23:18:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:18:44 go vet ./... 23:19:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:16 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:16 $ docker stop --time=1 638a0eb85270dfb7e7b9f5fa0fb43dcbca19015cee3038056889ae2a9e8a9f53 23:19:18 $ docker rm -f --volumes 638a0eb85270dfb7e7b9f5fa0fb43dcbca19015cee3038056889ae2a9e8a9f53 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:20 Warning: overwriting stash ‘coverage-report’ 23:19:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:21 + ls -al . 23:19:21 total 180 23:19:21 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:15 . 23:19:21 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 .. 23:19:21 -rw-rw-r-- 1 jenkins jenkins 151 May 10 23:13 .dockerignore 23:19:21 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:13 .git 23:19:21 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 .github 23:19:21 -rw-rw-r-- 1 jenkins jenkins 329 May 10 23:13 .gitignore 23:19:21 -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:13 .golangci.yml 23:19:21 -rw-rw-r-- 1 jenkins jenkins 9331 May 10 23:13 Attribution.txt 23:19:21 -rw-rw-r-- 1 jenkins jenkins 13085 May 10 23:13 CHANGELOG.md 23:19:21 -rw-rw-r-- 1 jenkins jenkins 1578 May 10 23:13 Dockerfile 23:19:21 -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:13 GOVERNANCE.md 23:19:21 -rw-rw-r-- 1 jenkins jenkins 680 May 10 23:13 Jenkinsfile 23:19:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:13 LICENSE 23:19:21 -rw-rw-r-- 1 jenkins jenkins 1779 May 10 23:13 Makefile 23:19:21 -rw-rw-r-- 1 jenkins jenkins 620 May 10 23:13 OWNERS.md 23:19:21 -rw-rw-r-- 1 jenkins jenkins 15827 May 10 23:13 README.md 23:19:21 -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:08 VERSION 23:19:21 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 bin 23:19:21 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 cmd 23:19:21 -rw-r--r-- 1 jenkins jenkins 14663 May 10 23:18 coverage.out 23:19:21 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 driver 23:19:21 -rw-rw-r-- 1 jenkins jenkins 3402 May 10 23:13 go.mod 23:19:21 -rw-rw-r-- 1 jenkins jenkins 31328 May 10 23:13 go.sum 23:19:21 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 snap 23:19:21 -rw-rw-r-- 1 jenkins jenkins 713 May 10 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:21 + 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=c2b4310d658eb26855889a332446806987507426 --label arch=arm64 --label version=3.0.0-dev.40 . 23:19:21 Sending build context to Docker daemon 154.6kB 23:19:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:19:21 Step 2/25 : FROM ${BASE} AS builder 23:19:21 ---> bab371198957 23:19:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:19:22 ---> Running in bf6e39cb2247 23:19:23 Removing intermediate container bf6e39cb2247 23:19:23 ---> 39775293ce22 23:19:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:23 ---> Running in 8dd69175fcce 23:19:23 Removing intermediate container 8dd69175fcce 23:19:23 ---> d05fe1db3d73 23:19:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:23 ---> Running in dbe88beaccb5 23:19:24 Removing intermediate container dbe88beaccb5 23:19:24 ---> af349a8d9c10 23:19:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:19:24 ---> Running in c26eb5cf81ea 23:19:24 Removing intermediate container c26eb5cf81ea 23:19:24 ---> 5d9ba40b0a26 23:19:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:24 ---> Running in 9ddc45f6e5ee 23:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:19:27 OK: 268 MiB in 57 packages 23:19:28 Removing intermediate container 9ddc45f6e5ee 23:19:28 ---> 26cee99bb3d7 23:19:28 Step 8/25 : WORKDIR /device-rest-go 23:19:28 ---> Running in 96d38e0897c5 23:19:28 Removing intermediate container 96d38e0897c5 23:19:28 ---> c44cd7419dce 23:19:28 Step 9/25 : COPY go.mod vendor* ./ 23:19:29 ---> ad590f305688 23:19:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:29 ---> Running in 2e2d68d8f147 23:19:32 Removing intermediate container 2e2d68d8f147 23:19:32 ---> 950dd1182c59 23:19:32 Step 11/25 : COPY . . 23:19:32 ---> a7fb81d40b8a 23:19:32 Step 12/25 : RUN $MAKE 23:19:33 ---> Running in 67d343c55efb 23:19:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:21:56 Removing intermediate container 67d343c55efb 23:21:56 ---> c7c886f3d6c4 23:21:56 Step 13/25 : FROM alpine:3.17 23:21:56 3.17: Pulling from library/alpine 23:21:56 c41833b44d91: Already exists 23:21:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:21:56 Status: Downloaded newer image for alpine:3.17 23:21:56 ---> 51e60588ff2c 23:21:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:21:56 ---> Running in 7854ad31a489 23:21:57 Removing intermediate container 7854ad31a489 23:21:57 ---> f9e9e395c0a3 23:21:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:21:57 ---> Running in 29ff57c144c9 23:21:57 Removing intermediate container 29ff57c144c9 23:21:57 ---> dc0e081b7dfc 23:21:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:21:57 ---> Running in ddf03ff56953 23:21:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:21:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:22:00 (1/1) Installing dumb-init (1.2.5-r2) 23:22:00 Executing busybox-1.35.0-r29.trigger 23:22:00 OK: 8 MiB in 16 packages 23:22:01 Removing intermediate container ddf03ff56953 23:22:01 ---> 4e949e4542a5 23:22:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:22:04 ---> b8a71e98dab2 23:22:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:22:04 ---> 1e7ed2653cad 23:22:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:22:05 ---> 84a7366891cb 23:22:05 Step 20/25 : EXPOSE 59986 23:22:05 ---> Running in 114cfb5588f9 23:22:05 Removing intermediate container 114cfb5588f9 23:22:05 ---> f13eefaebfb6 23:22:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:22:05 ---> Running in 4cec5cb4baf1 23:22:05 Removing intermediate container 4cec5cb4baf1 23:22:05 ---> ab62b28752f8 23:22:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:22:05 ---> Running in c4af611179b7 23:22:06 Removing intermediate container c4af611179b7 23:22:06 ---> 00efd9736648 23:22:06 Step 23/25 : LABEL arch=arm64 23:22:06 ---> Running in a39d8e78082d 23:22:06 Removing intermediate container a39d8e78082d 23:22:06 ---> 19d86ff927c2 23:22:06 Step 24/25 : LABEL git_sha=c2b4310d658eb26855889a332446806987507426 23:22:06 ---> Running in 48721d288660 23:22:06 Removing intermediate container 48721d288660 23:22:06 ---> 5f725f2cc36d 23:22:06 Step 25/25 : LABEL version=3.0.0-dev.40 23:22:07 ---> Running in 2987070ddb9a 23:22:07 Removing intermediate container 2987070ddb9a 23:22:07 ---> c0aa556d2ae8 23:22:07 [Warning] One or more build-args [ARCH] were not consumed 23:22:07 Successfully built c0aa556d2ae8 23:22:07 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 23:22:07 provisioning config files... 23:22:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/112@tmp/config4393015957040008207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:07 ---> docker-login.sh 23:22:07 nexus3.edgexfoundry.org:10001 23:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:08 Configure a credential helper to remove this warning. See 23:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:08 23:22:08 Login Succeeded 23:22:08 nexus3.edgexfoundry.org:10002 23:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:08 Configure a credential helper to remove this warning. See 23:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:08 23:22:08 Login Succeeded 23:22:08 nexus3.edgexfoundry.org:10003 23:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:08 Configure a credential helper to remove this warning. See 23:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:08 23:22:08 Login Succeeded 23:22:08 nexus3.edgexfoundry.org:10004 23:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:09 Configure a credential helper to remove this warning. See 23:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:09 23:22:09 Login Succeeded 23:22:09 docker.io 23:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:09 Configure a credential helper to remove this warning. See 23:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:09 23:22:09 Login Succeeded 23:22:09 ---> docker-login.sh ends [Pipeline] } 23:22:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:09 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:22:09 c2b4310d658eb26855889a332446806987507426 23:22:09 latest 23:22:09 3.0.0-dev.40 23:22:09 c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 23:22:09 main 23:22:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426 23:22:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:22:10 c1fa47c4ea2c: Preparing 23:22:10 9cd2ee614d2a: Preparing 23:22:10 cb8919f4207a: Preparing 23:22:10 0b15bf8f20c7: Preparing 23:22:10 26cbea5cba74: Preparing 23:22:10 26cbea5cba74: Layer already exists 23:22:10 c1fa47c4ea2c: Pushed 23:22:10 9cd2ee614d2a: Pushed 23:22:10 0b15bf8f20c7: Pushed 23:22:16 cb8919f4207a: Pushed 23:22:16 c2b4310d658eb26855889a332446806987507426: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:22:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:22:16 c1fa47c4ea2c: Preparing 23:22:16 9cd2ee614d2a: Preparing 23:22:16 cb8919f4207a: Preparing 23:22:16 0b15bf8f20c7: Preparing 23:22:16 26cbea5cba74: Preparing 23:22:16 cb8919f4207a: Layer already exists 23:22:16 26cbea5cba74: Layer already exists 23:22:16 9cd2ee614d2a: Layer already exists 23:22:16 c1fa47c4ea2c: Layer already exists 23:22:16 0b15bf8f20c7: Layer already exists 23:22:16 latest: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.40 23:22:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:22:17 c1fa47c4ea2c: Preparing 23:22:17 9cd2ee614d2a: Preparing 23:22:17 cb8919f4207a: Preparing 23:22:17 0b15bf8f20c7: Preparing 23:22:17 26cbea5cba74: Preparing 23:22:17 cb8919f4207a: Layer already exists 23:22:17 9cd2ee614d2a: Layer already exists 23:22:17 0b15bf8f20c7: Layer already exists 23:22:17 c1fa47c4ea2c: Layer already exists 23:22:17 26cbea5cba74: Layer already exists 23:22:17 3.0.0-dev.40: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 23:22:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:22:18 c1fa47c4ea2c: Preparing 23:22:18 9cd2ee614d2a: Preparing 23:22:18 cb8919f4207a: Preparing 23:22:18 0b15bf8f20c7: Preparing 23:22:18 26cbea5cba74: Preparing 23:22:18 cb8919f4207a: Layer already exists 23:22:18 9cd2ee614d2a: Layer already exists 23:22:18 c1fa47c4ea2c: Layer already exists 23:22:18 26cbea5cba74: Layer already exists 23:22:18 0b15bf8f20c7: Layer already exists 23:22:18 c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:22:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:22:19 c1fa47c4ea2c: Preparing 23:22:19 9cd2ee614d2a: Preparing 23:22:19 cb8919f4207a: Preparing 23:22:19 0b15bf8f20c7: Preparing 23:22:19 26cbea5cba74: Preparing 23:22:19 9cd2ee614d2a: Layer already exists 23:22:19 cb8919f4207a: Layer already exists 23:22:19 26cbea5cba74: Layer already exists 23:22:19 0b15bf8f20c7: Layer already exists 23:22:19 c1fa47c4ea2c: Layer already exists 23:22:19 main: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:22:19 ===================================================== [Pipeline] echo 23:22:19 taggedImages: 23:22:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426 23:22:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:22:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.40 23:22:19 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 23:22:19 - 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 23:22:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:19 23:22:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:20 arm64: Pulling from edgex-lftools-log-publisher 23:22:20 8998bd30e6a1: Pulling fs layer 23:22:20 04944245beec: Pulling fs layer 23:22:20 699f458cf7ca: Pulling fs layer 23:22:20 765212b225bb: Pulling fs layer 23:22:20 f23df028b6ca: Pulling fs layer 23:22:20 d65c8cfc05b1: Pulling fs layer 23:22:20 2437ff75d9bd: Pulling fs layer 23:22:20 765212b225bb: Waiting 23:22:20 f23df028b6ca: Waiting 23:22:20 d65c8cfc05b1: Waiting 23:22:20 2437ff75d9bd: Waiting 23:22:20 04944245beec: Verifying Checksum 23:22:20 04944245beec: Download complete 23:22:20 765212b225bb: Download complete 23:22:20 f23df028b6ca: Verifying Checksum 23:22:20 f23df028b6ca: Download complete 23:22:20 d65c8cfc05b1: Download complete 23:22:20 699f458cf7ca: Verifying Checksum 23:22:20 699f458cf7ca: Download complete 23:22:21 8998bd30e6a1: Verifying Checksum 23:22:21 8998bd30e6a1: Download complete 23:22:22 2437ff75d9bd: Verifying Checksum 23:22:22 2437ff75d9bd: Download complete 23:22:24 8998bd30e6a1: Pull complete 23:22:24 04944245beec: Pull complete 23:22:26 699f458cf7ca: Pull complete 23:22:26 765212b225bb: Pull complete 23:22:26 f23df028b6ca: Pull complete 23:22:27 d65c8cfc05b1: Pull complete 23:22:42 2437ff75d9bd: Pull complete 23:22:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:42 prd-ubuntu20.04-docker-arm64-4c-16g-15115 does not seem to be running inside a container 23:22:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/112 -v /w/workspace/device-rest-go/112:/w/workspace/device-rest-go/112:rw,z -v /w/workspace/device-rest-go/112@tmp:/w/workspace/device-rest-go/112@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 23:22:45 $ docker top 1a6c7a8108d4125378fecaf5f4fe99a0165a5490e989620ff64f7a6791678dfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:46 ---> job-cost.sh 23:22:46 lf-activate-venv: SKIPPING 23:22:46 INFO: No Stack... 23:22:46 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:47 INFO: Archiving Costs [Pipeline] sh 23:22:48 + cat /w/workspace/device-rest-go/112/archives/cost.csv 23:22:48 + cut -d, -f6 [Pipeline] lock 23:22:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] 23:22:48 Resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] did not exist. Created. 23:22:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:48 /w/workspace/device-rest-go/112@tmp/durable-120a6066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:49 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:49 Warning: overwriting stash ‘stack-cost’ 23:22:49 Stashed 1 file(s) [Pipeline] } 23:22:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:49 $ docker stop --time=1 1a6c7a8108d4125378fecaf5f4fe99a0165a5490e989620ff64f7a6791678dfd 23:22:51 $ docker rm -f --volumes 1a6c7a8108d4125378fecaf5f4fe99a0165a5490e989620ff64f7a6791678dfd [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 23:22:51 provisioning config files... 23:22:51 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6365285541335390754tmp [Pipeline] { [Pipeline] sh 23:22:51 + set +x 23:22:51 + curl -s https://codecov.io/bash 23:22:51 + bash -s -- 23:22:51 23:22:51 _____ _ 23:22:51 / ____| | | 23:22:51 | | ___ __| | ___ ___ _____ __ 23:22:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:22:51 | |___| (_) | (_| | __/ (_| (_) \ V / 23:22:51 \_____\___/ \__,_|\___|\___\___/ \_/ 23:22:51 Bash-1.0.6 23:22:51 23:22:51 23:22:51 ==> git version 2.25.1 found 23:22:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:22:51 Release-Date: 2020-01-08 23:22:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:22:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:22:51 ==> Jenkins CI detected. 23:22:51 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:22:51 project root: . 23:22:51 --> token set from env 23:22:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:22:51 ==> Running gcov in . (disable via -X gcov) 23:22:51 ==> Python coveragepy not found 23:22:51 ==> Searching for coverage reports in: 23:22:51 + . 23:22:51 -> Found 1 reports 23:22:51 ==> Detecting git/mercurial file structure 23:22:51 ==> Reading reports 23:22:51 + ./coverage.out bytes=14663 23:22:51 ==> Appending adjustments 23:22:51 https://docs.codecov.io/docs/fixing-reports 23:22:52 + Found adjustments 23:22:52 ==> Gzipping contents 23:22:52 4.0K /tmp/codecov.vNrfg7.gz 23:22:52 ==> Uploading reports 23:22:52 url: https://codecov.io 23:22:52 query: branch=main&commit=c2b4310d658eb26855889a332446806987507426&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:22:52 -> Pinging Codecov 23:22:52 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=c2b4310d658eb26855889a332446806987507426&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:22:52 -> Uploading to 23:22:52 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/4E5D53B4F1F92C436F7061BF334D961C/c2b4310d658eb26855889a332446806987507426/4c2a991f-f43e-4cba-8c50-3471ec2c3604.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T232252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65b992b75baee335f1c4c291528f1bda17881600d48df8892fc36a003b06992c 23:22:52 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:52 Dload Upload Total Spent Left Speed 23:22:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11306 --:--:-- --:--:-- --:--:-- 11306 23:22:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c2b4310d658eb26855889a332446806987507426 [Pipeline] } 23:22:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:22:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:22:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:22:52 23:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:22:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:22:53 df9b9388f04a: Pulling fs layer 23:22:53 52dc419b0ee2: Pulling fs layer 23:22:53 25bc292e5bac: Pulling fs layer 23:22:53 114826534d7a: Pulling fs layer 23:22:53 4657fd5d0bcf: Pulling fs layer 23:22:53 6ad1cebc031e: Pulling fs layer 23:22:53 8a3aa393b2d8: Pulling fs layer 23:22:53 114826534d7a: Waiting 23:22:53 4657fd5d0bcf: Waiting 23:22:53 6ad1cebc031e: Waiting 23:22:53 8a3aa393b2d8: Waiting 23:22:53 25bc292e5bac: Verifying Checksum 23:22:53 25bc292e5bac: Download complete 23:22:53 52dc419b0ee2: Verifying Checksum 23:22:53 52dc419b0ee2: Download complete 23:22:53 4657fd5d0bcf: Verifying Checksum 23:22:53 4657fd5d0bcf: Download complete 23:22:53 df9b9388f04a: Download complete 23:22:53 6ad1cebc031e: Verifying Checksum 23:22:53 6ad1cebc031e: Download complete 23:22:53 df9b9388f04a: Pull complete 23:22:53 52dc419b0ee2: Pull complete 23:22:53 25bc292e5bac: Pull complete 23:22:54 114826534d7a: Verifying Checksum 23:22:54 114826534d7a: Download complete 23:22:54 8a3aa393b2d8: Verifying Checksum 23:22:54 8a3aa393b2d8: Download complete 23:22:57 114826534d7a: Pull complete 23:22:57 4657fd5d0bcf: Pull complete 23:22:58 6ad1cebc031e: Pull complete 23:23:00 8a3aa393b2d8: Pull complete 23:23:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:23:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:00 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:23:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:23:03 $ docker top 6e658c256fc5631130c56659b0027cc112296b954071e625d182bcbd9187c584 -eo pid,comm [Pipeline] { [Pipeline] echo 23:23:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:23:04 + set -o pipefail 23:23:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:23:08 23:23:08 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:23:08 23:23:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/e1d52001-ea89-45bb-b120-2706299c48df 23:23:08 23:23:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:23:08 23:23:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:23:08 23:23:08 23:23:08 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:23:08 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:23:08 More details here: https://snyk.co/ue1NS 23:23:08 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 23:23:08 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 23:23:08 $ docker stop --time=1 6e658c256fc5631130c56659b0027cc112296b954071e625d182bcbd9187c584 23:23:11 $ docker rm -f --volumes 6e658c256fc5631130c56659b0027cc112296b954071e625d182bcbd9187c584 [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 23:23:11 + git log --format=format:%s -1 c2b4310d658eb26855889a332446806987507426 [Pipeline] sh 23:23:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:23:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:23:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:12 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:23:12 $ docker top 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:23:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:12 [ssh-agent] Looking for ssh-agent implementation... 23:23:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:13 $ docker exec 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 ssh-agent 23:23:13 SSH_AUTH_SOCK=/tmp/ssh-ZM9KWdkLmXeh/agent.31 23:23:13 SSH_AGENT_PID=36 23:23:13 Running ssh-add (command line suppressed) 23:23:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4508719899948958855.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4508719899948958855.key) 23:23:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:13 + git semver tag 23:23:13 2023-05-10 23:23:13,802 [run_tag] DEBUG tag force:False 23:23:13 2023-05-10 23:23:13,802 [check_head_tag] DEBUG check head tag 23:23:13 2023-05-10 23:23:13,804 [execute] INFO git cat-file --batch-check 23:23:13 2023-05-10 23:23:13,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:23:13 2023-05-10 23:23:13,808 [execute] INFO git cat-file --batch 23:23:13 2023-05-10 23:23:13,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:23:13 2023-05-10 23:23:13,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:13 2023-05-10 23:23:13,834 [execute] INFO git tag -a v3.0.0-dev.40 -m v3.0.0-dev.40 23:23:13 2023-05-10 23:23:13,834 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.40', '-m', 'v3.0.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:23:13 2023-05-10 23:23:13,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:13 3.0.0-dev.40 [Pipeline] } 23:23:13 $ docker exec --env ******** --env ******** 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 ssh-agent -k 23:23:13 unset SSH_AUTH_SOCK; 23:23:13 unset SSH_AGENT_PID; 23:23:13 echo Agent pid 36 killed; 23:23:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:23:14 + git semver [Pipeline] } 23:23:14 $ docker stop --time=1 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 23:23:15 $ docker rm -f --volumes 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:23:16 23:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:23:16 0.23.1-centos7: Pulling from edgex-lftools 23:23:16 ab5ef0e58194: Pulling fs layer 23:23:16 9712f1f96733: Pulling fs layer 23:23:16 63f879dbbcfc: Pulling fs layer 23:23:16 0d9ebad4ef96: Pulling fs layer 23:23:16 e9a5061849ea: Pulling fs layer 23:23:16 0d9ebad4ef96: Waiting 23:23:16 d747dcd14b5f: Pulling fs layer 23:23:16 e9a5061849ea: Waiting 23:23:16 2de7ff778b66: Pulling fs layer 23:23:16 2de7ff778b66: Waiting 23:23:16 d747dcd14b5f: Waiting 23:23:16 9712f1f96733: Verifying Checksum 23:23:16 9712f1f96733: Download complete 23:23:17 63f879dbbcfc: Verifying Checksum 23:23:17 63f879dbbcfc: Download complete 23:23:17 e9a5061849ea: Verifying Checksum 23:23:17 e9a5061849ea: Download complete 23:23:17 0d9ebad4ef96: Verifying Checksum 23:23:17 0d9ebad4ef96: Download complete 23:23:17 d747dcd14b5f: Download complete 23:23:17 ab5ef0e58194: Verifying Checksum 23:23:17 ab5ef0e58194: Download complete 23:23:17 2de7ff778b66: Verifying Checksum 23:23:17 2de7ff778b66: Download complete 23:23:19 ab5ef0e58194: Pull complete 23:23:19 9712f1f96733: Pull complete 23:23:20 63f879dbbcfc: Pull complete 23:23:24 0d9ebad4ef96: Pull complete 23:23:24 e9a5061849ea: Pull complete 23:23:24 d747dcd14b5f: Pull complete 23:23:25 2de7ff778b66: Pull complete 23:23:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:23:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:25 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:23:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:23:28 $ docker top c1284496329868be77120a8fadf9d2ab34c1a5ed14d4961fbffb139cf8e960a9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:23:28 provisioning config files... 23:23:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3526425835213410487tmp 23:23:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5475304130353808907tmp 23:23:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12777717197136374225tmp [Pipeline] { [Pipeline] echo 23:23:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:23:28 ---> sigul-configuration.sh 23:23:28 gpg: directory `/root/.gnupg' created 23:23:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:23:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:23:28 gpg: keyring `/root/.gnupg/secring.gpg' created 23:23:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:23:28 gpg: CAST5 encrypted data 23:23:28 gpg: encrypted with 1 passphrase 23:23:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:23:29 + mkdir /home/jenkins 23:23:29 + mkdir /home/jenkins/sigul [Pipeline] sh 23:23:29 + 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 23:23:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:23:29 ---> sigul-install.sh 23:23:29 Sigul already installed; skipping installation. [Pipeline] sh 23:23:29 + git tag --list 23:23:29 v1.0.0 23:23:29 v1.1.0 23:23:29 v1.1.1 23:23:29 v1.1.2 23:23:29 v1.2.0 23:23:29 v1.2.1 23:23:29 v2.0.0 23:23:29 v2.1.0 23:23:29 v2.1.1 23:23:29 v2.1.1-dev.1 23:23:29 v2.1.1-dev.2 23:23:29 v2.1.1-dev.3 23:23:29 v2.2.0 23:23:29 v2.2.1-dev.1 23:23:29 v2.2.1-dev.2 23:23:29 v2.2.1-dev.3 23:23:29 v2.2.1-dev.4 23:23:29 v2.2.1-dev.5 23:23:29 v2.2.1-dev.6 23:23:29 v2.2.1-dev.7 23:23:29 v2.2.1-dev.8 23:23:29 v2.2.1-dev.9 23:23:29 v2.3.0 23:23:29 v2.3.0-dev.10 23:23:29 v2.3.0-dev.11 23:23:29 v2.3.0-dev.12 23:23:29 v2.3.0-dev.13 23:23:29 v2.3.0-dev.14 23:23:29 v2.3.0-dev.15 23:23:29 v2.3.0-dev.16 23:23:29 v2.3.0-dev.17 23:23:29 v2.3.0-dev.18 23:23:29 v2.3.0-dev.19 23:23:29 v2.3.0-dev.20 23:23:29 v2.3.0-dev.21 23:23:29 v2.3.0-dev.22 23:23:29 v2.3.0-dev.23 23:23:29 v2.3.0-dev.24 23:23:29 v2.3.0-dev.25 23:23:29 v2.3.0-dev.9 23:23:29 v3.0.0-dev.1 23:23:29 v3.0.0-dev.10 23:23:29 v3.0.0-dev.11 23:23:29 v3.0.0-dev.12 23:23:29 v3.0.0-dev.13 23:23:29 v3.0.0-dev.14 23:23:29 v3.0.0-dev.15 23:23:29 v3.0.0-dev.16 23:23:29 v3.0.0-dev.17 23:23:29 v3.0.0-dev.18 23:23:29 v3.0.0-dev.19 23:23:29 v3.0.0-dev.2 23:23:29 v3.0.0-dev.20 23:23:29 v3.0.0-dev.21 23:23:29 v3.0.0-dev.22 23:23:29 v3.0.0-dev.23 23:23:29 v3.0.0-dev.24 23:23:29 v3.0.0-dev.25 23:23:29 v3.0.0-dev.26 23:23:29 v3.0.0-dev.27 23:23:29 v3.0.0-dev.28 23:23:29 v3.0.0-dev.29 23:23:29 v3.0.0-dev.3 23:23:29 v3.0.0-dev.30 23:23:29 v3.0.0-dev.31 23:23:29 v3.0.0-dev.32 23:23:29 v3.0.0-dev.33 23:23:29 v3.0.0-dev.34 23:23:29 v3.0.0-dev.35 23:23:29 v3.0.0-dev.36 23:23:29 v3.0.0-dev.37 23:23:29 v3.0.0-dev.38 23:23:29 v3.0.0-dev.39 23:23:29 v3.0.0-dev.4 23:23:29 v3.0.0-dev.40 23:23:29 v3.0.0-dev.5 23:23:29 v3.0.0-dev.6 23:23:29 v3.0.0-dev.7 23:23:29 v3.0.0-dev.8 23:23:29 v3.0.0-dev.9 [Pipeline] sh 23:23:30 + lftools sign git-tag v3.0.0-dev.40 23:23:30 Signing Git tag with Sigul... 23:23:30 Signing v3.0.0-dev.40 [Pipeline] echo 23:23:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:23:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:23:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:23:31 $ docker stop --time=1 c1284496329868be77120a8fadf9d2ab34c1a5ed14d4961fbffb139cf8e960a9 23:23:32 $ docker rm -f --volumes c1284496329868be77120a8fadf9d2ab34c1a5ed14d4961fbffb139cf8e960a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:23:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:23:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:23:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:33 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:23:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:23:33 $ docker top c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f -eo pid,comm 23:23:33 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). 23:23:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:23:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:33 [ssh-agent] Looking for ssh-agent implementation... 23:23:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:34 $ docker exec c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f ssh-agent 23:23:34 SSH_AUTH_SOCK=/tmp/ssh-FfxCarI5ZR01/agent.32 23:23:34 SSH_AGENT_PID=38 23:23:34 Running ssh-add (command line suppressed) 23:23:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3108033000687128030.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3108033000687128030.key) 23:23:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:34 + git semver bump pre 23:23:34 2023-05-10 23:23:34,677 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:34 2023-05-10 23:23:34,678 [bump_version] DEBUG bumping version:3.0.0-dev.40 on axis:pre with prefix:dev 23:23:34 2023-05-10 23:23:34,678 [bump_version] DEBUG bumped version:3.0.0-dev.41 23:23:34 2023-05-10 23:23:34,678 [write_version] DEBUG write version:3.0.0-dev.41 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:23:34 2023-05-10 23:23:34,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:34 2023-05-10 23:23:34,678 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:34 2023-05-10 23:23:34,679 [execute] INFO git cat-file --batch-check 23:23:34 2023-05-10 23:23:34,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:23:34 2023-05-10 23:23:34,686 [execute] INFO git cat-file --batch 23:23:34 2023-05-10 23:23:34,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:23:34 2023-05-10 23:23:34,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:34 3.0.0-dev.41 [Pipeline] } 23:23:34 $ docker exec --env ******** --env ******** c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f ssh-agent -k 23:23:34 unset SSH_AUTH_SOCK; 23:23:34 unset SSH_AGENT_PID; 23:23:34 echo Agent pid 38 killed; 23:23:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:23:35 + git semver [Pipeline] } 23:23:35 $ docker stop --time=1 c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f 23:23:36 $ docker rm -f --volumes c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f [Pipeline] // withDockerContainer [Pipeline] sh 23:23:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:23:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:23:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:37 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:23:37 $ docker top 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb -eo pid,comm 23:23:37 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). 23:23:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:23:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:37 [ssh-agent] Looking for ssh-agent implementation... 23:23:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:37 $ docker exec 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb ssh-agent 23:23:38 SSH_AUTH_SOCK=/tmp/ssh-9e94zvrShIlE/agent.31 23:23:38 SSH_AGENT_PID=37 23:23:38 Running ssh-add (command line suppressed) 23:23:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16025370499422045060.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16025370499422045060.key) 23:23:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:38 + git semver push 23:23:38 2023-05-10 23:23:38,668 [run_push] DEBUG push 23:23:38 2023-05-10 23:23:38,668 [execute] INFO git cat-file --batch-check 23:23:38 2023-05-10 23:23:38,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:23:38 2023-05-10 23:23:38,672 [execute] INFO git rev-list 73769c864d5be4a62d69c035aeeab8376c4ff54d -- 23:23:38 2023-05-10 23:23:38,673 [execute] DEBUG Popen(['git', 'rev-list', '73769c864d5be4a62d69c035aeeab8376c4ff54d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:23:38 2023-05-10 23:23:38,681 [execute] INFO git fetch -v origin 23:23:38 2023-05-10 23:23:38,681 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:23:39 2023-05-10 23:23:39,167 [run_push] DEBUG no remote changes detected 23:23:39 2023-05-10 23:23:39,167 [execute] INFO git push origin semver 23:23:39 2023-05-10 23:23:39,168 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:23:40 2023-05-10 23:23:39,919 [run_push] DEBUG push all version tags 23:23:40 2023-05-10 23:23:39,919 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:23:40 2023-05-10 23:23:39,920 [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) 23:23:40 2023-05-10 23:23:40,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:23:40 3.0.0-dev.41 [Pipeline] } 23:23:40 $ docker exec --env ******** --env ******** 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb ssh-agent -k 23:23:40 unset SSH_AUTH_SOCK; 23:23:40 unset SSH_AGENT_PID; 23:23:40 echo Agent pid 37 killed; 23:23:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:23:41 + git semver [Pipeline] } 23:23:41 $ docker stop --time=1 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb 23:23:42 $ docker rm -f --volumes 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb [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 23:23:43 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:23:43 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:23:43 total 16 23:23:43 drwxr-xr-x 3 root root 4096 May 10 23:10 . 23:23:43 drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:23 .. 23:23:43 drwxr-xr-x 2 root root 4096 May 10 23:10 cost 23:23:43 -rw-r--r-- 1 root root 86 May 10 23:10 cost.csv 23:23:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:23:43 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:23:43 total 16 23:23:43 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:10 . 23:23:43 drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:23 .. 23:23:43 drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:10 cost 23:23:43 -rw-r--r-- 1 jenkins jenkins 86 May 10 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:23:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:23:44 ---> package-listing.sh 23:23:44 ++ facter osfamily 23:23:44 ++ tr '[:upper:]' '[:lower:]' 23:23:44 + OS_FAMILY=debian 23:23:44 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:23:44 + START_PACKAGES=/tmp/packages_start.txt 23:23:44 + END_PACKAGES=/tmp/packages_end.txt 23:23:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:44 + PACKAGES=/tmp/packages_start.txt 23:23:44 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:23:44 + PACKAGES=/tmp/packages_end.txt 23:23:44 + case "${OS_FAMILY}" in 23:23:44 + dpkg -l 23:23:44 + grep '^ii' 23:23:44 + '[' -f /tmp/packages_start.txt ']' 23:23:44 + '[' -f /tmp/packages_end.txt ']' 23:23:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:44 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:23:44 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:23:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:23:44 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 23:23:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:45 prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container 23:23:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:23:45 $ docker top 83f303d883b846c89ff2e970fca6e0890e3c002b3447fdab4934f1f409c580d5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:46 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:46 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:46 + ls /var/log/sa-host 23:23:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:47 provisioning config files... 23:23:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config49993332790480757tmp [Pipeline] { [Pipeline] echo 23:23:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:47 ---> create-netrc.sh [Pipeline] } 23:23:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:47 ---> python-tools-install.sh [Pipeline] echo 23:23:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:47 ---> sudo-logs.sh 23:23:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:23:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:48 ---> job-cost.sh 23:23:48 lf-activate-venv: SKIPPING 23:23:48 DEBUG: total: 0.2199999988079071 23:23:48 INFO: Retrieving Stack Cost... 23:23:48 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:49 INFO: Archiving Costs [Pipeline] echo 23:23:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:49 ---> logs-deploy.sh 23:23:49 lf-activate-venv: SKIPPING 23:23:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/112 23:23:49 INFO: archiving workspace using pattern(s): 23:23:50 Archives upload complete. 23:23:50 INFO: archiving logs to Nexus