Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 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-ssh3133956351813269802.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4275096766062772086.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11369553227687373385.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3433021540036627620.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-ssh8089569251699136221.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-14454 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 > 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 Avoid second fetch Checking out Revision f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc (main) Commit message: "Merge pull request #310 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 > git rev-list --no-walk 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:43:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:43:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:43:58 ========================================================= 04:43:58 EdgeX Global Pipelines Version Info 04:43:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:43:59 ------------------- 04:43:59 stable info: 04:43:59 ------------------- 04:43:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:43:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:43:59 Message: update stable to v1.0.249 04:43:59 ------------------- 04:43:59 experimental info: 04:43:59 ------------------- 04:43:59 Commited By: **** collab-it+edgex@linuxfoundation.org 04:43:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:43:59 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f04ad0e [Pipeline] echo 04:44:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:44:00 provisioning config files... 04:44:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1104791937659279115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:00 ---> docker-login.sh 04:44:00 nexus3.edgexfoundry.org:10001 04:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:01 Configure a credential helper to remove this warning. See 04:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:01 04:44:01 Login Succeeded 04:44:01 nexus3.edgexfoundry.org:10002 04:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:01 Configure a credential helper to remove this warning. See 04:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:01 04:44:01 Login Succeeded 04:44:01 nexus3.edgexfoundry.org:10003 04:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:01 Configure a credential helper to remove this warning. See 04:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:01 04:44:01 Login Succeeded 04:44:01 nexus3.edgexfoundry.org:10004 04:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:01 Configure a credential helper to remove this warning. See 04:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:01 04:44:01 Login Succeeded 04:44:01 docker.io 04:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:01 Configure a credential helper to remove this warning. See 04:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:01 04:44:01 Login Succeeded 04:44:01 ---> docker-login.sh ends [Pipeline] } 04:44:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:44:02 + git rev-list -1 --merges f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc~1..f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] echo 04:44:02 -----------> git rev-list -1 --merges f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc~1..f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:44:02 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [false] [Pipeline] sh 04:44:02 + git log --format=format:%s -1 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] echo 04:44:02 ========================================================= 04:44:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:44:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:02 + git log --format=format:%s -1 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] echo 04:44:02 [semverPrep] GIT_COMMIT: f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc, Commit Message: Merge pull request #310 from jumpingliu/ignore-go-mods [Pipeline] echo 04:44:02 [semverPrep] This is not a build commit. [Pipeline] sh 04:44:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:44:03 + grep -v github /etc/ssh/ssh_known_hosts 04:44:03 + [ -e /tmp/ssh_known_hosts ] 04:44:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:44:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:44:03 + sudo tee -a /etc/ssh/ssh_known_hosts 04:44:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:03 04:44:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:03 0.1.4: Pulling from edgex-devops/py-git-semver 04:44:03 b85a868b505f: Pulling fs layer 04:44:03 e2be974225ed: Pulling fs layer 04:44:03 339a4e72a1f5: Pulling fs layer 04:44:03 988bab9f4d93: Pulling fs layer 04:44:03 1469e6f7b9e6: Pulling fs layer 04:44:03 eaf3925da568: Pulling fs layer 04:44:03 bab4dde63d76: Pulling fs layer 04:44:03 bde34c3a00c8: Pulling fs layer 04:44:03 b352a97aabf1: Pulling fs layer 04:44:03 4872d77fe225: Pulling fs layer 04:44:03 5851b861e8e6: Pulling fs layer 04:44:03 1469e6f7b9e6: Waiting 04:44:03 5851b861e8e6: Waiting 04:44:03 b352a97aabf1: Waiting 04:44:03 eaf3925da568: Waiting 04:44:03 bde34c3a00c8: Waiting 04:44:03 4872d77fe225: Waiting 04:44:03 bab4dde63d76: Waiting 04:44:03 988bab9f4d93: Waiting 04:44:03 e2be974225ed: Verifying Checksum 04:44:03 e2be974225ed: Download complete 04:44:03 988bab9f4d93: Verifying Checksum 04:44:03 988bab9f4d93: Download complete 04:44:03 1469e6f7b9e6: Verifying Checksum 04:44:03 1469e6f7b9e6: Download complete 04:44:03 eaf3925da568: Verifying Checksum 04:44:03 eaf3925da568: Download complete 04:44:04 339a4e72a1f5: Verifying Checksum 04:44:04 339a4e72a1f5: Download complete 04:44:04 bde34c3a00c8: Download complete 04:44:04 b352a97aabf1: Download complete 04:44:04 4872d77fe225: Verifying Checksum 04:44:04 4872d77fe225: Download complete 04:44:04 5851b861e8e6: Verifying Checksum 04:44:04 5851b861e8e6: Download complete 04:44:04 b85a868b505f: Verifying Checksum 04:44:04 b85a868b505f: Download complete 04:44:04 bab4dde63d76: Verifying Checksum 04:44:04 bab4dde63d76: Download complete 04:44:05 b85a868b505f: Pull complete 04:44:05 e2be974225ed: Pull complete 04:44:05 339a4e72a1f5: Pull complete 04:44:05 988bab9f4d93: Pull complete 04:44:06 1469e6f7b9e6: Pull complete 04:44:06 eaf3925da568: Pull complete 04:44:08 bab4dde63d76: Pull complete 04:44:08 bde34c3a00c8: Pull complete 04:44:08 b352a97aabf1: Pull complete 04:44:08 4872d77fe225: Pull complete 04:44:08 5851b861e8e6: Pull complete 04:44:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:08 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:44: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:44:10 $ docker top 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee -eo pid,comm 04:44:10 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). 04:44:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:10 [ssh-agent] Looking for ssh-agent implementation... 04:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:10 $ docker exec 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee ssh-agent 04:44:10 SSH_AUTH_SOCK=/tmp/ssh-HW55cWZ05bd1/agent.32 04:44:10 SSH_AGENT_PID=38 04:44:10 Running ssh-add (command line suppressed) 04:44:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7395809486511355493.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7395809486511355493.key) 04:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:11 + git tag --points-at HEAD [Pipeline] } 04:44:11 $ docker exec --env ******** --env ******** 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee ssh-agent -k 04:44:11 unset SSH_AUTH_SOCK; 04:44:11 unset SSH_AGENT_PID; 04:44:11 echo Agent pid 38 killed; 04:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:44:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:11 [ssh-agent] Looking for ssh-agent implementation... 04:44:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:11 $ docker exec 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee ssh-agent 04:44:11 SSH_AUTH_SOCK=/tmp/ssh-V9NODz4eUGiF/agent.70 04:44:11 SSH_AGENT_PID=76 04:44:11 Running ssh-add (command line suppressed) 04:44:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9951109399251484287.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9951109399251484287.key) 04:44:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:11 + git semver init 04:44:12 2023-05-08 04:44:11,996 [run_init] DEBUG init version:0.0.0 force:False 04:44:12 2023-05-08 04:44:11,996 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 04:44:12 2023-05-08 04:44:11,997 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 04:44:12 2023-05-08 04:44:11,997 [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) 04:44:13 2023-05-08 04:44:12,989 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 04:44:13 2023-05-08 04:44:12,989 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 04:44:13 2023-05-08 04:44:12,990 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:13 2023-05-08 04:44:12,990 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:13 3.0.0-dev.37 [Pipeline] } 04:44:13 $ docker exec --env ******** --env ******** 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee ssh-agent -k 04:44:13 unset SSH_AUTH_SOCK; 04:44:13 unset SSH_AGENT_PID; 04:44:13 echo Agent pid 76 killed; 04:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:13 + git semver [Pipeline] } 04:44:13 $ docker stop --time=1 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee 04:44:14 $ docker rm -f --volumes 6dc6a480399dde93b6f0e3443f283cf4b1db7ab639eeec0e96caf2b1ade95aee [Pipeline] // withDockerContainer [Pipeline] sh 04:44:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:44:15 Stashed 1 file(s) [Pipeline] echo 04:44:15 [edgeXSemver]: initialized semver on version 3.0.0-dev.37 [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 04:44:15 provisioning config files... 04:44:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14433490933951744710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:15 ---> docker-login.sh 04:44:15 nexus3.edgexfoundry.org:10001 04:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:15 Configure a credential helper to remove this warning. See 04:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:15 04:44:15 Login Succeeded 04:44:15 nexus3.edgexfoundry.org:10002 04:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:15 Configure a credential helper to remove this warning. See 04:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:15 04:44:15 Login Succeeded 04:44:15 nexus3.edgexfoundry.org:10003 04:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:16 Configure a credential helper to remove this warning. See 04:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:16 04:44:16 Login Succeeded 04:44:16 nexus3.edgexfoundry.org:10004 04:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:16 Configure a credential helper to remove this warning. See 04:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:16 04:44:16 Login Succeeded 04:44:16 docker.io 04:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:16 Configure a credential helper to remove this warning. See 04:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:16 04:44:16 Login Succeeded 04:44:16 ---> docker-login.sh ends [Pipeline] } 04:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:16 ========================================================= 04:44:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:44:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:16 + 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 . 04:44:16 Sending build context to Docker daemon 10.91MB 04:44:16 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:44:16 Step 2/12 : FROM ${BASE} AS builder 04:44:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:44:16 f56be85fc22e: Pulling fs layer 04:44:16 85791d961cd3: Pulling fs layer 04:44:16 d694b5ae8c79: Pulling fs layer 04:44:16 9f32a84ed3da: Pulling fs layer 04:44:16 4d19c01a9841: Pulling fs layer 04:44:16 9325e15d5711: Pulling fs layer 04:44:16 556b6ee489ea: Pulling fs layer 04:44:16 c5a4b2cf53e6: Pulling fs layer 04:44:16 9325e15d5711: Waiting 04:44:16 9f32a84ed3da: Waiting 04:44:16 4d19c01a9841: Waiting 04:44:16 c5a4b2cf53e6: Waiting 04:44:16 556b6ee489ea: Waiting 04:44:16 85791d961cd3: Download complete 04:44:16 9f32a84ed3da: Verifying Checksum 04:44:16 9f32a84ed3da: Download complete 04:44:17 4d19c01a9841: Verifying Checksum 04:44:17 4d19c01a9841: Download complete 04:44:17 f56be85fc22e: Verifying Checksum 04:44:17 f56be85fc22e: Download complete 04:44:17 9325e15d5711: Verifying Checksum 04:44:17 9325e15d5711: Download complete 04:44:17 f56be85fc22e: Pull complete 04:44:17 85791d961cd3: Pull complete 04:44:17 c5a4b2cf53e6: Verifying Checksum 04:44:17 c5a4b2cf53e6: Download complete 04:44:17 d694b5ae8c79: Verifying Checksum 04:44:17 d694b5ae8c79: Download complete 04:44:17 556b6ee489ea: Verifying Checksum 04:44:17 556b6ee489ea: Download complete 04:44:21 d694b5ae8c79: Pull complete 04:44:21 9f32a84ed3da: Pull complete 04:44:21 4d19c01a9841: Pull complete 04:44:21 9325e15d5711: Pull complete 04:44:23 556b6ee489ea: Pull complete 04:44:24 c5a4b2cf53e6: Pull complete 04:44:24 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:44:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:44:24 ---> c4be618373d6 04:44:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:44:27 ---> Running in 8c17515a2377 04:44:27 Removing intermediate container 8c17515a2377 04:44:27 ---> faee17071d22 04:44:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:44:27 ---> Running in 47dc2195825d 04:44:27 Removing intermediate container 47dc2195825d 04:44:27 ---> 13eeeb078c6a 04:44:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:44:27 ---> Running in 80f1d3e7eaa6 04:44:27 Removing intermediate container 80f1d3e7eaa6 04:44:27 ---> 6455002f4c6c 04:44:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:44:27 ---> Running in f5b947fc3eee 04:44:27 Removing intermediate container f5b947fc3eee 04:44:27 ---> 89611ff3a406 04:44:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:44:27 ---> Running in 1eb1ca2c2401 04:44:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:44:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:44:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:44:27 (2/4) Installing libedit (20221030.3.1-r0) 04:44:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:44:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:44:27 Executing busybox-1.35.0-r29.trigger 04:44:27 OK: 269 MiB in 57 packages 04:44:28 Removing intermediate container 1eb1ca2c2401 04:44:28 ---> 040f4a416dda 04:44:28 Step 8/12 : WORKDIR /device-rest-go 04:44:28 ---> Running in a2f7150e5a78 04:44:28 Removing intermediate container a2f7150e5a78 04:44:28 ---> 9a4f23be6bf0 04:44:28 Step 9/12 : COPY go.mod vendor* ./ 04:44:28 ---> 704335a1b20c 04:44:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:44:28 ---> Running in 8ebc7391615c 04:44:30 Still waiting to schedule task 04:44:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:44:50 Removing intermediate container 8ebc7391615c 04:44:50 ---> 8af43695cb48 04:44:50 Step 11/12 : COPY . . 04:44:50 ---> 37dab299cab6 04:44:50 Step 12/12 : RUN $MAKE 04:44:50 ---> Running in 8cb58fadf84e 04:44:50 noop 04:44:50 Removing intermediate container 8cb58fadf84e 04:44:50 ---> b895d1e5da3e 04:44:50 Successfully built b895d1e5da3e 04:44:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:50 + docker inspect -f . ci-base-image-x86_64 04:44:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:50 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:44:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:44:51 $ docker top 6103c359cc9e1ca577de91d64dcd9da19a400f1046a9a7ef0a69d83cde89e844 -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:51 + go version 04:44:51 go version go1.20.2 linux/amd64 [Pipeline] } 04:44:51 $ docker stop --time=1 6103c359cc9e1ca577de91d64dcd9da19a400f1046a9a7ef0a69d83cde89e844 04:44:52 $ docker rm -f --volumes 6103c359cc9e1ca577de91d64dcd9da19a400f1046a9a7ef0a69d83cde89e844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:53 + docker inspect -f . ci-base-image-x86_64 04:44:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:53 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:44:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:44:53 $ docker top f0f6f406dc8c06c12eaf59175ff6ffa5997abdc79c16bfc70075d4f4f0e01d80 -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 04:44:54 + make test 04:44:54 go test ./... -coverprofile=coverage.out ./... 04:44:58 ? github.com/edgexfoundry/device-rest-go [no test files] 04:45:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:45:08 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements 04:45:13 go vet ./... 04:45:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:45:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:45:16 ./bin/test-attribution-txt.sh [Pipeline] echo 04:45:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:45:16 $ docker stop --time=1 f0f6f406dc8c06c12eaf59175ff6ffa5997abdc79c16bfc70075d4f4f0e01d80 04:45:18 $ docker rm -f --volumes f0f6f406dc8c06c12eaf59175ff6ffa5997abdc79c16bfc70075d4f4f0e01d80 [Pipeline] // withDockerContainer [Pipeline] sh 04:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:45:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:45:20 + ls -al . 04:45:20 total 184 04:45:20 drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:44 . 04:45:20 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:43 .. 04:45:20 -rw-rw-r-- 1 jenkins jenkins 151 May 8 04:43 .dockerignore 04:45:20 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:44 .git 04:45:20 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:43 .github 04:45:20 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:43 .gitignore 04:45:20 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:43 .golangci.yml 04:45:20 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:44 .semver 04:45:20 -rw-rw-r-- 1 jenkins jenkins 9331 May 8 04:43 Attribution.txt 04:45:20 -rw-rw-r-- 1 jenkins jenkins 13085 May 8 04:43 CHANGELOG.md 04:45:20 -rw-rw-r-- 1 jenkins jenkins 1578 May 8 04:43 Dockerfile 04:45:20 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:43 GOVERNANCE.md 04:45:20 -rw-rw-r-- 1 jenkins jenkins 680 May 8 04:43 Jenkinsfile 04:45:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:43 LICENSE 04:45:20 -rw-rw-r-- 1 jenkins jenkins 1779 May 8 04:43 Makefile 04:45:20 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:43 OWNERS.md 04:45:20 -rw-rw-r-- 1 jenkins jenkins 15321 May 8 04:43 README.md 04:45:20 -rw-rw-r-- 1 jenkins jenkins 12 May 8 04:44 VERSION 04:45:20 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:43 bin 04:45:20 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:43 cmd 04:45:20 -rw-r--r-- 1 jenkins jenkins 14663 May 8 04:45 coverage.out 04:45:20 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:43 driver 04:45:20 -rw-rw-r-- 1 jenkins jenkins 3402 May 8 04:43 go.mod 04:45:20 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:43 go.sum 04:45:20 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:43 snap 04:45:20 -rw-rw-r-- 1 jenkins jenkins 713 May 8 04:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:20 + 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=f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc --label arch=amd64 --label version=3.0.0-dev.37 . 04:45:20 Sending build context to Docker daemon 10.92MB 04:45:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:45:20 Step 2/25 : FROM ${BASE} AS builder 04:45:20 ---> b895d1e5da3e 04:45:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:45:20 ---> Running in bfdae047dba7 04:45:20 Removing intermediate container bfdae047dba7 04:45:20 ---> 23ad4a66cd57 04:45:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:45:20 ---> Running in 53bb92b13171 04:45:20 Removing intermediate container 53bb92b13171 04:45:20 ---> eb0318d4a713 04:45:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:45:20 ---> Running in 8c501ec203b5 04:45:20 Removing intermediate container 8c501ec203b5 04:45:20 ---> ed2bd6291459 04:45:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:45:20 ---> Running in 2ff552e957d9 04:45:20 Removing intermediate container 2ff552e957d9 04:45:20 ---> 398f01634610 04:45:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:45:20 ---> Running in 08fbb1e41db3 04:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:45:21 OK: 269 MiB in 57 packages 04:45:21 Removing intermediate container 08fbb1e41db3 04:45:21 ---> 22bb1c02f13f 04:45:21 Step 8/25 : WORKDIR /device-rest-go 04:45:21 ---> Running in 0549e7244d02 04:45:21 Removing intermediate container 0549e7244d02 04:45:21 ---> 720fda62f308 04:45:21 Step 9/25 : COPY go.mod vendor* ./ 04:45:21 ---> 317312a6247d 04:45:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:21 ---> Running in 65bab1089fdb 04:45:22 Removing intermediate container 65bab1089fdb 04:45:22 ---> ed0d7eda25cb 04:45:22 Step 11/25 : COPY . . 04:45:22 ---> b1158a45eb63 04:45:22 Step 12/25 : RUN $MAKE 04:45:22 ---> Running in d4598ad85836 04:45:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:45:41 Removing intermediate container d4598ad85836 04:45:41 ---> 5086274723dd 04:45:41 Step 13/25 : FROM alpine:3.17 04:45:41 3.17: Pulling from library/alpine 04:45:41 f56be85fc22e: Already exists 04:45:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:45:41 Status: Downloaded newer image for alpine:3.17 04:45:41 ---> 9ed4aefc74f6 04:45:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:45:41 ---> Running in 953ac8a6b593 04:45:41 Removing intermediate container 953ac8a6b593 04:45:41 ---> 458a314a63b9 04:45:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:45:41 ---> Running in 40233af6957f 04:45:41 Removing intermediate container 40233af6957f 04:45:41 ---> cb3ea494e827 04:45:41 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:45:41 ---> Running in 79b854c86aa9 04:45:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:45:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:45:41 (1/1) Installing dumb-init (1.2.5-r2) 04:45:41 Executing busybox-1.35.0-r29.trigger 04:45:41 OK: 7 MiB in 16 packages 04:45:41 Removing intermediate container 79b854c86aa9 04:45:41 ---> 939b3bb5f314 04:45:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:45:41 ---> 269209460165 04:45:41 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:45:41 ---> dd6ae160d9ae 04:45:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:45:41 ---> 4d5c18db9dcc 04:45:41 Step 20/25 : EXPOSE 59986 04:45:41 ---> Running in d37910455f3f 04:45:41 Removing intermediate container d37910455f3f 04:45:41 ---> 667bff246912 04:45:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:45:41 ---> Running in 83679d99e320 04:45:41 Removing intermediate container 83679d99e320 04:45:41 ---> 0ac685e34a5c 04:45:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:45:41 ---> Running in 76ae4abde3f1 04:45:41 Removing intermediate container 76ae4abde3f1 04:45:41 ---> bcfa38b9700f 04:45:41 Step 23/25 : LABEL arch=amd64 04:45:41 ---> Running in 9929eb616183 04:45:41 Removing intermediate container 9929eb616183 04:45:41 ---> e5553841e9d3 04:45:41 Step 24/25 : LABEL git_sha=f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:45:41 ---> Running in 15f0c6c90c6f 04:45:41 Removing intermediate container 15f0c6c90c6f 04:45:41 ---> b90965033e70 04:45:41 Step 25/25 : LABEL version=3.0.0-dev.37 04:45:41 ---> Running in b1604688a3ee 04:45:41 Removing intermediate container b1604688a3ee 04:45:41 ---> 52cc79995eb8 04:45:41 [Warning] One or more build-args [ARCH] were not consumed 04:45:41 Successfully built 52cc79995eb8 04:45:41 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:41 provisioning config files... 04:45:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11361173616705326850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:42 ---> docker-login.sh 04:45:42 nexus3.edgexfoundry.org:10001 04:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:42 Configure a credential helper to remove this warning. See 04:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:42 04:45:42 Login Succeeded 04:45:42 nexus3.edgexfoundry.org:10002 04:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:42 Configure a credential helper to remove this warning. See 04:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:42 04:45:42 Login Succeeded 04:45:42 nexus3.edgexfoundry.org:10003 04:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:42 Configure a credential helper to remove this warning. See 04:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:42 04:45:42 Login Succeeded 04:45:42 nexus3.edgexfoundry.org:10004 04:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:42 Configure a credential helper to remove this warning. See 04:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:42 04:45:42 Login Succeeded 04:45:42 docker.io 04:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:42 Configure a credential helper to remove this warning. See 04:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:42 04:45:42 Login Succeeded 04:45:42 ---> docker-login.sh ends [Pipeline] } 04:45:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:45:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:45:42 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 04:45:42 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:45:42 latest 04:45:42 3.0.0-dev.37 04:45:42 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 04:45:42 main 04:45:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:45:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:45:43 f3901ab71ddd: Preparing 04:45:43 20400b6a8689: Preparing 04:45:43 ab939c269bb4: Preparing 04:45:43 3dd07f93b9f2: Preparing 04:45:43 f1417ff83b31: Preparing 04:45:43 f1417ff83b31: Layer already exists 04:45:43 f3901ab71ddd: Pushed 04:45:43 20400b6a8689: Pushed 04:45:43 3dd07f93b9f2: Pushed 04:45:45 ab939c269bb4: Pushed 04:45:45 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc: digest: sha256:01e366bab2766d1b8fc886c78521ffe0257f2c24d0ecd46ae21079f2d4175f1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 04:45:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:45:46 f3901ab71ddd: Preparing 04:45:46 20400b6a8689: Preparing 04:45:46 ab939c269bb4: Preparing 04:45:46 3dd07f93b9f2: Preparing 04:45:46 f1417ff83b31: Preparing 04:45:46 f1417ff83b31: Layer already exists 04:45:46 ab939c269bb4: Layer already exists 04:45:46 f3901ab71ddd: Layer already exists 04:45:46 3dd07f93b9f2: Layer already exists 04:45:46 20400b6a8689: Layer already exists 04:45:46 latest: digest: sha256:01e366bab2766d1b8fc886c78521ffe0257f2c24d0ecd46ae21079f2d4175f1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.37 04:45:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:45:47 f3901ab71ddd: Preparing 04:45:47 20400b6a8689: Preparing 04:45:47 ab939c269bb4: Preparing 04:45:47 3dd07f93b9f2: Preparing 04:45:47 f1417ff83b31: Preparing 04:45:47 f1417ff83b31: Layer already exists 04:45:47 3dd07f93b9f2: Layer already exists 04:45:47 ab939c269bb4: Layer already exists 04:45:47 20400b6a8689: Layer already exists 04:45:47 f3901ab71ddd: Layer already exists 04:45:47 3.0.0-dev.37: digest: sha256:01e366bab2766d1b8fc886c78521ffe0257f2c24d0ecd46ae21079f2d4175f1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 04:45:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:45:47 f3901ab71ddd: Preparing 04:45:47 20400b6a8689: Preparing 04:45:47 ab939c269bb4: Preparing 04:45:47 3dd07f93b9f2: Preparing 04:45:47 f1417ff83b31: Preparing 04:45:47 f3901ab71ddd: Layer already exists 04:45:47 f1417ff83b31: Layer already exists 04:45:47 3dd07f93b9f2: Layer already exists 04:45:47 20400b6a8689: Layer already exists 04:45:47 ab939c269bb4: Layer already exists 04:45:47 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37: digest: sha256:01e366bab2766d1b8fc886c78521ffe0257f2c24d0ecd46ae21079f2d4175f1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 04:45:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:45:48 f3901ab71ddd: Preparing 04:45:48 20400b6a8689: Preparing 04:45:48 ab939c269bb4: Preparing 04:45:48 3dd07f93b9f2: Preparing 04:45:48 f1417ff83b31: Preparing 04:45:48 20400b6a8689: Layer already exists 04:45:48 f1417ff83b31: Layer already exists 04:45:48 ab939c269bb4: Layer already exists 04:45:48 f3901ab71ddd: Layer already exists 04:45:48 3dd07f93b9f2: Layer already exists 04:45:48 main: digest: sha256:01e366bab2766d1b8fc886c78521ffe0257f2c24d0ecd46ae21079f2d4175f1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:45:48 ===================================================== [Pipeline] echo 04:45:48 taggedImages: 04:45:48 - nexus3.edgexfoundry.org:10004/device-rest:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:45:48 - nexus3.edgexfoundry.org:10004/device-rest:latest 04:45:48 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.37 04:45:48 - nexus3.edgexfoundry.org:10004/device-rest:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 04:45:48 - 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 04:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:48 04:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:49 latest: Pulling from edgex-lftools-log-publisher 04:45:49 5eb5b503b376: Pulling fs layer 04:45:49 5c69ac0246d0: Pulling fs layer 04:45:49 ec43610c2a17: Pulling fs layer 04:45:49 3a2ae6a8a46f: Pulling fs layer 04:45:49 33b1e0a273af: Pulling fs layer 04:45:49 5d3b04190fa2: Pulling fs layer 04:45:49 2f39f015ded8: Pulling fs layer 04:45:49 33b1e0a273af: Waiting 04:45:49 3a2ae6a8a46f: Waiting 04:45:49 5d3b04190fa2: Waiting 04:45:49 2f39f015ded8: Waiting 04:45:49 5c69ac0246d0: Download complete 04:45:49 3a2ae6a8a46f: Verifying Checksum 04:45:49 3a2ae6a8a46f: Download complete 04:45:49 33b1e0a273af: Verifying Checksum 04:45:49 5d3b04190fa2: Download complete 04:45:49 ec43610c2a17: Verifying Checksum 04:45:49 ec43610c2a17: Download complete 04:45:49 5eb5b503b376: Verifying Checksum 04:45:49 5eb5b503b376: Download complete 04:45:49 2f39f015ded8: Download complete 04:45:50 5eb5b503b376: Pull complete 04:45:50 5c69ac0246d0: Pull complete 04:45:51 ec43610c2a17: Pull complete 04:45:51 3a2ae6a8a46f: Pull complete 04:45:51 33b1e0a273af: Pull complete 04:45:51 5d3b04190fa2: Pull complete 04:45:55 2f39f015ded8: Pull complete 04:45:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:45:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:55 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:45:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:45:57 $ docker top a30324af66f0a20b1d8b239eee7fbe34a8ceecff4f4df05b47c3e1096ba3cfff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:58 ---> job-cost.sh 04:45:58 lf-activate-venv: SKIPPING 04:45:58 INFO: No Stack... 04:45:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:45:58 INFO: Archiving Costs [Pipeline] sh 04:45:58 + + catcut /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv -d, 04:45:58 -f6 [Pipeline] lock 04:45:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] 04:45:58 Resource [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] did not exist. Created. 04:45:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:59 + echo total: 0.2199999988079071 [Pipeline] stash 04:45:59 Stashed 1 file(s) [Pipeline] } 04:45:59 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 04:45:59 $ docker stop --time=1 a30324af66f0a20b1d8b239eee7fbe34a8ceecff4f4df05b47c3e1096ba3cfff 04:46:00 $ docker rm -f --volumes a30324af66f0a20b1d8b239eee7fbe34a8ceecff4f4df05b47c3e1096ba3cfff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:48:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14455 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 04:48:50 Running in /w/workspace/device-rest-go/109 [Pipeline] { [Pipeline] checkout 04:48:50 The recommended git tool is: git 04:48:55 using credential edgex-jenkins-ssh 04:48:55 Cloning the remote Git repository 04:48:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:48:56 > git init /w/workspace/device-rest-go/109 # timeout=10 04:48:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:48:56 > git --version # timeout=10 04:48:56 > git --version # 'git version 2.25.1' 04:48:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:48:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:59 Avoid second fetch 04:48:59 Checking out Revision f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc (main) 04:49:00 Commit message: "Merge pull request #310 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:59 > git config core.sparsecheckout # timeout=10 04:48:59 > git checkout -f f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 04:49:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:49:01 % Total % Received % Xferd Average Speed Time Time Time Current 04:49:01 Dload Upload Total Spent Left Speed 04:49:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 04:49:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:49:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:49:02 + sudo tee /etc/docker/daemon.new 04:49:02 { 04:49:02 "registry-mirrors": [ 04:49:02 "https://nexus3.edgexfoundry.org:10001" 04:49:02 ], 04:49:02 "bip": "10.250.0.254/24", 04:49:02 "hosts": [ 04:49:02 "tcp://0.0.0.0:5555", 04:49:02 "unix:///var/run/docker.sock" 04:49:02 ], 04:49:02 "mtu": 1458, 04:49:02 "selinux-enabled": true, 04:49:02 "seccomp-profile": "/etc/docker/seccomp.json" 04:49:02 } [Pipeline] sh 04:49:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:49:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:24 provisioning config files... 04:49:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/109@tmp/config1218557679662241176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:25 ---> docker-login.sh 04:49:25 nexus3.edgexfoundry.org:10001 04:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:26 Configure a credential helper to remove this warning. See 04:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:26 04:49:26 Login Succeeded 04:49:26 nexus3.edgexfoundry.org:10002 04:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:26 Configure a credential helper to remove this warning. See 04:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:26 04:49:26 Login Succeeded 04:49:26 nexus3.edgexfoundry.org:10003 04:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:26 Configure a credential helper to remove this warning. See 04:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:26 04:49:26 Login Succeeded 04:49:26 nexus3.edgexfoundry.org:10004 04:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:27 Configure a credential helper to remove this warning. See 04:49:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:27 04:49:27 Login Succeeded 04:49:27 docker.io 04:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:27 Configure a credential helper to remove this warning. See 04:49:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:27 04:49:27 Login Succeeded 04:49:27 ---> docker-login.sh ends [Pipeline] } 04:49:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:49:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:28 ========================================================= 04:49:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:49:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:28 + 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 . 04:49:28 Sending build context to Docker daemon 139.3kB 04:49:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:49:28 Step 2/12 : FROM ${BASE} AS builder 04:49:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:49:29 c41833b44d91: Pulling fs layer 04:49:29 ed15518f5707: Pulling fs layer 04:49:29 feae8fd75edb: Pulling fs layer 04:49:29 242c74f7c9fa: Pulling fs layer 04:49:29 3cdef696dda3: Pulling fs layer 04:49:29 2ced38df9373: Pulling fs layer 04:49:29 58f1dce35555: Pulling fs layer 04:49:29 242c74f7c9fa: Waiting 04:49:29 3cdef696dda3: Waiting 04:49:29 2ced38df9373: Waiting 04:49:29 58f1dce35555: Waiting 04:49:29 ed15518f5707: Verifying Checksum 04:49:29 ed15518f5707: Download complete 04:49:29 242c74f7c9fa: Verifying Checksum 04:49:29 242c74f7c9fa: Download complete 04:49:29 3cdef696dda3: Verifying Checksum 04:49:29 3cdef696dda3: Download complete 04:49:29 c41833b44d91: Verifying Checksum 04:49:30 c41833b44d91: Pull complete 04:49:30 58f1dce35555: Verifying Checksum 04:49:30 ed15518f5707: Pull complete 04:49:31 feae8fd75edb: Verifying Checksum 04:49:31 feae8fd75edb: Download complete 04:49:31 2ced38df9373: Verifying Checksum 04:49:31 2ced38df9373: Download complete 04:49:44 feae8fd75edb: Pull complete 04:49:44 242c74f7c9fa: Pull complete 04:49:44 3cdef696dda3: Pull complete 04:49:49 2ced38df9373: Pull complete 04:49:52 58f1dce35555: Pull complete 04:49:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:49:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:49:52 ---> fadd8f120f05 04:49:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:49:53 ---> Running in 40285c25551a 04:49:53 Removing intermediate container 40285c25551a 04:49:53 ---> df8be9db6f87 04:49:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:49:53 ---> Running in a41873a5e2f4 04:49:54 Removing intermediate container a41873a5e2f4 04:49:54 ---> 82a38236f78c 04:49:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:49:54 ---> Running in fa4d618668b6 04:49:54 Removing intermediate container fa4d618668b6 04:49:54 ---> 41e84b5f57e6 04:49:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:49:54 ---> Running in 3723fab2dcd8 04:49:54 Removing intermediate container 3723fab2dcd8 04:49:54 ---> 2cf9d286521f 04:49:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:49:54 ---> Running in e1d678f299a2 04:49:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:49:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:49:57 (2/4) Installing libedit (20221030.3.1-r0) 04:49:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:49:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:49:57 Executing busybox-1.35.0-r29.trigger 04:49:57 OK: 268 MiB in 57 packages 04:50:01 Removing intermediate container e1d678f299a2 04:50:01 ---> b1aac3ee4d07 04:50:01 Step 8/12 : WORKDIR /device-rest-go 04:50:01 ---> Running in c43116efe4b3 04:50:01 Removing intermediate container c43116efe4b3 04:50:01 ---> 5cd8bd0accf0 04:50:01 Step 9/12 : COPY go.mod vendor* ./ 04:50:02 ---> 26e1423a8075 04:50:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:02 ---> Running in b85c29e81df4 04:51:10 Removing intermediate container b85c29e81df4 04:51:10 ---> c8ba7fd25ad6 04:51:10 Step 11/12 : COPY . . 04:51:10 ---> 67750c53337f 04:51:10 Step 12/12 : RUN $MAKE 04:51:10 ---> Running in 2db8ca4af0d5 04:51:10 noop 04:51:10 Removing intermediate container 2db8ca4af0d5 04:51:10 ---> 36548e84e028 04:51:10 Successfully built 36548e84e028 04:51:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:10 + docker inspect -f . ci-base-image-arm64 04:51:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:10 prd-ubuntu20.04-docker-arm64-4c-16g-14455 does not seem to be running inside a container 04:51:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/109 -v /w/workspace/device-rest-go/109:/w/workspace/device-rest-go/109:rw,z -v /w/workspace/device-rest-go/109@tmp:/w/workspace/device-rest-go/109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:51:12 $ docker top 7ea3ed0ca07a5bdb0105137dec943e8215991ea63439964198fc7c79c32aa3b0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:12 + go version 04:51:12 go version go1.20.2 linux/arm64 [Pipeline] } 04:51:13 $ docker stop --time=1 7ea3ed0ca07a5bdb0105137dec943e8215991ea63439964198fc7c79c32aa3b0 04:51:14 $ docker rm -f --volumes 7ea3ed0ca07a5bdb0105137dec943e8215991ea63439964198fc7c79c32aa3b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:15 + docker inspect -f . ci-base-image-arm64 04:51:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:15 prd-ubuntu20.04-docker-arm64-4c-16g-14455 does not seem to be running inside a container 04:51:15 $ 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/109 -v /w/workspace/device-rest-go/109:/w/workspace/device-rest-go/109:rw,z -v /w/workspace/device-rest-go/109@tmp:/w/workspace/device-rest-go/109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:51:16 $ docker top fdf464cb50b3bf6158cba6eb0b8d5fdb6a340915409364f9c5ec411ff6852ca8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:17 + git config --global --add safe.directory /w/workspace/device-rest-go/109 [Pipeline] fileExists [Pipeline] sh 04:51:18 + make test 04:51:18 go test ./... -coverprofile=coverage.out ./... 04:51:50 ? github.com/edgexfoundry/device-rest-go [no test files] 04:53:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:53:43 ok github.com/edgexfoundry/device-rest-go/driver 0.095s coverage: 32.2% of statements 04:53:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:53:43 go vet ./... 04:54:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:15 ./bin/test-attribution-txt.sh [Pipeline] echo 04:54:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:15 $ docker stop --time=1 fdf464cb50b3bf6158cba6eb0b8d5fdb6a340915409364f9c5ec411ff6852ca8 04:54:17 $ docker rm -f --volumes fdf464cb50b3bf6158cba6eb0b8d5fdb6a340915409364f9c5ec411ff6852ca8 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:19 Warning: overwriting stash ‘coverage-report’ 04:54:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:20 + ls -al . 04:54:20 total 180 04:54:20 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:51 . 04:54:20 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:48 .. 04:54:20 -rw-rw-r-- 1 jenkins jenkins 151 May 8 04:48 .dockerignore 04:54:20 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:48 .git 04:54:20 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:48 .github 04:54:20 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:48 .gitignore 04:54:20 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:48 .golangci.yml 04:54:20 -rw-rw-r-- 1 jenkins jenkins 9331 May 8 04:48 Attribution.txt 04:54:20 -rw-rw-r-- 1 jenkins jenkins 13085 May 8 04:48 CHANGELOG.md 04:54:20 -rw-rw-r-- 1 jenkins jenkins 1578 May 8 04:48 Dockerfile 04:54:20 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:48 GOVERNANCE.md 04:54:20 -rw-rw-r-- 1 jenkins jenkins 680 May 8 04:48 Jenkinsfile 04:54:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:48 LICENSE 04:54:20 -rw-rw-r-- 1 jenkins jenkins 1779 May 8 04:48 Makefile 04:54:20 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:48 OWNERS.md 04:54:20 -rw-rw-r-- 1 jenkins jenkins 15321 May 8 04:48 README.md 04:54:20 -rw-rw-r-- 1 jenkins jenkins 12 May 8 04:44 VERSION 04:54:20 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:48 bin 04:54:20 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:48 cmd 04:54:20 -rw-r--r-- 1 jenkins jenkins 14663 May 8 04:53 coverage.out 04:54:20 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:48 driver 04:54:20 -rw-rw-r-- 1 jenkins jenkins 3402 May 8 04:48 go.mod 04:54:20 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:48 go.sum 04:54:20 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:48 snap 04:54:20 -rw-rw-r-- 1 jenkins jenkins 713 May 8 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:20 + 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=f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc --label arch=arm64 --label version=3.0.0-dev.37 . 04:54:20 Sending build context to Docker daemon 154.6kB 04:54:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:54:20 Step 2/25 : FROM ${BASE} AS builder 04:54:20 ---> 36548e84e028 04:54:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:54:20 ---> Running in 251ab2da4ad0 04:54:21 Removing intermediate container 251ab2da4ad0 04:54:21 ---> 3f228fb98b6b 04:54:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:21 ---> Running in fface7d456a7 04:54:21 Removing intermediate container fface7d456a7 04:54:21 ---> 8f81220c7946 04:54:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:54:21 ---> Running in 4820bf46ba4f 04:54:21 Removing intermediate container 4820bf46ba4f 04:54:21 ---> 53fda2e12bc7 04:54:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:54:22 ---> Running in 987b7fa5cdfc 04:54:22 Removing intermediate container 987b7fa5cdfc 04:54:22 ---> d681aea5b6b5 04:54:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:22 ---> Running in 7272403ed579 04:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:54:25 OK: 268 MiB in 57 packages 04:54:26 Removing intermediate container 7272403ed579 04:54:26 ---> 52999f487250 04:54:26 Step 8/25 : WORKDIR /device-rest-go 04:54:26 ---> Running in 9357587e26f5 04:54:26 Removing intermediate container 9357587e26f5 04:54:26 ---> 5248c206924d 04:54:26 Step 9/25 : COPY go.mod vendor* ./ 04:54:26 ---> 446483af2c04 04:54:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:26 ---> Running in 930fe91f6182 04:54:31 Removing intermediate container 930fe91f6182 04:54:31 ---> b68c49565ba1 04:54:31 Step 11/25 : COPY . . 04:54:31 ---> c6dfe375d626 04:54:31 Step 12/25 : RUN $MAKE 04:54:31 ---> Running in efd94ff7ecdc 04:54:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:56:39 Removing intermediate container efd94ff7ecdc 04:56:39 ---> 4d5b31d583a3 04:56:39 Step 13/25 : FROM alpine:3.17 04:56:39 3.17: Pulling from library/alpine 04:56:39 c41833b44d91: Already exists 04:56:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:56:39 Status: Downloaded newer image for alpine:3.17 04:56:39 ---> 51e60588ff2c 04:56:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:56:39 ---> Running in b0b136630826 04:56:39 Removing intermediate container b0b136630826 04:56:39 ---> c1c1a2d47626 04:56:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:56:39 ---> Running in f04886870324 04:56:39 Removing intermediate container f04886870324 04:56:39 ---> b878cbbb0d85 04:56:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:56:39 ---> Running in 6b91480872b1 04:56:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:56:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:56:39 (1/1) Installing dumb-init (1.2.5-r2) 04:56:39 Executing busybox-1.35.0-r29.trigger 04:56:39 OK: 8 MiB in 16 packages 04:56:39 Removing intermediate container 6b91480872b1 04:56:39 ---> a3f7686429f9 04:56:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:56:39 ---> a24ee891b2b4 04:56:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:56:39 ---> eda64bc000a1 04:56:39 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:56:40 ---> 8e13b99f5bc5 04:56:40 Step 20/25 : EXPOSE 59986 04:56:40 ---> Running in 01c921aa453a 04:56:40 Removing intermediate container 01c921aa453a 04:56:40 ---> a0be2842ca70 04:56:40 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:56:40 ---> Running in 3c7a14cac30e 04:56:41 Removing intermediate container 3c7a14cac30e 04:56:41 ---> b5b1226ad75c 04:56:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:56:41 ---> Running in bb6ee26202de 04:56:41 Removing intermediate container bb6ee26202de 04:56:41 ---> 7901a0a7468f 04:56:41 Step 23/25 : LABEL arch=arm64 04:56:41 ---> Running in 1d69dacfc3b2 04:56:41 Removing intermediate container 1d69dacfc3b2 04:56:41 ---> 36fc0585d766 04:56:41 Step 24/25 : LABEL git_sha=f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:56:41 ---> Running in 082eb3c0bf99 04:56:42 Removing intermediate container 082eb3c0bf99 04:56:42 ---> d8d7cbd56767 04:56:42 Step 25/25 : LABEL version=3.0.0-dev.37 04:56:42 ---> Running in 78791d26881a 04:56:42 Removing intermediate container 78791d26881a 04:56:42 ---> 61826590ccfe 04:56:42 [Warning] One or more build-args [ARCH] were not consumed 04:56:42 Successfully built 61826590ccfe 04:56:42 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 04:56:42 provisioning config files... 04:56:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/109@tmp/config15541344531815075596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:43 ---> docker-login.sh 04:56:43 nexus3.edgexfoundry.org:10001 04:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:43 Configure a credential helper to remove this warning. See 04:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:43 04:56:43 Login Succeeded 04:56:43 nexus3.edgexfoundry.org:10002 04:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:43 Configure a credential helper to remove this warning. See 04:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:43 04:56:43 Login Succeeded 04:56:43 nexus3.edgexfoundry.org:10003 04:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:44 Configure a credential helper to remove this warning. See 04:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:44 04:56:44 Login Succeeded 04:56:44 nexus3.edgexfoundry.org:10004 04:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:44 Configure a credential helper to remove this warning. See 04:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:44 04:56:44 Login Succeeded 04:56:44 docker.io 04:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:45 Configure a credential helper to remove this warning. See 04:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:45 04:56:45 Login Succeeded 04:56:45 ---> docker-login.sh ends [Pipeline] } 04:56:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:56:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:56:45 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 04:56:45 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:56:45 latest 04:56:45 3.0.0-dev.37 04:56:45 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 04:56:45 main 04:56:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:56:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:56:45 a22f0302a250: Preparing 04:56:45 a4f2b8798070: Preparing 04:56:45 51ec2d8b117e: Preparing 04:56:45 686421154c53: Preparing 04:56:45 26cbea5cba74: Preparing 04:56:45 26cbea5cba74: Layer already exists 04:56:46 a4f2b8798070: Pushed 04:56:46 686421154c53: Pushed 04:56:46 a22f0302a250: Pushed 04:56:51 51ec2d8b117e: Pushed 04:56:51 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc: digest: sha256:bf4228885b74c4d03478fcbfd8b12492f786fefe7707b11826f7bd007aa26e24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:56:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:56:52 a22f0302a250: Preparing 04:56:52 a4f2b8798070: Preparing 04:56:52 51ec2d8b117e: Preparing 04:56:52 686421154c53: Preparing 04:56:52 26cbea5cba74: Preparing 04:56:52 26cbea5cba74: Layer already exists 04:56:52 a22f0302a250: Layer already exists 04:56:52 686421154c53: Layer already exists 04:56:52 51ec2d8b117e: Layer already exists 04:56:52 a4f2b8798070: Layer already exists 04:56:52 latest: digest: sha256:bf4228885b74c4d03478fcbfd8b12492f786fefe7707b11826f7bd007aa26e24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.37 04:56:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:56:53 a22f0302a250: Preparing 04:56:53 a4f2b8798070: Preparing 04:56:53 51ec2d8b117e: Preparing 04:56:53 686421154c53: Preparing 04:56:53 26cbea5cba74: Preparing 04:56:53 26cbea5cba74: Layer already exists 04:56:53 a22f0302a250: Layer already exists 04:56:53 a4f2b8798070: Layer already exists 04:56:53 686421154c53: Layer already exists 04:56:53 51ec2d8b117e: Layer already exists 04:56:53 3.0.0-dev.37: digest: sha256:bf4228885b74c4d03478fcbfd8b12492f786fefe7707b11826f7bd007aa26e24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 04:56:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:56:53 a22f0302a250: Preparing 04:56:53 a4f2b8798070: Preparing 04:56:53 51ec2d8b117e: Preparing 04:56:53 686421154c53: Preparing 04:56:53 26cbea5cba74: Preparing 04:56:53 a4f2b8798070: Layer already exists 04:56:53 51ec2d8b117e: Layer already exists 04:56:53 a22f0302a250: Layer already exists 04:56:53 686421154c53: Layer already exists 04:56:53 26cbea5cba74: Layer already exists 04:56:53 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37: digest: sha256:bf4228885b74c4d03478fcbfd8b12492f786fefe7707b11826f7bd007aa26e24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 04:56:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:56:54 a22f0302a250: Preparing 04:56:54 a4f2b8798070: Preparing 04:56:54 51ec2d8b117e: Preparing 04:56:54 686421154c53: Preparing 04:56:54 26cbea5cba74: Preparing 04:56:54 686421154c53: Layer already exists 04:56:54 51ec2d8b117e: Layer already exists 04:56:54 a22f0302a250: Layer already exists 04:56:54 a4f2b8798070: Layer already exists 04:56:54 26cbea5cba74: Layer already exists 04:56:54 main: digest: sha256:bf4228885b74c4d03478fcbfd8b12492f786fefe7707b11826f7bd007aa26e24 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:56:54 ===================================================== [Pipeline] echo 04:56:54 taggedImages: 04:56:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc 04:56:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:56:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.37 04:56:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc-3.0.0-dev.37 04:56:54 - 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 04:56:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:55 04:56:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:55 arm64: Pulling from edgex-lftools-log-publisher 04:56:55 8998bd30e6a1: Pulling fs layer 04:56:55 04944245beec: Pulling fs layer 04:56:55 699f458cf7ca: Pulling fs layer 04:56:55 765212b225bb: Pulling fs layer 04:56:55 f23df028b6ca: Pulling fs layer 04:56:55 d65c8cfc05b1: Pulling fs layer 04:56:55 2437ff75d9bd: Pulling fs layer 04:56:55 f23df028b6ca: Waiting 04:56:55 d65c8cfc05b1: Waiting 04:56:55 765212b225bb: Waiting 04:56:55 2437ff75d9bd: Waiting 04:56:55 04944245beec: Verifying Checksum 04:56:55 04944245beec: Download complete 04:56:55 765212b225bb: Verifying Checksum 04:56:55 765212b225bb: Download complete 04:56:55 f23df028b6ca: Verifying Checksum 04:56:55 f23df028b6ca: Download complete 04:56:55 d65c8cfc05b1: Verifying Checksum 04:56:55 d65c8cfc05b1: Download complete 04:56:55 699f458cf7ca: Verifying Checksum 04:56:55 699f458cf7ca: Download complete 04:56:56 8998bd30e6a1: Download complete 04:56:58 2437ff75d9bd: Verifying Checksum 04:56:58 2437ff75d9bd: Download complete 04:57:00 8998bd30e6a1: Pull complete 04:57:00 04944245beec: Pull complete 04:57:02 699f458cf7ca: Pull complete 04:57:02 765212b225bb: Pull complete 04:57:02 f23df028b6ca: Pull complete 04:57:02 d65c8cfc05b1: Pull complete 04:57:17 2437ff75d9bd: Pull complete 04:57:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:57:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:18 prd-ubuntu20.04-docker-arm64-4c-16g-14455 does not seem to be running inside a container 04:57:18 $ 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/109 -v /w/workspace/device-rest-go/109:/w/workspace/device-rest-go/109:rw,z -v /w/workspace/device-rest-go/109@tmp:/w/workspace/device-rest-go/109@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:arm64 cat 04:57:20 $ docker top e404b8b1d8eae6ef03e684cec72e82cd7fe6280dd67a12086588ee3d5fc887c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:21 ---> job-cost.sh 04:57:21 lf-activate-venv: SKIPPING 04:57:21 INFO: No Stack... 04:57:22 INFO: Retrieving Pricing Info for: v3-standard-4 04:57:22 INFO: Archiving Costs [Pipeline] sh 04:57:23 + cat /w/workspace/device-rest-go/109/archives/cost.csv 04:57:23 + cut -d, -f6 [Pipeline] lock 04:57:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] 04:57:23 Resource [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] did not exist. Created. 04:57:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:23 /w/workspace/device-rest-go/109@tmp/durable-53851f75/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:57:24 + echo total: 0.10999999940395355 [Pipeline] stash 04:57:24 Warning: overwriting stash ‘stack-cost’ 04:57:24 Stashed 1 file(s) [Pipeline] } 04:57:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:24 $ docker stop --time=1 e404b8b1d8eae6ef03e684cec72e82cd7fe6280dd67a12086588ee3d5fc887c2 04:57:25 $ docker rm -f --volumes e404b8b1d8eae6ef03e684cec72e82cd7fe6280dd67a12086588ee3d5fc887c2 [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 04:57:26 provisioning config files... 04:57:26 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3582244292299418079tmp [Pipeline] { [Pipeline] sh 04:57:26 + set +x 04:57:26 + curl -s https://codecov.io/bash 04:57:26 + bash -s -- 04:57:26 04:57:26 _____ _ 04:57:26 / ____| | | 04:57:26 | | ___ __| | ___ ___ _____ __ 04:57:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:57:26 | |___| (_) | (_| | __/ (_| (_) \ V / 04:57:26 \_____\___/ \__,_|\___|\___\___/ \_/ 04:57:26 Bash-1.0.6 04:57:26 04:57:26 04:57:26 ==> git version 2.25.1 found 04:57:26 ==> 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 04:57:26 Release-Date: 2020-01-08 04:57:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:57:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:57:26 ==> Jenkins CI detected. 04:57:26 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 04:57:26 project root: . 04:57:26 --> token set from env 04:57:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:57:26 ==> Running gcov in . (disable via -X gcov) 04:57:26 ==> Python coveragepy not found 04:57:26 ==> Searching for coverage reports in: 04:57:26 + . 04:57:26 -> Found 1 reports 04:57:26 ==> Detecting git/mercurial file structure 04:57:26 ==> Reading reports 04:57:26 + ./coverage.out bytes=14663 04:57:26 ==> Appending adjustments 04:57:26 https://docs.codecov.io/docs/fixing-reports 04:57:26 + Found adjustments 04:57:26 ==> Gzipping contents 04:57:26 4.0K /tmp/codecov.DginH3.gz 04:57:26 ==> Uploading reports 04:57:26 url: https://codecov.io 04:57:26 query: branch=main&commit=f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:26 -> Pinging Codecov 04:57:26 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=f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:26 -> Uploading to 04:57:26 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/4E5D53B4F1F92C436F7061BF334D961C/f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc/2f89780a-eca2-44ce-ac33-290ee557c81a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T045726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f08a85eea2f3a7d59fba7d111aa5498b78e2fce40f5cb6803bfe2f9251521c91 04:57:26 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:26 Dload Upload Total Spent Left Speed 04:57:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10414 --:--:-- --:--:-- --:--:-- 10414 04:57:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] } 04:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:57:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:57:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:27 04:57:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:57:27 df9b9388f04a: Pulling fs layer 04:57:27 52dc419b0ee2: Pulling fs layer 04:57:27 25bc292e5bac: Pulling fs layer 04:57:27 114826534d7a: Pulling fs layer 04:57:27 4657fd5d0bcf: Pulling fs layer 04:57:27 6ad1cebc031e: Pulling fs layer 04:57:27 8a3aa393b2d8: Pulling fs layer 04:57:27 114826534d7a: Waiting 04:57:27 4657fd5d0bcf: Waiting 04:57:27 6ad1cebc031e: Waiting 04:57:27 8a3aa393b2d8: Waiting 04:57:27 25bc292e5bac: Download complete 04:57:27 52dc419b0ee2: Download complete 04:57:27 4657fd5d0bcf: Download complete 04:57:27 df9b9388f04a: Download complete 04:57:27 6ad1cebc031e: Verifying Checksum 04:57:27 6ad1cebc031e: Download complete 04:57:27 df9b9388f04a: Pull complete 04:57:28 114826534d7a: Verifying Checksum 04:57:28 114826534d7a: Download complete 04:57:28 52dc419b0ee2: Pull complete 04:57:28 8a3aa393b2d8: Verifying Checksum 04:57:28 8a3aa393b2d8: Download complete 04:57:28 25bc292e5bac: Pull complete 04:57:31 114826534d7a: Pull complete 04:57:31 4657fd5d0bcf: Pull complete 04:57:32 6ad1cebc031e: Pull complete 04:57:35 8a3aa393b2d8: Pull complete 04:57:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:35 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:57:38 $ docker top da001565ae97a539e59dd0f6a490317b8088f748bf786f0a77ebf2c20b27edc8 -eo pid,comm [Pipeline] { [Pipeline] echo 04:57:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 04:57:39 + set -o pipefail 04:57:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 04:57:43 04:57:43 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 04:57:43 04:57:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/973f41c8-3966-45db-986d-73463f198f37 04:57:43 04:57:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:57:43 04:57:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:57:43 04:57:43 04:57:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:57:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:57:43 More details here: https://snyk.co/ue1NS 04:57:43 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:57:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:57:43 $ docker stop --time=1 da001565ae97a539e59dd0f6a490317b8088f748bf786f0a77ebf2c20b27edc8 04:57:45 $ docker rm -f --volumes da001565ae97a539e59dd0f6a490317b8088f748bf786f0a77ebf2c20b27edc8 [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 04:57:46 + git log --format=format:%s -1 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc [Pipeline] sh 04:57:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:57:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:47 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:57:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:57:47 $ docker top 90fd8a9af78a3390c6c678765ab476ced5ac63215ab5be74bdecd08621dc7c62 -eo pid,comm 04:57:47 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). 04:57:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:57:47 [ssh-agent] Looking for ssh-agent implementation... 04:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:57:47 $ docker exec 90fd8a9af78a3390c6c678765ab476ced5ac63215ab5be74bdecd08621dc7c62 ssh-agent 04:57:47 SSH_AUTH_SOCK=/tmp/ssh-4nIQ53G05YLI/agent.32 04:57:47 SSH_AGENT_PID=38 04:57:47 Running ssh-add (command line suppressed) 04:57:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10138988830324178478.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10138988830324178478.key) 04:57:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:48 + git semver tag 04:57:48 2023-05-08 04:57:48,572 [run_tag] DEBUG tag force:False 04:57:48 2023-05-08 04:57:48,572 [check_head_tag] DEBUG check head tag 04:57:48 2023-05-08 04:57:48,573 [execute] INFO git cat-file --batch-check 04:57:48 2023-05-08 04:57:48,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:57:48 2023-05-08 04:57:48,577 [execute] INFO git cat-file --batch 04:57:48 2023-05-08 04:57:48,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:57:48 2023-05-08 04:57:48,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:57:48 2023-05-08 04:57:48,600 [execute] INFO git tag -a v3.0.0-dev.37 -m v3.0.0-dev.37 04:57:48 2023-05-08 04:57:48,600 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.37', '-m', 'v3.0.0-dev.37'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:57:48 2023-05-08 04:57:48,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:57:48 3.0.0-dev.37 [Pipeline] } 04:57:48 $ docker exec --env ******** --env ******** 90fd8a9af78a3390c6c678765ab476ced5ac63215ab5be74bdecd08621dc7c62 ssh-agent -k 04:57:48 unset SSH_AUTH_SOCK; 04:57:48 unset SSH_AGENT_PID; 04:57:48 echo Agent pid 38 killed; 04:57:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:57:49 + git semver [Pipeline] } 04:57:49 $ docker stop --time=1 90fd8a9af78a3390c6c678765ab476ced5ac63215ab5be74bdecd08621dc7c62 04:57:50 $ docker rm -f --volumes 90fd8a9af78a3390c6c678765ab476ced5ac63215ab5be74bdecd08621dc7c62 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:57:51 04:57:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:57:51 0.23.1-centos7: Pulling from edgex-lftools 04:57:51 ab5ef0e58194: Pulling fs layer 04:57:51 9712f1f96733: Pulling fs layer 04:57:51 63f879dbbcfc: Pulling fs layer 04:57:51 0d9ebad4ef96: Pulling fs layer 04:57:51 e9a5061849ea: Pulling fs layer 04:57:51 d747dcd14b5f: Pulling fs layer 04:57:51 2de7ff778b66: Pulling fs layer 04:57:51 e9a5061849ea: Waiting 04:57:51 0d9ebad4ef96: Waiting 04:57:51 d747dcd14b5f: Waiting 04:57:51 2de7ff778b66: Waiting 04:57:51 9712f1f96733: Verifying Checksum 04:57:51 9712f1f96733: Download complete 04:57:51 63f879dbbcfc: Verifying Checksum 04:57:51 63f879dbbcfc: Download complete 04:57:51 e9a5061849ea: Verifying Checksum 04:57:51 e9a5061849ea: Download complete 04:57:51 d747dcd14b5f: Download complete 04:57:51 0d9ebad4ef96: Download complete 04:57:51 ab5ef0e58194: Verifying Checksum 04:57:51 ab5ef0e58194: Download complete 04:57:51 2de7ff778b66: Verifying Checksum 04:57:51 2de7ff778b66: Download complete 04:57:54 ab5ef0e58194: Pull complete 04:57:54 9712f1f96733: Pull complete 04:57:54 63f879dbbcfc: Pull complete 04:57:58 0d9ebad4ef96: Pull complete 04:57:58 e9a5061849ea: Pull complete 04:57:58 d747dcd14b5f: Pull complete 04:57:59 2de7ff778b66: Pull complete 04:57:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:57:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:59 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:57:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:58:02 $ docker top b908e0fe06ebce511f34166adc8bfc3e4ae4d691b3ec12653581f04dce8502c7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:58:02 provisioning config files... 04:58:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12097670410728023954tmp 04:58:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8801732164173084976tmp 04:58:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1445246103509000779tmp [Pipeline] { [Pipeline] echo 04:58:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:58:02 ---> sigul-configuration.sh 04:58:02 gpg: directory `/root/.gnupg' created 04:58:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:58:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:58:02 gpg: keyring `/root/.gnupg/secring.gpg' created 04:58:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:58:02 gpg: CAST5 encrypted data 04:58:02 gpg: encrypted with 1 passphrase 04:58:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:58:03 + mkdir /home/jenkins 04:58:03 + mkdir /home/jenkins/sigul [Pipeline] sh 04:58:03 + 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 04:58:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:58:03 ---> sigul-install.sh 04:58:03 Sigul already installed; skipping installation. [Pipeline] sh 04:58:04 + git tag --list 04:58:04 v1.0.0 04:58:04 v1.1.0 04:58:04 v1.1.1 04:58:04 v1.1.2 04:58:04 v1.2.0 04:58:04 v1.2.1 04:58:04 v2.0.0 04:58:04 v2.1.0 04:58:04 v2.1.1 04:58:04 v2.1.1-dev.1 04:58:04 v2.1.1-dev.2 04:58:04 v2.1.1-dev.3 04:58:04 v2.2.0 04:58:04 v2.2.1-dev.1 04:58:04 v2.2.1-dev.2 04:58:04 v2.2.1-dev.3 04:58:04 v2.2.1-dev.4 04:58:04 v2.2.1-dev.5 04:58:04 v2.2.1-dev.6 04:58:04 v2.2.1-dev.7 04:58:04 v2.2.1-dev.8 04:58:04 v2.2.1-dev.9 04:58:04 v2.3.0 04:58:04 v2.3.0-dev.10 04:58:04 v2.3.0-dev.11 04:58:04 v2.3.0-dev.12 04:58:04 v2.3.0-dev.13 04:58:04 v2.3.0-dev.14 04:58:04 v2.3.0-dev.15 04:58:04 v2.3.0-dev.16 04:58:04 v2.3.0-dev.17 04:58:04 v2.3.0-dev.18 04:58:04 v2.3.0-dev.19 04:58:04 v2.3.0-dev.20 04:58:04 v2.3.0-dev.21 04:58:04 v2.3.0-dev.22 04:58:04 v2.3.0-dev.23 04:58:04 v2.3.0-dev.24 04:58:04 v2.3.0-dev.25 04:58:04 v2.3.0-dev.9 04:58:04 v3.0.0-dev.1 04:58:04 v3.0.0-dev.10 04:58:04 v3.0.0-dev.11 04:58:04 v3.0.0-dev.12 04:58:04 v3.0.0-dev.13 04:58:04 v3.0.0-dev.14 04:58:04 v3.0.0-dev.15 04:58:04 v3.0.0-dev.16 04:58:04 v3.0.0-dev.17 04:58:04 v3.0.0-dev.18 04:58:04 v3.0.0-dev.19 04:58:04 v3.0.0-dev.2 04:58:04 v3.0.0-dev.20 04:58:04 v3.0.0-dev.21 04:58:04 v3.0.0-dev.22 04:58:04 v3.0.0-dev.23 04:58:04 v3.0.0-dev.24 04:58:04 v3.0.0-dev.25 04:58:04 v3.0.0-dev.26 04:58:04 v3.0.0-dev.27 04:58:04 v3.0.0-dev.28 04:58:04 v3.0.0-dev.29 04:58:04 v3.0.0-dev.3 04:58:04 v3.0.0-dev.30 04:58:04 v3.0.0-dev.31 04:58:04 v3.0.0-dev.32 04:58:04 v3.0.0-dev.33 04:58:04 v3.0.0-dev.34 04:58:04 v3.0.0-dev.35 04:58:04 v3.0.0-dev.36 04:58:04 v3.0.0-dev.37 04:58:04 v3.0.0-dev.4 04:58:04 v3.0.0-dev.5 04:58:04 v3.0.0-dev.6 04:58:04 v3.0.0-dev.7 04:58:04 v3.0.0-dev.8 04:58:04 v3.0.0-dev.9 [Pipeline] sh 04:58:04 + lftools sign git-tag v3.0.0-dev.37 04:58:04 Signing Git tag with Sigul... 04:58:04 Signing v3.0.0-dev.37 [Pipeline] echo 04:58:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:58:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:58:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:58:05 $ docker stop --time=1 b908e0fe06ebce511f34166adc8bfc3e4ae4d691b3ec12653581f04dce8502c7 04:58:06 $ docker rm -f --volumes b908e0fe06ebce511f34166adc8bfc3e4ae4d691b3ec12653581f04dce8502c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:58:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:07 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:58:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:07 $ docker top ed3720947b3f3b63d42c6a371ec0a6a3af16850366a039ad0847c999ac1e6548 -eo pid,comm 04:58:07 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). 04:58:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:07 [ssh-agent] Looking for ssh-agent implementation... 04:58:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:08 $ docker exec ed3720947b3f3b63d42c6a371ec0a6a3af16850366a039ad0847c999ac1e6548 ssh-agent 04:58:08 SSH_AUTH_SOCK=/tmp/ssh-lsO6p4sFvmRT/agent.31 04:58:08 SSH_AGENT_PID=37 04:58:08 Running ssh-add (command line suppressed) 04:58:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3808853225723242245.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3808853225723242245.key) 04:58:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:08 + git semver bump pre 04:58:08 2023-05-08 04:58:08,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:58:08 2023-05-08 04:58:08,815 [bump_version] DEBUG bumping version:3.0.0-dev.37 on axis:pre with prefix:dev 04:58:08 2023-05-08 04:58:08,815 [bump_version] DEBUG bumped version:3.0.0-dev.38 04:58:08 2023-05-08 04:58:08,815 [write_version] DEBUG write version:3.0.0-dev.38 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 04:58:08 2023-05-08 04:58:08,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:58:08 2023-05-08 04:58:08,816 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:58:08 2023-05-08 04:58:08,817 [execute] INFO git cat-file --batch-check 04:58:08 2023-05-08 04:58:08,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:08 2023-05-08 04:58:08,822 [execute] INFO git cat-file --batch 04:58:08 2023-05-08 04:58:08,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:08 2023-05-08 04:58:08,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:58:08 3.0.0-dev.38 [Pipeline] } 04:58:08 $ docker exec --env ******** --env ******** ed3720947b3f3b63d42c6a371ec0a6a3af16850366a039ad0847c999ac1e6548 ssh-agent -k 04:58:09 unset SSH_AUTH_SOCK; 04:58:09 unset SSH_AGENT_PID; 04:58:09 echo Agent pid 37 killed; 04:58:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:09 + git semver [Pipeline] } 04:58:09 $ docker stop --time=1 ed3720947b3f3b63d42c6a371ec0a6a3af16850366a039ad0847c999ac1e6548 04:58:10 $ docker rm -f --volumes ed3720947b3f3b63d42c6a371ec0a6a3af16850366a039ad0847c999ac1e6548 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:11 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:58:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:11 $ docker top a0154d36490e0da5c5eb787d7d6dd45d1cf277a6f45398c80712001b10e5e922 -eo pid,comm 04:58:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:58:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:12 [ssh-agent] Looking for ssh-agent implementation... 04:58:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:12 $ docker exec a0154d36490e0da5c5eb787d7d6dd45d1cf277a6f45398c80712001b10e5e922 ssh-agent 04:58:12 SSH_AUTH_SOCK=/tmp/ssh-zE2ZrsLmp7ak/agent.34 04:58:12 SSH_AGENT_PID=40 04:58:12 Running ssh-add (command line suppressed) 04:58:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7492785811030049196.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7492785811030049196.key) 04:58:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:12 + git semver push 04:58:12 2023-05-08 04:58:12,836 [run_push] DEBUG push 04:58:12 2023-05-08 04:58:12,837 [execute] INFO git cat-file --batch-check 04:58:12 2023-05-08 04:58:12,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:12 2023-05-08 04:58:12,840 [execute] INFO git rev-list faf54e22f948e3c2eace871147a36a6000b18ba7 -- 04:58:12 2023-05-08 04:58:12,841 [execute] DEBUG Popen(['git', 'rev-list', 'faf54e22f948e3c2eace871147a36a6000b18ba7', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:58:12 2023-05-08 04:58:12,848 [execute] INFO git fetch -v origin 04:58:12 2023-05-08 04:58:12,848 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:58:13 2023-05-08 04:58:13,310 [run_push] DEBUG no remote changes detected 04:58:13 2023-05-08 04:58:13,310 [execute] INFO git push origin semver 04:58:13 2023-05-08 04:58:13,310 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:58:14 2023-05-08 04:58:14,060 [run_push] DEBUG push all version tags 04:58:14 2023-05-08 04:58:14,060 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:58:14 2023-05-08 04:58:14,061 [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) 04:58:14 2023-05-08 04:58:14,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:58:14 3.0.0-dev.38 [Pipeline] } 04:58:14 $ docker exec --env ******** --env ******** a0154d36490e0da5c5eb787d7d6dd45d1cf277a6f45398c80712001b10e5e922 ssh-agent -k 04:58:15 unset SSH_AUTH_SOCK; 04:58:15 unset SSH_AGENT_PID; 04:58:15 echo Agent pid 40 killed; 04:58:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:15 + git semver [Pipeline] } 04:58:15 $ docker stop --time=1 a0154d36490e0da5c5eb787d7d6dd45d1cf277a6f45398c80712001b10e5e922 04:58:16 $ docker rm -f --volumes a0154d36490e0da5c5eb787d7d6dd45d1cf277a6f45398c80712001b10e5e922 [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 04:58:17 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 04:58:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:58:17 total 16 04:58:17 drwxr-xr-x 3 root root 4096 May 8 04:45 . 04:58:17 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:58 .. 04:58:17 drwxr-xr-x 2 root root 4096 May 8 04:45 cost 04:58:17 -rw-r--r-- 1 root root 86 May 8 04:45 cost.csv 04:58:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 04:58:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:58:17 total 16 04:58:17 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:45 . 04:58:17 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:58 .. 04:58:17 drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:45 cost 04:58:17 -rw-r--r-- 1 jenkins jenkins 86 May 8 04:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:58:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:58:18 ---> package-listing.sh 04:58:18 ++ tr '[:upper:]' '[:lower:]' 04:58:18 ++ facter osfamily 04:58:18 + OS_FAMILY=debian 04:58:18 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:58:18 + START_PACKAGES=/tmp/packages_start.txt 04:58:18 + END_PACKAGES=/tmp/packages_end.txt 04:58:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:58:18 + PACKAGES=/tmp/packages_start.txt 04:58:18 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:58:18 + PACKAGES=/tmp/packages_end.txt 04:58:18 + case "${OS_FAMILY}" in 04:58:18 + dpkg -l 04:58:18 + grep '^ii' 04:58:18 + '[' -f /tmp/packages_start.txt ']' 04:58:18 + '[' -f /tmp/packages_end.txt ']' 04:58:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:58:18 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:58:18 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:58:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 04:58:18 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 04:58:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:19 prd-ubuntu20.04-docker-8c-8g-14454 does not seem to be running inside a container 04:58:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:58:20 $ docker top a58d6631263ec05413c0f8b75f894d53563b0d9872895f0354adde575ec2a260 -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:20 + touch /tmp/pre-build-complete [Pipeline] sh 04:58:20 + mkdir -p /var/log/sysstat [Pipeline] sh 04:58:20 + ls /var/log/sa-host 04:58:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:21 provisioning config files... 04:58:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10333769620627745285tmp [Pipeline] { [Pipeline] echo 04:58:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:58:21 ---> create-netrc.sh [Pipeline] } 04:58:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:58:21 ---> python-tools-install.sh [Pipeline] echo 04:58:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:58:22 ---> sudo-logs.sh 04:58:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:58:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:58:22 ---> job-cost.sh 04:58:22 lf-activate-venv: SKIPPING 04:58:22 DEBUG: total: 0.2199999988079071 04:58:22 INFO: Retrieving Stack Cost... 04:58:23 INFO: Retrieving Pricing Info for: v3-standard-8 04:58:23 INFO: Archiving Costs [Pipeline] echo 04:58:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:58:23 ---> logs-deploy.sh 04:58:23 lf-activate-venv: SKIPPING 04:58:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/109 04:58:23 INFO: archiving workspace using pattern(s): 04:58:24 Archives upload complete. 04:58:24 INFO: archiving logs to Nexus