Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c5623199907a7486af291752bc308b670b6913e 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-ssh1382405871041021619.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9052963626071727812.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7186896334441319005.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3415925801477340973.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-ssh3255081787889139259.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9895’ Running on prd-ubuntu20.04-docker-8c-8g-9897 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 9c5623199907a7486af291752bc308b670b6913e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c5623199907a7486af291752bc308b670b6913e # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes (#262)" > git rev-list --no-walk dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:58:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:03 ========================================================= 15:58:03 EdgeX Global Pipelines Version Info 15:58:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:04 ------------------- 15:58:04 stable info: 15:58:04 ------------------- 15:58:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:58:04 Message: update stable to v1.0.244 15:58:04 ------------------- 15:58:04 experimental info: 15:58:04 ------------------- 15:58:04 Commited By: **** collab-it+edgex@linuxfoundation.org 15:58:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:58:04 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:58:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:58:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:58:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:58:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c5623199907a7486af291752bc308b670b6913e [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c56231 [Pipeline] echo 15:58:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:05 provisioning config files... 15:58:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12058147661703612820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:05 ---> docker-login.sh 15:58:05 nexus3.edgexfoundry.org:10001 15:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:05 Configure a credential helper to remove this warning. See 15:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:05 15:58:05 Login Succeeded 15:58:05 nexus3.edgexfoundry.org:10002 15:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:06 Configure a credential helper to remove this warning. See 15:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:06 15:58:06 Login Succeeded 15:58:06 nexus3.edgexfoundry.org:10003 15:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:06 Configure a credential helper to remove this warning. See 15:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:06 15:58:06 Login Succeeded 15:58:06 nexus3.edgexfoundry.org:10004 15:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:06 Configure a credential helper to remove this warning. See 15:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:06 15:58:06 Login Succeeded 15:58:06 docker.io 15:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:06 Configure a credential helper to remove this warning. See 15:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:06 15:58:06 Login Succeeded 15:58:06 ---> docker-login.sh ends [Pipeline] } 15:58:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:58:07 + git rev-list -1 --merges 9c5623199907a7486af291752bc308b670b6913e~1..9c5623199907a7486af291752bc308b670b6913e [Pipeline] echo 15:58:07 -----------> git rev-list -1 --merges 9c5623199907a7486af291752bc308b670b6913e~1..9c5623199907a7486af291752bc308b670b6913e 9c5623199907a7486af291752bc308b670b6913e [false] [Pipeline] sh 15:58:07 + git log --format=format:%s -1 9c5623199907a7486af291752bc308b670b6913e [Pipeline] echo 15:58:07 ========================================================= 15:58:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:58:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:07 + git log --format=format:%s -1 9c5623199907a7486af291752bc308b670b6913e [Pipeline] echo 15:58:07 [semverPrep] GIT_COMMIT: 9c5623199907a7486af291752bc308b670b6913e, Commit Message: refactor!: consume device-sdk-go breaking changes (#262) [Pipeline] echo 15:58:07 [semverPrep] This is not a build commit. [Pipeline] sh 15:58:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:08 + grep -v github /etc/ssh/ssh_known_hosts 15:58:08 + [ -e /tmp/ssh_known_hosts ] 15:58:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:58:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:58:08 + sudo tee -a /etc/ssh/ssh_known_hosts 15:58:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:08 15:58:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:08 0.1.4: Pulling from edgex-devops/py-git-semver 15:58:08 b85a868b505f: Pulling fs layer 15:58:08 e2be974225ed: Pulling fs layer 15:58:08 339a4e72a1f5: Pulling fs layer 15:58:08 988bab9f4d93: Pulling fs layer 15:58:08 1469e6f7b9e6: Pulling fs layer 15:58:08 eaf3925da568: Pulling fs layer 15:58:08 bab4dde63d76: Pulling fs layer 15:58:08 bde34c3a00c8: Pulling fs layer 15:58:08 b352a97aabf1: Pulling fs layer 15:58:08 4872d77fe225: Pulling fs layer 15:58:08 5851b861e8e6: Pulling fs layer 15:58:08 eaf3925da568: Waiting 15:58:08 bab4dde63d76: Waiting 15:58:08 bde34c3a00c8: Waiting 15:58:08 988bab9f4d93: Waiting 15:58:08 1469e6f7b9e6: Waiting 15:58:08 4872d77fe225: Waiting 15:58:08 5851b861e8e6: Waiting 15:58:08 b352a97aabf1: Waiting 15:58:08 e2be974225ed: Download complete 15:58:08 988bab9f4d93: Download complete 15:58:09 1469e6f7b9e6: Verifying Checksum 15:58:09 1469e6f7b9e6: Download complete 15:58:09 339a4e72a1f5: Verifying Checksum 15:58:09 339a4e72a1f5: Download complete 15:58:09 eaf3925da568: Verifying Checksum 15:58:09 eaf3925da568: Download complete 15:58:09 bde34c3a00c8: Verifying Checksum 15:58:09 bde34c3a00c8: Download complete 15:58:09 b352a97aabf1: Verifying Checksum 15:58:09 b352a97aabf1: Download complete 15:58:09 4872d77fe225: Verifying Checksum 15:58:09 4872d77fe225: Download complete 15:58:09 5851b861e8e6: Download complete 15:58:09 b85a868b505f: Download complete 15:58:09 bab4dde63d76: Verifying Checksum 15:58:09 bab4dde63d76: Download complete 15:58:10 b85a868b505f: Pull complete 15:58:10 e2be974225ed: Pull complete 15:58:10 339a4e72a1f5: Pull complete 15:58:10 988bab9f4d93: Pull complete 15:58:11 1469e6f7b9e6: Pull complete 15:58:11 eaf3925da568: Pull complete 15:58:12 bab4dde63d76: Pull complete 15:58:12 bde34c3a00c8: Pull complete 15:58:13 b352a97aabf1: Pull complete 15:58:13 4872d77fe225: Pull complete 15:58:13 5851b861e8e6: Pull complete 15:58:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:13 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 15:58:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:58:18 $ docker top 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec -eo pid,comm 15:58:18 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). 15:58:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:19 [ssh-agent] Looking for ssh-agent implementation... 15:58:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:19 $ docker exec 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec ssh-agent 15:58:19 SSH_AUTH_SOCK=/tmp/ssh-o0zdu5cjRBOU/agent.32 15:58:19 SSH_AGENT_PID=38 15:58:19 Running ssh-add (command line suppressed) 15:58:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7076514428669960415.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7076514428669960415.key) 15:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:19 + git tag --points-at HEAD [Pipeline] } 15:58:19 $ docker exec --env ******** --env ******** 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec ssh-agent -k 15:58:20 unset SSH_AUTH_SOCK; 15:58:20 unset SSH_AGENT_PID; 15:58:20 echo Agent pid 38 killed; 15:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:58:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:20 [ssh-agent] Looking for ssh-agent implementation... 15:58:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:20 $ docker exec 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec ssh-agent 15:58:20 SSH_AUTH_SOCK=/tmp/ssh-5jKxfgfxJzzm/agent.70 15:58:20 SSH_AGENT_PID=76 15:58:20 Running ssh-add (command line suppressed) 15:58:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10323575628668738889.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10323575628668738889.key) 15:58:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:20 + git semver init 15:58:20 2023-03-13 15:58:20,847 [run_init] DEBUG init version:0.0.0 force:False 15:58:20 2023-03-13 15:58:20,847 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 15:58:20 2023-03-13 15:58:20,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:58:20 2023-03-13 15:58:20,848 [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) 15:58:22 2023-03-13 15:58:21,968 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 15:58:22 2023-03-13 15:58:21,969 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 15:58:22 2023-03-13 15:58:21,969 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:58:22 2023-03-13 15:58:21,969 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:58:22 3.0.0-dev.16 [Pipeline] } 15:58:22 $ docker exec --env ******** --env ******** 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec ssh-agent -k 15:58:22 unset SSH_AUTH_SOCK; 15:58:22 unset SSH_AGENT_PID; 15:58:22 echo Agent pid 76 killed; 15:58:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:23 + git semver [Pipeline] } 15:58:23 $ docker stop --time=1 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec 15:58:24 $ docker rm -f --volumes 589e0ea5c31046d081379bf9a6b13bc30b4ad72e0c114f320a9248ee627f03ec [Pipeline] // withDockerContainer [Pipeline] sh 15:58:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:58:25 Stashed 1 file(s) [Pipeline] echo 15:58:25 [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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 15:58:25 provisioning config files... 15:58:25 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16680226886969181297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:26 ---> docker-login.sh 15:58:26 nexus3.edgexfoundry.org:10001 15:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:26 Configure a credential helper to remove this warning. See 15:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:26 15:58:26 Login Succeeded 15:58:26 nexus3.edgexfoundry.org:10002 15:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:26 Configure a credential helper to remove this warning. See 15:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:26 15:58:27 Login Succeeded 15:58:27 nexus3.edgexfoundry.org:10003 15:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:28 Configure a credential helper to remove this warning. See 15:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:28 15:58:28 Login Succeeded 15:58:28 nexus3.edgexfoundry.org:10004 15:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:29 Configure a credential helper to remove this warning. See 15:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:29 15:58:29 Login Succeeded 15:58:29 docker.io 15:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:29 Configure a credential helper to remove this warning. See 15:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:29 15:58:29 Login Succeeded 15:58:29 ---> docker-login.sh ends [Pipeline] } 15:58:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:29 ========================================================= 15:58:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:58:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:58:30 Sending build context to Docker daemon 10.84MB 15:58:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:58:30 Step 2/12 : FROM ${BASE} AS builder 15:58:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:58:30 213ec9aee27d: Pulling fs layer 15:58:30 4583459ba037: Pulling fs layer 15:58:30 93c1e223e6f2: Pulling fs layer 15:58:30 53926ce57604: Pulling fs layer 15:58:30 21b2b0c7a3f4: Pulling fs layer 15:58:30 22ff95d597cd: Pulling fs layer 15:58:30 12d6caf4c0d1: Pulling fs layer 15:58:30 96b7cbca73a9: Pulling fs layer 15:58:30 a7acece74701: Pulling fs layer 15:58:30 12d6caf4c0d1: Waiting 15:58:30 a7acece74701: Waiting 15:58:30 53926ce57604: Waiting 15:58:30 21b2b0c7a3f4: Waiting 15:58:30 22ff95d597cd: Waiting 15:58:30 93c1e223e6f2: Verifying Checksum 15:58:30 93c1e223e6f2: Download complete 15:58:30 4583459ba037: Download complete 15:58:30 21b2b0c7a3f4: Download complete 15:58:30 22ff95d597cd: Verifying Checksum 15:58:30 22ff95d597cd: Download complete 15:58:30 213ec9aee27d: Verifying Checksum 15:58:30 213ec9aee27d: Download complete 15:58:30 12d6caf4c0d1: Download complete 15:58:30 213ec9aee27d: Pull complete 15:58:31 4583459ba037: Pull complete 15:58:31 93c1e223e6f2: Pull complete 15:58:31 a7acece74701: Verifying Checksum 15:58:31 a7acece74701: Download complete 15:58:31 53926ce57604: Verifying Checksum 15:58:31 53926ce57604: Download complete 15:58:31 96b7cbca73a9: Verifying Checksum 15:58:31 96b7cbca73a9: Download complete 15:58:34 53926ce57604: Pull complete 15:58:34 21b2b0c7a3f4: Pull complete 15:58:34 22ff95d597cd: Pull complete 15:58:34 12d6caf4c0d1: Pull complete 15:58:36 96b7cbca73a9: Pull complete 15:58:37 a7acece74701: Pull complete 15:58:37 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:58:37 ---> db6d94c90886 15:58:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:58:40 Still waiting to schedule task 15:58:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9896’ 15:58:41 ---> Running in 3b7ed63c42bd 15:58:41 Removing intermediate container 3b7ed63c42bd 15:58:41 ---> 0ac295027826 15:58:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:41 ---> Running in 3ebe95e5593d 15:58:41 Removing intermediate container 3ebe95e5593d 15:58:41 ---> 6dc80bedc5ae 15:58:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:58:41 ---> Running in 58116f3d84e1 15:58:41 Removing intermediate container 58116f3d84e1 15:58:41 ---> 211d3233b9b9 15:58:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:58:42 ---> Running in 3e46b3c01a4b 15:58:42 Removing intermediate container 3e46b3c01a4b 15:58:42 ---> 5972b2079778 15:58:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:42 ---> Running in 4e5c06981c82 15:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:58:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:58:43 (2/4) Installing libedit (20210910.3.1-r0) 15:58:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:58:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:58:43 Executing busybox-1.35.0-r17.trigger 15:58:43 OK: 216 MiB in 55 packages 15:58:43 Removing intermediate container 4e5c06981c82 15:58:43 ---> 9b03e17d0a79 15:58:43 Step 8/12 : WORKDIR /device-rest-go 15:58:43 ---> Running in e021b2092a97 15:58:43 Removing intermediate container e021b2092a97 15:58:43 ---> 4d3f2c55f58a 15:58:43 Step 9/12 : COPY go.mod vendor* ./ 15:58:43 ---> e1d90cd7df86 15:58:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:43 ---> Running in 62fc1d1cb047 15:59:22 Removing intermediate container 62fc1d1cb047 15:59:22 ---> 2c642c3e0e18 15:59:22 Step 11/12 : COPY . . 15:59:22 ---> 064fd4e9c099 15:59:22 Step 12/12 : RUN $MAKE 15:59:22 ---> Running in b8621d5efc0f 15:59:22 noop 15:59:22 Removing intermediate container b8621d5efc0f 15:59:22 ---> 886bfaec2086 15:59:22 Successfully built 886bfaec2086 15:59:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:22 + docker inspect -f . ci-base-image-x86_64 15:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:22 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 15:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:59:23 $ docker top 5f5ebee04b2cabd10ff896aacc9a06a9abef9c9196f1aff5c02ffd3ea0a9559b -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:23 + go version 15:59:23 go version go1.18.7 linux/amd64 [Pipeline] } 15:59:23 $ docker stop --time=1 5f5ebee04b2cabd10ff896aacc9a06a9abef9c9196f1aff5c02ffd3ea0a9559b 15:59:24 $ docker rm -f --volumes 5f5ebee04b2cabd10ff896aacc9a06a9abef9c9196f1aff5c02ffd3ea0a9559b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:25 + docker inspect -f . ci-base-image-x86_64 15:59:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:25 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 15:59:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:59:25 $ docker top 9033fdd4295eb63de9ba6439267e13a6b97cfe973603d114ef448bb3207d44a8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 15:59:26 + make test 15:59:26 go test ./... -coverprofile=coverage.out ./... 15:59:26 ? github.com/edgexfoundry/device-rest-go [no test files] 15:59:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:59:34 ok github.com/edgexfoundry/device-rest-go/driver 0.030s coverage: 33.1% of statements 15:59:41 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:59:41 go vet ./... 15:59:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:43 ./bin/test-attribution-txt.sh 15:59:43 An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [Pipeline] echo 15:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:59:43 $ docker stop --time=1 9033fdd4295eb63de9ba6439267e13a6b97cfe973603d114ef448bb3207d44a8 15:59:46 $ docker rm -f --volumes 9033fdd4295eb63de9ba6439267e13a6b97cfe973603d114ef448bb3207d44a8 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:59:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:48 + ls -al . 15:59:48 total 184 15:59:48 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 15:59 . 15:59:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 15:58 .. 15:59:48 -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 15:58 .dockerignore 15:59:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 15:59 .git 15:59:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 15:58 .github 15:59:48 -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 15:58 .gitignore 15:59:48 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 15:58 .golangci.yml 15:59:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 15:58 .semver 15:59:48 -rw-rw-r-- 1 jenkins jenkins 9213 Mar 13 15:58 Attribution.txt 15:59:48 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 13 15:58 CHANGELOG.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 13 15:58 Dockerfile 15:59:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 15:58 GOVERNANCE.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 15:58 Jenkinsfile 15:59:48 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 15:58 LICENSE 15:59:48 -rw-rw-r-- 1 jenkins jenkins 1744 Mar 13 15:58 Makefile 15:59:48 -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 15:58 OWNERS.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 13 15:58 README.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 15:58 VERSION 15:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 15:58 bin 15:59:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 15:58 cmd 15:59:48 -rw-r--r-- 1 jenkins jenkins 14200 Mar 13 15:59 coverage.out 15:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 15:58 driver 15:59:48 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 13 15:58 go.mod 15:59:48 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 15:58 go.sum 15:59:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 15:58 snap 15:59:48 -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:48 + 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=9c5623199907a7486af291752bc308b670b6913e --label arch=amd64 --label version=3.0.0-dev.16 . 15:59:48 Sending build context to Docker daemon 10.85MB 15:59:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:59:48 Step 2/25 : FROM ${BASE} AS builder 15:59:48 ---> 886bfaec2086 15:59:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:59:48 ---> Running in 1408254a58cf 15:59:48 Removing intermediate container 1408254a58cf 15:59:48 ---> 0fec6d54933a 15:59:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:48 ---> Running in d11b706a73f7 15:59:48 Removing intermediate container d11b706a73f7 15:59:48 ---> ea6f5eee6770 15:59:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:59:48 ---> Running in c58cc7db31a4 15:59:48 Removing intermediate container c58cc7db31a4 15:59:48 ---> 20098750708e 15:59:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:59:48 ---> Running in ce3741ab9988 15:59:48 Removing intermediate container ce3741ab9988 15:59:48 ---> 69cdf31a8afb 15:59:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:49 ---> Running in 15bc3e3ac75d 15:59:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:59:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:59:49 OK: 216 MiB in 55 packages 15:59:50 Removing intermediate container 15bc3e3ac75d 15:59:50 ---> 5f2feb286cf5 15:59:50 Step 8/25 : WORKDIR /device-rest-go 15:59:50 ---> Running in 7c22fc64d5f1 15:59:50 Removing intermediate container 7c22fc64d5f1 15:59:50 ---> c48aac9bdfe8 15:59:50 Step 9/25 : COPY go.mod vendor* ./ 15:59:50 ---> 5d31e06fd419 15:59:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:51 ---> Running in 771c802c1121 15:59:51 Removing intermediate container 771c802c1121 15:59:51 ---> 2cb7d9bdc960 15:59:51 Step 11/25 : COPY . . 15:59:52 ---> 88132eb807c8 15:59:52 Step 12/25 : RUN $MAKE 15:59:52 ---> Running in 07a9092499a0 15:59:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:00:11 Removing intermediate container 07a9092499a0 16:00:11 ---> 4600a40ff3ce 16:00:11 Step 13/25 : FROM alpine:3.16 16:00:12 3.16: Pulling from library/alpine 16:00:12 ef5531b6e74e: Pulling fs layer 16:00:12 ef5531b6e74e: Verifying Checksum 16:00:12 ef5531b6e74e: Download complete 16:00:12 ef5531b6e74e: Pull complete 16:00:12 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:00:12 Status: Downloaded newer image for alpine:3.16 16:00:12 ---> dfd21b5a31f5 16:00:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:00:13 ---> Running in 8f696dab0265 16:00:13 Removing intermediate container 8f696dab0265 16:00:13 ---> c348d05b49b6 16:00:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:00:13 ---> Running in 1e5775173732 16:00:13 Removing intermediate container 1e5775173732 16:00:13 ---> 1e580fe11aa3 16:00:13 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:00:13 ---> Running in 2ed0a02a773b 16:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:00:13 (1/1) Installing dumb-init (1.2.5-r1) 16:00:13 Executing busybox-1.35.0-r17.trigger 16:00:13 OK: 6 MiB in 15 packages 16:00:14 Removing intermediate container 2ed0a02a773b 16:00:14 ---> 1569584b7b70 16:00:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:00:14 ---> 50600345857e 16:00:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:00:14 ---> 26dd96b8bd6d 16:00:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:00:14 ---> b5068b44691c 16:00:14 Step 20/25 : EXPOSE 59986 16:00:14 ---> Running in b563c7c66588 16:00:14 Removing intermediate container b563c7c66588 16:00:14 ---> 8c6e072ce63c 16:00:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:00:14 ---> Running in 0e419dc2f809 16:00:14 Removing intermediate container 0e419dc2f809 16:00:14 ---> 1abd8ade5e4b 16:00:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:00:14 ---> Running in 199b22396c26 16:00:14 Removing intermediate container 199b22396c26 16:00:14 ---> 6adc794e207f 16:00:14 Step 23/25 : LABEL arch=amd64 16:00:15 ---> Running in e4470381b6e5 16:00:15 Removing intermediate container e4470381b6e5 16:00:15 ---> 330475210064 16:00:15 Step 24/25 : LABEL git_sha=9c5623199907a7486af291752bc308b670b6913e 16:00:15 ---> Running in 58334bc75fae 16:00:15 Removing intermediate container 58334bc75fae 16:00:15 ---> 86186c741792 16:00:15 Step 25/25 : LABEL version=3.0.0-dev.16 16:00:15 ---> Running in 9ff80827bbd3 16:00:15 Removing intermediate container 9ff80827bbd3 16:00:15 ---> bdac0f9bd4a2 16:00:15 [Warning] One or more build-args [ARCH] were not consumed 16:00:15 Successfully built bdac0f9bd4a2 16:00:15 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:15 provisioning config files... 16:00:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6518785955276227666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:15 ---> docker-login.sh 16:00:15 nexus3.edgexfoundry.org:10001 16:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:15 Configure a credential helper to remove this warning. See 16:00:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:15 16:00:15 Login Succeeded 16:00:15 nexus3.edgexfoundry.org:10002 16:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:15 Configure a credential helper to remove this warning. See 16:00:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:15 16:00:15 Login Succeeded 16:00:15 nexus3.edgexfoundry.org:10003 16:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:16 Configure a credential helper to remove this warning. See 16:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:16 16:00:16 Login Succeeded 16:00:16 nexus3.edgexfoundry.org:10004 16:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:16 Configure a credential helper to remove this warning. See 16:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:16 16:00:16 Login Succeeded 16:00:16 docker.io 16:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:18 Configure a credential helper to remove this warning. See 16:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:18 16:00:18 Login Succeeded 16:00:18 ---> docker-login.sh ends [Pipeline] } 16:00:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:18 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:00:18 9c5623199907a7486af291752bc308b670b6913e 16:00:18 latest 16:00:18 3.0.0-dev.16 16:00:18 9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 16:00:18 main 16:00:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9c5623199907a7486af291752bc308b670b6913e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:9c5623199907a7486af291752bc308b670b6913e 16:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:00:18 53a03a98070a: Preparing 16:00:18 1153410a89e5: Preparing 16:00:18 81f1d14ee1f2: Preparing 16:00:18 2314010a3370: Preparing 16:00:18 aa5968d388b8: Preparing 16:00:18 aa5968d388b8: Layer already exists 16:00:18 1153410a89e5: Pushed 16:00:18 53a03a98070a: Pushed 16:00:18 2314010a3370: Pushed 16:00:21 81f1d14ee1f2: Pushed 16:00:21 9c5623199907a7486af291752bc308b670b6913e: digest: sha256:66ba9403eaef37ced8aecb6473c5aa47cc8c0dd7daa3a9474de57c09f093e547 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:00:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:00:22 53a03a98070a: Preparing 16:00:22 1153410a89e5: Preparing 16:00:22 81f1d14ee1f2: Preparing 16:00:22 2314010a3370: Preparing 16:00:22 aa5968d388b8: Preparing 16:00:22 53a03a98070a: Layer already exists 16:00:22 1153410a89e5: Layer already exists 16:00:22 2314010a3370: Layer already exists 16:00:22 aa5968d388b8: Layer already exists 16:00:22 81f1d14ee1f2: Layer already exists 16:00:22 latest: digest: sha256:66ba9403eaef37ced8aecb6473c5aa47cc8c0dd7daa3a9474de57c09f093e547 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.16 16:00:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:00:22 53a03a98070a: Preparing 16:00:22 1153410a89e5: Preparing 16:00:22 81f1d14ee1f2: Preparing 16:00:22 2314010a3370: Preparing 16:00:22 aa5968d388b8: Preparing 16:00:22 2314010a3370: Layer already exists 16:00:22 aa5968d388b8: Layer already exists 16:00:22 81f1d14ee1f2: Layer already exists 16:00:22 1153410a89e5: Layer already exists 16:00:22 53a03a98070a: Layer already exists 16:00:22 3.0.0-dev.16: digest: sha256:66ba9403eaef37ced8aecb6473c5aa47cc8c0dd7daa3a9474de57c09f093e547 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 16:00:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:00:23 53a03a98070a: Preparing 16:00:23 1153410a89e5: Preparing 16:00:23 81f1d14ee1f2: Preparing 16:00:23 2314010a3370: Preparing 16:00:23 aa5968d388b8: Preparing 16:00:23 1153410a89e5: Layer already exists 16:00:23 53a03a98070a: Layer already exists 16:00:23 aa5968d388b8: Layer already exists 16:00:23 2314010a3370: Layer already exists 16:00:23 81f1d14ee1f2: Layer already exists 16:00:23 9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16: digest: sha256:66ba9403eaef37ced8aecb6473c5aa47cc8c0dd7daa3a9474de57c09f093e547 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:00:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:00:23 53a03a98070a: Preparing 16:00:23 1153410a89e5: Preparing 16:00:23 81f1d14ee1f2: Preparing 16:00:23 2314010a3370: Preparing 16:00:23 aa5968d388b8: Preparing 16:00:23 2314010a3370: Layer already exists 16:00:23 81f1d14ee1f2: Layer already exists 16:00:23 53a03a98070a: Layer already exists 16:00:23 1153410a89e5: Layer already exists 16:00:23 aa5968d388b8: Layer already exists 16:00:23 main: digest: sha256:66ba9403eaef37ced8aecb6473c5aa47cc8c0dd7daa3a9474de57c09f093e547 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:00:24 ===================================================== [Pipeline] echo 16:00:24 taggedImages: 16:00:24 - nexus3.edgexfoundry.org:10004/device-rest:9c5623199907a7486af291752bc308b670b6913e 16:00:24 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:00:24 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.16 16:00:24 - nexus3.edgexfoundry.org:10004/device-rest:9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 16:00:24 - 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 16:00:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:24 16:00:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:24 latest: Pulling from edgex-lftools-log-publisher 16:00:24 5eb5b503b376: Pulling fs layer 16:00:24 5c69ac0246d0: Pulling fs layer 16:00:24 ec43610c2a17: Pulling fs layer 16:00:24 3a2ae6a8a46f: Pulling fs layer 16:00:24 33b1e0a273af: Pulling fs layer 16:00:24 5d3b04190fa2: Pulling fs layer 16:00:24 2f39f015ded8: Pulling fs layer 16:00:24 33b1e0a273af: Waiting 16:00:24 5d3b04190fa2: Waiting 16:00:24 3a2ae6a8a46f: Waiting 16:00:24 5c69ac0246d0: Download complete 16:00:24 3a2ae6a8a46f: Download complete 16:00:24 33b1e0a273af: Verifying Checksum 16:00:24 33b1e0a273af: Download complete 16:00:24 5d3b04190fa2: Verifying Checksum 16:00:24 5d3b04190fa2: Download complete 16:00:24 ec43610c2a17: Verifying Checksum 16:00:24 ec43610c2a17: Download complete 16:00:25 5eb5b503b376: Verifying Checksum 16:00:25 5eb5b503b376: Download complete 16:00:25 2f39f015ded8: Verifying Checksum 16:00:25 2f39f015ded8: Download complete 16:00:26 5eb5b503b376: Pull complete 16:00:26 5c69ac0246d0: Pull complete 16:00:26 ec43610c2a17: Pull complete 16:00:27 3a2ae6a8a46f: Pull complete 16:00:27 33b1e0a273af: Pull complete 16:00:27 5d3b04190fa2: Pull complete 16:00:31 2f39f015ded8: Pull complete 16:00:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:00:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:31 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:00:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:00:35 $ docker top fddc7dddb9e371a93df36238b44f08eabe0f2a1a2f5bbdc9cdba3b21dba98c8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:36 ---> job-cost.sh 16:00:36 lf-activate-venv: SKIPPING 16:00:36 INFO: No Stack... 16:00:36 INFO: Retrieving Pricing Info for: v3-standard-8 16:00:36 INFO: Archiving Costs [Pipeline] sh 16:00:36 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 16:00:36 + cut -d, -f6 [Pipeline] lock 16:00:36 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] 16:00:36 Resource [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] did not exist. Created. 16:00:36 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:37 + echo total: 0.2199999988079071 [Pipeline] stash 16:00:37 Stashed 1 file(s) [Pipeline] } 16:00:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:37 $ docker stop --time=1 fddc7dddb9e371a93df36238b44f08eabe0f2a1a2f5bbdc9cdba3b21dba98c8b 16:00:38 $ docker rm -f --volumes fddc7dddb9e371a93df36238b44f08eabe0f2a1a2f5bbdc9cdba3b21dba98c8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:01:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9900 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:01:19 Running in /w/workspace/device-rest-go/88 [Pipeline] { [Pipeline] checkout 16:01:19 The recommended git tool is: git 16:01:26 using credential edgex-jenkins-ssh 16:01:26 Cloning the remote Git repository 16:01:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:01:26 > git init /w/workspace/device-rest-go/88 # timeout=10 16:01:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:01:26 > git --version # timeout=10 16:01:26 > git --version # 'git version 2.25.1' 16:01:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:01:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:30 Avoid second fetch 16:01:30 Checking out Revision 9c5623199907a7486af291752bc308b670b6913e (main) 16:01:31 Commit message: "refactor!: consume device-sdk-go breaking changes (#262)" 16:01:30 > git config core.sparsecheckout # timeout=10 16:01:30 > git checkout -f 9c5623199907a7486af291752bc308b670b6913e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:01:32 % Total % Received % Xferd Average Speed Time Time Time Current 16:01:32 Dload Upload Total Spent Left Speed 16:01:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 132k 0 --:--:-- --:--:-- --:--:-- 132k [Pipeline] sh 16:01:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:01:33 + sudo tee+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:01:33 /etc/docker/daemon.new 16:01:33 { 16:01:33 "registry-mirrors": [ 16:01:33 "https://nexus3.edgexfoundry.org:10001" 16:01:33 ], 16:01:33 "bip": "10.250.0.254/24", 16:01:33 "hosts": [ 16:01:33 "tcp://0.0.0.0:5555", 16:01:33 "unix:///var/run/docker.sock" 16:01:33 ], 16:01:33 "mtu": 1458, 16:01:33 "selinux-enabled": true, 16:01:33 "seccomp-profile": "/etc/docker/seccomp.json" 16:01:33 } [Pipeline] sh 16:01:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:01:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:52 provisioning config files... 16:01:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/88@tmp/config14832714764699835821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:52 ---> docker-login.sh 16:01:52 nexus3.edgexfoundry.org:10001 16:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:53 Configure a credential helper to remove this warning. See 16:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:53 16:01:53 Login Succeeded 16:01:53 nexus3.edgexfoundry.org:10002 16:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:54 Configure a credential helper to remove this warning. See 16:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:54 16:01:54 Login Succeeded 16:01:54 nexus3.edgexfoundry.org:10003 16:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:54 Configure a credential helper to remove this warning. See 16:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:54 16:01:54 Login Succeeded 16:01:54 nexus3.edgexfoundry.org:10004 16:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:55 Configure a credential helper to remove this warning. See 16:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:55 16:01:55 Login Succeeded 16:01:55 docker.io 16:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:55 Configure a credential helper to remove this warning. See 16:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:55 16:01:55 Login Succeeded 16:01:55 ---> docker-login.sh ends [Pipeline] } 16:01:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:56 ========================================================= 16:01:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:01:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:01:56 Sending build context to Docker daemon 138.8kB 16:01:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:01:56 Step 2/12 : FROM ${BASE} AS builder 16:01:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:01:57 9b18e9b68314: Pulling fs layer 16:01:57 35d82f9e3411: Pulling fs layer 16:01:57 e16973657156: Pulling fs layer 16:01:57 fc693d55d65f: Pulling fs layer 16:01:57 7e9fc2657dce: Pulling fs layer 16:01:57 dda99020689f: Pulling fs layer 16:01:57 db1c61fa0a46: Pulling fs layer 16:01:57 891c053d2c06: Pulling fs layer 16:01:57 fc693d55d65f: Waiting 16:01:57 7e9fc2657dce: Waiting 16:01:57 dda99020689f: Waiting 16:01:57 db1c61fa0a46: Waiting 16:01:57 891c053d2c06: Waiting 16:01:57 e16973657156: Verifying Checksum 16:01:57 e16973657156: Download complete 16:01:57 35d82f9e3411: Verifying Checksum 16:01:57 35d82f9e3411: Download complete 16:01:57 7e9fc2657dce: Download complete 16:01:57 dda99020689f: Verifying Checksum 16:01:57 dda99020689f: Download complete 16:01:57 9b18e9b68314: Download complete 16:01:58 9b18e9b68314: Pull complete 16:01:58 891c053d2c06: Verifying Checksum 16:01:58 891c053d2c06: Download complete 16:01:59 35d82f9e3411: Pull complete 16:01:59 e16973657156: Pull complete 16:02:00 db1c61fa0a46: Verifying Checksum 16:02:00 db1c61fa0a46: Download complete 16:02:01 fc693d55d65f: Verifying Checksum 16:02:01 fc693d55d65f: Download complete 16:02:16 fc693d55d65f: Pull complete 16:02:16 7e9fc2657dce: Pull complete 16:02:16 dda99020689f: Pull complete 16:02:21 db1c61fa0a46: Pull complete 16:02:23 891c053d2c06: Pull complete 16:02:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:02:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:02:23 ---> f96f9c87975a 16:02:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:02:23 ---> Running in 689ce1fea4a5 16:02:24 Removing intermediate container 689ce1fea4a5 16:02:24 ---> 4058dfed71e5 16:02:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:02:24 ---> Running in 5d1591c2008e 16:02:24 Removing intermediate container 5d1591c2008e 16:02:24 ---> ff0306a98830 16:02:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:02:24 ---> Running in 2eee6f17f286 16:02:25 Removing intermediate container 2eee6f17f286 16:02:25 ---> ab3225718cb5 16:02:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:02:25 ---> Running in 61554db1b87c 16:02:25 Removing intermediate container 61554db1b87c 16:02:25 ---> 088a090ec8d8 16:02:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:25 ---> Running in 259340b37134 16:02:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:02:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:02:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:02:28 (2/4) Installing libedit (20210910.3.1-r0) 16:02:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:02:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:02:28 Executing busybox-1.35.0-r17.trigger 16:02:28 OK: 226 MiB in 55 packages 16:02:30 Removing intermediate container 259340b37134 16:02:30 ---> 0fd9ab80b7d6 16:02:30 Step 8/12 : WORKDIR /device-rest-go 16:02:30 ---> Running in 4235ddd50ca8 16:02:30 Removing intermediate container 4235ddd50ca8 16:02:30 ---> 4edb6bdb1728 16:02:30 Step 9/12 : COPY go.mod vendor* ./ 16:02:31 ---> 121cb4318378 16:02:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:31 ---> Running in fa14a709307d 16:03:39 Removing intermediate container fa14a709307d 16:03:39 ---> 44fd8018e01d 16:03:39 Step 11/12 : COPY . . 16:03:39 ---> c0fe01c1a885 16:03:39 Step 12/12 : RUN $MAKE 16:03:39 ---> Running in a83abebd029b 16:03:40 noop 16:03:40 Removing intermediate container a83abebd029b 16:03:40 ---> 0657385cd759 16:03:40 Successfully built 0657385cd759 16:03:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:41 + docker inspect -f . ci-base-image-arm64 16:03:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:41 prd-ubuntu20.04-docker-arm64-4c-16g-9900 does not seem to be running inside a container 16:03:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/88 -v /w/workspace/device-rest-go/88:/w/workspace/device-rest-go/88:rw,z -v /w/workspace/device-rest-go/88@tmp:/w/workspace/device-rest-go/88@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 16:03:43 $ docker top e8d122a4d69556a2f5d312328d1494c2ed632f87d6c5f402a0d3a4ddb7b5cdbc -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:44 + go version 16:03:44 go version go1.18.7 linux/arm64 [Pipeline] } 16:03:44 $ docker stop --time=1 e8d122a4d69556a2f5d312328d1494c2ed632f87d6c5f402a0d3a4ddb7b5cdbc 16:03:45 $ docker rm -f --volumes e8d122a4d69556a2f5d312328d1494c2ed632f87d6c5f402a0d3a4ddb7b5cdbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:46 + docker inspect -f . ci-base-image-arm64 16:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:46 prd-ubuntu20.04-docker-arm64-4c-16g-9900 does not seem to be running inside a container 16:03:46 $ 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/88 -v /w/workspace/device-rest-go/88:/w/workspace/device-rest-go/88:rw,z -v /w/workspace/device-rest-go/88@tmp:/w/workspace/device-rest-go/88@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 16:03:47 $ docker top aed6e7f38eed1d0e2815a9a99b1508f1bef85d84adcd399326bd26e88ce3375e -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:48 + git config --global --add safe.directory /w/workspace/device-rest-go/88 [Pipeline] fileExists [Pipeline] sh 16:03:49 + make test 16:03:49 go test ./... -coverprofile=coverage.out ./... 16:03:51 ? github.com/edgexfoundry/device-rest-go [no test files] 16:05:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:05:28 ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 33.1% of statements 16:05:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:05:28 go vet ./... 16:06:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:06:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:06:07 ./bin/test-attribution-txt.sh 16:06:07 An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [Pipeline] echo 16:06:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:06:07 $ docker stop --time=1 aed6e7f38eed1d0e2815a9a99b1508f1bef85d84adcd399326bd26e88ce3375e 16:06:09 $ docker rm -f --volumes aed6e7f38eed1d0e2815a9a99b1508f1bef85d84adcd399326bd26e88ce3375e [Pipeline] // withDockerContainer [Pipeline] sh 16:06:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:06:11 Warning: overwriting stash ‘coverage-report’ 16:06:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:06:12 + ls -al . 16:06:12 total 180 16:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:03 . 16:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:01 .. 16:06:12 -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 16:01 .dockerignore 16:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:01 .git 16:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:01 .github 16:06:12 -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 16:01 .gitignore 16:06:12 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 16:01 .golangci.yml 16:06:12 -rw-rw-r-- 1 jenkins jenkins 9213 Mar 13 16:01 Attribution.txt 16:06:12 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 13 16:01 CHANGELOG.md 16:06:12 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 13 16:01 Dockerfile 16:06:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 16:01 GOVERNANCE.md 16:06:12 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 16:01 Jenkinsfile 16:06:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 16:01 LICENSE 16:06:12 -rw-rw-r-- 1 jenkins jenkins 1744 Mar 13 16:01 Makefile 16:06:12 -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 16:01 OWNERS.md 16:06:12 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 13 16:01 README.md 16:06:12 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 15:58 VERSION 16:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:01 bin 16:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:01 cmd 16:06:12 -rw-r--r-- 1 jenkins jenkins 14200 Mar 13 16:05 coverage.out 16:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:01 driver 16:06:12 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 13 16:01 go.mod 16:06:12 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 16:01 go.sum 16:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:01 snap 16:06:12 -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:12 + 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=9c5623199907a7486af291752bc308b670b6913e --label arch=arm64 --label version=3.0.0-dev.16 . 16:06:12 Sending build context to Docker daemon 153.6kB 16:06:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:06:14 Step 2/25 : FROM ${BASE} AS builder 16:06:14 ---> 0657385cd759 16:06:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:06:14 ---> Running in 6ab3494c4737 16:06:15 Removing intermediate container 6ab3494c4737 16:06:15 ---> 81fb8eb21096 16:06:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:06:15 ---> Running in 58ea2a189111 16:06:15 Removing intermediate container 58ea2a189111 16:06:15 ---> cf5561643f55 16:06:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:06:15 ---> Running in bf2541ed2401 16:06:16 Removing intermediate container bf2541ed2401 16:06:16 ---> 52231ed799a6 16:06:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:06:16 ---> Running in ca6bd794cbdc 16:06:16 Removing intermediate container ca6bd794cbdc 16:06:16 ---> f434a7ec87c2 16:06:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:06:16 ---> Running in d945a95fbfda 16:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:06:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:06:19 OK: 226 MiB in 55 packages 16:06:20 Removing intermediate container d945a95fbfda 16:06:20 ---> d1d7c23baf8e 16:06:20 Step 8/25 : WORKDIR /device-rest-go 16:06:20 ---> Running in 17db613b0379 16:06:20 Removing intermediate container 17db613b0379 16:06:20 ---> 283e9fe4b4bb 16:06:20 Step 9/25 : COPY go.mod vendor* ./ 16:06:21 ---> fc3fcd8cb5a8 16:06:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:06:21 ---> Running in 2f0838e72bd4 16:06:24 Removing intermediate container 2f0838e72bd4 16:06:24 ---> 744fa6d28735 16:06:24 Step 11/25 : COPY . . 16:06:25 ---> 891fc3d6329c 16:06:25 Step 12/25 : RUN $MAKE 16:06:25 ---> Running in 805555d3d989 16:06:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:08:48 Removing intermediate container 805555d3d989 16:08:48 ---> 2b363e20688a 16:08:48 Step 13/25 : FROM alpine:3.16 16:08:48 3.16: Pulling from library/alpine 16:08:48 3760b48202b3: Pulling fs layer 16:08:48 3760b48202b3: Verifying Checksum 16:08:48 3760b48202b3: Download complete 16:08:48 3760b48202b3: Pull complete 16:08:48 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:08:48 Status: Downloaded newer image for alpine:3.16 16:08:48 ---> 4c81e5bf8899 16:08:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:08:48 ---> Running in fb7157dbcea8 16:08:48 Removing intermediate container fb7157dbcea8 16:08:48 ---> 7a04dcb0ca38 16:08:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:08:48 ---> Running in 7a79de9388da 16:08:48 Removing intermediate container 7a79de9388da 16:08:48 ---> 4434f77e8a89 16:08:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:08:48 ---> Running in de59d8c76f29 16:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:08:48 (1/1) Installing dumb-init (1.2.5-r1) 16:08:48 Executing busybox-1.35.0-r17.trigger 16:08:48 OK: 5 MiB in 15 packages 16:08:48 Removing intermediate container de59d8c76f29 16:08:48 ---> dbd1af6f6cf1 16:08:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:08:49 ---> 366b4e8d8bee 16:08:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:08:49 ---> df29deb6bb7c 16:08:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:08:50 ---> 99fcecf14eec 16:08:50 Step 20/25 : EXPOSE 59986 16:08:50 ---> Running in ba60c9dd5e23 16:08:50 Removing intermediate container ba60c9dd5e23 16:08:50 ---> 045faa6496ba 16:08:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:08:50 ---> Running in 39b916a8d00b 16:08:50 Removing intermediate container 39b916a8d00b 16:08:50 ---> 429f72f7a287 16:08:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:08:51 ---> Running in dd83d9360b22 16:08:51 Removing intermediate container dd83d9360b22 16:08:51 ---> 0eb12ddfa9e7 16:08:51 Step 23/25 : LABEL arch=arm64 16:08:51 ---> Running in a63c5cdfd1ec 16:08:51 Removing intermediate container a63c5cdfd1ec 16:08:51 ---> 9ea34d693a68 16:08:51 Step 24/25 : LABEL git_sha=9c5623199907a7486af291752bc308b670b6913e 16:08:51 ---> Running in b03b1e1f36a5 16:08:51 Removing intermediate container b03b1e1f36a5 16:08:51 ---> cfdfe133f330 16:08:51 Step 25/25 : LABEL version=3.0.0-dev.16 16:08:52 ---> Running in 9f846161ddd6 16:08:52 Removing intermediate container 9f846161ddd6 16:08:52 ---> cad142f69502 16:08:52 [Warning] One or more build-args [ARCH] were not consumed 16:08:52 Successfully built cad142f69502 16:08:52 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 16:08:52 provisioning config files... 16:08:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/88@tmp/config7304780307928986026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:53 ---> docker-login.sh 16:08:53 nexus3.edgexfoundry.org:10001 16:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:53 Configure a credential helper to remove this warning. See 16:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:53 16:08:53 Login Succeeded 16:08:53 nexus3.edgexfoundry.org:10002 16:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:53 Configure a credential helper to remove this warning. See 16:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:53 16:08:53 Login Succeeded 16:08:53 nexus3.edgexfoundry.org:10003 16:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:54 Configure a credential helper to remove this warning. See 16:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:54 16:08:54 Login Succeeded 16:08:54 nexus3.edgexfoundry.org:10004 16:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:54 Configure a credential helper to remove this warning. See 16:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:54 16:08:54 Login Succeeded 16:08:54 docker.io 16:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:54 Configure a credential helper to remove this warning. See 16:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:54 16:08:54 Login Succeeded 16:08:54 ---> docker-login.sh ends [Pipeline] } 16:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:08:55 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:08:55 9c5623199907a7486af291752bc308b670b6913e 16:08:55 latest 16:08:55 3.0.0-dev.16 16:08:55 9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 16:08:55 main 16:08:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9c5623199907a7486af291752bc308b670b6913e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9c5623199907a7486af291752bc308b670b6913e 16:08:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:08:55 cf281b3661da: Preparing 16:08:55 5d9b0cf3efd2: Preparing 16:08:55 140fe34614d4: Preparing 16:08:55 704e1bf77f70: Preparing 16:08:55 f70ee36035b9: Preparing 16:08:55 f70ee36035b9: Layer already exists 16:08:55 cf281b3661da: Pushed 16:08:55 704e1bf77f70: Pushed 16:08:55 5d9b0cf3efd2: Pushed 16:09:00 140fe34614d4: Pushed 16:09:00 9c5623199907a7486af291752bc308b670b6913e: digest: sha256:58944875428f535c5655aad18718b880273299618d5e69a48c7c065d3f30d8a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:09:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:09:01 cf281b3661da: Preparing 16:09:01 5d9b0cf3efd2: Preparing 16:09:01 140fe34614d4: Preparing 16:09:01 704e1bf77f70: Preparing 16:09:01 f70ee36035b9: Preparing 16:09:01 cf281b3661da: Layer already exists 16:09:01 140fe34614d4: Layer already exists 16:09:01 f70ee36035b9: Layer already exists 16:09:01 5d9b0cf3efd2: Layer already exists 16:09:01 704e1bf77f70: Layer already exists 16:09:01 latest: digest: sha256:58944875428f535c5655aad18718b880273299618d5e69a48c7c065d3f30d8a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.16 16:09:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:09:02 cf281b3661da: Preparing 16:09:02 5d9b0cf3efd2: Preparing 16:09:02 140fe34614d4: Preparing 16:09:02 704e1bf77f70: Preparing 16:09:02 f70ee36035b9: Preparing 16:09:02 cf281b3661da: Layer already exists 16:09:02 140fe34614d4: Layer already exists 16:09:02 704e1bf77f70: Layer already exists 16:09:02 5d9b0cf3efd2: Layer already exists 16:09:02 f70ee36035b9: Layer already exists 16:09:02 3.0.0-dev.16: digest: sha256:58944875428f535c5655aad18718b880273299618d5e69a48c7c065d3f30d8a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 16:09:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:09:03 cf281b3661da: Preparing 16:09:03 5d9b0cf3efd2: Preparing 16:09:03 140fe34614d4: Preparing 16:09:03 704e1bf77f70: Preparing 16:09:03 f70ee36035b9: Preparing 16:09:03 f70ee36035b9: Layer already exists 16:09:03 cf281b3661da: Layer already exists 16:09:03 5d9b0cf3efd2: Layer already exists 16:09:03 140fe34614d4: Layer already exists 16:09:03 704e1bf77f70: Layer already exists 16:09:03 9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16: digest: sha256:58944875428f535c5655aad18718b880273299618d5e69a48c7c065d3f30d8a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:09:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:09:04 cf281b3661da: Preparing 16:09:04 5d9b0cf3efd2: Preparing 16:09:04 140fe34614d4: Preparing 16:09:04 704e1bf77f70: Preparing 16:09:04 f70ee36035b9: Preparing 16:09:04 f70ee36035b9: Layer already exists 16:09:04 cf281b3661da: Layer already exists 16:09:04 704e1bf77f70: Layer already exists 16:09:04 5d9b0cf3efd2: Layer already exists 16:09:04 140fe34614d4: Layer already exists 16:09:04 main: digest: sha256:58944875428f535c5655aad18718b880273299618d5e69a48c7c065d3f30d8a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:09:04 ===================================================== [Pipeline] echo 16:09:04 taggedImages: 16:09:04 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9c5623199907a7486af291752bc308b670b6913e 16:09:04 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:09:04 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.16 16:09:04 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9c5623199907a7486af291752bc308b670b6913e-3.0.0-dev.16 16:09:04 - 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 16:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:09:05 16:09:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:09:05 arm64: Pulling from edgex-lftools-log-publisher 16:09:05 8998bd30e6a1: Pulling fs layer 16:09:05 04944245beec: Pulling fs layer 16:09:05 699f458cf7ca: Pulling fs layer 16:09:05 765212b225bb: Pulling fs layer 16:09:05 f23df028b6ca: Pulling fs layer 16:09:05 d65c8cfc05b1: Pulling fs layer 16:09:05 2437ff75d9bd: Pulling fs layer 16:09:05 765212b225bb: Waiting 16:09:05 f23df028b6ca: Waiting 16:09:05 d65c8cfc05b1: Waiting 16:09:05 2437ff75d9bd: Waiting 16:09:05 04944245beec: Verifying Checksum 16:09:05 04944245beec: Download complete 16:09:05 765212b225bb: Verifying Checksum 16:09:05 765212b225bb: Download complete 16:09:05 f23df028b6ca: Download complete 16:09:05 d65c8cfc05b1: Verifying Checksum 16:09:05 d65c8cfc05b1: Download complete 16:09:06 699f458cf7ca: Verifying Checksum 16:09:06 699f458cf7ca: Download complete 16:09:06 8998bd30e6a1: Verifying Checksum 16:09:06 8998bd30e6a1: Download complete 16:09:09 2437ff75d9bd: Verifying Checksum 16:09:09 2437ff75d9bd: Download complete 16:09:10 8998bd30e6a1: Pull complete 16:09:11 04944245beec: Pull complete 16:09:12 699f458cf7ca: Pull complete 16:09:12 765212b225bb: Pull complete 16:09:13 f23df028b6ca: Pull complete 16:09:13 d65c8cfc05b1: Pull complete 16:09:28 2437ff75d9bd: Pull complete 16:09:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:09:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:28 prd-ubuntu20.04-docker-arm64-4c-16g-9900 does not seem to be running inside a container 16:09:28 $ 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/88 -v /w/workspace/device-rest-go/88:/w/workspace/device-rest-go/88:rw,z -v /w/workspace/device-rest-go/88@tmp:/w/workspace/device-rest-go/88@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 16:09:31 $ docker top cf5b4a1a975c31b3e964463cfe6ca36de68d58d086b65596e0830fb7b1977fc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:32 ---> job-cost.sh 16:09:32 lf-activate-venv: SKIPPING 16:09:32 INFO: No Stack... 16:09:32 INFO: Retrieving Pricing Info for: v3-standard-4 16:09:33 INFO: Archiving Costs [Pipeline] sh 16:09:34 + cat /w/workspace/device-rest-go/88/archives/cost.csv 16:09:34 + cut -d, -f6 [Pipeline] lock 16:09:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] 16:09:34 Resource [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] did not exist. Created. 16:09:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:09:35 /w/workspace/device-rest-go/88@tmp/durable-6517b4dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:09:35 + echo total: 0.10999999940395355 [Pipeline] stash 16:09:35 Warning: overwriting stash ‘stack-cost’ 16:09:35 Stashed 1 file(s) [Pipeline] } 16:09:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } 16:09:35 $ docker stop --time=1 cf5b4a1a975c31b3e964463cfe6ca36de68d58d086b65596e0830fb7b1977fc0 16:09:37 $ docker rm -f --volumes cf5b4a1a975c31b3e964463cfe6ca36de68d58d086b65596e0830fb7b1977fc0 [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 16:09:37 provisioning config files... 16:09:37 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15678346891516658600tmp [Pipeline] { [Pipeline] sh 16:09:38 + set +x 16:09:38 + bash -s -- 16:09:38 + curl -s https://codecov.io/bash 16:09:38 16:09:38 _____ _ 16:09:38 / ____| | | 16:09:38 | | ___ __| | ___ ___ _____ __ 16:09:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:09:38 | |___| (_) | (_| | __/ (_| (_) \ V / 16:09:38 \_____\___/ \__,_|\___|\___\___/ \_/ 16:09:38 Bash-1.0.6 16:09:38 16:09:38 16:09:38 ==> git version 2.25.1 found 16:09:38 ==> 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 16:09:38 Release-Date: 2020-01-08 16:09:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:09:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:09:38 ==> Jenkins CI detected. 16:09:38 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:09:38 project root: . 16:09:38 --> token set from env 16:09:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:09:38 ==> Running gcov in . (disable via -X gcov) 16:09:38 ==> Python coveragepy not found 16:09:38 ==> Searching for coverage reports in: 16:09:38 + . 16:09:38 -> Found 1 reports 16:09:38 ==> Detecting git/mercurial file structure 16:09:38 ==> Reading reports 16:09:38 + ./coverage.out bytes=14200 16:09:38 ==> Appending adjustments 16:09:38 https://docs.codecov.io/docs/fixing-reports 16:09:38 + Found adjustments 16:09:38 ==> Gzipping contents 16:09:38 4.0K /tmp/codecov.3oCZoS.gz 16:09:38 ==> Uploading reports 16:09:38 url: https://codecov.io 16:09:38 query: branch=main&commit=9c5623199907a7486af291752bc308b670b6913e&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:09:38 -> Pinging Codecov 16:09:38 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=9c5623199907a7486af291752bc308b670b6913e&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:09:38 -> Uploading to 16:09:38 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/4E5D53B4F1F92C436F7061BF334D961C/9c5623199907a7486af291752bc308b670b6913e/ebc31410-6bcb-4831-b2b2-bcae1ec5235d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T160938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ade422d22a5758bb7bd29cfd7d94d5abe993db2cbbb396f5f86fcbe2ac298592 16:09:38 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:38 Dload Upload Total Spent Left Speed 16:09:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 8197 --:--:-- --:--:-- --:--:-- 8170 100 2492 0 0 100 2492 0 8197 --:--:-- --:--:-- --:--:-- 8170 16:09:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9c5623199907a7486af291752bc308b670b6913e [Pipeline] } 16:09:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:09:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:09:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:39 16:09:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:09:39 df9b9388f04a: Pulling fs layer 16:09:39 52dc419b0ee2: Pulling fs layer 16:09:39 25bc292e5bac: Pulling fs layer 16:09:39 114826534d7a: Pulling fs layer 16:09:39 4657fd5d0bcf: Pulling fs layer 16:09:39 6ad1cebc031e: Pulling fs layer 16:09:39 8a3aa393b2d8: Pulling fs layer 16:09:39 114826534d7a: Waiting 16:09:39 4657fd5d0bcf: Waiting 16:09:39 8a3aa393b2d8: Waiting 16:09:39 6ad1cebc031e: Waiting 16:09:39 25bc292e5bac: Verifying Checksum 16:09:39 25bc292e5bac: Download complete 16:09:39 52dc419b0ee2: Download complete 16:09:39 4657fd5d0bcf: Download complete 16:09:39 df9b9388f04a: Verifying Checksum 16:09:39 df9b9388f04a: Download complete 16:09:39 df9b9388f04a: Pull complete 16:09:39 6ad1cebc031e: Verifying Checksum 16:09:39 52dc419b0ee2: Pull complete 16:09:39 25bc292e5bac: Pull complete 16:09:40 114826534d7a: Download complete 16:09:40 8a3aa393b2d8: Verifying Checksum 16:09:40 8a3aa393b2d8: Download complete 16:09:43 114826534d7a: Pull complete 16:09:43 4657fd5d0bcf: Pull complete 16:09:43 6ad1cebc031e: Pull complete 16:09:46 8a3aa393b2d8: Pull complete 16:09:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:46 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:09:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:09:51 $ docker top 8799dce125e05dc75dca13d4c1345adbbb5c8085211a64ce6ee0f64e39d28187 -eo pid,comm [Pipeline] { [Pipeline] echo 16:09:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:09:51 + set -o pipefail 16:09:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:09:55 16:09:55 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:09:55 16:09:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/bfa43d4e-01a9-4ba8-ad10-0851e78746a8 16:09:55 16:09:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:09:55 16:09:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:09:55 16:09:55 16:09:55 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:09:55 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:09:55 More details here: https://snyk.co/ue1NS 16:09:55 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 16:09:55 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:09:55 $ docker stop --time=1 8799dce125e05dc75dca13d4c1345adbbb5c8085211a64ce6ee0f64e39d28187 16:09:59 $ docker rm -f --volumes 8799dce125e05dc75dca13d4c1345adbbb5c8085211a64ce6ee0f64e39d28187 [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 16:10:00 + git log --format=format:%s -1 9c5623199907a7486af291752bc308b670b6913e [Pipeline] sh 16:10:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:00 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:01 $ docker top c00f2b765657ce3c3c6dd2a98d6470310fc27176caf43962d4ec2a643b194a8e -eo pid,comm 16:10:01 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). 16:10:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:01 [ssh-agent] Looking for ssh-agent implementation... 16:10:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:01 $ docker exec c00f2b765657ce3c3c6dd2a98d6470310fc27176caf43962d4ec2a643b194a8e ssh-agent 16:10:01 SSH_AUTH_SOCK=/tmp/ssh-fFt4CcFNnzvM/agent.32 16:10:01 SSH_AGENT_PID=38 16:10:01 Running ssh-add (command line suppressed) 16:10:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2129443287908931622.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2129443287908931622.key) 16:10:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:01 + git semver tag 16:10:02 2023-03-13 16:10:02,141 [run_tag] DEBUG tag force:False 16:10:02 2023-03-13 16:10:02,141 [check_head_tag] DEBUG check head tag 16:10:02 2023-03-13 16:10:02,142 [execute] INFO git cat-file --batch-check 16:10:02 2023-03-13 16:10:02,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:10:02 2023-03-13 16:10:02,146 [execute] INFO git cat-file --batch 16:10:02 2023-03-13 16:10:02,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:10:02 2023-03-13 16:10:02,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:02 2023-03-13 16:10:02,161 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 16:10:02 2023-03-13 16:10:02,161 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:10:02 2023-03-13 16:10:02,165 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:02 3.0.0-dev.16 [Pipeline] } 16:10:02 $ docker exec --env ******** --env ******** c00f2b765657ce3c3c6dd2a98d6470310fc27176caf43962d4ec2a643b194a8e ssh-agent -k 16:10:02 unset SSH_AUTH_SOCK; 16:10:02 unset SSH_AGENT_PID; 16:10:02 echo Agent pid 38 killed; 16:10:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:02 + git semver [Pipeline] } 16:10:02 $ docker stop --time=1 c00f2b765657ce3c3c6dd2a98d6470310fc27176caf43962d4ec2a643b194a8e 16:10:04 $ docker rm -f --volumes c00f2b765657ce3c3c6dd2a98d6470310fc27176caf43962d4ec2a643b194a8e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:10:04 16:10:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:10:04 0.23.1-centos7: Pulling from edgex-lftools 16:10:04 ab5ef0e58194: Pulling fs layer 16:10:04 9712f1f96733: Pulling fs layer 16:10:04 63f879dbbcfc: Pulling fs layer 16:10:04 0d9ebad4ef96: Pulling fs layer 16:10:04 e9a5061849ea: Pulling fs layer 16:10:04 d747dcd14b5f: Pulling fs layer 16:10:04 2de7ff778b66: Pulling fs layer 16:10:04 0d9ebad4ef96: Waiting 16:10:04 e9a5061849ea: Waiting 16:10:04 d747dcd14b5f: Waiting 16:10:04 2de7ff778b66: Waiting 16:10:04 9712f1f96733: Verifying Checksum 16:10:04 9712f1f96733: Download complete 16:10:05 63f879dbbcfc: Verifying Checksum 16:10:05 63f879dbbcfc: Download complete 16:10:05 0d9ebad4ef96: Verifying Checksum 16:10:05 0d9ebad4ef96: Download complete 16:10:05 d747dcd14b5f: Verifying Checksum 16:10:05 d747dcd14b5f: Download complete 16:10:05 e9a5061849ea: Verifying Checksum 16:10:05 e9a5061849ea: Download complete 16:10:05 ab5ef0e58194: Verifying Checksum 16:10:05 ab5ef0e58194: Download complete 16:10:05 2de7ff778b66: Verifying Checksum 16:10:05 2de7ff778b66: Download complete 16:10:08 ab5ef0e58194: Pull complete 16:10:08 9712f1f96733: Pull complete 16:10:08 63f879dbbcfc: Pull complete 16:10:12 0d9ebad4ef96: Pull complete 16:10:12 e9a5061849ea: Pull complete 16:10:12 d747dcd14b5f: Pull complete 16:10:13 2de7ff778b66: Pull complete 16:10:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:10:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:13 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:10:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:10:18 $ docker top 8312dd11006040962c3746d30b1dbf9e577efcc9974d059d166c49dece6e4b44 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:10:18 provisioning config files... 16:10:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12847517813850867327tmp 16:10:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9219346795520782903tmp 16:10:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7032808921891293095tmp [Pipeline] { [Pipeline] echo 16:10:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:10:18 ---> sigul-configuration.sh 16:10:18 gpg: directory `/root/.gnupg' created 16:10:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:10:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:10:18 gpg: keyring `/root/.gnupg/secring.gpg' created 16:10:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:10:18 gpg: CAST5 encrypted data 16:10:18 gpg: encrypted with 1 passphrase 16:10:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:10:18 + mkdir /home/jenkins 16:10:18 + mkdir /home/jenkins/sigul [Pipeline] sh 16:10:19 + 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 16:10:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:10:19 ---> sigul-install.sh 16:10:19 Sigul already installed; skipping installation. [Pipeline] sh 16:10:19 + git tag --list 16:10:19 v1.0.0 16:10:19 v1.1.0 16:10:19 v1.1.1 16:10:19 v1.1.2 16:10:19 v1.2.0 16:10:19 v1.2.1 16:10:19 v2.0.0 16:10:19 v2.1.0 16:10:19 v2.1.1 16:10:19 v2.1.1-dev.1 16:10:19 v2.1.1-dev.2 16:10:19 v2.1.1-dev.3 16:10:19 v2.2.0 16:10:19 v2.2.1-dev.1 16:10:19 v2.2.1-dev.2 16:10:19 v2.2.1-dev.3 16:10:19 v2.2.1-dev.4 16:10:19 v2.2.1-dev.5 16:10:19 v2.2.1-dev.6 16:10:19 v2.2.1-dev.7 16:10:19 v2.2.1-dev.8 16:10:19 v2.2.1-dev.9 16:10:19 v2.3.0 16:10:19 v2.3.0-dev.10 16:10:19 v2.3.0-dev.11 16:10:19 v2.3.0-dev.12 16:10:19 v2.3.0-dev.13 16:10:19 v2.3.0-dev.14 16:10:19 v2.3.0-dev.15 16:10:19 v2.3.0-dev.16 16:10:19 v2.3.0-dev.17 16:10:19 v2.3.0-dev.18 16:10:19 v2.3.0-dev.19 16:10:19 v2.3.0-dev.20 16:10:19 v2.3.0-dev.21 16:10:19 v2.3.0-dev.22 16:10:19 v2.3.0-dev.23 16:10:19 v2.3.0-dev.24 16:10:19 v2.3.0-dev.25 16:10:19 v2.3.0-dev.9 16:10:19 v3.0.0-dev.1 16:10:19 v3.0.0-dev.10 16:10:19 v3.0.0-dev.11 16:10:19 v3.0.0-dev.12 16:10:19 v3.0.0-dev.13 16:10:19 v3.0.0-dev.14 16:10:19 v3.0.0-dev.15 16:10:19 v3.0.0-dev.16 16:10:19 v3.0.0-dev.2 16:10:19 v3.0.0-dev.3 16:10:19 v3.0.0-dev.4 16:10:19 v3.0.0-dev.5 16:10:19 v3.0.0-dev.6 16:10:19 v3.0.0-dev.7 16:10:19 v3.0.0-dev.8 16:10:19 v3.0.0-dev.9 [Pipeline] sh 16:10:20 + lftools sign git-tag v3.0.0-dev.16 16:10:20 Signing Git tag with Sigul... 16:10:20 Signing v3.0.0-dev.16 [Pipeline] echo 16:10:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:10:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:10:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:10:21 $ docker stop --time=1 8312dd11006040962c3746d30b1dbf9e577efcc9974d059d166c49dece6e4b44 16:10:22 $ docker rm -f --volumes 8312dd11006040962c3746d30b1dbf9e577efcc9974d059d166c49dece6e4b44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:10:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:23 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:23 $ docker top 5c0dcde2b2d903ba4806fe8fc49e2fd3e9ea2ec56846a40a0b579b4e0a2f5ca1 -eo pid,comm 16:10:23 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). 16:10:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:23 [ssh-agent] Looking for ssh-agent implementation... 16:10:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:23 $ docker exec 5c0dcde2b2d903ba4806fe8fc49e2fd3e9ea2ec56846a40a0b579b4e0a2f5ca1 ssh-agent 16:10:23 SSH_AUTH_SOCK=/tmp/ssh-pbZfCjFMqCiq/agent.33 16:10:23 SSH_AGENT_PID=39 16:10:23 Running ssh-add (command line suppressed) 16:10:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10007447672770611554.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10007447672770611554.key) 16:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:24 + git semver bump pre 16:10:24 2023-03-13 16:10:24,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:24 2023-03-13 16:10:24,499 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev 16:10:24 2023-03-13 16:10:24,499 [bump_version] DEBUG bumped version:3.0.0-dev.17 16:10:24 2023-03-13 16:10:24,499 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:10:24 2023-03-13 16:10:24,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:24 2023-03-13 16:10:24,500 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:24 2023-03-13 16:10:24,502 [execute] INFO git cat-file --batch-check 16:10:24 2023-03-13 16:10:24,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:10:24 2023-03-13 16:10:24,509 [execute] INFO git cat-file --batch 16:10:24 2023-03-13 16:10:24,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:10:24 2023-03-13 16:10:24,516 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:24 3.0.0-dev.17 [Pipeline] } 16:10:24 $ docker exec --env ******** --env ******** 5c0dcde2b2d903ba4806fe8fc49e2fd3e9ea2ec56846a40a0b579b4e0a2f5ca1 ssh-agent -k 16:10:24 unset SSH_AUTH_SOCK; 16:10:24 unset SSH_AGENT_PID; 16:10:24 echo Agent pid 39 killed; 16:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:24 + git semver [Pipeline] } 16:10:25 $ docker stop --time=1 5c0dcde2b2d903ba4806fe8fc49e2fd3e9ea2ec56846a40a0b579b4e0a2f5ca1 16:10:26 $ docker rm -f --volumes 5c0dcde2b2d903ba4806fe8fc49e2fd3e9ea2ec56846a40a0b579b4e0a2f5ca1 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:27 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:10:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:27 $ docker top 308a276bb8bf758e5bab6bc6536cb606eb436b2b6c150266f757dd894e9b7ea2 -eo pid,comm 16:10:27 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). 16:10:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:27 [ssh-agent] Looking for ssh-agent implementation... 16:10:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:27 $ docker exec 308a276bb8bf758e5bab6bc6536cb606eb436b2b6c150266f757dd894e9b7ea2 ssh-agent 16:10:27 SSH_AUTH_SOCK=/tmp/ssh-vDy29oskVyHz/agent.32 16:10:27 SSH_AGENT_PID=38 16:10:27 Running ssh-add (command line suppressed) 16:10:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11234508344601975068.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11234508344601975068.key) 16:10:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:28 + git semver push 16:10:28 2023-03-13 16:10:28,533 [run_push] DEBUG push 16:10:28 2023-03-13 16:10:28,534 [execute] INFO git cat-file --batch-check 16:10:28 2023-03-13 16:10:28,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:10:28 2023-03-13 16:10:28,538 [execute] INFO git rev-list 039a7873cca3f9241887e8cea3365e689376c2f0 -- 16:10:28 2023-03-13 16:10:28,538 [execute] DEBUG Popen(['git', 'rev-list', '039a7873cca3f9241887e8cea3365e689376c2f0', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:10:28 2023-03-13 16:10:28,546 [execute] INFO git fetch -v origin 16:10:28 2023-03-13 16:10:28,547 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:10:29 2023-03-13 16:10:29,076 [run_push] DEBUG no remote changes detected 16:10:29 2023-03-13 16:10:29,077 [execute] INFO git push origin semver 16:10:29 2023-03-13 16:10:29,077 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:10:30 2023-03-13 16:10:29,927 [run_push] DEBUG push all version tags 16:10:30 2023-03-13 16:10:29,927 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:10:30 2023-03-13 16:10:29,928 [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) 16:10:31 2023-03-13 16:10:30,720 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:31 3.0.0-dev.17 [Pipeline] } 16:10:31 $ docker exec --env ******** --env ******** 308a276bb8bf758e5bab6bc6536cb606eb436b2b6c150266f757dd894e9b7ea2 ssh-agent -k 16:10:31 unset SSH_AUTH_SOCK; 16:10:31 unset SSH_AGENT_PID; 16:10:31 echo Agent pid 38 killed; 16:10:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:31 + git semver [Pipeline] } 16:10:31 $ docker stop --time=1 308a276bb8bf758e5bab6bc6536cb606eb436b2b6c150266f757dd894e9b7ea2 16:10:33 $ docker rm -f --volumes 308a276bb8bf758e5bab6bc6536cb606eb436b2b6c150266f757dd894e9b7ea2 [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 16:10:33 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:10:33 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:10:33 total 16 16:10:33 drwxr-xr-x 3 root root 4096 Mar 13 16:00 . 16:10:33 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 16:10 .. 16:10:33 drwxr-xr-x 2 root root 4096 Mar 13 16:00 cost 16:10:33 -rw-r--r-- 1 root root 85 Mar 13 16:00 cost.csv 16:10:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:10:33 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:10:33 total 16 16:10:33 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:00 . 16:10:33 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 16:10 .. 16:10:33 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 16:00 cost 16:10:33 -rw-r--r-- 1 jenkins jenkins 85 Mar 13 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:10:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:10:34 ---> package-listing.sh 16:10:34 ++ facter osfamily 16:10:34 ++ tr '[:upper:]' '[:lower:]' 16:10:34 + OS_FAMILY=debian 16:10:34 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:10:34 + START_PACKAGES=/tmp/packages_start.txt 16:10:34 + END_PACKAGES=/tmp/packages_end.txt 16:10:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:10:34 + PACKAGES=/tmp/packages_start.txt 16:10:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:10:34 + PACKAGES=/tmp/packages_end.txt 16:10:34 + case "${OS_FAMILY}" in 16:10:34 + dpkg -l 16:10:34 + grep '^ii' 16:10:34 + '[' -f /tmp/packages_start.txt ']' 16:10:34 + '[' -f /tmp/packages_end.txt ']' 16:10:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:10:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:10:34 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:10:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:10:34 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 16:10:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:35 prd-ubuntu20.04-docker-8c-8g-9897 does not seem to be running inside a container 16:10:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:10:36 $ docker top abc86ca26ea03ec44de0ccaa81b89d21142915f83ea4e2f3269bb3012c2ad95a -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:10:36 + mkdir -p /var/log/sysstat [Pipeline] sh 16:10:37 + ls /var/log/sa-host 16:10:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:37 provisioning config files... 16:10:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3263995867113402688tmp [Pipeline] { [Pipeline] echo 16:10:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:10:37 ---> create-netrc.sh [Pipeline] } 16:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:10:37 ---> python-tools-install.sh [Pipeline] echo 16:10:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:10:38 ---> sudo-logs.sh 16:10:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:10:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:10:38 ---> job-cost.sh 16:10:38 lf-activate-venv: SKIPPING 16:10:38 DEBUG: total: 0.2199999988079071 16:10:38 INFO: Retrieving Stack Cost... 16:10:38 INFO: Retrieving Pricing Info for: v3-standard-8 16:10:39 INFO: Archiving Costs [Pipeline] echo 16:10:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:10:39 ---> logs-deploy.sh 16:10:39 lf-activate-venv: SKIPPING 16:10:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/88 16:10:39 INFO: archiving workspace using pattern(s): 16:10:40 Archives upload complete. 16:10:40 INFO: archiving logs to Nexus