Pull request #229 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from e21347a2f02f7038a796eb9b90da20ac9578294e+ea2635875d50d8674d03123d64d8d0373faddc1b (3629517d2901947831a34b1253e32cd2d0de9bf3) 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-ssh11032224060689018637.key Verifying host key using known hosts file > 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-ssh10194739715141372901.key Verifying host key using known hosts file > 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/PR-229/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/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4798125230079415712.key Verifying host key using known hosts file > 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-ssh5113707796137288258.key Verifying host key using known hosts file > 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/PR-229/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/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12345998538516982584.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-121066’ Running on prd-ubuntu20.04-docker-8c-8g-121070 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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/gexfoundry_device-rest-go_PR-229 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit e21347a2f02f7038a796eb9b90da20ac9578294e Merge succeeded, producing e21347a2f02f7038a796eb9b90da20ac9578294e Checking out Revision e21347a2f02f7038a796eb9b90da20ac9578294e (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f e21347a2f02f7038a796eb9b90da20ac9578294e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e21347a2f02f7038a796eb9b90da20ac9578294e # timeout=10 Commit message: "fix: Formatted restdriver.go and protocolpropertykey.go source code" > git rev-list --no-walk cd887716400fa6c5dc30b8e8912a614e52a9d7c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:05:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:05:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:05:52 ========================================================= 14:05:52 EdgeX Global Pipelines Version Info 14:05:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:05:53 ------------------- 14:05:53 stable info: 14:05:53 ------------------- 14:05:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:05:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:05:53 Message: update stable to v1.0.244 14:05:53 ------------------- 14:05:53 experimental info: 14:05:53 ------------------- 14:05:53 Commited By: **** collab-it+edgex@linuxfoundation.org 14:05:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:05:53 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:05:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e21347a2f02f7038a796eb9b90da20ac9578294e [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e21347a [Pipeline] echo 14:05:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:54 provisioning config files... 14:05:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config3314520710544625848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:54 ---> docker-login.sh 14:05:54 nexus3.edgexfoundry.org:10001 14:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:54 Configure a credential helper to remove this warning. See 14:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:54 14:05:54 Login Succeeded 14:05:54 nexus3.edgexfoundry.org:10002 14:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:54 Configure a credential helper to remove this warning. See 14:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:54 14:05:54 Login Succeeded 14:05:54 nexus3.edgexfoundry.org:10003 14:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:55 Configure a credential helper to remove this warning. See 14:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:55 14:05:55 Login Succeeded 14:05:55 nexus3.edgexfoundry.org:10004 14:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:55 Configure a credential helper to remove this warning. See 14:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:55 14:05:55 Login Succeeded 14:05:55 docker.io 14:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:55 Configure a credential helper to remove this warning. See 14:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:55 14:05:55 Login Succeeded 14:05:55 ---> docker-login.sh ends [Pipeline] } 14:05:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:05:55 + git rev-list -1 --merges e21347a2f02f7038a796eb9b90da20ac9578294e~1..e21347a2f02f7038a796eb9b90da20ac9578294e [Pipeline] echo 14:05:55 -----------> git rev-list -1 --merges e21347a2f02f7038a796eb9b90da20ac9578294e~1..e21347a2f02f7038a796eb9b90da20ac9578294e e21347a2f02f7038a796eb9b90da20ac9578294e [false] [Pipeline] sh 14:05:56 + git log --format=format:%s -1 e21347a2f02f7038a796eb9b90da20ac9578294e [Pipeline] echo 14:05:56 ========================================================= 14:05:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:05:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:05:56 + git log --format=format:%s -1 e21347a2f02f7038a796eb9b90da20ac9578294e [Pipeline] echo 14:05:56 [semverPrep] GIT_COMMIT: e21347a2f02f7038a796eb9b90da20ac9578294e, Commit Message: fix: Formatted restdriver.go and protocolpropertykey.go source code [Pipeline] echo 14:05:56 [semverPrep] This is not a build commit. [Pipeline] sh 14:05:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:05:56 + grep -v github /etc/ssh/ssh_known_hosts 14:05:56 + [ -e /tmp/ssh_known_hosts ] 14:05:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:05:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:05:56 + sudo tee -a /etc/ssh/ssh_known_hosts 14:05:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:57 14:05:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:57 0.1.4: Pulling from edgex-devops/py-git-semver 14:05:57 b85a868b505f: Pulling fs layer 14:05:57 e2be974225ed: Pulling fs layer 14:05:57 339a4e72a1f5: Pulling fs layer 14:05:57 988bab9f4d93: Pulling fs layer 14:05:57 1469e6f7b9e6: Pulling fs layer 14:05:57 eaf3925da568: Pulling fs layer 14:05:57 bab4dde63d76: Pulling fs layer 14:05:57 bde34c3a00c8: Pulling fs layer 14:05:57 b352a97aabf1: Pulling fs layer 14:05:57 4872d77fe225: Pulling fs layer 14:05:57 5851b861e8e6: Pulling fs layer 14:05:57 988bab9f4d93: Waiting 14:05:57 1469e6f7b9e6: Waiting 14:05:57 bab4dde63d76: Waiting 14:05:57 eaf3925da568: Waiting 14:05:57 bde34c3a00c8: Waiting 14:05:57 b352a97aabf1: Waiting 14:05:57 4872d77fe225: Waiting 14:05:57 5851b861e8e6: Waiting 14:05:57 e2be974225ed: Download complete 14:05:57 988bab9f4d93: Verifying Checksum 14:05:57 988bab9f4d93: Download complete 14:05:57 1469e6f7b9e6: Verifying Checksum 14:05:57 1469e6f7b9e6: Download complete 14:05:57 eaf3925da568: Verifying Checksum 14:05:57 eaf3925da568: Download complete 14:05:57 339a4e72a1f5: Verifying Checksum 14:05:57 339a4e72a1f5: Download complete 14:05:57 bde34c3a00c8: Download complete 14:05:57 b352a97aabf1: Verifying Checksum 14:05:57 b352a97aabf1: Download complete 14:05:57 4872d77fe225: Download complete 14:05:57 5851b861e8e6: Download complete 14:05:57 b85a868b505f: Verifying Checksum 14:05:57 b85a868b505f: Download complete 14:05:57 bab4dde63d76: Verifying Checksum 14:05:57 bab4dde63d76: Download complete 14:05:58 b85a868b505f: Pull complete 14:05:59 e2be974225ed: Pull complete 14:05:59 339a4e72a1f5: Pull complete 14:05:59 988bab9f4d93: Pull complete 14:05:59 1469e6f7b9e6: Pull complete 14:05:59 eaf3925da568: Pull complete 14:06:01 bab4dde63d76: Pull complete 14:06:01 bde34c3a00c8: Pull complete 14:06:02 b352a97aabf1: Pull complete 14:06:02 4872d77fe225: Pull complete 14:06:02 5851b861e8e6: Pull complete 14:06:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:06:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:06:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:02 prd-ubuntu20.04-docker-8c-8g-121070 does not seem to be running inside a container 14:06:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:06:03 $ docker top 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 -eo pid,comm 14:06:03 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). 14:06:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:03 [ssh-agent] Looking for ssh-agent implementation... 14:06:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:03 $ docker exec 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 ssh-agent 14:06:03 SSH_AUTH_SOCK=/tmp/ssh-uCLikKmEtIcs/agent.32 14:06:03 SSH_AGENT_PID=38 14:06:03 Running ssh-add (command line suppressed) 14:06:03 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17210854785847348607.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17210854785847348607.key) 14:06:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:04 + git tag --points-at HEAD [Pipeline] } 14:06:04 $ docker exec --env ******** --env ******** 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 ssh-agent -k 14:06:04 unset SSH_AUTH_SOCK; 14:06:04 unset SSH_AGENT_PID; 14:06:04 echo Agent pid 38 killed; 14:06:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:06:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:04 [ssh-agent] Looking for ssh-agent implementation... 14:06:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:04 $ docker exec 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 ssh-agent 14:06:04 SSH_AUTH_SOCK=/tmp/ssh-uRfNKHSkSqIw/agent.70 14:06:04 SSH_AGENT_PID=76 14:06:04 Running ssh-add (command line suppressed) 14:06:04 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_14860886381999414162.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_14860886381999414162.key) 14:06:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:04 + git semver init 14:06:05 2022-12-13 14:06:05,045 [run_init] DEBUG init version:0.0.0 force:False 14:06:05 2022-12-13 14:06:05,046 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver 14:06:05 2022-12-13 14:06:05,046 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver 14:06:05 2022-12-13 14:06:05,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) 14:06:06 2022-12-13 14:06:06,003 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude 14:06:06 2022-12-13 14:06:06,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False 14:06:06 2022-12-13 14:06:06,004 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 14:06:06 2022-12-13 14:06:06,008 [execute] INFO git cat-file --batch-check 14:06:06 2022-12-13 14:06:06,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 14:06:06 2022-12-13 14:06:06,014 [execute] INFO git cat-file --batch 14:06:06 2022-12-13 14:06:06,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 14:06:06 2022-12-13 14:06:06,020 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 14:06:06 0.0.0 [Pipeline] } 14:06:06 $ docker exec --env ******** --env ******** 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 ssh-agent -k 14:06:06 unset SSH_AUTH_SOCK; 14:06:06 unset SSH_AGENT_PID; 14:06:06 echo Agent pid 76 killed; 14:06:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:06 + git semver [Pipeline] } 14:06:06 $ docker stop --time=1 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 14:06:08 $ docker rm -f 923078d8fbd962576905f0caf3e29b0d925c6a8125a44bc52e49d72f3950f570 [Pipeline] // withDockerContainer [Pipeline] sh 14:06:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:06:08 Stashed 1 file(s) [Pipeline] echo 14:06:08 [edgeXSemver]: initialized semver on version 0.0.0 [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 14:06:08 provisioning config files... 14:06:08 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config4752816817905208904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:09 ---> docker-login.sh 14:06:09 nexus3.edgexfoundry.org:10001 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 nexus3.edgexfoundry.org:10002 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 nexus3.edgexfoundry.org:10003 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 nexus3.edgexfoundry.org:10004 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 docker.io 14:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:06:09 Configure a credential helper to remove this warning. See 14:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:06:09 14:06:09 Login Succeeded 14:06:09 ---> docker-login.sh ends [Pipeline] } 14:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:06:09 ========================================================= 14:06:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:06:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:10 + 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 . 14:06:10 Sending build context to Docker daemon 10.79MB 14:06:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 14:06:10 Step 2/12 : FROM ${BASE} AS builder 14:06:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:06:10 213ec9aee27d: Pulling fs layer 14:06:10 4583459ba037: Pulling fs layer 14:06:10 93c1e223e6f2: Pulling fs layer 14:06:10 53926ce57604: Pulling fs layer 14:06:10 21b2b0c7a3f4: Pulling fs layer 14:06:10 22ff95d597cd: Pulling fs layer 14:06:10 12d6caf4c0d1: Pulling fs layer 14:06:10 96b7cbca73a9: Pulling fs layer 14:06:10 a7acece74701: Pulling fs layer 14:06:10 53926ce57604: Waiting 14:06:10 12d6caf4c0d1: Waiting 14:06:10 96b7cbca73a9: Waiting 14:06:10 22ff95d597cd: Waiting 14:06:10 21b2b0c7a3f4: Waiting 14:06:10 a7acece74701: Waiting 14:06:10 93c1e223e6f2: Verifying Checksum 14:06:10 93c1e223e6f2: Download complete 14:06:10 4583459ba037: Download complete 14:06:10 21b2b0c7a3f4: Verifying Checksum 14:06:10 21b2b0c7a3f4: Download complete 14:06:10 22ff95d597cd: Verifying Checksum 14:06:10 22ff95d597cd: Download complete 14:06:10 213ec9aee27d: Verifying Checksum 14:06:10 12d6caf4c0d1: Verifying Checksum 14:06:10 12d6caf4c0d1: Download complete 14:06:10 213ec9aee27d: Pull complete 14:06:10 4583459ba037: Pull complete 14:06:10 93c1e223e6f2: Pull complete 14:06:11 a7acece74701: Verifying Checksum 14:06:11 a7acece74701: Download complete 14:06:11 96b7cbca73a9: Verifying Checksum 14:06:11 96b7cbca73a9: Download complete 14:06:11 53926ce57604: Verifying Checksum 14:06:11 53926ce57604: Download complete 14:06:15 53926ce57604: Pull complete 14:06:15 21b2b0c7a3f4: Pull complete 14:06:15 22ff95d597cd: Pull complete 14:06:15 12d6caf4c0d1: Pull complete 14:06:17 96b7cbca73a9: Pull complete 14:06:18 a7acece74701: Pull complete 14:06:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 14:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:06:18 ---> db6d94c90886 14:06:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:06:19 ---> Running in 58056ce6bf4d 14:06:19 Removing intermediate container 58056ce6bf4d 14:06:19 ---> edc607caa60b 14:06:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:06:19 ---> Running in 4ad9c775643b 14:06:19 Removing intermediate container 4ad9c775643b 14:06:19 ---> 106b1356b198 14:06:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:06:19 ---> Running in 71e7d53a69f0 14:06:19 Removing intermediate container 71e7d53a69f0 14:06:19 ---> be4d97596821 14:06:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:06:20 ---> Running in 7bae3206ea2f 14:06:20 Removing intermediate container 7bae3206ea2f 14:06:20 ---> 27ea9a7cd2c0 14:06:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:06:20 ---> Running in 9bbff41967f5 14:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:06:20 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:06:20 (2/4) Installing libedit (20210910.3.1-r0) 14:06:20 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:06:20 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:06:20 Executing busybox-1.35.0-r17.trigger 14:06:20 OK: 216 MiB in 55 packages 14:06:21 Removing intermediate container 9bbff41967f5 14:06:21 ---> d1134eecee5c 14:06:21 Step 8/12 : WORKDIR /device-rest-go 14:06:21 ---> Running in 4abe32855ff0 14:06:21 Removing intermediate container 4abe32855ff0 14:06:21 ---> 87d7fba86222 14:06:21 Step 9/12 : COPY go.mod vendor* ./ 14:06:21 ---> ac21d06efec8 14:06:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:06:21 ---> Running in 176467a9e57d 14:06:23 Still waiting to schedule task 14:06:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-121067’ is offline 14:06:39 Removing intermediate container 176467a9e57d 14:06:39 ---> 552dc4b06c8c 14:06:39 Step 11/12 : COPY . . 14:06:39 ---> b1657ec664a3 14:06:39 Step 12/12 : RUN $MAKE 14:06:39 ---> Running in bb9409df13fc 14:06:39 noop 14:06:39 Removing intermediate container bb9409df13fc 14:06:39 ---> eced19a8cb72 14:06:39 Successfully built eced19a8cb72 14:06:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:40 + docker inspect -f . ci-base-image-x86_64 14:06:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:40 prd-ubuntu20.04-docker-8c-8g-121070 does not seem to be running inside a container 14:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:06:40 $ docker top 4aa622c27e9abe6b6fb3134bb4d335b9d1188c3f6e8aa846dbc1e8463b7c7d72 -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:40 + go version 14:06:40 go version go1.18.7 linux/amd64 [Pipeline] } 14:06:41 $ docker stop --time=1 4aa622c27e9abe6b6fb3134bb4d335b9d1188c3f6e8aa846dbc1e8463b7c7d72 14:06:42 $ docker rm -f 4aa622c27e9abe6b6fb3134bb4d335b9d1188c3f6e8aa846dbc1e8463b7c7d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:42 + docker inspect -f . ci-base-image-x86_64 14:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:42 prd-ubuntu20.04-docker-8c-8g-121070 does not seem to be running inside a container 14:06:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:06:43 $ docker top 64b9c2130fd3814462e042f3acbbab1be2bffe44d5314fbee7ede5c52e8d0c6f -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh 14:06:43 + make test 14:06:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:06:44 ? github.com/edgexfoundry/device-rest-go [no test files] 14:06:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:06:54 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 26.8% of statements 14:07:00 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." 14:07:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:07:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:07:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:07:03 ./bin/test-attribution-txt.sh [Pipeline] echo 14:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:07:03 $ docker stop --time=1 64b9c2130fd3814462e042f3acbbab1be2bffe44d5314fbee7ede5c52e8d0c6f 14:07:05 $ docker rm -f 64b9c2130fd3814462e042f3acbbab1be2bffe44d5314fbee7ede5c52e8d0c6f [Pipeline] // withDockerContainer [Pipeline] sh 14:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:07:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:07:06 + ls -al . 14:07:06 total 200 14:07:06 drwxrwxr-x 9 jenkins jenkins 4096 Dec 13 14:06 . 14:07:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:05 .. 14:07:06 -rw-rw-r-- 1 jenkins jenkins 151 Dec 13 14:05 .dockerignore 14:07:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 14:06 .git 14:07:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 14:05 .github 14:07:06 -rw-rw-r-- 1 jenkins jenkins 329 Dec 13 14:05 .gitignore 14:07:06 -rw-rw-r-- 1 jenkins jenkins 41 Dec 13 14:05 .golangci.yml 14:07:06 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 14:06 .semver 14:07:06 -rw-rw-r-- 1 jenkins jenkins 9100 Dec 13 14:05 Attribution.txt 14:07:06 -rw-rw-r-- 1 jenkins jenkins 13085 Dec 13 14:05 CHANGELOG.md 14:07:06 -rw-rw-r-- 1 jenkins jenkins 1641 Dec 13 14:05 Dockerfile 14:07:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 14:05 GOVERNANCE.md 14:07:06 -rw-rw-r-- 1 jenkins jenkins 680 Dec 13 14:05 Jenkinsfile 14:07:06 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 13 14:05 LICENSE 14:07:06 -rw-rw-r-- 1 jenkins jenkins 2173 Dec 13 14:05 Makefile 14:07:06 -rw-rw-r-- 1 jenkins jenkins 620 Dec 13 14:05 OWNERS.md 14:07:06 -rw-rw-r-- 1 jenkins jenkins 12657 Dec 13 14:05 README.md 14:07:06 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 14:06 VERSION 14:07:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:05 bin 14:07:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 14:05 cmd 14:07:06 -rw-r--r-- 1 jenkins jenkins 18351 Dec 13 14:06 coverage.out 14:07:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:05 driver 14:07:06 -rw-rw-r-- 1 jenkins jenkins 3487 Dec 13 14:05 go.mod 14:07:06 -rw-rw-r-- 1 jenkins jenkins 44869 Dec 13 14:05 go.sum 14:07:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:05 snap 14:07:06 -rw-rw-r-- 1 jenkins jenkins 713 Dec 13 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:07 + 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=e21347a2f02f7038a796eb9b90da20ac9578294e --label arch=amd64 --label version=0.0.0 . 14:07:07 Sending build context to Docker daemon 10.81MB 14:07:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:07:07 Step 2/25 : FROM ${BASE} AS builder 14:07:07 ---> eced19a8cb72 14:07:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:07:07 ---> Running in dd92a819759e 14:07:07 Removing intermediate container dd92a819759e 14:07:07 ---> c4d8cdb19a65 14:07:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:07:07 ---> Running in 21aef3671b41 14:07:07 Removing intermediate container 21aef3671b41 14:07:07 ---> 23ffeeeef434 14:07:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:07:07 ---> Running in 7a26dab52079 14:07:07 Removing intermediate container 7a26dab52079 14:07:07 ---> fbc321713ebe 14:07:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:07:07 ---> Running in ebb7b2a355f8 14:07:07 Removing intermediate container ebb7b2a355f8 14:07:07 ---> c29280f0ce5b 14:07:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:07:07 ---> Running in bf432b2c001d 14:07:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:07:08 OK: 216 MiB in 55 packages 14:07:08 Removing intermediate container bf432b2c001d 14:07:08 ---> fb8745841baf 14:07:08 Step 8/25 : WORKDIR /device-rest-go 14:07:08 ---> Running in 7719715ea3b4 14:07:08 Removing intermediate container 7719715ea3b4 14:07:08 ---> 242ccdc0c3f6 14:07:08 Step 9/25 : COPY go.mod vendor* ./ 14:07:08 ---> f0add11dab1f 14:07:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:07:08 ---> Running in 37eb4d30e1d4 14:07:09 Removing intermediate container 37eb4d30e1d4 14:07:09 ---> 8fbfa472e755 14:07:09 Step 11/25 : COPY . . 14:07:09 ---> 64aa4ffad4b0 14:07:09 Step 12/25 : RUN $MAKE 14:07:09 ---> Running in 946e3828c6ab 14:07:10 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:07:32 Removing intermediate container 946e3828c6ab 14:07:32 ---> a50281aff0a0 14:07:32 Step 13/25 : FROM alpine:3.16 14:07:32 3.16: Pulling from library/alpine 14:07:32 ca7dd9ec2225: Pulling fs layer 14:07:32 ca7dd9ec2225: Verifying Checksum 14:07:32 ca7dd9ec2225: Download complete 14:07:32 ca7dd9ec2225: Pull complete 14:07:32 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 14:07:32 Status: Downloaded newer image for alpine:3.16 14:07:32 ---> bfe296a52501 14:07:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:07:32 ---> Running in b46e6ed3fad7 14:07:32 Removing intermediate container b46e6ed3fad7 14:07:32 ---> 33d0301c5ea6 14:07:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:07:32 ---> Running in 3b4bb4f88f8f 14:07:32 Removing intermediate container 3b4bb4f88f8f 14:07:32 ---> cf88584cfd8f 14:07:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:07:32 ---> Running in 9807715c5abb 14:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:07:32 (1/6) Installing dumb-init (1.2.5-r1) 14:07:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:07:32 (3/6) Installing libsodium (1.0.18-r0) 14:07:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:07:32 (5/6) Installing libzmq (4.3.4-r0) 14:07:32 (6/6) Installing zeromq (4.3.4-r0) 14:07:32 Executing busybox-1.35.0-r17.trigger 14:07:32 OK: 8 MiB in 20 packages 14:07:32 Removing intermediate container 9807715c5abb 14:07:32 ---> c95069e6b3ef 14:07:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:07:32 ---> 5509dc3231ea 14:07:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:07:32 ---> 1b2a14233849 14:07:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:07:32 ---> 4441279aa9c4 14:07:32 Step 20/25 : EXPOSE 59986 14:07:32 ---> Running in 50a304bd9aad 14:07:32 Removing intermediate container 50a304bd9aad 14:07:32 ---> d05c99f8fd56 14:07:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:07:32 ---> Running in 9336111900b7 14:07:32 Removing intermediate container 9336111900b7 14:07:32 ---> 493b427ca48a 14:07:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:07:32 ---> Running in 8dc19be3720c 14:07:32 Removing intermediate container 8dc19be3720c 14:07:32 ---> e66406880e2f 14:07:32 Step 23/25 : LABEL arch=amd64 14:07:32 ---> Running in 221599618d9c 14:07:32 Removing intermediate container 221599618d9c 14:07:32 ---> 2ac945e6497d 14:07:32 Step 24/25 : LABEL git_sha=e21347a2f02f7038a796eb9b90da20ac9578294e 14:07:32 ---> Running in 66e8b5869f80 14:07:32 Removing intermediate container 66e8b5869f80 14:07:32 ---> 14928b47f422 14:07:32 Step 25/25 : LABEL version=0.0.0 14:07:32 ---> Running in 1a41ec8ff4bd 14:07:32 Removing intermediate container 1a41ec8ff4bd 14:07:32 ---> eb52c3a24bba 14:07:32 [Warning] One or more build-args [ARCH] were not consumed 14:07:32 Successfully built eb52c3a24bba 14:07:32 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 14:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:32 14:07:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:33 latest: Pulling from edgex-lftools-log-publisher 14:07:33 5eb5b503b376: Pulling fs layer 14:07:33 5c69ac0246d0: Pulling fs layer 14:07:33 ec43610c2a17: Pulling fs layer 14:07:33 3a2ae6a8a46f: Pulling fs layer 14:07:33 33b1e0a273af: Pulling fs layer 14:07:33 5d3b04190fa2: Pulling fs layer 14:07:33 2f39f015ded8: Pulling fs layer 14:07:33 33b1e0a273af: Waiting 14:07:33 5d3b04190fa2: Waiting 14:07:33 3a2ae6a8a46f: Waiting 14:07:33 5c69ac0246d0: Verifying Checksum 14:07:33 5c69ac0246d0: Download complete 14:07:33 3a2ae6a8a46f: Verifying Checksum 14:07:33 3a2ae6a8a46f: Download complete 14:07:33 33b1e0a273af: Download complete 14:07:33 5d3b04190fa2: Verifying Checksum 14:07:33 5d3b04190fa2: Download complete 14:07:33 ec43610c2a17: Verifying Checksum 14:07:33 ec43610c2a17: Download complete 14:07:33 5eb5b503b376: Verifying Checksum 14:07:33 5eb5b503b376: Download complete 14:07:34 2f39f015ded8: Download complete 14:07:34 5eb5b503b376: Pull complete 14:07:34 5c69ac0246d0: Pull complete 14:07:35 ec43610c2a17: Pull complete 14:07:35 3a2ae6a8a46f: Pull complete 14:07:35 33b1e0a273af: Pull complete 14:07:35 5d3b04190fa2: Pull complete 14:07:39 2f39f015ded8: Pull complete 14:07:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:07:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:39 prd-ubuntu20.04-docker-8c-8g-121070 does not seem to be running inside a container 14:07:39 $ 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/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:07:41 $ docker top 3ef479e3b918f6821c1aff15d90bbb0f3b833209cff2aa00032a1f8df6e362ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:41 ---> job-cost.sh 14:07:41 lf-activate-venv: SKIPPING 14:07:41 INFO: No Stack... 14:07:41 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:42 INFO: Archiving Costs [Pipeline] sh 14:07:42 + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv 14:07:42 + cut -d, -f6 [Pipeline] lock 14:07:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] 14:07:42 Resource [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] did not exist. Created. 14:07:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:42 + echo total: 0.2199999988079071 [Pipeline] stash 14:07:42 Stashed 1 file(s) [Pipeline] } 14:07:42 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:42 $ docker stop --time=1 3ef479e3b918f6821c1aff15d90bbb0f3b833209cff2aa00032a1f8df6e362ec 14:07:44 $ docker rm -f 3ef479e3b918f6821c1aff15d90bbb0f3b833209cff2aa00032a1f8df6e362ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:08:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121072 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws 14:08:46 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 14:08:46 The recommended git tool is: git 14:08:51 using credential edgex-jenkins-ssh 14:08:51 Cloning the remote Git repository 14:08:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:08:51 > git init /w/workspace/device-rest-go/4 # timeout=10 14:08:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:08:52 > git --version # timeout=10 14:08:52 > git --version # 'git version 2.25.1' 14:08:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:52 Verifying host key using known hosts file 14:08:52 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 14:08:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:08:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:08:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:08:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:08:55 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit e21347a2f02f7038a796eb9b90da20ac9578294e 14:08:56 Merge succeeded, producing e21347a2f02f7038a796eb9b90da20ac9578294e 14:08:56 Checking out Revision e21347a2f02f7038a796eb9b90da20ac9578294e (PR-229) 14:08:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:08:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:55 Verifying host key using known hosts file 14:08:55 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 14:08:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:08:55 > git config core.sparsecheckout # timeout=10 14:08:55 > git checkout -f e21347a2f02f7038a796eb9b90da20ac9578294e # timeout=10 14:08:56 > git remote # timeout=10 14:08:56 > git config --get remote.origin.url # timeout=10 14:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:08:56 Verifying host key using known hosts file 14:08:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 14:08:56 > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 14:08:56 > git rev-parse HEAD^{commit} # timeout=10 14:08:56 > git config core.sparsecheckout # timeout=10 14:08:56 > git checkout -f e21347a2f02f7038a796eb9b90da20ac9578294e # timeout=10 14:08:59 Commit message: "fix: Formatted restdriver.go and protocolpropertykey.go source code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:09:00 % Total % Received % Xferd Average Speed Time Time Time Current 14:09:00 Dload Upload Total Spent Left Speed 14:09:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 14:09:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:09:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:09:01 + sudo tee /etc/docker/daemon.new 14:09:01 { 14:09:01 "registry-mirrors": [ 14:09:01 "https://nexus3.edgexfoundry.org:10001" 14:09:01 ], 14:09:01 "bip": "10.250.0.254/24", 14:09:01 "hosts": [ 14:09:01 "tcp://0.0.0.0:5555", 14:09:01 "unix:///var/run/docker.sock" 14:09:01 ], 14:09:01 "mtu": 1458, 14:09:01 "selinux-enabled": true, 14:09:01 "seccomp-profile": "/etc/docker/seccomp.json" 14:09:01 } [Pipeline] sh 14:09:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:09:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:09:20 provisioning config files... 14:09:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config306951093747946984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:21 ---> docker-login.sh 14:09:21 nexus3.edgexfoundry.org:10001 14:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:21 Configure a credential helper to remove this warning. See 14:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:21 14:09:21 Login Succeeded 14:09:21 nexus3.edgexfoundry.org:10002 14:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:22 Configure a credential helper to remove this warning. See 14:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:22 14:09:22 Login Succeeded 14:09:22 nexus3.edgexfoundry.org:10003 14:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:22 Configure a credential helper to remove this warning. See 14:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:22 14:09:22 Login Succeeded 14:09:22 nexus3.edgexfoundry.org:10004 14:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:22 Configure a credential helper to remove this warning. See 14:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:22 14:09:22 Login Succeeded 14:09:22 docker.io 14:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:23 Configure a credential helper to remove this warning. See 14:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:23 14:09:23 Login Succeeded 14:09:23 ---> docker-login.sh ends [Pipeline] } 14:09:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:09:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:23 ========================================================= 14:09:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:09:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:24 + 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 . 14:09:24 Sending build context to Docker daemon 150kB 14:09:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 14:09:24 Step 2/12 : FROM ${BASE} AS builder 14:09:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:09:24 9b18e9b68314: Pulling fs layer 14:09:24 35d82f9e3411: Pulling fs layer 14:09:24 e16973657156: Pulling fs layer 14:09:24 fc693d55d65f: Pulling fs layer 14:09:24 7e9fc2657dce: Pulling fs layer 14:09:24 dda99020689f: Pulling fs layer 14:09:24 db1c61fa0a46: Pulling fs layer 14:09:24 fc693d55d65f: Waiting 14:09:24 7e9fc2657dce: Waiting 14:09:24 dda99020689f: Waiting 14:09:24 891c053d2c06: Pulling fs layer 14:09:24 891c053d2c06: Waiting 14:09:24 e16973657156: Verifying Checksum 14:09:24 e16973657156: Download complete 14:09:24 35d82f9e3411: Download complete 14:09:24 7e9fc2657dce: Verifying Checksum 14:09:24 7e9fc2657dce: Download complete 14:09:24 dda99020689f: Verifying Checksum 14:09:24 dda99020689f: Download complete 14:09:24 9b18e9b68314: Verifying Checksum 14:09:24 9b18e9b68314: Download complete 14:09:25 9b18e9b68314: Pull complete 14:09:25 891c053d2c06: Verifying Checksum 14:09:25 891c053d2c06: Download complete 14:09:26 35d82f9e3411: Pull complete 14:09:26 e16973657156: Pull complete 14:09:27 db1c61fa0a46: Verifying Checksum 14:09:27 db1c61fa0a46: Download complete 14:09:27 fc693d55d65f: Verifying Checksum 14:09:27 fc693d55d65f: Download complete 14:09:39 fc693d55d65f: Pull complete 14:09:39 7e9fc2657dce: Pull complete 14:09:39 dda99020689f: Pull complete 14:09:46 db1c61fa0a46: Pull complete 14:09:48 891c053d2c06: Pull complete 14:09:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 14:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:09:48 ---> f96f9c87975a 14:09:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:09:50 ---> Running in f8f0a0651520 14:09:50 Removing intermediate container f8f0a0651520 14:09:50 ---> 30b441843c45 14:09:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:09:50 ---> Running in d241c786c57a 14:09:50 Removing intermediate container d241c786c57a 14:09:50 ---> 82a458c5f738 14:09:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:09:50 ---> Running in 3b0e2c0dc58a 14:09:51 Removing intermediate container 3b0e2c0dc58a 14:09:51 ---> 2f55b3e2dddd 14:09:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:09:51 ---> Running in a9ebcacd2709 14:09:51 Removing intermediate container a9ebcacd2709 14:09:51 ---> 66000925b94b 14:09:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:09:51 ---> Running in e0211c2d6b94 14:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:09:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:09:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:09:54 (2/4) Installing libedit (20210910.3.1-r0) 14:09:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:09:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:09:54 Executing busybox-1.35.0-r17.trigger 14:09:54 OK: 226 MiB in 55 packages 14:09:55 Removing intermediate container e0211c2d6b94 14:09:55 ---> 1dbf7e0b8c59 14:09:55 Step 8/12 : WORKDIR /device-rest-go 14:09:55 ---> Running in 330f128a3865 14:09:55 Removing intermediate container 330f128a3865 14:09:55 ---> 400ef27e5fb9 14:09:55 Step 9/12 : COPY go.mod vendor* ./ 14:09:55 ---> 391fb9b3fbe5 14:09:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:09:55 ---> Running in 66b46b188beb 14:10:52 Removing intermediate container 66b46b188beb 14:10:52 ---> 0af2f54ebff4 14:10:52 Step 11/12 : COPY . . 14:10:52 ---> 53a548982637 14:10:52 Step 12/12 : RUN $MAKE 14:10:52 ---> Running in ba22a57ada19 14:10:52 noop 14:10:52 Removing intermediate container ba22a57ada19 14:10:52 ---> a5494b649e7d 14:10:52 Successfully built a5494b649e7d 14:10:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:52 + docker inspect -f . ci-base-image-arm64 14:10:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:52 prd-ubuntu20.04-docker-arm64-4c-16g-121072 does not seem to be running inside a container 14:10:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:10:55 $ docker top 39f93a072000dae78a17ccf5cda7ee55db73729da4af875f948e1225c5208298 -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:56 + go version 14:10:56 go version go1.18.7 linux/arm64 [Pipeline] } 14:10:56 $ docker stop --time=1 39f93a072000dae78a17ccf5cda7ee55db73729da4af875f948e1225c5208298 14:10:57 $ docker rm -f 39f93a072000dae78a17ccf5cda7ee55db73729da4af875f948e1225c5208298 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:58 + docker inspect -f . ci-base-image-arm64 14:10:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:58 prd-ubuntu20.04-docker-arm64-4c-16g-121072 does not seem to be running inside a container 14:10:58 $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:10:59 $ docker top 7627a31c5bc04eb64d2969fd85367fee77307832b1ffdd12192b210cacc81908 -eo pid,comm [Pipeline] { [Pipeline] sh 14:11:00 + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh 14:11:01 + make test 14:11:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:11:02 ? github.com/edgexfoundry/device-rest-go [no test files] 14:12:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:12:39 ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 26.8% of statements 14:12:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:12:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:12:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:12:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:12:57 ./bin/test-attribution-txt.sh [Pipeline] echo 14:12:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:12:57 $ docker stop --time=1 7627a31c5bc04eb64d2969fd85367fee77307832b1ffdd12192b210cacc81908 14:13:00 $ docker rm -f 7627a31c5bc04eb64d2969fd85367fee77307832b1ffdd12192b210cacc81908 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:13:01 Warning: overwriting stash ‘coverage-report’ 14:13:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:13:03 + ls -al . 14:13:03 total 196 14:13:03 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 14:11 . 14:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:08 .. 14:13:03 -rw-rw-r-- 1 jenkins jenkins 151 Dec 13 14:08 .dockerignore 14:13:03 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 14:08 .git 14:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 14:08 .github 14:13:03 -rw-rw-r-- 1 jenkins jenkins 329 Dec 13 14:08 .gitignore 14:13:03 -rw-rw-r-- 1 jenkins jenkins 41 Dec 13 14:08 .golangci.yml 14:13:03 -rw-rw-r-- 1 jenkins jenkins 9100 Dec 13 14:08 Attribution.txt 14:13:03 -rw-rw-r-- 1 jenkins jenkins 13085 Dec 13 14:08 CHANGELOG.md 14:13:03 -rw-rw-r-- 1 jenkins jenkins 1641 Dec 13 14:08 Dockerfile 14:13:03 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 14:08 GOVERNANCE.md 14:13:03 -rw-rw-r-- 1 jenkins jenkins 680 Dec 13 14:08 Jenkinsfile 14:13:03 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 13 14:08 LICENSE 14:13:03 -rw-rw-r-- 1 jenkins jenkins 2173 Dec 13 14:08 Makefile 14:13:03 -rw-rw-r-- 1 jenkins jenkins 620 Dec 13 14:08 OWNERS.md 14:13:03 -rw-rw-r-- 1 jenkins jenkins 12657 Dec 13 14:08 README.md 14:13:03 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 14:06 VERSION 14:13:03 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:08 bin 14:13:03 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 14:08 cmd 14:13:03 -rw-r--r-- 1 jenkins jenkins 18351 Dec 13 14:12 coverage.out 14:13:03 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:08 driver 14:13:03 -rw-rw-r-- 1 jenkins jenkins 3487 Dec 13 14:08 go.mod 14:13:03 -rw-rw-r-- 1 jenkins jenkins 44869 Dec 13 14:08 go.sum 14:13:03 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:08 snap 14:13:03 -rw-rw-r-- 1 jenkins jenkins 713 Dec 13 14:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:03 + 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=e21347a2f02f7038a796eb9b90da20ac9578294e --label arch=arm64 --label version=0.0.0 . 14:13:03 Sending build context to Docker daemon 169kB 14:13:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:13:04 Step 2/25 : FROM ${BASE} AS builder 14:13:04 ---> a5494b649e7d 14:13:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:13:04 ---> Running in 73ec83e9b22d 14:13:04 Removing intermediate container 73ec83e9b22d 14:13:04 ---> 886acacfc4d8 14:13:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:13:04 ---> Running in 8134db51a0d7 14:13:04 Removing intermediate container 8134db51a0d7 14:13:04 ---> bfc63f3f9cca 14:13:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:13:05 ---> Running in 07cc058ac735 14:13:05 Removing intermediate container 07cc058ac735 14:13:05 ---> b6a87f3eccf9 14:13:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:13:05 ---> Running in fac69a2cd1f0 14:13:05 Removing intermediate container fac69a2cd1f0 14:13:05 ---> a01f285ee73c 14:13:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:13:05 ---> Running in 36ebce917ea4 14:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:13:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:13:08 OK: 226 MiB in 55 packages 14:13:09 Removing intermediate container 36ebce917ea4 14:13:09 ---> 644f9deba8f0 14:13:09 Step 8/25 : WORKDIR /device-rest-go 14:13:09 ---> Running in a7d0ddcb972b 14:13:09 Removing intermediate container a7d0ddcb972b 14:13:09 ---> cd9cbf7a2344 14:13:09 Step 9/25 : COPY go.mod vendor* ./ 14:13:12 ---> a79cad6e63af 14:13:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:13:12 ---> Running in cfdfb4b4d7e0 14:13:14 Removing intermediate container cfdfb4b4d7e0 14:13:14 ---> 20921bb0d6c4 14:13:14 Step 11/25 : COPY . . 14:13:15 ---> 7c73215a4481 14:13:15 Step 12/25 : RUN $MAKE 14:13:15 ---> Running in 214b0edc74f6 14:13:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 14:15:54 Removing intermediate container 214b0edc74f6 14:15:54 ---> ee365203ac80 14:15:54 Step 13/25 : FROM alpine:3.16 14:15:54 3.16: Pulling from library/alpine 14:15:54 6875df1f5354: Pulling fs layer 14:15:54 6875df1f5354: Verifying Checksum 14:15:54 6875df1f5354: Download complete 14:15:54 6875df1f5354: Pull complete 14:15:54 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 14:15:54 Status: Downloaded newer image for alpine:3.16 14:15:54 ---> 2b4661558fb8 14:15:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:15:54 ---> Running in 29366f40e066 14:15:54 Removing intermediate container 29366f40e066 14:15:54 ---> e619c4da19f5 14:15:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:15:54 ---> Running in 2e8787073128 14:15:54 Removing intermediate container 2e8787073128 14:15:54 ---> be3c1e677e1f 14:15:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:15:54 ---> Running in 4cde64b4ff70 14:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:15:54 (1/6) Installing dumb-init (1.2.5-r1) 14:15:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:15:54 (3/6) Installing libsodium (1.0.18-r0) 14:15:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:15:54 (5/6) Installing libzmq (4.3.4-r0) 14:15:54 (6/6) Installing zeromq (4.3.4-r0) 14:15:54 Executing busybox-1.35.0-r17.trigger 14:15:54 OK: 8 MiB in 20 packages 14:15:54 Removing intermediate container 4cde64b4ff70 14:15:54 ---> 6228fb95a9a7 14:15:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:15:54 ---> 8ed28c215d7c 14:15:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:15:55 ---> 45fc5c99b8f3 14:15:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:15:55 ---> 9b23a3ae45f1 14:15:55 Step 20/25 : EXPOSE 59986 14:15:55 ---> Running in 71844e73edaf 14:15:55 Removing intermediate container 71844e73edaf 14:15:55 ---> 154d1af3f5b6 14:15:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:15:55 ---> Running in 8cecdf56ea6b 14:15:56 Removing intermediate container 8cecdf56ea6b 14:15:56 ---> fb8300fa7ec4 14:15:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:15:56 ---> Running in d0cdf3b661d4 14:15:56 Removing intermediate container d0cdf3b661d4 14:15:56 ---> 63a8f86d9fb6 14:15:56 Step 23/25 : LABEL arch=arm64 14:15:56 ---> Running in 5a8c645bba31 14:15:56 Removing intermediate container 5a8c645bba31 14:15:56 ---> eb3ef28ab72e 14:15:56 Step 24/25 : LABEL git_sha=e21347a2f02f7038a796eb9b90da20ac9578294e 14:15:56 ---> Running in b84017b4e59e 14:15:57 Removing intermediate container b84017b4e59e 14:15:57 ---> 67e38d916d52 14:15:57 Step 25/25 : LABEL version=0.0.0 14:15:57 ---> Running in cb99d8f0fb36 14:15:57 Removing intermediate container cb99d8f0fb36 14:15:57 ---> 94ce35a1febd 14:15:57 [Warning] One or more build-args [ARCH] were not consumed 14:15:57 Successfully built 94ce35a1febd 14:15:57 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:15:57 14:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:15:58 arm64: Pulling from edgex-lftools-log-publisher 14:15:58 8998bd30e6a1: Pulling fs layer 14:15:58 04944245beec: Pulling fs layer 14:15:58 699f458cf7ca: Pulling fs layer 14:15:58 765212b225bb: Pulling fs layer 14:15:58 f23df028b6ca: Pulling fs layer 14:15:58 d65c8cfc05b1: Pulling fs layer 14:15:58 2437ff75d9bd: Pulling fs layer 14:15:58 765212b225bb: Waiting 14:15:58 f23df028b6ca: Waiting 14:15:58 2437ff75d9bd: Waiting 14:15:58 d65c8cfc05b1: Waiting 14:15:58 04944245beec: Verifying Checksum 14:15:58 04944245beec: Download complete 14:15:58 765212b225bb: Verifying Checksum 14:15:58 765212b225bb: Download complete 14:15:58 f23df028b6ca: Verifying Checksum 14:15:58 f23df028b6ca: Download complete 14:15:58 d65c8cfc05b1: Verifying Checksum 14:15:58 d65c8cfc05b1: Download complete 14:15:58 699f458cf7ca: Verifying Checksum 14:15:58 699f458cf7ca: Download complete 14:15:59 8998bd30e6a1: Verifying Checksum 14:15:59 8998bd30e6a1: Download complete 14:16:01 2437ff75d9bd: Verifying Checksum 14:16:03 8998bd30e6a1: Pull complete 14:16:03 04944245beec: Pull complete 14:16:04 699f458cf7ca: Pull complete 14:16:04 765212b225bb: Pull complete 14:16:05 f23df028b6ca: Pull complete 14:16:05 d65c8cfc05b1: Pull complete 14:16:20 2437ff75d9bd: Pull complete 14:16:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:16:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:16:20 prd-ubuntu20.04-docker-arm64-4c-16g-121072 does not seem to be running inside a container 14:16:21 $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:16:23 $ docker top 74538392ce785bfa1a5fec46dd56f724ee6fdd5b5d9e162e377cf0bcb973c43a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:16:24 ---> job-cost.sh 14:16:24 lf-activate-venv: SKIPPING 14:16:24 INFO: No Stack... 14:16:24 INFO: Retrieving Pricing Info for: v3-standard-4 14:16:25 INFO: Archiving Costs [Pipeline] sh 14:16:25 + cut -d, -f6 14:16:25 + cat /w/workspace/device-rest-go/4/archives/cost.csv [Pipeline] lock 14:16:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] 14:16:26 Resource [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] did not exist. Created. 14:16:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:16:26 /w/workspace/device-rest-go/4@tmp/durable-ab658853/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:16:26 + echo total: 0.10999999940395355 [Pipeline] stash 14:16:26 Warning: overwriting stash ‘stack-cost’ 14:16:26 Stashed 1 file(s) [Pipeline] } 14:16:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-4-stack-cost] [Pipeline] // lock [Pipeline] } 14:16:26 $ docker stop --time=1 74538392ce785bfa1a5fec46dd56f724ee6fdd5b5d9e162e377cf0bcb973c43a 14:16:29 $ docker rm -f 74538392ce785bfa1a5fec46dd56f724ee6fdd5b5d9e162e377cf0bcb973c43a [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 14:16:30 provisioning config files... 14:16:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config1362764973125142191tmp [Pipeline] { [Pipeline] sh 14:16:30 + set +x 14:16:30 + curl -s https://codecov.io/bash 14:16:30 + bash -s -- 14:16:30 14:16:30 _____ _ 14:16:30 / ____| | | 14:16:30 | | ___ __| | ___ ___ _____ __ 14:16:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:16:30 | |___| (_) | (_| | __/ (_| (_) \ V / 14:16:30 \_____\___/ \__,_|\___|\___\___/ \_/ 14:16:30 Bash-1.0.6 14:16:30 14:16:30 14:16:30 ==> git version 2.25.1 found 14:16:30 ==> 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 14:16:30 Release-Date: 2020-01-08 14:16:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:16:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:16:30 ==> Jenkins CI detected. 14:16:30 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 14:16:30 project root: . 14:16:30 --> token set from env 14:16:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:16:30 ==> Running gcov in . (disable via -X gcov) 14:16:30 ==> Python coveragepy not found 14:16:30 ==> Searching for coverage reports in: 14:16:30 + . 14:16:30 -> Found 1 reports 14:16:30 ==> Detecting git/mercurial file structure 14:16:30 ==> Reading reports 14:16:30 + ./coverage.out bytes=18351 14:16:30 ==> Appending adjustments 14:16:30 https://docs.codecov.io/docs/fixing-reports 14:16:30 + Found adjustments 14:16:30 ==> Gzipping contents 14:16:30 4.0K /tmp/codecov.rQI4T7.gz 14:16:30 ==> Uploading reports 14:16:30 url: https://codecov.io 14:16:30 query: branch=PR-229&commit=e21347a2f02f7038a796eb9b90da20ac9578294e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= 14:16:30 -> Pinging Codecov 14:16:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=e21347a2f02f7038a796eb9b90da20ac9578294e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= 14:16:30 -> Uploading to 14:16:30 https://storage.googleapis.com/codecov/v4/raw/2022-12-13/4E5D53B4F1F92C436F7061BF334D961C/e21347a2f02f7038a796eb9b90da20ac9578294e/47cc2413-2e3f-46ff-81fd-7220cf03bd1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221213T141630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1173bfd4b5567244776e76bb04776c31f20f066f56e21bd2bf8a313f1ebbe296 14:16:30 % Total % Received % Xferd Average Speed Time Time Time Current 14:16:30 Dload Upload Total Spent Left Speed 14:16:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3019 0 0 100 3019 0 12684 --:--:-- --:--:-- --:--:-- 12738 14:16:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e21347a2f02f7038a796eb9b90da20ac9578294e [Pipeline] } 14:16:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 14:16:31 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] 14:16:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives 14:16:31 total 16 14:16:31 drwxr-xr-x 3 root root 4096 Dec 13 14:07 . 14:16:31 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 14:07 .. 14:16:31 drwxr-xr-x 2 root root 4096 Dec 13 14:07 cost 14:16:31 -rw-r--r-- 1 root root 86 Dec 13 14:07 cost.csv 14:16:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives 14:16:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives 14:16:31 total 16 14:16:31 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 14:07 . 14:16:31 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 14:07 .. 14:16:31 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 14:07 cost 14:16:31 -rw-r--r-- 1 jenkins jenkins 86 Dec 13 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:16:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:16:33 ---> package-listing.sh 14:16:33 ++ facter osfamily 14:16:33 ++ tr '[:upper:]' '[:lower:]' 14:16:33 + OS_FAMILY=debian 14:16:33 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 14:16:33 + START_PACKAGES=/tmp/packages_start.txt 14:16:33 + END_PACKAGES=/tmp/packages_end.txt 14:16:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:16:33 + PACKAGES=/tmp/packages_start.txt 14:16:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' 14:16:33 + PACKAGES=/tmp/packages_end.txt 14:16:33 + case "${OS_FAMILY}" in 14:16:33 + dpkg -l 14:16:33 + grep '^ii' 14:16:33 + '[' -f /tmp/packages_start.txt ']' 14:16:33 + '[' -f /tmp/packages_end.txt ']' 14:16:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:16:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' 14:16:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ 14:16:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo 14:16:33 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/gexfoundry_device-rest-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:16:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:16:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:16:34 prd-ubuntu20.04-docker-8c-8g-121070 does not seem to be running inside a container 14:16:34 $ 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/gexfoundry_device-rest-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:16:34 $ docker top bd399cc3519f0da82f6cb5aa0bf92eebd123413aad96223d6be0bdecb23d70c4 -eo pid,comm [Pipeline] { [Pipeline] sh 14:16:34 + touch /tmp/pre-build-complete [Pipeline] sh 14:16:35 + mkdir -p /var/log/sysstat [Pipeline] sh 14:16:35 + ls /var/log/sa-host 14:16:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:16:35 provisioning config files... 14:16:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config4686352639509189024tmp [Pipeline] { [Pipeline] echo 14:16:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:16:35 ---> create-netrc.sh [Pipeline] } 14:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:16:36 ---> python-tools-install.sh [Pipeline] echo 14:16:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:16:36 ---> sudo-logs.sh 14:16:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:16:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:16:36 ---> job-cost.sh 14:16:36 lf-activate-venv: SKIPPING 14:16:36 DEBUG: total: 0.2199999988079071 14:16:36 INFO: Retrieving Stack Cost... 14:16:36 INFO: Retrieving Pricing Info for: v3-standard-8 14:16:37 INFO: Archiving Costs [Pipeline] echo 14:16:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:16:37 ---> logs-deploy.sh 14:16:37 lf-activate-venv: SKIPPING 14:16:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/4 14:16:37 INFO: archiving workspace using pattern(s): 14:16:38 Archives upload complete. 14:16:39 INFO: archiving logs to Nexus 14:16:39 ---> uname -a: 14:16:39 Linux prd-ubuntu20-04-docker-8c-8g-121070 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 14:16:39 14:16:39 14:16:39 ---> lscpu: 14:16:39 Architecture: x86_64 14:16:39 CPU op-mode(s): 32-bit, 64-bit 14:16:39 Byte Order: Little Endian 14:16:39 Address sizes: 40 bits physical, 48 bits virtual 14:16:39 CPU(s): 8 14:16:39 On-line CPU(s) list: 0-7 14:16:39 Thread(s) per core: 1 14:16:39 Core(s) per socket: 1 14:16:39 Socket(s): 8 14:16:39 NUMA node(s): 1 14:16:39 Vendor ID: AuthenticAMD 14:16:39 CPU family: 23 14:16:39 Model: 49 14:16:39 Model name: AMD EPYC-Rome Processor 14:16:39 Stepping: 0 14:16:39 CPU MHz: 2799.996 14:16:39 BogoMIPS: 5599.99 14:16:39 Virtualization: AMD-V 14:16:39 Hypervisor vendor: KVM 14:16:39 Virtualization type: full 14:16:39 L1d cache: 256 KiB 14:16:39 L1i cache: 256 KiB 14:16:39 L2 cache: 4 MiB 14:16:39 L3 cache: 128 MiB 14:16:39 NUMA node0 CPU(s): 0-7 14:16:39 Vulnerability Itlb multihit: Not affected 14:16:39 Vulnerability L1tf: Not affected 14:16:39 Vulnerability Mds: Not affected 14:16:39 Vulnerability Meltdown: Not affected 14:16:39 Vulnerability Mmio stale data: Not affected 14:16:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:16:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:16:39 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:16:39 Vulnerability Srbds: Not affected 14:16:39 Vulnerability Tsx async abort: Not affected 14:16:39 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 14:16:39 14:16:39 14:16:39 ---> nproc: 14:16:39 8 14:16:39 14:16:39 14:16:39 ---> df -h: 14:16:39 Filesystem Size Used Avail Use% Mounted on 14:16:39 overlay 155G 12G 144G 8% / 14:16:39 tmpfs 64M 0 64M 0% /dev 14:16:39 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:16:39 shm 64M 0 64M 0% /dev/shm 14:16:39 /dev/vda1 155G 12G 144G 8% /facter-os 14:16:39 14:16:39 14:16:39 ---> sar -b -r -n DEV: 14:16:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121070) 12/13/22 _x86_64_ (8 CPU) 14:16:39 14:16:39 14:05:14 LINUX RESTART (8 CPU) 14:16:39 14:16:39 14:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:16:39 14:07:01 207.19 4.54 202.64 0.00 437.49 78232.57 0.00 14:16:39 14:08:01 174.13 0.18 173.94 0.00 8.26 40144.89 0.00 14:16:39 14:09:01 2.08 0.00 2.08 0.00 0.00 23.75 0.00 14:16:39 14:10:01 3.68 1.02 2.67 0.00 21.86 33.46 0.00 14:16:39 14:11:01 52.61 10.56 42.04 0.00 5154.74 8726.55 0.00 14:16:39 14:12:01 6.63 0.02 6.62 0.00 0.13 129.05 0.00 14:16:39 14:13:01 1.37 0.00 1.37 0.00 0.00 15.46 0.00 14:16:39 14:14:01 2.07 0.00 2.07 0.00 0.00 22.93 0.00 14:16:39 14:15:01 1.17 0.00 1.17 0.00 0.00 13.06 0.00 14:16:39 14:16:01 2.23 0.00 2.23 0.00 0.00 25.86 0.00 14:16:39 Average: 45.05 1.63 43.42 0.00 562.43 12627.47 0.00 14:16:39 14:16:39 14:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:16:39 14:07:01 28286232 31487636 810460 2.46 138556 3257016 1946476 5.74 1251644 2889108 133168 14:16:39 14:08:01 27750012 31566792 732148 2.23 150796 3822704 1731056 5.10 1230676 3403668 372 14:16:39 14:09:01 27750648 31567488 731264 2.22 150852 3822708 1731056 5.10 1231036 3403672 148 14:16:39 14:10:01 27753360 31571356 727420 2.21 150952 3823324 1787052 5.27 1226436 3404212 168 14:16:39 14:11:01 27228868 31549940 732748 2.23 184180 4277512 1802652 5.31 1550628 3570196 1100 14:16:39 14:12:01 27236288 31552700 730544 2.22 182748 4274388 1790052 5.28 1546964 3567120 180 14:16:39 14:13:01 27244944 31561440 721828 2.20 182824 4274392 1790052 5.28 1538600 3567124 8 14:16:39 14:14:01 27244872 31561472 721696 2.19 182908 4274396 1790052 5.28 1538668 3567128 8 14:16:39 14:15:01 27245240 31561896 721168 2.19 182944 4274396 1790052 5.28 1538804 3567128 168 14:16:39 14:16:01 27245040 31561764 721164 2.19 183012 4274400 1790052 5.28 1539016 3567136 204 14:16:39 Average: 27498550 31554248 735044 2.24 168977 4037524 1794855 5.29 1419247 3450649 13552 14:16:39 14:16:39 14:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:16:39 14:07:01 veth726f9b0 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 14:16:39 14:07:01 ens3 446.57 315.37 6114.92 48.13 0.00 0.00 0.00 0.00 14:16:39 14:07:01 docker0 175.46 209.93 14.36 1984.81 0.00 0.00 0.00 0.00 14:16:39 14:07:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 14:16:39 14:08:01 ens3 132.84 89.09 2683.54 19.03 0.00 0.00 0.00 0.00 14:16:39 14:08:01 docker0 4.70 9.35 0.29 98.58 0.00 0.00 0.00 0.00 14:16:39 14:08:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 14:16:39 14:09:01 ens3 0.75 0.42 0.60 0.28 0.00 0.00 0.00 0.00 14:16:39 14:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:10:01 ens3 0.13 0.17 0.01 0.01 0.00 0.00 0.00 0.00 14:16:39 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:16:39 14:11:01 ens3 142.26 85.39 2747.74 6.08 0.00 0.00 0.00 0.00 14:16:39 14:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:11:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 14:16:39 14:12:01 ens3 0.25 0.22 0.02 0.02 0.00 0.00 0.00 0.00 14:16:39 14:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:16:39 14:13:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:14:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:16:39 14:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:16:39 14:15:01 ens3 0.07 0.07 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:16:01 ens3 0.25 0.22 0.08 0.07 0.00 0.00 0.00 0.00 14:16:39 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:39 14:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:16:39 Average: ens3 71.70 48.66 1146.40 7.29 0.00 0.00 0.00 0.00 14:16:39 Average: docker0 17.75 21.61 1.44 205.37 0.00 0.00 0.00 0.00 14:16:39 Average: lo 0.63 0.63 0.06 0.06 0.00 0.00 0.00 0.00 14:16:39 14:16:39 14:16:39 ---> sar -P ALL: 14:16:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121070) 12/13/22 _x86_64_ (8 CPU) 14:16:39 14:16:39 14:05:14 LINUX RESTART (8 CPU) 14:16:39 14:16:39 14:06:01 CPU %user %nice %system %iowait %steal %idle 14:16:39 14:07:01 all 26.79 0.00 6.71 1.21 0.08 65.22 14:16:39 14:07:01 0 26.68 0.00 6.52 1.55 0.09 65.16 14:16:39 14:07:01 1 26.65 0.00 7.18 0.43 0.09 65.65 14:16:39 14:07:01 2 28.25 0.00 6.91 0.21 0.07 64.57 14:16:39 14:07:01 3 26.69 0.00 7.67 2.03 0.07 63.54 14:16:39 14:07:01 4 24.83 0.00 7.39 0.81 0.07 66.90 14:16:39 14:07:01 5 27.75 0.00 6.75 1.91 0.09 63.50 14:16:39 14:07:01 6 27.30 0.00 5.36 0.09 0.07 67.19 14:16:39 14:07:01 7 26.14 0.00 5.88 2.62 0.10 65.27 14:16:39 14:08:01 all 21.18 0.00 4.92 0.71 0.06 73.12 14:16:39 14:08:01 0 20.89 0.00 5.29 1.33 0.05 72.43 14:16:39 14:08:01 1 22.27 0.00 4.93 0.49 0.07 72.25 14:16:39 14:08:01 2 21.50 0.00 5.16 0.22 0.05 73.07 14:16:39 14:08:01 3 20.98 0.00 5.42 0.88 0.07 72.65 14:16:39 14:08:01 4 22.08 0.00 5.00 0.02 0.05 72.85 14:16:39 14:08:01 5 22.46 0.00 4.25 0.15 0.05 73.09 14:16:39 14:08:01 6 18.37 0.00 4.59 2.29 0.07 74.69 14:16:39 14:08:01 7 20.87 0.00 4.75 0.34 0.07 73.97 14:16:39 14:09:01 all 0.28 0.00 0.01 0.01 0.00 99.70 14:16:39 14:09:01 0 0.03 0.00 0.03 0.02 0.00 99.92 14:16:39 14:09:01 1 0.03 0.00 0.02 0.03 0.00 99.92 14:16:39 14:09:01 2 0.02 0.00 0.03 0.00 0.02 99.93 14:16:39 14:09:01 3 0.05 0.00 0.02 0.00 0.00 99.93 14:16:39 14:09:01 4 0.00 0.00 0.02 0.00 0.00 99.98 14:16:39 14:09:01 5 1.99 0.00 0.00 0.00 0.02 98.00 14:16:39 14:09:01 6 0.05 0.00 0.00 0.00 0.00 99.95 14:16:39 14:09:01 7 0.03 0.00 0.00 0.00 0.00 99.97 14:16:39 14:10:01 all 0.19 0.00 0.05 0.01 0.00 99.75 14:16:39 14:10:01 0 0.05 0.00 0.02 0.00 0.00 99.93 14:16:39 14:10:01 1 0.20 0.00 0.10 0.07 0.00 99.63 14:16:39 14:10:01 2 0.03 0.00 0.07 0.00 0.02 99.88 14:16:39 14:10:01 3 0.02 0.00 0.03 0.00 0.00 99.95 14:16:39 14:10:01 4 0.03 0.00 0.02 0.00 0.00 99.95 14:16:39 14:10:01 5 1.03 0.00 0.08 0.00 0.00 98.89 14:16:39 14:10:01 6 0.07 0.00 0.03 0.02 0.00 99.88 14:16:39 14:10:01 7 0.05 0.00 0.03 0.00 0.00 99.92 14:16:39 14:11:01 all 2.23 0.00 1.34 0.37 0.02 96.04 14:16:39 14:11:01 0 1.18 0.00 1.10 0.07 0.02 97.63 14:16:39 14:11:01 1 2.54 0.00 0.64 0.84 0.02 95.96 14:16:39 14:11:01 2 3.80 0.00 1.13 0.12 0.02 94.93 14:16:39 14:11:01 3 2.39 0.00 0.99 0.20 0.03 96.39 14:16:39 14:11:01 4 3.03 0.00 0.90 0.59 0.03 95.45 14:16:39 14:11:01 5 1.59 0.00 3.34 0.64 0.02 94.42 14:16:39 14:11:01 6 1.27 0.00 0.92 0.43 0.02 97.36 14:16:39 14:11:01 7 2.04 0.00 1.69 0.05 0.02 96.21 14:16:39 14:12:01 all 0.32 0.00 0.06 0.04 0.01 99.58 14:16:39 14:12:01 0 0.03 0.00 0.05 0.00 0.00 99.92 14:16:39 14:12:01 1 2.09 0.00 0.05 0.00 0.02 97.85 14:16:39 14:12:01 2 0.03 0.00 0.05 0.00 0.02 99.90 14:16:39 14:12:01 3 0.22 0.00 0.12 0.00 0.00 99.67 14:16:39 14:12:01 4 0.05 0.00 0.08 0.25 0.02 99.60 14:16:39 14:12:01 5 0.03 0.00 0.03 0.02 0.02 99.90 14:16:39 14:12:01 6 0.03 0.00 0.03 0.02 0.00 99.92 14:16:39 14:12:01 7 0.03 0.00 0.03 0.00 0.00 99.93 14:16:39 14:13:01 all 0.26 0.00 0.01 0.01 0.01 99.72 14:16:39 14:13:01 0 0.00 0.00 0.00 0.00 0.00 100.00 14:16:39 14:13:01 1 1.99 0.00 0.02 0.00 0.02 97.98 14:16:39 14:13:01 2 0.00 0.00 0.02 0.00 0.00 99.98 14:16:39 14:13:01 3 0.00 0.00 0.02 0.00 0.00 99.98 14:16:39 14:13:01 4 0.03 0.00 0.02 0.05 0.02 99.88 14:16:39 14:13:01 5 0.00 0.00 0.00 0.00 0.00 100.00 14:16:39 14:13:01 6 0.02 0.00 0.00 0.00 0.02 99.97 14:16:39 14:13:01 7 0.00 0.00 0.02 0.00 0.00 99.98 14:16:39 14:14:01 all 0.27 0.00 0.01 0.01 0.00 99.71 14:16:39 14:14:01 0 0.02 0.00 0.02 0.00 0.00 99.97 14:16:39 14:14:01 1 1.99 0.00 0.02 0.00 0.00 98.00 14:16:39 14:14:01 2 0.02 0.00 0.00 0.00 0.00 99.98 14:16:39 14:14:01 3 0.00 0.00 0.02 0.00 0.00 99.98 14:16:39 14:14:01 4 0.05 0.00 0.03 0.07 0.02 99.83 14:16:39 14:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 14:16:39 14:14:01 6 0.02 0.00 0.00 0.02 0.00 99.97 14:16:39 14:14:01 7 0.02 0.00 0.00 0.00 0.00 99.98 14:16:39 14:15:01 all 0.12 0.00 0.02 0.01 0.01 99.85 14:16:39 14:15:01 0 0.02 0.00 0.00 0.00 0.02 99.97 14:16:39 14:15:01 1 0.76 0.00 0.10 0.00 0.02 99.12 14:16:39 14:15:01 2 0.02 0.00 0.02 0.00 0.02 99.95 14:16:39 14:15:01 3 0.02 0.00 0.00 0.00 0.00 99.98 14:16:39 14:15:01 4 0.03 0.00 0.02 0.05 0.02 99.88 14:16:39 14:15:01 5 0.02 0.00 0.00 0.00 0.00 99.98 14:16:39 14:15:01 6 0.03 0.00 0.00 0.00 0.00 99.97 14:16:39 14:15:01 7 0.03 0.00 0.00 0.00 0.02 99.95 14:16:39 14:16:01 all 0.05 0.00 0.02 0.01 0.00 99.92 14:16:39 14:16:01 0 0.02 0.00 0.00 0.00 0.00 99.98 14:16:39 14:16:01 1 0.03 0.00 0.00 0.00 0.00 99.97 14:16:39 14:16:01 2 0.02 0.00 0.02 0.00 0.00 99.97 14:16:39 14:16:01 3 0.00 0.00 0.00 0.00 0.00 100.00 14:16:39 14:16:01 4 0.03 0.00 0.03 0.05 0.02 99.87 14:16:39 14:16:01 5 0.02 0.00 0.03 0.00 0.02 99.93 14:16:39 14:16:01 6 0.28 0.00 0.02 0.02 0.00 99.68 14:16:39 14:16:01 7 0.02 0.00 0.05 0.00 0.00 99.93 14:16:39 Average: all 5.08 0.00 1.29 0.23 0.02 93.38 14:16:39 Average: 0 4.80 0.00 1.28 0.29 0.02 93.61 14:16:39 Average: 1 5.76 0.00 1.28 0.18 0.02 92.76 14:16:39 Average: 2 5.28 0.00 1.32 0.05 0.02 93.33 14:16:39 Average: 3 4.94 0.00 1.40 0.30 0.02 93.33 14:16:39 Average: 4 4.94 0.00 1.33 0.19 0.02 93.52 14:16:39 Average: 5 5.42 0.00 1.43 0.27 0.02 92.87 14:16:39 Average: 6 4.64 0.00 1.07 0.28 0.02 93.98 14:16:39 Average: 7 4.84 0.00 1.23 0.29 0.02 93.63 14:16:39 14:16:39 14:16:39