Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb45550bbe0df662ecfda2dd82817b25f9b033bb 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-ssh6398534022885326877.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6088511053982931568.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13884609419671446419.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14189406290934243210.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-ssh7077965548008831318.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-261 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision eb45550bbe0df662ecfda2dd82817b25f9b033bb (main) Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#265)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 > git rev-list --no-walk c4a62108a817389daed93061827783c9b25eff67 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:56 ========================================================= 20:57:56 EdgeX Global Pipelines Version Info 20:57:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:56 ------------------- 20:57:56 stable info: 20:57:56 ------------------- 20:57:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:56 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:57:56 Message: update stable to v1.0.245 20:57:57 ------------------- 20:57:57 experimental info: 20:57:57 ------------------- 20:57:57 Commited By: **** collab-it+edgex@linuxfoundation.org 20:57:57 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:57:57 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb45550 [Pipeline] echo 20:57:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:58 provisioning config files... 20:57:58 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3076275809492211816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:58 ---> docker-login.sh 20:57:58 nexus3.edgexfoundry.org:10001 20:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:58 Configure a credential helper to remove this warning. See 20:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:58 20:57:58 Login Succeeded 20:57:58 nexus3.edgexfoundry.org:10002 20:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:58 Configure a credential helper to remove this warning. See 20:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:58 20:57:58 Login Succeeded 20:57:58 nexus3.edgexfoundry.org:10003 20:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:58 Configure a credential helper to remove this warning. See 20:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:58 20:57:58 Login Succeeded 20:57:58 nexus3.edgexfoundry.org:10004 20:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:58 Configure a credential helper to remove this warning. See 20:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:58 20:57:58 Login Succeeded 20:57:58 docker.io 20:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:59 Configure a credential helper to remove this warning. See 20:57:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:59 20:57:59 Login Succeeded 20:57:59 ---> docker-login.sh ends [Pipeline] } 20:57:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:59 + git rev-list -1 --merges eb45550bbe0df662ecfda2dd82817b25f9b033bb~1..eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo 20:57:59 -----------> git rev-list -1 --merges eb45550bbe0df662ecfda2dd82817b25f9b033bb~1..eb45550bbe0df662ecfda2dd82817b25f9b033bb eb45550bbe0df662ecfda2dd82817b25f9b033bb [false] [Pipeline] sh 20:57:59 + git log --format=format:%s -1 eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo 20:57:59 ========================================================= 20:57:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:00 + git log --format=format:%s -1 eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo 20:58:00 [semverPrep] GIT_COMMIT: eb45550bbe0df662ecfda2dd82817b25f9b033bb, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#265) [Pipeline] echo 20:58:00 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:00 + grep -v github /etc/ssh/ssh_known_hosts 20:58:00 + [ -e /tmp/ssh_known_hosts ] 20:58:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:00 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:00 20:58:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:01 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:01 b85a868b505f: Pulling fs layer 20:58:01 e2be974225ed: Pulling fs layer 20:58:01 339a4e72a1f5: Pulling fs layer 20:58:01 988bab9f4d93: Pulling fs layer 20:58:01 1469e6f7b9e6: Pulling fs layer 20:58:01 eaf3925da568: Pulling fs layer 20:58:01 bab4dde63d76: Pulling fs layer 20:58:01 bde34c3a00c8: Pulling fs layer 20:58:01 b352a97aabf1: Pulling fs layer 20:58:01 4872d77fe225: Pulling fs layer 20:58:01 5851b861e8e6: Pulling fs layer 20:58:01 988bab9f4d93: Waiting 20:58:01 b352a97aabf1: Waiting 20:58:01 4872d77fe225: Waiting 20:58:01 bab4dde63d76: Waiting 20:58:01 bde34c3a00c8: Waiting 20:58:01 5851b861e8e6: Waiting 20:58:01 eaf3925da568: Waiting 20:58:01 e2be974225ed: Verifying Checksum 20:58:01 e2be974225ed: Download complete 20:58:01 988bab9f4d93: Download complete 20:58:01 1469e6f7b9e6: Verifying Checksum 20:58:01 1469e6f7b9e6: Download complete 20:58:01 eaf3925da568: Download complete 20:58:01 339a4e72a1f5: Verifying Checksum 20:58:01 339a4e72a1f5: Download complete 20:58:01 bde34c3a00c8: Verifying Checksum 20:58:01 bde34c3a00c8: Download complete 20:58:01 b352a97aabf1: Download complete 20:58:01 4872d77fe225: Download complete 20:58:01 5851b861e8e6: Verifying Checksum 20:58:01 5851b861e8e6: Download complete 20:58:01 b85a868b505f: Verifying Checksum 20:58:01 b85a868b505f: Download complete 20:58:01 bab4dde63d76: Verifying Checksum 20:58:01 bab4dde63d76: Download complete 20:58:02 b85a868b505f: Pull complete 20:58:02 e2be974225ed: Pull complete 20:58:03 339a4e72a1f5: Pull complete 20:58:03 988bab9f4d93: Pull complete 20:58:03 1469e6f7b9e6: Pull complete 20:58:03 eaf3925da568: Pull complete 20:58:05 bab4dde63d76: Pull complete 20:58:05 bde34c3a00c8: Pull complete 20:58:05 b352a97aabf1: Pull complete 20:58:05 4872d77fe225: Pull complete 20:58:05 5851b861e8e6: Pull complete 20:58:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:05 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 20:58:05 $ 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 20:58:07 $ docker top e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 -eo pid,comm 20: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). 20:58:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:07 [ssh-agent] Looking for ssh-agent implementation... 20:58:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:07 $ docker exec e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent 20:58:07 SSH_AUTH_SOCK=/tmp/ssh-fFiWQR25uaqA/agent.31 20:58:07 SSH_AGENT_PID=37 20:58:07 Running ssh-add (command line suppressed) 20:58:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2889920724333162514.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2889920724333162514.key) 20:58:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:08 + git tag --points-at HEAD [Pipeline] } 20:58:08 $ docker exec --env ******** --env ******** e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent -k 20:58:08 unset SSH_AUTH_SOCK; 20:58:08 unset SSH_AGENT_PID; 20:58:08 echo Agent pid 37 killed; 20:58:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:08 [ssh-agent] Looking for ssh-agent implementation... 20:58:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:08 $ docker exec e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent 20:58:08 SSH_AUTH_SOCK=/tmp/ssh-ri0LZd6Cxwat/agent.70 20:58:08 SSH_AGENT_PID=76 20:58:08 Running ssh-add (command line suppressed) 20:58:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7411862103666708138.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7411862103666708138.key) 20:58:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:08 + git semver init 20:58:09 2023-03-14 20:58:09,206 [run_init] DEBUG init version:0.0.0 force:False 20:58:09 2023-03-14 20:58:09,207 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:58:09 2023-03-14 20:58:09,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:58:09 2023-03-14 20:58:09,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:58:10 2023-03-14 20:58:10,181 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:58:10 2023-03-14 20:58:10,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:58:10 2023-03-14 20:58:10,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:58:10 2023-03-14 20:58:10,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:58:10 3.0.0-dev.18 [Pipeline] } 20:58:10 $ docker exec --env ******** --env ******** e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent -k 20:58:10 unset SSH_AUTH_SOCK; 20:58:10 unset SSH_AGENT_PID; 20:58:10 echo Agent pid 76 killed; 20:58:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:10 + git semver [Pipeline] } 20:58:11 $ docker stop --time=1 e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 20:58:12 $ docker rm -f --volumes e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:13 Stashed 1 file(s) [Pipeline] echo 20:58:13 [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:13 provisioning config files... 20:58:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5851970951458535830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:13 ---> docker-login.sh 20:58:13 nexus3.edgexfoundry.org:10001 20:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:13 Configure a credential helper to remove this warning. See 20:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:13 20:58:13 Login Succeeded 20:58:13 nexus3.edgexfoundry.org:10002 20:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:13 Configure a credential helper to remove this warning. See 20:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:13 20:58:13 Login Succeeded 20:58:13 nexus3.edgexfoundry.org:10003 20:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:13 Configure a credential helper to remove this warning. See 20:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:13 20:58:13 Login Succeeded 20:58:13 nexus3.edgexfoundry.org:10004 20:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:13 Configure a credential helper to remove this warning. See 20:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:13 20:58:13 Login Succeeded 20:58:13 docker.io 20:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:14 Configure a credential helper to remove this warning. See 20:58:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:14 20:58:14 Login Succeeded 20:58:14 ---> docker-login.sh ends [Pipeline] } 20:58:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:14 ========================================================= 20:58:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:58:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:14 + 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 . 20:58:14 Sending build context to Docker daemon 10.85MB 20:58:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:58:14 Step 2/12 : FROM ${BASE} AS builder 20:58:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:14 63b65145d645: Pulling fs layer 20:58:14 a2d21d5440eb: Pulling fs layer 20:58:14 935e6c44a52c: Pulling fs layer 20:58:14 94cc34f8dd06: Pulling fs layer 20:58:14 30dea6a524f1: Pulling fs layer 20:58:14 a2aff8979fd8: Pulling fs layer 20:58:14 6808be2612f2: Pulling fs layer 20:58:14 f25807f1079a: Pulling fs layer 20:58:14 94cc34f8dd06: Waiting 20:58:14 a2aff8979fd8: Waiting 20:58:14 30dea6a524f1: Waiting 20:58:14 6808be2612f2: Waiting 20:58:14 f25807f1079a: Waiting 20:58:14 a2d21d5440eb: Verifying Checksum 20:58:14 a2d21d5440eb: Download complete 20:58:14 94cc34f8dd06: Verifying Checksum 20:58:14 94cc34f8dd06: Download complete 20:58:14 30dea6a524f1: Download complete 20:58:14 63b65145d645: Verifying Checksum 20:58:14 63b65145d645: Download complete 20:58:14 a2aff8979fd8: Verifying Checksum 20:58:14 a2aff8979fd8: Download complete 20:58:14 63b65145d645: Pull complete 20:58:15 a2d21d5440eb: Pull complete 20:58:15 f25807f1079a: Verifying Checksum 20:58:15 f25807f1079a: Download complete 20:58:15 935e6c44a52c: Verifying Checksum 20:58:15 935e6c44a52c: Download complete 20:58:15 6808be2612f2: Verifying Checksum 20:58:15 6808be2612f2: Download complete 20:58:18 935e6c44a52c: Pull complete 20:58:18 94cc34f8dd06: Pull complete 20:58:18 30dea6a524f1: Pull complete 20:58:18 a2aff8979fd8: Pull complete 20:58:21 6808be2612f2: Pull complete 20:58:22 f25807f1079a: Pull complete 20:58:22 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:58:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:58:22 ---> 3b553350e43f 20:58:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:58:23 ---> Running in f0b0cdc5c922 20:58:23 Removing intermediate container f0b0cdc5c922 20:58:23 ---> 96fe02462a28 20:58:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:23 ---> Running in b7c0327c269a 20:58:23 Removing intermediate container b7c0327c269a 20:58:23 ---> 47a078fb55bc 20:58:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:23 ---> Running in 6f2f815cb98f 20:58:24 Removing intermediate container 6f2f815cb98f 20:58:24 ---> f0c9b7b2db0b 20:58:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:58:24 ---> Running in 2f1a5e866b63 20:58:24 Removing intermediate container 2f1a5e866b63 20:58:24 ---> 0c22e4ccc193 20:58:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:24 ---> Running in 67a7edde1ef1 20:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:58:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:58:24 (2/4) Installing libedit (20221030.3.1-r0) 20:58:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:58:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:58:24 Executing busybox-1.35.0-r29.trigger 20:58:24 OK: 269 MiB in 57 packages 20:58:25 Removing intermediate container 67a7edde1ef1 20:58:25 ---> 9382c45aa4d4 20:58:25 Step 8/12 : WORKDIR /device-rest-go 20:58:25 ---> Running in f1c0ea8b6106 20:58:25 Removing intermediate container f1c0ea8b6106 20:58:25 ---> 547af4683746 20:58:25 Step 9/12 : COPY go.mod vendor* ./ 20:58:25 ---> 16a5bb1ad165 20:58:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:25 ---> Running in 86f8ee5704b8 20:58:28 Still waiting to schedule task 20:58:28 ‘prd-ubuntu18.04-docker-8c-8g-160’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:58:28 ‘prd-ubuntu20.04-docker-8c-8g-258’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:58:28 ‘prd-ubuntu20.04-docker-arm64-4c-16g-262’ is offline 20:58:47 Removing intermediate container 86f8ee5704b8 20:58:47 ---> fb851313ac93 20:58:47 Step 11/12 : COPY . . 20:58:47 ---> 35c4e0b68d73 20:58:47 Step 12/12 : RUN $MAKE 20:58:47 ---> Running in f8641c8b2e4c 20:58:47 noop 20:58:47 Removing intermediate container f8641c8b2e4c 20:58:47 ---> f2a35c990387 20:58:47 Successfully built f2a35c990387 20:58:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:48 + docker inspect -f . ci-base-image-x86_64 20:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:48 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 20:58:48 $ 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 20:58:48 $ docker top 8684459c23c0a5c865b7cc9f5eafc1660f99d1323113719dae0294f77f40eefd -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:48 + go version 20:58:48 go version go1.20.2 linux/amd64 [Pipeline] } 20:58:48 $ docker stop --time=1 8684459c23c0a5c865b7cc9f5eafc1660f99d1323113719dae0294f77f40eefd 20:58:50 $ docker rm -f --volumes 8684459c23c0a5c865b7cc9f5eafc1660f99d1323113719dae0294f77f40eefd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:50 + docker inspect -f . ci-base-image-x86_64 20:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:50 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 20:58:50 $ 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 20:58:51 $ docker top d46ac5aa5bfa7b622c0e8edbf500ac0c9a9e6f8172356dee92df9cc4d7600422 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:58:51 + make test 20:58:51 go test ./... -coverprofile=coverage.out ./... 20:58:56 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:06 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.1% of statements 20:59:12 go vet ./... 20:59:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:16 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:16 $ docker stop --time=1 d46ac5aa5bfa7b622c0e8edbf500ac0c9a9e6f8172356dee92df9cc4d7600422 20:59:18 $ docker rm -f --volumes d46ac5aa5bfa7b622c0e8edbf500ac0c9a9e6f8172356dee92df9cc4d7600422 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:19 + ls -al . 20:59:19 total 184 20:59:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 20:58 . 20:59:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:57 .. 20:59:19 -rw-rw-r-- 1 jenkins jenkins 151 Mar 14 20:57 .dockerignore 20:59:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:58 .git 20:59:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 .github 20:59:19 -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 20:57 .gitignore 20:59:19 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:57 .golangci.yml 20:59:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:58 .semver 20:59:19 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 14 20:57 Attribution.txt 20:59:19 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 14 20:57 CHANGELOG.md 20:59:19 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 14 20:57 Dockerfile 20:59:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:57 GOVERNANCE.md 20:59:19 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:57 Jenkinsfile 20:59:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:57 LICENSE 20:59:19 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 14 20:57 Makefile 20:59:19 -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 20:57 OWNERS.md 20:59:19 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 14 20:57 README.md 20:59:19 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:58 VERSION 20:59:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:57 bin 20:59:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 cmd 20:59:19 -rw-r--r-- 1 jenkins jenkins 14200 Mar 14 20:59 coverage.out 20:59:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:57 driver 20:59:19 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 14 20:57 go.mod 20:59:19 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 20:57 go.sum 20:59:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:57 snap 20:59:19 -rw-rw-r-- 1 jenkins jenkins 713 Mar 14 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:19 + 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=eb45550bbe0df662ecfda2dd82817b25f9b033bb --label arch=amd64 --label version=3.0.0-dev.18 . 20:59:19 Sending build context to Docker daemon 10.86MB 20:59:19 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:59:19 Step 2/25 : FROM ${BASE} AS builder 20:59:19 ---> f2a35c990387 20:59:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:59:19 ---> Running in 75ef0d891bfd 20:59:20 Removing intermediate container 75ef0d891bfd 20:59:20 ---> 6dec5f3cfbc4 20:59:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:20 ---> Running in 9196dfd0db13 20:59:20 Removing intermediate container 9196dfd0db13 20:59:20 ---> d3aa6465fe9b 20:59:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:20 ---> Running in f8d76ba06225 20:59:20 Removing intermediate container f8d76ba06225 20:59:20 ---> f35198b23bda 20:59:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:59:20 ---> Running in 9ef874e14150 20:59:20 Removing intermediate container 9ef874e14150 20:59:20 ---> ebac1b24ea3c 20:59:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:20 ---> Running in 920f33d83cba 20:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:21 OK: 269 MiB in 57 packages 20:59:21 Removing intermediate container 920f33d83cba 20:59:21 ---> 4c906249a059 20:59:21 Step 8/25 : WORKDIR /device-rest-go 20:59:21 ---> Running in d3f331aba8e9 20:59:21 Removing intermediate container d3f331aba8e9 20:59:21 ---> a0c6113c9f27 20:59:21 Step 9/25 : COPY go.mod vendor* ./ 20:59:21 ---> 0cfe56dd8d05 20:59:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:21 ---> Running in 99c6c45b0f81 20:59:22 Removing intermediate container 99c6c45b0f81 20:59:22 ---> f0c52e2eab29 20:59:22 Step 11/25 : COPY . . 20:59:23 ---> 44f188758a52 20:59:23 Step 12/25 : RUN $MAKE 20:59:23 ---> Running in a2f0b0a50de9 20:59:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:59:41 Removing intermediate container a2f0b0a50de9 20:59:41 ---> 76b826196d6d 20:59:41 Step 13/25 : FROM alpine:3.17 20:59:41 3.17: Pulling from library/alpine 20:59:41 63b65145d645: Already exists 20:59:41 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:59:41 Status: Downloaded newer image for alpine:3.17 20:59:41 ---> b2aa39c304c2 20:59:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:41 ---> Running in 0635beaf137c 20:59:41 Removing intermediate container 0635beaf137c 20:59:41 ---> fdbdabb5e9d5 20:59:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:59:41 ---> Running in 8de88f5a8f28 20:59:41 Removing intermediate container 8de88f5a8f28 20:59:41 ---> fcc82e99f247 20:59:41 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:59:41 ---> Running in 6189b88da459 20:59:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:41 (1/1) Installing dumb-init (1.2.5-r2) 20:59:41 Executing busybox-1.35.0-r29.trigger 20:59:41 OK: 7 MiB in 16 packages 20:59:41 Removing intermediate container 6189b88da459 20:59:41 ---> 5f0fefca1aca 20:59:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:59:42 ---> 3645852c931a 20:59:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:59:42 ---> 3d5e0ac1ad3a 20:59:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:59:42 ---> da785f2d961f 20:59:42 Step 20/25 : EXPOSE 59986 20:59:42 ---> Running in a9d53747e08d 20:59:42 Removing intermediate container a9d53747e08d 20:59:42 ---> 9adf2b55a584 20:59:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:59:42 ---> Running in 5eb51eacdcc5 20:59:42 Removing intermediate container 5eb51eacdcc5 20:59:42 ---> bbb93fd2f9dd 20:59:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:59:42 ---> Running in f48efbd1165f 20:59:42 Removing intermediate container f48efbd1165f 20:59:42 ---> 456aafaff274 20:59:42 Step 23/25 : LABEL arch=amd64 20:59:42 ---> Running in bdae120751e0 20:59:42 Removing intermediate container bdae120751e0 20:59:42 ---> 18d032e97e4d 20:59:42 Step 24/25 : LABEL git_sha=eb45550bbe0df662ecfda2dd82817b25f9b033bb 20:59:42 ---> Running in 798c94ac3d8d 20:59:42 Removing intermediate container 798c94ac3d8d 20:59:42 ---> 9554d96886bf 20:59:42 Step 25/25 : LABEL version=3.0.0-dev.18 20:59:42 ---> Running in 944245016e80 20:59:42 Removing intermediate container 944245016e80 20:59:42 ---> cf474125e01c 20:59:42 [Warning] One or more build-args [ARCH] were not consumed 20:59:42 Successfully built cf474125e01c 20:59:42 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:42 provisioning config files... 20:59:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4935305141502410785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:43 ---> docker-login.sh 20:59:43 nexus3.edgexfoundry.org:10001 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 nexus3.edgexfoundry.org:10002 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 nexus3.edgexfoundry.org:10003 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 nexus3.edgexfoundry.org:10004 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 docker.io 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 ---> docker-login.sh ends [Pipeline] } 20:59:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:43 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:59:43 eb45550bbe0df662ecfda2dd82817b25f9b033bb 20:59:43 latest 20:59:43 3.0.0-dev.18 20:59:43 eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 20:59:43 main 20:59:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb 20:59:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:44 814d754ede5b: Preparing 20:59:44 4672c933db59: Preparing 20:59:44 041223f54107: Preparing 20:59:44 d1fd3e9a20d6: Preparing 20:59:44 7cd52847ad77: Preparing 20:59:44 7cd52847ad77: Layer already exists 20:59:44 4672c933db59: Pushed 20:59:44 d1fd3e9a20d6: Pushed 20:59:44 814d754ede5b: Pushed 20:59:46 041223f54107: Pushed 20:59:46 eb45550bbe0df662ecfda2dd82817b25f9b033bb: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:47 814d754ede5b: Preparing 20:59:47 4672c933db59: Preparing 20:59:47 041223f54107: Preparing 20:59:47 d1fd3e9a20d6: Preparing 20:59:47 7cd52847ad77: Preparing 20:59:47 041223f54107: Layer already exists 20:59:47 4672c933db59: Layer already exists 20:59:47 814d754ede5b: Layer already exists 20:59:47 d1fd3e9a20d6: Layer already exists 20:59:47 7cd52847ad77: Layer already exists 20:59:47 latest: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.18 20:59:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:48 814d754ede5b: Preparing 20:59:48 4672c933db59: Preparing 20:59:48 041223f54107: Preparing 20:59:48 d1fd3e9a20d6: Preparing 20:59:48 7cd52847ad77: Preparing 20:59:48 041223f54107: Layer already exists 20:59:48 d1fd3e9a20d6: Layer already exists 20:59:48 4672c933db59: Layer already exists 20:59:48 7cd52847ad77: Layer already exists 20:59:48 814d754ede5b: Layer already exists 20:59:48 3.0.0-dev.18: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 20:59:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:48 814d754ede5b: Preparing 20:59:48 4672c933db59: Preparing 20:59:48 041223f54107: Preparing 20:59:48 d1fd3e9a20d6: Preparing 20:59:48 7cd52847ad77: Preparing 20:59:48 4672c933db59: Layer already exists 20:59:48 7cd52847ad77: Layer already exists 20:59:48 041223f54107: Layer already exists 20:59:48 d1fd3e9a20d6: Layer already exists 20:59:48 814d754ede5b: Layer already exists 20:59:48 eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:59:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:49 814d754ede5b: Preparing 20:59:49 4672c933db59: Preparing 20:59:49 041223f54107: Preparing 20:59:49 d1fd3e9a20d6: Preparing 20:59:49 7cd52847ad77: Preparing 20:59:49 041223f54107: Layer already exists 20:59:49 d1fd3e9a20d6: Layer already exists 20:59:49 4672c933db59: Layer already exists 20:59:49 814d754ede5b: Layer already exists 20:59:49 7cd52847ad77: Layer already exists 20:59:49 main: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:49 ===================================================== [Pipeline] echo 20:59:49 taggedImages: 20:59:49 - nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb 20:59:49 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:49 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.18 20:59:49 - nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 20:59:49 - 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 20:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:49 20:59:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:50 latest: Pulling from edgex-lftools-log-publisher 20:59:50 5eb5b503b376: Pulling fs layer 20:59:50 5c69ac0246d0: Pulling fs layer 20:59:50 ec43610c2a17: Pulling fs layer 20:59:50 3a2ae6a8a46f: Pulling fs layer 20:59:50 33b1e0a273af: Pulling fs layer 20:59:50 5d3b04190fa2: Pulling fs layer 20:59:50 2f39f015ded8: Pulling fs layer 20:59:50 3a2ae6a8a46f: Waiting 20:59:50 33b1e0a273af: Waiting 20:59:50 5d3b04190fa2: Waiting 20:59:50 2f39f015ded8: Waiting 20:59:50 5c69ac0246d0: Download complete 20:59:50 3a2ae6a8a46f: Download complete 20:59:50 33b1e0a273af: Verifying Checksum 20:59:50 33b1e0a273af: Download complete 20:59:50 5d3b04190fa2: Verifying Checksum 20:59:50 5d3b04190fa2: Download complete 20:59:50 ec43610c2a17: Verifying Checksum 20:59:50 ec43610c2a17: Download complete 20:59:50 5eb5b503b376: Download complete 20:59:50 2f39f015ded8: Download complete 20:59:51 5eb5b503b376: Pull complete 20:59:51 5c69ac0246d0: Pull complete 20:59:51 ec43610c2a17: Pull complete 20:59:51 3a2ae6a8a46f: Pull complete 20:59:52 33b1e0a273af: Pull complete 20:59:52 5d3b04190fa2: Pull complete 20:59:56 2f39f015ded8: Pull complete 20:59:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:56 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 20:59:56 $ 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 20:59:58 $ docker top 509a782d2d160d3d8b9b35a0d45aa27407ca7147605c2c36215fbb13ab10d4cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:58 ---> job-cost.sh 20:59:58 lf-activate-venv: SKIPPING 20:59:58 INFO: No Stack... 20:59:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:59 INFO: Archiving Costs [Pipeline] sh 20:59:59 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:59:59 + cut -d, -f6 [Pipeline] lock 20:59:59 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] 20:59:59 Resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] did not exist. Created. 20:59:59 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:00 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:00 Stashed 1 file(s) [Pipeline] } 21:00:00 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:00 $ docker stop --time=1 509a782d2d160d3d8b9b35a0d45aa27407ca7147605c2c36215fbb13ab10d4cb 21:00:01 $ docker rm -f --volumes 509a782d2d160d3d8b9b35a0d45aa27407ca7147605c2c36215fbb13ab10d4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:01:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-266 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:01:19 Running in /w/workspace/device-rest-go/90 [Pipeline] { [Pipeline] checkout 21:01:19 The recommended git tool is: git 21:01:26 using credential edgex-jenkins-ssh 21:01:26 Cloning the remote Git repository 21:01:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:01:26 > git init /w/workspace/device-rest-go/90 # timeout=10 21:01:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:26 > git --version # timeout=10 21:01:26 > git --version # 'git version 2.25.1' 21:01:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:30 Avoid second fetch 21:01:30 Checking out Revision eb45550bbe0df662ecfda2dd82817b25f9b033bb (main) 21:01:30 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#265)" 21:01:30 > git config core.sparsecheckout # timeout=10 21:01:30 > git checkout -f eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:31 Dload Upload Total Spent Left Speed 21:01:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 21:01:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:01:32 sudo tee /etc/docker/daemon.new 21:01:32 { 21:01:32 "registry-mirrors": [ 21:01:32 "https://nexus3.edgexfoundry.org:10001" 21:01:32 ], 21:01:32 "bip": "10.250.0.254/24", 21:01:32 "hosts": [ 21:01:32 "tcp://0.0.0.0:5555", 21:01:32 "unix:///var/run/docker.sock" 21:01:32 ], 21:01:32 "mtu": 1458, 21:01:32 "selinux-enabled": true, 21:01:32 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:32 } [Pipeline] sh 21:01:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:51 provisioning config files... 21:01:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/90@tmp/config12393827214504352782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:52 ---> docker-login.sh 21:01:52 nexus3.edgexfoundry.org:10001 21:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:52 Configure a credential helper to remove this warning. See 21:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:52 21:01:52 Login Succeeded 21:01:53 nexus3.edgexfoundry.org:10002 21:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:53 Configure a credential helper to remove this warning. See 21:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:53 21:01:53 Login Succeeded 21:01:53 nexus3.edgexfoundry.org:10003 21:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:53 Configure a credential helper to remove this warning. See 21:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:53 21:01:53 Login Succeeded 21:01:53 nexus3.edgexfoundry.org:10004 21:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:54 Configure a credential helper to remove this warning. See 21:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:54 21:01:54 Login Succeeded 21:01:54 docker.io 21:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:54 Configure a credential helper to remove this warning. See 21:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:54 21:01:54 Login Succeeded 21:01:54 ---> docker-login.sh ends [Pipeline] } 21:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:55 ========================================================= 21:01:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:55 + 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 . 21:01:55 Sending build context to Docker daemon 139.3kB 21:01:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:01:55 Step 2/12 : FROM ${BASE} AS builder 21:01:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:56 af6eaf76a39c: Pulling fs layer 21:01:56 55522c791124: Pulling fs layer 21:01:56 ce5c4a1c91eb: Pulling fs layer 21:01:56 169dfbe0d373: Pulling fs layer 21:01:56 e1ff8fa3b103: Pulling fs layer 21:01:56 52ebb69f0ebf: Pulling fs layer 21:01:56 5abe8eddf0d5: Pulling fs layer 21:01:56 169dfbe0d373: Waiting 21:01:56 e1ff8fa3b103: Waiting 21:01:56 52ebb69f0ebf: Waiting 21:01:56 5abe8eddf0d5: Waiting 21:01:56 55522c791124: Download complete 21:01:56 169dfbe0d373: Verifying Checksum 21:01:56 169dfbe0d373: Download complete 21:01:56 e1ff8fa3b103: Verifying Checksum 21:01:56 e1ff8fa3b103: Download complete 21:01:56 af6eaf76a39c: Verifying Checksum 21:01:56 af6eaf76a39c: Download complete 21:01:57 af6eaf76a39c: Pull complete 21:01:57 5abe8eddf0d5: Verifying Checksum 21:01:57 5abe8eddf0d5: Download complete 21:01:57 55522c791124: Pull complete 21:01:58 ce5c4a1c91eb: Verifying Checksum 21:01:58 ce5c4a1c91eb: Download complete 21:01:58 52ebb69f0ebf: Verifying Checksum 21:01:58 52ebb69f0ebf: Download complete 21:02:08 ce5c4a1c91eb: Pull complete 21:02:09 169dfbe0d373: Pull complete 21:02:09 e1ff8fa3b103: Pull complete 21:02:16 52ebb69f0ebf: Pull complete 21:02:17 5abe8eddf0d5: Pull complete 21:02:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:02:17 ---> 6cb57ee374ae 21:02:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:19 ---> Running in 0c4142402e92 21:02:20 Removing intermediate container 0c4142402e92 21:02:20 ---> 17faf601fbef 21:02:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:20 ---> Running in e1a8cd651a69 21:02:20 Removing intermediate container e1a8cd651a69 21:02:20 ---> 4f8e4db4dc61 21:02:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:20 ---> Running in 89ce84248e6f 21:02:20 Removing intermediate container 89ce84248e6f 21:02:20 ---> 6c6b8b596ec3 21:02:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:21 ---> Running in b81345004fc6 21:02:21 Removing intermediate container b81345004fc6 21:02:21 ---> e2f150f82480 21:02:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:21 ---> Running in 2678a830de54 21:02:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:02:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:02:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:02:24 (2/4) Installing libedit (20221030.3.1-r0) 21:02:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:02:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:02:24 Executing busybox-1.35.0-r29.trigger 21:02:24 OK: 268 MiB in 57 packages 21:02:25 Removing intermediate container 2678a830de54 21:02:25 ---> 9f0975342ec0 21:02:25 Step 8/12 : WORKDIR /device-rest-go 21:02:25 ---> Running in 89b246c5bea1 21:02:26 Removing intermediate container 89b246c5bea1 21:02:26 ---> f715ab25c80e 21:02:26 Step 9/12 : COPY go.mod vendor* ./ 21:02:26 ---> dec44883f40f 21:02:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:27 ---> Running in 4bf4743b5d66 21:03:48 Removing intermediate container 4bf4743b5d66 21:03:48 ---> f1d638e45b3f 21:03:48 Step 11/12 : COPY . . 21:03:48 ---> cad07f9572c2 21:03:48 Step 12/12 : RUN $MAKE 21:03:48 ---> Running in f273380df849 21:03:48 noop 21:03:48 Removing intermediate container f273380df849 21:03:48 ---> 3b11eac369f4 21:03:48 Successfully built 3b11eac369f4 21:03:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:49 + docker inspect -f . ci-base-image-arm64 21:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:49 prd-ubuntu20.04-docker-arm64-4c-16g-266 does not seem to be running inside a container 21:03:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/90 -v /w/workspace/device-rest-go/90:/w/workspace/device-rest-go/90:rw,z -v /w/workspace/device-rest-go/90@tmp:/w/workspace/device-rest-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:54 $ docker top bcb2c8cc0d282d91ee66d17af313cab50ade9a57d4a09a7da7bd000c12cbd411 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:54 + go version 21:03:54 go version go1.20.2 linux/arm64 [Pipeline] } 21:03:54 $ docker stop --time=1 bcb2c8cc0d282d91ee66d17af313cab50ade9a57d4a09a7da7bd000c12cbd411 21:03:56 $ docker rm -f --volumes bcb2c8cc0d282d91ee66d17af313cab50ade9a57d4a09a7da7bd000c12cbd411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:57 + docker inspect -f . ci-base-image-arm64 21:03:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:57 prd-ubuntu20.04-docker-arm64-4c-16g-266 does not seem to be running inside a container 21:03:57 $ 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/90 -v /w/workspace/device-rest-go/90:/w/workspace/device-rest-go/90:rw,z -v /w/workspace/device-rest-go/90@tmp:/w/workspace/device-rest-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:58 $ docker top 42ad2bac537faf8c48b96aa7e9f6042df633aa939d991ee7a8cea98cdce558e9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:59 + git config --global --add safe.directory /w/workspace/device-rest-go/90 [Pipeline] fileExists [Pipeline] sh 21:04:00 + make test 21:04:00 go test ./... -coverprofile=coverage.out ./... 21:04:39 ? github.com/edgexfoundry/device-rest-go [no test files] 21:07:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:07:31 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.1% of statements 21:07:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:07:31 go vet ./... 21:07:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:49 ./bin/test-attribution-txt.sh [Pipeline] echo 21:07:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:49 $ docker stop --time=1 42ad2bac537faf8c48b96aa7e9f6042df633aa939d991ee7a8cea98cdce558e9 21:07:51 $ docker rm -f --volumes 42ad2bac537faf8c48b96aa7e9f6042df633aa939d991ee7a8cea98cdce558e9 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:52 Warning: overwriting stash ‘coverage-report’ 21:07:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:54 + ls -al . 21:07:54 total 180 21:07:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:04 . 21:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:01 .. 21:07:54 -rw-rw-r-- 1 jenkins jenkins 151 Mar 14 21:01 .dockerignore 21:07:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:01 .git 21:07:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:01 .github 21:07:54 -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 21:01 .gitignore 21:07:54 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:01 .golangci.yml 21:07:54 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 14 21:01 Attribution.txt 21:07:54 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 14 21:01 CHANGELOG.md 21:07:54 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 14 21:01 Dockerfile 21:07:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:01 GOVERNANCE.md 21:07:54 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 21:01 Jenkinsfile 21:07:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:01 LICENSE 21:07:54 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 14 21:01 Makefile 21:07:54 -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 21:01 OWNERS.md 21:07:54 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 14 21:01 README.md 21:07:54 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:58 VERSION 21:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:01 bin 21:07:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:01 cmd 21:07:54 -rw-r--r-- 1 jenkins jenkins 14200 Mar 14 21:07 coverage.out 21:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:01 driver 21:07:54 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 14 21:01 go.mod 21:07:54 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 21:01 go.sum 21:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:01 snap 21:07:54 -rw-rw-r-- 1 jenkins jenkins 713 Mar 14 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:54 + 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=eb45550bbe0df662ecfda2dd82817b25f9b033bb --label arch=arm64 --label version=3.0.0-dev.18 . 21:07:54 Sending build context to Docker daemon 154.1kB 21:07:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:07:54 Step 2/25 : FROM ${BASE} AS builder 21:07:54 ---> 3b11eac369f4 21:07:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:07:58 ---> Running in 21a4aa1cfbef 21:07:58 Removing intermediate container 21a4aa1cfbef 21:07:58 ---> 83a5a7e6c4a8 21:07:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:58 ---> Running in ba636bc1cf99 21:07:58 Removing intermediate container ba636bc1cf99 21:07:58 ---> 0b2ca646d873 21:07:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:07:58 ---> Running in f488cec1dfd8 21:07:58 Removing intermediate container f488cec1dfd8 21:07:58 ---> 64d65d843bf6 21:07:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:07:58 ---> Running in 4c1a54cac917 21:07:58 Removing intermediate container 4c1a54cac917 21:07:58 ---> 313fb06017ac 21:07:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:59 ---> Running in cb5f41d65c43 21:08:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:03 OK: 268 MiB in 57 packages 21:08:04 Removing intermediate container cb5f41d65c43 21:08:04 ---> bb1fbd4c7d34 21:08:04 Step 8/25 : WORKDIR /device-rest-go 21:08:04 ---> Running in a18b1721111c 21:08:05 Removing intermediate container a18b1721111c 21:08:05 ---> 5ef6a7c64681 21:08:05 Step 9/25 : COPY go.mod vendor* ./ 21:08:05 ---> 314acb8afe7c 21:08:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:05 ---> Running in aeac1604e471 21:08:08 Removing intermediate container aeac1604e471 21:08:08 ---> ca47d4a4d942 21:08:08 Step 11/25 : COPY . . 21:08:08 ---> 69c7fb75bbe8 21:08:08 Step 12/25 : RUN $MAKE 21:08:08 ---> Running in 369e163f6e27 21:08:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:10:31 Removing intermediate container 369e163f6e27 21:10:31 ---> cb10fc155c49 21:10:31 Step 13/25 : FROM alpine:3.17 21:10:31 3.17: Pulling from library/alpine 21:10:31 af6eaf76a39c: Already exists 21:10:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:10:31 Status: Downloaded newer image for alpine:3.17 21:10:31 ---> d74e625d9115 21:10:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:10:31 ---> Running in 558a1438cb55 21:10:31 Removing intermediate container 558a1438cb55 21:10:31 ---> 34e2cbb380ed 21:10:31 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:10:31 ---> Running in d74b3f124d8d 21:10:31 Removing intermediate container d74b3f124d8d 21:10:31 ---> de4591acafc3 21:10:31 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:10:31 ---> Running in 452c14a4ae1e 21:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:10:32 (1/1) Installing dumb-init (1.2.5-r2) 21:10:32 Executing busybox-1.35.0-r29.trigger 21:10:32 OK: 8 MiB in 16 packages 21:10:32 Removing intermediate container 452c14a4ae1e 21:10:32 ---> 124cfe689f32 21:10:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:10:34 ---> cd376b09cc81 21:10:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:10:34 ---> 622d252b4c8b 21:10:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:10:35 ---> 1107549a92dc 21:10:35 Step 20/25 : EXPOSE 59986 21:10:37 ---> Running in 6b923b26bf35 21:10:37 Removing intermediate container 6b923b26bf35 21:10:37 ---> b80f07265379 21:10:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:10:37 ---> Running in 0da4c155c4f3 21:10:37 Removing intermediate container 0da4c155c4f3 21:10:37 ---> 15b015f10f0e 21:10:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:10:37 ---> Running in 2d4372994d57 21:10:38 Removing intermediate container 2d4372994d57 21:10:38 ---> 4d9e9bcaf7fe 21:10:38 Step 23/25 : LABEL arch=arm64 21:10:38 ---> Running in ffde3251cb01 21:10:38 Removing intermediate container ffde3251cb01 21:10:38 ---> 55ee429b3865 21:10:38 Step 24/25 : LABEL git_sha=eb45550bbe0df662ecfda2dd82817b25f9b033bb 21:10:38 ---> Running in 21c1b93564ce 21:10:39 Removing intermediate container 21c1b93564ce 21:10:39 ---> 55dfba72b882 21:10:39 Step 25/25 : LABEL version=3.0.0-dev.18 21:10:39 ---> Running in b56b82540043 21:10:39 Removing intermediate container b56b82540043 21:10:39 ---> 9ef9840d02fd 21:10:39 [Warning] One or more build-args [ARCH] were not consumed 21:10:39 Successfully built 9ef9840d02fd 21:10:39 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:39 provisioning config files... 21:10:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/90@tmp/config12091055205640150864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:39 ---> docker-login.sh 21:10:39 nexus3.edgexfoundry.org:10001 21:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 nexus3.edgexfoundry.org:10002 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 nexus3.edgexfoundry.org:10003 21:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:40 Configure a credential helper to remove this warning. See 21:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:40 21:10:40 Login Succeeded 21:10:40 nexus3.edgexfoundry.org:10004 21:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:41 Configure a credential helper to remove this warning. See 21:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:41 21:10:41 Login Succeeded 21:10:41 docker.io 21:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:41 Configure a credential helper to remove this warning. See 21:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:41 21:10:41 Login Succeeded 21:10:41 ---> docker-login.sh ends [Pipeline] } 21:10:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:10:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:41 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:10:41 eb45550bbe0df662ecfda2dd82817b25f9b033bb 21:10:41 latest 21:10:41 3.0.0-dev.18 21:10:41 eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 21:10:41 main 21:10:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb 21:10:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:10:42 5bda21560826: Preparing 21:10:42 93dbc06aad64: Preparing 21:10:42 1cf2be17d0dd: Preparing 21:10:42 402e4c8bffeb: Preparing 21:10:42 edf70074bd40: Preparing 21:10:42 edf70074bd40: Layer already exists 21:10:42 402e4c8bffeb: Pushed 21:10:42 5bda21560826: Pushed 21:10:42 93dbc06aad64: Pushed 21:10:48 1cf2be17d0dd: Pushed 21:10:48 eb45550bbe0df662ecfda2dd82817b25f9b033bb: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:10:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:10:49 5bda21560826: Preparing 21:10:49 93dbc06aad64: Preparing 21:10:49 1cf2be17d0dd: Preparing 21:10:49 402e4c8bffeb: Preparing 21:10:49 edf70074bd40: Preparing 21:10:49 5bda21560826: Layer already exists 21:10:49 93dbc06aad64: Layer already exists 21:10:49 402e4c8bffeb: Layer already exists 21:10:49 1cf2be17d0dd: Layer already exists 21:10:49 edf70074bd40: Layer already exists 21:10:49 latest: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.18 21:10:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:10:49 5bda21560826: Preparing 21:10:49 93dbc06aad64: Preparing 21:10:49 1cf2be17d0dd: Preparing 21:10:49 402e4c8bffeb: Preparing 21:10:49 edf70074bd40: Preparing 21:10:49 5bda21560826: Layer already exists 21:10:49 402e4c8bffeb: Layer already exists 21:10:49 edf70074bd40: Layer already exists 21:10:49 1cf2be17d0dd: Layer already exists 21:10:49 93dbc06aad64: Layer already exists 21:10:49 3.0.0-dev.18: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 21:10:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:10:50 5bda21560826: Preparing 21:10:50 93dbc06aad64: Preparing 21:10:50 1cf2be17d0dd: Preparing 21:10:50 402e4c8bffeb: Preparing 21:10:50 edf70074bd40: Preparing 21:10:50 1cf2be17d0dd: Layer already exists 21:10:50 edf70074bd40: Layer already exists 21:10:50 5bda21560826: Layer already exists 21:10:50 93dbc06aad64: Layer already exists 21:10:50 402e4c8bffeb: Layer already exists 21:10:50 eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:10:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:10:51 5bda21560826: Preparing 21:10:51 93dbc06aad64: Preparing 21:10:51 1cf2be17d0dd: Preparing 21:10:51 402e4c8bffeb: Preparing 21:10:51 edf70074bd40: Preparing 21:10:51 1cf2be17d0dd: Layer already exists 21:10:51 402e4c8bffeb: Layer already exists 21:10:51 5bda21560826: Layer already exists 21:10:51 edf70074bd40: Layer already exists 21:10:51 93dbc06aad64: Layer already exists 21:10:51 main: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:10:51 ===================================================== [Pipeline] echo 21:10:51 taggedImages: 21:10:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb 21:10:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:10:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.18 21:10:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 21:10:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:51 21:10:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:51 arm64: Pulling from edgex-lftools-log-publisher 21:10:51 8998bd30e6a1: Pulling fs layer 21:10:51 04944245beec: Pulling fs layer 21:10:51 699f458cf7ca: Pulling fs layer 21:10:51 765212b225bb: Pulling fs layer 21:10:51 f23df028b6ca: Pulling fs layer 21:10:51 d65c8cfc05b1: Pulling fs layer 21:10:51 2437ff75d9bd: Pulling fs layer 21:10:51 f23df028b6ca: Waiting 21:10:51 d65c8cfc05b1: Waiting 21:10:51 2437ff75d9bd: Waiting 21:10:52 04944245beec: Verifying Checksum 21:10:52 04944245beec: Download complete 21:10:52 765212b225bb: Download complete 21:10:52 f23df028b6ca: Verifying Checksum 21:10:52 f23df028b6ca: Download complete 21:10:52 d65c8cfc05b1: Verifying Checksum 21:10:52 d65c8cfc05b1: Download complete 21:10:52 699f458cf7ca: Verifying Checksum 21:10:52 699f458cf7ca: Download complete 21:10:52 8998bd30e6a1: Verifying Checksum 21:10:52 8998bd30e6a1: Download complete 21:10:54 2437ff75d9bd: Verifying Checksum 21:10:54 2437ff75d9bd: Download complete 21:10:56 8998bd30e6a1: Pull complete 21:10:56 04944245beec: Pull complete 21:10:58 699f458cf7ca: Pull complete 21:10:58 765212b225bb: Pull complete 21:10:58 f23df028b6ca: Pull complete 21:10:58 d65c8cfc05b1: Pull complete 21:11:13 2437ff75d9bd: Pull complete 21:11:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:14 prd-ubuntu20.04-docker-arm64-4c-16g-266 does not seem to be running inside a container 21:11:14 $ 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/90 -v /w/workspace/device-rest-go/90:/w/workspace/device-rest-go/90:rw,z -v /w/workspace/device-rest-go/90@tmp:/w/workspace/device-rest-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:11:16 $ docker top 527e1669ac713aac12142df38c18a6db620187e5ba2d9c905b1f0dd0736bec78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:17 ---> job-cost.sh 21:11:17 lf-activate-venv: SKIPPING 21:11:17 INFO: No Stack... 21:11:18 INFO: Retrieving Pricing Info for: v3-standard-4 21:11:18 INFO: Archiving Costs [Pipeline] sh 21:11:19 + cat /w/workspace/device-rest-go/90/archives/cost.csv 21:11:19 + cut -d, -f6 [Pipeline] lock 21:11:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] 21:11:19 Resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] did not exist. Created. 21:11:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:19 /w/workspace/device-rest-go/90@tmp/durable-1c5959e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:11:19 + echo total: 0.10999999940395355 [Pipeline] stash 21:11:19 Warning: overwriting stash ‘stack-cost’ 21:11:19 Stashed 1 file(s) [Pipeline] } 21:11:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:19 $ docker stop --time=1 527e1669ac713aac12142df38c18a6db620187e5ba2d9c905b1f0dd0736bec78 21:11:21 $ docker rm -f --volumes 527e1669ac713aac12142df38c18a6db620187e5ba2d9c905b1f0dd0736bec78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:11:21 provisioning config files... 21:11:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16639519005844341839tmp [Pipeline] { [Pipeline] sh 21:11:21 + set +x 21:11:21 + curl -s https://codecov.io/bash 21:11:21 + bash -s -- 21:11:21 21:11:21 _____ _ 21:11:21 / ____| | | 21:11:21 | | ___ __| | ___ ___ _____ __ 21:11:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:11:21 | |___| (_) | (_| | __/ (_| (_) \ V / 21:11:21 \_____\___/ \__,_|\___|\___\___/ \_/ 21:11:21 Bash-1.0.6 21:11:21 21:11:21 21:11:21 ==> git version 2.25.1 found 21:11:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:11:21 Release-Date: 2020-01-08 21:11:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:11:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:11:21 ==> Jenkins CI detected. 21:11:21 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:11:21 project root: . 21:11:21 --> token set from env 21:11:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:11:21 ==> Running gcov in . (disable via -X gcov) 21:11:21 ==> Python coveragepy not found 21:11:21 ==> Searching for coverage reports in: 21:11:21 + . 21:11:21 -> Found 1 reports 21:11:21 ==> Detecting git/mercurial file structure 21:11:21 ==> Reading reports 21:11:21 + ./coverage.out bytes=14200 21:11:21 ==> Appending adjustments 21:11:21 https://docs.codecov.io/docs/fixing-reports 21:11:22 + Found adjustments 21:11:22 ==> Gzipping contents 21:11:22 4.0K /tmp/codecov.M3RGyY.gz 21:11:22 ==> Uploading reports 21:11:22 url: https://codecov.io 21:11:22 query: branch=main&commit=eb45550bbe0df662ecfda2dd82817b25f9b033bb&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:22 -> Pinging Codecov 21:11:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=eb45550bbe0df662ecfda2dd82817b25f9b033bb&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:22 -> Uploading to 21:11:22 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/4E5D53B4F1F92C436F7061BF334D961C/eb45550bbe0df662ecfda2dd82817b25f9b033bb/a0de8261-0d51-46ed-a8f7-82ca86e35e7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T211122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18f3a707e3316565b5e7d56eee2562bbadec96719b5b3c59aaefb39cd2766c0c 21:11:22 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:22 Dload Upload Total Spent Left Speed 21:11:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 12142 --:--:-- --:--:-- --:--:-- 12083 100 2465 0 0 100 2465 0 9062 --:--:-- --:--:-- --:--:-- 9029 21:11:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] } 21:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:11:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:11:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:22 21:11:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:11:23 df9b9388f04a: Pulling fs layer 21:11:23 52dc419b0ee2: Pulling fs layer 21:11:23 25bc292e5bac: Pulling fs layer 21:11:23 114826534d7a: Pulling fs layer 21:11:23 4657fd5d0bcf: Pulling fs layer 21:11:23 6ad1cebc031e: Pulling fs layer 21:11:23 8a3aa393b2d8: Pulling fs layer 21:11:23 114826534d7a: Waiting 21:11:23 4657fd5d0bcf: Waiting 21:11:23 8a3aa393b2d8: Waiting 21:11:23 25bc292e5bac: Verifying Checksum 21:11:23 25bc292e5bac: Download complete 21:11:23 52dc419b0ee2: Download complete 21:11:23 4657fd5d0bcf: Verifying Checksum 21:11:23 4657fd5d0bcf: Download complete 21:11:23 df9b9388f04a: Download complete 21:11:23 df9b9388f04a: Pull complete 21:11:23 52dc419b0ee2: Pull complete 21:11:23 6ad1cebc031e: Verifying Checksum 21:11:23 6ad1cebc031e: Download complete 21:11:23 25bc292e5bac: Pull complete 21:11:24 114826534d7a: Verifying Checksum 21:11:24 114826534d7a: Download complete 21:11:24 8a3aa393b2d8: Verifying Checksum 21:11:24 8a3aa393b2d8: Download complete 21:11:27 114826534d7a: Pull complete 21:11:27 4657fd5d0bcf: Pull complete 21:11:27 6ad1cebc031e: Pull complete 21:11:30 8a3aa393b2d8: Pull complete 21:11:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:30 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 21:11:30 $ 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 21:11:32 $ docker top b33bd4b535c617a2a0461af38507fbc6964f536df370c7bb416f1592a331052c -eo pid,comm [Pipeline] { [Pipeline] echo 21:11:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:11:32 + set -o pipefail 21:11:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:11:38 21:11:38 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:11:38 21:11:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/fbdd84f5-918c-41bd-84b2-f00ce1784306 21:11:38 21:11:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:11:38 21:11:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:11:38 21:11:38 21:11:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:11:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:11:38 More details here: https://snyk.co/ue1NS 21:11:38 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:11:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:11:38 $ docker stop --time=1 b33bd4b535c617a2a0461af38507fbc6964f536df370c7bb416f1592a331052c 21:11:40 $ docker rm -f --volumes b33bd4b535c617a2a0461af38507fbc6964f536df370c7bb416f1592a331052c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:41 + git log --format=format:%s -1 eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] sh 21:11:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:41 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 21:11:41 $ 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 21:11:42 $ docker top ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb -eo pid,comm 21:11:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:11:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:42 [ssh-agent] Looking for ssh-agent implementation... 21:11:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:42 $ docker exec ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb ssh-agent 21:11:42 SSH_AUTH_SOCK=/tmp/ssh-kTayPLxeyQvl/agent.32 21:11:42 SSH_AGENT_PID=38 21:11:42 Running ssh-add (command line suppressed) 21:11:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16496081632317686779.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16496081632317686779.key) 21:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:42 + git semver tag 21:11:43 2023-03-14 21:11:43,102 [run_tag] DEBUG tag force:False 21:11:43 2023-03-14 21:11:43,102 [check_head_tag] DEBUG check head tag 21:11:43 2023-03-14 21:11:43,103 [execute] INFO git cat-file --batch-check 21:11:43 2023-03-14 21:11:43,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:11:43 2023-03-14 21:11:43,107 [execute] INFO git cat-file --batch 21:11:43 2023-03-14 21:11:43,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:11:43 2023-03-14 21:11:43,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:11:43 2023-03-14 21:11:43,129 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 21:11:43 2023-03-14 21:11:43,130 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:11:43 2023-03-14 21:11:43,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:11:43 3.0.0-dev.18 [Pipeline] } 21:11:43 $ docker exec --env ******** --env ******** ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb ssh-agent -k 21:11:43 unset SSH_AUTH_SOCK; 21:11:43 unset SSH_AGENT_PID; 21:11:43 echo Agent pid 38 killed; 21:11:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:11:43 + git semver [Pipeline] } 21:11:43 $ docker stop --time=1 ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb 21:11:45 $ docker rm -f --volumes ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:11:45 21:11:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:11:45 0.23.1-centos7: Pulling from edgex-lftools 21:11:45 ab5ef0e58194: Pulling fs layer 21:11:45 9712f1f96733: Pulling fs layer 21:11:45 63f879dbbcfc: Pulling fs layer 21:11:45 0d9ebad4ef96: Pulling fs layer 21:11:45 e9a5061849ea: Pulling fs layer 21:11:45 d747dcd14b5f: Pulling fs layer 21:11:45 2de7ff778b66: Pulling fs layer 21:11:45 e9a5061849ea: Waiting 21:11:45 d747dcd14b5f: Waiting 21:11:45 2de7ff778b66: Waiting 21:11:45 0d9ebad4ef96: Waiting 21:11:45 9712f1f96733: Verifying Checksum 21:11:45 9712f1f96733: Download complete 21:11:46 63f879dbbcfc: Verifying Checksum 21:11:46 63f879dbbcfc: Download complete 21:11:46 ab5ef0e58194: Verifying Checksum 21:11:46 ab5ef0e58194: Download complete 21:11:46 0d9ebad4ef96: Verifying Checksum 21:11:46 0d9ebad4ef96: Download complete 21:11:46 d747dcd14b5f: Verifying Checksum 21:11:46 d747dcd14b5f: Download complete 21:11:46 e9a5061849ea: Verifying Checksum 21:11:46 e9a5061849ea: Download complete 21:11:46 2de7ff778b66: Verifying Checksum 21:11:46 2de7ff778b66: Download complete 21:11:49 ab5ef0e58194: Pull complete 21:11:49 9712f1f96733: Pull complete 21:11:49 63f879dbbcfc: Pull complete 21:11:53 0d9ebad4ef96: Pull complete 21:11:53 e9a5061849ea: Pull complete 21:11:53 d747dcd14b5f: Pull complete 21:11:54 2de7ff778b66: Pull complete 21:11:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:11:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:54 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 21:11:54 $ 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 21:11:58 $ docker top bc7dd3faa7374295c575e301576e82cd700e33154ea28e137fa7b8849ed838ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:11:58 provisioning config files... 21:11:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17781165388863711734tmp 21:11:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13931292757680588374tmp 21:11:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11893447438234868450tmp [Pipeline] { [Pipeline] echo 21:11:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:11:58 ---> sigul-configuration.sh 21:11:58 gpg: directory `/root/.gnupg' created 21:11:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:11:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:11:58 gpg: keyring `/root/.gnupg/secring.gpg' created 21:11:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:11:58 gpg: CAST5 encrypted data 21:11:58 gpg: encrypted with 1 passphrase 21:11:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:11:59 + mkdir /home/jenkins 21:11:59 + mkdir /home/jenkins/sigul [Pipeline] sh 21:11:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:11:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:11:59 ---> sigul-install.sh 21:11:59 Sigul already installed; skipping installation. [Pipeline] sh 21:12:00 + git tag --list 21:12:00 v1.0.0 21:12:00 v1.1.0 21:12:00 v1.1.1 21:12:00 v1.1.2 21:12:00 v1.2.0 21:12:00 v1.2.1 21:12:00 v2.0.0 21:12:00 v2.1.0 21:12:00 v2.1.1 21:12:00 v2.1.1-dev.1 21:12:00 v2.1.1-dev.2 21:12:00 v2.1.1-dev.3 21:12:00 v2.2.0 21:12:00 v2.2.1-dev.1 21:12:00 v2.2.1-dev.2 21:12:00 v2.2.1-dev.3 21:12:00 v2.2.1-dev.4 21:12:00 v2.2.1-dev.5 21:12:00 v2.2.1-dev.6 21:12:00 v2.2.1-dev.7 21:12:00 v2.2.1-dev.8 21:12:00 v2.2.1-dev.9 21:12:00 v2.3.0 21:12:00 v2.3.0-dev.10 21:12:00 v2.3.0-dev.11 21:12:00 v2.3.0-dev.12 21:12:00 v2.3.0-dev.13 21:12:00 v2.3.0-dev.14 21:12:00 v2.3.0-dev.15 21:12:00 v2.3.0-dev.16 21:12:00 v2.3.0-dev.17 21:12:00 v2.3.0-dev.18 21:12:00 v2.3.0-dev.19 21:12:00 v2.3.0-dev.20 21:12:00 v2.3.0-dev.21 21:12:00 v2.3.0-dev.22 21:12:00 v2.3.0-dev.23 21:12:00 v2.3.0-dev.24 21:12:00 v2.3.0-dev.25 21:12:00 v2.3.0-dev.9 21:12:00 v3.0.0-dev.1 21:12:00 v3.0.0-dev.10 21:12:00 v3.0.0-dev.11 21:12:00 v3.0.0-dev.12 21:12:00 v3.0.0-dev.13 21:12:00 v3.0.0-dev.14 21:12:00 v3.0.0-dev.15 21:12:00 v3.0.0-dev.16 21:12:00 v3.0.0-dev.17 21:12:00 v3.0.0-dev.18 21:12:00 v3.0.0-dev.2 21:12:00 v3.0.0-dev.3 21:12:00 v3.0.0-dev.4 21:12:00 v3.0.0-dev.5 21:12:00 v3.0.0-dev.6 21:12:00 v3.0.0-dev.7 21:12:00 v3.0.0-dev.8 21:12:00 v3.0.0-dev.9 [Pipeline] sh 21:12:00 + lftools sign git-tag v3.0.0-dev.18 21:12:00 Signing Git tag with Sigul... 21:12:00 Signing v3.0.0-dev.18 [Pipeline] echo 21:12:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:12:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:12:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:12:01 $ docker stop --time=1 bc7dd3faa7374295c575e301576e82cd700e33154ea28e137fa7b8849ed838ac 21:12:03 $ docker rm -f --volumes bc7dd3faa7374295c575e301576e82cd700e33154ea28e137fa7b8849ed838ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:12:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:03 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 21:12:03 $ 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 21:12:04 $ docker top daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:04 [ssh-agent] Looking for ssh-agent implementation... 21:12:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:04 $ docker exec daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 ssh-agent 21:12:04 SSH_AUTH_SOCK=/tmp/ssh-iEeOGNf2J3Dv/agent.32 21:12:04 SSH_AGENT_PID=38 21:12:04 Running ssh-add (command line suppressed) 21:12:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1829846122004443619.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1829846122004443619.key) 21:12:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:04 + git semver bump pre 21:12:05 2023-03-14 21:12:05,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:12:05 2023-03-14 21:12:05,178 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev 21:12:05 2023-03-14 21:12:05,178 [bump_version] DEBUG bumped version:3.0.0-dev.19 21:12:05 2023-03-14 21:12:05,178 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:12:05 2023-03-14 21:12:05,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:12:05 2023-03-14 21:12:05,178 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:12:05 2023-03-14 21:12:05,180 [execute] INFO git cat-file --batch-check 21:12:05 2023-03-14 21:12:05,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:05 2023-03-14 21:12:05,185 [execute] INFO git cat-file --batch 21:12:05 2023-03-14 21:12:05,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:05 2023-03-14 21:12:05,190 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:12:05 3.0.0-dev.19 [Pipeline] } 21:12:05 $ docker exec --env ******** --env ******** daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 ssh-agent -k 21:12:05 unset SSH_AUTH_SOCK; 21:12:05 unset SSH_AGENT_PID; 21:12:05 echo Agent pid 38 killed; 21:12:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:05 + git semver [Pipeline] } 21:12:05 $ docker stop --time=1 daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 21:12:07 $ docker rm -f --volumes daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:07 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 21:12: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 21:12:08 $ docker top 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 -eo pid,comm 21:12:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:12:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:08 [ssh-agent] Looking for ssh-agent implementation... 21:12:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:08 $ docker exec 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 ssh-agent 21:12:08 SSH_AUTH_SOCK=/tmp/ssh-yWP1h7b2E7Vk/agent.33 21:12:08 SSH_AGENT_PID=39 21:12:08 Running ssh-add (command line suppressed) 21:12:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_275731850266657668.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_275731850266657668.key) 21:12:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:09 + git semver push 21:12:09 2023-03-14 21:12:09,178 [run_push] DEBUG push 21:12:09 2023-03-14 21:12:09,179 [execute] INFO git cat-file --batch-check 21:12:09 2023-03-14 21:12:09,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:09 2023-03-14 21:12:09,183 [execute] INFO git rev-list 59fa3318070f802bd6cfd85622f5e0d78dee0588 -- 21:12:09 2023-03-14 21:12:09,183 [execute] DEBUG Popen(['git', 'rev-list', '59fa3318070f802bd6cfd85622f5e0d78dee0588', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:12:09 2023-03-14 21:12:09,189 [execute] INFO git fetch -v origin 21:12:09 2023-03-14 21:12:09,189 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:12:09 2023-03-14 21:12:09,716 [run_push] DEBUG no remote changes detected 21:12:09 2023-03-14 21:12:09,717 [execute] INFO git push origin semver 21:12:09 2023-03-14 21:12:09,717 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:12:10 2023-03-14 21:12:10,668 [run_push] DEBUG push all version tags 21:12:10 2023-03-14 21:12:10,669 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:12:10 2023-03-14 21:12:10,669 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:12:11 2023-03-14 21:12:11,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:12:11 3.0.0-dev.19 [Pipeline] } 21:12:11 $ docker exec --env ******** --env ******** 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 ssh-agent -k 21:12:11 unset SSH_AUTH_SOCK; 21:12:11 unset SSH_AGENT_PID; 21:12:11 echo Agent pid 39 killed; 21:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:12 + git semver [Pipeline] } 21:12:12 $ docker stop --time=1 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 21:12:13 $ docker rm -f --volumes 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:12:14 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:12:14 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:12:14 total 16 21:12:14 drwxr-xr-x 3 root root 4096 Mar 14 20:59 . 21:12:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 21:11 .. 21:12:14 drwxr-xr-x 2 root root 4096 Mar 14 20:59 cost 21:12:14 -rw-r--r-- 1 root root 85 Mar 14 20:59 cost.csv 21:12:14 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:12:14 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:12:14 total 16 21:12:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:59 . 21:12:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 21:11 .. 21:12:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:59 cost 21:12:14 -rw-r--r-- 1 jenkins jenkins 85 Mar 14 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:15 ---> package-listing.sh 21:12:15 ++ facter osfamily 21:12:15 ++ tr '[:upper:]' '[:lower:]' 21:12:15 + OS_FAMILY=debian 21:12:15 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:12:15 + START_PACKAGES=/tmp/packages_start.txt 21:12:15 + END_PACKAGES=/tmp/packages_end.txt 21:12:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:15 + PACKAGES=/tmp/packages_start.txt 21:12:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:12:15 + PACKAGES=/tmp/packages_end.txt 21:12:15 + case "${OS_FAMILY}" in 21:12:15 + dpkg -l 21:12:15 + grep '^ii' 21:12:15 + '[' -f /tmp/packages_start.txt ']' 21:12:15 + '[' -f /tmp/packages_end.txt ']' 21:12:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:12:15 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:12:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:12:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:12:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:16 prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container 21:12:16 $ 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 21:12:17 $ docker top 8e2fcf3627e2d22f6a28409b0b7dd3c975b126f1fd05714bea3a5b87ffe125c4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:17 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:17 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:17 + ls /var/log/sa-host 21:12:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:18 provisioning config files... 21:12:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6392312295838587339tmp [Pipeline] { [Pipeline] echo 21:12:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:18 ---> create-netrc.sh [Pipeline] } 21:12:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:18 ---> python-tools-install.sh [Pipeline] echo 21:12:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:18 ---> sudo-logs.sh 21:12:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:19 ---> job-cost.sh 21:12:19 lf-activate-venv: SKIPPING 21:12:19 DEBUG: total: 0.2199999988079071 21:12:19 INFO: Retrieving Stack Cost... 21:12:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:20 INFO: Archiving Costs [Pipeline] echo 21:12:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:20 ---> logs-deploy.sh 21:12:20 lf-activate-venv: SKIPPING 21:12:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/90 21:12:20 INFO: archiving workspace using pattern(s): 21:12:21 Archives upload complete. 21:12:21 INFO: archiving logs to Nexus 21:12:21 ---> uname -a: 21:12:21 Linux prd-ubuntu20-04-docker-8c-8g-261 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:12:21 21:12:21