Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92bd9c00148e5243a860f84a1cf80326c22a5698 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-ssh6493127079506252101.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-ssh14402842847151755050.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-ssh6904087756077756587.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-ssh13523928418275604632.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-ssh7571943190729568160.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-121221 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 92bd9c00148e5243a860f84a1cf80326c22a5698 (main) Commit message: "Merge pull request #230 from ejlee3/v3" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92bd9c00148e5243a860f84a1cf80326c22a5698 # timeout=10 > git rev-list --no-walk ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:43:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:43:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:43:01 ========================================================= 16:43:01 EdgeX Global Pipelines Version Info 16:43:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:43:02 ------------------- 16:43:02 stable info: 16:43:02 ------------------- 16:43:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:43:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:43:02 Message: update stable to v1.0.244 16:43:03 ------------------- 16:43:03 experimental info: 16:43:03 ------------------- 16:43:03 Commited By: **** collab-it+edgex@linuxfoundation.org 16:43:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:43:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92bd9c0 [Pipeline] echo 16:43:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:43:03 provisioning config files... 16:43:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1219025830751827087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:03 ---> docker-login.sh 16:43:03 nexus3.edgexfoundry.org:10001 16:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:04 Configure a credential helper to remove this warning. See 16:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:04 16:43:04 Login Succeeded 16:43:04 nexus3.edgexfoundry.org:10002 16:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:04 Configure a credential helper to remove this warning. See 16:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:04 16:43:04 Login Succeeded 16:43:04 nexus3.edgexfoundry.org:10003 16:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:04 Configure a credential helper to remove this warning. See 16:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:04 16:43:04 Login Succeeded 16:43:04 nexus3.edgexfoundry.org:10004 16:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:04 Configure a credential helper to remove this warning. See 16:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:04 16:43:04 Login Succeeded 16:43:04 docker.io 16:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:04 Configure a credential helper to remove this warning. See 16:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:04 16:43:04 Login Succeeded 16:43:04 ---> docker-login.sh ends [Pipeline] } 16:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:43:05 + git rev-list -1 --merges 92bd9c00148e5243a860f84a1cf80326c22a5698~1..92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] echo 16:43:05 -----------> git rev-list -1 --merges 92bd9c00148e5243a860f84a1cf80326c22a5698~1..92bd9c00148e5243a860f84a1cf80326c22a5698 92bd9c00148e5243a860f84a1cf80326c22a5698 16:43:05 92bd9c00148e5243a860f84a1cf80326c22a5698 [false] [Pipeline] sh 16:43:05 + git log --format=format:%s -1 92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] echo 16:43:05 ========================================================= 16:43:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:43:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:43:05 + git log --format=format:%s -1 92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] echo 16:43:05 [semverPrep] GIT_COMMIT: 92bd9c00148e5243a860f84a1cf80326c22a5698, Commit Message: Merge pull request #230 from ejlee3/v3 [Pipeline] echo 16:43:05 [semverPrep] This is not a build commit. [Pipeline] sh 16:43:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:43:06 + grep -v github /etc/ssh/ssh_known_hosts 16:43:06 + [ -e /tmp/ssh_known_hosts ] 16:43:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:43:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:43:06 + sudo tee -a /etc/ssh/ssh_known_hosts 16:43:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:43:06 16:43:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:43:06 0.1.4: Pulling from edgex-devops/py-git-semver 16:43:06 b85a868b505f: Pulling fs layer 16:43:06 e2be974225ed: Pulling fs layer 16:43:06 339a4e72a1f5: Pulling fs layer 16:43:06 988bab9f4d93: Pulling fs layer 16:43:06 1469e6f7b9e6: Pulling fs layer 16:43:06 eaf3925da568: Pulling fs layer 16:43:06 bab4dde63d76: Pulling fs layer 16:43:06 bde34c3a00c8: Pulling fs layer 16:43:06 b352a97aabf1: Pulling fs layer 16:43:06 4872d77fe225: Pulling fs layer 16:43:06 5851b861e8e6: Pulling fs layer 16:43:06 bab4dde63d76: Waiting 16:43:06 bde34c3a00c8: Waiting 16:43:06 b352a97aabf1: Waiting 16:43:06 4872d77fe225: Waiting 16:43:06 5851b861e8e6: Waiting 16:43:06 eaf3925da568: Waiting 16:43:06 988bab9f4d93: Waiting 16:43:06 1469e6f7b9e6: Waiting 16:43:06 e2be974225ed: Download complete 16:43:06 988bab9f4d93: Verifying Checksum 16:43:06 988bab9f4d93: Download complete 16:43:07 1469e6f7b9e6: Verifying Checksum 16:43:07 1469e6f7b9e6: Download complete 16:43:07 eaf3925da568: Download complete 16:43:07 339a4e72a1f5: Verifying Checksum 16:43:07 339a4e72a1f5: Download complete 16:43:07 bde34c3a00c8: Download complete 16:43:07 b352a97aabf1: Verifying Checksum 16:43:07 b352a97aabf1: Download complete 16:43:07 4872d77fe225: Verifying Checksum 16:43:07 4872d77fe225: Download complete 16:43:07 5851b861e8e6: Verifying Checksum 16:43:07 5851b861e8e6: Download complete 16:43:07 b85a868b505f: Verifying Checksum 16:43:07 b85a868b505f: Download complete 16:43:07 bab4dde63d76: Verifying Checksum 16:43:07 bab4dde63d76: Download complete 16:43:08 b85a868b505f: Pull complete 16:43:08 e2be974225ed: Pull complete 16:43:09 339a4e72a1f5: Pull complete 16:43:09 988bab9f4d93: Pull complete 16:43:09 1469e6f7b9e6: Pull complete 16:43:09 eaf3925da568: Pull complete 16:43:11 bab4dde63d76: Pull complete 16:43:11 bde34c3a00c8: Pull complete 16:43:11 b352a97aabf1: Pull complete 16:43:11 4872d77fe225: Pull complete 16:43:11 5851b861e8e6: Pull complete 16:43:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:43:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:43:12 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:43:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:43:16 $ docker top 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 -eo pid,comm 16:43:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:43:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:43:16 [ssh-agent] Looking for ssh-agent implementation... 16:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:43:16 $ docker exec 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 ssh-agent 16:43:16 SSH_AUTH_SOCK=/tmp/ssh-6dJFuBsgtG9I/agent.32 16:43:16 SSH_AGENT_PID=38 16:43:16 Running ssh-add (command line suppressed) 16:43:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1099270582924902546.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1099270582924902546.key) 16:43:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:43:16 + git tag --points-at HEAD [Pipeline] } 16:43:16 $ docker exec --env ******** --env ******** 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 ssh-agent -k 16:43:17 unset SSH_AUTH_SOCK; 16:43:17 unset SSH_AGENT_PID; 16:43:17 echo Agent pid 38 killed; 16:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:43:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:43:17 [ssh-agent] Looking for ssh-agent implementation... 16:43:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:43:17 $ docker exec 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 ssh-agent 16:43:17 SSH_AUTH_SOCK=/tmp/ssh-taMlN2GysRTR/agent.70 16:43:17 SSH_AGENT_PID=76 16:43:17 Running ssh-add (command line suppressed) 16:43:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4636804198802445938.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4636804198802445938.key) 16:43:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:43:17 + git semver init 16:43:18 2022-12-14 16:43:17,983 [run_init] DEBUG init version:0.0.0 force:False 16:43:18 2022-12-14 16:43:17,983 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:43:18 2022-12-14 16:43:17,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:43:18 2022-12-14 16:43:17,984 [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) 16:43:19 2022-12-14 16:43:19,057 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:43:19 2022-12-14 16:43:19,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:43:19 2022-12-14 16:43:19,058 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:43:19 2022-12-14 16:43:19,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:43:19 3.0.0-dev.1 [Pipeline] } 16:43:19 $ docker exec --env ******** --env ******** 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 ssh-agent -k 16:43:19 unset SSH_AUTH_SOCK; 16:43:19 unset SSH_AGENT_PID; 16:43:19 echo Agent pid 76 killed; 16:43:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:43:19 + git semver [Pipeline] } 16:43:20 $ docker stop --time=1 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 16:43:21 $ docker rm -f 48aa0cdb6d7c2a537192e35da834ec69030b710078f3181a2630bfeb2ce06769 [Pipeline] // withDockerContainer [Pipeline] sh 16:43:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:43:22 Stashed 1 file(s) [Pipeline] echo 16:43:22 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [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 16:43:22 provisioning config files... 16:43:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3714796996565851500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:22 ---> docker-login.sh 16:43:22 nexus3.edgexfoundry.org:10001 16:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:22 Configure a credential helper to remove this warning. See 16:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:22 16:43:22 Login Succeeded 16:43:22 nexus3.edgexfoundry.org:10002 16:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:22 Configure a credential helper to remove this warning. See 16:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:22 16:43:22 Login Succeeded 16:43:22 nexus3.edgexfoundry.org:10003 16:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:22 Configure a credential helper to remove this warning. See 16:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:22 16:43:22 Login Succeeded 16:43:22 nexus3.edgexfoundry.org:10004 16:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:22 Configure a credential helper to remove this warning. See 16:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:22 16:43:22 Login Succeeded 16:43:22 docker.io 16:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:23 Configure a credential helper to remove this warning. See 16:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:23 16:43:23 Login Succeeded 16:43:23 ---> docker-login.sh ends [Pipeline] } 16:43:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:43:23 ========================================================= 16:43:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:43:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:23 + 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 . 16:43:23 Sending build context to Docker daemon 10.77MB 16:43:23 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:43:23 Step 2/12 : FROM ${BASE} AS builder 16:43:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:43:23 213ec9aee27d: Pulling fs layer 16:43:23 4583459ba037: Pulling fs layer 16:43:23 93c1e223e6f2: Pulling fs layer 16:43:23 53926ce57604: Pulling fs layer 16:43:23 21b2b0c7a3f4: Pulling fs layer 16:43:23 22ff95d597cd: Pulling fs layer 16:43:23 12d6caf4c0d1: Pulling fs layer 16:43:23 96b7cbca73a9: Pulling fs layer 16:43:23 a7acece74701: Pulling fs layer 16:43:23 22ff95d597cd: Waiting 16:43:23 12d6caf4c0d1: Waiting 16:43:23 96b7cbca73a9: Waiting 16:43:23 53926ce57604: Waiting 16:43:23 a7acece74701: Waiting 16:43:23 21b2b0c7a3f4: Waiting 16:43:23 93c1e223e6f2: Verifying Checksum 16:43:23 93c1e223e6f2: Download complete 16:43:23 4583459ba037: Verifying Checksum 16:43:23 4583459ba037: Download complete 16:43:23 21b2b0c7a3f4: Verifying Checksum 16:43:23 21b2b0c7a3f4: Download complete 16:43:23 22ff95d597cd: Download complete 16:43:23 213ec9aee27d: Verifying Checksum 16:43:23 213ec9aee27d: Download complete 16:43:23 12d6caf4c0d1: Download complete 16:43:23 213ec9aee27d: Pull complete 16:43:24 4583459ba037: Pull complete 16:43:24 93c1e223e6f2: Pull complete 16:43:24 a7acece74701: Verifying Checksum 16:43:24 a7acece74701: Download complete 16:43:24 96b7cbca73a9: Verifying Checksum 16:43:24 96b7cbca73a9: Download complete 16:43:24 53926ce57604: Verifying Checksum 16:43:24 53926ce57604: Download complete 16:43:28 53926ce57604: Pull complete 16:43:28 21b2b0c7a3f4: Pull complete 16:43:28 22ff95d597cd: Pull complete 16:43:28 12d6caf4c0d1: Pull complete 16:43:31 96b7cbca73a9: Pull complete 16:43:31 a7acece74701: Pull complete 16:43:31 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:43:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:43:31 ---> db6d94c90886 16:43:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:43:36 ---> Running in 3d3b94ad7855 16:43:37 Still waiting to schedule task 16:43:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121218’ 16:43:37 Removing intermediate container 3d3b94ad7855 16:43:37 ---> a7fb278cfdff 16:43:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:43:37 ---> Running in b3367bb61e78 16:43:37 Removing intermediate container b3367bb61e78 16:43:37 ---> 77ea2223f630 16:43:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:43:37 ---> Running in 1fb8194969fd 16:43:37 Removing intermediate container 1fb8194969fd 16:43:37 ---> 91040dec8340 16:43:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:43:37 ---> Running in 50853a7a9430 16:43:37 Removing intermediate container 50853a7a9430 16:43:37 ---> 2531f35197ea 16:43:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:43:37 ---> Running in ff6346f5477b 16:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:43:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:43:38 (2/4) Installing libedit (20210910.3.1-r0) 16:43:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:43:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:43:38 Executing busybox-1.35.0-r17.trigger 16:43:38 OK: 216 MiB in 55 packages 16:43:38 Removing intermediate container ff6346f5477b 16:43:38 ---> a588a561fbc6 16:43:38 Step 8/12 : WORKDIR /device-rest-go 16:43:38 ---> Running in 4b3f5091080f 16:43:39 Removing intermediate container 4b3f5091080f 16:43:39 ---> 99e9d265dec4 16:43:39 Step 9/12 : COPY go.mod vendor* ./ 16:43:39 ---> ebfbb500fe8c 16:43:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:43:39 ---> Running in 567b017b68df 16:44:01 Removing intermediate container 567b017b68df 16:44:01 ---> 04f24a308f1a 16:44:01 Step 11/12 : COPY . . 16:44:01 ---> 7ed9573c7e23 16:44:01 Step 12/12 : RUN $MAKE 16:44:01 ---> Running in 8bbe98f30003 16:44:01 noop 16:44:01 Removing intermediate container 8bbe98f30003 16:44:01 ---> 4edbed879b01 16:44:01 Successfully built 4edbed879b01 16:44:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:01 + docker inspect -f . ci-base-image-x86_64 16:44:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:44:01 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:44:01 $ 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 16:44:02 $ docker top 28131005c54e7e85f3d2216b6d1b75514446fac51e2c78b649b51bd06cf159a6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:02 + go version 16:44:02 go version go1.18.7 linux/amd64 [Pipeline] } 16:44:02 $ docker stop --time=1 28131005c54e7e85f3d2216b6d1b75514446fac51e2c78b649b51bd06cf159a6 16:44:03 $ docker rm -f 28131005c54e7e85f3d2216b6d1b75514446fac51e2c78b649b51bd06cf159a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:04 + docker inspect -f . ci-base-image-x86_64 16:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:44:04 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:44:04 $ 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 16:44:04 $ docker top 21d68e57acc0f09b8bc315bc55217c8e9e09e953b68e9e74795de01983fe78e3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 16:44:05 + make test 16:44:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:44:05 ? github.com/edgexfoundry/device-rest-go [no test files] 16:44:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:44:15 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 16:44:22 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." 16:44:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:44:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:44:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:44:25 ./bin/test-attribution-txt.sh [Pipeline] echo 16:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:44:25 $ docker stop --time=1 21d68e57acc0f09b8bc315bc55217c8e9e09e953b68e9e74795de01983fe78e3 16:44:27 $ docker rm -f 21d68e57acc0f09b8bc315bc55217c8e9e09e953b68e9e74795de01983fe78e3 [Pipeline] // withDockerContainer [Pipeline] sh 16:44:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:44:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:44:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:29 + ls -al . 16:44:29 total 188 16:44:29 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 16:44 . 16:44:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:42 .. 16:44:29 -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 16:43 .dockerignore 16:44:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:44 .git 16:44:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:43 .github 16:44:29 -rw-rw-r-- 1 jenkins jenkins 329 Dec 14 16:43 .gitignore 16:44:29 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 16:43 .golangci.yml 16:44:29 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:43 .semver 16:44:29 -rw-rw-r-- 1 jenkins jenkins 9100 Dec 14 16:43 Attribution.txt 16:44:29 -rw-rw-r-- 1 jenkins jenkins 13085 Dec 14 16:43 CHANGELOG.md 16:44:29 -rw-rw-r-- 1 jenkins jenkins 1641 Dec 14 16:43 Dockerfile 16:44:29 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:43 GOVERNANCE.md 16:44:29 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 16:43 Jenkinsfile 16:44:29 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 16:43 LICENSE 16:44:29 -rw-rw-r-- 1 jenkins jenkins 2173 Dec 14 16:43 Makefile 16:44:29 -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 16:43 OWNERS.md 16:44:29 -rw-rw-r-- 1 jenkins jenkins 8667 Dec 14 16:43 README.md 16:44:29 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:43 VERSION 16:44:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:43 bin 16:44:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:43 cmd 16:44:29 -rw-r--r-- 1 jenkins jenkins 9355 Dec 14 16:44 coverage.out 16:44:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:43 driver 16:44:29 -rw-rw-r-- 1 jenkins jenkins 3488 Dec 14 16:43 go.mod 16:44:29 -rw-rw-r-- 1 jenkins jenkins 45013 Dec 14 16:43 go.sum 16:44:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:43 snap 16:44:29 -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 16:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:29 + 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=92bd9c00148e5243a860f84a1cf80326c22a5698 --label arch=amd64 --label version=3.0.0-dev.1 . 16:44:29 Sending build context to Docker daemon 10.78MB 16:44:29 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:44:29 Step 2/25 : FROM ${BASE} AS builder 16:44:29 ---> 4edbed879b01 16:44:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:44:29 ---> Running in b8b20faab056 16:44:29 Removing intermediate container b8b20faab056 16:44:29 ---> 62b2f34f9121 16:44:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:44:29 ---> Running in 23244cf45223 16:44:29 Removing intermediate container 23244cf45223 16:44:29 ---> 277b64d41e46 16:44:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:44:29 ---> Running in 8ab00368f413 16:44:29 Removing intermediate container 8ab00368f413 16:44:29 ---> dce300b15225 16:44:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:44:29 ---> Running in f36b1467d854 16:44:29 Removing intermediate container f36b1467d854 16:44:29 ---> 95fbeaaa7ecb 16:44:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:44:29 ---> Running in cdb2702bb4e6 16:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:44:30 OK: 216 MiB in 55 packages 16:44:30 Removing intermediate container cdb2702bb4e6 16:44:30 ---> e84abcabaf11 16:44:30 Step 8/25 : WORKDIR /device-rest-go 16:44:30 ---> Running in f7ae6d2a1aef 16:44:30 Removing intermediate container f7ae6d2a1aef 16:44:30 ---> 1027e2f0c965 16:44:30 Step 9/25 : COPY go.mod vendor* ./ 16:44:30 ---> c528aa9504b3 16:44:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:44:31 ---> Running in a10bf5f2039b 16:44:32 Removing intermediate container a10bf5f2039b 16:44:32 ---> 25fe468ea652 16:44:32 Step 11/25 : COPY . . 16:44:32 ---> 8a172398b398 16:44:32 Step 12/25 : RUN $MAKE 16:44:32 ---> Running in 29adb7803ea3 16:44:32 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 16:44:54 Removing intermediate container 29adb7803ea3 16:44:54 ---> c67f22e5066a 16:44:54 Step 13/25 : FROM alpine:3.16 16:44:54 3.16: Pulling from library/alpine 16:44:54 ca7dd9ec2225: Pulling fs layer 16:44:54 ca7dd9ec2225: Verifying Checksum 16:44:54 ca7dd9ec2225: Download complete 16:44:54 ca7dd9ec2225: Pull complete 16:44:54 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:44:54 Status: Downloaded newer image for alpine:3.16 16:44:54 ---> bfe296a52501 16:44:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:44:54 ---> Running in 95a3977fc347 16:44:54 Removing intermediate container 95a3977fc347 16:44:54 ---> 67f3638c9f55 16:44:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:44:54 ---> Running in 8224387bf8f3 16:44:54 Removing intermediate container 8224387bf8f3 16:44:54 ---> 60aeb588254f 16:44:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:44:54 ---> Running in 61172395b642 16:44:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:44:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:44:54 (1/6) Installing dumb-init (1.2.5-r1) 16:44:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:44:54 (3/6) Installing libsodium (1.0.18-r0) 16:44:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:44:54 (5/6) Installing libzmq (4.3.4-r0) 16:44:54 (6/6) Installing zeromq (4.3.4-r0) 16:44:54 Executing busybox-1.35.0-r17.trigger 16:44:54 OK: 8 MiB in 20 packages 16:44:54 Removing intermediate container 61172395b642 16:44:54 ---> f1379e6367b8 16:44:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:44:55 ---> 24f005f3fef8 16:44:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:44:55 ---> ed8e54da562c 16:44:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:44:55 ---> 8dd0bf6b8ac7 16:44:55 Step 20/25 : EXPOSE 59986 16:44:55 ---> Running in 75f4732e35ec 16:44:55 Removing intermediate container 75f4732e35ec 16:44:55 ---> d4ef0193be9a 16:44:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:44:55 ---> Running in 66e1255e9f1f 16:44:55 Removing intermediate container 66e1255e9f1f 16:44:55 ---> c484921a5410 16:44:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:44:55 ---> Running in b76f3eb92df9 16:44:55 Removing intermediate container b76f3eb92df9 16:44:55 ---> ceeae69e33e9 16:44:55 Step 23/25 : LABEL arch=amd64 16:44:55 ---> Running in 4e0ca1a8c7c8 16:44:55 Removing intermediate container 4e0ca1a8c7c8 16:44:55 ---> 7c9bbaae645a 16:44:55 Step 24/25 : LABEL git_sha=92bd9c00148e5243a860f84a1cf80326c22a5698 16:44:55 ---> Running in b4d103beafc5 16:44:55 Removing intermediate container b4d103beafc5 16:44:55 ---> 77a55ef2a3f0 16:44:55 Step 25/25 : LABEL version=3.0.0-dev.1 16:44:55 ---> Running in f0bdeaf5f0f0 16:44:55 Removing intermediate container f0bdeaf5f0f0 16:44:55 ---> eaf430654992 16:44:55 [Warning] One or more build-args [ARCH] were not consumed 16:44:55 Successfully built eaf430654992 16:44:55 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:44:55 provisioning config files... 16:44:55 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2608998982320723822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:56 ---> docker-login.sh 16:44:56 nexus3.edgexfoundry.org:10001 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 nexus3.edgexfoundry.org:10002 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 nexus3.edgexfoundry.org:10003 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 nexus3.edgexfoundry.org:10004 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 docker.io 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 ---> docker-login.sh ends [Pipeline] } 16:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:56 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:44:56 92bd9c00148e5243a860f84a1cf80326c22a5698 16:44:56 latest 16:44:56 3.0.0-dev.1 16:44:56 92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 16:44:56 main 16:44:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:92bd9c00148e5243a860f84a1cf80326c22a5698 16:44:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:44:57 a5fb5733dddd: Preparing 16:44:57 aa81a5a5f91f: Preparing 16:44:57 0d71a41a7794: Preparing 16:44:57 c939f6e6aae6: Preparing 16:44:57 e5e13b0c77cb: Preparing 16:44:57 e5e13b0c77cb: Layer already exists 16:44:57 a5fb5733dddd: Pushed 16:44:57 aa81a5a5f91f: Pushed 16:44:57 c939f6e6aae6: Pushed 16:45:00 0d71a41a7794: Pushed 16:45:00 92bd9c00148e5243a860f84a1cf80326c22a5698: digest: sha256:5a190e9b8d1edbc91f2d6b15b6de03f69ed443475486f3900fddecf6ec4d66b7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:45:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:45:00 a5fb5733dddd: Preparing 16:45:00 aa81a5a5f91f: Preparing 16:45:00 0d71a41a7794: Preparing 16:45:00 c939f6e6aae6: Preparing 16:45:00 e5e13b0c77cb: Preparing 16:45:00 aa81a5a5f91f: Layer already exists 16:45:00 a5fb5733dddd: Layer already exists 16:45:00 e5e13b0c77cb: Layer already exists 16:45:00 0d71a41a7794: Layer already exists 16:45:00 c939f6e6aae6: Layer already exists 16:45:00 latest: digest: sha256:5a190e9b8d1edbc91f2d6b15b6de03f69ed443475486f3900fddecf6ec4d66b7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.1 16:45:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:45:01 a5fb5733dddd: Preparing 16:45:01 aa81a5a5f91f: Preparing 16:45:01 0d71a41a7794: Preparing 16:45:01 c939f6e6aae6: Preparing 16:45:01 e5e13b0c77cb: Preparing 16:45:01 a5fb5733dddd: Layer already exists 16:45:01 0d71a41a7794: Layer already exists 16:45:01 c939f6e6aae6: Layer already exists 16:45:01 e5e13b0c77cb: Layer already exists 16:45:01 aa81a5a5f91f: Layer already exists 16:45:01 3.0.0-dev.1: digest: sha256:5a190e9b8d1edbc91f2d6b15b6de03f69ed443475486f3900fddecf6ec4d66b7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 16:45:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:45:02 a5fb5733dddd: Preparing 16:45:02 aa81a5a5f91f: Preparing 16:45:02 0d71a41a7794: Preparing 16:45:02 c939f6e6aae6: Preparing 16:45:02 e5e13b0c77cb: Preparing 16:45:02 e5e13b0c77cb: Layer already exists 16:45:02 0d71a41a7794: Layer already exists 16:45:02 aa81a5a5f91f: Layer already exists 16:45:02 a5fb5733dddd: Layer already exists 16:45:02 c939f6e6aae6: Layer already exists 16:45:02 92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1: digest: sha256:5a190e9b8d1edbc91f2d6b15b6de03f69ed443475486f3900fddecf6ec4d66b7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:45:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:45:02 a5fb5733dddd: Preparing 16:45:02 aa81a5a5f91f: Preparing 16:45:02 0d71a41a7794: Preparing 16:45:02 c939f6e6aae6: Preparing 16:45:02 e5e13b0c77cb: Preparing 16:45:02 c939f6e6aae6: Layer already exists 16:45:02 a5fb5733dddd: Layer already exists 16:45:02 aa81a5a5f91f: Layer already exists 16:45:02 0d71a41a7794: Layer already exists 16:45:02 e5e13b0c77cb: Layer already exists 16:45:02 main: digest: sha256:5a190e9b8d1edbc91f2d6b15b6de03f69ed443475486f3900fddecf6ec4d66b7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:45:02 ===================================================== [Pipeline] echo 16:45:02 taggedImages: 16:45:02 - nexus3.edgexfoundry.org:10004/device-rest:92bd9c00148e5243a860f84a1cf80326c22a5698 16:45:02 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:45:02 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.1 16:45:02 - nexus3.edgexfoundry.org:10004/device-rest:92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 16:45:02 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:03 16:45:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:03 latest: Pulling from edgex-lftools-log-publisher 16:45:03 5eb5b503b376: Pulling fs layer 16:45:03 5c69ac0246d0: Pulling fs layer 16:45:03 ec43610c2a17: Pulling fs layer 16:45:03 3a2ae6a8a46f: Pulling fs layer 16:45:03 33b1e0a273af: Pulling fs layer 16:45:03 3a2ae6a8a46f: Waiting 16:45:03 33b1e0a273af: Waiting 16:45:03 5d3b04190fa2: Pulling fs layer 16:45:03 2f39f015ded8: Pulling fs layer 16:45:03 5d3b04190fa2: Waiting 16:45:03 2f39f015ded8: Waiting 16:45:03 3a2ae6a8a46f: Verifying Checksum 16:45:03 3a2ae6a8a46f: Download complete 16:45:03 33b1e0a273af: Verifying Checksum 16:45:03 33b1e0a273af: Download complete 16:45:03 5d3b04190fa2: Verifying Checksum 16:45:03 5d3b04190fa2: Download complete 16:45:03 ec43610c2a17: Verifying Checksum 16:45:03 ec43610c2a17: Download complete 16:45:03 5eb5b503b376: Download complete 16:45:04 2f39f015ded8: Verifying Checksum 16:45:04 2f39f015ded8: Download complete 16:45:04 5eb5b503b376: Pull complete 16:45:04 5c69ac0246d0: Pull complete 16:45:05 ec43610c2a17: Pull complete 16:45:05 3a2ae6a8a46f: Pull complete 16:45:05 33b1e0a273af: Pull complete 16:45:05 5d3b04190fa2: Pull complete 16:45:09 2f39f015ded8: Pull complete 16:45:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:45:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:09 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:45:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:45:13 $ docker top 0297d6532c54d974e48e205e8911fc04d4770eb6da2471235f20dfea28b9752f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:14 ---> job-cost.sh 16:45:14 lf-activate-venv: SKIPPING 16:45:14 INFO: No Stack... 16:45:14 INFO: Retrieving Pricing Info for: v3-standard-8 16:45:14 INFO: Archiving Costs [Pipeline] sh 16:45:14 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 16:45:14 + cut -d, -f6 [Pipeline] lock 16:45:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] 16:45:14 Resource [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] did not exist. Created. 16:45:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:45:15 + echo total: 0.2199999988079071 [Pipeline] stash 16:45:15 Stashed 1 file(s) [Pipeline] } 16:45:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 16:45:15 $ docker stop --time=1 0297d6532c54d974e48e205e8911fc04d4770eb6da2471235f20dfea28b9752f 16:45:16 $ docker rm -f 0297d6532c54d974e48e205e8911fc04d4770eb6da2471235f20dfea28b9752f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:46:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121224 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:46:18 Running in /w/workspace/device-rest-go/73 [Pipeline] { [Pipeline] checkout 16:46:18 The recommended git tool is: git 16:46:23 using credential edgex-jenkins-ssh 16:46:23 Cloning the remote Git repository 16:46:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:46:23 > git init /w/workspace/device-rest-go/73 # timeout=10 16:46:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:46:24 > git --version # timeout=10 16:46:24 > git --version # 'git version 2.25.1' 16:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:46:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:46:26 Avoid second fetch 16:46:26 Checking out Revision 92bd9c00148e5243a860f84a1cf80326c22a5698 (main) 16:46:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:46:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:46:26 > git config core.sparsecheckout # timeout=10 16:46:26 > git checkout -f 92bd9c00148e5243a860f84a1cf80326c22a5698 # timeout=10 16:46:27 Commit message: "Merge pull request #230 from ejlee3/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:46:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:46:28 % Total % Received % Xferd Average Speed Time Time Time Current 16:46:28 Dload Upload Total Spent Left Speed 16:46:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 16:46:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:46:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:46:29 + sudo tee /etc/docker/daemon.new 16:46:29 { 16:46:29 "registry-mirrors": [ 16:46:29 "https://nexus3.edgexfoundry.org:10001" 16:46:29 ], 16:46:29 "bip": "10.250.0.254/24", 16:46:29 "hosts": [ 16:46:29 "tcp://0.0.0.0:5555", 16:46:29 "unix:///var/run/docker.sock" 16:46:29 ], 16:46:29 "mtu": 1458, 16:46:29 "selinux-enabled": true, 16:46:29 "seccomp-profile": "/etc/docker/seccomp.json" 16:46:29 } [Pipeline] sh 16:46:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:46:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:48 provisioning config files... 16:46:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/73@tmp/config1445903410423926084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:48 ---> docker-login.sh 16:46:48 nexus3.edgexfoundry.org:10001 16:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:49 Configure a credential helper to remove this warning. See 16:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:49 16:46:49 Login Succeeded 16:46:49 nexus3.edgexfoundry.org:10002 16:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:49 Configure a credential helper to remove this warning. See 16:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:49 16:46:49 Login Succeeded 16:46:49 nexus3.edgexfoundry.org:10003 16:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:50 Configure a credential helper to remove this warning. See 16:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:50 16:46:50 Login Succeeded 16:46:50 nexus3.edgexfoundry.org:10004 16:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:50 Configure a credential helper to remove this warning. See 16:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:50 16:46:50 Login Succeeded 16:46:50 docker.io 16:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:51 Configure a credential helper to remove this warning. See 16:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:51 16:46:51 Login Succeeded 16:46:51 ---> docker-login.sh ends [Pipeline] } 16:46:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:46:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:46:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:46:51 ========================================================= 16:46:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:46:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:46:51 Sending build context to Docker daemon 129.5kB 16:46:52 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:46:52 Step 2/12 : FROM ${BASE} AS builder 16:46:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:46:52 9b18e9b68314: Pulling fs layer 16:46:52 35d82f9e3411: Pulling fs layer 16:46:52 e16973657156: Pulling fs layer 16:46:52 fc693d55d65f: Pulling fs layer 16:46:52 7e9fc2657dce: Pulling fs layer 16:46:52 dda99020689f: Pulling fs layer 16:46:52 db1c61fa0a46: Pulling fs layer 16:46:52 891c053d2c06: Pulling fs layer 16:46:52 fc693d55d65f: Waiting 16:46:52 7e9fc2657dce: Waiting 16:46:52 dda99020689f: Waiting 16:46:52 db1c61fa0a46: Waiting 16:46:52 891c053d2c06: Waiting 16:46:52 e16973657156: Download complete 16:46:52 35d82f9e3411: Verifying Checksum 16:46:52 35d82f9e3411: Download complete 16:46:52 7e9fc2657dce: Verifying Checksum 16:46:52 7e9fc2657dce: Download complete 16:46:52 dda99020689f: Verifying Checksum 16:46:52 dda99020689f: Download complete 16:46:52 9b18e9b68314: Verifying Checksum 16:46:52 9b18e9b68314: Download complete 16:46:53 9b18e9b68314: Pull complete 16:46:53 891c053d2c06: Verifying Checksum 16:46:53 891c053d2c06: Download complete 16:46:54 35d82f9e3411: Pull complete 16:46:54 e16973657156: Pull complete 16:46:54 db1c61fa0a46: Verifying Checksum 16:46:54 db1c61fa0a46: Download complete 16:46:55 fc693d55d65f: Verifying Checksum 16:46:55 fc693d55d65f: Download complete 16:47:07 fc693d55d65f: Pull complete 16:47:07 7e9fc2657dce: Pull complete 16:47:07 dda99020689f: Pull complete 16:47:14 db1c61fa0a46: Pull complete 16:47:16 891c053d2c06: Pull complete 16:47:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:47:16 ---> f96f9c87975a 16:47:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:47:18 ---> Running in abfea1792c1d 16:47:18 Removing intermediate container abfea1792c1d 16:47:18 ---> 78352033e561 16:47:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:47:18 ---> Running in e7e3e0b69f2d 16:47:19 Removing intermediate container e7e3e0b69f2d 16:47:19 ---> 2824ba5bfca4 16:47:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:47:19 ---> Running in bb569cd8fa32 16:47:19 Removing intermediate container bb569cd8fa32 16:47:19 ---> 0e059b83259e 16:47:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:47:19 ---> Running in 1dd440e6eca8 16:47:19 Removing intermediate container 1dd440e6eca8 16:47:19 ---> ea2a908c0ad4 16:47:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:47:19 ---> Running in 038c10f08d11 16:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:47:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:47:22 (2/4) Installing libedit (20210910.3.1-r0) 16:47:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:47:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:47:22 Executing busybox-1.35.0-r17.trigger 16:47:22 OK: 226 MiB in 55 packages 16:47:24 Removing intermediate container 038c10f08d11 16:47:24 ---> 704e0dfa1e8f 16:47:24 Step 8/12 : WORKDIR /device-rest-go 16:47:24 ---> Running in f698de104519 16:47:24 Removing intermediate container f698de104519 16:47:24 ---> 7a0a8174cfd4 16:47:24 Step 9/12 : COPY go.mod vendor* ./ 16:47:25 ---> 7558d1796612 16:47:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:47:25 ---> Running in 1cb4704ce2c6 16:48:21 Removing intermediate container 1cb4704ce2c6 16:48:21 ---> dc01ee4f0aa4 16:48:21 Step 11/12 : COPY . . 16:48:21 ---> d07d917d77e7 16:48:21 Step 12/12 : RUN $MAKE 16:48:21 ---> Running in d11fab4fc3cc 16:48:21 noop 16:48:21 Removing intermediate container d11fab4fc3cc 16:48:21 ---> 5db0f27612ec 16:48:21 Successfully built 5db0f27612ec 16:48:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:21 + docker inspect -f . ci-base-image-arm64 16:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:21 prd-ubuntu20.04-docker-arm64-4c-16g-121224 does not seem to be running inside a container 16:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/73 -v /w/workspace/device-rest-go/73:/w/workspace/device-rest-go/73:rw,z -v /w/workspace/device-rest-go/73@tmp:/w/workspace/device-rest-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:48:23 $ docker top a6355e925f66b8c839dadf4a7fe27eec568dfa592cfa7e6594bf333cc286a658 -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:24 + go version 16:48:24 go version go1.18.7 linux/arm64 [Pipeline] } 16:48:24 $ docker stop --time=1 a6355e925f66b8c839dadf4a7fe27eec568dfa592cfa7e6594bf333cc286a658 16:48:25 $ docker rm -f a6355e925f66b8c839dadf4a7fe27eec568dfa592cfa7e6594bf333cc286a658 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:26 + docker inspect -f . ci-base-image-arm64 16:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:26 prd-ubuntu20.04-docker-arm64-4c-16g-121224 does not seem to be running inside a container 16:48:26 $ 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/73 -v /w/workspace/device-rest-go/73:/w/workspace/device-rest-go/73:rw,z -v /w/workspace/device-rest-go/73@tmp:/w/workspace/device-rest-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:48:27 $ docker top 1c2249aab61c3bbca51e3fef884e919835d0f3a4d5c62e0f97254bc2aace049e -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:28 + git config --global --add safe.directory /w/workspace/device-rest-go/73 [Pipeline] fileExists [Pipeline] sh 16:48:28 + make test 16:48:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:48:31 ? github.com/edgexfoundry/device-rest-go [no test files] 16:50:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:50:07 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 16:50:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:50:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:50:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:50:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:50:22 ./bin/test-attribution-txt.sh [Pipeline] echo 16:50:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:50:22 $ docker stop --time=1 1c2249aab61c3bbca51e3fef884e919835d0f3a4d5c62e0f97254bc2aace049e 16:50:24 $ docker rm -f 1c2249aab61c3bbca51e3fef884e919835d0f3a4d5c62e0f97254bc2aace049e [Pipeline] // withDockerContainer [Pipeline] sh 16:50:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:50:25 Warning: overwriting stash ‘coverage-report’ 16:50:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:50:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:26 + ls -al . 16:50:26 total 184 16:50:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:48 . 16:50:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:46 .. 16:50:26 -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 16:46 .dockerignore 16:50:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:46 .git 16:50:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:46 .github 16:50:26 -rw-rw-r-- 1 jenkins jenkins 329 Dec 14 16:46 .gitignore 16:50:26 -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 16:46 .golangci.yml 16:50:26 -rw-rw-r-- 1 jenkins jenkins 9100 Dec 14 16:46 Attribution.txt 16:50:26 -rw-rw-r-- 1 jenkins jenkins 13085 Dec 14 16:46 CHANGELOG.md 16:50:26 -rw-rw-r-- 1 jenkins jenkins 1641 Dec 14 16:46 Dockerfile 16:50:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:46 GOVERNANCE.md 16:50:26 -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 16:46 Jenkinsfile 16:50:26 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 16:46 LICENSE 16:50:26 -rw-rw-r-- 1 jenkins jenkins 2173 Dec 14 16:46 Makefile 16:50:26 -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 16:46 OWNERS.md 16:50:26 -rw-rw-r-- 1 jenkins jenkins 8667 Dec 14 16:46 README.md 16:50:26 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:43 VERSION 16:50:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:46 bin 16:50:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:46 cmd 16:50:26 -rw-r--r-- 1 jenkins jenkins 9355 Dec 14 16:49 coverage.out 16:50:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:46 driver 16:50:26 -rw-rw-r-- 1 jenkins jenkins 3488 Dec 14 16:46 go.mod 16:50:26 -rw-rw-r-- 1 jenkins jenkins 45013 Dec 14 16:46 go.sum 16:50:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:46 snap 16:50:26 -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 16:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:27 + 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=92bd9c00148e5243a860f84a1cf80326c22a5698 --label arch=arm64 --label version=3.0.0-dev.1 . 16:50:27 Sending build context to Docker daemon 139.8kB 16:50:27 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:50:27 Step 2/25 : FROM ${BASE} AS builder 16:50:27 ---> 5db0f27612ec 16:50:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:50:27 ---> Running in 9655697501a2 16:50:28 Removing intermediate container 9655697501a2 16:50:28 ---> a82b26be6ec5 16:50:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:50:28 ---> Running in 5b4c677777b7 16:50:28 Removing intermediate container 5b4c677777b7 16:50:28 ---> 7836dc89da43 16:50:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:50:28 ---> Running in c71ebfff1e3e 16:50:28 Removing intermediate container c71ebfff1e3e 16:50:28 ---> 1bd1986e354f 16:50:28 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:50:28 ---> Running in 3beeed619fd8 16:50:29 Removing intermediate container 3beeed619fd8 16:50:29 ---> 110de574cf15 16:50:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:50:29 ---> Running in 129da2291901 16:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:50:32 OK: 226 MiB in 55 packages 16:50:32 Removing intermediate container 129da2291901 16:50:32 ---> 527636a8a21b 16:50:32 Step 8/25 : WORKDIR /device-rest-go 16:50:32 ---> Running in bcb7c908b28c 16:50:33 Removing intermediate container bcb7c908b28c 16:50:33 ---> e16632cc27b9 16:50:33 Step 9/25 : COPY go.mod vendor* ./ 16:50:33 ---> 4b974ac7410a 16:50:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:33 ---> Running in 0f4dfa12f8e7 16:50:36 Removing intermediate container 0f4dfa12f8e7 16:50:36 ---> 399d4fb1eb9e 16:50:36 Step 11/25 : COPY . . 16:50:37 ---> f92c75937453 16:50:37 Step 12/25 : RUN $MAKE 16:50:37 ---> Running in 3ca110243fb0 16:50:38 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 16:53:15 Removing intermediate container 3ca110243fb0 16:53:15 ---> 73dc862160a9 16:53:15 Step 13/25 : FROM alpine:3.16 16:53:15 3.16: Pulling from library/alpine 16:53:15 6875df1f5354: Pulling fs layer 16:53:15 6875df1f5354: Verifying Checksum 16:53:15 6875df1f5354: Download complete 16:53:15 6875df1f5354: Pull complete 16:53:15 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:53:15 Status: Downloaded newer image for alpine:3.16 16:53:15 ---> 2b4661558fb8 16:53:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:53:15 ---> Running in b90f26cd94d1 16:53:15 Removing intermediate container b90f26cd94d1 16:53:15 ---> ad58a6ed06e3 16:53:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:53:15 ---> Running in 6aa635db259f 16:53:15 Removing intermediate container 6aa635db259f 16:53:15 ---> 020abd097009 16:53:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:53:15 ---> Running in 80d23c85e72d 16:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:53:15 (1/6) Installing dumb-init (1.2.5-r1) 16:53:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:53:15 (3/6) Installing libsodium (1.0.18-r0) 16:53:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:53:15 (5/6) Installing libzmq (4.3.4-r0) 16:53:15 (6/6) Installing zeromq (4.3.4-r0) 16:53:15 Executing busybox-1.35.0-r17.trigger 16:53:15 OK: 8 MiB in 20 packages 16:53:17 Removing intermediate container 80d23c85e72d 16:53:17 ---> d36e67e39bc7 16:53:17 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:53:19 ---> a1acd3e8d414 16:53:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:53:19 ---> 9386fda86ad9 16:53:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:53:19 ---> 98f8552358a1 16:53:19 Step 20/25 : EXPOSE 59986 16:53:19 ---> Running in fc80463791a9 16:53:19 Removing intermediate container fc80463791a9 16:53:19 ---> e95faa35c457 16:53:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:53:20 ---> Running in 05de59725b7a 16:53:20 Removing intermediate container 05de59725b7a 16:53:20 ---> f84b6680d456 16:53:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:53:20 ---> Running in 5f4d6d9324eb 16:53:20 Removing intermediate container 5f4d6d9324eb 16:53:20 ---> 65f499002207 16:53:20 Step 23/25 : LABEL arch=arm64 16:53:20 ---> Running in a5dd34c93581 16:53:21 Removing intermediate container a5dd34c93581 16:53:21 ---> 5107bb467655 16:53:21 Step 24/25 : LABEL git_sha=92bd9c00148e5243a860f84a1cf80326c22a5698 16:53:21 ---> Running in da525fca8bf0 16:53:21 Removing intermediate container da525fca8bf0 16:53:21 ---> 14618b6bae5f 16:53:21 Step 25/25 : LABEL version=3.0.0-dev.1 16:53:21 ---> Running in 951cc2e6588e 16:53:21 Removing intermediate container 951cc2e6588e 16:53:21 ---> 75bdb1e7e305 16:53:21 [Warning] One or more build-args [ARCH] were not consumed 16:53:21 Successfully built 75bdb1e7e305 16:53:21 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:53:22 provisioning config files... 16:53:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/73@tmp/config9202851745957248725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:22 ---> docker-login.sh 16:53:22 nexus3.edgexfoundry.org:10001 16:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:22 Configure a credential helper to remove this warning. See 16:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:22 16:53:22 Login Succeeded 16:53:22 nexus3.edgexfoundry.org:10002 16:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:23 Configure a credential helper to remove this warning. See 16:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:23 16:53:23 Login Succeeded 16:53:23 nexus3.edgexfoundry.org:10003 16:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:23 Configure a credential helper to remove this warning. See 16:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:23 16:53:23 Login Succeeded 16:53:23 nexus3.edgexfoundry.org:10004 16:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:23 Configure a credential helper to remove this warning. See 16:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:23 16:53:23 Login Succeeded 16:53:23 docker.io 16:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:24 Configure a credential helper to remove this warning. See 16:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:24 16:53:24 Login Succeeded 16:53:24 ---> docker-login.sh ends [Pipeline] } 16:53:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:53:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:53:24 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:53:24 92bd9c00148e5243a860f84a1cf80326c22a5698 16:53:24 latest 16:53:24 3.0.0-dev.1 16:53:24 92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 16:53:24 main 16:53:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:92bd9c00148e5243a860f84a1cf80326c22a5698 16:53:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:53:25 f0ab26a7e30d: Preparing 16:53:25 996a4e70535f: Preparing 16:53:25 f6dfa507f4ee: Preparing 16:53:25 1979019fc3ab: Preparing 16:53:25 17bec77d7fdc: Preparing 16:53:25 17bec77d7fdc: Layer already exists 16:53:25 f0ab26a7e30d: Pushed 16:53:25 996a4e70535f: Pushed 16:53:25 1979019fc3ab: Pushed 16:53:31 f6dfa507f4ee: Pushed 16:53:31 92bd9c00148e5243a860f84a1cf80326c22a5698: digest: sha256:976ad070cbf8412026b53cd4931ee818c612c72818fa818ddc66ed61a0f783ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:53:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:53:31 f0ab26a7e30d: Preparing 16:53:31 996a4e70535f: Preparing 16:53:31 f6dfa507f4ee: Preparing 16:53:31 1979019fc3ab: Preparing 16:53:31 17bec77d7fdc: Preparing 16:53:31 996a4e70535f: Layer already exists 16:53:31 17bec77d7fdc: Layer already exists 16:53:31 f0ab26a7e30d: Layer already exists 16:53:31 1979019fc3ab: Layer already exists 16:53:31 f6dfa507f4ee: Layer already exists 16:53:32 latest: digest: sha256:976ad070cbf8412026b53cd4931ee818c612c72818fa818ddc66ed61a0f783ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.1 16:53:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:53:32 f0ab26a7e30d: Preparing 16:53:32 996a4e70535f: Preparing 16:53:32 f6dfa507f4ee: Preparing 16:53:32 1979019fc3ab: Preparing 16:53:32 17bec77d7fdc: Preparing 16:53:32 f0ab26a7e30d: Layer already exists 16:53:32 996a4e70535f: Layer already exists 16:53:32 1979019fc3ab: Layer already exists 16:53:32 17bec77d7fdc: Layer already exists 16:53:32 f6dfa507f4ee: Layer already exists 16:53:32 3.0.0-dev.1: digest: sha256:976ad070cbf8412026b53cd4931ee818c612c72818fa818ddc66ed61a0f783ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 16:53:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:53:33 f0ab26a7e30d: Preparing 16:53:33 996a4e70535f: Preparing 16:53:33 f6dfa507f4ee: Preparing 16:53:33 1979019fc3ab: Preparing 16:53:33 17bec77d7fdc: Preparing 16:53:33 17bec77d7fdc: Layer already exists 16:53:33 f0ab26a7e30d: Layer already exists 16:53:33 f6dfa507f4ee: Layer already exists 16:53:33 996a4e70535f: Layer already exists 16:53:33 1979019fc3ab: Layer already exists 16:53:33 92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1: digest: sha256:976ad070cbf8412026b53cd4931ee818c612c72818fa818ddc66ed61a0f783ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:53:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:53:34 f0ab26a7e30d: Preparing 16:53:34 996a4e70535f: Preparing 16:53:34 f6dfa507f4ee: Preparing 16:53:34 1979019fc3ab: Preparing 16:53:34 17bec77d7fdc: Preparing 16:53:34 f6dfa507f4ee: Layer already exists 16:53:34 f0ab26a7e30d: Layer already exists 16:53:34 996a4e70535f: Layer already exists 16:53:34 1979019fc3ab: Layer already exists 16:53:34 17bec77d7fdc: Layer already exists 16:53:34 main: digest: sha256:976ad070cbf8412026b53cd4931ee818c612c72818fa818ddc66ed61a0f783ce size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:53:34 ===================================================== [Pipeline] echo 16:53:34 taggedImages: 16:53:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:92bd9c00148e5243a860f84a1cf80326c22a5698 16:53:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:53:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.1 16:53:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:92bd9c00148e5243a860f84a1cf80326c22a5698-3.0.0-dev.1 16:53:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:35 16:53:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:35 arm64: Pulling from edgex-lftools-log-publisher 16:53:35 8998bd30e6a1: Pulling fs layer 16:53:35 04944245beec: Pulling fs layer 16:53:35 699f458cf7ca: Pulling fs layer 16:53:35 765212b225bb: Pulling fs layer 16:53:35 f23df028b6ca: Pulling fs layer 16:53:35 d65c8cfc05b1: Pulling fs layer 16:53:35 2437ff75d9bd: Pulling fs layer 16:53:35 f23df028b6ca: Waiting 16:53:35 d65c8cfc05b1: Waiting 16:53:35 765212b225bb: Waiting 16:53:35 2437ff75d9bd: Waiting 16:53:35 04944245beec: Verifying Checksum 16:53:35 04944245beec: Download complete 16:53:35 765212b225bb: Verifying Checksum 16:53:35 765212b225bb: Download complete 16:53:35 f23df028b6ca: Verifying Checksum 16:53:35 f23df028b6ca: Download complete 16:53:35 d65c8cfc05b1: Verifying Checksum 16:53:35 d65c8cfc05b1: Download complete 16:53:35 699f458cf7ca: Verifying Checksum 16:53:35 699f458cf7ca: Download complete 16:53:36 8998bd30e6a1: Verifying Checksum 16:53:36 8998bd30e6a1: Download complete 16:53:38 2437ff75d9bd: Verifying Checksum 16:53:38 2437ff75d9bd: Download complete 16:53:40 8998bd30e6a1: Pull complete 16:53:40 04944245beec: Pull complete 16:53:44 699f458cf7ca: Pull complete 16:53:44 765212b225bb: Pull complete 16:53:44 f23df028b6ca: Pull complete 16:53:45 d65c8cfc05b1: Pull complete 16:54:00 2437ff75d9bd: Pull complete 16:54:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:54:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:00 prd-ubuntu20.04-docker-arm64-4c-16g-121224 does not seem to be running inside a container 16:54:00 $ 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/73 -v /w/workspace/device-rest-go/73:/w/workspace/device-rest-go/73:rw,z -v /w/workspace/device-rest-go/73@tmp:/w/workspace/device-rest-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:54:02 $ docker top 85964fea0713dee42d96cd5cfd204f37311d666269f84e7621339b3b99b350b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:03 ---> job-cost.sh 16:54:03 lf-activate-venv: SKIPPING 16:54:03 INFO: No Stack... 16:54:04 INFO: Retrieving Pricing Info for: v3-standard-4 16:54:05 INFO: Archiving Costs [Pipeline] sh 16:54:05 + cat /w/workspace/device-rest-go/73/archives/cost.csv 16:54:05 + cut -d, -f6 [Pipeline] lock 16:54:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] 16:54:05 Resource [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] did not exist. Created. 16:54:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:54:06 /w/workspace/device-rest-go/73@tmp/durable-5ba5ea7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:54:07 + echo total: 0.10999999940395355 [Pipeline] stash 16:54:07 Warning: overwriting stash ‘stack-cost’ 16:54:07 Stashed 1 file(s) [Pipeline] } 16:54:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 16:54:07 $ docker stop --time=1 85964fea0713dee42d96cd5cfd204f37311d666269f84e7621339b3b99b350b6 16:54:08 $ docker rm -f 85964fea0713dee42d96cd5cfd204f37311d666269f84e7621339b3b99b350b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:54:08 provisioning config files... 16:54:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3964469564636170773tmp [Pipeline] { [Pipeline] sh 16:54:09 + set +x 16:54:09 + + bashcurl -s -s -- https://codecov.io/bash 16:54:09 16:54:09 16:54:09 _____ _ 16:54:09 / ____| | | 16:54:09 | | ___ __| | ___ ___ _____ __ 16:54:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:54:09 | |___| (_) | (_| | __/ (_| (_) \ V / 16:54:09 \_____\___/ \__,_|\___|\___\___/ \_/ 16:54:09 Bash-1.0.6 16:54:09 16:54:09 16:54:09 ==> git version 2.25.1 found 16:54:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:54:09 Release-Date: 2020-01-08 16:54:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:54:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:54:09 ==> Jenkins CI detected. 16:54:09 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:54:09 project root: . 16:54:09 --> token set from env 16:54:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:54:09 ==> Running gcov in . (disable via -X gcov) 16:54:09 ==> Python coveragepy not found 16:54:09 ==> Searching for coverage reports in: 16:54:09 + . 16:54:09 -> Found 1 reports 16:54:09 ==> Detecting git/mercurial file structure 16:54:09 ==> Reading reports 16:54:09 + ./coverage.out bytes=9355 16:54:09 ==> Appending adjustments 16:54:09 https://docs.codecov.io/docs/fixing-reports 16:54:09 + Found adjustments 16:54:09 ==> Gzipping contents 16:54:09 4.0K /tmp/codecov.zQSR3i.gz 16:54:09 ==> Uploading reports 16:54:09 url: https://codecov.io 16:54:09 query: branch=main&commit=92bd9c00148e5243a860f84a1cf80326c22a5698&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:54:09 -> Pinging Codecov 16:54: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=92bd9c00148e5243a860f84a1cf80326c22a5698&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:54:09 -> Uploading to 16:54:09 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/4E5D53B4F1F92C436F7061BF334D961C/92bd9c00148e5243a860f84a1cf80326c22a5698/649255d2-6648-4fd9-b8b1-3aba8c749ff3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T165409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb481c62ee6213b0433b2bc1d4ede7cbc0a51bbe2aca5acf430231d66d44ebed 16:54:09 % Total % Received % Xferd Average Speed Time Time Time Current 16:54:09 Dload Upload Total Spent Left Speed 16:54:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 8670 --:--:-- --:--:-- --:--:-- 8670 16:54:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] } 16:54:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:54:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:54:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:54:10 16:54:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:54:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:54:10 df9b9388f04a: Pulling fs layer 16:54:10 52dc419b0ee2: Pulling fs layer 16:54:10 25bc292e5bac: Pulling fs layer 16:54:10 114826534d7a: Pulling fs layer 16:54:10 4657fd5d0bcf: Pulling fs layer 16:54:10 6ad1cebc031e: Pulling fs layer 16:54:10 8a3aa393b2d8: Pulling fs layer 16:54:10 4657fd5d0bcf: Waiting 16:54:10 6ad1cebc031e: Waiting 16:54:10 8a3aa393b2d8: Waiting 16:54:10 114826534d7a: Waiting 16:54:10 25bc292e5bac: Verifying Checksum 16:54:10 25bc292e5bac: Download complete 16:54:10 52dc419b0ee2: Download complete 16:54:10 4657fd5d0bcf: Verifying Checksum 16:54:10 4657fd5d0bcf: Download complete 16:54:10 df9b9388f04a: Verifying Checksum 16:54:10 df9b9388f04a: Download complete 16:54:11 6ad1cebc031e: Verifying Checksum 16:54:11 6ad1cebc031e: Download complete 16:54:11 df9b9388f04a: Pull complete 16:54:11 52dc419b0ee2: Pull complete 16:54:11 25bc292e5bac: Pull complete 16:54:11 114826534d7a: Verifying Checksum 16:54:11 114826534d7a: Download complete 16:54:11 8a3aa393b2d8: Verifying Checksum 16:54:11 8a3aa393b2d8: Download complete 16:54:15 114826534d7a: Pull complete 16:54:15 4657fd5d0bcf: Pull complete 16:54:15 6ad1cebc031e: Pull complete 16:54:18 8a3aa393b2d8: Pull complete 16:54:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:54:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:18 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:54:22 $ docker top 2cb34bbace191a391736b46db74020aec0e3e8a565fa00297833b4489359537b -eo pid,comm [Pipeline] { [Pipeline] echo 16:54:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:54:23 + set -o pipefail 16:54:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:54:29 16:54:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:54:29 16:54:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/7cf72411-2b27-45e1-85bb-05941f6b2648 16:54:29 16:54:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:54:29 16:54:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:54:29 16:54:29 16:54:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:54:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:54:29 More details here: https://snyk.co/ue1NS [Pipeline] } 16:54:29 $ docker stop --time=1 2cb34bbace191a391736b46db74020aec0e3e8a565fa00297833b4489359537b 16:54:33 $ docker rm -f 2cb34bbace191a391736b46db74020aec0e3e8a565fa00297833b4489359537b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:54:33 + git log --format=format:%s -1 92bd9c00148e5243a860f84a1cf80326c22a5698 [Pipeline] sh 16:54:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:34 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:54:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:54:35 $ docker top 4d041c03c0fa6c72391d8a09b3d6074173f44c19b72ed253577f8586df20b58f -eo pid,comm 16:54:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:54:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:35 [ssh-agent] Looking for ssh-agent implementation... 16:54:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:35 $ docker exec 4d041c03c0fa6c72391d8a09b3d6074173f44c19b72ed253577f8586df20b58f ssh-agent 16:54:35 SSH_AUTH_SOCK=/tmp/ssh-4ozME0h3QQ96/agent.32 16:54:35 SSH_AGENT_PID=38 16:54:35 Running ssh-add (command line suppressed) 16:54:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9595271221275703760.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9595271221275703760.key) 16:54:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:35 + git semver tag 16:54:35 2022-12-14 16:54:35,891 [run_tag] DEBUG tag force:False 16:54:35 2022-12-14 16:54:35,891 [check_head_tag] DEBUG check head tag 16:54:35 2022-12-14 16:54:35,892 [execute] INFO git cat-file --batch-check 16:54:35 2022-12-14 16:54:35,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:54:35 2022-12-14 16:54:35,896 [execute] INFO git cat-file --batch 16:54:35 2022-12-14 16:54:35,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:54:35 2022-12-14 16:54:35,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:54:35 2022-12-14 16:54:35,910 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 16:54:35 2022-12-14 16:54:35,910 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:54:35 2022-12-14 16:54:35,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:54:35 3.0.0-dev.1 [Pipeline] } 16:54:35 $ docker exec --env ******** --env ******** 4d041c03c0fa6c72391d8a09b3d6074173f44c19b72ed253577f8586df20b58f ssh-agent -k 16:54:36 unset SSH_AUTH_SOCK; 16:54:36 unset SSH_AGENT_PID; 16:54:36 echo Agent pid 38 killed; 16:54:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:36 + git semver [Pipeline] } 16:54:36 $ docker stop --time=1 4d041c03c0fa6c72391d8a09b3d6074173f44c19b72ed253577f8586df20b58f 16:54:37 $ docker rm -f 4d041c03c0fa6c72391d8a09b3d6074173f44c19b72ed253577f8586df20b58f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:54:38 16:54:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:54:38 0.23.1-centos7: Pulling from edgex-lftools 16:54:38 ab5ef0e58194: Pulling fs layer 16:54:38 9712f1f96733: Pulling fs layer 16:54:38 63f879dbbcfc: Pulling fs layer 16:54:38 0d9ebad4ef96: Pulling fs layer 16:54:38 e9a5061849ea: Pulling fs layer 16:54:38 d747dcd14b5f: Pulling fs layer 16:54:38 2de7ff778b66: Pulling fs layer 16:54:38 e9a5061849ea: Waiting 16:54:38 2de7ff778b66: Waiting 16:54:38 d747dcd14b5f: Waiting 16:54:38 0d9ebad4ef96: Waiting 16:54:38 9712f1f96733: Verifying Checksum 16:54:38 9712f1f96733: Download complete 16:54:38 63f879dbbcfc: Verifying Checksum 16:54:38 63f879dbbcfc: Download complete 16:54:39 e9a5061849ea: Verifying Checksum 16:54:39 e9a5061849ea: Download complete 16:54:39 d747dcd14b5f: Download complete 16:54:39 0d9ebad4ef96: Verifying Checksum 16:54:39 0d9ebad4ef96: Download complete 16:54:39 ab5ef0e58194: Download complete 16:54:39 2de7ff778b66: Verifying Checksum 16:54:39 2de7ff778b66: Download complete 16:54:41 ab5ef0e58194: Pull complete 16:54:41 9712f1f96733: Pull complete 16:54:42 63f879dbbcfc: Pull complete 16:54:45 0d9ebad4ef96: Pull complete 16:54:45 e9a5061849ea: Pull complete 16:54:46 d747dcd14b5f: Pull complete 16:54:46 2de7ff778b66: Pull complete 16:54:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:54:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:47 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:54:52 $ docker top 2e7da6d9e91fe58b710d6c20d81046f6891944ebb051279a7df446923ef75a63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:54:52 provisioning config files... 16:54:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14002718885534434270tmp 16:54:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14159649302982540951tmp 16:54:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config554212916117010339tmp [Pipeline] { [Pipeline] echo 16:54:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:54:52 ---> sigul-configuration.sh 16:54:52 gpg: directory `/root/.gnupg' created 16:54:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:54:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:54:52 gpg: keyring `/root/.gnupg/secring.gpg' created 16:54:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:54:52 gpg: CAST5 encrypted data 16:54:52 gpg: encrypted with 1 passphrase 16:54:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:54:52 + mkdir /home/jenkins 16:54:52 + mkdir /home/jenkins/sigul [Pipeline] sh 16:54:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:54:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:54:53 ---> sigul-install.sh 16:54:53 Sigul already installed; skipping installation. [Pipeline] sh 16:54:53 + git tag --list 16:54:53 v1.0.0 16:54:53 v1.1.0 16:54:53 v1.1.1 16:54:53 v1.1.2 16:54:53 v1.2.0 16:54:53 v1.2.1 16:54:53 v2.0.0 16:54:53 v2.1.0 16:54:53 v2.1.1 16:54:53 v2.1.1-dev.1 16:54:53 v2.1.1-dev.2 16:54:53 v2.1.1-dev.3 16:54:53 v2.2.0 16:54:53 v2.2.1-dev.1 16:54:53 v2.2.1-dev.2 16:54:53 v2.2.1-dev.3 16:54:53 v2.2.1-dev.4 16:54:53 v2.2.1-dev.5 16:54:53 v2.2.1-dev.6 16:54:53 v2.2.1-dev.7 16:54:53 v2.2.1-dev.8 16:54:53 v2.2.1-dev.9 16:54:53 v2.3.0 16:54:53 v2.3.0-dev.10 16:54:53 v2.3.0-dev.11 16:54:53 v2.3.0-dev.12 16:54:53 v2.3.0-dev.13 16:54:53 v2.3.0-dev.14 16:54:53 v2.3.0-dev.15 16:54:53 v2.3.0-dev.16 16:54:53 v2.3.0-dev.17 16:54:53 v2.3.0-dev.18 16:54:53 v2.3.0-dev.19 16:54:53 v2.3.0-dev.20 16:54:53 v2.3.0-dev.21 16:54:53 v2.3.0-dev.22 16:54:53 v2.3.0-dev.23 16:54:53 v2.3.0-dev.24 16:54:53 v2.3.0-dev.25 16:54:53 v2.3.0-dev.9 16:54:53 v3.0.0-dev.1 [Pipeline] sh 16:54:54 + lftools sign git-tag v3.0.0-dev.1 16:54:54 Signing Git tag with Sigul... 16:54:54 Signing v3.0.0-dev.1 [Pipeline] echo 16:54:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:54:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:54:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:54:55 $ docker stop --time=1 2e7da6d9e91fe58b710d6c20d81046f6891944ebb051279a7df446923ef75a63 16:54:56 $ docker rm -f 2e7da6d9e91fe58b710d6c20d81046f6891944ebb051279a7df446923ef75a63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:54:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:57 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:54:57 $ docker top 7f6e7f63c8a8ce2190b09d5d2640140cc6ad0776266ef020ee5bbb22dad27586 -eo pid,comm 16:54:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:54:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:57 [ssh-agent] Looking for ssh-agent implementation... 16:54:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:57 $ docker exec 7f6e7f63c8a8ce2190b09d5d2640140cc6ad0776266ef020ee5bbb22dad27586 ssh-agent 16:54:57 SSH_AUTH_SOCK=/tmp/ssh-DCyDzkKDVyKz/agent.33 16:54:57 SSH_AGENT_PID=39 16:54:57 Running ssh-add (command line suppressed) 16:54:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_862117740309796801.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_862117740309796801.key) 16:54:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:58 + git semver bump pre 16:54:58 2022-12-14 16:54:58,550 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:54:58 2022-12-14 16:54:58,550 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 16:54:58 2022-12-14 16:54:58,550 [bump_version] DEBUG bumped version:3.0.0-dev.2 16:54:58 2022-12-14 16:54:58,550 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:54:58 2022-12-14 16:54:58,550 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:54:58 2022-12-14 16:54:58,550 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:54:58 2022-12-14 16:54:58,553 [execute] INFO git cat-file --batch-check 16:54:58 2022-12-14 16:54:58,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:54:58 2022-12-14 16:54:58,558 [execute] INFO git cat-file --batch 16:54:58 2022-12-14 16:54:58,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:54:58 2022-12-14 16:54:58,563 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:54:58 3.0.0-dev.2 [Pipeline] } 16:54:58 $ docker exec --env ******** --env ******** 7f6e7f63c8a8ce2190b09d5d2640140cc6ad0776266ef020ee5bbb22dad27586 ssh-agent -k 16:54:58 unset SSH_AUTH_SOCK; 16:54:58 unset SSH_AGENT_PID; 16:54:58 echo Agent pid 39 killed; 16:54:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:59 + git semver [Pipeline] } 16:54:59 $ docker stop --time=1 7f6e7f63c8a8ce2190b09d5d2640140cc6ad0776266ef020ee5bbb22dad27586 16:55:00 $ docker rm -f 7f6e7f63c8a8ce2190b09d5d2640140cc6ad0776266ef020ee5bbb22dad27586 [Pipeline] // withDockerContainer [Pipeline] sh 16:55:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:55:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:55:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:01 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:55:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:55:01 $ docker top 47cc4bbee56c5e5149a3b0b26e8adb9bde6b5cf6076607f23d5ddc32010c59f7 -eo pid,comm 16:55:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:55:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:55:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:55:01 [ssh-agent] Looking for ssh-agent implementation... 16:55:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:55:01 $ docker exec 47cc4bbee56c5e5149a3b0b26e8adb9bde6b5cf6076607f23d5ddc32010c59f7 ssh-agent 16:55:01 SSH_AUTH_SOCK=/tmp/ssh-uf9sFCkRPHwG/agent.32 16:55:01 SSH_AGENT_PID=38 16:55:01 Running ssh-add (command line suppressed) 16:55:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5868140126148728899.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5868140126148728899.key) 16:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:55:02 + git semver push 16:55:02 2022-12-14 16:55:02,538 [run_push] DEBUG push 16:55:02 2022-12-14 16:55:02,538 [execute] INFO git cat-file --batch-check 16:55:02 2022-12-14 16:55:02,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:55:02 2022-12-14 16:55:02,542 [execute] INFO git rev-list 7e1851988f7fd6f63dfe7a69d67bc8b417acc955 -- 16:55:02 2022-12-14 16:55:02,542 [execute] DEBUG Popen(['git', 'rev-list', '7e1851988f7fd6f63dfe7a69d67bc8b417acc955', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:55:02 2022-12-14 16:55:02,546 [execute] INFO git fetch -v origin 16:55:02 2022-12-14 16:55:02,546 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:55:03 2022-12-14 16:55:03,304 [run_push] DEBUG no remote changes detected 16:55:03 2022-12-14 16:55:03,305 [execute] INFO git push origin semver 16:55:03 2022-12-14 16:55:03,305 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:55:04 2022-12-14 16:55:04,136 [run_push] DEBUG push all version tags 16:55:04 2022-12-14 16:55:04,136 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:55:04 2022-12-14 16:55:04,137 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:55:05 2022-12-14 16:55:04,907 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:55:05 3.0.0-dev.2 [Pipeline] } 16:55:05 $ docker exec --env ******** --env ******** 47cc4bbee56c5e5149a3b0b26e8adb9bde6b5cf6076607f23d5ddc32010c59f7 ssh-agent -k 16:55:05 unset SSH_AUTH_SOCK; 16:55:05 unset SSH_AGENT_PID; 16:55:05 echo Agent pid 38 killed; 16:55:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:55:05 + git semver [Pipeline] } 16:55:05 $ docker stop --time=1 47cc4bbee56c5e5149a3b0b26e8adb9bde6b5cf6076607f23d5ddc32010c59f7 16:55:07 $ docker rm -f 47cc4bbee56c5e5149a3b0b26e8adb9bde6b5cf6076607f23d5ddc32010c59f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:55:07 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:55:07 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:55:07 total 16 16:55:07 drwxr-xr-x 3 root root 4096 Dec 14 16:45 . 16:55:07 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:54 .. 16:55:07 drwxr-xr-x 2 root root 4096 Dec 14 16:45 cost 16:55:07 -rw-r--r-- 1 root root 85 Dec 14 16:45 cost.csv 16:55:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:55:07 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:55:07 total 16 16:55:07 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:45 . 16:55:07 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:54 .. 16:55:07 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 16:45 cost 16:55:07 -rw-r--r-- 1 jenkins jenkins 85 Dec 14 16:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:55:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:55:08 ---> package-listing.sh 16:55:08 ++ facter osfamily 16:55:08 ++ tr '[:upper:]' '[:lower:]' 16:55:08 + OS_FAMILY=debian 16:55:08 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:55:08 + START_PACKAGES=/tmp/packages_start.txt 16:55:08 + END_PACKAGES=/tmp/packages_end.txt 16:55:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:55:08 + PACKAGES=/tmp/packages_start.txt 16:55:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:55:08 + PACKAGES=/tmp/packages_end.txt 16:55:08 + case "${OS_FAMILY}" in 16:55:08 + dpkg -l 16:55:08 + grep '^ii' 16:55:08 + '[' -f /tmp/packages_start.txt ']' 16:55:08 + '[' -f /tmp/packages_end.txt ']' 16:55:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:55:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:55:08 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:55: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 16:55: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 16:55:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:09 prd-ubuntu20.04-docker-8c-8g-121221 does not seem to be running inside a container 16:55: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 16:55:10 $ docker top f89a42ca2fb4c8d47dcefc85eb05e394e4d1b5f5c802cbe25fc6bc5348366b47 -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:10 + touch /tmp/pre-build-complete [Pipeline] sh 16:55:10 + mkdir -p /var/log/sysstat [Pipeline] sh 16:55:11 + ls /var/log/sa-host 16:55:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:11 provisioning config files... 16:55:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8507566897432606684tmp [Pipeline] { [Pipeline] echo 16:55:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:55:11 ---> create-netrc.sh [Pipeline] } 16:55:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:55:11 ---> python-tools-install.sh [Pipeline] echo 16:55:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:55:12 ---> sudo-logs.sh 16:55:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:55:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:55:12 ---> job-cost.sh 16:55:12 lf-activate-venv: SKIPPING 16:55:12 DEBUG: total: 0.2199999988079071 16:55:12 INFO: Retrieving Stack Cost... 16:55:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:55:12 INFO: Archiving Costs [Pipeline] echo 16:55:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:55:13 ---> logs-deploy.sh 16:55:13 lf-activate-venv: SKIPPING 16:55:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/73 16:55:13 INFO: archiving workspace using pattern(s): 16:55:14 Archives upload complete. 16:55:14 INFO: archiving logs to Nexus 16:55:14 ---> uname -a: 16:55:14 Linux prd-ubuntu20-04-docker-8c-8g-121221 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:55:14 16:55:14 16:55:14 ---> lscpu: 16:55:14 Architecture: x86_64 16:55:14 CPU op-mode(s): 32-bit, 64-bit 16:55:14 Byte Order: Little Endian 16:55:14 Address sizes: 40 bits physical, 48 bits virtual 16:55:14 CPU(s): 8 16:55:14 On-line CPU(s) list: 0-7 16:55:14 Thread(s) per core: 1 16:55:14 Core(s) per socket: 1 16:55:14 Socket(s): 8 16:55:14 NUMA node(s): 1 16:55:14 Vendor ID: AuthenticAMD 16:55:14 CPU family: 23 16:55:14 Model: 49 16:55:14 Model name: AMD EPYC-Rome Processor 16:55:14 Stepping: 0 16:55:14 CPU MHz: 2800.002 16:55:14 BogoMIPS: 5600.00 16:55:14 Virtualization: AMD-V 16:55:14 Hypervisor vendor: KVM 16:55:14 Virtualization type: full 16:55:14 L1d cache: 256 KiB 16:55:14 L1i cache: 256 KiB 16:55:14 L2 cache: 4 MiB 16:55:14 L3 cache: 128 MiB 16:55:14 NUMA node0 CPU(s): 0-7 16:55:14 Vulnerability Itlb multihit: Not affected 16:55:14 Vulnerability L1tf: Not affected 16:55:14 Vulnerability Mds: Not affected 16:55:14 Vulnerability Meltdown: Not affected 16:55:14 Vulnerability Mmio stale data: Not affected 16:55:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:55:14 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:55:14 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:55:14 Vulnerability Srbds: Not affected 16:55:14 Vulnerability Tsx async abort: Not affected 16:55:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:55:14 16:55:14