Pull request #210 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4c2232b4362e4ba4fa6d05c1b4772891599ba49+7849af7816baf1c3cc1af121845620dcf422b00f (6ba82f6010b4237517dc1c239a8d5cb0d6b6b4d4) 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-ssh4931251475914642761.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10611992774487973728.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-210/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-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3741055546156819312.key > 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-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10134143900997379180.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7626326173352937309.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-210/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-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3077848372136277955.key > 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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22850 in /w/workspace/gexfoundry_device-rest-go_PR-210 [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-210 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7849af7816baf1c3cc1af121845620dcf422b00f into PR head commit a4c2232b4362e4ba4fa6d05c1b4772891599ba49 Merge succeeded, producing a4c2232b4362e4ba4fa6d05c1b4772891599ba49 Checking out Revision a4c2232b4362e4ba4fa6d05c1b4772891599ba49 (PR-210) > git config core.sparsecheckout # timeout=10 > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:15:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:15:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:15:49 ========================================================= 20:15:49 EdgeX Global Pipelines Version Info 20:15:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:15:50 ------------------- 20:15:50 stable info: 20:15:50 ------------------- 20:15:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:15:50 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:15:50 Message: update stable to v1.0.238 20:15:50 ------------------- 20:15:50 experimental info: 20:15:50 ------------------- 20:15:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:15:50 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:15:50 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:15:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4c2232 [Pipeline] echo 20:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:52 provisioning config files... 20:15:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config7874719906261216412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:53 ---> docker-login.sh 20:15:53 nexus3.edgexfoundry.org:10001 20:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:53 Configure a credential helper to remove this warning. See 20:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:53 20:15:53 Login Succeeded 20:15:53 nexus3.edgexfoundry.org:10002 20:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:53 Configure a credential helper to remove this warning. See 20:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:53 20:15:53 Login Succeeded 20:15:53 nexus3.edgexfoundry.org:10003 20:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:53 Configure a credential helper to remove this warning. See 20:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:53 20:15:53 Login Succeeded 20:15:53 nexus3.edgexfoundry.org:10004 20:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:53 Configure a credential helper to remove this warning. See 20:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:53 20:15:53 Login Succeeded 20:15:53 docker.io 20:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:54 Configure a credential helper to remove this warning. See 20:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:54 20:15:54 Login Succeeded 20:15:54 ---> docker-login.sh ends [Pipeline] } 20:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:15:55 + git rev-list -1 --merges a4c2232b4362e4ba4fa6d05c1b4772891599ba49~1..a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo 20:15:55 -----------> git rev-list -1 --merges a4c2232b4362e4ba4fa6d05c1b4772891599ba49~1..a4c2232b4362e4ba4fa6d05c1b4772891599ba49 a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [false] [Pipeline] sh 20:15:55 + git log --format=format:%s -1 a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo 20:15:55 ========================================================= 20:15:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:15:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:55 + git log --format=format:%s -1 a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo 20:15:55 [semverPrep] GIT_COMMIT: a4c2232b4362e4ba4fa6d05c1b4772891599ba49, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:15:55 [semverPrep] This is not a build commit. [Pipeline] sh 20:15:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:15:56 + grep -v github /etc/ssh/ssh_known_hosts 20:15:56 + [ -e /tmp/ssh_known_hosts ] 20:15:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:15:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:15:56 + sudo tee -a /etc/ssh/ssh_known_hosts 20:15:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:56 20:15:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:15:57 b85a868b505f: Pulling fs layer 20:15:57 e2be974225ed: Pulling fs layer 20:15:57 339a4e72a1f5: Pulling fs layer 20:15:57 988bab9f4d93: Pulling fs layer 20:15:57 1469e6f7b9e6: Pulling fs layer 20:15:57 eaf3925da568: Pulling fs layer 20:15:57 bab4dde63d76: Pulling fs layer 20:15:57 bde34c3a00c8: Pulling fs layer 20:15:57 b352a97aabf1: Pulling fs layer 20:15:57 4872d77fe225: Pulling fs layer 20:15:57 5851b861e8e6: Pulling fs layer 20:15:57 bde34c3a00c8: Waiting 20:15:57 988bab9f4d93: Waiting 20:15:57 b352a97aabf1: Waiting 20:15:57 4872d77fe225: Waiting 20:15:57 5851b861e8e6: Waiting 20:15:57 1469e6f7b9e6: Waiting 20:15:57 eaf3925da568: Waiting 20:15:57 bab4dde63d76: Waiting 20:15:57 e2be974225ed: Verifying Checksum 20:15:57 e2be974225ed: Download complete 20:15:57 988bab9f4d93: Verifying Checksum 20:15:57 988bab9f4d93: Download complete 20:15:57 1469e6f7b9e6: Verifying Checksum 20:15:57 1469e6f7b9e6: Download complete 20:15:57 eaf3925da568: Download complete 20:15:57 339a4e72a1f5: Verifying Checksum 20:15:57 339a4e72a1f5: Download complete 20:15:57 bde34c3a00c8: Verifying Checksum 20:15:57 bde34c3a00c8: Download complete 20:15:57 b352a97aabf1: Download complete 20:15:57 4872d77fe225: Verifying Checksum 20:15:57 4872d77fe225: Download complete 20:15:57 5851b861e8e6: Download complete 20:15:57 b85a868b505f: Verifying Checksum 20:15:57 b85a868b505f: Download complete 20:15:57 bab4dde63d76: Verifying Checksum 20:15:57 bab4dde63d76: Download complete 20:15:59 b85a868b505f: Pull complete 20:15:59 e2be974225ed: Pull complete 20:15:59 339a4e72a1f5: Pull complete 20:15:59 988bab9f4d93: Pull complete 20:15:59 1469e6f7b9e6: Pull complete 20:16:00 eaf3925da568: Pull complete 20:16:02 bab4dde63d76: Pull complete 20:16:02 bde34c3a00c8: Pull complete 20:16:02 b352a97aabf1: Pull complete 20:16:02 4872d77fe225: Pull complete 20:16:02 5851b861e8e6: Pull complete 20:16:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:02 prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container 20:16:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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:16:04 $ docker top e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b -eo pid,comm 20:16:04 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:16:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:04 [ssh-agent] Looking for ssh-agent implementation... 20:16:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:05 $ docker exec e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent 20:16:05 SSH_AUTH_SOCK=/tmp/ssh-Ugh129XZIXlm/agent.33 20:16:05 SSH_AGENT_PID=39 20:16:05 Running ssh-add (command line suppressed) 20:16:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_6031453468206798986.key (/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_6031453468206798986.key) 20:16:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:05 + git tag --points-at HEAD [Pipeline] } 20:16:05 $ docker exec --env ******** --env ******** e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent -k 20:16:05 unset SSH_AUTH_SOCK; 20:16:05 unset SSH_AGENT_PID; 20:16:05 echo Agent pid 39 killed; 20:16:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:16:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:05 [ssh-agent] Looking for ssh-agent implementation... 20:16:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:06 $ docker exec e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent 20:16:06 SSH_AUTH_SOCK=/tmp/ssh-mCVTRUpDbnb9/agent.71 20:16:06 SSH_AGENT_PID=77 20:16:06 Running ssh-add (command line suppressed) 20:16:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_5151445192477349663.key (/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_5151445192477349663.key) 20:16:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:06 + git semver init 20:16:06 2022-08-15 20:16:06,883 [run_init] DEBUG init version:0.0.0 force:False 20:16:06 2022-08-15 20:16:06,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-210/.semver 20:16:06 2022-08-15 20:16:06,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-210/.semver 20:16:06 2022-08-15 20:16:06,885 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-210/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-210, universal_newlines=False, shell=None, istream=None) 20:16:08 2022-08-15 20:16:07,884 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-210/.git/info/exclude 20:16:08 2022-08-15 20:16:07,885 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-210/.semver/PR-210 with force:False 20:16:08 2022-08-15 20:16:07,885 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-210/.semver/PR-210 20:16:08 2022-08-15 20:16:07,889 [execute] INFO git cat-file --batch-check 20:16:08 2022-08-15 20:16:07,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-210/.semver, universal_newlines=False, shell=None, istream=) 20:16:08 2022-08-15 20:16:07,898 [execute] INFO git cat-file --batch 20:16:08 2022-08-15 20:16:07,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-210/.semver, universal_newlines=False, shell=None, istream=) 20:16:08 2022-08-15 20:16:07,904 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-210/.semver/PR-210 20:16:08 0.0.0 [Pipeline] } 20:16:08 $ docker exec --env ******** --env ******** e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent -k 20:16:08 unset SSH_AUTH_SOCK; 20:16:08 unset SSH_AGENT_PID; 20:16:08 echo Agent pid 77 killed; 20:16:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:08 + git semver [Pipeline] } 20:16:09 $ docker stop --time=1 e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b 20:16:10 $ docker rm -f e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b [Pipeline] // withDockerContainer [Pipeline] sh 20:16:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:16:11 Stashed 1 file(s) [Pipeline] echo 20:16:11 [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:16:11 provisioning config files... 20:16:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config1699029645568886790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:12 ---> docker-login.sh 20:16:12 nexus3.edgexfoundry.org:10001 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:12 Configure a credential helper to remove this warning. See 20:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:12 20:16:12 Login Succeeded 20:16:12 nexus3.edgexfoundry.org:10002 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:12 Configure a credential helper to remove this warning. See 20:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:12 20:16:12 Login Succeeded 20:16:12 nexus3.edgexfoundry.org:10003 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:12 Configure a credential helper to remove this warning. See 20:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:12 20:16:12 Login Succeeded 20:16:12 nexus3.edgexfoundry.org:10004 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:12 Configure a credential helper to remove this warning. See 20:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:12 20:16:12 Login Succeeded 20:16:12 docker.io 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:12 Configure a credential helper to remove this warning. See 20:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:12 20:16:12 Login Succeeded 20:16:12 ---> docker-login.sh ends [Pipeline] } 20:16:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:16:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:13 ========================================================= 20:16:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:16:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:13 + 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:16:13 Sending build context to Docker daemon 10.7MB 20:16:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:16:13 Step 2/12 : FROM ${BASE} AS builder 20:16:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:16:13 2408cc74d12b: Pulling fs layer 20:16:13 ea60b727a1ce: Pulling fs layer 20:16:13 30c4a7721957: Pulling fs layer 20:16:13 370296b7ddb6: Pulling fs layer 20:16:13 7c6cee850709: Pulling fs layer 20:16:13 39a5fcdaea64: Pulling fs layer 20:16:13 d94ebbe4e438: Pulling fs layer 20:16:13 bcfd1f05c69d: Pulling fs layer 20:16:13 59ccb84bbe0f: Pulling fs layer 20:16:13 370296b7ddb6: Waiting 20:16:13 7c6cee850709: Waiting 20:16:13 39a5fcdaea64: Waiting 20:16:13 d94ebbe4e438: Waiting 20:16:13 bcfd1f05c69d: Waiting 20:16:13 59ccb84bbe0f: Waiting 20:16:13 30c4a7721957: Verifying Checksum 20:16:13 30c4a7721957: Download complete 20:16:13 ea60b727a1ce: Download complete 20:16:13 7c6cee850709: Verifying Checksum 20:16:13 7c6cee850709: Download complete 20:16:13 39a5fcdaea64: Verifying Checksum 20:16:13 39a5fcdaea64: Download complete 20:16:13 2408cc74d12b: Verifying Checksum 20:16:13 2408cc74d12b: Download complete 20:16:13 d94ebbe4e438: Download complete 20:16:13 2408cc74d12b: Pull complete 20:16:14 ea60b727a1ce: Pull complete 20:16:14 30c4a7721957: Pull complete 20:16:14 59ccb84bbe0f: Verifying Checksum 20:16:14 59ccb84bbe0f: Download complete 20:16:14 370296b7ddb6: Verifying Checksum 20:16:14 370296b7ddb6: Download complete 20:16:14 bcfd1f05c69d: Verifying Checksum 20:16:14 bcfd1f05c69d: Download complete 20:16:18 370296b7ddb6: Pull complete 20:16:18 7c6cee850709: Pull complete 20:16:18 39a5fcdaea64: Pull complete 20:16:18 d94ebbe4e438: Pull complete 20:16:20 bcfd1f05c69d: Pull complete 20:16:21 59ccb84bbe0f: Pull complete 20:16:21 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:16:21 ---> a4fb48ad2a94 20:16:21 Step 3/12 : ARG MAKE='make build' 20:16:23 ---> Running in 6aeb82b225a7 20:16:23 Removing intermediate container 6aeb82b225a7 20:16:23 ---> 949c10e1ca19 20:16:23 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:16:23 ---> Running in 444856042a23 20:16:23 Removing intermediate container 444856042a23 20:16:23 ---> 0e619d75acb8 20:16:23 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:16:23 ---> Running in 9a0a64aba244 20:16:23 Removing intermediate container 9a0a64aba244 20:16:23 ---> 41ad36d0eb4c 20:16:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:16:23 ---> Running in 7255af254fbe 20:16:24 Removing intermediate container 7255af254fbe 20:16:24 ---> 065de955544b 20:16:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:24 ---> Running in c60c63e72635 20:16:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:16:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:16:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:16:26 (2/4) Installing libedit (20210910.3.1-r0) 20:16:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:16:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:16:26 Executing busybox-1.35.0-r13.trigger 20:16:26 OK: 216 MiB in 55 packages 20:16:26 Still waiting to schedule task 20:16:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:16:26 Removing intermediate container c60c63e72635 20:16:26 ---> db6e9c7116fe 20:16:26 Step 8/12 : WORKDIR /device-rest-go 20:16:26 ---> Running in fb6c2e4c173f 20:16:26 Removing intermediate container fb6c2e4c173f 20:16:26 ---> 88a2bf4c6944 20:16:26 Step 9/12 : COPY go.mod vendor* ./ 20:16:26 ---> 5fe4c25e23b0 20:16:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:26 ---> Running in 1bffeb05644c 20:16:48 Removing intermediate container 1bffeb05644c 20:16:48 ---> be44334035f4 20:16:48 Step 11/12 : COPY . . 20:16:48 ---> b5320b573b69 20:16:48 Step 12/12 : RUN $MAKE 20:16:48 ---> Running in 685bab68e64c 20:16:48 noop 20:16:48 Removing intermediate container 685bab68e64c 20:16:48 ---> 2d27b2cb9e82 20:16:48 Successfully built 2d27b2cb9e82 20:16:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:49 + docker inspect -f . ci-base-image-x86_64 20:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:49 prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container 20:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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:16:49 $ docker top 00024bb441469527abbdc82dbb0c4fc2d64661b56367c3418bc5071c3fd4258c -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:50 + go version 20:16:50 go version go1.18.3 linux/amd64 [Pipeline] } 20:16:50 $ docker stop --time=1 00024bb441469527abbdc82dbb0c4fc2d64661b56367c3418bc5071c3fd4258c 20:16:51 $ docker rm -f 00024bb441469527abbdc82dbb0c4fc2d64661b56367c3418bc5071c3fd4258c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:52 + docker inspect -f . ci-base-image-x86_64 20:16:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:52 prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container 20:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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:16:53 $ docker top b87897f7b99a4ae789d3ad3edc4828613f2b7264f36d1f5e5025aa93b9ce5f8a -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-210 [Pipeline] fileExists [Pipeline] sh 20:16:53 + make test 20:16:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:16:54 ? github.com/edgexfoundry/device-rest-go [no test files] 20:17:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:17:04 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 20:17:10 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:17:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:17:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:17:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:17:13 ./bin/test-attribution-txt.sh 20:17:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:17:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:17:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:17:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:17:14 $ docker stop --time=1 b87897f7b99a4ae789d3ad3edc4828613f2b7264f36d1f5e5025aa93b9ce5f8a 20:17:16 $ docker rm -f b87897f7b99a4ae789d3ad3edc4828613f2b7264f36d1f5e5025aa93b9ce5f8a [Pipeline] // withDockerContainer [Pipeline] sh 20:17:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:17:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:17:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:17:17 + ls -al . 20:17:17 total 172 20:17:17 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 20:16 . 20:17:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:15 .. 20:17:17 -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 20:15 .dockerignore 20:17:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 20:17 .git 20:17:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:15 .github 20:17:17 -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 20:15 .gitignore 20:17:17 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 20:15 .golangci.yml 20:17:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 20:16 .semver 20:17:17 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 20:15 Attribution.txt 20:17:17 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 20:15 CHANGELOG.md 20:17:17 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 20:15 Dockerfile 20:17:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 20:15 GOVERNANCE.md 20:17:17 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 20:15 Jenkinsfile 20:17:17 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 20:15 LICENSE 20:17:17 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 20:15 Makefile 20:17:17 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 20:15 OWNERS.md 20:17:17 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 20:15 README.md 20:17:17 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 20:16 VERSION 20:17:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:15 bin 20:17:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:15 cmd 20:17:17 -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 20:17 coverage.out 20:17:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:15 driver 20:17:17 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 20:15 go.mod 20:17:17 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 20:15 go.sum 20:17:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:15 snap 20:17:17 -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:18 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 --label arch=amd64 --label version=0.0.0 . 20:17:18 Sending build context to Docker daemon 10.71MB 20:17:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:17:18 Step 2/25 : FROM ${BASE} AS builder 20:17:18 ---> 2d27b2cb9e82 20:17:18 Step 3/25 : ARG MAKE='make build' 20:17:18 ---> Running in 5d4a072760c8 20:17:18 Removing intermediate container 5d4a072760c8 20:17:18 ---> 2556ec181c76 20:17:18 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:17:18 ---> Running in db8cfc093b11 20:17:18 Removing intermediate container db8cfc093b11 20:17:18 ---> e523226ca3e9 20:17:18 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:17:18 ---> Running in 6a70dfa5384d 20:17:18 Removing intermediate container 6a70dfa5384d 20:17:18 ---> e3d0974ee654 20:17:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:17:18 ---> Running in f10d1aea4575 20:17:19 Removing intermediate container f10d1aea4575 20:17:19 ---> f4ab058557e0 20:17:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:19 ---> Running in 2bcd600ef810 20:17:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:17:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:17:20 OK: 216 MiB in 55 packages 20:17:21 Removing intermediate container 2bcd600ef810 20:17:21 ---> a76b55aee2b8 20:17:21 Step 8/25 : WORKDIR /device-rest-go 20:17:21 ---> Running in 389e00f2b0ce 20:17:21 Removing intermediate container 389e00f2b0ce 20:17:21 ---> 6d75e3e9aaf1 20:17:21 Step 9/25 : COPY go.mod vendor* ./ 20:17:21 ---> 1fa5767576e6 20:17:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:21 ---> Running in f68c80fd9397 20:17:21 Removing intermediate container f68c80fd9397 20:17:21 ---> 74b6356b776e 20:17:21 Step 11/25 : COPY . . 20:17:22 ---> 517eb8c593f5 20:17:22 Step 12/25 : RUN $MAKE 20:17:22 ---> Running in bb7a24e8edf0 20:17:22 CGO_ENABLED=1 GO111MODULE=on go build -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:17:44 Removing intermediate container bb7a24e8edf0 20:17:44 ---> a487c133ea80 20:17:44 Step 13/25 : FROM alpine:3.16 20:17:44 3.16: Pulling from library/alpine 20:17:44 213ec9aee27d: Pulling fs layer 20:17:44 213ec9aee27d: Verifying Checksum 20:17:44 213ec9aee27d: Download complete 20:17:44 213ec9aee27d: Pull complete 20:17:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:17:44 Status: Downloaded newer image for alpine:3.16 20:17:44 ---> 9c6f07244728 20:17:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:17:45 ---> Running in e93471197557 20:17:45 Removing intermediate container e93471197557 20:17:45 ---> 4f270ccb7d32 20:17:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:17:45 ---> Running in 8077eae15d6f 20:17:45 Removing intermediate container 8077eae15d6f 20:17:45 ---> 387ee8eb8a68 20:17:45 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:17:45 ---> Running in ec9da94c26f9 20:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:17:45 (1/6) Installing dumb-init (1.2.5-r1) 20:17:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:17:45 (3/6) Installing libsodium (1.0.18-r0) 20:17:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:17:45 (5/6) Installing libzmq (4.3.4-r0) 20:17:45 (6/6) Installing zeromq (4.3.4-r0) 20:17:45 Executing busybox-1.35.0-r17.trigger 20:17:45 OK: 8 MiB in 20 packages 20:17:46 Removing intermediate container ec9da94c26f9 20:17:46 ---> 4a1d44626cb9 20:17:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:17:46 ---> ccec97c6f5a1 20:17:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:17:47 ---> 8eea5ceebef2 20:17:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:17:47 ---> 5b92ea88fa6a 20:17:47 Step 20/25 : EXPOSE 59986 20:17:47 ---> Running in 12ab3d93e8d6 20:17:47 Removing intermediate container 12ab3d93e8d6 20:17:47 ---> 965c837eb60d 20:17:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:17:47 ---> Running in 4e7d609aa5c5 20:17:47 Removing intermediate container 4e7d609aa5c5 20:17:47 ---> ce99351ec064 20:17:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:17:47 ---> Running in 2f12f523dbd3 20:17:47 Removing intermediate container 2f12f523dbd3 20:17:47 ---> 990780c097b8 20:17:47 Step 23/25 : LABEL arch=amd64 20:17:47 ---> Running in 642df0e3c7c3 20:17:47 Removing intermediate container 642df0e3c7c3 20:17:47 ---> cce5406247ad 20:17:47 Step 24/25 : LABEL git_sha=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 20:17:47 ---> Running in 0768aa12c4a9 20:17:47 Removing intermediate container 0768aa12c4a9 20:17:47 ---> a5318ff14e18 20:17:47 Step 25/25 : LABEL version=0.0.0 20:17:47 ---> Running in 66693611de24 20:17:47 Removing intermediate container 66693611de24 20:17:47 ---> 4ec26a351ab5 20:17:47 [Warning] One or more build-args [ARCH] were not consumed 20:17:47 Successfully built 4ec26a351ab5 20:17:47 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:17:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:48 20:17:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:48 latest: Pulling from edgex-lftools-log-publisher 20:17:48 5eb5b503b376: Pulling fs layer 20:17:48 5c69ac0246d0: Pulling fs layer 20:17:48 ec43610c2a17: Pulling fs layer 20:17:48 3a2ae6a8a46f: Pulling fs layer 20:17:48 33b1e0a273af: Pulling fs layer 20:17:48 5d3b04190fa2: Pulling fs layer 20:17:48 2f39f015ded8: Pulling fs layer 20:17:48 2f39f015ded8: Waiting 20:17:48 33b1e0a273af: Waiting 20:17:48 5d3b04190fa2: Waiting 20:17:48 3a2ae6a8a46f: Waiting 20:17:48 5c69ac0246d0: Download complete 20:17:48 3a2ae6a8a46f: Verifying Checksum 20:17:48 33b1e0a273af: Verifying Checksum 20:17:48 33b1e0a273af: Download complete 20:17:48 5d3b04190fa2: Download complete 20:17:49 ec43610c2a17: Verifying Checksum 20:17:49 5eb5b503b376: Verifying Checksum 20:17:49 5eb5b503b376: Download complete 20:17:49 2f39f015ded8: Download complete 20:17:50 5eb5b503b376: Pull complete 20:17:50 5c69ac0246d0: Pull complete 20:17:51 ec43610c2a17: Pull complete 20:17:51 3a2ae6a8a46f: Pull complete 20:17:51 33b1e0a273af: Pull complete 20:17:51 5d3b04190fa2: Pull complete 20:17:56 2f39f015ded8: Pull complete 20:17:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:57 prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container 20:17:57 $ 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-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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:17:59 $ docker top ae1326445817be525d0579a9dc1fff813a42800fad7c972d01bc4a037c77685a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:00 ---> job-cost.sh 20:18:00 lf-activate-venv: SKIPPING 20:18:00 INFO: No Stack... 20:18:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:18:01 INFO: Archiving Costs [Pipeline] sh 20:18:01 + cat /w/workspace/gexfoundry_device-rest-go_PR-210/archives/cost.csv 20:18:01 + cut -d, -f6 [Pipeline] lock 20:18:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] 20:18:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] did not exist. Created. 20:18:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:18:01 + echo total: 0.2199999988079071 [Pipeline] stash 20:18:01 Stashed 1 file(s) [Pipeline] } 20:18:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:18:02 $ docker stop --time=1 ae1326445817be525d0579a9dc1fff813a42800fad7c972d01bc4a037c77685a 20:18:03 $ docker rm -f ae1326445817be525d0579a9dc1fff813a42800fad7c972d01bc4a037c77685a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:18:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22851 in /w/workspace/gexfoundry_device-rest-go_PR-210 [Pipeline] { [Pipeline] ws 20:18:07 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:18:07 The recommended git tool is: git 20:18:14 using credential edgex-jenkins-ssh 20:18:14 Cloning the remote Git repository 20:18:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:18:14 > git init /w/workspace/device-rest-go/1 # timeout=10 20:18:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:18:14 > git --version # timeout=10 20:18:14 > git --version # 'git version 2.25.1' 20:18:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:18:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:18:16 Merging remotes/origin/main commit 7849af7816baf1c3cc1af121845620dcf422b00f into PR head commit a4c2232b4362e4ba4fa6d05c1b4772891599ba49 20:18:17 Merge succeeded, producing a4c2232b4362e4ba4fa6d05c1b4772891599ba49 20:18:17 Checking out Revision a4c2232b4362e4ba4fa6d05c1b4772891599ba49 (PR-210) 20:18:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:18:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:18:16 > git config core.sparsecheckout # timeout=10 20:18:16 > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # timeout=10 20:18:17 > git remote # timeout=10 20:18:17 > git config --get remote.origin.url # timeout=10 20:18:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:17 > git merge 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 20:18:17 > git rev-parse HEAD^{commit} # timeout=10 20:18:17 > git config core.sparsecheckout # timeout=10 20:18:17 > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # timeout=10 20:18:21 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:18:21 > git --version # timeout=10 20:18:21 > git --version # 'git version 2.25.1' 20:18:21 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:18:22 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:22 Dload Upload Total Spent Left Speed 20:18:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 20:18:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:18:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:18:23 + sudo tee /etc/docker/daemon.new 20:18:23 { 20:18:23 "registry-mirrors": [ 20:18:23 "https://nexus3.edgexfoundry.org:10001" 20:18:23 ], 20:18:23 "bip": "10.250.0.254/24", 20:18:23 "hosts": [ 20:18:23 "tcp://0.0.0.0:5555", 20:18:23 "unix:///var/run/docker.sock" 20:18:23 ], 20:18:23 "mtu": 1458, 20:18:23 "selinux-enabled": true, 20:18:23 "seccomp-profile": "/etc/docker/seccomp.json" 20:18:23 } [Pipeline] sh 20:18:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:18:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:42 provisioning config files... 20:18:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5426125907190059715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:43 ---> docker-login.sh 20:18:43 nexus3.edgexfoundry.org:10001 20:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:44 Configure a credential helper to remove this warning. See 20:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:44 20:18:44 Login Succeeded 20:18:44 nexus3.edgexfoundry.org:10002 20:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:44 Configure a credential helper to remove this warning. See 20:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:44 20:18:44 Login Succeeded 20:18:44 nexus3.edgexfoundry.org:10003 20:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:44 Configure a credential helper to remove this warning. See 20:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:44 20:18:44 Login Succeeded 20:18:44 nexus3.edgexfoundry.org:10004 20:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:45 Configure a credential helper to remove this warning. See 20:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:45 20:18:45 Login Succeeded 20:18:45 docker.io 20:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:46 Configure a credential helper to remove this warning. See 20:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:46 20:18:46 Login Succeeded 20:18:46 ---> docker-login.sh ends [Pipeline] } 20:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:46 ========================================================= 20:18:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:18:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:47 + 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:18:47 Sending build context to Docker daemon 126kB 20:18:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:18:47 Step 2/12 : FROM ${BASE} AS builder 20:18:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:47 b3c136eddcbf: Pulling fs layer 20:18:47 c0a3192eca97: Pulling fs layer 20:18:47 a050256f5b6f: Pulling fs layer 20:18:47 656be50a0ddc: Pulling fs layer 20:18:47 2bbca73fdf42: Pulling fs layer 20:18:47 46d945488cbd: Pulling fs layer 20:18:47 8a5474983e97: Pulling fs layer 20:18:47 329c88fbcd65: Pulling fs layer 20:18:47 656be50a0ddc: Waiting 20:18:47 2bbca73fdf42: Waiting 20:18:47 46d945488cbd: Waiting 20:18:47 8a5474983e97: Waiting 20:18:47 329c88fbcd65: Waiting 20:18:47 a050256f5b6f: Verifying Checksum 20:18:47 a050256f5b6f: Download complete 20:18:47 c0a3192eca97: Verifying Checksum 20:18:47 c0a3192eca97: Download complete 20:18:47 2bbca73fdf42: Verifying Checksum 20:18:47 2bbca73fdf42: Download complete 20:18:47 46d945488cbd: Verifying Checksum 20:18:47 46d945488cbd: Download complete 20:18:47 b3c136eddcbf: Verifying Checksum 20:18:47 b3c136eddcbf: Download complete 20:18:48 b3c136eddcbf: Pull complete 20:18:48 329c88fbcd65: Verifying Checksum 20:18:48 329c88fbcd65: Download complete 20:18:48 c0a3192eca97: Pull complete 20:18:49 a050256f5b6f: Pull complete 20:18:49 8a5474983e97: Verifying Checksum 20:18:49 8a5474983e97: Download complete 20:18:50 656be50a0ddc: Verifying Checksum 20:18:50 656be50a0ddc: Download complete 20:19:05 656be50a0ddc: Pull complete 20:19:05 2bbca73fdf42: Pull complete 20:19:05 46d945488cbd: Pull complete 20:19:10 8a5474983e97: Pull complete 20:19:12 329c88fbcd65: Pull complete 20:19:12 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:19:12 ---> ff4287adb874 20:19:12 Step 3/12 : ARG MAKE='make build' 20:19:12 ---> Running in 32200eb76661 20:19:13 Removing intermediate container 32200eb76661 20:19:13 ---> d45e9088af4e 20:19:13 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:19:13 ---> Running in ba951a01e429 20:19:13 Removing intermediate container ba951a01e429 20:19:13 ---> 1c791e3cfa17 20:19:13 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:19:13 ---> Running in 13382f6b04fb 20:19:14 Removing intermediate container 13382f6b04fb 20:19:14 ---> 7e17fb8c42f6 20:19:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:19:14 ---> Running in 32ead1d779e6 20:19:17 Removing intermediate container 32ead1d779e6 20:19:17 ---> 937b0584a4d2 20:19:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:17 ---> Running in 5e58caec34f4 20:19:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:19:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:19:19 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:19:19 (2/4) Installing libedit (20210910.3.1-r0) 20:19:19 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:19:20 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:19:20 Executing busybox-1.35.0-r13.trigger 20:19:20 OK: 226 MiB in 55 packages 20:19:21 Removing intermediate container 5e58caec34f4 20:19:21 ---> 5724d8a6e994 20:19:21 Step 8/12 : WORKDIR /device-rest-go 20:19:21 ---> Running in 0b9b640f23b0 20:19:21 Removing intermediate container 0b9b640f23b0 20:19:21 ---> 81941176cd30 20:19:21 Step 9/12 : COPY go.mod vendor* ./ 20:19:22 ---> c5de14011f5a 20:19:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:22 ---> Running in 49091e922388 20:20:09 Removing intermediate container 49091e922388 20:20:09 ---> 2bb3525cedd0 20:20:09 Step 11/12 : COPY . . 20:20:10 ---> 68e741143ebe 20:20:10 Step 12/12 : RUN $MAKE 20:20:10 ---> Running in 8d69508b6006 20:20:11 noop 20:20:11 Removing intermediate container 8d69508b6006 20:20:11 ---> 72daf9fcf8d4 20:20:11 Successfully built 72daf9fcf8d4 20:20:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:12 + docker inspect -f . ci-base-image-arm64 20:20:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:12 prd-ubuntu20.04-docker-arm64-4c-16g-22851 does not seem to be running inside a container 20:20:12 $ 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:20:14 $ docker top 4edf504b009662b945631465bc3728ca0d9f61ef60c8394d6e0980bb998d7d46 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:15 + go version 20:20:15 go version go1.18.3 linux/arm64 [Pipeline] } 20:20:15 $ docker stop --time=1 4edf504b009662b945631465bc3728ca0d9f61ef60c8394d6e0980bb998d7d46 20:20:16 $ docker rm -f 4edf504b009662b945631465bc3728ca0d9f61ef60c8394d6e0980bb998d7d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:17 + docker inspect -f . ci-base-image-arm64 20:20:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:18 prd-ubuntu20.04-docker-arm64-4c-16g-22851 does not seem to be running inside a container 20:20:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:20:19 $ docker top aead2dc143e1c53aa39b8ac33b88ab16580a1e31f3ca8baaa12f99c3e0341111 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:20 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:20:21 + make test 20:20:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:20:22 ? github.com/edgexfoundry/device-rest-go [no test files] 20:21:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:21:44 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 20:21:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:21:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:59 ./bin/test-attribution-txt.sh 20:21:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:21:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:21:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:59 $ docker stop --time=1 aead2dc143e1c53aa39b8ac33b88ab16580a1e31f3ca8baaa12f99c3e0341111 20:22:01 $ docker rm -f aead2dc143e1c53aa39b8ac33b88ab16580a1e31f3ca8baaa12f99c3e0341111 [Pipeline] // withDockerContainer [Pipeline] sh 20:22:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:22:02 Warning: overwriting stash ‘coverage-report’ 20:22:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:22:03 + ls -al . 20:22:03 total 168 20:22:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 20:20 . 20:22:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:18 .. 20:22:03 -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 20:18 .dockerignore 20:22:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 20:18 .git 20:22:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:18 .github 20:22:03 -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 20:18 .gitignore 20:22:03 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 20:18 .golangci.yml 20:22:03 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 20:18 Attribution.txt 20:22:03 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 20:18 CHANGELOG.md 20:22:03 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 20:18 Dockerfile 20:22:03 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 20:18 GOVERNANCE.md 20:22:03 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 20:18 Jenkinsfile 20:22:03 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 20:18 LICENSE 20:22:03 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 20:18 Makefile 20:22:03 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 20:18 OWNERS.md 20:22:03 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 20:18 README.md 20:22:03 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 20:16 VERSION 20:22:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:18 bin 20:22:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:18 cmd 20:22:03 -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 20:21 coverage.out 20:22:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:18 driver 20:22:03 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 20:18 go.mod 20:22:03 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 20:18 go.sum 20:22:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:18 snap 20:22:03 -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:04 + 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=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 --label arch=arm64 --label version=0.0.0 . 20:22:04 Sending build context to Docker daemon 136.2kB 20:22:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:22:04 Step 2/25 : FROM ${BASE} AS builder 20:22:04 ---> 72daf9fcf8d4 20:22:04 Step 3/25 : ARG MAKE='make build' 20:22:04 ---> Running in 812822e898df 20:22:04 Removing intermediate container 812822e898df 20:22:04 ---> e35d722fa465 20:22:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:22:05 ---> Running in 4e5655d83305 20:22:05 Removing intermediate container 4e5655d83305 20:22:05 ---> 79a9ebcee1a5 20:22:05 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:22:05 ---> Running in ab8f5046b29c 20:22:05 Removing intermediate container ab8f5046b29c 20:22:05 ---> 1db27c979f3f 20:22:05 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:22:05 ---> Running in eb9461911620 20:22:07 Removing intermediate container eb9461911620 20:22:07 ---> 654dfefd2eb1 20:22:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:22:07 ---> Running in 8fa817c16c1e 20:22:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:22:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:22:10 OK: 226 MiB in 55 packages 20:22:11 Removing intermediate container 8fa817c16c1e 20:22:11 ---> 4d2b6dba6fcd 20:22:11 Step 8/25 : WORKDIR /device-rest-go 20:22:11 ---> Running in 8c0a49a03b83 20:22:11 Removing intermediate container 8c0a49a03b83 20:22:11 ---> 865f3b1495c5 20:22:11 Step 9/25 : COPY go.mod vendor* ./ 20:22:11 ---> 8b765394821d 20:22:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:11 ---> Running in 59b331037bd4 20:22:13 Removing intermediate container 59b331037bd4 20:22:13 ---> 75ad0c49f2df 20:22:13 Step 11/25 : COPY . . 20:22:14 ---> d7e219b5964d 20:22:14 Step 12/25 : RUN $MAKE 20:22:14 ---> Running in 4efad1e95097 20:22:15 CGO_ENABLED=1 GO111MODULE=on go build -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:24:22 Removing intermediate container 4efad1e95097 20:24:22 ---> df25296bc7ad 20:24:22 Step 13/25 : FROM alpine:3.16 20:24:22 3.16: Pulling from library/alpine 20:24:22 9b18e9b68314: Pulling fs layer 20:24:22 9b18e9b68314: Verifying Checksum 20:24:22 9b18e9b68314: Download complete 20:24:22 9b18e9b68314: Pull complete 20:24:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:24:22 Status: Downloaded newer image for alpine:3.16 20:24:22 ---> a6215f271958 20:24:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:24:22 ---> Running in fd16c558238a 20:24:22 Removing intermediate container fd16c558238a 20:24:22 ---> 75a34d409423 20:24:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:24:22 ---> Running in fcda4a98df90 20:24:22 Removing intermediate container fcda4a98df90 20:24:22 ---> 68b9497303d0 20:24:22 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:24:22 ---> Running in 7dd095ec5d63 20:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:24:22 (1/6) Installing dumb-init (1.2.5-r1) 20:24:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:24:22 (3/6) Installing libsodium (1.0.18-r0) 20:24:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:24:22 (5/6) Installing libzmq (4.3.4-r0) 20:24:22 (6/6) Installing zeromq (4.3.4-r0) 20:24:22 Executing busybox-1.35.0-r17.trigger 20:24:22 OK: 8 MiB in 20 packages 20:24:22 Removing intermediate container 7dd095ec5d63 20:24:22 ---> 7f3a4dc4a868 20:24:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:24:23 ---> c3ca927a3002 20:24:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:24:23 ---> 95a9a6ee18b4 20:24:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:24:23 ---> 298fbbf3d115 20:24:23 Step 20/25 : EXPOSE 59986 20:24:24 ---> Running in d7d5da564202 20:24:24 Removing intermediate container d7d5da564202 20:24:24 ---> ecb4f0068e9b 20:24:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:24:24 ---> Running in cec8f93d6ec3 20:24:24 Removing intermediate container cec8f93d6ec3 20:24:24 ---> 8b62a6603149 20:24:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:24:24 ---> Running in 879d1aad6dac 20:24:24 Removing intermediate container 879d1aad6dac 20:24:24 ---> 7fe35383a170 20:24:24 Step 23/25 : LABEL arch=arm64 20:24:25 ---> Running in a3f4f6ad2c36 20:24:25 Removing intermediate container a3f4f6ad2c36 20:24:25 ---> 3020f013bfa0 20:24:25 Step 24/25 : LABEL git_sha=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 20:24:25 ---> Running in 7a96773a9a77 20:24:25 Removing intermediate container 7a96773a9a77 20:24:25 ---> d32478c3a6af 20:24:25 Step 25/25 : LABEL version=0.0.0 20:24:25 ---> Running in b352f5803711 20:24:26 Removing intermediate container b352f5803711 20:24:26 ---> eb7f2f8b72c5 20:24:26 [Warning] One or more build-args [ARCH] were not consumed 20:24:26 Successfully built eb7f2f8b72c5 20:24:26 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:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:27 20:24:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:27 arm64: Pulling from edgex-lftools-log-publisher 20:24:27 8998bd30e6a1: Pulling fs layer 20:24:27 04944245beec: Pulling fs layer 20:24:27 699f458cf7ca: Pulling fs layer 20:24:27 765212b225bb: Pulling fs layer 20:24:27 f23df028b6ca: Pulling fs layer 20:24:27 d65c8cfc05b1: Pulling fs layer 20:24:27 2437ff75d9bd: Pulling fs layer 20:24:27 765212b225bb: Waiting 20:24:27 f23df028b6ca: Waiting 20:24:27 d65c8cfc05b1: Waiting 20:24:27 2437ff75d9bd: Waiting 20:24:27 04944245beec: Verifying Checksum 20:24:27 04944245beec: Download complete 20:24:27 765212b225bb: Verifying Checksum 20:24:27 765212b225bb: Download complete 20:24:27 f23df028b6ca: Download complete 20:24:27 d65c8cfc05b1: Verifying Checksum 20:24:27 d65c8cfc05b1: Download complete 20:24:28 699f458cf7ca: Verifying Checksum 20:24:28 699f458cf7ca: Download complete 20:24:28 8998bd30e6a1: Verifying Checksum 20:24:28 8998bd30e6a1: Download complete 20:24:31 2437ff75d9bd: Verifying Checksum 20:24:31 2437ff75d9bd: Download complete 20:24:33 8998bd30e6a1: Pull complete 20:24:33 04944245beec: Pull complete 20:24:34 699f458cf7ca: Pull complete 20:24:35 765212b225bb: Pull complete 20:24:36 f23df028b6ca: Pull complete 20:24:36 d65c8cfc05b1: Pull complete 20:24:51 2437ff75d9bd: Pull complete 20:24:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:51 prd-ubuntu20.04-docker-arm64-4c-16g-22851 does not seem to be running inside a container 20:24:51 $ 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:24:54 $ docker top eeb0ec29ea4abf981364d75a2e71d520611f3c3b5e29fa894a431ec4a5881a51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:55 ---> job-cost.sh 20:24:55 lf-activate-venv: SKIPPING 20:24:55 INFO: No Stack... 20:24:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:24:56 INFO: Archiving Costs [Pipeline] sh 20:24:56 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:24:56 + cut -d, -f6 [Pipeline] lock 20:24:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] 20:24:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] did not exist. Created. 20:24:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:57 /w/workspace/device-rest-go/1@tmp/durable-d3c8d992/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:24:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:24:58 Warning: overwriting stash ‘stack-cost’ 20:24:58 Stashed 1 file(s) [Pipeline] } 20:24:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:58 $ docker stop --time=1 eeb0ec29ea4abf981364d75a2e71d520611f3c3b5e29fa894a431ec4a5881a51 20:25:00 $ docker rm -f eeb0ec29ea4abf981364d75a2e71d520611f3c3b5e29fa894a431ec4a5881a51 [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:25:01 provisioning config files... 20:25:01 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config7422236666788657646tmp [Pipeline] { [Pipeline] sh 20:25:01 + set +x 20:25:01 + curl -s https://codecov.io/bash 20:25:01 + bash -s -- 20:25:01 20:25:01 _____ _ 20:25:01 / ____| | | 20:25:01 | | ___ __| | ___ ___ _____ __ 20:25:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:25:01 | |___| (_) | (_| | __/ (_| (_) \ V / 20:25:01 \_____\___/ \__,_|\___|\___\___/ \_/ 20:25:01 Bash-1.0.6 20:25:01 20:25:01 20:25:01 ==> git version 2.25.1 found 20:25:01 ==> 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:25:01 Release-Date: 2020-01-08 20:25:01 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:25:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:25:01 ==> Jenkins CI detected. 20:25:01 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-210 20:25:01 project root: . 20:25:01 --> token set from env 20:25:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:25:01 ==> Running gcov in . (disable via -X gcov) 20:25:01 ==> Python coveragepy not found 20:25:01 ==> Searching for coverage reports in: 20:25:01 + . 20:25:01 -> Found 1 reports 20:25:01 ==> Detecting git/mercurial file structure 20:25:01 ==> Reading reports 20:25:01 + ./coverage.out bytes=9355 20:25:01 ==> Appending adjustments 20:25:01 https://docs.codecov.io/docs/fixing-reports 20:25:01 + Found adjustments 20:25:01 ==> Gzipping contents 20:25:01 4.0K /tmp/codecov.GGeDWt.gz 20:25:01 ==> Uploading reports 20:25:01 url: https://codecov.io 20:25:01 query: branch=PR-210&commit=a4c2232b4362e4ba4fa6d05c1b4772891599ba49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-210%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=210&job=&cmd_args= 20:25:01 -> Pinging Codecov 20:25:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-210&commit=a4c2232b4362e4ba4fa6d05c1b4772891599ba49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-210%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=210&job=&cmd_args= 20:25:02 -> Uploading to 20:25:02 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/4E5D53B4F1F92C436F7061BF334D961C/a4c2232b4362e4ba4fa6d05c1b4772891599ba49/2e9fcd9c-9351-478c-9412-75dba9be9dbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T202502Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9b36101532cc091e9679778e782579ee0a049e740ff40feb30b07051dfb89fe 20:25:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:25:02 Dload Upload Total Spent Left Speed 20:25:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7368 --:--:-- --:--:-- --:--:-- 7368 20:25:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] } 20:25:02 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:25:04 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-210/archives ] 20:25:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-210/archives 20:25:04 total 16 20:25:04 drwxr-xr-x 3 root root 4096 Aug 15 20:18 . 20:25:04 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 20:18 .. 20:25:04 drwxr-xr-x 2 root root 4096 Aug 15 20:18 cost 20:25:04 -rw-r--r-- 1 root root 86 Aug 15 20:18 cost.csv 20:25:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-210/archives 20:25:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-210/archives 20:25:04 total 16 20:25:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 20:18 . 20:25:04 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 20:18 .. 20:25:04 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 20:18 cost 20:25:04 -rw-r--r-- 1 jenkins jenkins 86 Aug 15 20:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:25:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:25:05 ---> package-listing.sh 20:25:05 ++ facter osfamily 20:25:05 ++ tr '[:upper:]' '[:lower:]' 20:25:05 + OS_FAMILY=debian 20:25:05 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-210 20:25:05 + START_PACKAGES=/tmp/packages_start.txt 20:25:05 + END_PACKAGES=/tmp/packages_end.txt 20:25:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:25:05 + PACKAGES=/tmp/packages_start.txt 20:25:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-210 ']' 20:25:05 + PACKAGES=/tmp/packages_end.txt 20:25:05 + case "${OS_FAMILY}" in 20:25:05 + dpkg -l 20:25:05 + grep '^ii' 20:25:05 + '[' -f /tmp/packages_start.txt ']' 20:25:05 + '[' -f /tmp/packages_end.txt ']' 20:25:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:25:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-210 ']' 20:25:05 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-210/archives/ 20:25:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-210/archives/ [Pipeline] echo 20:25:05 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-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:25:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:06 prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container 20:25:06 $ 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-210/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-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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:25:06 $ docker top c0c32210459465c9416d253f4cd30da05d3697525b2024939e0b1a3419fb26bd -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:07 + touch /tmp/pre-build-complete [Pipeline] sh 20:25:07 + mkdir -p /var/log/sysstat [Pipeline] sh 20:25:08 + ls /var/log/sa-host 20:25:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:25:08 provisioning config files... 20:25:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config4077148021676179505tmp [Pipeline] { [Pipeline] echo 20:25:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:25:08 ---> create-netrc.sh [Pipeline] } 20:25:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:25:09 ---> python-tools-install.sh [Pipeline] echo 20:25:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:25:09 ---> sudo-logs.sh 20:25:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:25:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:25:09 ---> job-cost.sh 20:25:09 lf-activate-venv: SKIPPING 20:25:09 DEBUG: total: 0.2199999988079071 20:25:09 INFO: Retrieving Stack Cost... 20:25:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:25:10 INFO: Archiving Costs [Pipeline] echo 20:25:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:25:11 ---> logs-deploy.sh 20:25:11 lf-activate-venv: SKIPPING 20:25:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-210/1 20:25:11 INFO: archiving workspace using pattern(s): 20:25:12 Archives upload complete. 20:25:12 INFO: archiving logs to Nexus 20:25:13 ---> uname -a: 20:25:13 Linux prd-ubuntu20-04-docker-8c-8g-22850 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 20:25:13 20:25:13 20:25:13 ---> lscpu: 20:25:13 Architecture: x86_64 20:25:13 CPU op-mode(s): 32-bit, 64-bit 20:25:13 Byte Order: Little Endian 20:25:13 Address sizes: 40 bits physical, 48 bits virtual 20:25:13 CPU(s): 8 20:25:13 On-line CPU(s) list: 0-7 20:25:13 Thread(s) per core: 1 20:25:13 Core(s) per socket: 1 20:25:13 Socket(s): 8 20:25:13 NUMA node(s): 1 20:25:13 Vendor ID: AuthenticAMD 20:25:13 CPU family: 23 20:25:13 Model: 49 20:25:13 Model name: AMD EPYC-Rome Processor 20:25:13 Stepping: 0 20:25:13 CPU MHz: 2799.864 20:25:13 BogoMIPS: 5599.72 20:25:13 Virtualization: AMD-V 20:25:13 Hypervisor vendor: KVM 20:25:13 Virtualization type: full 20:25:13 L1d cache: 256 KiB 20:25:13 L1i cache: 256 KiB 20:25:13 L2 cache: 4 MiB 20:25:13 L3 cache: 128 MiB 20:25:13 NUMA node0 CPU(s): 0-7 20:25:13 Vulnerability Itlb multihit: Not affected 20:25:13 Vulnerability L1tf: Not affected 20:25:13 Vulnerability Mds: Not affected 20:25:13 Vulnerability Meltdown: Not affected 20:25:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:25:13 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:25:13 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:25:13 Vulnerability Srbds: Not affected 20:25:13 Vulnerability Tsx async abort: Not affected 20:25:13 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:25:13 20:25:13 20:25:13 ---> nproc: 20:25:13 8 20:25:13 20:25:13 20:25:13 ---> df -h: 20:25:13 Filesystem Size Used Avail Use% Mounted on 20:25:13 overlay 155G 11G 145G 7% / 20:25:13 tmpfs 64M 0 64M 0% /dev 20:25:13 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:25:13 shm 64M 0 64M 0% /dev/shm 20:25:13 /dev/vda1 155G 11G 145G 7% /facter-os 20:25:13 20:25:13 20:25:13 ---> sar -b -r -n DEV: 20:25:13 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22850) 08/15/22 _x86_64_ (8 CPU) 20:25:13 20:25:13 20:15:09 LINUX RESTART (8 CPU) 20:25:13 20:25:13 20:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:25:13 20:17:01 190.17 3.53 186.64 0.00 369.94 71399.83 0.00 20:25:13 20:18:01 172.54 0.22 172.33 0.00 15.33 39891.50 0.00 20:25:13 20:19:01 3.73 0.00 3.73 0.00 0.00 57.74 0.00 20:25:13 20:20:01 1.62 0.00 1.62 0.00 0.00 18.80 0.00 20:25:13 20:21:01 1.43 0.02 1.42 0.00 0.13 16.26 0.00 20:25:13 20:22:01 1.72 0.00 1.72 0.00 0.00 20.53 0.00 20:25:13 20:23:02 1.13 0.00 1.13 0.00 0.00 13.33 0.00 20:25:13 20:24:01 1.61 0.00 1.61 0.00 0.00 18.84 0.00 20:25:13 20:25:01 0.92 0.00 0.92 0.00 0.00 10.66 0.00 20:25:13 Average: 41.73 0.42 41.31 0.00 42.90 12406.04 0.00 20:25:13 20:25:13 20:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:25:13 20:17:01 28099272 31724496 569508 1.73 160764 3656480 2270152 6.69 1349456 2964500 209260 20:25:13 20:18:01 27600412 31765528 527496 1.60 173692 4138268 2045012 6.03 1294080 3476564 328 20:25:13 20:19:01 27612560 31777052 518576 1.58 173772 4138120 1947648 5.74 1283280 3476376 20 20:25:13 20:20:01 27618220 31782776 512388 1.56 173800 4138124 1947648 5.74 1277804 3476380 192 20:25:13 20:21:01 27622888 31787508 507592 1.54 173868 4138132 1947648 5.74 1273208 3476388 56 20:25:13 20:22:01 27623132 31787796 507276 1.54 173908 4138136 1947648 5.74 1272940 3476392 196 20:25:13 20:23:02 27631148 31795928 499168 1.52 173944 4138140 1947648 5.74 1264740 3476504 180 20:25:13 20:24:01 27631164 31796012 499116 1.52 173976 4138144 1947648 5.74 1264540 3476512 12 20:25:13 20:25:01 27631584 31796432 498836 1.52 173992 4138144 1947648 5.74 1264540 3476512 12 20:25:13 Average: 27674487 31779281 515551 1.57 172413 4084632 1994300 5.88 1282732 3419570 23362 20:25:13 20:25:13 20:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:25:13 20:17:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 20:25:13 20:17:01 veth702ba52 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 20:25:13 20:17:01 ens3 382.42 295.02 5633.12 94.84 0.00 0.00 0.00 0.00 20:25:13 20:17:01 docker0 142.06 166.46 11.56 1652.35 0.00 0.00 0.00 0.00 20:25:13 20:18:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 20:25:13 20:18:01 ens3 171.53 116.96 2699.91 60.85 0.00 0.00 0.00 0.00 20:25:13 20:18:01 docker0 10.50 14.85 0.62 98.70 0.00 0.00 0.00 0.00 20:25:13 20:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:19:01 ens3 4.28 4.85 1.91 7.74 0.00 0.00 0.00 0.00 20:25:13 20:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:13 20:20:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:25:13 20:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:21:01 ens3 0.17 0.17 0.08 0.07 0.00 0.00 0.00 0.00 20:25:13 20:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:13 20:22:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:25:13 20:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:23:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:23:02 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:23:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:13 20:24:01 ens3 0.12 0.14 0.01 0.01 0.00 0.00 0.00 0.00 20:25:13 20:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 20:25:01 ens3 0.07 0.00 0.01 0.00 0.00 0.00 0.00 0.00 20:25:13 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:13 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 20:25:13 Average: ens3 62.21 46.46 927.83 18.20 0.00 0.00 0.00 0.00 20:25:13 Average: docker0 16.98 20.18 1.36 194.91 0.00 0.00 0.00 0.00 20:25:13 20:25:13 20:25:13 ---> sar -P ALL: 20:25:13 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22850) 08/15/22 _x86_64_ (8 CPU) 20:25:13 20:25:13 20:15:09 LINUX RESTART (8 CPU) 20:25:13 20:25:13 20:16:01 CPU %user %nice %system %iowait %steal %idle 20:25:13 20:17:01 all 18.40 0.00 5.23 2.52 0.06 73.79 20:25:13 20:17:01 0 18.25 0.00 5.42 0.39 0.05 75.90 20:25:13 20:17:01 1 18.98 0.00 4.81 2.11 0.07 74.03 20:25:13 20:17:01 2 18.77 0.00 5.29 1.43 0.05 74.47 20:25:13 20:17:01 3 17.35 0.00 5.16 1.49 0.05 75.96 20:25:13 20:17:01 4 17.77 0.00 4.95 0.49 0.07 76.73 20:25:13 20:17:01 5 18.59 0.00 5.38 0.89 0.07 75.07 20:25:13 20:17:01 6 17.68 0.00 5.21 5.23 0.05 71.84 20:25:13 20:17:01 7 19.82 0.00 5.63 8.17 0.07 66.30 20:25:13 20:18:01 all 31.31 0.00 5.92 1.47 0.07 61.23 20:25:13 20:18:01 0 30.42 0.00 5.79 0.82 0.07 62.90 20:25:13 20:18:01 1 30.93 0.00 6.06 2.25 0.07 60.69 20:25:13 20:18:01 2 33.02 0.00 6.12 0.57 0.07 60.21 20:25:13 20:18:01 3 31.19 0.00 5.31 0.32 0.07 63.11 20:25:13 20:18:01 4 31.78 0.00 6.15 0.93 0.07 61.08 20:25:13 20:18:01 5 30.83 0.00 5.60 2.13 0.05 61.39 20:25:13 20:18:01 6 32.31 0.00 6.00 0.08 0.07 61.54 20:25:13 20:18:01 7 30.00 0.00 6.30 4.69 0.07 58.94 20:25:13 20:19:01 all 0.06 0.00 0.05 0.01 0.00 99.87 20:25:13 20:19:01 0 0.10 0.00 0.07 0.00 0.00 99.83 20:25:13 20:19:01 1 0.03 0.00 0.08 0.02 0.02 99.85 20:25:13 20:19:01 2 0.13 0.00 0.05 0.00 0.00 99.82 20:25:13 20:19:01 3 0.03 0.00 0.05 0.00 0.02 99.90 20:25:13 20:19:01 4 0.07 0.00 0.03 0.00 0.00 99.90 20:25:13 20:19:01 5 0.02 0.00 0.02 0.03 0.00 99.93 20:25:13 20:19:01 6 0.05 0.00 0.05 0.00 0.00 99.90 20:25:13 20:19:01 7 0.08 0.00 0.05 0.00 0.00 99.87 20:25:13 20:20:01 all 0.01 0.00 0.01 0.00 0.01 99.96 20:25:13 20:20:01 0 0.00 0.00 0.00 0.00 0.02 99.98 20:25:13 20:20:01 1 0.00 0.00 0.03 0.02 0.03 99.92 20:25:13 20:20:01 2 0.02 0.00 0.00 0.00 0.00 99.98 20:25:13 20:20:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:25:13 20:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:25:13 20:20:01 5 0.00 0.00 0.00 0.02 0.02 99.97 20:25:13 20:20:01 6 0.03 0.00 0.02 0.00 0.00 99.95 20:25:13 20:20:01 7 0.02 0.00 0.02 0.00 0.00 99.97 20:25:13 20:21:01 all 0.01 0.00 0.01 0.01 0.00 99.96 20:25:13 20:21:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:21:01 1 0.05 0.00 0.03 0.00 0.02 99.90 20:25:13 20:21:01 2 0.00 0.00 0.00 0.00 0.02 99.98 20:25:13 20:21:01 3 0.02 0.00 0.00 0.02 0.00 99.97 20:25:13 20:21:01 4 0.00 0.00 0.00 0.02 0.00 99.98 20:25:13 20:21:01 5 0.03 0.00 0.00 0.03 0.00 99.93 20:25:13 20:21:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:25:13 20:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:22:01 all 0.21 0.00 0.01 0.01 0.00 99.77 20:25:13 20:22:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:25:13 20:22:01 1 0.00 0.00 0.02 0.02 0.02 99.95 20:25:13 20:22:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:25:13 20:22:01 3 0.03 0.00 0.02 0.00 0.00 99.95 20:25:13 20:22:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:22:01 5 0.00 0.00 0.00 0.03 0.00 99.97 20:25:13 20:22:01 6 1.60 0.00 0.00 0.00 0.02 98.39 20:25:13 20:22:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:23:02 all 0.27 0.00 0.01 0.00 0.01 99.70 20:25:13 20:23:02 0 0.03 0.00 0.02 0.00 0.02 99.93 20:25:13 20:23:02 1 0.05 0.00 0.02 0.00 0.02 99.92 20:25:13 20:23:02 2 0.02 0.00 0.00 0.00 0.00 99.98 20:25:13 20:23:02 3 0.03 0.00 0.00 0.00 0.02 99.95 20:25:13 20:23:02 4 0.03 0.00 0.02 0.00 0.00 99.95 20:25:13 20:23:02 5 0.00 0.00 0.00 0.02 0.00 99.98 20:25:13 20:23:02 6 2.00 0.00 0.03 0.02 0.00 97.95 20:25:13 20:23:02 7 0.00 0.00 0.02 0.00 0.00 99.98 20:25:13 20:24:01 all 0.26 0.00 0.01 0.00 0.00 99.73 20:25:13 20:24:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:24:01 1 0.03 0.00 0.03 0.00 0.02 99.92 20:25:13 20:24:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:24:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:25:13 20:24:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:25:13 20:24:01 5 0.00 0.00 0.00 0.02 0.00 99.98 20:25:13 20:24:01 6 1.97 0.00 0.00 0.02 0.02 98.00 20:25:13 20:24:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:25:13 20:25:01 all 0.27 0.00 0.01 0.00 0.00 99.72 20:25:13 20:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:25:13 20:25:01 1 0.05 0.00 0.00 0.00 0.02 99.93 20:25:13 20:25:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:25:13 20:25:01 3 0.07 0.00 0.00 0.00 0.00 99.93 20:25:13 20:25:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:25:13 20:25:01 5 0.00 0.00 0.02 0.00 0.00 99.98 20:25:13 20:25:01 6 1.95 0.00 0.00 0.00 0.00 98.05 20:25:13 20:25:01 7 0.02 0.00 0.00 0.00 0.02 99.97 20:25:13 Average: all 5.60 0.00 1.24 0.44 0.02 92.70 20:25:13 Average: 0 5.40 0.00 1.25 0.13 0.02 93.20 20:25:13 Average: 1 5.54 0.00 1.23 0.49 0.03 92.71 20:25:13 Average: 2 5.75 0.00 1.27 0.22 0.01 92.75 20:25:13 Average: 3 5.37 0.00 1.16 0.20 0.02 93.25 20:25:13 Average: 4 5.48 0.00 1.23 0.16 0.01 93.11 20:25:13 Average: 5 5.46 0.00 1.21 0.35 0.01 92.96 20:25:13 Average: 6 6.34 0.00 1.24 0.58 0.02 91.82 20:25:13 Average: 7 5.49 0.00 1.32 1.41 0.02 91.76 20:25:13 20:25:13 20:25:13