Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 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-ssh11242696787335673348.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-ssh8446822987113628033.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-ssh80926142646970893.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-ssh696827824204649148.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-ssh6569888376577070009.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8003 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#260)" > git config core.sparsecheckout # timeout=10 > git checkout -f dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 > git rev-list --no-walk 2c6f7e0da6ec69fdd64de95d6e056a3be507c0ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:55:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:55:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:55:46 ========================================================= 18:55:46 EdgeX Global Pipelines Version Info 18:55:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:55:47 ------------------- 18:55:47 stable info: 18:55:47 ------------------- 18:55:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:55:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:55:47 Message: update stable to v1.0.244 18:55:48 ------------------- 18:55:48 experimental info: 18:55:48 ------------------- 18:55:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:55:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:55:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbeda57 [Pipeline] echo 18:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:48 provisioning config files... 18:55:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config830683669411763105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:48 ---> docker-login.sh 18:55:48 nexus3.edgexfoundry.org:10001 18:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:49 Configure a credential helper to remove this warning. See 18:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:49 18:55:49 Login Succeeded 18:55:49 nexus3.edgexfoundry.org:10002 18:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:49 Configure a credential helper to remove this warning. See 18:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:49 18:55:49 Login Succeeded 18:55:49 nexus3.edgexfoundry.org:10003 18:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:49 Configure a credential helper to remove this warning. See 18:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:49 18:55:49 Login Succeeded 18:55:49 nexus3.edgexfoundry.org:10004 18:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:49 Configure a credential helper to remove this warning. See 18:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:49 18:55:49 Login Succeeded 18:55:49 docker.io 18:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:49 Configure a credential helper to remove this warning. See 18:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:49 18:55:49 Login Succeeded 18:55:49 ---> docker-login.sh ends [Pipeline] } 18:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:55:50 + git rev-list -1 --merges dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f~1..dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] echo 18:55:50 -----------> git rev-list -1 --merges dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f~1..dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [false] [Pipeline] sh 18:55:50 + git log --format=format:%s -1 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] echo 18:55:50 ========================================================= 18:55:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:55:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:50 + git log --format=format:%s -1 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] echo 18:55:50 [semverPrep] GIT_COMMIT: dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#260) [Pipeline] echo 18:55:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:55:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:51 + grep -v github /etc/ssh/ssh_known_hosts 18:55:51 + [ -e /tmp/ssh_known_hosts ] 18:55:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:55:51 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:55:51 -a /etc/ssh/ssh_known_hosts 18:55:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:51 18:55:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:55:51 b85a868b505f: Pulling fs layer 18:55:51 e2be974225ed: Pulling fs layer 18:55:51 339a4e72a1f5: Pulling fs layer 18:55:51 988bab9f4d93: Pulling fs layer 18:55:51 1469e6f7b9e6: Pulling fs layer 18:55:51 eaf3925da568: Pulling fs layer 18:55:51 bab4dde63d76: Pulling fs layer 18:55:51 bde34c3a00c8: Pulling fs layer 18:55:51 b352a97aabf1: Pulling fs layer 18:55:51 4872d77fe225: Pulling fs layer 18:55:51 5851b861e8e6: Pulling fs layer 18:55:51 988bab9f4d93: Waiting 18:55:51 bde34c3a00c8: Waiting 18:55:51 b352a97aabf1: Waiting 18:55:51 4872d77fe225: Waiting 18:55:51 1469e6f7b9e6: Waiting 18:55:51 eaf3925da568: Waiting 18:55:51 bab4dde63d76: Waiting 18:55:51 e2be974225ed: Download complete 18:55:51 988bab9f4d93: Verifying Checksum 18:55:51 988bab9f4d93: Download complete 18:55:52 1469e6f7b9e6: Verifying Checksum 18:55:52 1469e6f7b9e6: Download complete 18:55:52 eaf3925da568: Verifying Checksum 18:55:52 eaf3925da568: Download complete 18:55:52 339a4e72a1f5: Verifying Checksum 18:55:52 339a4e72a1f5: Download complete 18:55:52 bde34c3a00c8: Download complete 18:55:52 b352a97aabf1: Verifying Checksum 18:55:52 b352a97aabf1: Download complete 18:55:52 4872d77fe225: Download complete 18:55:52 5851b861e8e6: Download complete 18:55:52 b85a868b505f: Download complete 18:55:52 bab4dde63d76: Verifying Checksum 18:55:52 bab4dde63d76: Download complete 18:55:53 b85a868b505f: Pull complete 18:55:53 e2be974225ed: Pull complete 18:55:54 339a4e72a1f5: Pull complete 18:55:54 988bab9f4d93: Pull complete 18:55:54 1469e6f7b9e6: Pull complete 18:55:54 eaf3925da568: Pull complete 18:55:56 bab4dde63d76: Pull complete 18:55:56 bde34c3a00c8: Pull complete 18:55:56 b352a97aabf1: Pull complete 18:55:56 4872d77fe225: Pull complete 18:55:56 5851b861e8e6: Pull complete 18:55:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:56 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 18:55:56 $ 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 18:55:59 $ docker top c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 -eo pid,comm 18:55:59 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). 18:55:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:59 [ssh-agent] Looking for ssh-agent implementation... 18:55:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:59 $ docker exec c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 ssh-agent 18:55:59 SSH_AUTH_SOCK=/tmp/ssh-ikxuxr1qAPCv/agent.32 18:55:59 SSH_AGENT_PID=38 18:55:59 Running ssh-add (command line suppressed) 18:55:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14801002837627811009.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14801002837627811009.key) 18:55:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:59 + git tag --points-at HEAD [Pipeline] } 18:55:59 $ docker exec --env ******** --env ******** c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 ssh-agent -k 18:55:59 unset SSH_AUTH_SOCK; 18:55:59 unset SSH_AGENT_PID; 18:55:59 echo Agent pid 38 killed; 18:55:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:55:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:59 [ssh-agent] Looking for ssh-agent implementation... 18:56:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:00 $ docker exec c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 ssh-agent 18:56:00 SSH_AUTH_SOCK=/tmp/ssh-ASsyVMDhcLdB/agent.70 18:56:00 SSH_AGENT_PID=76 18:56:00 Running ssh-add (command line suppressed) 18:56:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17241658719635624640.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17241658719635624640.key) 18:56:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:00 + git semver init 18:56:00 2023-03-01 18:56:00,773 [run_init] DEBUG init version:0.0.0 force:False 18:56:00 2023-03-01 18:56:00,773 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 18:56:00 2023-03-01 18:56:00,774 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:56:00 2023-03-01 18:56:00,774 [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) 18:56:02 2023-03-01 18:56:01,916 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 18:56:02 2023-03-01 18:56:01,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 18:56:02 2023-03-01 18:56:01,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:56:02 2023-03-01 18:56:01,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:56:02 3.0.0-dev.15 [Pipeline] } 18:56:02 $ docker exec --env ******** --env ******** c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 ssh-agent -k 18:56:02 unset SSH_AUTH_SOCK; 18:56:02 unset SSH_AGENT_PID; 18:56:02 echo Agent pid 76 killed; 18:56:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:02 + git semver [Pipeline] } 18:56:02 $ docker stop --time=1 c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 18:56:04 $ docker rm -f --volumes c2bd1420418a927686349a421c36133fce1366f45b48fceb29eb143bb97be2f7 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:04 Stashed 1 file(s) [Pipeline] echo 18:56:04 [edgeXSemver]: initialized semver on version 3.0.0-dev.15 [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 18:56:04 provisioning config files... 18:56:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18180905024515617183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:05 ---> docker-login.sh 18:56:05 nexus3.edgexfoundry.org:10001 18:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:05 Configure a credential helper to remove this warning. See 18:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:05 18:56:05 Login Succeeded 18:56:05 nexus3.edgexfoundry.org:10002 18:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:05 Configure a credential helper to remove this warning. See 18:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:05 18:56:05 Login Succeeded 18:56:05 nexus3.edgexfoundry.org:10003 18:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:05 Configure a credential helper to remove this warning. See 18:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:05 18:56:05 Login Succeeded 18:56:05 nexus3.edgexfoundry.org:10004 18:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:05 Configure a credential helper to remove this warning. See 18:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:05 18:56:05 Login Succeeded 18:56:05 docker.io 18:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:05 Configure a credential helper to remove this warning. See 18:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:05 18:56:05 Login Succeeded 18:56:05 ---> docker-login.sh ends [Pipeline] } 18:56:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:05 ========================================================= 18:56:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:56:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:06 + 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 . 18:56:06 Sending build context to Docker daemon 10.82MB 18:56:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:56:06 Step 2/12 : FROM ${BASE} AS builder 18:56:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:56:06 213ec9aee27d: Pulling fs layer 18:56:06 4583459ba037: Pulling fs layer 18:56:06 93c1e223e6f2: Pulling fs layer 18:56:06 53926ce57604: Pulling fs layer 18:56:06 21b2b0c7a3f4: Pulling fs layer 18:56:06 22ff95d597cd: Pulling fs layer 18:56:06 12d6caf4c0d1: Pulling fs layer 18:56:06 96b7cbca73a9: Pulling fs layer 18:56:06 a7acece74701: Pulling fs layer 18:56:06 53926ce57604: Waiting 18:56:06 21b2b0c7a3f4: Waiting 18:56:06 22ff95d597cd: Waiting 18:56:06 12d6caf4c0d1: Waiting 18:56:06 96b7cbca73a9: Waiting 18:56:06 a7acece74701: Waiting 18:56:06 93c1e223e6f2: Verifying Checksum 18:56:06 93c1e223e6f2: Download complete 18:56:06 4583459ba037: Verifying Checksum 18:56:06 4583459ba037: Download complete 18:56:06 21b2b0c7a3f4: Verifying Checksum 18:56:06 21b2b0c7a3f4: Download complete 18:56:06 22ff95d597cd: Download complete 18:56:06 213ec9aee27d: Verifying Checksum 18:56:06 213ec9aee27d: Download complete 18:56:06 12d6caf4c0d1: Verifying Checksum 18:56:06 12d6caf4c0d1: Download complete 18:56:06 213ec9aee27d: Pull complete 18:56:06 4583459ba037: Pull complete 18:56:06 93c1e223e6f2: Pull complete 18:56:06 a7acece74701: Verifying Checksum 18:56:06 a7acece74701: Download complete 18:56:07 96b7cbca73a9: Verifying Checksum 18:56:07 96b7cbca73a9: Download complete 18:56:07 53926ce57604: Verifying Checksum 18:56:07 53926ce57604: Download complete 18:56:11 53926ce57604: Pull complete 18:56:11 21b2b0c7a3f4: Pull complete 18:56:11 22ff95d597cd: Pull complete 18:56:11 12d6caf4c0d1: Pull complete 18:56:13 96b7cbca73a9: Pull complete 18:56:13 a7acece74701: Pull complete 18:56:13 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:56:13 ---> db6d94c90886 18:56:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:56:18 ---> Running in ec8846a27cd0 18:56:18 Removing intermediate container ec8846a27cd0 18:56:18 ---> b766026ce9fd 18:56:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:18 ---> Running in e48819bb1ac6 18:56:18 Removing intermediate container e48819bb1ac6 18:56:18 ---> e8c33c8236b2 18:56:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:56:18 ---> Running in 86c9568375f5 18:56:18 Removing intermediate container 86c9568375f5 18:56:18 ---> 4f678f70049f 18:56:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:56:18 ---> Running in 1fdea4aab466 18:56:18 Removing intermediate container 1fdea4aab466 18:56:18 ---> 988f0449ef12 18:56:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:18 ---> Running in 935374468d0f 18:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:56:18 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:56:18 (2/4) Installing libedit (20210910.3.1-r0) 18:56:18 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:56:18 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:56:18 Executing busybox-1.35.0-r17.trigger 18:56:18 OK: 216 MiB in 55 packages 18:56:19 Removing intermediate container 935374468d0f 18:56:19 ---> aeb7d23682a0 18:56:19 Step 8/12 : WORKDIR /device-rest-go 18:56:19 ---> Running in df177fbd4a99 18:56:19 Removing intermediate container df177fbd4a99 18:56:19 ---> a5f6a247765f 18:56:19 Step 9/12 : COPY go.mod vendor* ./ 18:56:19 ---> c377c81b3a29 18:56:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:19 ---> Running in 60ef857f4ae7 18:56:19 Still waiting to schedule task 18:56:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:56:51 Removing intermediate container 60ef857f4ae7 18:56:51 ---> e4dc2c56011f 18:56:51 Step 11/12 : COPY . . 18:56:51 ---> ca383e3d98aa 18:56:51 Step 12/12 : RUN $MAKE 18:56:51 ---> Running in 18d574cb4fcd 18:56:51 noop 18:56:51 Removing intermediate container 18d574cb4fcd 18:56:51 ---> fb0d1fd4ad37 18:56:51 Successfully built fb0d1fd4ad37 18:56:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:51 + docker inspect -f . ci-base-image-x86_64 18:56:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:51 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 18:56:51 $ 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 18:56:52 $ docker top 2415d096246019162dc8304749f8e629256a2668523e698d794fac304b291cd6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:52 + go version 18:56:52 go version go1.18.7 linux/amd64 [Pipeline] } 18:56:52 $ docker stop --time=1 2415d096246019162dc8304749f8e629256a2668523e698d794fac304b291cd6 18:56:53 $ docker rm -f --volumes 2415d096246019162dc8304749f8e629256a2668523e698d794fac304b291cd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:54 + docker inspect -f . ci-base-image-x86_64 18:56:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:54 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 18:56:54 $ 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 18:56:54 $ docker top 51fb26d6ed0877371680d7bc575ff8da2c13b4cbc79e8858212eaddc8274cdf5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 18:56:55 + make test 18:56:55 go test ./... -coverprofile=coverage.out ./... 18:56:55 ? github.com/edgexfoundry/device-rest-go [no test files] 18:57:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:57:04 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements 18:57:10 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." 18:57:10 go vet ./... 18:57:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:57:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:57:14 ./bin/test-attribution-txt.sh [Pipeline] echo 18:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:57:14 $ docker stop --time=1 51fb26d6ed0877371680d7bc575ff8da2c13b4cbc79e8858212eaddc8274cdf5 18:57:16 $ docker rm -f --volumes 51fb26d6ed0877371680d7bc575ff8da2c13b4cbc79e8858212eaddc8274cdf5 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:57:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:57:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:18 + ls -al . 18:57:18 total 184 18:57:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 18:56 . 18:57:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:55 .. 18:57:18 -rw-rw-r-- 1 jenkins jenkins 151 Mar 1 18:55 .dockerignore 18:57:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 18:57 .git 18:57:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:55 .github 18:57:18 -rw-rw-r-- 1 jenkins jenkins 329 Mar 1 18:55 .gitignore 18:57:18 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 18:55 .golangci.yml 18:57:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 18:56 .semver 18:57:18 -rw-rw-r-- 1 jenkins jenkins 9213 Mar 1 18:55 Attribution.txt 18:57:18 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 1 18:55 CHANGELOG.md 18:57:18 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 1 18:55 Dockerfile 18:57:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 18:55 GOVERNANCE.md 18:57:18 -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 18:55 Jenkinsfile 18:57:18 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 18:55 LICENSE 18:57:18 -rw-rw-r-- 1 jenkins jenkins 1744 Mar 1 18:55 Makefile 18:57:18 -rw-rw-r-- 1 jenkins jenkins 620 Mar 1 18:55 OWNERS.md 18:57:18 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 1 18:55 README.md 18:57:18 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 18:56 VERSION 18:57:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:55 bin 18:57:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:55 cmd 18:57:18 -rw-r--r-- 1 jenkins jenkins 13744 Mar 1 18:57 coverage.out 18:57:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:55 driver 18:57:18 -rw-rw-r-- 1 jenkins jenkins 3401 Mar 1 18:55 go.mod 18:57:18 -rw-rw-r-- 1 jenkins jenkins 31300 Mar 1 18:55 go.sum 18:57:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:55 snap 18:57:18 -rw-rw-r-- 1 jenkins jenkins 713 Mar 1 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:18 + 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=dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f --label arch=amd64 --label version=3.0.0-dev.15 . 18:57:18 Sending build context to Docker daemon 10.84MB 18:57:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:57:18 Step 2/25 : FROM ${BASE} AS builder 18:57:18 ---> fb0d1fd4ad37 18:57:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:57:18 ---> Running in 5a4df7a68f07 18:57:18 Removing intermediate container 5a4df7a68f07 18:57:18 ---> c298f70cf5d4 18:57:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:57:18 ---> Running in c7ae6d064ad9 18:57:18 Removing intermediate container c7ae6d064ad9 18:57:18 ---> 4478917487e0 18:57:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:57:18 ---> Running in a5ac8c13bf61 18:57:18 Removing intermediate container a5ac8c13bf61 18:57:18 ---> daf58f298059 18:57:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:57:18 ---> Running in ca45c207306a 18:57:18 Removing intermediate container ca45c207306a 18:57:18 ---> 236f2c22fccb 18:57:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:57:18 ---> Running in 54adbe6b9e8a 18:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:57:19 OK: 216 MiB in 55 packages 18:57:19 Removing intermediate container 54adbe6b9e8a 18:57:19 ---> 1f531080f8cd 18:57:19 Step 8/25 : WORKDIR /device-rest-go 18:57:19 ---> Running in 86e57f447bbb 18:57:20 Removing intermediate container 86e57f447bbb 18:57:20 ---> 9b35af0afb41 18:57:20 Step 9/25 : COPY go.mod vendor* ./ 18:57:20 ---> a3ea385d3301 18:57:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:20 ---> Running in e2e38c8bcde0 18:57:21 Removing intermediate container e2e38c8bcde0 18:57:21 ---> 7fe7a3fa6094 18:57:21 Step 11/25 : COPY . . 18:57:21 ---> 8c09628273d7 18:57:21 Step 12/25 : RUN $MAKE 18:57:21 ---> Running in d9985facca83 18:57:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:57:43 Removing intermediate container d9985facca83 18:57:43 ---> d10399803776 18:57:43 Step 13/25 : FROM alpine:3.16 18:57:43 3.16: Pulling from library/alpine 18:57:43 ef5531b6e74e: Pulling fs layer 18:57:43 ef5531b6e74e: Verifying Checksum 18:57:43 ef5531b6e74e: Download complete 18:57:43 ef5531b6e74e: Pull complete 18:57:43 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:57:43 Status: Downloaded newer image for alpine:3.16 18:57:43 ---> dfd21b5a31f5 18:57:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:57:43 ---> Running in 6431c87af891 18:57:43 Removing intermediate container 6431c87af891 18:57:43 ---> 251ff7511dcb 18:57:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:57:43 ---> Running in 98305591390e 18:57:43 Removing intermediate container 98305591390e 18:57:43 ---> 775fde34eb52 18:57:43 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:57:43 ---> Running in 35359387a9f2 18:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:57:43 (1/1) Installing dumb-init (1.2.5-r1) 18:57:43 Executing busybox-1.35.0-r17.trigger 18:57:43 OK: 6 MiB in 15 packages 18:57:43 Removing intermediate container 35359387a9f2 18:57:43 ---> 867bb156ac59 18:57:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:57:44 ---> edfe0595609d 18:57:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:57:44 ---> addb43ce54b3 18:57:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:57:44 ---> 97521156feab 18:57:44 Step 20/25 : EXPOSE 59986 18:57:44 ---> Running in 41f9361bf0da 18:57:44 Removing intermediate container 41f9361bf0da 18:57:44 ---> 9fdff62155b8 18:57:44 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:57:44 ---> Running in be73d4b54eef 18:57:44 Removing intermediate container be73d4b54eef 18:57:44 ---> b150de38c930 18:57:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:57:44 ---> Running in 8eb6e0d75421 18:57:44 Removing intermediate container 8eb6e0d75421 18:57:44 ---> 9c5ec2020886 18:57:44 Step 23/25 : LABEL arch=amd64 18:57:44 ---> Running in a64a27e096a7 18:57:45 Removing intermediate container a64a27e096a7 18:57:45 ---> 453e19428958 18:57:45 Step 24/25 : LABEL git_sha=dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 18:57:45 ---> Running in 89a7005f8942 18:57:45 Removing intermediate container 89a7005f8942 18:57:45 ---> fbe3bc28f6e0 18:57:45 Step 25/25 : LABEL version=3.0.0-dev.15 18:57:45 ---> Running in 9a9d511e9318 18:57:45 Removing intermediate container 9a9d511e9318 18:57:45 ---> b62db82851a4 18:57:45 [Warning] One or more build-args [ARCH] were not consumed 18:57:45 Successfully built b62db82851a4 18:57:45 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:45 provisioning config files... 18:57:45 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3140038772040863632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:45 ---> docker-login.sh 18:57:45 nexus3.edgexfoundry.org:10001 18:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:45 Configure a credential helper to remove this warning. See 18:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:45 18:57:45 Login Succeeded 18:57:45 nexus3.edgexfoundry.org:10002 18:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:45 Configure a credential helper to remove this warning. See 18:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:45 18:57:45 Login Succeeded 18:57:45 nexus3.edgexfoundry.org:10003 18:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:45 Configure a credential helper to remove this warning. See 18:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:45 18:57:45 Login Succeeded 18:57:45 nexus3.edgexfoundry.org:10004 18:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:45 Configure a credential helper to remove this warning. See 18:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:45 18:57:45 Login Succeeded 18:57:45 docker.io 18:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:46 Configure a credential helper to remove this warning. See 18:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:46 18:57:46 Login Succeeded 18:57:46 ---> docker-login.sh ends [Pipeline] } 18:57:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:46 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:57:46 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 18:57:46 latest 18:57:46 3.0.0-dev.15 18:57:46 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 18:57:46 main 18:57:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 18:57:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:57:46 a0acc5ec3c42: Preparing 18:57:46 31209fbc1021: Preparing 18:57:46 626339e4e2e3: Preparing 18:57:46 7414356097ef: Preparing 18:57:46 aa5968d388b8: Preparing 18:57:46 aa5968d388b8: Layer already exists 18:57:46 a0acc5ec3c42: Pushed 18:57:46 31209fbc1021: Pushed 18:57:46 7414356097ef: Pushed 18:57:49 626339e4e2e3: Pushed 18:57:49 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f: digest: sha256:bf25c092a736447cfe523824810da95c46b6f0334dc749619fb48c26afec1e96 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:57:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:57:50 a0acc5ec3c42: Preparing 18:57:50 31209fbc1021: Preparing 18:57:50 626339e4e2e3: Preparing 18:57:50 7414356097ef: Preparing 18:57:50 aa5968d388b8: Preparing 18:57:50 626339e4e2e3: Layer already exists 18:57:50 a0acc5ec3c42: Layer already exists 18:57:50 7414356097ef: Layer already exists 18:57:50 31209fbc1021: Layer already exists 18:57:50 aa5968d388b8: Layer already exists 18:57:50 latest: digest: sha256:bf25c092a736447cfe523824810da95c46b6f0334dc749619fb48c26afec1e96 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.15 18:57:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:57:50 a0acc5ec3c42: Preparing 18:57:50 31209fbc1021: Preparing 18:57:50 626339e4e2e3: Preparing 18:57:50 7414356097ef: Preparing 18:57:50 aa5968d388b8: Preparing 18:57:50 626339e4e2e3: Layer already exists 18:57:50 a0acc5ec3c42: Layer already exists 18:57:50 31209fbc1021: Layer already exists 18:57:50 7414356097ef: Layer already exists 18:57:50 aa5968d388b8: Layer already exists 18:57:50 3.0.0-dev.15: digest: sha256:bf25c092a736447cfe523824810da95c46b6f0334dc749619fb48c26afec1e96 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 18:57:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:57:51 a0acc5ec3c42: Preparing 18:57:51 31209fbc1021: Preparing 18:57:51 626339e4e2e3: Preparing 18:57:51 7414356097ef: Preparing 18:57:51 aa5968d388b8: Preparing 18:57:51 7414356097ef: Layer already exists 18:57:51 a0acc5ec3c42: Layer already exists 18:57:51 31209fbc1021: Layer already exists 18:57:51 626339e4e2e3: Layer already exists 18:57:51 aa5968d388b8: Layer already exists 18:57:51 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15: digest: sha256:bf25c092a736447cfe523824810da95c46b6f0334dc749619fb48c26afec1e96 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 18:57:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:57:51 a0acc5ec3c42: Preparing 18:57:51 31209fbc1021: Preparing 18:57:51 626339e4e2e3: Preparing 18:57:51 7414356097ef: Preparing 18:57:51 aa5968d388b8: Preparing 18:57:51 a0acc5ec3c42: Layer already exists 18:57:51 7414356097ef: Layer already exists 18:57:51 31209fbc1021: Layer already exists 18:57:51 626339e4e2e3: Layer already exists 18:57:51 aa5968d388b8: Layer already exists 18:57:51 main: digest: sha256:bf25c092a736447cfe523824810da95c46b6f0334dc749619fb48c26afec1e96 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:57:51 ===================================================== [Pipeline] echo 18:57:51 taggedImages: 18:57:51 - nexus3.edgexfoundry.org:10004/device-rest:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 18:57:51 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:57:51 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.15 18:57:51 - nexus3.edgexfoundry.org:10004/device-rest:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 18:57:51 - 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 18:57:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:52 18:57:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:52 latest: Pulling from edgex-lftools-log-publisher 18:57:52 5eb5b503b376: Pulling fs layer 18:57:52 5c69ac0246d0: Pulling fs layer 18:57:52 ec43610c2a17: Pulling fs layer 18:57:52 3a2ae6a8a46f: Pulling fs layer 18:57:52 33b1e0a273af: Pulling fs layer 18:57:52 5d3b04190fa2: Pulling fs layer 18:57:52 2f39f015ded8: Pulling fs layer 18:57:52 3a2ae6a8a46f: Waiting 18:57:52 33b1e0a273af: Waiting 18:57:52 5d3b04190fa2: Waiting 18:57:52 2f39f015ded8: Waiting 18:57:52 5c69ac0246d0: Verifying Checksum 18:57:52 5c69ac0246d0: Download complete 18:57:52 3a2ae6a8a46f: Verifying Checksum 18:57:52 3a2ae6a8a46f: Download complete 18:57:52 33b1e0a273af: Verifying Checksum 18:57:52 33b1e0a273af: Download complete 18:57:52 5d3b04190fa2: Verifying Checksum 18:57:52 5d3b04190fa2: Download complete 18:57:52 ec43610c2a17: Verifying Checksum 18:57:52 ec43610c2a17: Download complete 18:57:52 5eb5b503b376: Download complete 18:57:53 2f39f015ded8: Download complete 18:57:54 5eb5b503b376: Pull complete 18:57:54 5c69ac0246d0: Pull complete 18:57:54 ec43610c2a17: Pull complete 18:57:54 3a2ae6a8a46f: Pull complete 18:57:55 33b1e0a273af: Pull complete 18:57:55 5d3b04190fa2: Pull complete 18:57:59 2f39f015ded8: Pull complete 18:57:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:59 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 18:57:59 $ 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 18:58:03 $ docker top a4c62b090acb29c707fad8e93560ed168bc8882e15b859966e6c313405db8b85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:04 ---> job-cost.sh 18:58:04 lf-activate-venv: SKIPPING 18:58:04 INFO: No Stack... 18:58:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:04 INFO: Archiving Costs [Pipeline] sh 18:58:04 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:58:04 + cut -d, -f6 [Pipeline] lock 18:58:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] 18:58:04 Resource [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] did not exist. Created. 18:58:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:05 + echo total: 0.2199999988079071 [Pipeline] stash 18:58:05 Stashed 1 file(s) [Pipeline] } 18:58:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:05 $ docker stop --time=1 a4c62b090acb29c707fad8e93560ed168bc8882e15b859966e6c313405db8b85 18:58:06 $ docker rm -f --volumes a4c62b090acb29c707fad8e93560ed168bc8882e15b859966e6c313405db8b85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:59:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8004 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:59:56 Running in /w/workspace/device-rest-go/87 [Pipeline] { [Pipeline] checkout 18:59:56 The recommended git tool is: git 19:00:02 using credential edgex-jenkins-ssh 19:00:02 Cloning the remote Git repository 19:00:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:00:02 > git init /w/workspace/device-rest-go/87 # timeout=10 19:00:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:00:03 > git --version # timeout=10 19:00:03 > git --version # 'git version 2.25.1' 19:00:03 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:00:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:06 Avoid second fetch 19:00:06 Checking out Revision dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f (main) 19:00:06 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#260)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:06 > git config core.sparsecheckout # timeout=10 19:00:06 > git checkout -f dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 19:00:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:00:07 % Total % Received % Xferd Average Speed Time Time Time Current 19:00:07 Dload Upload Total Spent Left Speed 19:00:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 78709 [Pipeline] sh 19:00:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:00:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:00:08 + sudo tee /etc/docker/daemon.new 19:00:08 { 19:00:08 "registry-mirrors": [ 19:00:08 "https://nexus3.edgexfoundry.org:10001" 19:00:08 ], 19:00:08 "bip": "10.250.0.254/24", 19:00:08 "hosts": [ 19:00:08 "tcp://0.0.0.0:5555", 19:00:08 "unix:///var/run/docker.sock" 19:00:08 ], 19:00:08 "mtu": 1458, 19:00:08 "selinux-enabled": true, 19:00:08 "seccomp-profile": "/etc/docker/seccomp.json" 19:00:08 } [Pipeline] sh 19:00:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:00:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:27 provisioning config files... 19:00:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/87@tmp/config15103467111106644489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:28 ---> docker-login.sh 19:00:28 nexus3.edgexfoundry.org:10001 19:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:28 Configure a credential helper to remove this warning. See 19:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:28 19:00:28 Login Succeeded 19:00:29 nexus3.edgexfoundry.org:10002 19:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:29 Configure a credential helper to remove this warning. See 19:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:29 19:00:29 Login Succeeded 19:00:29 nexus3.edgexfoundry.org:10003 19:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:29 Configure a credential helper to remove this warning. See 19:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:29 19:00:29 Login Succeeded 19:00:29 nexus3.edgexfoundry.org:10004 19:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:30 Configure a credential helper to remove this warning. See 19:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:30 19:00:30 Login Succeeded 19:00:30 docker.io 19:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:30 Configure a credential helper to remove this warning. See 19:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:30 19:00:30 Login Succeeded 19:00:30 ---> docker-login.sh ends [Pipeline] } 19:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:30 ========================================================= 19:00:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:00:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:31 + 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 . 19:00:31 Sending build context to Docker daemon 138.8kB 19:00:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:00:31 Step 2/12 : FROM ${BASE} AS builder 19:00:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:00:31 9b18e9b68314: Pulling fs layer 19:00:31 35d82f9e3411: Pulling fs layer 19:00:31 e16973657156: Pulling fs layer 19:00:31 fc693d55d65f: Pulling fs layer 19:00:31 7e9fc2657dce: Pulling fs layer 19:00:31 dda99020689f: Pulling fs layer 19:00:31 db1c61fa0a46: Pulling fs layer 19:00:31 891c053d2c06: Pulling fs layer 19:00:31 7e9fc2657dce: Waiting 19:00:31 dda99020689f: Waiting 19:00:31 db1c61fa0a46: Waiting 19:00:31 891c053d2c06: Waiting 19:00:31 fc693d55d65f: Waiting 19:00:31 e16973657156: Verifying Checksum 19:00:31 e16973657156: Download complete 19:00:31 35d82f9e3411: Verifying Checksum 19:00:31 35d82f9e3411: Download complete 19:00:31 7e9fc2657dce: Verifying Checksum 19:00:31 7e9fc2657dce: Download complete 19:00:31 dda99020689f: Verifying Checksum 19:00:31 dda99020689f: Download complete 19:00:31 9b18e9b68314: Verifying Checksum 19:00:31 9b18e9b68314: Download complete 19:00:32 9b18e9b68314: Pull complete 19:00:32 891c053d2c06: Verifying Checksum 19:00:32 891c053d2c06: Download complete 19:00:33 35d82f9e3411: Pull complete 19:00:33 e16973657156: Pull complete 19:00:34 db1c61fa0a46: Verifying Checksum 19:00:34 db1c61fa0a46: Download complete 19:00:34 fc693d55d65f: Verifying Checksum 19:00:34 fc693d55d65f: Download complete 19:00:50 fc693d55d65f: Pull complete 19:00:50 7e9fc2657dce: Pull complete 19:00:50 dda99020689f: Pull complete 19:00:55 db1c61fa0a46: Pull complete 19:00:56 891c053d2c06: Pull complete 19:00:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:00:56 ---> f96f9c87975a 19:00:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:00:58 ---> Running in 08521f46a278 19:00:58 Removing intermediate container 08521f46a278 19:00:58 ---> fcab572d7f06 19:00:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:58 ---> Running in 70f9a1b3fcae 19:00:59 Removing intermediate container 70f9a1b3fcae 19:00:59 ---> 1dce4af0b565 19:00:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:00:59 ---> Running in f6454f744aa6 19:00:59 Removing intermediate container f6454f744aa6 19:00:59 ---> 734e7b6a0f13 19:00:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:00:59 ---> Running in d5d93d1f4b94 19:00:59 Removing intermediate container d5d93d1f4b94 19:00:59 ---> 37e908c839ae 19:00:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:00 ---> Running in d700f7fdfc30 19:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:01:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:01:02 (2/4) Installing libedit (20210910.3.1-r0) 19:01:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:01:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:01:02 Executing busybox-1.35.0-r17.trigger 19:01:02 OK: 226 MiB in 55 packages 19:01:03 Removing intermediate container d700f7fdfc30 19:01:03 ---> 5b1031cb4990 19:01:03 Step 8/12 : WORKDIR /device-rest-go 19:01:03 ---> Running in dc67b97bfcd5 19:01:04 Removing intermediate container dc67b97bfcd5 19:01:04 ---> d60b19325144 19:01:04 Step 9/12 : COPY go.mod vendor* ./ 19:01:04 ---> 6395ab4df971 19:01:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:04 ---> Running in 3f9670e5e6c3 19:02:12 Removing intermediate container 3f9670e5e6c3 19:02:12 ---> 8da518a177fa 19:02:12 Step 11/12 : COPY . . 19:02:12 ---> a88c046d14eb 19:02:12 Step 12/12 : RUN $MAKE 19:02:12 ---> Running in 079814c9245d 19:02:13 noop 19:02:13 Removing intermediate container 079814c9245d 19:02:13 ---> 50da2b8d669a 19:02:13 Successfully built 50da2b8d669a 19:02:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:14 + docker inspect -f . ci-base-image-arm64 19:02:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-8004 does not seem to be running inside a container 19:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/87 -v /w/workspace/device-rest-go/87:/w/workspace/device-rest-go/87:rw,z -v /w/workspace/device-rest-go/87@tmp:/w/workspace/device-rest-go/87@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 19:02:15 $ docker top 24a1b4d6e40b2b8997363d207159e5c42f33ef06fa93be45393983a7fea76dfe -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:16 + go version 19:02:16 go version go1.18.7 linux/arm64 [Pipeline] } 19:02:16 $ docker stop --time=1 24a1b4d6e40b2b8997363d207159e5c42f33ef06fa93be45393983a7fea76dfe 19:02:19 $ docker rm -f --volumes 24a1b4d6e40b2b8997363d207159e5c42f33ef06fa93be45393983a7fea76dfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:19 + docker inspect -f . ci-base-image-arm64 19:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:20 prd-ubuntu20.04-docker-arm64-4c-16g-8004 does not seem to be running inside a container 19:02:20 $ 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/87 -v /w/workspace/device-rest-go/87:/w/workspace/device-rest-go/87:rw,z -v /w/workspace/device-rest-go/87@tmp:/w/workspace/device-rest-go/87@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 19:02:21 $ docker top d2c52c1eb259797c6bdd5cf796e8b5577e792c7ccc3d8a61422478a9f89ee66a -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:22 + git config --global --add safe.directory /w/workspace/device-rest-go/87 [Pipeline] fileExists [Pipeline] sh 19:02:22 + make test 19:02:22 go test ./... -coverprofile=coverage.out ./... 19:02:24 ? github.com/edgexfoundry/device-rest-go [no test files] 19:04:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:04:00 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 33.9% of statements 19:04:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:04:00 go vet ./... 19:04:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:15 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:04:16 $ docker stop --time=1 d2c52c1eb259797c6bdd5cf796e8b5577e792c7ccc3d8a61422478a9f89ee66a 19:04:17 $ docker rm -f --volumes d2c52c1eb259797c6bdd5cf796e8b5577e792c7ccc3d8a61422478a9f89ee66a [Pipeline] // withDockerContainer [Pipeline] sh 19:04:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:18 Warning: overwriting stash ‘coverage-report’ 19:04:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:20 + ls -al . 19:04:20 total 180 19:04:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 19:02 . 19:04:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 19:00 .. 19:04:20 -rw-rw-r-- 1 jenkins jenkins 151 Mar 1 19:00 .dockerignore 19:04:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 19:00 .git 19:04:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:00 .github 19:04:20 -rw-rw-r-- 1 jenkins jenkins 329 Mar 1 19:00 .gitignore 19:04:20 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 19:00 .golangci.yml 19:04:20 -rw-rw-r-- 1 jenkins jenkins 9213 Mar 1 19:00 Attribution.txt 19:04:20 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 1 19:00 CHANGELOG.md 19:04:20 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 1 19:00 Dockerfile 19:04:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 19:00 GOVERNANCE.md 19:04:20 -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 19:00 Jenkinsfile 19:04:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 19:00 LICENSE 19:04:20 -rw-rw-r-- 1 jenkins jenkins 1744 Mar 1 19:00 Makefile 19:04:20 -rw-rw-r-- 1 jenkins jenkins 620 Mar 1 19:00 OWNERS.md 19:04:20 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 1 19:00 README.md 19:04:20 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 18:56 VERSION 19:04:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 19:00 bin 19:04:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:00 cmd 19:04:20 -rw-r--r-- 1 jenkins jenkins 13744 Mar 1 19:03 coverage.out 19:04:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 19:00 driver 19:04:20 -rw-rw-r-- 1 jenkins jenkins 3401 Mar 1 19:00 go.mod 19:04:20 -rw-rw-r-- 1 jenkins jenkins 31300 Mar 1 19:00 go.sum 19:04:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 19:00 snap 19:04:20 -rw-rw-r-- 1 jenkins jenkins 713 Mar 1 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:20 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f --label arch=arm64 --label version=3.0.0-dev.15 . 19:04:20 Sending build context to Docker daemon 153.1kB 19:04:20 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:04:20 Step 2/25 : FROM ${BASE} AS builder 19:04:20 ---> 50da2b8d669a 19:04:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:04:20 ---> Running in 245f9f093bca 19:04:21 Removing intermediate container 245f9f093bca 19:04:21 ---> 38ecf8ebdd7e 19:04:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:21 ---> Running in fb485b980d03 19:04:21 Removing intermediate container fb485b980d03 19:04:21 ---> a7f9dbbd99f5 19:04:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:04:21 ---> Running in 8dd62e24a943 19:04:21 Removing intermediate container 8dd62e24a943 19:04:21 ---> 93ea21949067 19:04:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:04:22 ---> Running in 486350bb6192 19:04:22 Removing intermediate container 486350bb6192 19:04:22 ---> f4c660f9373e 19:04:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:22 ---> Running in 7f5031f6ca67 19:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:04:24 OK: 226 MiB in 55 packages 19:04:26 Removing intermediate container 7f5031f6ca67 19:04:26 ---> 62cb45524031 19:04:26 Step 8/25 : WORKDIR /device-rest-go 19:04:26 ---> Running in 368fb266cf62 19:04:27 Removing intermediate container 368fb266cf62 19:04:27 ---> 31d63044bc0d 19:04:27 Step 9/25 : COPY go.mod vendor* ./ 19:04:27 ---> f9ec7eb48a79 19:04:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:27 ---> Running in 52842f18400d 19:04:30 Removing intermediate container 52842f18400d 19:04:30 ---> da00a5d9cc94 19:04:30 Step 11/25 : COPY . . 19:04:31 ---> c6b564b92d31 19:04:31 Step 12/25 : RUN $MAKE 19:04:31 ---> Running in 07dca042f148 19:04:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:07:24 Removing intermediate container 07dca042f148 19:07:24 ---> 1998bc8b0d60 19:07:24 Step 13/25 : FROM alpine:3.16 19:07:24 3.16: Pulling from library/alpine 19:07:24 3760b48202b3: Pulling fs layer 19:07:24 3760b48202b3: Verifying Checksum 19:07:24 3760b48202b3: Download complete 19:07:24 3760b48202b3: Pull complete 19:07:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 19:07:24 Status: Downloaded newer image for alpine:3.16 19:07:24 ---> 4c81e5bf8899 19:07:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:07:24 ---> Running in 1433e5d05815 19:07:24 Removing intermediate container 1433e5d05815 19:07:24 ---> ddec3e10aadb 19:07:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:07:24 ---> Running in 1577dff16ee7 19:07:24 Removing intermediate container 1577dff16ee7 19:07:24 ---> 01de5f408aaa 19:07:24 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:07:24 ---> Running in 7f72ca6c452a 19:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:07:24 (1/1) Installing dumb-init (1.2.5-r1) 19:07:24 Executing busybox-1.35.0-r17.trigger 19:07:24 OK: 5 MiB in 15 packages 19:07:24 Removing intermediate container 7f72ca6c452a 19:07:24 ---> a66027318934 19:07:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:07:24 ---> bff89687f905 19:07:24 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:07:24 ---> dbd03b9157b2 19:07:24 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:07:24 ---> f1265454b81b 19:07:24 Step 20/25 : EXPOSE 59986 19:07:24 ---> Running in f1d11ee5f4d5 19:07:24 Removing intermediate container f1d11ee5f4d5 19:07:24 ---> fe441c9778cd 19:07:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:07:24 ---> Running in 82bda9f15be9 19:07:24 Removing intermediate container 82bda9f15be9 19:07:24 ---> 84d0985b848d 19:07:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:07:24 ---> Running in 446c741c8e37 19:07:24 Removing intermediate container 446c741c8e37 19:07:24 ---> 53997f5acab8 19:07:24 Step 23/25 : LABEL arch=arm64 19:07:24 ---> Running in c2fe75db06df 19:07:24 Removing intermediate container c2fe75db06df 19:07:24 ---> c29a9830de95 19:07:24 Step 24/25 : LABEL git_sha=dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 19:07:24 ---> Running in 6e09e795f7a7 19:07:24 Removing intermediate container 6e09e795f7a7 19:07:24 ---> beffb527336b 19:07:24 Step 25/25 : LABEL version=3.0.0-dev.15 19:07:24 ---> Running in 01ce31bd2882 19:07:24 Removing intermediate container 01ce31bd2882 19:07:24 ---> c195b95b4ccc 19:07:24 [Warning] One or more build-args [ARCH] were not consumed 19:07:24 Successfully built c195b95b4ccc 19:07:24 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 19:07:24 provisioning config files... 19:07:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/87@tmp/config14104045722752143891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:24 ---> docker-login.sh 19:07:24 nexus3.edgexfoundry.org:10001 19:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:25 Configure a credential helper to remove this warning. See 19:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:25 19:07:25 Login Succeeded 19:07:25 nexus3.edgexfoundry.org:10002 19:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:25 Configure a credential helper to remove this warning. See 19:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:25 19:07:25 Login Succeeded 19:07:25 nexus3.edgexfoundry.org:10003 19:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:25 Configure a credential helper to remove this warning. See 19:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:25 19:07:25 Login Succeeded 19:07:25 nexus3.edgexfoundry.org:10004 19:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:26 Configure a credential helper to remove this warning. See 19:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:26 19:07:26 Login Succeeded 19:07:26 docker.io 19:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:26 Configure a credential helper to remove this warning. See 19:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:26 19:07:26 Login Succeeded 19:07:26 ---> docker-login.sh ends [Pipeline] } 19:07:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:07:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:26 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 19:07:26 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 19:07:26 latest 19:07:26 3.0.0-dev.15 19:07:26 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 19:07:26 main 19:07:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 19:07:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:07:27 f3ec574a78be: Preparing 19:07:27 32fa1eb69c55: Preparing 19:07:27 f80b8cf8a23c: Preparing 19:07:27 3e3db652a211: Preparing 19:07:27 f70ee36035b9: Preparing 19:07:27 f70ee36035b9: Layer already exists 19:07:27 3e3db652a211: Pushed 19:07:27 f3ec574a78be: Pushed 19:07:27 32fa1eb69c55: Pushed 19:07:32 f80b8cf8a23c: Pushed 19:07:32 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f: digest: sha256:a0896bbdc16cb3dc26a2a13a7a9ce53788a081fd8e46c1c7895def43dee74bce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 19:07:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:07:33 f3ec574a78be: Preparing 19:07:33 32fa1eb69c55: Preparing 19:07:33 f80b8cf8a23c: Preparing 19:07:33 3e3db652a211: Preparing 19:07:33 f70ee36035b9: Preparing 19:07:33 f3ec574a78be: Layer already exists 19:07:33 3e3db652a211: Layer already exists 19:07:33 32fa1eb69c55: Layer already exists 19:07:33 f80b8cf8a23c: Layer already exists 19:07:33 f70ee36035b9: Layer already exists 19:07:33 latest: digest: sha256:a0896bbdc16cb3dc26a2a13a7a9ce53788a081fd8e46c1c7895def43dee74bce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.15 19:07:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:07:34 f3ec574a78be: Preparing 19:07:34 32fa1eb69c55: Preparing 19:07:34 f80b8cf8a23c: Preparing 19:07:34 3e3db652a211: Preparing 19:07:34 f70ee36035b9: Preparing 19:07:34 32fa1eb69c55: Layer already exists 19:07:34 f80b8cf8a23c: Layer already exists 19:07:34 f70ee36035b9: Layer already exists 19:07:34 3e3db652a211: Layer already exists 19:07:34 f3ec574a78be: Layer already exists 19:07:34 3.0.0-dev.15: digest: sha256:a0896bbdc16cb3dc26a2a13a7a9ce53788a081fd8e46c1c7895def43dee74bce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 19:07:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:07:35 f3ec574a78be: Preparing 19:07:35 32fa1eb69c55: Preparing 19:07:35 f80b8cf8a23c: Preparing 19:07:35 3e3db652a211: Preparing 19:07:35 f70ee36035b9: Preparing 19:07:35 f70ee36035b9: Layer already exists 19:07:35 f80b8cf8a23c: Layer already exists 19:07:35 f3ec574a78be: Layer already exists 19:07:35 32fa1eb69c55: Layer already exists 19:07:35 3e3db652a211: Layer already exists 19:07:35 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15: digest: sha256:a0896bbdc16cb3dc26a2a13a7a9ce53788a081fd8e46c1c7895def43dee74bce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 19:07:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 19:07:35 f3ec574a78be: Preparing 19:07:35 32fa1eb69c55: Preparing 19:07:35 f80b8cf8a23c: Preparing 19:07:35 3e3db652a211: Preparing 19:07:35 f70ee36035b9: Preparing 19:07:35 f70ee36035b9: Layer already exists 19:07:35 f3ec574a78be: Layer already exists 19:07:35 f80b8cf8a23c: Layer already exists 19:07:35 32fa1eb69c55: Layer already exists 19:07:35 3e3db652a211: Layer already exists 19:07:35 main: digest: sha256:a0896bbdc16cb3dc26a2a13a7a9ce53788a081fd8e46c1c7895def43dee74bce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:07:35 ===================================================== [Pipeline] echo 19:07:35 taggedImages: 19:07:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f 19:07:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 19:07:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.15 19:07:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f-3.0.0-dev.15 19:07:35 - 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 19:07:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:36 19:07:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:36 arm64: Pulling from edgex-lftools-log-publisher 19:07:36 8998bd30e6a1: Pulling fs layer 19:07:36 04944245beec: Pulling fs layer 19:07:36 699f458cf7ca: Pulling fs layer 19:07:36 765212b225bb: Pulling fs layer 19:07:36 f23df028b6ca: Pulling fs layer 19:07:36 d65c8cfc05b1: Pulling fs layer 19:07:36 2437ff75d9bd: Pulling fs layer 19:07:36 765212b225bb: Waiting 19:07:36 f23df028b6ca: Waiting 19:07:36 d65c8cfc05b1: Waiting 19:07:36 2437ff75d9bd: Waiting 19:07:36 04944245beec: Download complete 19:07:36 765212b225bb: Verifying Checksum 19:07:36 765212b225bb: Download complete 19:07:36 f23df028b6ca: Download complete 19:07:36 d65c8cfc05b1: Verifying Checksum 19:07:36 d65c8cfc05b1: Download complete 19:07:37 699f458cf7ca: Verifying Checksum 19:07:37 699f458cf7ca: Download complete 19:07:37 8998bd30e6a1: Verifying Checksum 19:07:37 8998bd30e6a1: Download complete 19:07:40 2437ff75d9bd: Download complete 19:07:41 8998bd30e6a1: Pull complete 19:07:41 04944245beec: Pull complete 19:07:43 699f458cf7ca: Pull complete 19:07:43 765212b225bb: Pull complete 19:07:44 f23df028b6ca: Pull complete 19:07:44 d65c8cfc05b1: Pull complete 19:07:56 2437ff75d9bd: Pull complete 19:07:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:56 prd-ubuntu20.04-docker-arm64-4c-16g-8004 does not seem to be running inside a container 19:07:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/87 -v /w/workspace/device-rest-go/87:/w/workspace/device-rest-go/87:rw,z -v /w/workspace/device-rest-go/87@tmp:/w/workspace/device-rest-go/87@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 19:07:59 $ docker top faa041594ae2eda088c0a74eca241cc6e7f5c7217dd1bd02722d74ffed6b37a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:03 ---> job-cost.sh 19:08:03 lf-activate-venv: SKIPPING 19:08:03 INFO: No Stack... 19:08:03 INFO: Retrieving Pricing Info for: v3-standard-4 19:08:04 INFO: Archiving Costs [Pipeline] sh 19:08:05 + cat /w/workspace/device-rest-go/87/archives/cost.csv 19:08:05 + cut -d, -f6 [Pipeline] lock 19:08:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] 19:08:05 Resource [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] did not exist. Created. 19:08:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:08:05 /w/workspace/device-rest-go/87@tmp/durable-2c9c59bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:08:06 + echo total: 0.10999999940395355 [Pipeline] stash 19:08:06 Warning: overwriting stash ‘stack-cost’ 19:08:06 Stashed 1 file(s) [Pipeline] } 19:08:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 19:08:06 $ docker stop --time=1 faa041594ae2eda088c0a74eca241cc6e7f5c7217dd1bd02722d74ffed6b37a5 19:08:08 $ docker rm -f --volumes faa041594ae2eda088c0a74eca241cc6e7f5c7217dd1bd02722d74ffed6b37a5 [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 19:08:08 provisioning config files... 19:08:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4578599276130946190tmp [Pipeline] { [Pipeline] sh 19:08:08 + set +x 19:08:08 + curl -s https://codecov.io/bash 19:08:08 + bash -s -- 19:08:08 19:08:08 _____ _ 19:08:08 / ____| | | 19:08:08 | | ___ __| | ___ ___ _____ __ 19:08:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:08:08 | |___| (_) | (_| | __/ (_| (_) \ V / 19:08:08 \_____\___/ \__,_|\___|\___\___/ \_/ 19:08:08 Bash-1.0.6 19:08:08 19:08:08 19:08:08 ==> git version 2.25.1 found 19:08:08 ==> 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 19:08:08 Release-Date: 2020-01-08 19:08:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:08:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:08:08 ==> Jenkins CI detected. 19:08:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 19:08:08 project root: . 19:08:08 --> token set from env 19:08:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:08:08 ==> Running gcov in . (disable via -X gcov) 19:08:08 ==> Python coveragepy not found 19:08:08 ==> Searching for coverage reports in: 19:08:08 + . 19:08:08 -> Found 1 reports 19:08:08 ==> Detecting git/mercurial file structure 19:08:08 ==> Reading reports 19:08:08 + ./coverage.out bytes=13744 19:08:08 ==> Appending adjustments 19:08:08 https://docs.codecov.io/docs/fixing-reports 19:08:09 + Found adjustments 19:08:09 ==> Gzipping contents 19:08:09 4.0K /tmp/codecov.LNj8yM.gz 19:08:09 ==> Uploading reports 19:08:09 url: https://codecov.io 19:08:09 query: branch=main&commit=dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:09 -> Pinging Codecov 19:08:09 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=dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:09 -> Uploading to 19:08:09 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/4E5D53B4F1F92C436F7061BF334D961C/dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f/b4da8451-6005-4239-819b-f2513e3962f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T190809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b4b04112a545fd9d2f93b2e836f3fe1d6816558d91a1b3bc0fb46985d443f18 19:08:09 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:09 Dload Upload Total Spent Left Speed 19:08:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8632 --:--:-- --:--:-- --:--:-- 8632 19:08:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] } 19:08:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:08:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:08:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:10 19:08:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:08:10 df9b9388f04a: Pulling fs layer 19:08:10 52dc419b0ee2: Pulling fs layer 19:08:10 25bc292e5bac: Pulling fs layer 19:08:10 114826534d7a: Pulling fs layer 19:08:10 4657fd5d0bcf: Pulling fs layer 19:08:10 6ad1cebc031e: Pulling fs layer 19:08:10 8a3aa393b2d8: Pulling fs layer 19:08:10 114826534d7a: Waiting 19:08:10 4657fd5d0bcf: Waiting 19:08:10 8a3aa393b2d8: Waiting 19:08:10 6ad1cebc031e: Waiting 19:08:10 25bc292e5bac: Verifying Checksum 19:08:10 25bc292e5bac: Download complete 19:08:10 52dc419b0ee2: Verifying Checksum 19:08:10 52dc419b0ee2: Download complete 19:08:10 4657fd5d0bcf: Verifying Checksum 19:08:10 4657fd5d0bcf: Download complete 19:08:10 df9b9388f04a: Verifying Checksum 19:08:10 df9b9388f04a: Download complete 19:08:10 df9b9388f04a: Pull complete 19:08:10 6ad1cebc031e: Verifying Checksum 19:08:10 6ad1cebc031e: Download complete 19:08:10 52dc419b0ee2: Pull complete 19:08:11 25bc292e5bac: Pull complete 19:08:11 114826534d7a: Verifying Checksum 19:08:11 114826534d7a: Download complete 19:08:11 8a3aa393b2d8: Verifying Checksum 19:08:11 8a3aa393b2d8: Download complete 19:08:14 114826534d7a: Pull complete 19:08:14 4657fd5d0bcf: Pull complete 19:08:15 6ad1cebc031e: Pull complete 19:08:17 8a3aa393b2d8: Pull complete 19:08:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:08:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:17 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 19:08:17 $ 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 19:08:22 $ docker top 46ece2441b9941a5621fd8c3620732841dafb79e469497698a87e99c43d0c691 -eo pid,comm [Pipeline] { [Pipeline] echo 19:08:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 19:08:22 + set -o pipefail 19:08:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 19:08:29 19:08:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 19:08:29 19:08:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/7f05d451-8c86-4f1b-9ce7-491993548861 19:08:29 19:08:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:08:29 19:08:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:08:29 19:08:29 19:08:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:08:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:08:29 More details here: https://snyk.co/ue1NS [Pipeline] } 19:08:29 $ docker stop --time=1 46ece2441b9941a5621fd8c3620732841dafb79e469497698a87e99c43d0c691 19:08:32 $ docker rm -f --volumes 46ece2441b9941a5621fd8c3620732841dafb79e469497698a87e99c43d0c691 [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 19:08:33 + git log --format=format:%s -1 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f [Pipeline] sh 19:08:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:33 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 19:08:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:08:34 $ docker top f60858d2cb1825eb0d4db9d973f141e964e83efb166172b80a7e7da5cfe205fa -eo pid,comm 19:08:34 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). 19:08:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:34 [ssh-agent] Looking for ssh-agent implementation... 19:08:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:34 $ docker exec f60858d2cb1825eb0d4db9d973f141e964e83efb166172b80a7e7da5cfe205fa ssh-agent 19:08:34 SSH_AUTH_SOCK=/tmp/ssh-p0A1OAaumlKk/agent.32 19:08:34 SSH_AGENT_PID=38 19:08:34 Running ssh-add (command line suppressed) 19:08:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1983660610788008811.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1983660610788008811.key) 19:08:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:34 + git semver tag 19:08:35 2023-03-01 19:08:34,928 [run_tag] DEBUG tag force:False 19:08:35 2023-03-01 19:08:34,928 [check_head_tag] DEBUG check head tag 19:08:35 2023-03-01 19:08:34,929 [execute] INFO git cat-file --batch-check 19:08:35 2023-03-01 19:08:34,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 19:08:35 2023-03-01 19:08:34,932 [execute] INFO git cat-file --batch 19:08:35 2023-03-01 19:08:34,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 19:08:35 2023-03-01 19:08:34,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:08:35 2023-03-01 19:08:34,948 [execute] INFO git tag -a v3.0.0-dev.15 -m v3.0.0-dev.15 19:08:35 2023-03-01 19:08:34,948 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.15', '-m', 'v3.0.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 19:08:35 2023-03-01 19:08:34,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:08:35 3.0.0-dev.15 [Pipeline] } 19:08:35 $ docker exec --env ******** --env ******** f60858d2cb1825eb0d4db9d973f141e964e83efb166172b80a7e7da5cfe205fa ssh-agent -k 19:08:35 unset SSH_AUTH_SOCK; 19:08:35 unset SSH_AGENT_PID; 19:08:35 echo Agent pid 38 killed; 19:08:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:35 + git semver [Pipeline] } 19:08:35 $ docker stop --time=1 f60858d2cb1825eb0d4db9d973f141e964e83efb166172b80a7e7da5cfe205fa 19:08:36 $ docker rm -f --volumes f60858d2cb1825eb0d4db9d973f141e964e83efb166172b80a7e7da5cfe205fa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:37 19:08:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:37 0.23.1-centos7: Pulling from edgex-lftools 19:08:37 ab5ef0e58194: Pulling fs layer 19:08:37 9712f1f96733: Pulling fs layer 19:08:37 63f879dbbcfc: Pulling fs layer 19:08:37 0d9ebad4ef96: Pulling fs layer 19:08:37 e9a5061849ea: Pulling fs layer 19:08:37 d747dcd14b5f: Pulling fs layer 19:08:37 2de7ff778b66: Pulling fs layer 19:08:37 0d9ebad4ef96: Waiting 19:08:37 d747dcd14b5f: Waiting 19:08:37 e9a5061849ea: Waiting 19:08:37 2de7ff778b66: Waiting 19:08:37 9712f1f96733: Verifying Checksum 19:08:37 9712f1f96733: Download complete 19:08:38 63f879dbbcfc: Verifying Checksum 19:08:38 63f879dbbcfc: Download complete 19:08:38 e9a5061849ea: Verifying Checksum 19:08:38 e9a5061849ea: Download complete 19:08:38 0d9ebad4ef96: Verifying Checksum 19:08:38 0d9ebad4ef96: Download complete 19:08:38 d747dcd14b5f: Verifying Checksum 19:08:38 d747dcd14b5f: Download complete 19:08:38 ab5ef0e58194: Verifying Checksum 19:08:38 ab5ef0e58194: Download complete 19:08:38 2de7ff778b66: Verifying Checksum 19:08:38 2de7ff778b66: Download complete 19:08:41 ab5ef0e58194: Pull complete 19:08:41 9712f1f96733: Pull complete 19:08:41 63f879dbbcfc: Pull complete 19:08:45 0d9ebad4ef96: Pull complete 19:08:45 e9a5061849ea: Pull complete 19:08:45 d747dcd14b5f: Pull complete 19:08:46 2de7ff778b66: Pull complete 19:08:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:46 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 19:08:46 $ 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 19:08:51 $ docker top 202a88e2c0bbb8de932480dfe7bcf4d7f8b35df4b1e7552d179ec7df559d8ee9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:08:51 provisioning config files... 19:08:51 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18024512106858917191tmp 19:08:51 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7876815513201978924tmp 19:08:51 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7830997148405584085tmp [Pipeline] { [Pipeline] echo 19:08:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:08:51 ---> sigul-configuration.sh 19:08:51 gpg: directory `/root/.gnupg' created 19:08:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:08:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:08:51 gpg: keyring `/root/.gnupg/secring.gpg' created 19:08:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:08:51 gpg: CAST5 encrypted data 19:08:51 gpg: encrypted with 1 passphrase 19:08:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:08:52 + mkdir /home/jenkins 19:08:52 + mkdir /home/jenkins/sigul [Pipeline] sh 19:08:52 + 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 19:08:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:08:52 ---> sigul-install.sh 19:08:52 Sigul already installed; skipping installation. [Pipeline] sh 19:08:53 + git tag --list 19:08:53 v1.0.0 19:08:53 v1.1.0 19:08:53 v1.1.1 19:08:53 v1.1.2 19:08:53 v1.2.0 19:08:53 v1.2.1 19:08:53 v2.0.0 19:08:53 v2.1.0 19:08:53 v2.1.1 19:08:53 v2.1.1-dev.1 19:08:53 v2.1.1-dev.2 19:08:53 v2.1.1-dev.3 19:08:53 v2.2.0 19:08:53 v2.2.1-dev.1 19:08:53 v2.2.1-dev.2 19:08:53 v2.2.1-dev.3 19:08:53 v2.2.1-dev.4 19:08:53 v2.2.1-dev.5 19:08:53 v2.2.1-dev.6 19:08:53 v2.2.1-dev.7 19:08:53 v2.2.1-dev.8 19:08:53 v2.2.1-dev.9 19:08:53 v2.3.0 19:08:53 v2.3.0-dev.10 19:08:53 v2.3.0-dev.11 19:08:53 v2.3.0-dev.12 19:08:53 v2.3.0-dev.13 19:08:53 v2.3.0-dev.14 19:08:53 v2.3.0-dev.15 19:08:53 v2.3.0-dev.16 19:08:53 v2.3.0-dev.17 19:08:53 v2.3.0-dev.18 19:08:53 v2.3.0-dev.19 19:08:53 v2.3.0-dev.20 19:08:53 v2.3.0-dev.21 19:08:53 v2.3.0-dev.22 19:08:53 v2.3.0-dev.23 19:08:53 v2.3.0-dev.24 19:08:53 v2.3.0-dev.25 19:08:53 v2.3.0-dev.9 19:08:53 v3.0.0-dev.1 19:08:53 v3.0.0-dev.10 19:08:53 v3.0.0-dev.11 19:08:53 v3.0.0-dev.12 19:08:53 v3.0.0-dev.13 19:08:53 v3.0.0-dev.14 19:08:53 v3.0.0-dev.15 19:08:53 v3.0.0-dev.2 19:08:53 v3.0.0-dev.3 19:08:53 v3.0.0-dev.4 19:08:53 v3.0.0-dev.5 19:08:53 v3.0.0-dev.6 19:08:53 v3.0.0-dev.7 19:08:53 v3.0.0-dev.8 19:08:53 v3.0.0-dev.9 [Pipeline] sh 19:08:53 + lftools sign git-tag v3.0.0-dev.15 19:08:53 Signing Git tag with Sigul... 19:08:53 Signing v3.0.0-dev.15 [Pipeline] echo 19:08:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:08:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:08:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:08:54 $ docker stop --time=1 202a88e2c0bbb8de932480dfe7bcf4d7f8b35df4b1e7552d179ec7df559d8ee9 19:08:55 $ docker rm -f --volumes 202a88e2c0bbb8de932480dfe7bcf4d7f8b35df4b1e7552d179ec7df559d8ee9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:08:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:56 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 19:08:56 $ 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 19:08:56 $ docker top 7e303a803bd43960bd47d3c8bfc5a861ca63efcb992979c29a3ad15d5a3fd265 -eo pid,comm 19:08:56 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). 19:08:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:56 [ssh-agent] Looking for ssh-agent implementation... 19:08:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:57 $ docker exec 7e303a803bd43960bd47d3c8bfc5a861ca63efcb992979c29a3ad15d5a3fd265 ssh-agent 19:08:57 SSH_AUTH_SOCK=/tmp/ssh-usBusA1rPAmL/agent.33 19:08:57 SSH_AGENT_PID=39 19:08:57 Running ssh-add (command line suppressed) 19:08:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15840910895216526274.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15840910895216526274.key) 19:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:57 + git semver bump pre 19:08:57 2023-03-01 19:08:57,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:08:57 2023-03-01 19:08:57,771 [bump_version] DEBUG bumping version:3.0.0-dev.15 on axis:pre with prefix:dev 19:08:57 2023-03-01 19:08:57,771 [bump_version] DEBUG bumped version:3.0.0-dev.16 19:08:57 2023-03-01 19:08:57,771 [write_version] DEBUG write version:3.0.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 19:08:57 2023-03-01 19:08:57,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:08:57 2023-03-01 19:08:57,771 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:08:57 2023-03-01 19:08:57,773 [execute] INFO git cat-file --batch-check 19:08:57 2023-03-01 19:08:57,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:08:57 2023-03-01 19:08:57,778 [execute] INFO git cat-file --batch 19:08:57 2023-03-01 19:08:57,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:08:57 2023-03-01 19:08:57,783 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:08:57 3.0.0-dev.16 [Pipeline] } 19:08:57 $ docker exec --env ******** --env ******** 7e303a803bd43960bd47d3c8bfc5a861ca63efcb992979c29a3ad15d5a3fd265 ssh-agent -k 19:08:57 unset SSH_AUTH_SOCK; 19:08:57 unset SSH_AGENT_PID; 19:08:57 echo Agent pid 39 killed; 19:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:58 + git semver [Pipeline] } 19:08:58 $ docker stop --time=1 7e303a803bd43960bd47d3c8bfc5a861ca63efcb992979c29a3ad15d5a3fd265 19:08:59 $ docker rm -f --volumes 7e303a803bd43960bd47d3c8bfc5a861ca63efcb992979c29a3ad15d5a3fd265 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:09:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:00 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 19:09: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 19:09:00 $ docker top 19746588c053a1f77173baed7cd84cc1eb25395192b888526d432dfa34aa5123 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:00 [ssh-agent] Looking for ssh-agent implementation... 19:09:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:01 $ docker exec 19746588c053a1f77173baed7cd84cc1eb25395192b888526d432dfa34aa5123 ssh-agent 19:09:01 SSH_AUTH_SOCK=/tmp/ssh-eIbhvao7nHry/agent.32 19:09:01 SSH_AGENT_PID=38 19:09:01 Running ssh-add (command line suppressed) 19:09:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5130896122275946568.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5130896122275946568.key) 19:09:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:01 + git semver push 19:09:01 2023-03-01 19:09:01,744 [run_push] DEBUG push 19:09:01 2023-03-01 19:09:01,745 [execute] INFO git cat-file --batch-check 19:09:01 2023-03-01 19:09:01,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:01 2023-03-01 19:09:01,748 [execute] INFO git rev-list 13ada1e64c5e226432dec527a4b6f943ccec4fe8 -- 19:09:01 2023-03-01 19:09:01,749 [execute] DEBUG Popen(['git', 'rev-list', '13ada1e64c5e226432dec527a4b6f943ccec4fe8', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:09:01 2023-03-01 19:09:01,756 [execute] INFO git fetch -v origin 19:09:01 2023-03-01 19:09:01,756 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:09:02 2023-03-01 19:09:02,358 [run_push] DEBUG no remote changes detected 19:09:02 2023-03-01 19:09:02,358 [execute] INFO git push origin semver 19:09:02 2023-03-01 19:09:02,359 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:09:03 2023-03-01 19:09:03,255 [run_push] DEBUG push all version tags 19:09:03 2023-03-01 19:09:03,255 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:09:03 2023-03-01 19:09:03,256 [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) 19:09:04 2023-03-01 19:09:04,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 19:09:04 3.0.0-dev.16 [Pipeline] } 19:09:04 $ docker exec --env ******** --env ******** 19746588c053a1f77173baed7cd84cc1eb25395192b888526d432dfa34aa5123 ssh-agent -k 19:09:04 unset SSH_AUTH_SOCK; 19:09:04 unset SSH_AGENT_PID; 19:09:04 echo Agent pid 38 killed; 19:09:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:04 + git semver [Pipeline] } 19:09:04 $ docker stop --time=1 19746588c053a1f77173baed7cd84cc1eb25395192b888526d432dfa34aa5123 19:09:06 $ docker rm -f --volumes 19746588c053a1f77173baed7cd84cc1eb25395192b888526d432dfa34aa5123 [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 19:09:06 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 19:09:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 19:09:06 total 16 19:09:06 drwxr-xr-x 3 root root 4096 Mar 1 18:58 . 19:09:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 19:08 .. 19:09:06 drwxr-xr-x 2 root root 4096 Mar 1 18:58 cost 19:09:06 -rw-r--r-- 1 root root 85 Mar 1 18:58 cost.csv 19:09:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 19:09:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 19:09:06 total 16 19:09:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 18:58 . 19:09:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 19:08 .. 19:09:06 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 18:58 cost 19:09:06 -rw-r--r-- 1 jenkins jenkins 85 Mar 1 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:09:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:09:07 ---> package-listing.sh 19:09:07 ++ facter osfamily 19:09:07 ++ tr '[:upper:]' '[:lower:]' 19:09:08 + OS_FAMILY=debian 19:09:08 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 19:09:08 + START_PACKAGES=/tmp/packages_start.txt 19:09:08 + END_PACKAGES=/tmp/packages_end.txt 19:09:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:09:08 + PACKAGES=/tmp/packages_start.txt 19:09:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:09:08 + PACKAGES=/tmp/packages_end.txt 19:09:08 + case "${OS_FAMILY}" in 19:09:08 + dpkg -l 19:09:08 + grep '^ii' 19:09:08 + '[' -f /tmp/packages_start.txt ']' 19:09:08 + '[' -f /tmp/packages_end.txt ']' 19:09:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:09:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 19:09:08 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 19:09:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 19:09:08 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 19:09:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:09 prd-ubuntu20.04-docker-8c-8g-8003 does not seem to be running inside a container 19:09:09 $ 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 19:09:09 $ docker top 10eaef12b296faf8678a317f7a8d5521b0e95ef7459cadeb0d46b726c736c263 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:09 + touch /tmp/pre-build-complete [Pipeline] sh 19:09:10 + mkdir -p /var/log/sysstat [Pipeline] sh 19:09:10 + ls /var/log/sa-host 19:09:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:09:10 provisioning config files... 19:09:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4758146967787805250tmp [Pipeline] { [Pipeline] echo 19:09:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:09:10 ---> create-netrc.sh [Pipeline] } 19:09:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:09:11 ---> python-tools-install.sh [Pipeline] echo 19:09:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:09:11 ---> sudo-logs.sh 19:09:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:09:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:09:11 ---> job-cost.sh 19:09:11 lf-activate-venv: SKIPPING 19:09:11 DEBUG: total: 0.2199999988079071 19:09:11 INFO: Retrieving Stack Cost... 19:09:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:12 INFO: Archiving Costs [Pipeline] echo 19:09:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:09:12 ---> logs-deploy.sh 19:09:12 lf-activate-venv: SKIPPING 19:09:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/87 19:09:12 INFO: archiving workspace using pattern(s): 19:09:13 Archives upload complete. 19:09:13 INFO: archiving logs to Nexus