Pull request #226 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1386cac7d5f175829e47539b2f4acddd1f9c3b0+ee3b3be503c005455f07215b653abfd16f272028 (35457be30f6ca7f6287b8134f8288f3176009bc3) 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-ssh17336912686752025790.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-ssh6062398274834401758.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6470332709469942432.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5435237113258972249.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10154699674609606758.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11459195227738021676.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118506 in /w/workspace/gexfoundry_device-rest-go_PR-226 [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-226 # 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/226/head:refs/remotes/origin/PR-226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit b1386cac7d5f175829e47539b2f4acddd1f9c3b0 Merge succeeded, producing b1386cac7d5f175829e47539b2f4acddd1f9c3b0 Checking out Revision b1386cac7d5f175829e47539b2f4acddd1f9c3b0 (PR-226) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # 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 ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:02:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:02:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:02:49 ========================================================= 20:02:49 EdgeX Global Pipelines Version Info 20:02:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:02:50 ------------------- 20:02:50 stable info: 20:02:50 ------------------- 20:02:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:02:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:02:50 Message: update stable to v1.0.244 20:02:51 ------------------- 20:02:51 experimental info: 20:02:51 ------------------- 20:02:51 Commited By: **** collab-it+edgex@linuxfoundation.org 20:02:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:02:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:02:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:02:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:02:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:02:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:02:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:02:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-226 [Pipeline] echo 20:02:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-226 [Pipeline] echo 20:02:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-226 [Pipeline] echo 20:02:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo 20:02:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1386ca [Pipeline] echo 20:02:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:53 provisioning config files... 20:02:53 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config1175353264801494090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:53 ---> docker-login.sh 20:02:53 nexus3.edgexfoundry.org:10001 20:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:53 Configure a credential helper to remove this warning. See 20:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:53 20:02:53 Login Succeeded 20:02:53 nexus3.edgexfoundry.org:10002 20:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:53 Configure a credential helper to remove this warning. See 20:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:53 20:02:53 Login Succeeded 20:02:53 nexus3.edgexfoundry.org:10003 20:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:54 Configure a credential helper to remove this warning. See 20:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:54 20:02:54 Login Succeeded 20:02:54 nexus3.edgexfoundry.org:10004 20:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:54 Configure a credential helper to remove this warning. See 20:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:54 20:02:54 Login Succeeded 20:02:54 docker.io 20:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:54 Configure a credential helper to remove this warning. See 20:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:54 20:02:54 Login Succeeded 20:02:54 ---> docker-login.sh ends [Pipeline] } 20:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:02:55 + git rev-list -1 --merges b1386cac7d5f175829e47539b2f4acddd1f9c3b0~1..b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo 20:02:55 -----------> git rev-list -1 --merges b1386cac7d5f175829e47539b2f4acddd1f9c3b0~1..b1386cac7d5f175829e47539b2f4acddd1f9c3b0 b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [false] [Pipeline] sh 20:02:55 + git log --format=format:%s -1 b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo 20:02:55 ========================================================= 20:02:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:02:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:56 + git log --format=format:%s -1 b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo 20:02:56 [semverPrep] GIT_COMMIT: b1386cac7d5f175829e47539b2f4acddd1f9c3b0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:02:56 [semverPrep] This is not a build commit. [Pipeline] sh 20:02:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:02:56 + grep -v github /etc/ssh/ssh_known_hosts 20:02:56 + [ -e /tmp/ssh_known_hosts ] 20:02:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:02:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:02:56 + sudo tee -a /etc/ssh/ssh_known_hosts 20:02:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:57 20:02:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:02:57 b85a868b505f: Pulling fs layer 20:02:57 e2be974225ed: Pulling fs layer 20:02:57 339a4e72a1f5: Pulling fs layer 20:02:57 988bab9f4d93: Pulling fs layer 20:02:57 1469e6f7b9e6: Pulling fs layer 20:02:57 eaf3925da568: Pulling fs layer 20:02:57 bab4dde63d76: Pulling fs layer 20:02:57 bde34c3a00c8: Pulling fs layer 20:02:57 b352a97aabf1: Pulling fs layer 20:02:57 4872d77fe225: Pulling fs layer 20:02:57 5851b861e8e6: Pulling fs layer 20:02:57 b352a97aabf1: Waiting 20:02:57 eaf3925da568: Waiting 20:02:57 bab4dde63d76: Waiting 20:02:57 bde34c3a00c8: Waiting 20:02:57 5851b861e8e6: Waiting 20:02:57 988bab9f4d93: Waiting 20:02:57 1469e6f7b9e6: Waiting 20:02:57 e2be974225ed: Download complete 20:02:57 988bab9f4d93: Download complete 20:02:57 1469e6f7b9e6: Verifying Checksum 20:02:57 1469e6f7b9e6: Download complete 20:02:57 339a4e72a1f5: Verifying Checksum 20:02:57 339a4e72a1f5: Download complete 20:02:57 eaf3925da568: Verifying Checksum 20:02:57 eaf3925da568: Download complete 20:02:57 bde34c3a00c8: Download complete 20:02:57 b352a97aabf1: Download complete 20:02:57 4872d77fe225: Verifying Checksum 20:02:57 4872d77fe225: Download complete 20:02:57 5851b861e8e6: Download complete 20:02:57 b85a868b505f: Verifying Checksum 20:02:57 b85a868b505f: Download complete 20:02:58 bab4dde63d76: Verifying Checksum 20:02:58 bab4dde63d76: Download complete 20:02:58 b85a868b505f: Pull complete 20:02:59 e2be974225ed: Pull complete 20:02:59 339a4e72a1f5: Pull complete 20:02:59 988bab9f4d93: Pull complete 20:03:00 1469e6f7b9e6: Pull complete 20:03:00 eaf3925da568: Pull complete 20:03:01 bab4dde63d76: Pull complete 20:03:01 bde34c3a00c8: Pull complete 20:03:01 b352a97aabf1: Pull complete 20:03:01 4872d77fe225: Pull complete 20:03:02 5851b861e8e6: Pull complete 20:03:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:03:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:02 prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container 20:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:03:03 $ docker top c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 -eo pid,comm 20:03: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). 20:03:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:03 [ssh-agent] Looking for ssh-agent implementation... 20:03:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:03 $ docker exec c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent 20:03:04 SSH_AUTH_SOCK=/tmp/ssh-XeM6ePlRZi8p/agent.32 20:03:04 SSH_AGENT_PID=38 20:03:04 Running ssh-add (command line suppressed) 20:03:04 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_10659705612705947410.key (/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_10659705612705947410.key) 20:03:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:04 + git tag --points-at HEAD [Pipeline] } 20:03:04 $ docker exec --env ******** --env ******** c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent -k 20:03:04 unset SSH_AUTH_SOCK; 20:03:04 unset SSH_AGENT_PID; 20:03:04 echo Agent pid 38 killed; 20:03:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:03:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:04 [ssh-agent] Looking for ssh-agent implementation... 20:03:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:04 $ docker exec c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent 20:03:04 SSH_AUTH_SOCK=/tmp/ssh-twdk3zmrS0pl/agent.71 20:03:04 SSH_AGENT_PID=76 20:03:04 Running ssh-add (command line suppressed) 20:03:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_12748040643517261169.key (/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_12748040643517261169.key) 20:03:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:05 + git semver init 20:03:05 2022-11-07 20:03:05,553 [run_init] DEBUG init version:0.0.0 force:False 20:03:05 2022-11-07 20:03:05,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-226/.semver 20:03:05 2022-11-07 20:03:05,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-226/.semver 20:03:05 2022-11-07 20:03:05,556 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-226/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-226, universal_newlines=False, shell=None, istream=None) 20:03:09 2022-11-07 20:03:09,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-226/.git/info/exclude 20:03:09 2022-11-07 20:03:09,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-226/.semver/PR-226 with force:False 20:03:09 2022-11-07 20:03:09,534 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-226/.semver/PR-226 20:03:09 2022-11-07 20:03:09,538 [execute] INFO git cat-file --batch-check 20:03:09 2022-11-07 20:03:09,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-226/.semver, universal_newlines=False, shell=None, istream=) 20:03:09 2022-11-07 20:03:09,544 [execute] INFO git cat-file --batch 20:03:09 2022-11-07 20:03:09,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-226/.semver, universal_newlines=False, shell=None, istream=) 20:03:09 2022-11-07 20:03:09,550 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-226/.semver/PR-226 20:03:09 0.0.0 [Pipeline] } 20:03:09 $ docker exec --env ******** --env ******** c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent -k 20:03:09 unset SSH_AUTH_SOCK; 20:03:09 unset SSH_AGENT_PID; 20:03:09 echo Agent pid 76 killed; 20:03:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:10 + git semver [Pipeline] } 20:03:10 $ docker stop --time=1 c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 20:03:11 $ docker rm -f c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:03:12 Stashed 1 file(s) [Pipeline] echo 20:03:12 [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 20:03:13 provisioning config files... 20:03:13 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config2402549286990015207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:13 ---> docker-login.sh 20:03:13 nexus3.edgexfoundry.org:10001 20:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:13 Configure a credential helper to remove this warning. See 20:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:13 20:03:13 Login Succeeded 20:03:13 nexus3.edgexfoundry.org:10002 20:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:13 Configure a credential helper to remove this warning. See 20:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:13 20:03:13 Login Succeeded 20:03:13 nexus3.edgexfoundry.org:10003 20:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:13 Configure a credential helper to remove this warning. See 20:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:13 20:03:13 Login Succeeded 20:03:13 nexus3.edgexfoundry.org:10004 20:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:13 Configure a credential helper to remove this warning. See 20:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:13 20:03:13 Login Succeeded 20:03:13 docker.io 20:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:14 Configure a credential helper to remove this warning. See 20:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:14 20:03:14 Login Succeeded 20:03:14 ---> docker-login.sh ends [Pipeline] } 20:03:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:03:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:14 ========================================================= 20:03:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:03:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:15 + 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 . 20:03:15 Sending build context to Docker daemon 10.76MB 20:03:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:03:15 Step 2/12 : FROM ${BASE} AS builder 20:03:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:03:15 213ec9aee27d: Pulling fs layer 20:03:15 4583459ba037: Pulling fs layer 20:03:15 93c1e223e6f2: Pulling fs layer 20:03:15 53926ce57604: Pulling fs layer 20:03:15 21b2b0c7a3f4: Pulling fs layer 20:03:15 22ff95d597cd: Pulling fs layer 20:03:15 12d6caf4c0d1: Pulling fs layer 20:03:15 96b7cbca73a9: Pulling fs layer 20:03:15 a7acece74701: Pulling fs layer 20:03:15 22ff95d597cd: Waiting 20:03:15 12d6caf4c0d1: Waiting 20:03:15 96b7cbca73a9: Waiting 20:03:15 a7acece74701: Waiting 20:03:15 53926ce57604: Waiting 20:03:15 21b2b0c7a3f4: Waiting 20:03:15 93c1e223e6f2: Verifying Checksum 20:03:15 93c1e223e6f2: Download complete 20:03:15 4583459ba037: Download complete 20:03:15 21b2b0c7a3f4: Verifying Checksum 20:03:15 21b2b0c7a3f4: Download complete 20:03:15 22ff95d597cd: Download complete 20:03:15 213ec9aee27d: Verifying Checksum 20:03:15 213ec9aee27d: Download complete 20:03:15 12d6caf4c0d1: Download complete 20:03:15 213ec9aee27d: Pull complete 20:03:15 4583459ba037: Pull complete 20:03:15 93c1e223e6f2: Pull complete 20:03:16 a7acece74701: Verifying Checksum 20:03:16 a7acece74701: Download complete 20:03:16 53926ce57604: Verifying Checksum 20:03:16 53926ce57604: Download complete 20:03:16 96b7cbca73a9: Verifying Checksum 20:03:16 96b7cbca73a9: Download complete 20:03:19 53926ce57604: Pull complete 20:03:19 21b2b0c7a3f4: Pull complete 20:03:19 22ff95d597cd: Pull complete 20:03:19 12d6caf4c0d1: Pull complete 20:03:21 96b7cbca73a9: Pull complete 20:03:22 a7acece74701: Pull complete 20:03:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:03:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:03:22 ---> db6d94c90886 20:03:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:03:24 ---> Running in 3c1155be6fb6 20:03:24 Removing intermediate container 3c1155be6fb6 20:03:24 ---> 2caa3da0b5e6 20:03:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:24 ---> Running in f4dd1f1f21cf 20:03:24 Removing intermediate container f4dd1f1f21cf 20:03:24 ---> 422db1548fb2 20:03:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:24 ---> Running in ed31d3e28df8 20:03:24 Removing intermediate container ed31d3e28df8 20:03:24 ---> 2ffa5c04b0ca 20:03:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:03:24 ---> Running in 74c26797b0d6 20:03:24 Removing intermediate container 74c26797b0d6 20:03:24 ---> 7c1ca141870f 20:03:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:24 ---> Running in 969e4cfee39a 20:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:03:25 (2/4) Installing libedit (20210910.3.1-r0) 20:03:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:03:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:03:25 Executing busybox-1.35.0-r17.trigger 20:03:25 OK: 216 MiB in 55 packages 20:03:25 Removing intermediate container 969e4cfee39a 20:03:25 ---> 7befa2f0a70c 20:03:25 Step 8/12 : WORKDIR /device-rest-go 20:03:25 ---> Running in 966319dc2b6a 20:03:25 Removing intermediate container 966319dc2b6a 20:03:25 ---> aa3a8a6ff1e0 20:03:25 Step 9/12 : COPY go.mod vendor* ./ 20:03:25 ---> 35b2d7cce6bc 20:03:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:25 ---> Running in cac71eaad6d2 20:03:28 Still waiting to schedule task 20:03:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:03:43 Removing intermediate container cac71eaad6d2 20:03:43 ---> b156c57530ed 20:03:43 Step 11/12 : COPY . . 20:03:44 ---> fc7f31ed7098 20:03:44 Step 12/12 : RUN $MAKE 20:03:44 ---> Running in 77cce01c167e 20:03:44 noop 20:03:44 Removing intermediate container 77cce01c167e 20:03:44 ---> c27f70beb626 20:03:44 Successfully built c27f70beb626 20:03:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:45 + docker inspect -f . ci-base-image-x86_64 20:03:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:45 prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container 20:03:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 ******** ci-base-image-x86_64 cat 20:03:45 $ docker top 7643f0d40fa4d83ab1e961622ffb32b8e44a884e56fe37a0218224c289e44355 -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:46 + go version 20:03:46 go version go1.18.7 linux/amd64 [Pipeline] } 20:03:46 $ docker stop --time=1 7643f0d40fa4d83ab1e961622ffb32b8e44a884e56fe37a0218224c289e44355 20:03:47 $ docker rm -f 7643f0d40fa4d83ab1e961622ffb32b8e44a884e56fe37a0218224c289e44355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:48 + docker inspect -f . ci-base-image-x86_64 20:03:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:48 prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container 20:03:48 $ 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-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 ******** ci-base-image-x86_64 cat 20:03:48 $ docker top 9dd53f45e6f04d171837aea5637cc50da4594357c87c986361639b0ced6096bf -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-226 [Pipeline] fileExists [Pipeline] sh 20:03:49 + make test 20:03:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:03:50 ? github.com/edgexfoundry/device-rest-go [no test files] 20:04:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:04:00 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 20:04:08 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." 20:04:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:04:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:04:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:04:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:04:10 $ docker stop --time=1 9dd53f45e6f04d171837aea5637cc50da4594357c87c986361639b0ced6096bf 20:04:12 $ docker rm -f 9dd53f45e6f04d171837aea5637cc50da4594357c87c986361639b0ced6096bf [Pipeline] // withDockerContainer [Pipeline] sh 20:04:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:04:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:04:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:14 + ls -al . 20:04:14 total 188 20:04:14 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 20:03 . 20:04:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:02 .. 20:04:14 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:02 .dockerignore 20:04:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:04 .git 20:04:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:02 .github 20:04:14 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:02 .gitignore 20:04:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:02 .golangci.yml 20:04:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:03 .semver 20:04:14 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:02 Attribution.txt 20:04:14 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:02 CHANGELOG.md 20:04:14 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:02 Dockerfile 20:04:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:02 GOVERNANCE.md 20:04:14 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:02 Jenkinsfile 20:04:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:02 LICENSE 20:04:14 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:02 Makefile 20:04:14 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:02 OWNERS.md 20:04:14 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:02 README.md 20:04:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION 20:04:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:02 bin 20:04:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:02 cmd 20:04:14 -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:03 coverage.out 20:04:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:02 driver 20:04:14 -rw-rw-r-- 1 jenkins jenkins 3529 Nov 7 20:02 go.mod 20:04:14 -rw-rw-r-- 1 jenkins jenkins 44953 Nov 7 20:02 go.sum 20:04:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:02 snap 20:04:14 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:14 + 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=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 --label arch=amd64 --label version=0.0.0 . 20:04:14 Sending build context to Docker daemon 10.77MB 20:04:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:04:14 Step 2/25 : FROM ${BASE} AS builder 20:04:14 ---> c27f70beb626 20:04:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:04:14 ---> Running in b0efccc1df32 20:04:14 Removing intermediate container b0efccc1df32 20:04:14 ---> f2578327e0af 20:04:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:14 ---> Running in 42c2666b9b1d 20:04:14 Removing intermediate container 42c2666b9b1d 20:04:14 ---> 0a442753a8a1 20:04:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:14 ---> Running in 97d8a4bd6250 20:04:14 Removing intermediate container 97d8a4bd6250 20:04:14 ---> 500e0cca4481 20:04:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:04:14 ---> Running in f8761bbc5e5b 20:04:14 Removing intermediate container f8761bbc5e5b 20:04:14 ---> 4f4c408d1f0b 20:04:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:14 ---> Running in a06de5ee4f08 20:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:15 OK: 216 MiB in 55 packages 20:04:16 Removing intermediate container a06de5ee4f08 20:04:16 ---> e1f615d88f92 20:04:16 Step 8/25 : WORKDIR /device-rest-go 20:04:16 ---> Running in 906c496202ad 20:04:16 Removing intermediate container 906c496202ad 20:04:16 ---> ee4048f88474 20:04:16 Step 9/25 : COPY go.mod vendor* ./ 20:04:16 ---> f4438ea43455 20:04:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:16 ---> Running in e59a11b734c4 20:04:16 Removing intermediate container e59a11b734c4 20:04:16 ---> 3fc5b7eb36c0 20:04:16 Step 11/25 : COPY . . 20:04:17 ---> 9033dae26421 20:04:17 Step 12/25 : RUN $MAKE 20:04:17 ---> Running in d8554d91bce3 20:04: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 20:04:39 Removing intermediate container d8554d91bce3 20:04:39 ---> 586b2059b0a4 20:04:39 Step 13/25 : FROM alpine:3.16 20:04:39 3.16: Pulling from library/alpine 20:04:39 213ec9aee27d: Already exists 20:04:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:04:39 Status: Downloaded newer image for alpine:3.16 20:04:39 ---> 9c6f07244728 20:04:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:04:39 ---> Running in b9d97cbc9d8f 20:04:39 Removing intermediate container b9d97cbc9d8f 20:04:39 ---> 010de2481a0c 20:04:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:04:39 ---> Running in 614fb00b8908 20:04:39 Removing intermediate container 614fb00b8908 20:04:39 ---> 15c0e8106c6e 20:04:39 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:04:39 ---> Running in e6009582931e 20:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:39 (1/6) Installing dumb-init (1.2.5-r1) 20:04:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:04:39 (3/6) Installing libsodium (1.0.18-r0) 20:04:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:04:39 (5/6) Installing libzmq (4.3.4-r0) 20:04:39 (6/6) Installing zeromq (4.3.4-r0) 20:04:39 Executing busybox-1.35.0-r17.trigger 20:04:39 OK: 8 MiB in 20 packages 20:04:39 Removing intermediate container e6009582931e 20:04:39 ---> 972c2084c67a 20:04:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:04:39 ---> ae3438c985bd 20:04:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:04:40 ---> 6e769ce1398a 20:04:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:04:40 ---> 72918ba141b2 20:04:40 Step 20/25 : EXPOSE 59986 20:04:40 ---> Running in a80c92ae6fad 20:04:40 Removing intermediate container a80c92ae6fad 20:04:40 ---> 70f67c27116c 20:04:40 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:04:40 ---> Running in ecbcc8bc0626 20:04:40 Removing intermediate container ecbcc8bc0626 20:04:40 ---> eeccf61f34a3 20:04:40 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:04:40 ---> Running in f52ca1bf791d 20:04:40 Removing intermediate container f52ca1bf791d 20:04:40 ---> 00920da0d6da 20:04:40 Step 23/25 : LABEL arch=amd64 20:04:40 ---> Running in 73767ca3d9dc 20:04:40 Removing intermediate container 73767ca3d9dc 20:04:40 ---> 8d9fdcf9309c 20:04:40 Step 24/25 : LABEL git_sha=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 20:04:40 ---> Running in ce92703ab853 20:04:40 Removing intermediate container ce92703ab853 20:04:40 ---> 07031f33f53d 20:04:40 Step 25/25 : LABEL version=0.0.0 20:04:40 ---> Running in 7ef9737933c1 20:04:40 Removing intermediate container 7ef9737933c1 20:04:40 ---> 7a3802ef2a85 20:04:40 [Warning] One or more build-args [ARCH] were not consumed 20:04:40 Successfully built 7a3802ef2a85 20:04:40 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 20:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:41 20:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:41 latest: Pulling from edgex-lftools-log-publisher 20:04:41 5eb5b503b376: Pulling fs layer 20:04:41 5c69ac0246d0: Pulling fs layer 20:04:41 ec43610c2a17: Pulling fs layer 20:04:41 3a2ae6a8a46f: Pulling fs layer 20:04:41 33b1e0a273af: Pulling fs layer 20:04:41 5d3b04190fa2: Pulling fs layer 20:04:41 2f39f015ded8: Pulling fs layer 20:04:41 33b1e0a273af: Waiting 20:04:41 5d3b04190fa2: Waiting 20:04:41 2f39f015ded8: Waiting 20:04:41 3a2ae6a8a46f: Waiting 20:04:41 5c69ac0246d0: Download complete 20:04:41 3a2ae6a8a46f: Verifying Checksum 20:04:41 3a2ae6a8a46f: Download complete 20:04:42 33b1e0a273af: Verifying Checksum 20:04:42 33b1e0a273af: Download complete 20:04:42 ec43610c2a17: Verifying Checksum 20:04:42 ec43610c2a17: Download complete 20:04:42 5d3b04190fa2: Verifying Checksum 20:04:42 5d3b04190fa2: Download complete 20:04:42 5eb5b503b376: Verifying Checksum 20:04:42 5eb5b503b376: Download complete 20:04:42 2f39f015ded8: Verifying Checksum 20:04:42 2f39f015ded8: Download complete 20:04:43 5eb5b503b376: Pull complete 20:04:43 5c69ac0246d0: Pull complete 20:04:43 ec43610c2a17: Pull complete 20:04:44 3a2ae6a8a46f: Pull complete 20:04:44 33b1e0a273af: Pull complete 20:04:44 5d3b04190fa2: Pull complete 20:04:48 2f39f015ded8: Pull complete 20:04:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:04:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:48 prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container 20:04:48 $ 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-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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-lftools-log-publisher:latest cat 20:04:50 $ docker top 952aa331cb702fa0dda56b341ada391bf7bf254c3defba90240b99cfad1334cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:50 ---> job-cost.sh 20:04:50 lf-activate-venv: SKIPPING 20:04:50 INFO: No Stack... 20:04:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:04:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118509 in /w/workspace/gexfoundry_device-rest-go_PR-226 20:04:51 INFO: Archiving Costs [Pipeline] { [Pipeline] sh [Pipeline] ws 20:04:51 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:04:51 The recommended git tool is: git 20:04:51 + cat /w/workspace/gexfoundry_device-rest-go_PR-226/archives/cost.csv 20:04:51 + cut -d, -f6 [Pipeline] lock 20:04:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] 20:04:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] did not exist. Created. 20:04:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:04:52 + echo total: 0.2199999988079071 [Pipeline] stash 20:04:52 Stashed 1 file(s) [Pipeline] } 20:04:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:04:52 $ docker stop --time=1 952aa331cb702fa0dda56b341ada391bf7bf254c3defba90240b99cfad1334cc 20:04:53 $ docker rm -f 952aa331cb702fa0dda56b341ada391bf7bf254c3defba90240b99cfad1334cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:04:56 using credential edgex-jenkins-ssh 20:04:56 Cloning the remote Git repository 20:04:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:04:56 > git init /w/workspace/device-rest-go/1 # timeout=10 20:04:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:04:56 > git --version # timeout=10 20:04:56 > git --version # 'git version 2.25.1' 20:04:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:56 Verifying host key using known hosts file 20:04:57 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. 20:04:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:04:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:04:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:04:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:04:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:04:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:59 Verifying host key using known hosts file 20:04:59 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. 20:04:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:05:00 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit b1386cac7d5f175829e47539b2f4acddd1f9c3b0 20:05:00 Merge succeeded, producing b1386cac7d5f175829e47539b2f4acddd1f9c3b0 20:05:00 Checking out Revision b1386cac7d5f175829e47539b2f4acddd1f9c3b0 (PR-226) 20:05:01 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:05:01 > git --version # timeout=10 20:05:01 > git --version # 'git version 2.25.1' 20:05:01 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:05:00 > git config core.sparsecheckout # timeout=10 20:05:00 > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 20:05:00 > git remote # timeout=10 20:05:00 > git config --get remote.origin.url # timeout=10 20:05:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:00 Verifying host key using known hosts file 20:05:00 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. 20:05:00 > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 20:05:00 > git rev-parse HEAD^{commit} # timeout=10 20:05:00 > git config core.sparsecheckout # timeout=10 20:05:00 > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:05:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:05:02 Dload Upload Total Spent Left Speed 20:05:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh 20:05:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:05:03 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 20:05:03 20:05:03 { 20:05:03 "registry-mirrors": [ 20:05:03 "https://nexus3.edgexfoundry.org:10001" 20:05:03 ], 20:05:03 "bip": "10.250.0.254/24", 20:05:03 "hosts": [ 20:05:03 "tcp://0.0.0.0:5555", 20:05:03 "unix:///var/run/docker.sock" 20:05:03 ], 20:05:03 "mtu": 1458, 20:05:03 "selinux-enabled": true, 20:05:03 "seccomp-profile": "/etc/docker/seccomp.json" 20:05:03 } [Pipeline] sh 20:05:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:05:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:22 provisioning config files... 20:05:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9762774114607464456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:22 ---> docker-login.sh 20:05:22 nexus3.edgexfoundry.org:10001 20:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:23 Configure a credential helper to remove this warning. See 20:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:23 20:05:23 Login Succeeded 20:05:23 nexus3.edgexfoundry.org:10002 20:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:23 Configure a credential helper to remove this warning. See 20:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:23 20:05:23 Login Succeeded 20:05:23 nexus3.edgexfoundry.org:10003 20:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:24 Configure a credential helper to remove this warning. See 20:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:24 20:05:24 Login Succeeded 20:05:24 nexus3.edgexfoundry.org:10004 20:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:24 Configure a credential helper to remove this warning. See 20:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:24 20:05:24 Login Succeeded 20:05:24 docker.io 20:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:25 Configure a credential helper to remove this warning. See 20:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:25 20:05:25 Login Succeeded 20:05:25 ---> docker-login.sh ends [Pipeline] } 20:05:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:25 ========================================================= 20:05:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:05:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:26 + 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 . 20:05:26 Sending build context to Docker daemon 129.5kB 20:05:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:05:26 Step 2/12 : FROM ${BASE} AS builder 20:05:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:05:27 9b18e9b68314: Pulling fs layer 20:05:27 35d82f9e3411: Pulling fs layer 20:05:27 e16973657156: Pulling fs layer 20:05:27 fc693d55d65f: Pulling fs layer 20:05:27 7e9fc2657dce: Pulling fs layer 20:05:27 dda99020689f: Pulling fs layer 20:05:27 db1c61fa0a46: Pulling fs layer 20:05:27 891c053d2c06: Pulling fs layer 20:05:27 7e9fc2657dce: Waiting 20:05:27 dda99020689f: Waiting 20:05:27 db1c61fa0a46: Waiting 20:05:27 891c053d2c06: Waiting 20:05:27 fc693d55d65f: Waiting 20:05:27 e16973657156: Verifying Checksum 20:05:27 e16973657156: Download complete 20:05:27 35d82f9e3411: Verifying Checksum 20:05:27 35d82f9e3411: Download complete 20:05:27 7e9fc2657dce: Verifying Checksum 20:05:27 7e9fc2657dce: Download complete 20:05:27 dda99020689f: Verifying Checksum 20:05:27 dda99020689f: Download complete 20:05:27 9b18e9b68314: Verifying Checksum 20:05:27 9b18e9b68314: Download complete 20:05:29 9b18e9b68314: Pull complete 20:05:29 891c053d2c06: Verifying Checksum 20:05:29 891c053d2c06: Download complete 20:05:29 35d82f9e3411: Pull complete 20:05:30 e16973657156: Pull complete 20:05:30 db1c61fa0a46: Verifying Checksum 20:05:30 db1c61fa0a46: Download complete 20:05:31 fc693d55d65f: Verifying Checksum 20:05:31 fc693d55d65f: Download complete 20:05:43 fc693d55d65f: Pull complete 20:05:43 7e9fc2657dce: Pull complete 20:05:43 dda99020689f: Pull complete 20:05:50 db1c61fa0a46: Pull complete 20:05:52 891c053d2c06: Pull complete 20:05:52 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:05:52 ---> f96f9c87975a 20:05:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:05:53 ---> Running in 819d15a69674 20:05:54 Removing intermediate container 819d15a69674 20:05:54 ---> 2f89e25c3e4f 20:05:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:54 ---> Running in e3014a9a3f42 20:05:54 Removing intermediate container e3014a9a3f42 20:05:54 ---> 0d28f5c3a3ee 20:05:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:54 ---> Running in 57563473fbb9 20:05:54 Removing intermediate container 57563473fbb9 20:05:54 ---> eb47eb00cc42 20:05:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:05:54 ---> Running in e0be9dde3a6c 20:05:55 Removing intermediate container e0be9dde3a6c 20:05:55 ---> 195a6c9ab490 20:05:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:55 ---> Running in 100d7240c22d 20:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:05:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:05:58 (2/4) Installing libedit (20210910.3.1-r0) 20:05:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:05:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:05:58 Executing busybox-1.35.0-r17.trigger 20:05:58 OK: 226 MiB in 55 packages 20:05:59 Removing intermediate container 100d7240c22d 20:05:59 ---> 15e524cacd0f 20:05:59 Step 8/12 : WORKDIR /device-rest-go 20:05:59 ---> Running in 3688b01460c3 20:05:59 Removing intermediate container 3688b01460c3 20:05:59 ---> 628d3bec2fa0 20:05:59 Step 9/12 : COPY go.mod vendor* ./ 20:05:59 ---> 6e337391354a 20:05:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:59 ---> Running in db03b65a057e 20:06:56 Removing intermediate container db03b65a057e 20:06:56 ---> c8f42efc0179 20:06:56 Step 11/12 : COPY . . 20:06:56 ---> 42f337f12cd3 20:06:56 Step 12/12 : RUN $MAKE 20:06:56 ---> Running in 27ece08c192d 20:06:56 noop 20:06:56 Removing intermediate container 27ece08c192d 20:06:56 ---> 8c0b57f888a0 20:06:56 Successfully built 8c0b57f888a0 20:06:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:56 + docker inspect -f . ci-base-image-arm64 20:06:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:57 prd-ubuntu20.04-docker-arm64-4c-16g-118509 does not seem to be running inside a container 20:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:06:58 $ docker top 41ba3f4aa93dbf0f076cf3dfeefa224bf0dfbcafa7ef2aa56c782d63b50d06f0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:59 + go version 20:06:59 go version go1.18.7 linux/arm64 [Pipeline] } 20:06:59 $ docker stop --time=1 41ba3f4aa93dbf0f076cf3dfeefa224bf0dfbcafa7ef2aa56c782d63b50d06f0 20:07:00 $ docker rm -f 41ba3f4aa93dbf0f076cf3dfeefa224bf0dfbcafa7ef2aa56c782d63b50d06f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:01 + docker inspect -f . ci-base-image-arm64 20:07:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:01 prd-ubuntu20.04-docker-arm64-4c-16g-118509 does not seem to be running inside a container 20:07:01 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:07:03 $ docker top 0e65be1dd1c0ff44ec7c7c0d757ff6bea03b7ccfa1a17c64f1cbf2e5bab66276 -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:03 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:07:04 + make test 20:07:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:07:05 ? github.com/edgexfoundry/device-rest-go [no test files] 20:08:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:08:42 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 20:08:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:08:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:08:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:08:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:08:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:08:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:08:55 $ docker stop --time=1 0e65be1dd1c0ff44ec7c7c0d757ff6bea03b7ccfa1a17c64f1cbf2e5bab66276 20:08:56 $ docker rm -f 0e65be1dd1c0ff44ec7c7c0d757ff6bea03b7ccfa1a17c64f1cbf2e5bab66276 [Pipeline] // withDockerContainer [Pipeline] sh 20:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:08:57 Warning: overwriting stash ‘coverage-report’ 20:08:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:08:59 + ls -al . 20:08:59 total 184 20:08:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:07 . 20:08:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:04 .. 20:08:59 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:05 .dockerignore 20:08:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:05 .git 20:08:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:05 .github 20:08:59 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:05 .gitignore 20:08:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:05 .golangci.yml 20:08:59 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:05 Attribution.txt 20:08:59 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:05 CHANGELOG.md 20:08:59 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:05 Dockerfile 20:08:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:05 GOVERNANCE.md 20:08:59 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:05 Jenkinsfile 20:08:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:05 LICENSE 20:08:59 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:05 Makefile 20:08:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:05 OWNERS.md 20:08:59 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:05 README.md 20:08:59 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION 20:08:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:05 bin 20:08:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:05 cmd 20:08:59 -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:08 coverage.out 20:08:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:05 driver 20:08:59 -rw-rw-r-- 1 jenkins jenkins 3529 Nov 7 20:05 go.mod 20:08:59 -rw-rw-r-- 1 jenkins jenkins 44953 Nov 7 20:05 go.sum 20:08:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:05 snap 20:08:59 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:59 + 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=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 --label arch=arm64 --label version=0.0.0 . 20:08:59 Sending build context to Docker daemon 139.8kB 20:08:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:08:59 Step 2/25 : FROM ${BASE} AS builder 20:08:59 ---> 8c0b57f888a0 20:08:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:08:59 ---> Running in 450120198cf5 20:09:00 Removing intermediate container 450120198cf5 20:09:00 ---> 57959e52198c 20:09:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:09:00 ---> Running in e895408a8dda 20:09:00 Removing intermediate container e895408a8dda 20:09:00 ---> dec9d1f170a2 20:09:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:00 ---> Running in 18f663b816d5 20:09:00 Removing intermediate container 18f663b816d5 20:09:00 ---> 15cf208b3de9 20:09:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:09:01 ---> Running in 82e13b33b290 20:09:01 Removing intermediate container 82e13b33b290 20:09:01 ---> 3c32358693cd 20:09:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:01 ---> Running in bcb681b3338d 20:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:09:03 OK: 226 MiB in 55 packages 20:09:04 Removing intermediate container bcb681b3338d 20:09:04 ---> 5a79a0a1e25e 20:09:04 Step 8/25 : WORKDIR /device-rest-go 20:09:04 ---> Running in d14e90669404 20:09:04 Removing intermediate container d14e90669404 20:09:04 ---> 6dd9e0407208 20:09:04 Step 9/25 : COPY go.mod vendor* ./ 20:09:05 ---> 20a4259cf54f 20:09:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:05 ---> Running in e4bdd3c13224 20:09:08 Removing intermediate container e4bdd3c13224 20:09:08 ---> a4857f80051d 20:09:08 Step 11/25 : COPY . . 20:09:08 ---> c705fc583cd5 20:09:08 Step 12/25 : RUN $MAKE 20:09:08 ---> Running in 04fbbe9ca41b 20:09:09 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 20:11:46 Removing intermediate container 04fbbe9ca41b 20:11:46 ---> 51bac185270a 20:11:46 Step 13/25 : FROM alpine:3.16 20:11:46 3.16: Pulling from library/alpine 20:11:46 9b18e9b68314: Already exists 20:11:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:11:46 Status: Downloaded newer image for alpine:3.16 20:11:46 ---> a6215f271958 20:11:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:11:46 ---> Running in 2e66eeb8a3bc 20:11:46 Removing intermediate container 2e66eeb8a3bc 20:11:46 ---> 9cf04d23ae99 20:11:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:11:46 ---> Running in 69abcd2fc8c8 20:11:46 Removing intermediate container 69abcd2fc8c8 20:11:46 ---> 26a9c8a04ecc 20:11:46 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:11:46 ---> Running in e0fb3a8b7b71 20:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:11:49 (1/6) Installing dumb-init (1.2.5-r1) 20:11:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:11:49 (3/6) Installing libsodium (1.0.18-r0) 20:11:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:11:49 (5/6) Installing libzmq (4.3.4-r0) 20:11:49 (6/6) Installing zeromq (4.3.4-r0) 20:11:49 Executing busybox-1.35.0-r17.trigger 20:11:49 OK: 8 MiB in 20 packages 20:11:50 Removing intermediate container e0fb3a8b7b71 20:11:50 ---> 1e124b0e1be4 20:11:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:11:51 ---> 6bcf06aa5f32 20:11:51 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:11:52 ---> 280a770d1d8a 20:11:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:11:52 ---> 926781406c53 20:11:52 Step 20/25 : EXPOSE 59986 20:11:52 ---> Running in ca0e0fec6f4a 20:11:53 Removing intermediate container ca0e0fec6f4a 20:11:53 ---> 4f2300a9734c 20:11:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:11:53 ---> Running in b8cfd13bd44e 20:11:53 Removing intermediate container b8cfd13bd44e 20:11:53 ---> 9a310d3efc6e 20:11:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:11:53 ---> Running in 2895c07837eb 20:11:53 Removing intermediate container 2895c07837eb 20:11:53 ---> 2cb64db50129 20:11:53 Step 23/25 : LABEL arch=arm64 20:11:53 ---> Running in 013ae012a75c 20:11:54 Removing intermediate container 013ae012a75c 20:11:54 ---> 9c97c6db3a18 20:11:54 Step 24/25 : LABEL git_sha=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 20:11:54 ---> Running in 689a7562fe60 20:11:54 Removing intermediate container 689a7562fe60 20:11:54 ---> ec93e8066a89 20:11:54 Step 25/25 : LABEL version=0.0.0 20:11:54 ---> Running in c9828fc60487 20:11:54 Removing intermediate container c9828fc60487 20:11:54 ---> d52208f3f4e6 20:11:54 [Warning] One or more build-args [ARCH] were not consumed 20:11:54 Successfully built d52208f3f4e6 20:11:54 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 20:11:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:55 20:11:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:56 arm64: Pulling from edgex-lftools-log-publisher 20:11:56 8998bd30e6a1: Pulling fs layer 20:11:56 04944245beec: Pulling fs layer 20:11:56 699f458cf7ca: Pulling fs layer 20:11:56 765212b225bb: Pulling fs layer 20:11:56 f23df028b6ca: Pulling fs layer 20:11:56 d65c8cfc05b1: Pulling fs layer 20:11:56 2437ff75d9bd: Pulling fs layer 20:11:56 f23df028b6ca: Waiting 20:11:56 765212b225bb: Waiting 20:11:56 d65c8cfc05b1: Waiting 20:11:56 2437ff75d9bd: Waiting 20:11:56 04944245beec: Verifying Checksum 20:11:56 04944245beec: Download complete 20:11:56 765212b225bb: Verifying Checksum 20:11:56 765212b225bb: Download complete 20:11:56 f23df028b6ca: Download complete 20:11:56 d65c8cfc05b1: Verifying Checksum 20:11:56 d65c8cfc05b1: Download complete 20:11:56 699f458cf7ca: Verifying Checksum 20:11:56 699f458cf7ca: Download complete 20:11:57 8998bd30e6a1: Verifying Checksum 20:11:57 8998bd30e6a1: Download complete 20:11:59 2437ff75d9bd: Verifying Checksum 20:11:59 2437ff75d9bd: Download complete 20:12:01 8998bd30e6a1: Pull complete 20:12:01 04944245beec: Pull complete 20:12:03 699f458cf7ca: Pull complete 20:12:03 765212b225bb: Pull complete 20:12:04 f23df028b6ca: Pull complete 20:12:04 d65c8cfc05b1: Pull complete 20:12:19 2437ff75d9bd: Pull complete 20:12:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:12:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:19 prd-ubuntu20.04-docker-arm64-4c-16g-118509 does not seem to be running inside a container 20:12:19 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-lftools-log-publisher:arm64 cat 20:12:22 $ docker top d3d4a8c43d1bfabb0e4b9ab9ee1a8914df2bb70cc16de058ade422a19a47e0c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:23 ---> job-cost.sh 20:12:23 lf-activate-venv: SKIPPING 20:12:23 INFO: No Stack... 20:12:23 INFO: Retrieving Pricing Info for: v3-standard-4 20:12:24 INFO: Archiving Costs [Pipeline] sh 20:12:24 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:12:24 + cut -d, -f6 [Pipeline] lock 20:12:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] 20:12:25 Resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] did not exist. Created. 20:12:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:25 /w/workspace/device-rest-go/1@tmp/durable-4b9e23c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:12:26 + echo total: 0.10999999940395355 [Pipeline] stash 20:12:26 Warning: overwriting stash ‘stack-cost’ 20:12:26 Stashed 1 file(s) [Pipeline] } 20:12:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:12:26 $ docker stop --time=1 d3d4a8c43d1bfabb0e4b9ab9ee1a8914df2bb70cc16de058ade422a19a47e0c9 20:12:28 $ docker rm -f d3d4a8c43d1bfabb0e4b9ab9ee1a8914df2bb70cc16de058ade422a19a47e0c9 [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 20:12:29 provisioning config files... 20:12:29 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config6253166771526921445tmp [Pipeline] { [Pipeline] sh 20:12:29 + set +x 20:12:29 + curl -s https://codecov.io/bash 20:12:29 + bash -s -- 20:12:29 20:12:29 _____ _ 20:12:29 / ____| | | 20:12:29 | | ___ __| | ___ ___ _____ __ 20:12:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:12:29 | |___| (_) | (_| | __/ (_| (_) \ V / 20:12:29 \_____\___/ \__,_|\___|\___\___/ \_/ 20:12:29 Bash-1.0.6 20:12:29 20:12:29 20:12:29 ==> git version 2.25.1 found 20:12:29 ==> 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 20:12:29 Release-Date: 2020-01-08 20:12:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:12:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:12:29 ==> Jenkins CI detected. 20:12:29 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-226 20:12:29 project root: . 20:12:29 --> token set from env 20:12:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:12:29 ==> Running gcov in . (disable via -X gcov) 20:12:29 ==> Python coveragepy not found 20:12:29 ==> Searching for coverage reports in: 20:12:29 + . 20:12:29 -> Found 1 reports 20:12:29 ==> Detecting git/mercurial file structure 20:12:29 ==> Reading reports 20:12:29 + ./coverage.out bytes=9355 20:12:29 ==> Appending adjustments 20:12:29 https://docs.codecov.io/docs/fixing-reports 20:12:29 + Found adjustments 20:12:29 ==> Gzipping contents 20:12:29 4.0K /tmp/codecov.4n5JmK.gz 20:12:29 ==> Uploading reports 20:12:29 url: https://codecov.io 20:12:29 query: branch=PR-226&commit=b1386cac7d5f175829e47539b2f4acddd1f9c3b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=226&job=&cmd_args= 20:12:29 -> Pinging Codecov 20:12:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-226&commit=b1386cac7d5f175829e47539b2f4acddd1f9c3b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=226&job=&cmd_args= 20:12:30 -> Uploading to 20:12:30 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/4E5D53B4F1F92C436F7061BF334D961C/b1386cac7d5f175829e47539b2f4acddd1f9c3b0/472d7a11-23c3-4162-baa7-9ae88255b416.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T201229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f10389355534b8310411a3fa46e629806ca9bdae5c1bc2f75094a70d1e97e0a9 20:12:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:30 Dload Upload Total Spent Left Speed 20:12:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7093 --:--:-- --:--:-- --:--:-- 7093 20:12:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] } 20:12:30 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 20:12:32 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-226/archives ] 20:12:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-226/archives 20:12:32 total 16 20:12:32 drwxr-xr-x 3 root root 4096 Nov 7 20:04 . 20:12:32 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:04 .. 20:12:32 drwxr-xr-x 2 root root 4096 Nov 7 20:04 cost 20:12:32 -rw-r--r-- 1 root root 86 Nov 7 20:04 cost.csv 20:12:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-226/archives 20:12:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-226/archives 20:12:32 total 16 20:12:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:04 . 20:12:32 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:04 .. 20:12:32 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 20:04 cost 20:12:32 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:12:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:33 ---> package-listing.sh 20:12:33 ++ facter osfamily 20:12:33 ++ tr '[:upper:]' '[:lower:]' 20:12:33 + OS_FAMILY=debian 20:12:33 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-226 20:12:33 + START_PACKAGES=/tmp/packages_start.txt 20:12:33 + END_PACKAGES=/tmp/packages_end.txt 20:12:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:33 + PACKAGES=/tmp/packages_start.txt 20:12:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-226 ']' 20:12:33 + PACKAGES=/tmp/packages_end.txt 20:12:33 + case "${OS_FAMILY}" in 20:12:33 + dpkg -l 20:12:33 + grep '^ii' 20:12:33 + '[' -f /tmp/packages_start.txt ']' 20:12:33 + '[' -f /tmp/packages_end.txt ']' 20:12:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-226 ']' 20:12:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-226/archives/ 20:12:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-226/archives/ [Pipeline] echo 20:12: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-226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:12:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:34 prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container 20:12: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-226/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-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:35 $ docker top 07bb8320218fa1b1e8c5e258f4a5d3c61ac08b436de4163a0453d9c2bff30fe2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:35 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:35 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:36 + ls /var/log/sa-host 20:12:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:36 provisioning config files... 20:12:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config962914636304221659tmp [Pipeline] { [Pipeline] echo 20:12:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:36 ---> create-netrc.sh [Pipeline] } 20:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:36 ---> python-tools-install.sh [Pipeline] echo 20:12:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:37 ---> sudo-logs.sh 20:12:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:12:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:37 ---> job-cost.sh 20:12:37 lf-activate-venv: SKIPPING 20:12:37 DEBUG: total: 0.2199999988079071 20:12:37 INFO: Retrieving Stack Cost... 20:12:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:38 INFO: Archiving Costs [Pipeline] echo 20:12:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:38 ---> logs-deploy.sh 20:12:38 lf-activate-venv: SKIPPING 20:12:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-226/1 20:12:38 INFO: archiving workspace using pattern(s): 20:12:39 Archives upload complete. 20:12:39 INFO: archiving logs to Nexus 20:12:40 ---> uname -a: 20:12:40 Linux prd-ubuntu20-04-docker-8c-8g-118506 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:12:40 20:12:40 20:12:40 ---> lscpu: 20:12:40 Architecture: x86_64 20:12:40 CPU op-mode(s): 32-bit, 64-bit 20:12:40 Byte Order: Little Endian 20:12:40 Address sizes: 40 bits physical, 48 bits virtual 20:12:40 CPU(s): 8 20:12:40 On-line CPU(s) list: 0-7 20:12:40 Thread(s) per core: 1 20:12:40 Core(s) per socket: 1 20:12:40 Socket(s): 8 20:12:40 NUMA node(s): 1 20:12:40 Vendor ID: AuthenticAMD 20:12:40 CPU family: 23 20:12:40 Model: 49 20:12:40 Model name: AMD EPYC-Rome Processor 20:12:40 Stepping: 0 20:12:40 CPU MHz: 2799.998 20:12:40 BogoMIPS: 5599.99 20:12:40 Virtualization: AMD-V 20:12:40 Hypervisor vendor: KVM 20:12:40 Virtualization type: full 20:12:40 L1d cache: 256 KiB 20:12:40 L1i cache: 256 KiB 20:12:40 L2 cache: 4 MiB 20:12:40 L3 cache: 128 MiB 20:12:40 NUMA node0 CPU(s): 0-7 20:12:40 Vulnerability Itlb multihit: Not affected 20:12:40 Vulnerability L1tf: Not affected 20:12:40 Vulnerability Mds: Not affected 20:12:40 Vulnerability Meltdown: Not affected 20:12:40 Vulnerability Mmio stale data: Not affected 20:12:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:12:40 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:12:40 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:12:40 Vulnerability Srbds: Not affected 20:12:40 Vulnerability Tsx async abort: Not affected 20:12:40 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 20:12:40 20:12:40 20:12:40 ---> nproc: 20:12:40 8 20:12:40 20:12:40 20:12:40 ---> df -h: 20:12:40 Filesystem Size Used Avail Use% Mounted on 20:12:40 overlay 155G 12G 144G 8% / 20:12:40 tmpfs 64M 0 64M 0% /dev 20:12:40 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:12:40 shm 64M 0 64M 0% /dev/shm 20:12:40 /dev/vda1 155G 12G 144G 8% /facter-os 20:12:40 20:12:40 20:12:40 ---> sar -b -r -n DEV: 20:12:40 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118506) 11/07/22 _x86_64_ (8 CPU) 20:12:40 20:12:40 20:02:16 LINUX RESTART (8 CPU) 20:12:40 20:12:40 20:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:12:40 20:04:01 200.82 3.92 196.90 0.00 440.46 77021.96 0.00 20:12:40 20:05:01 173.32 0.30 173.02 0.00 18.00 40014.40 0.00 20:12:40 20:06:01 1.65 0.00 1.65 0.00 0.00 19.48 0.00 20:12:40 20:07:01 1.15 0.00 1.15 0.00 0.00 13.33 0.00 20:12:40 20:08:01 39.54 9.35 30.19 0.00 2887.92 4816.40 0.00 20:12:40 20:09:01 1.98 0.00 1.98 0.00 0.00 22.40 0.00 20:12:40 20:10:01 0.85 0.00 0.85 0.00 0.00 9.60 0.00 20:12:40 20:11:01 1.90 0.00 1.90 0.00 0.00 20.40 0.00 20:12:40 20:12:01 1.35 0.02 1.33 0.00 1.87 14.40 0.00 20:12:40 Average: 46.95 1.51 45.44 0.00 372.01 13549.76 0.00 20:12:40 20:12:40 20:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:12:40 20:04:01 28359128 31541924 757940 2.30 137448 3242680 1822344 5.37 1192916 2878316 116404 20:12:40 20:05:01 27747944 31561800 738028 2.24 150536 3818104 1769928 5.22 1232444 3402664 336 20:12:40 20:06:01 27748300 31562308 737204 2.24 150572 3818108 1769928 5.22 1232076 3402668 4 20:12:40 20:07:01 27750824 31565692 734360 2.23 150596 3818112 1769928 5.22 1229424 3403456 8 20:12:40 20:08:01 27462040 31550968 732956 2.23 169064 4067028 1795672 5.29 1378816 3515980 4 20:12:40 20:09:01 27463676 31552672 731180 2.22 169140 4067032 1795672 5.29 1378020 3515980 12 20:12:40 20:10:01 27467644 31556668 727100 2.21 169164 4067036 1795672 5.29 1373608 3516048 8 20:12:40 20:11:01 27468172 31557288 726440 2.21 169232 4067036 1795672 5.29 1374000 3516052 8 20:12:40 20:12:01 27468116 31557344 726304 2.21 169304 4067096 1795672 5.29 1373788 3516116 8 20:12:40 Average: 27659538 31556296 734612 2.23 159451 3892470 1790054 5.28 1307232 3407476 12977 20:12:40 20:12:40 20:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:12:40 20:04:01 docker0 166.92 250.61 13.47 1955.15 0.00 0.00 0.00 0.00 20:12:40 20:04:01 ens3 443.26 311.45 6004.46 47.44 0.00 0.00 0.00 0.00 20:12:40 20:04:01 vethbe36368 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 20:12:40 20:04:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 20:12:40 20:05:01 docker0 4.65 9.03 0.29 98.56 0.00 0.00 0.00 0.00 20:12:40 20:05:01 ens3 151.29 114.81 2647.02 97.03 0.00 0.00 0.00 0.00 20:12:40 20:05:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 20:12:40 20:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:06:01 ens3 0.70 0.07 0.06 0.00 0.00 0.00 0.00 0.00 20:12:40 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:07:01 ens3 0.43 0.32 0.26 0.21 0.00 0.00 0.00 0.00 20:12:40 20:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:12:40 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:08:01 ens3 98.62 58.01 1345.08 4.21 0.00 0.00 0.00 0.00 20:12:40 20:08:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 20:12:40 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:09:01 ens3 0.23 0.17 0.01 0.01 0.00 0.00 0.00 0.00 20:12:40 20:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:12:40 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:10:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:11:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:12:40 20:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:12:40 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:12:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 20:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:12:40 Average: docker0 19.06 28.85 1.53 228.18 0.00 0.00 0.00 0.00 20:12:40 Average: ens3 77.19 53.88 1110.73 16.55 0.00 0.00 0.00 0.00 20:12:40 Average: lo 0.64 0.64 0.06 0.06 0.00 0.00 0.00 0.00 20:12:40 20:12:40 20:12:40 ---> sar -P ALL: 20:12:40 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118506) 11/07/22 _x86_64_ (8 CPU) 20:12:40 20:12:40 20:02:16 LINUX RESTART (8 CPU) 20:12:40 20:12:40 20:03:01 CPU %user %nice %system %iowait %steal %idle 20:12:40 20:04:01 all 20.57 0.00 6.08 1.09 0.07 72.19 20:12:40 20:04:01 0 20.31 0.00 7.65 5.21 0.08 66.73 20:12:40 20:04:01 1 20.95 0.00 6.05 0.73 0.07 72.21 20:12:40 20:04:01 2 20.51 0.00 5.38 0.03 0.07 74.01 20:12:40 20:04:01 3 20.73 0.00 5.71 0.03 0.07 73.46 20:12:40 20:04:01 4 21.37 0.00 5.74 0.90 0.07 71.92 20:12:40 20:04:01 5 20.34 0.00 5.34 0.05 0.07 74.20 20:12:40 20:04:01 6 19.78 0.00 6.59 0.44 0.08 73.11 20:12:40 20:04:01 7 20.60 0.00 6.17 1.30 0.08 71.84 20:12:40 20:05:01 all 29.68 0.00 5.69 0.55 0.07 64.01 20:12:40 20:05:01 0 29.67 0.00 5.61 1.27 0.08 63.36 20:12:40 20:05:01 1 29.66 0.00 5.52 0.05 0.07 64.70 20:12:40 20:05:01 2 29.23 0.00 5.81 0.27 0.07 64.63 20:12:40 20:05:01 3 29.93 0.00 5.06 0.19 0.08 64.74 20:12:40 20:05:01 4 31.72 0.00 6.28 0.52 0.07 61.41 20:12:40 20:05:01 5 29.18 0.00 6.29 1.01 0.07 63.45 20:12:40 20:05:01 6 28.86 0.00 5.62 0.08 0.07 65.36 20:12:40 20:05:01 7 29.19 0.00 5.35 0.98 0.07 64.42 20:12:40 20:06:01 all 0.02 0.00 0.01 0.01 0.01 99.96 20:12:40 20:06:01 0 0.03 0.00 0.00 0.05 0.02 99.90 20:12:40 20:06:01 1 0.02 0.00 0.00 0.00 0.02 99.97 20:12:40 20:06:01 2 0.02 0.00 0.03 0.00 0.00 99.95 20:12:40 20:06:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:12:40 20:06:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:12:40 20:06:01 5 0.02 0.00 0.02 0.00 0.00 99.97 20:12:40 20:06:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:12:40 20:06:01 7 0.03 0.00 0.00 0.03 0.02 99.92 20:12:40 20:07:01 all 0.06 0.00 0.05 0.00 0.01 99.87 20:12:40 20:07:01 0 0.10 0.00 0.07 0.00 0.03 99.80 20:12:40 20:07:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:12:40 20:07:01 2 0.05 0.00 0.03 0.00 0.02 99.90 20:12:40 20:07:01 3 0.10 0.00 0.15 0.00 0.00 99.75 20:12:40 20:07:01 4 0.07 0.00 0.03 0.00 0.02 99.88 20:12:40 20:07:01 5 0.07 0.00 0.10 0.02 0.02 99.80 20:12:40 20:07:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:12:40 20:07:01 7 0.03 0.00 0.00 0.02 0.00 99.95 20:12:40 20:08:01 all 1.33 0.00 0.85 0.26 0.01 97.54 20:12:40 20:08:01 0 1.20 0.00 0.70 0.23 0.02 97.85 20:12:40 20:08:01 1 3.09 0.00 0.79 0.07 0.02 96.03 20:12:40 20:08:01 2 0.98 0.00 1.79 0.08 0.02 97.13 20:12:40 20:08:01 3 1.37 0.00 0.87 0.35 0.02 97.39 20:12:40 20:08:01 4 1.85 0.00 0.70 0.47 0.02 96.96 20:12:40 20:08:01 5 0.80 0.00 0.58 0.13 0.00 98.48 20:12:40 20:08:01 6 0.45 0.00 0.85 0.02 0.02 98.66 20:12:40 20:08:01 7 0.88 0.00 0.52 0.75 0.00 97.85 20:12:40 20:09:01 all 0.27 0.00 0.01 0.01 0.01 99.70 20:12:40 20:09:01 0 0.10 0.00 0.03 0.02 0.03 99.82 20:12:40 20:09:01 1 1.99 0.00 0.00 0.00 0.02 98.00 20:12:40 20:09:01 2 0.03 0.00 0.02 0.00 0.02 99.93 20:12:40 20:09:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:12:40 20:09:01 4 0.02 0.00 0.02 0.05 0.00 99.92 20:12:40 20:09:01 5 0.02 0.00 0.00 0.00 0.02 99.97 20:12:40 20:09:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:12:40 20:09:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:12:40 20:10:01 all 0.28 0.00 0.01 0.01 0.00 99.70 20:12:40 20:10:01 0 0.02 0.00 0.07 0.00 0.02 99.90 20:12:40 20:10:01 1 1.99 0.00 0.00 0.03 0.00 97.98 20:12:40 20:10:01 2 0.03 0.00 0.02 0.00 0.00 99.95 20:12:40 20:10:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:12:40 20:10:01 4 0.03 0.00 0.02 0.02 0.00 99.93 20:12:40 20:10:01 5 0.07 0.00 0.00 0.00 0.00 99.93 20:12:40 20:10:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:12:40 20:10:01 7 0.03 0.00 0.00 0.00 0.02 99.95 20:12:40 20:11:01 all 0.26 0.00 0.01 0.01 0.01 99.72 20:12:40 20:11:01 0 0.03 0.00 0.03 0.02 0.02 99.90 20:12:40 20:11:01 1 1.94 0.00 0.00 0.00 0.02 98.05 20:12:40 20:11:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:12:40 20:11:01 3 0.00 0.00 0.02 0.00 0.00 99.98 20:12:40 20:11:01 4 0.02 0.00 0.02 0.03 0.02 99.92 20:12:40 20:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 20:12:40 20:11:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:12:40 20:11:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:12:40 20:12:01 all 0.26 0.00 0.01 0.01 0.00 99.71 20:12:40 20:12:01 0 0.03 0.00 0.02 0.02 0.02 99.92 20:12:40 20:12:01 1 1.92 0.00 0.03 0.00 0.00 98.05 20:12:40 20:12:01 2 0.02 0.00 0.02 0.00 0.02 99.95 20:12:40 20:12:01 3 0.03 0.00 0.00 0.00 0.00 99.97 20:12:40 20:12:01 4 0.02 0.00 0.02 0.05 0.00 99.92 20:12:40 20:12:01 5 0.05 0.00 0.00 0.00 0.00 99.95 20:12:40 20:12:01 6 0.00 0.00 0.02 0.00 0.00 99.98 20:12:40 20:12:01 7 0.02 0.00 0.02 0.00 0.00 99.97 20:12:40 Average: all 5.80 0.00 1.40 0.21 0.02 92.57 20:12:40 Average: 0 5.66 0.00 1.56 0.75 0.04 92.00 20:12:40 Average: 1 6.75 0.00 1.36 0.10 0.02 91.77 20:12:40 Average: 2 5.61 0.00 1.45 0.04 0.02 92.87 20:12:40 Average: 3 5.73 0.00 1.30 0.06 0.02 92.89 20:12:40 Average: 4 6.07 0.00 1.41 0.22 0.02 92.28 20:12:40 Average: 5 5.55 0.00 1.36 0.13 0.02 92.94 20:12:40 Average: 6 5.41 0.00 1.44 0.06 0.02 93.07 20:12:40 Average: 7 5.59 0.00 1.33 0.34 0.02 92.72 20:12:40 20:12:40 20:12:40