Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 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-ssh9900463001137657208.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8260426265762506648.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7490586460587420604.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13302849426889675254.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-ssh13922818061830610038.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-6323 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 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#285)" > 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 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 > git rev-list --no-walk fdf83baee4837586abd899036d884868d7632e86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:25:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:25:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:25:33 ========================================================= 23:25:33 EdgeX Global Pipelines Version Info 23:25:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:25:33 ------------------- 23:25:33 stable info: 23:25:33 ------------------- 23:25:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:25:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:25:33 Message: update stable to v1.0.245 23:25:34 ------------------- 23:25:34 experimental info: 23:25:34 ------------------- 23:25:34 Commited By: **** collab-it+edgex@linuxfoundation.org 23:25:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:25:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:25:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd806b2 [Pipeline] echo 23:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:35 provisioning config files... 23:25:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2510676606629423739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:35 ---> docker-login.sh 23:25:35 nexus3.edgexfoundry.org:10001 23:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:35 Configure a credential helper to remove this warning. See 23:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:35 23:25:35 Login Succeeded 23:25:35 nexus3.edgexfoundry.org:10002 23:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:35 Configure a credential helper to remove this warning. See 23:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:35 23:25:35 Login Succeeded 23:25:35 nexus3.edgexfoundry.org:10003 23:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:35 Configure a credential helper to remove this warning. See 23:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:35 23:25:35 Login Succeeded 23:25:35 nexus3.edgexfoundry.org:10004 23:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:36 Configure a credential helper to remove this warning. See 23:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:36 23:25:36 Login Succeeded 23:25:36 docker.io 23:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:36 Configure a credential helper to remove this warning. See 23:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:36 23:25:36 Login Succeeded 23:25:36 ---> docker-login.sh ends [Pipeline] } 23:25:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:25:36 + git rev-list -1 --merges dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9~1..dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] echo 23:25:36 -----------> git rev-list -1 --merges dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9~1..dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [false] [Pipeline] sh 23:25:37 + git log --format=format:%s -1 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] echo 23:25:37 ========================================================= 23:25:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:25:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:37 + git log --format=format:%s -1 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] echo 23:25:37 [semverPrep] GIT_COMMIT: dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#285) [Pipeline] echo 23:25:37 [semverPrep] This is not a build commit. [Pipeline] sh 23:25:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:25:37 + grep -v github /etc/ssh/ssh_known_hosts 23:25:37 + [ -e /tmp/ssh_known_hosts ] 23:25:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:25:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:25:37 + sudo tee -a /etc/ssh/ssh_known_hosts 23:25:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:25:38 23:25:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:25:38 0.1.4: Pulling from edgex-devops/py-git-semver 23:25:38 b85a868b505f: Pulling fs layer 23:25:38 e2be974225ed: Pulling fs layer 23:25:38 339a4e72a1f5: Pulling fs layer 23:25:38 988bab9f4d93: Pulling fs layer 23:25:38 1469e6f7b9e6: Pulling fs layer 23:25:38 eaf3925da568: Pulling fs layer 23:25:38 bab4dde63d76: Pulling fs layer 23:25:38 bde34c3a00c8: Pulling fs layer 23:25:38 b352a97aabf1: Pulling fs layer 23:25:38 4872d77fe225: Pulling fs layer 23:25:38 5851b861e8e6: Pulling fs layer 23:25:38 988bab9f4d93: Waiting 23:25:38 1469e6f7b9e6: Waiting 23:25:38 eaf3925da568: Waiting 23:25:38 5851b861e8e6: Waiting 23:25:38 bab4dde63d76: Waiting 23:25:38 b352a97aabf1: Waiting 23:25:38 4872d77fe225: Waiting 23:25:38 bde34c3a00c8: Waiting 23:25:38 e2be974225ed: Verifying Checksum 23:25:38 e2be974225ed: Download complete 23:25:38 988bab9f4d93: Verifying Checksum 23:25:38 988bab9f4d93: Download complete 23:25:38 1469e6f7b9e6: Verifying Checksum 23:25:38 1469e6f7b9e6: Download complete 23:25:38 eaf3925da568: Verifying Checksum 23:25:38 eaf3925da568: Download complete 23:25:38 339a4e72a1f5: Verifying Checksum 23:25:38 339a4e72a1f5: Download complete 23:25:38 bde34c3a00c8: Verifying Checksum 23:25:38 bde34c3a00c8: Download complete 23:25:38 b352a97aabf1: Verifying Checksum 23:25:38 b352a97aabf1: Download complete 23:25:38 4872d77fe225: Verifying Checksum 23:25:38 4872d77fe225: Download complete 23:25:38 5851b861e8e6: Verifying Checksum 23:25:38 5851b861e8e6: Download complete 23:25:38 b85a868b505f: Download complete 23:25:39 bab4dde63d76: Download complete 23:25:40 b85a868b505f: Pull complete 23:25:40 e2be974225ed: Pull complete 23:25:40 339a4e72a1f5: Pull complete 23:25:40 988bab9f4d93: Pull complete 23:25:40 1469e6f7b9e6: Pull complete 23:25:40 eaf3925da568: Pull complete 23:25:42 bab4dde63d76: Pull complete 23:25:42 bde34c3a00c8: Pull complete 23:25:42 b352a97aabf1: Pull complete 23:25:42 4872d77fe225: Pull complete 23:25:42 5851b861e8e6: Pull complete 23:25:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:25:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:25:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:42 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:25:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:25:45 $ docker top d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 -eo pid,comm 23:25:45 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:25:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:25:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:45 [ssh-agent] Looking for ssh-agent implementation... 23:25:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:45 $ docker exec d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 ssh-agent 23:25:45 SSH_AUTH_SOCK=/tmp/ssh-kgt1HeIrLfD8/agent.32 23:25:45 SSH_AGENT_PID=39 23:25:45 Running ssh-add (command line suppressed) 23:25:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8442129808509958463.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8442129808509958463.key) 23:25:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:46 + git tag --points-at HEAD [Pipeline] } 23:25:46 $ docker exec --env ******** --env ******** d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 ssh-agent -k 23:25:46 unset SSH_AUTH_SOCK; 23:25:46 unset SSH_AGENT_PID; 23:25:46 echo Agent pid 39 killed; 23:25:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:25:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:46 [ssh-agent] Looking for ssh-agent implementation... 23:25:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:46 $ docker exec d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 ssh-agent 23:25:46 SSH_AUTH_SOCK=/tmp/ssh-oWnrg2eQ7fBC/agent.72 23:25:46 SSH_AGENT_PID=78 23:25:46 Running ssh-add (command line suppressed) 23:25:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8939589263604710268.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8939589263604710268.key) 23:25:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:46 + git semver init 23:25:47 2023-03-29 23:25:47,041 [run_init] DEBUG init version:0.0.0 force:False 23:25:47 2023-03-29 23:25:47,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:25:47 2023-03-29 23:25:47,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:25:47 2023-03-29 23:25:47,042 [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:25:48 2023-03-29 23:25:47,978 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:25:48 2023-03-29 23:25:47,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:25:48 2023-03-29 23:25:47,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:25:48 2023-03-29 23:25:47,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:25:48 3.0.0-dev.24 [Pipeline] } 23:25:48 $ docker exec --env ******** --env ******** d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 ssh-agent -k 23:25:48 unset SSH_AUTH_SOCK; 23:25:48 unset SSH_AGENT_PID; 23:25:48 echo Agent pid 78 killed; 23:25:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:25:48 + git semver [Pipeline] } 23:25:48 $ docker stop --time=1 d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 23:25:50 $ docker rm -f --volumes d3952b5c117ed45930d2d56af33dc1b23085d4226cfbaa28cce5b8a2eadcbfd6 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:25:50 Stashed 1 file(s) [Pipeline] echo 23:25:50 [edgeXSemver]: initialized semver on version 3.0.0-dev.24 [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:25:50 provisioning config files... 23:25:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9690733907621095207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:51 ---> docker-login.sh 23:25:51 nexus3.edgexfoundry.org:10001 23:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:51 Configure a credential helper to remove this warning. See 23:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:51 23:25:51 Login Succeeded 23:25:51 nexus3.edgexfoundry.org:10002 23:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:51 Configure a credential helper to remove this warning. See 23:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:51 23:25:51 Login Succeeded 23:25:51 nexus3.edgexfoundry.org:10003 23:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:51 Configure a credential helper to remove this warning. See 23:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:51 23:25:51 Login Succeeded 23:25:51 nexus3.edgexfoundry.org:10004 23:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:51 Configure a credential helper to remove this warning. See 23:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:51 23:25:51 Login Succeeded 23:25:51 docker.io 23:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:51 Configure a credential helper to remove this warning. See 23:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:51 23:25:51 Login Succeeded 23:25:51 ---> docker-login.sh ends [Pipeline] } 23:25:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:25:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:51 ========================================================= 23:25:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:25:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:51 + 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:25:51 Sending build context to Docker daemon 10.87MB 23:25:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:25:51 Step 2/12 : FROM ${BASE} AS builder 23:25:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:25:51 63b65145d645: Pulling fs layer 23:25:51 a2d21d5440eb: Pulling fs layer 23:25:51 935e6c44a52c: Pulling fs layer 23:25:51 94cc34f8dd06: Pulling fs layer 23:25:51 30dea6a524f1: Pulling fs layer 23:25:51 a2aff8979fd8: Pulling fs layer 23:25:51 6808be2612f2: Pulling fs layer 23:25:51 f25807f1079a: Pulling fs layer 23:25:51 6808be2612f2: Waiting 23:25:51 a2aff8979fd8: Waiting 23:25:51 f25807f1079a: Waiting 23:25:51 30dea6a524f1: Waiting 23:25:51 a2d21d5440eb: Verifying Checksum 23:25:51 a2d21d5440eb: Download complete 23:25:51 94cc34f8dd06: Verifying Checksum 23:25:51 94cc34f8dd06: Download complete 23:25:52 30dea6a524f1: Download complete 23:25:52 63b65145d645: Verifying Checksum 23:25:52 63b65145d645: Download complete 23:25:52 a2aff8979fd8: Verifying Checksum 23:25:52 a2aff8979fd8: Download complete 23:25:52 63b65145d645: Pull complete 23:25:52 a2d21d5440eb: Pull complete 23:25:52 f25807f1079a: Verifying Checksum 23:25:52 f25807f1079a: Download complete 23:25:52 935e6c44a52c: Verifying Checksum 23:25:52 935e6c44a52c: Download complete 23:25:52 6808be2612f2: Verifying Checksum 23:25:52 6808be2612f2: Download complete 23:25:55 935e6c44a52c: Pull complete 23:25:55 94cc34f8dd06: Pull complete 23:25:55 30dea6a524f1: Pull complete 23:25:55 a2aff8979fd8: Pull complete 23:25:57 6808be2612f2: Pull complete 23:25:58 f25807f1079a: Pull complete 23:25:58 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:25:58 ---> 3b553350e43f 23:25:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:26:04 ---> Running in aae611fb91bf 23:26:04 Removing intermediate container aae611fb91bf 23:26:04 ---> 8a602e1ae3c5 23:26:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:26:04 ---> Running in cad28961ac46 23:26:04 Removing intermediate container cad28961ac46 23:26:04 ---> fdab7fbf9923 23:26:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:26:04 ---> Running in 3b29b55146f5 23:26:04 Removing intermediate container 3b29b55146f5 23:26:04 ---> 0d961223cbbe 23:26:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:26:04 ---> Running in df40bb2bef20 23:26:04 Removing intermediate container df40bb2bef20 23:26:04 ---> 848e0a052ad0 23:26:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:04 ---> Running in 288d986db60e 23:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:26:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:26:04 (2/4) Installing libedit (20221030.3.1-r0) 23:26:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:26:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:26:04 Executing busybox-1.35.0-r29.trigger 23:26:04 OK: 269 MiB in 57 packages 23:26:04 Removing intermediate container 288d986db60e 23:26:04 ---> 6229d9a5d4c8 23:26:04 Step 8/12 : WORKDIR /device-rest-go 23:26:04 ---> Running in 0618029d25ac 23:26:05 Removing intermediate container 0618029d25ac 23:26:05 ---> ccbba3cc9eb7 23:26:05 Step 9/12 : COPY go.mod vendor* ./ 23:26:05 ---> 76b8ff5eee8c 23:26:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:05 ---> Running in fc0884e998fb 23:26:05 Still waiting to schedule task 23:26:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:26:31 Removing intermediate container fc0884e998fb 23:26:31 ---> f24227b89212 23:26:31 Step 11/12 : COPY . . 23:26:31 ---> d31f2e70d3b4 23:26:31 Step 12/12 : RUN $MAKE 23:26:31 ---> Running in 96331c10ff41 23:26:31 noop 23:26:31 Removing intermediate container 96331c10ff41 23:26:31 ---> 0fc99bdc88ff 23:26:31 Successfully built 0fc99bdc88ff 23:26:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:32 + docker inspect -f . ci-base-image-x86_64 23:26:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:32 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:26:32 $ 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:26:32 $ docker top f481c8bd38fb8ae8f5f96befece1f3e46e159e357da0861c30e45271b13931af -eo pid,comm [Pipeline] { [Pipeline] sh 23:26:32 + go version 23:26:32 go version go1.20.2 linux/amd64 [Pipeline] } 23:26:32 $ docker stop --time=1 f481c8bd38fb8ae8f5f96befece1f3e46e159e357da0861c30e45271b13931af 23:26:34 $ docker rm -f --volumes f481c8bd38fb8ae8f5f96befece1f3e46e159e357da0861c30e45271b13931af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:34 + docker inspect -f . ci-base-image-x86_64 23:26:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:34 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:26:34 $ 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:26:34 $ docker top b35bcb0624a2374eafaa4717378b7e00ead20841b1c93e34d75f7d2d885f30ad -eo pid,comm [Pipeline] { [Pipeline] sh 23:26:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:26:35 + make test 23:26:35 go test ./... -coverprofile=coverage.out ./... 23:26:39 ? github.com/edgexfoundry/device-rest-go [no test files] 23:26:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:26:49 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.0% of statements 23:26:53 go vet ./... 23:26:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:26:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:26:57 ./bin/test-attribution-txt.sh [Pipeline] echo 23:26:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:26:57 $ docker stop --time=1 b35bcb0624a2374eafaa4717378b7e00ead20841b1c93e34d75f7d2d885f30ad 23:26:59 $ docker rm -f --volumes b35bcb0624a2374eafaa4717378b7e00ead20841b1c93e34d75f7d2d885f30ad [Pipeline] // withDockerContainer [Pipeline] sh 23:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:27:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:27:01 + ls -al . 23:27:01 total 184 23:27:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:26 . 23:27:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:25 .. 23:27:01 -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:25 .dockerignore 23:27:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:25 .git 23:27:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:25 .github 23:27:01 -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:25 .gitignore 23:27:01 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:25 .golangci.yml 23:27:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:25 .semver 23:27:01 -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:25 Attribution.txt 23:27:01 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:25 CHANGELOG.md 23:27:01 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:25 Dockerfile 23:27:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:25 GOVERNANCE.md 23:27:01 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:25 Jenkinsfile 23:27:01 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:25 LICENSE 23:27:01 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:25 Makefile 23:27:01 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:25 OWNERS.md 23:27:01 -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:25 README.md 23:27:01 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 23:25 VERSION 23:27:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:25 bin 23:27:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:25 cmd 23:27:01 -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:26 coverage.out 23:27:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:25 driver 23:27:01 -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:25 go.mod 23:27:01 -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:25 go.sum 23:27:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:25 snap 23:27:01 -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:01 + 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=dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 --label arch=amd64 --label version=3.0.0-dev.24 . 23:27:01 Sending build context to Docker daemon 10.88MB 23:27:01 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:27:01 Step 2/25 : FROM ${BASE} AS builder 23:27:01 ---> 0fc99bdc88ff 23:27:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:27:01 ---> Running in bd88543cf190 23:27:01 Removing intermediate container bd88543cf190 23:27:01 ---> 700655e8ef74 23:27:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:01 ---> Running in bf86608e81dc 23:27:01 Removing intermediate container bf86608e81dc 23:27:01 ---> 113fd4b73511 23:27:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:27:01 ---> Running in bad12f76d3ca 23:27:01 Removing intermediate container bad12f76d3ca 23:27:01 ---> ee1735d5c2c2 23:27:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:27:01 ---> Running in 3ed8c7f691a6 23:27:01 Removing intermediate container 3ed8c7f691a6 23:27:01 ---> b79873e31f15 23:27:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:01 ---> Running in 2eb006160d17 23:27:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:27:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:27:02 OK: 269 MiB in 57 packages 23:27:02 Removing intermediate container 2eb006160d17 23:27:02 ---> 5a32d53b65bf 23:27:02 Step 8/25 : WORKDIR /device-rest-go 23:27:02 ---> Running in 6e44fa1834f7 23:27:02 Removing intermediate container 6e44fa1834f7 23:27:02 ---> b8bd685815ec 23:27:02 Step 9/25 : COPY go.mod vendor* ./ 23:27:02 ---> c9af185da887 23:27:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:02 ---> Running in c24803dab14d 23:27:03 Removing intermediate container c24803dab14d 23:27:03 ---> 66a557890eb2 23:27:03 Step 11/25 : COPY . . 23:27:04 ---> 7cdb13d21976 23:27:04 Step 12/25 : RUN $MAKE 23:27:04 ---> Running in d9a322ebc788 23:27:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:27:22 Removing intermediate container d9a322ebc788 23:27:22 ---> 41751be569db 23:27:22 Step 13/25 : FROM alpine:3.17 23:27:22 3.17: Pulling from library/alpine 23:27:22 f56be85fc22e: Pulling fs layer 23:27:22 f56be85fc22e: Verifying Checksum 23:27:22 f56be85fc22e: Download complete 23:27:22 f56be85fc22e: Pull complete 23:27:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:27:22 Status: Downloaded newer image for alpine:3.17 23:27:22 ---> 9ed4aefc74f6 23:27:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:27:22 ---> Running in 4146638f6909 23:27:22 Removing intermediate container 4146638f6909 23:27:22 ---> d4698e527605 23:27:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:27:22 ---> Running in f82498b1e4ff 23:27:22 Removing intermediate container f82498b1e4ff 23:27:22 ---> f8b48f399d87 23:27:22 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:27:22 ---> Running in 3f8e4e7c32ee 23:27:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:27:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:27:22 (1/1) Installing dumb-init (1.2.5-r2) 23:27:22 Executing busybox-1.35.0-r29.trigger 23:27:22 OK: 7 MiB in 16 packages 23:27:22 Removing intermediate container 3f8e4e7c32ee 23:27:22 ---> c6a7eb3b4477 23:27:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:27:23 ---> 2f221e08e8be 23:27:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:27:23 ---> 54bf831c89b2 23:27:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:27:23 ---> 7fe0d0ca879d 23:27:23 Step 20/25 : EXPOSE 59986 23:27:23 ---> Running in 71c618b33313 23:27:23 Removing intermediate container 71c618b33313 23:27:23 ---> 901bff3fabef 23:27:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:27:23 ---> Running in a36b4f3658d6 23:27:23 Removing intermediate container a36b4f3658d6 23:27:23 ---> 77f4689e6f5e 23:27:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:27:23 ---> Running in 5a7f0cd54d08 23:27:23 Removing intermediate container 5a7f0cd54d08 23:27:23 ---> 8c4690d6dbc4 23:27:23 Step 23/25 : LABEL arch=amd64 23:27:23 ---> Running in 8f305a1aa389 23:27:23 Removing intermediate container 8f305a1aa389 23:27:23 ---> b692d863f0a9 23:27:23 Step 24/25 : LABEL git_sha=dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:27:23 ---> Running in 6cbf9c49ebd4 23:27:23 Removing intermediate container 6cbf9c49ebd4 23:27:23 ---> 0b257443afa5 23:27:23 Step 25/25 : LABEL version=3.0.0-dev.24 23:27:23 ---> Running in 598f7d568da9 23:27:23 Removing intermediate container 598f7d568da9 23:27:23 ---> d4cd70999c7c 23:27:23 [Warning] One or more build-args [ARCH] were not consumed 23:27:23 Successfully built d4cd70999c7c 23:27:23 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:27:24 provisioning config files... 23:27:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3907147822037564065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:24 ---> docker-login.sh 23:27:24 nexus3.edgexfoundry.org:10001 23:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 nexus3.edgexfoundry.org:10002 23:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 nexus3.edgexfoundry.org:10003 23:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 nexus3.edgexfoundry.org:10004 23:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 docker.io 23:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 ---> docker-login.sh ends [Pipeline] } 23:27:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:27:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:24 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:27:24 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:27:24 latest 23:27:24 3.0.0-dev.24 23:27:24 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 23:27:24 main 23:27:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:27:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:27:25 58ef51cc719a: Preparing 23:27:25 6eae2c827a30: Preparing 23:27:25 8dd5a760c20f: Preparing 23:27:25 20f17977186d: Preparing 23:27:25 f1417ff83b31: Preparing 23:27:25 f1417ff83b31: Layer already exists 23:27:25 20f17977186d: Pushed 23:27:25 6eae2c827a30: Pushed 23:27:25 58ef51cc719a: Pushed 23:27:28 8dd5a760c20f: Pushed 23:27:28 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9: digest: sha256:8c6c646d8c4eebbc2437a71290b2811d1321870d7cb7683330e985e079ff4cc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:27:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:27:28 58ef51cc719a: Preparing 23:27:28 6eae2c827a30: Preparing 23:27:28 8dd5a760c20f: Preparing 23:27:28 20f17977186d: Preparing 23:27:28 f1417ff83b31: Preparing 23:27:28 f1417ff83b31: Layer already exists 23:27:28 8dd5a760c20f: Layer already exists 23:27:28 20f17977186d: Layer already exists 23:27:28 6eae2c827a30: Layer already exists 23:27:28 58ef51cc719a: Layer already exists 23:27:28 latest: digest: sha256:8c6c646d8c4eebbc2437a71290b2811d1321870d7cb7683330e985e079ff4cc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.24 23:27:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:27:29 58ef51cc719a: Preparing 23:27:29 6eae2c827a30: Preparing 23:27:29 8dd5a760c20f: Preparing 23:27:29 20f17977186d: Preparing 23:27:29 f1417ff83b31: Preparing 23:27:29 6eae2c827a30: Layer already exists 23:27:29 20f17977186d: Layer already exists 23:27:29 f1417ff83b31: Layer already exists 23:27:29 58ef51cc719a: Layer already exists 23:27:29 8dd5a760c20f: Layer already exists 23:27:29 3.0.0-dev.24: digest: sha256:8c6c646d8c4eebbc2437a71290b2811d1321870d7cb7683330e985e079ff4cc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 23:27:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:27:30 58ef51cc719a: Preparing 23:27:30 6eae2c827a30: Preparing 23:27:30 8dd5a760c20f: Preparing 23:27:30 20f17977186d: Preparing 23:27:30 f1417ff83b31: Preparing 23:27:30 8dd5a760c20f: Layer already exists 23:27:30 58ef51cc719a: Layer already exists 23:27:30 f1417ff83b31: Layer already exists 23:27:30 6eae2c827a30: Layer already exists 23:27:30 20f17977186d: Layer already exists 23:27:30 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24: digest: sha256:8c6c646d8c4eebbc2437a71290b2811d1321870d7cb7683330e985e079ff4cc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:27:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:27:30 58ef51cc719a: Preparing 23:27:30 6eae2c827a30: Preparing 23:27:30 8dd5a760c20f: Preparing 23:27:30 20f17977186d: Preparing 23:27:30 f1417ff83b31: Preparing 23:27:30 20f17977186d: Layer already exists 23:27:30 f1417ff83b31: Layer already exists 23:27:30 6eae2c827a30: Layer already exists 23:27:30 58ef51cc719a: Layer already exists 23:27:30 8dd5a760c20f: Layer already exists 23:27:30 main: digest: sha256:8c6c646d8c4eebbc2437a71290b2811d1321870d7cb7683330e985e079ff4cc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:27:30 ===================================================== [Pipeline] echo 23:27:30 taggedImages: 23:27:30 - nexus3.edgexfoundry.org:10004/device-rest:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:27:30 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:27:30 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.24 23:27:30 - nexus3.edgexfoundry.org:10004/device-rest:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 23:27:30 - 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:27:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:31 23:27:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:31 latest: Pulling from edgex-lftools-log-publisher 23:27:31 5eb5b503b376: Pulling fs layer 23:27:31 5c69ac0246d0: Pulling fs layer 23:27:31 ec43610c2a17: Pulling fs layer 23:27:31 3a2ae6a8a46f: Pulling fs layer 23:27:31 33b1e0a273af: Pulling fs layer 23:27:31 5d3b04190fa2: Pulling fs layer 23:27:31 2f39f015ded8: Pulling fs layer 23:27:31 33b1e0a273af: Waiting 23:27:31 5d3b04190fa2: Waiting 23:27:31 2f39f015ded8: Waiting 23:27:31 3a2ae6a8a46f: Waiting 23:27:31 5c69ac0246d0: Download complete 23:27:31 3a2ae6a8a46f: Verifying Checksum 23:27:31 3a2ae6a8a46f: Download complete 23:27:31 33b1e0a273af: Verifying Checksum 23:27:31 33b1e0a273af: Download complete 23:27:31 5d3b04190fa2: Verifying Checksum 23:27:31 5d3b04190fa2: Download complete 23:27:31 ec43610c2a17: Verifying Checksum 23:27:31 ec43610c2a17: Download complete 23:27:31 5eb5b503b376: Verifying Checksum 23:27:31 5eb5b503b376: Download complete 23:27:32 2f39f015ded8: Download complete 23:27:32 5eb5b503b376: Pull complete 23:27:32 5c69ac0246d0: Pull complete 23:27:33 ec43610c2a17: Pull complete 23:27:33 3a2ae6a8a46f: Pull complete 23:27:33 33b1e0a273af: Pull complete 23:27:33 5d3b04190fa2: Pull complete 23:27:37 2f39f015ded8: Pull complete 23:27:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:27:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:37 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:27:37 $ 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:27:40 $ docker top a1f9df660b351a3fc8d61f79b340c6c0bb5b9265c1314483c0813eb7da81665c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:41 ---> job-cost.sh 23:27:41 lf-activate-venv: SKIPPING 23:27:41 INFO: No Stack... 23:27:41 INFO: Retrieving Pricing Info for: v3-standard-8 23:27:41 INFO: Archiving Costs [Pipeline] sh 23:27:42 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:27:42 cut -d, -f6 [Pipeline] lock 23:27:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] 23:27:42 Resource [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] did not exist. Created. 23:27:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:42 + echo total: 0.2199999988079071 [Pipeline] stash 23:27:42 Stashed 1 file(s) [Pipeline] } 23:27:42 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:42 $ docker stop --time=1 a1f9df660b351a3fc8d61f79b340c6c0bb5b9265c1314483c0813eb7da81665c 23:27:43 $ docker rm -f --volumes a1f9df660b351a3fc8d61f79b340c6c0bb5b9265c1314483c0813eb7da81665c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:29:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6330 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:29:10 Running in /w/workspace/device-rest-go/96 [Pipeline] { [Pipeline] checkout 23:29:10 The recommended git tool is: git 23:29:18 using credential edgex-jenkins-ssh 23:29:18 Cloning the remote Git repository 23:29:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:29:18 > git init /w/workspace/device-rest-go/96 # timeout=10 23:29:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:29:18 > git --version # timeout=10 23:29:18 > git --version # 'git version 2.25.1' 23:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:29:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:22 Avoid second fetch 23:29:22 Checking out Revision dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 (main) 23:29:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#285)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:29:22 > git config core.sparsecheckout # timeout=10 23:29:22 > git checkout -f dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 23:29:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:29:24 % Total % Received % Xferd Average Speed Time Time Time Current 23:29:24 Dload Upload Total Spent Left Speed 23:29:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 23:29:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:29:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:29:25 + sudo tee /etc/docker/daemon.new 23:29:25 { 23:29:25 "registry-mirrors": [ 23:29:25 "https://nexus3.edgexfoundry.org:10001" 23:29:25 ], 23:29:25 "bip": "10.250.0.254/24", 23:29:25 "hosts": [ 23:29:25 "tcp://0.0.0.0:5555", 23:29:25 "unix:///var/run/docker.sock" 23:29:25 ], 23:29:25 "mtu": 1458, 23:29:25 "selinux-enabled": true, 23:29:25 "seccomp-profile": "/etc/docker/seccomp.json" 23:29:25 } [Pipeline] sh 23:29:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:29:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:44 provisioning config files... 23:29:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/96@tmp/config7606786190691451616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:44 ---> docker-login.sh 23:29:44 nexus3.edgexfoundry.org:10001 23:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:45 Configure a credential helper to remove this warning. See 23:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:45 23:29:45 Login Succeeded 23:29:45 nexus3.edgexfoundry.org:10002 23:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:45 Configure a credential helper to remove this warning. See 23:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:45 23:29:45 Login Succeeded 23:29:45 nexus3.edgexfoundry.org:10003 23:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:46 Configure a credential helper to remove this warning. See 23:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:46 23:29:46 Login Succeeded 23:29:46 nexus3.edgexfoundry.org:10004 23:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:46 Configure a credential helper to remove this warning. See 23:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:46 23:29:46 Login Succeeded 23:29:46 docker.io 23:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:47 Configure a credential helper to remove this warning. See 23:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:47 23:29:47 Login Succeeded 23:29:47 ---> docker-login.sh ends [Pipeline] } 23:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:29:47 ========================================================= 23:29:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:29:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:48 + 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:29:48 Sending build context to Docker daemon 137.2kB 23:29:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:29:48 Step 2/12 : FROM ${BASE} AS builder 23:29:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:29:48 af6eaf76a39c: Pulling fs layer 23:29:48 55522c791124: Pulling fs layer 23:29:48 ce5c4a1c91eb: Pulling fs layer 23:29:48 169dfbe0d373: Pulling fs layer 23:29:48 e1ff8fa3b103: Pulling fs layer 23:29:48 52ebb69f0ebf: Pulling fs layer 23:29:48 5abe8eddf0d5: Pulling fs layer 23:29:48 e1ff8fa3b103: Waiting 23:29:48 52ebb69f0ebf: Waiting 23:29:48 5abe8eddf0d5: Waiting 23:29:48 169dfbe0d373: Waiting 23:29:48 55522c791124: Download complete 23:29:48 169dfbe0d373: Verifying Checksum 23:29:48 169dfbe0d373: Download complete 23:29:48 e1ff8fa3b103: Verifying Checksum 23:29:48 e1ff8fa3b103: Download complete 23:29:48 af6eaf76a39c: Verifying Checksum 23:29:48 af6eaf76a39c: Download complete 23:29:50 af6eaf76a39c: Pull complete 23:29:50 5abe8eddf0d5: Verifying Checksum 23:29:50 5abe8eddf0d5: Download complete 23:29:50 55522c791124: Pull complete 23:29:51 52ebb69f0ebf: Verifying Checksum 23:29:51 52ebb69f0ebf: Download complete 23:29:51 ce5c4a1c91eb: Verifying Checksum 23:29:51 ce5c4a1c91eb: Download complete 23:30:03 ce5c4a1c91eb: Pull complete 23:30:03 169dfbe0d373: Pull complete 23:30:04 e1ff8fa3b103: Pull complete 23:30:10 52ebb69f0ebf: Pull complete 23:30:13 5abe8eddf0d5: Pull complete 23:30:13 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:30:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:30:13 ---> 6cb57ee374ae 23:30:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:30:15 ---> Running in 90273aee55ac 23:30:15 Removing intermediate container 90273aee55ac 23:30:15 ---> aeda58f4f1d5 23:30:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:15 ---> Running in 08311b02f196 23:30:16 Removing intermediate container 08311b02f196 23:30:16 ---> 97e3381f250d 23:30:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:30:16 ---> Running in 30c22867f3b9 23:30:16 Removing intermediate container 30c22867f3b9 23:30:16 ---> e00ff1124077 23:30:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:30:16 ---> Running in 5ab43df07de8 23:30:17 Removing intermediate container 5ab43df07de8 23:30:17 ---> 315577d012e4 23:30:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:17 ---> Running in 63bdf9d867ea 23:30:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:30:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:30:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:30:21 (2/4) Installing libedit (20221030.3.1-r0) 23:30:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:30:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:30:21 Executing busybox-1.35.0-r29.trigger 23:30:21 OK: 268 MiB in 57 packages 23:30:23 Removing intermediate container 63bdf9d867ea 23:30:23 ---> f54e414e1045 23:30:23 Step 8/12 : WORKDIR /device-rest-go 23:30:23 ---> Running in f787c092f361 23:30:23 Removing intermediate container f787c092f361 23:30:23 ---> 842a0bc844ed 23:30:23 Step 9/12 : COPY go.mod vendor* ./ 23:30:23 ---> 5220175349a3 23:30:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:24 ---> Running in a591ebeddabe 23:31:46 Removing intermediate container a591ebeddabe 23:31:46 ---> c4b52ac0dd60 23:31:46 Step 11/12 : COPY . . 23:31:46 ---> f93dbfbd2abf 23:31:46 Step 12/12 : RUN $MAKE 23:31:46 ---> Running in a571f02971d2 23:31:46 noop 23:31:46 Removing intermediate container a571f02971d2 23:31:46 ---> fe44fec8db12 23:31:46 Successfully built fe44fec8db12 23:31:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:46 + docker inspect -f . ci-base-image-arm64 23:31:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:46 prd-ubuntu20.04-docker-arm64-4c-16g-6330 does not seem to be running inside a container 23:31:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/96 -v /w/workspace/device-rest-go/96:/w/workspace/device-rest-go/96:rw,z -v /w/workspace/device-rest-go/96@tmp:/w/workspace/device-rest-go/96@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:31:48 $ docker top a1653c2feedeecd3317fc99871a575852cee9b462db7da6a1e134f0f0d920fa3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:49 + go version 23:31:49 go version go1.20.2 linux/arm64 [Pipeline] } 23:31:49 $ docker stop --time=1 a1653c2feedeecd3317fc99871a575852cee9b462db7da6a1e134f0f0d920fa3 23:31:51 $ docker rm -f --volumes a1653c2feedeecd3317fc99871a575852cee9b462db7da6a1e134f0f0d920fa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:51 + docker inspect -f . ci-base-image-arm64 23:31:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:52 prd-ubuntu20.04-docker-arm64-4c-16g-6330 does not seem to be running inside a container 23:31:52 $ 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/96 -v /w/workspace/device-rest-go/96:/w/workspace/device-rest-go/96:rw,z -v /w/workspace/device-rest-go/96@tmp:/w/workspace/device-rest-go/96@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:31:53 $ docker top 4a2e0cc2e13a1d325ede5554e4aaa5fc7a7ded7d8d9d6c2718f4716b35878f79 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:54 + git config --global --add safe.directory /w/workspace/device-rest-go/96 [Pipeline] fileExists [Pipeline] sh 23:31:55 + make test 23:31:55 go test ./... -coverprofile=coverage.out ./... 23:32:42 ? github.com/edgexfoundry/device-rest-go [no test files] 23:35:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:35:34 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 33.0% of statements 23:35:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:35:34 go vet ./... 23:36:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:13 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:36:13 $ docker stop --time=1 4a2e0cc2e13a1d325ede5554e4aaa5fc7a7ded7d8d9d6c2718f4716b35878f79 23:36:15 $ docker rm -f --volumes 4a2e0cc2e13a1d325ede5554e4aaa5fc7a7ded7d8d9d6c2718f4716b35878f79 [Pipeline] // withDockerContainer [Pipeline] sh 23:36:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:16 Warning: overwriting stash ‘coverage-report’ 23:36:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:18 + ls -al . 23:36:18 total 180 23:36:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:31 . 23:36:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:29 .. 23:36:18 -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:29 .dockerignore 23:36:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:29 .git 23:36:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:29 .github 23:36:18 -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:29 .gitignore 23:36:18 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:29 .golangci.yml 23:36:18 -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:29 Attribution.txt 23:36:18 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:29 CHANGELOG.md 23:36:18 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:29 Dockerfile 23:36:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:29 GOVERNANCE.md 23:36:18 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:29 Jenkinsfile 23:36:18 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:29 LICENSE 23:36:18 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:29 Makefile 23:36:18 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:29 OWNERS.md 23:36:18 -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:29 README.md 23:36:18 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 23:25 VERSION 23:36:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:29 bin 23:36:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:29 cmd 23:36:18 -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:35 coverage.out 23:36:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:29 driver 23:36:18 -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:29 go.mod 23:36:18 -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:29 go.sum 23:36:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:29 snap 23:36:18 -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:18 + 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=dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 --label arch=arm64 --label version=3.0.0-dev.24 . 23:36:18 Sending build context to Docker daemon 152.1kB 23:36:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:36:18 Step 2/25 : FROM ${BASE} AS builder 23:36:18 ---> fe44fec8db12 23:36:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:36:19 ---> Running in be672b9727f5 23:36:19 Removing intermediate container be672b9727f5 23:36:19 ---> 952fd7747737 23:36:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:36:19 ---> Running in ed1896b7d889 23:36:19 Removing intermediate container ed1896b7d889 23:36:19 ---> 6e600e152ff9 23:36:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:36:19 ---> Running in 083f474be64a 23:36:20 Removing intermediate container 083f474be64a 23:36:20 ---> 4dc82ccf84f7 23:36:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:36:20 ---> Running in 93e2eeed626c 23:36:20 Removing intermediate container 93e2eeed626c 23:36:20 ---> 1c8f3e536ed4 23:36:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:36:21 ---> Running in 71ab52a25b38 23:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:36:24 OK: 268 MiB in 57 packages 23:36:25 Removing intermediate container 71ab52a25b38 23:36:25 ---> e529e5178acf 23:36:25 Step 8/25 : WORKDIR /device-rest-go 23:36:25 ---> Running in c6e5951fad16 23:36:26 Removing intermediate container c6e5951fad16 23:36:26 ---> 05b3354184af 23:36:26 Step 9/25 : COPY go.mod vendor* ./ 23:36:26 ---> 1abd51442c64 23:36:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:26 ---> Running in 1717efe481b9 23:36:30 Removing intermediate container 1717efe481b9 23:36:30 ---> 9927d7749bab 23:36:30 Step 11/25 : COPY . . 23:36:30 ---> 308f48c9d87b 23:36:30 Step 12/25 : RUN $MAKE 23:36:30 ---> Running in c0beeda7cc7f 23:36:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:39:23 Removing intermediate container c0beeda7cc7f 23:39:23 ---> d5684cb7c291 23:39:23 Step 13/25 : FROM alpine:3.17 23:39:23 3.17: Pulling from library/alpine 23:39:23 c41833b44d91: Pulling fs layer 23:39:23 c41833b44d91: Verifying Checksum 23:39:23 c41833b44d91: Download complete 23:39:23 c41833b44d91: Pull complete 23:39:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:39:23 Status: Downloaded newer image for alpine:3.17 23:39:23 ---> 51e60588ff2c 23:39:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:39:23 ---> Running in 738d8a1654c3 23:39:23 Removing intermediate container 738d8a1654c3 23:39:23 ---> d3d8c8afe481 23:39:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:39:23 ---> Running in 486069052bbd 23:39:24 Removing intermediate container 486069052bbd 23:39:24 ---> eaa6b86c09aa 23:39:24 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:39:24 ---> Running in 56da7ae6c068 23:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:39:27 (1/1) Installing dumb-init (1.2.5-r2) 23:39:27 Executing busybox-1.35.0-r29.trigger 23:39:27 OK: 8 MiB in 16 packages 23:39:28 Removing intermediate container 56da7ae6c068 23:39:28 ---> ba94771a8960 23:39:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:39:30 ---> ef34ba60a4dd 23:39:30 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:39:31 ---> a1c3b4ead4d1 23:39:31 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:39:31 ---> ad8436f767da 23:39:31 Step 20/25 : EXPOSE 59986 23:39:31 ---> Running in d18d022551ce 23:39:32 Removing intermediate container d18d022551ce 23:39:32 ---> 96e7211e9260 23:39:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:39:32 ---> Running in bcac06a4867b 23:39:32 Removing intermediate container bcac06a4867b 23:39:32 ---> ef1f0040d68c 23:39:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:39:32 ---> Running in 7aecc434fae5 23:39:33 Removing intermediate container 7aecc434fae5 23:39:33 ---> a431f55e9b48 23:39:33 Step 23/25 : LABEL arch=arm64 23:39:33 ---> Running in f9684bf3ac8f 23:39:33 Removing intermediate container f9684bf3ac8f 23:39:33 ---> 36bc2f5596b2 23:39:33 Step 24/25 : LABEL git_sha=dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:39:33 ---> Running in d14191fd1d86 23:39:33 Removing intermediate container d14191fd1d86 23:39:33 ---> a106fcbf4dc5 23:39:33 Step 25/25 : LABEL version=3.0.0-dev.24 23:39:34 ---> Running in e5cfa7201e66 23:39:34 Removing intermediate container e5cfa7201e66 23:39:34 ---> 4d0f8ac4db3a 23:39:34 [Warning] One or more build-args [ARCH] were not consumed 23:39:34 Successfully built 4d0f8ac4db3a 23:39:34 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:39:34 provisioning config files... 23:39:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/96@tmp/config16964211563073795450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:34 ---> docker-login.sh 23:39:34 nexus3.edgexfoundry.org:10001 23:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:35 Configure a credential helper to remove this warning. See 23:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:35 23:39:35 Login Succeeded 23:39:35 nexus3.edgexfoundry.org:10002 23:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:35 Configure a credential helper to remove this warning. See 23:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:35 23:39:35 Login Succeeded 23:39:35 nexus3.edgexfoundry.org:10003 23:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:35 Configure a credential helper to remove this warning. See 23:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:35 23:39:36 Login Succeeded 23:39:36 nexus3.edgexfoundry.org:10004 23:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:36 Configure a credential helper to remove this warning. See 23:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:36 23:39:36 Login Succeeded 23:39:36 docker.io 23:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:37 Configure a credential helper to remove this warning. See 23:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:37 23:39:37 Login Succeeded 23:39:37 ---> docker-login.sh ends [Pipeline] } 23:39:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:39:37 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:39:37 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:39:37 latest 23:39:37 3.0.0-dev.24 23:39:37 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 23:39:37 main 23:39:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:39:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:37 193831f4ae94: Preparing 23:39:37 d2b49932e2fd: Preparing 23:39:37 78bf496a00c3: Preparing 23:39:37 9c2afa8e8cca: Preparing 23:39:37 26cbea5cba74: Preparing 23:39:38 26cbea5cba74: Layer already exists 23:39:38 d2b49932e2fd: Pushed 23:39:38 193831f4ae94: Pushed 23:39:38 9c2afa8e8cca: Pushed 23:39:43 78bf496a00c3: Pushed 23:39:43 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9: digest: sha256:ed2c5b51144499ab18101d279ae7cc28c8a87bbe14930db9a0ee32806926a975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:39:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:44 193831f4ae94: Preparing 23:39:44 d2b49932e2fd: Preparing 23:39:44 78bf496a00c3: Preparing 23:39:44 9c2afa8e8cca: Preparing 23:39:44 26cbea5cba74: Preparing 23:39:44 9c2afa8e8cca: Layer already exists 23:39:44 d2b49932e2fd: Layer already exists 23:39:44 78bf496a00c3: Layer already exists 23:39:44 193831f4ae94: Layer already exists 23:39:44 26cbea5cba74: Layer already exists 23:39:44 latest: digest: sha256:ed2c5b51144499ab18101d279ae7cc28c8a87bbe14930db9a0ee32806926a975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.24 23:39:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:45 193831f4ae94: Preparing 23:39:45 d2b49932e2fd: Preparing 23:39:45 78bf496a00c3: Preparing 23:39:45 9c2afa8e8cca: Preparing 23:39:45 26cbea5cba74: Preparing 23:39:45 26cbea5cba74: Layer already exists 23:39:45 9c2afa8e8cca: Layer already exists 23:39:45 d2b49932e2fd: Layer already exists 23:39:45 193831f4ae94: Layer already exists 23:39:45 78bf496a00c3: Layer already exists 23:39:45 3.0.0-dev.24: digest: sha256:ed2c5b51144499ab18101d279ae7cc28c8a87bbe14930db9a0ee32806926a975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 23:39:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:46 193831f4ae94: Preparing 23:39:46 d2b49932e2fd: Preparing 23:39:46 78bf496a00c3: Preparing 23:39:46 9c2afa8e8cca: Preparing 23:39:46 26cbea5cba74: Preparing 23:39:46 d2b49932e2fd: Layer already exists 23:39:46 26cbea5cba74: Layer already exists 23:39:46 9c2afa8e8cca: Layer already exists 23:39:46 193831f4ae94: Layer already exists 23:39:46 78bf496a00c3: Layer already exists 23:39:46 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24: digest: sha256:ed2c5b51144499ab18101d279ae7cc28c8a87bbe14930db9a0ee32806926a975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:39:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:47 193831f4ae94: Preparing 23:39:47 d2b49932e2fd: Preparing 23:39:47 78bf496a00c3: Preparing 23:39:47 9c2afa8e8cca: Preparing 23:39:47 26cbea5cba74: Preparing 23:39:47 193831f4ae94: Layer already exists 23:39:47 9c2afa8e8cca: Layer already exists 23:39:47 d2b49932e2fd: Layer already exists 23:39:47 78bf496a00c3: Layer already exists 23:39:47 26cbea5cba74: Layer already exists 23:39:47 main: digest: sha256:ed2c5b51144499ab18101d279ae7cc28c8a87bbe14930db9a0ee32806926a975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:47 ===================================================== [Pipeline] echo 23:39:47 taggedImages: 23:39:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 23:39:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:39:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.24 23:39:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9-3.0.0-dev.24 23:39:47 - 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:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:47 23:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:48 arm64: Pulling from edgex-lftools-log-publisher 23:39:48 8998bd30e6a1: Pulling fs layer 23:39:48 04944245beec: Pulling fs layer 23:39:48 699f458cf7ca: Pulling fs layer 23:39:48 765212b225bb: Pulling fs layer 23:39:48 f23df028b6ca: Pulling fs layer 23:39:48 d65c8cfc05b1: Pulling fs layer 23:39:48 2437ff75d9bd: Pulling fs layer 23:39:48 f23df028b6ca: Waiting 23:39:48 d65c8cfc05b1: Waiting 23:39:48 765212b225bb: Waiting 23:39:48 2437ff75d9bd: Waiting 23:39:48 04944245beec: Verifying Checksum 23:39:48 04944245beec: Download complete 23:39:48 765212b225bb: Verifying Checksum 23:39:48 765212b225bb: Download complete 23:39:48 f23df028b6ca: Download complete 23:39:48 d65c8cfc05b1: Verifying Checksum 23:39:48 d65c8cfc05b1: Download complete 23:39:48 699f458cf7ca: Verifying Checksum 23:39:48 699f458cf7ca: Download complete 23:39:49 8998bd30e6a1: Verifying Checksum 23:39:49 8998bd30e6a1: Download complete 23:39:51 2437ff75d9bd: Verifying Checksum 23:39:51 2437ff75d9bd: Download complete 23:39:53 8998bd30e6a1: Pull complete 23:39:54 04944245beec: Pull complete 23:39:55 699f458cf7ca: Pull complete 23:39:55 765212b225bb: Pull complete 23:39:56 f23df028b6ca: Pull complete 23:39:56 d65c8cfc05b1: Pull complete 23:40:11 2437ff75d9bd: Pull complete 23:40:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-6330 does not seem to be running inside a container 23:40:12 $ 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/96 -v /w/workspace/device-rest-go/96:/w/workspace/device-rest-go/96:rw,z -v /w/workspace/device-rest-go/96@tmp:/w/workspace/device-rest-go/96@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:40:15 $ docker top 7a81dd48b19a2a26d0a50b6309bc6f61a82ef47287f7acd208e2b4d568afa3f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:16 ---> job-cost.sh 23:40:16 lf-activate-venv: SKIPPING 23:40:16 INFO: No Stack... 23:40:17 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:18 INFO: Archiving Costs [Pipeline] sh 23:40:18 + cat /w/workspace/device-rest-go/96/archives/cost.csv 23:40:18 + cut -d, -f6 [Pipeline] lock 23:40:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] 23:40:18 Resource [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] did not exist. Created. 23:40:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:19 /w/workspace/device-rest-go/96@tmp/durable-d542a196/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:20 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:20 Warning: overwriting stash ‘stack-cost’ 23:40:20 Stashed 1 file(s) [Pipeline] } 23:40:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:20 $ docker stop --time=1 7a81dd48b19a2a26d0a50b6309bc6f61a82ef47287f7acd208e2b4d568afa3f5 23:40:22 $ docker rm -f --volumes 7a81dd48b19a2a26d0a50b6309bc6f61a82ef47287f7acd208e2b4d568afa3f5 [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:40:22 provisioning config files... 23:40:22 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9103489307496747536tmp [Pipeline] { [Pipeline] sh 23:40:22 + set +x 23:40:22 + curl -s https://codecov.io/bash 23:40:22 + bash -s -- 23:40:22 23:40:22 _____ _ 23:40:22 / ____| | | 23:40:22 | | ___ __| | ___ ___ _____ __ 23:40:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:22 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:22 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:22 Bash-1.0.6 23:40:22 23:40:22 23:40:22 ==> git version 2.25.1 found 23:40:22 ==> 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:40:22 Release-Date: 2020-01-08 23:40:22 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:40:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:22 ==> Jenkins CI detected. 23:40:22 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:40:22 project root: . 23:40:22 --> token set from env 23:40:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:22 ==> Running gcov in . (disable via -X gcov) 23:40:22 ==> Python coveragepy not found 23:40:22 ==> Searching for coverage reports in: 23:40:22 + . 23:40:22 -> Found 1 reports 23:40:22 ==> Detecting git/mercurial file structure 23:40:22 ==> Reading reports 23:40:22 + ./coverage.out bytes=14200 23:40:22 ==> Appending adjustments 23:40:22 https://docs.codecov.io/docs/fixing-reports 23:40:22 + Found adjustments 23:40:22 ==> Gzipping contents 23:40:22 4.0K /tmp/codecov.bSv1Fm.gz 23:40:22 ==> Uploading reports 23:40:22 url: https://codecov.io 23:40:22 query: branch=main&commit=dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:22 -> Pinging Codecov 23:40:22 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=dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:22 -> Uploading to 23:40:22 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/4E5D53B4F1F92C436F7061BF334D961C/dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9/560f3076-a1af-4b5a-b48d-fae1f33e79d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T234022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84f6eea3fa32a5389b5d4d39a48f68ea57aadb28572be164ae92b7e1f88bf716 23:40:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:22 Dload Upload Total Spent Left Speed 23:40:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 9632 --:--:-- --:--:-- --:--:-- 9632 100 2437 0 0 100 2437 0 9632 --:--:-- --:--:-- --:--:-- 9594 23:40:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] } 23:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:40:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:40:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:23 23:40:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:40:24 df9b9388f04a: Pulling fs layer 23:40:24 52dc419b0ee2: Pulling fs layer 23:40:24 25bc292e5bac: Pulling fs layer 23:40:24 114826534d7a: Pulling fs layer 23:40:24 4657fd5d0bcf: Pulling fs layer 23:40:24 6ad1cebc031e: Pulling fs layer 23:40:24 8a3aa393b2d8: Pulling fs layer 23:40:24 4657fd5d0bcf: Waiting 23:40:24 6ad1cebc031e: Waiting 23:40:24 8a3aa393b2d8: Waiting 23:40:24 114826534d7a: Waiting 23:40:24 25bc292e5bac: Verifying Checksum 23:40:24 25bc292e5bac: Download complete 23:40:24 52dc419b0ee2: Verifying Checksum 23:40:24 52dc419b0ee2: Download complete 23:40:24 4657fd5d0bcf: Download complete 23:40:24 df9b9388f04a: Download complete 23:40:24 6ad1cebc031e: Verifying Checksum 23:40:24 6ad1cebc031e: Download complete 23:40:24 df9b9388f04a: Pull complete 23:40:25 114826534d7a: Verifying Checksum 23:40:25 114826534d7a: Download complete 23:40:25 8a3aa393b2d8: Verifying Checksum 23:40:25 8a3aa393b2d8: Download complete 23:40:25 52dc419b0ee2: Pull complete 23:40:25 25bc292e5bac: Pull complete 23:40:29 114826534d7a: Pull complete 23:40:29 4657fd5d0bcf: Pull complete 23:40:29 6ad1cebc031e: Pull complete 23:40:32 8a3aa393b2d8: Pull complete 23:40:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:32 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:40:32 $ 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:40:36 $ docker top 4cd36a4ce0e156a5f15a6efb33ac63a3529bbcbdd9443704239233f122c95e6f -eo pid,comm [Pipeline] { [Pipeline] echo 23:40:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:40:36 + set -o pipefail 23:40:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:40:41 23:40:41 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:40:41 23:40:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/802a9555-f740-4cbe-87f5-9e7bde399c60 23:40:41 23:40:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:40:41 23:40:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:40:41 23:40:41 23:40:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:40:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:40:41 More details here: https://snyk.co/ue1NS [Pipeline] } 23:40:41 $ docker stop --time=1 4cd36a4ce0e156a5f15a6efb33ac63a3529bbcbdd9443704239233f122c95e6f 23:40:44 $ docker rm -f --volumes 4cd36a4ce0e156a5f15a6efb33ac63a3529bbcbdd9443704239233f122c95e6f [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:40:45 + git log --format=format:%s -1 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 [Pipeline] sh 23:40:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:40:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:45 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:40:45 $ 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:40:46 $ docker top 0c263d4550734b46124847a26b2b1d78c2484e2a08baa0ff82322e860b44de34 -eo pid,comm 23:40:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:40:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:40:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:46 [ssh-agent] Looking for ssh-agent implementation... 23:40:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:46 $ docker exec 0c263d4550734b46124847a26b2b1d78c2484e2a08baa0ff82322e860b44de34 ssh-agent 23:40:46 SSH_AUTH_SOCK=/tmp/ssh-4YMTO1M1K80L/agent.31 23:40:46 SSH_AGENT_PID=37 23:40:46 Running ssh-add (command line suppressed) 23:40:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8813881963847304748.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8813881963847304748.key) 23:40:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:47 + git semver tag 23:40:47 2023-03-29 23:40:47,192 [run_tag] DEBUG tag force:False 23:40:47 2023-03-29 23:40:47,192 [check_head_tag] DEBUG check head tag 23:40:47 2023-03-29 23:40:47,193 [execute] INFO git cat-file --batch-check 23:40:47 2023-03-29 23:40:47,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:40:47 2023-03-29 23:40:47,197 [execute] INFO git cat-file --batch 23:40:47 2023-03-29 23:40:47,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:40:47 2023-03-29 23:40:47,214 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:40:47 2023-03-29 23:40:47,214 [execute] INFO git tag -a v3.0.0-dev.24 -m v3.0.0-dev.24 23:40:47 2023-03-29 23:40:47,215 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.24', '-m', 'v3.0.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:40:47 2023-03-29 23:40:47,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:40:47 3.0.0-dev.24 [Pipeline] } 23:40:47 $ docker exec --env ******** --env ******** 0c263d4550734b46124847a26b2b1d78c2484e2a08baa0ff82322e860b44de34 ssh-agent -k 23:40:47 unset SSH_AUTH_SOCK; 23:40:47 unset SSH_AGENT_PID; 23:40:47 echo Agent pid 37 killed; 23:40:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:47 + git semver [Pipeline] } 23:40:47 $ docker stop --time=1 0c263d4550734b46124847a26b2b1d78c2484e2a08baa0ff82322e860b44de34 23:40:49 $ docker rm -f --volumes 0c263d4550734b46124847a26b2b1d78c2484e2a08baa0ff82322e860b44de34 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:40:49 23:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:40:49 0.23.1-centos7: Pulling from edgex-lftools 23:40:49 ab5ef0e58194: Pulling fs layer 23:40:49 9712f1f96733: Pulling fs layer 23:40:49 63f879dbbcfc: Pulling fs layer 23:40:49 0d9ebad4ef96: Pulling fs layer 23:40:49 e9a5061849ea: Pulling fs layer 23:40:49 d747dcd14b5f: Pulling fs layer 23:40:49 2de7ff778b66: Pulling fs layer 23:40:49 e9a5061849ea: Waiting 23:40:49 0d9ebad4ef96: Waiting 23:40:49 d747dcd14b5f: Waiting 23:40:49 9712f1f96733: Verifying Checksum 23:40:50 63f879dbbcfc: Verifying Checksum 23:40:50 63f879dbbcfc: Download complete 23:40:50 e9a5061849ea: Verifying Checksum 23:40:50 e9a5061849ea: Download complete 23:40:50 d747dcd14b5f: Verifying Checksum 23:40:50 d747dcd14b5f: Download complete 23:40:50 ab5ef0e58194: Verifying Checksum 23:40:50 ab5ef0e58194: Download complete 23:40:50 0d9ebad4ef96: Verifying Checksum 23:40:50 0d9ebad4ef96: Download complete 23:40:50 2de7ff778b66: Verifying Checksum 23:40:50 2de7ff778b66: Download complete 23:40:52 ab5ef0e58194: Pull complete 23:40:52 9712f1f96733: Pull complete 23:40:53 63f879dbbcfc: Pull complete 23:40:56 0d9ebad4ef96: Pull complete 23:40:56 e9a5061849ea: Pull complete 23:40:56 d747dcd14b5f: Pull complete 23:40:58 2de7ff778b66: Pull complete 23:40:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:40:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:58 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:40:58 $ 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:41:03 $ docker top dc91f71eefaee15e4738b3e6285b64550077e2ef1a0c04ded4fc504cd2b9538c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:41:03 provisioning config files... 23:41:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16800795034167831170tmp 23:41:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16309701332086243937tmp 23:41:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config50556405518090898tmp [Pipeline] { [Pipeline] echo 23:41:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:41:04 ---> sigul-configuration.sh 23:41:04 gpg: directory `/root/.gnupg' created 23:41:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:41:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:41:04 gpg: keyring `/root/.gnupg/secring.gpg' created 23:41:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:41:04 gpg: CAST5 encrypted data 23:41:04 gpg: encrypted with 1 passphrase 23:41:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:41:04 + mkdir /home/jenkins 23:41:04 + mkdir /home/jenkins/sigul [Pipeline] sh 23:41:04 + 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:41:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:41:05 ---> sigul-install.sh 23:41:05 Sigul already installed; skipping installation. [Pipeline] sh 23:41:05 + git tag --list 23:41:05 v1.0.0 23:41:05 v1.1.0 23:41:05 v1.1.1 23:41:05 v1.1.2 23:41:05 v1.2.0 23:41:05 v1.2.1 23:41:05 v2.0.0 23:41:05 v2.1.0 23:41:05 v2.1.1 23:41:05 v2.1.1-dev.1 23:41:05 v2.1.1-dev.2 23:41:05 v2.1.1-dev.3 23:41:05 v2.2.0 23:41:05 v2.2.1-dev.1 23:41:05 v2.2.1-dev.2 23:41:05 v2.2.1-dev.3 23:41:05 v2.2.1-dev.4 23:41:05 v2.2.1-dev.5 23:41:05 v2.2.1-dev.6 23:41:05 v2.2.1-dev.7 23:41:05 v2.2.1-dev.8 23:41:05 v2.2.1-dev.9 23:41:05 v2.3.0 23:41:05 v2.3.0-dev.10 23:41:05 v2.3.0-dev.11 23:41:05 v2.3.0-dev.12 23:41:05 v2.3.0-dev.13 23:41:05 v2.3.0-dev.14 23:41:05 v2.3.0-dev.15 23:41:05 v2.3.0-dev.16 23:41:05 v2.3.0-dev.17 23:41:05 v2.3.0-dev.18 23:41:05 v2.3.0-dev.19 23:41:05 v2.3.0-dev.20 23:41:05 v2.3.0-dev.21 23:41:05 v2.3.0-dev.22 23:41:05 v2.3.0-dev.23 23:41:05 v2.3.0-dev.24 23:41:05 v2.3.0-dev.25 23:41:05 v2.3.0-dev.9 23:41:05 v3.0.0-dev.1 23:41:05 v3.0.0-dev.10 23:41:05 v3.0.0-dev.11 23:41:05 v3.0.0-dev.12 23:41:05 v3.0.0-dev.13 23:41:05 v3.0.0-dev.14 23:41:05 v3.0.0-dev.15 23:41:05 v3.0.0-dev.16 23:41:05 v3.0.0-dev.17 23:41:05 v3.0.0-dev.18 23:41:05 v3.0.0-dev.19 23:41:05 v3.0.0-dev.2 23:41:05 v3.0.0-dev.20 23:41:05 v3.0.0-dev.21 23:41:05 v3.0.0-dev.22 23:41:05 v3.0.0-dev.23 23:41:05 v3.0.0-dev.24 23:41:05 v3.0.0-dev.3 23:41:05 v3.0.0-dev.4 23:41:05 v3.0.0-dev.5 23:41:05 v3.0.0-dev.6 23:41:05 v3.0.0-dev.7 23:41:05 v3.0.0-dev.8 23:41:05 v3.0.0-dev.9 [Pipeline] sh 23:41:05 + lftools sign git-tag v3.0.0-dev.24 23:41:06 Signing Git tag with Sigul... 23:41:06 Signing v3.0.0-dev.24 [Pipeline] echo 23:41:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:41:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:41:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:41:06 $ docker stop --time=1 dc91f71eefaee15e4738b3e6285b64550077e2ef1a0c04ded4fc504cd2b9538c 23:41:08 $ docker rm -f --volumes dc91f71eefaee15e4738b3e6285b64550077e2ef1a0c04ded4fc504cd2b9538c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:41:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:41:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:08 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:41:08 $ 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:41:09 $ docker top 7d70182ebb6a4578e5f5e62451fe12d87721233557297f6f314d990fd4755812 -eo pid,comm 23:41:09 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:41:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:09 [ssh-agent] Looking for ssh-agent implementation... 23:41:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:09 $ docker exec 7d70182ebb6a4578e5f5e62451fe12d87721233557297f6f314d990fd4755812 ssh-agent 23:41:09 SSH_AUTH_SOCK=/tmp/ssh-SkW0Ba7XVm51/agent.30 23:41:09 SSH_AGENT_PID=36 23:41:09 Running ssh-add (command line suppressed) 23:41:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10997103061995820935.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10997103061995820935.key) 23:41:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:09 + git semver bump pre 23:41:10 2023-03-29 23:41:10,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:41:10 2023-03-29 23:41:10,007 [bump_version] DEBUG bumping version:3.0.0-dev.24 on axis:pre with prefix:dev 23:41:10 2023-03-29 23:41:10,007 [bump_version] DEBUG bumped version:3.0.0-dev.25 23:41:10 2023-03-29 23:41:10,007 [write_version] DEBUG write version:3.0.0-dev.25 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:41:10 2023-03-29 23:41:10,007 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:41:10 2023-03-29 23:41:10,007 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:41:10 2023-03-29 23:41:10,009 [execute] INFO git cat-file --batch-check 23:41:10 2023-03-29 23:41:10,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:41:10 2023-03-29 23:41:10,014 [execute] INFO git cat-file --batch 23:41:10 2023-03-29 23:41:10,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:41:10 2023-03-29 23:41:10,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:41:10 3.0.0-dev.25 [Pipeline] } 23:41:10 $ docker exec --env ******** --env ******** 7d70182ebb6a4578e5f5e62451fe12d87721233557297f6f314d990fd4755812 ssh-agent -k 23:41:10 unset SSH_AUTH_SOCK; 23:41:10 unset SSH_AGENT_PID; 23:41:10 echo Agent pid 36 killed; 23:41:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:10 + git semver [Pipeline] } 23:41:10 $ docker stop --time=1 7d70182ebb6a4578e5f5e62451fe12d87721233557297f6f314d990fd4755812 23:41:12 $ docker rm -f --volumes 7d70182ebb6a4578e5f5e62451fe12d87721233557297f6f314d990fd4755812 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:41:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:12 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:41: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:41:13 $ docker top 53c7c339524546de4f029b1b2a6d737751b034637db50aef79709aa30a65afdd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:13 [ssh-agent] Looking for ssh-agent implementation... 23:41:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:13 $ docker exec 53c7c339524546de4f029b1b2a6d737751b034637db50aef79709aa30a65afdd ssh-agent 23:41:13 SSH_AUTH_SOCK=/tmp/ssh-yA6LvsFFUxt2/agent.32 23:41:13 SSH_AGENT_PID=38 23:41:13 Running ssh-add (command line suppressed) 23:41:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5199160912062479590.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5199160912062479590.key) 23:41:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:13 + git semver push 23:41:14 2023-03-29 23:41:14,161 [run_push] DEBUG push 23:41:14 2023-03-29 23:41:14,162 [execute] INFO git cat-file --batch-check 23:41:14 2023-03-29 23:41:14,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:41:14 2023-03-29 23:41:14,166 [execute] INFO git rev-list 1b31b825574ae0e82847f60afc021c81cfe61253 -- 23:41:14 2023-03-29 23:41:14,166 [execute] DEBUG Popen(['git', 'rev-list', '1b31b825574ae0e82847f60afc021c81cfe61253', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:41:14 2023-03-29 23:41:14,174 [execute] INFO git fetch -v origin 23:41:14 2023-03-29 23:41:14,174 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:41:14 2023-03-29 23:41:14,646 [run_push] DEBUG no remote changes detected 23:41:14 2023-03-29 23:41:14,646 [execute] INFO git push origin semver 23:41:14 2023-03-29 23:41:14,647 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:41:15 2023-03-29 23:41:15,412 [run_push] DEBUG push all version tags 23:41:15 2023-03-29 23:41:15,412 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:41:15 2023-03-29 23:41:15,413 [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:41:16 2023-03-29 23:41:16,194 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:41:16 3.0.0-dev.25 [Pipeline] } 23:41:16 $ docker exec --env ******** --env ******** 53c7c339524546de4f029b1b2a6d737751b034637db50aef79709aa30a65afdd ssh-agent -k 23:41:16 unset SSH_AUTH_SOCK; 23:41:16 unset SSH_AGENT_PID; 23:41:16 echo Agent pid 38 killed; 23:41:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:16 + git semver [Pipeline] } 23:41:16 $ docker stop --time=1 53c7c339524546de4f029b1b2a6d737751b034637db50aef79709aa30a65afdd 23:41:18 $ docker rm -f --volumes 53c7c339524546de4f029b1b2a6d737751b034637db50aef79709aa30a65afdd [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:41:18 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:41:18 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:41:18 total 16 23:41:18 drwxr-xr-x 3 root root 4096 Mar 29 23:27 . 23:41:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:41 .. 23:41:18 drwxr-xr-x 2 root root 4096 Mar 29 23:27 cost 23:41:18 -rw-r--r-- 1 root root 85 Mar 29 23:27 cost.csv 23:41:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:41:18 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:41:18 total 16 23:41:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:27 . 23:41:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:41 .. 23:41:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:27 cost 23:41:18 -rw-r--r-- 1 jenkins jenkins 85 Mar 29 23:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:41:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:41:19 ---> package-listing.sh 23:41:19 ++ facter osfamily 23:41:19 ++ tr '[:upper:]' '[:lower:]' 23:41:20 + OS_FAMILY=debian 23:41:20 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:41:20 + START_PACKAGES=/tmp/packages_start.txt 23:41:20 + END_PACKAGES=/tmp/packages_end.txt 23:41:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:41:20 + PACKAGES=/tmp/packages_start.txt 23:41:20 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:41:20 + PACKAGES=/tmp/packages_end.txt 23:41:20 + case "${OS_FAMILY}" in 23:41:20 + dpkg -l 23:41:20 + grep '^ii' 23:41:20 + '[' -f /tmp/packages_start.txt ']' 23:41:20 + '[' -f /tmp/packages_end.txt ']' 23:41:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:41:20 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:41:20 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:41:20 + 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:41:20 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:41:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:21 prd-ubuntu20.04-docker-8c-8g-6323 does not seem to be running inside a container 23:41:21 $ 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:41:21 $ docker top 16387984f11e722bb18b348bd047a2b277316e3581c98cf6064f78193a16d1fa -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:21 + touch /tmp/pre-build-complete [Pipeline] sh 23:41:21 + mkdir -p /var/log/sysstat [Pipeline] sh 23:41:22 + ls /var/log/sa-host 23:41:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:22 provisioning config files... 23:41:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2393420282697805084tmp [Pipeline] { [Pipeline] echo 23:41:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:41:22 ---> create-netrc.sh [Pipeline] } 23:41:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:41:22 ---> python-tools-install.sh [Pipeline] echo 23:41:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:41:23 ---> sudo-logs.sh 23:41:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:41:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:41:23 ---> job-cost.sh 23:41:23 lf-activate-venv: SKIPPING 23:41:23 DEBUG: total: 0.2199999988079071 23:41:23 INFO: Retrieving Stack Cost... 23:41:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:41:24 INFO: Archiving Costs [Pipeline] echo 23:41:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:41:24 ---> logs-deploy.sh 23:41:24 lf-activate-venv: SKIPPING 23:41:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/96 23:41:24 INFO: archiving workspace using pattern(s): 23:41:25 Archives upload complete. 23:41:25 INFO: archiving logs to Nexus