Pull request #209 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at ffd2286d282b3823fe96213d71db487366ab171f rather than aaca3c8d71de50cdfd89b040e82e1be438aa04eb Obtained Jenkinsfile from ffd2286d282b3823fe96213d71db487366ab171f 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-ssh14489945263367046952.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-ssh18327783117469508073.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-209/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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2332787585248037616.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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7229507620132093869.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-ssh15119271378180501472.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-209/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-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6814485160928166217.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22521 in /w/workspace/gexfoundry_device-rest-go_PR-209 [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-209 # 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/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit aaca3c8d71de50cdfd89b040e82e1be438aa04eb Merge succeeded, producing aaca3c8d71de50cdfd89b040e82e1be438aa04eb Checking out Revision aaca3c8d71de50cdfd89b040e82e1be438aa04eb (PR-209) > git config core.sparsecheckout # timeout=10 > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # 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 ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 Commit message: "build(snap): Upgrade snap hook to 2.4.1" 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 16:44:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:44:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:44:39 ========================================================= 16:44:39 EdgeX Global Pipelines Version Info 16:44:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:44:40 ------------------- 16:44:40 stable info: 16:44:40 ------------------- 16:44:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:44:40 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:44:40 Message: update stable to v1.0.238 16:44:41 ------------------- 16:44:41 experimental info: 16:44:41 ------------------- 16:44:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:44:41 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:44:41 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:44:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-209 [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-209 [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-209 [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aaca3c8 [Pipeline] echo 16:44:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:44:42 provisioning config files... 16:44:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config4663039970961434850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:43 ---> docker-login.sh 16:44:43 nexus3.edgexfoundry.org:10001 16:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:43 Configure a credential helper to remove this warning. See 16:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:43 16:44:43 Login Succeeded 16:44:43 nexus3.edgexfoundry.org:10002 16:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:43 Configure a credential helper to remove this warning. See 16:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:43 16:44:43 Login Succeeded 16:44:43 nexus3.edgexfoundry.org:10003 16:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:43 Configure a credential helper to remove this warning. See 16:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:43 16:44:43 Login Succeeded 16:44:43 nexus3.edgexfoundry.org:10004 16:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:44 Configure a credential helper to remove this warning. See 16:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:44 16:44:44 Login Succeeded 16:44:44 docker.io 16:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:44 Configure a credential helper to remove this warning. See 16:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:44 16:44:44 Login Succeeded 16:44:44 ---> docker-login.sh ends [Pipeline] } 16:44:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:44:45 + git rev-list -1 --merges aaca3c8d71de50cdfd89b040e82e1be438aa04eb~1..aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo 16:44:45 -----------> git rev-list -1 --merges aaca3c8d71de50cdfd89b040e82e1be438aa04eb~1..aaca3c8d71de50cdfd89b040e82e1be438aa04eb aaca3c8d71de50cdfd89b040e82e1be438aa04eb [false] [Pipeline] sh 16:44:45 + git log --format=format:%s -1 aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo 16:44:45 ========================================================= 16:44:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:44:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:45 + git log --format=format:%s -1 aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo 16:44:45 [semverPrep] GIT_COMMIT: aaca3c8d71de50cdfd89b040e82e1be438aa04eb, Commit Message: build(snap): Upgrade snap hook to 2.4.1 [Pipeline] echo 16:44:45 [semverPrep] This is not a build commit. [Pipeline] sh 16:44:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:44:46 + grep -v github /etc/ssh/ssh_known_hosts 16:44:46 + [ -e /tmp/ssh_known_hosts ] 16:44:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:44:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:44:46 + sudo tee -a /etc/ssh/ssh_known_hosts 16:44:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:44:46 16:44:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:44:47 0.1.4: Pulling from edgex-devops/py-git-semver 16:44:47 b85a868b505f: Pulling fs layer 16:44:47 e2be974225ed: Pulling fs layer 16:44:47 339a4e72a1f5: Pulling fs layer 16:44:47 988bab9f4d93: Pulling fs layer 16:44:47 1469e6f7b9e6: Pulling fs layer 16:44:47 eaf3925da568: Pulling fs layer 16:44:47 bab4dde63d76: Pulling fs layer 16:44:47 1469e6f7b9e6: Waiting 16:44:47 eaf3925da568: Waiting 16:44:47 bde34c3a00c8: Pulling fs layer 16:44:47 b352a97aabf1: Pulling fs layer 16:44:47 4872d77fe225: Pulling fs layer 16:44:47 b352a97aabf1: Waiting 16:44:47 bde34c3a00c8: Waiting 16:44:47 bab4dde63d76: Waiting 16:44:47 5851b861e8e6: Pulling fs layer 16:44:47 5851b861e8e6: Waiting 16:44:47 4872d77fe225: Waiting 16:44:47 e2be974225ed: Download complete 16:44:47 988bab9f4d93: Verifying Checksum 16:44:47 988bab9f4d93: Download complete 16:44:47 1469e6f7b9e6: Verifying Checksum 16:44:47 1469e6f7b9e6: Download complete 16:44:47 eaf3925da568: Verifying Checksum 16:44:47 eaf3925da568: Download complete 16:44:47 339a4e72a1f5: Verifying Checksum 16:44:47 339a4e72a1f5: Download complete 16:44:47 bde34c3a00c8: Download complete 16:44:47 b352a97aabf1: Download complete 16:44:47 4872d77fe225: Verifying Checksum 16:44:47 4872d77fe225: Download complete 16:44:47 5851b861e8e6: Verifying Checksum 16:44:47 5851b861e8e6: Download complete 16:44:47 b85a868b505f: Verifying Checksum 16:44:47 b85a868b505f: Download complete 16:44:47 bab4dde63d76: Verifying Checksum 16:44:47 bab4dde63d76: Download complete 16:44:48 b85a868b505f: Pull complete 16:44:48 e2be974225ed: Pull complete 16:44:49 339a4e72a1f5: Pull complete 16:44:49 988bab9f4d93: Pull complete 16:44:49 1469e6f7b9e6: Pull complete 16:44:49 eaf3925da568: Pull complete 16:44:51 bab4dde63d76: Pull complete 16:44:51 bde34c3a00c8: Pull complete 16:44:51 b352a97aabf1: Pull complete 16:44:51 4872d77fe225: Pull complete 16:44:51 5851b861e8e6: Pull complete 16:44:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:44:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:44:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:44:52 prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container 16:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@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-devops/py-git-semver:0.1.4 cat 16:44:54 $ docker top 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 -eo pid,comm 16:44:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:44:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:44:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:55 [ssh-agent] Looking for ssh-agent implementation... 16:44:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:55 $ docker exec 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent 16:44:55 SSH_AUTH_SOCK=/tmp/ssh-S6eXrvUzHbHd/agent.33 16:44:55 SSH_AGENT_PID=39 16:44:55 Running ssh-add (command line suppressed) 16:44:55 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_3279552152819260890.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_3279552152819260890.key) 16:44:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:55 + git tag --points-at HEAD [Pipeline] } 16:44:55 $ docker exec --env ******** --env ******** 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent -k 16:44:55 unset SSH_AUTH_SOCK; 16:44:55 unset SSH_AGENT_PID; 16:44:55 echo Agent pid 39 killed; 16:44:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:44:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:56 [ssh-agent] Looking for ssh-agent implementation... 16:44:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:56 $ docker exec 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent 16:44:56 SSH_AUTH_SOCK=/tmp/ssh-wyTWVOd5sktz/agent.71 16:44:56 SSH_AGENT_PID=77 16:44:56 Running ssh-add (command line suppressed) 16:44:56 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6017867746242661576.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6017867746242661576.key) 16:44:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:56 + git semver init 16:44:56 2022-08-11 16:44:56,913 [run_init] DEBUG init version:0.0.0 force:False 16:44:56 2022-08-11 16:44:56,914 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver 16:44:56 2022-08-11 16:44:56,915 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-209/.semver 16:44:56 2022-08-11 16:44:56,915 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-209/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209, universal_newlines=False, shell=None, istream=None) 16:44:58 2022-08-11 16:44:57,930 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.git/info/exclude 16:44:58 2022-08-11 16:44:57,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 with force:False 16:44:58 2022-08-11 16:44:57,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 16:44:58 2022-08-11 16:44:57,934 [execute] INFO git cat-file --batch-check 16:44:58 2022-08-11 16:44:57,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) 16:44:58 2022-08-11 16:44:57,938 [execute] INFO git cat-file --batch 16:44:58 2022-08-11 16:44:57,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) 16:44:58 2022-08-11 16:44:57,942 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 16:44:58 0.0.0 [Pipeline] } 16:44:58 $ docker exec --env ******** --env ******** 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent -k 16:44:58 unset SSH_AUTH_SOCK; 16:44:58 unset SSH_AGENT_PID; 16:44:58 echo Agent pid 77 killed; 16:44:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:44:58 + git semver [Pipeline] } 16:44:59 $ docker stop --time=1 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 16:45:00 $ docker rm -f 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 [Pipeline] // withDockerContainer [Pipeline] sh 16:45:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:45:01 Stashed 1 file(s) [Pipeline] echo 16:45:01 [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 16:45:01 provisioning config files... 16:45:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config8624914851692741715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:02 ---> docker-login.sh 16:45:02 nexus3.edgexfoundry.org:10001 16:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:02 Configure a credential helper to remove this warning. See 16:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:02 16:45:02 Login Succeeded 16:45:02 nexus3.edgexfoundry.org:10002 16:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:02 Configure a credential helper to remove this warning. See 16:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:02 16:45:02 Login Succeeded 16:45:02 nexus3.edgexfoundry.org:10003 16:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:02 Configure a credential helper to remove this warning. See 16:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:02 16:45:02 Login Succeeded 16:45:02 nexus3.edgexfoundry.org:10004 16:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:02 Configure a credential helper to remove this warning. See 16:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:02 16:45:02 Login Succeeded 16:45:02 docker.io 16:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:02 Configure a credential helper to remove this warning. See 16:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:02 16:45:02 Login Succeeded 16:45:02 ---> docker-login.sh ends [Pipeline] } 16:45:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:45:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:03 ========================================================= 16:45:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:45:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:45:03 Sending build context to Docker daemon 10.71MB 16:45:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:45:03 Step 2/12 : FROM ${BASE} AS builder 16:45:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:45:03 2408cc74d12b: Pulling fs layer 16:45:03 ea60b727a1ce: Pulling fs layer 16:45:03 30c4a7721957: Pulling fs layer 16:45:03 370296b7ddb6: Pulling fs layer 16:45:03 7c6cee850709: Pulling fs layer 16:45:03 39a5fcdaea64: Pulling fs layer 16:45:03 d94ebbe4e438: Pulling fs layer 16:45:03 bcfd1f05c69d: Pulling fs layer 16:45:03 59ccb84bbe0f: Pulling fs layer 16:45:03 d94ebbe4e438: Waiting 16:45:03 370296b7ddb6: Waiting 16:45:03 bcfd1f05c69d: Waiting 16:45:03 7c6cee850709: Waiting 16:45:03 59ccb84bbe0f: Waiting 16:45:03 39a5fcdaea64: Waiting 16:45:03 30c4a7721957: Verifying Checksum 16:45:03 30c4a7721957: Download complete 16:45:04 ea60b727a1ce: Verifying Checksum 16:45:04 ea60b727a1ce: Download complete 16:45:04 7c6cee850709: Verifying Checksum 16:45:04 7c6cee850709: Download complete 16:45:04 39a5fcdaea64: Verifying Checksum 16:45:04 39a5fcdaea64: Download complete 16:45:04 2408cc74d12b: Verifying Checksum 16:45:04 2408cc74d12b: Download complete 16:45:04 d94ebbe4e438: Download complete 16:45:04 2408cc74d12b: Pull complete 16:45:04 ea60b727a1ce: Pull complete 16:45:04 30c4a7721957: Pull complete 16:45:04 59ccb84bbe0f: Verifying Checksum 16:45:04 59ccb84bbe0f: Download complete 16:45:04 bcfd1f05c69d: Verifying Checksum 16:45:04 bcfd1f05c69d: Download complete 16:45:04 370296b7ddb6: Verifying Checksum 16:45:04 370296b7ddb6: Download complete 16:45:08 370296b7ddb6: Pull complete 16:45:08 7c6cee850709: Pull complete 16:45:08 39a5fcdaea64: Pull complete 16:45:08 d94ebbe4e438: Pull complete 16:45:10 bcfd1f05c69d: Pull complete 16:45:11 59ccb84bbe0f: Pull complete 16:45:11 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:45:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:45:11 ---> a4fb48ad2a94 16:45:11 Step 3/12 : ARG MAKE='make build' 16:45:15 ---> Running in 73c2a68d0ec4 16:45:15 Removing intermediate container 73c2a68d0ec4 16:45:15 ---> 17ea0bd9a8a9 16:45:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:45:15 ---> Running in ccc4f50cc44f 16:45:15 Removing intermediate container ccc4f50cc44f 16:45:15 ---> b20ca5e380b4 16:45:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:45:15 ---> Running in 1c23f9a4901d 16:45:15 Removing intermediate container 1c23f9a4901d 16:45:15 ---> d1ec77cd0b9a 16:45:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:45:15 ---> Running in f8c960f59aac 16:45:16 Removing intermediate container f8c960f59aac 16:45:16 ---> e7b1a5aec4da 16:45:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:45:16 ---> Running in e6c9d2ca6768 16:45:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:45:16 Still waiting to schedule task 16:45:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:45:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:45:17 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:45:17 (2/4) Installing libedit (20210910.3.1-r0) 16:45:17 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:45:17 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:45:17 Executing busybox-1.35.0-r13.trigger 16:45:17 OK: 216 MiB in 55 packages 16:45:18 Removing intermediate container e6c9d2ca6768 16:45:18 ---> 6544691198c2 16:45:18 Step 8/12 : WORKDIR /device-rest-go 16:45:18 ---> Running in 97047d860055 16:45:18 Removing intermediate container 97047d860055 16:45:18 ---> 4bf85cd68bbb 16:45:18 Step 9/12 : COPY go.mod vendor* ./ 16:45:18 ---> b75a9d88041f 16:45:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:45:18 ---> Running in b1ae2f515be0 16:45:40 Removing intermediate container b1ae2f515be0 16:45:40 ---> ecfd5d2ffe45 16:45:40 Step 11/12 : COPY . . 16:45:40 ---> b98a0a3f64ec 16:45:40 Step 12/12 : RUN $MAKE 16:45:40 ---> Running in 70e09dd6be55 16:45:40 noop 16:45:40 Removing intermediate container 70e09dd6be55 16:45:40 ---> 7640c52b01c7 16:45:40 Successfully built 7640c52b01c7 16:45:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:40 + docker inspect -f . ci-base-image-x86_64 16:45:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:41 prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container 16:45:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:45:41 $ docker top 32f77e5ff5d622a2a90f0321b889fda58713a918e86f4e41251e1b397ca41090 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:41 + go version 16:45:41 go version go1.18.3 linux/amd64 [Pipeline] } 16:45:41 $ docker stop --time=1 32f77e5ff5d622a2a90f0321b889fda58713a918e86f4e41251e1b397ca41090 16:45:43 $ docker rm -f 32f77e5ff5d622a2a90f0321b889fda58713a918e86f4e41251e1b397ca41090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:43 + docker inspect -f . ci-base-image-x86_64 16:45:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:44 prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container 16:45:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:45:44 $ docker top ab96cef3cfd614150681e37dd656caad7715260cc60b295f9e5287345c264e2e -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] fileExists [Pipeline] sh 16:45:45 + make test 16:45:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:45:45 ? github.com/edgexfoundry/device-rest-go [no test files] 16:45:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:45:54 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 16:46:00 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:46:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:46:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:46:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:46:03 ./bin/test-attribution-txt.sh 16:46:03 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:46:03 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:46:03 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:46:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:46:03 $ docker stop --time=1 ab96cef3cfd614150681e37dd656caad7715260cc60b295f9e5287345c264e2e 16:46:05 $ docker rm -f ab96cef3cfd614150681e37dd656caad7715260cc60b295f9e5287345c264e2e [Pipeline] // withDockerContainer [Pipeline] sh 16:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:46:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:46:07 + ls -al . 16:46:07 total 172 16:46:07 drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 16:45 . 16:46:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:44 .. 16:46:07 -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 16:44 .dockerignore 16:46:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:45 .git 16:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:44 .github 16:46:07 -rw-rw-r-- 1 jenkins jenkins 329 Aug 11 16:44 .gitignore 16:46:07 -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:44 .golangci.yml 16:46:07 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:44 .semver 16:46:07 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 11 16:44 Attribution.txt 16:46:07 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 11 16:44 CHANGELOG.md 16:46:07 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 11 16:44 Dockerfile 16:46:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:44 GOVERNANCE.md 16:46:07 -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 16:44 Jenkinsfile 16:46:07 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:44 LICENSE 16:46:07 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 11 16:44 Makefile 16:46:07 -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 16:44 OWNERS.md 16:46:07 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 11 16:44 README.md 16:46:07 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:45 VERSION 16:46:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:44 bin 16:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:44 cmd 16:46:07 -rw-r--r-- 1 jenkins jenkins 9355 Aug 11 16:45 coverage.out 16:46:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:44 driver 16:46:07 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 11 16:44 go.mod 16:46:07 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 11 16:44 go.sum 16:46:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:44 snap 16:46:07 -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 16:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:07 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=aaca3c8d71de50cdfd89b040e82e1be438aa04eb --label arch=amd64 --label version=0.0.0 . 16:46:07 Sending build context to Docker daemon 10.72MB 16:46:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:46:07 Step 2/25 : FROM ${BASE} AS builder 16:46:07 ---> 7640c52b01c7 16:46:07 Step 3/25 : ARG MAKE='make build' 16:46:07 ---> Running in 5e28582b9faa 16:46:07 Removing intermediate container 5e28582b9faa 16:46:07 ---> 0922c4f537d0 16:46:07 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:46:07 ---> Running in bca52675118a 16:46:07 Removing intermediate container bca52675118a 16:46:07 ---> 37a9f8afd885 16:46:07 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:46:08 ---> Running in 939cfdecc824 16:46:08 Removing intermediate container 939cfdecc824 16:46:08 ---> 35cbbc65646a 16:46:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:46:08 ---> Running in bc8dc1a9f4ce 16:46:08 Removing intermediate container bc8dc1a9f4ce 16:46:08 ---> b2fdbbaef407 16:46:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:46:08 ---> Running in 7280aee8a336 16:46:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:46:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:46:10 OK: 216 MiB in 55 packages 16:46:10 Removing intermediate container 7280aee8a336 16:46:10 ---> 677818e74535 16:46:10 Step 8/25 : WORKDIR /device-rest-go 16:46:10 ---> Running in 3e1d23259ebe 16:46:10 Removing intermediate container 3e1d23259ebe 16:46:10 ---> 4631faed4bdb 16:46:10 Step 9/25 : COPY go.mod vendor* ./ 16:46:10 ---> ed409722efb7 16:46:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:10 ---> Running in c12ff00dc1fe 16:46:11 Removing intermediate container c12ff00dc1fe 16:46:11 ---> b857459f8413 16:46:11 Step 11/25 : COPY . . 16:46:11 ---> 83ec0a1da673 16:46:11 Step 12/25 : RUN $MAKE 16:46:11 ---> Running in ae5bcccfe7e1 16:46:11 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 16:46:33 Removing intermediate container ae5bcccfe7e1 16:46:33 ---> e70b70ad61c1 16:46:33 Step 13/25 : FROM alpine:3.16 16:46:33 3.16: Pulling from library/alpine 16:46:33 213ec9aee27d: Pulling fs layer 16:46:33 213ec9aee27d: Verifying Checksum 16:46:33 213ec9aee27d: Download complete 16:46:33 213ec9aee27d: Pull complete 16:46:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:46:33 Status: Downloaded newer image for alpine:3.16 16:46:33 ---> 9c6f07244728 16:46:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:46:33 ---> Running in 96b64ade95d2 16:46:33 Removing intermediate container 96b64ade95d2 16:46:33 ---> d1f31aa71021 16:46:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:46:33 ---> Running in 08143d3db29e 16:46:33 Removing intermediate container 08143d3db29e 16:46:33 ---> 18afe9016d73 16:46:33 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:46:33 ---> Running in 8c34ebd456af 16:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:46:33 (1/6) Installing dumb-init (1.2.5-r1) 16:46:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:46:33 (3/6) Installing libsodium (1.0.18-r0) 16:46:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:46:33 (5/6) Installing libzmq (4.3.4-r0) 16:46:33 (6/6) Installing zeromq (4.3.4-r0) 16:46:33 Executing busybox-1.35.0-r17.trigger 16:46:33 OK: 8 MiB in 20 packages 16:46:33 Removing intermediate container 8c34ebd456af 16:46:33 ---> 7fe2dcd32a3b 16:46:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:46:34 ---> 0de3cbaa1754 16:46:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:46:34 ---> 8ae1e17417c3 16:46:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:46:34 ---> 941cac2ac45c 16:46:34 Step 20/25 : EXPOSE 59986 16:46:34 ---> Running in 284105ae3337 16:46:34 Removing intermediate container 284105ae3337 16:46:34 ---> 3a4d71fadde3 16:46:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:46:34 ---> Running in 4c271af5c432 16:46:34 Removing intermediate container 4c271af5c432 16:46:34 ---> ce3e61c951f2 16:46:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:46:34 ---> Running in b043fdafff00 16:46:34 Removing intermediate container b043fdafff00 16:46:34 ---> b707526404ea 16:46:34 Step 23/25 : LABEL arch=amd64 16:46:34 ---> Running in 3ededf516ab6 16:46:34 Removing intermediate container 3ededf516ab6 16:46:34 ---> fe03667568c0 16:46:34 Step 24/25 : LABEL git_sha=aaca3c8d71de50cdfd89b040e82e1be438aa04eb 16:46:34 ---> Running in c510d0ef6170 16:46:35 Removing intermediate container c510d0ef6170 16:46:35 ---> 14a983af7310 16:46:35 Step 25/25 : LABEL version=0.0.0 16:46:35 ---> Running in 54bb181ec655 16:46:35 Removing intermediate container 54bb181ec655 16:46:35 ---> 230782af3241 16:46:35 [Warning] One or more build-args [ARCH] were not consumed 16:46:35 Successfully built 230782af3241 16:46:35 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 16:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:36 16:46:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:36 latest: Pulling from edgex-lftools-log-publisher 16:46:36 5eb5b503b376: Pulling fs layer 16:46:36 5c69ac0246d0: Pulling fs layer 16:46:36 ec43610c2a17: Pulling fs layer 16:46:36 3a2ae6a8a46f: Pulling fs layer 16:46:36 33b1e0a273af: Pulling fs layer 16:46:36 5d3b04190fa2: Pulling fs layer 16:46:36 2f39f015ded8: Pulling fs layer 16:46:36 33b1e0a273af: Waiting 16:46:36 5d3b04190fa2: Waiting 16:46:36 3a2ae6a8a46f: Waiting 16:46:36 5c69ac0246d0: Verifying Checksum 16:46:36 5c69ac0246d0: Download complete 16:46:36 3a2ae6a8a46f: Verifying Checksum 16:46:36 3a2ae6a8a46f: Download complete 16:46:36 33b1e0a273af: Download complete 16:46:36 ec43610c2a17: Verifying Checksum 16:46:36 ec43610c2a17: Download complete 16:46:36 5d3b04190fa2: Verifying Checksum 16:46:36 5d3b04190fa2: Download complete 16:46:36 5eb5b503b376: Verifying Checksum 16:46:36 5eb5b503b376: Download complete 16:46:37 2f39f015ded8: Download complete 16:46:37 5eb5b503b376: Pull complete 16:46:38 5c69ac0246d0: Pull complete 16:46:38 ec43610c2a17: Pull complete 16:46:38 3a2ae6a8a46f: Pull complete 16:46:38 33b1e0a273af: Pull complete 16:46:38 5d3b04190fa2: Pull complete 16:46:43 2f39f015ded8: Pull complete 16:46:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:43 prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container 16:46:43 $ 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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:46:47 $ docker top 7fd386758ef89fa6ce812866c920104b31dffb52ee4a7859ac00724ffb4e949a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:47 ---> job-cost.sh 16:46:47 lf-activate-venv: SKIPPING 16:46:47 INFO: No Stack... 16:46:48 INFO: Retrieving Pricing Info for: v3-standard-8 16:46:48 INFO: Archiving Costs [Pipeline] sh 16:46:48 + cat /w/workspace/gexfoundry_device-rest-go_PR-209/archives/cost.csv 16:46:48 + cut -d, -f6 [Pipeline] lock 16:46:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] 16:46:48 Resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] did not exist. Created. 16:46:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:46:49 + echo total: 0.2199999988079071 [Pipeline] stash 16:46:49 Stashed 1 file(s) [Pipeline] } 16:46:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:46:49 $ docker stop --time=1 7fd386758ef89fa6ce812866c920104b31dffb52ee4a7859ac00724ffb4e949a 16:46:50 $ docker rm -f 7fd386758ef89fa6ce812866c920104b31dffb52ee4a7859ac00724ffb4e949a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:47:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22522 in /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] { [Pipeline] ws 16:47:20 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 16:47:20 The recommended git tool is: git 16:47:28 using credential edgex-jenkins-ssh 16:47:28 Cloning the remote Git repository 16:47:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:47:29 > git init /w/workspace/device-rest-go/1 # timeout=10 16:47:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:47:29 > git --version # timeout=10 16:47:29 > git --version # 'git version 2.25.1' 16:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:47:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:47:32 Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit aaca3c8d71de50cdfd89b040e82e1be438aa04eb 16:47:32 Merge succeeded, producing aaca3c8d71de50cdfd89b040e82e1be438aa04eb 16:47:32 Checking out Revision aaca3c8d71de50cdfd89b040e82e1be438aa04eb (PR-209) 16:47:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:47:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:47:32 > git config core.sparsecheckout # timeout=10 16:47:32 > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 16:47:32 > git remote # timeout=10 16:47:32 > git config --get remote.origin.url # timeout=10 16:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:32 > git merge ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 16:47:32 > git rev-parse HEAD^{commit} # timeout=10 16:47:32 > git config core.sparsecheckout # timeout=10 16:47:32 > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 16:47:37 Commit message: "build(snap): Upgrade snap hook to 2.4.1" 16:47:37 > git --version # timeout=10 16:47:37 > git --version # 'git version 2.25.1' 16:47:37 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:47:38 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:38 Dload Upload Total Spent Left Speed 16:47:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 16:47:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:47:39 + sudo tee /etc/docker/daemon.new 16:47:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:47:39 { 16:47:39 "registry-mirrors": [ 16:47:39 "https://nexus3.edgexfoundry.org:10001" 16:47:39 ], 16:47:39 "bip": "10.250.0.254/24", 16:47:39 "hosts": [ 16:47:39 "tcp://0.0.0.0:5555", 16:47:39 "unix:///var/run/docker.sock" 16:47:39 ], 16:47:39 "mtu": 1458, 16:47:39 "selinux-enabled": true, 16:47:39 "seccomp-profile": "/etc/docker/seccomp.json" 16:47:39 } [Pipeline] sh 16:47:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:47:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:47:59 provisioning config files... 16:47:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2861612487886842906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:59 ---> docker-login.sh 16:47:59 nexus3.edgexfoundry.org:10001 16:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:00 Configure a credential helper to remove this warning. See 16:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:00 16:48:00 Login Succeeded 16:48:00 nexus3.edgexfoundry.org:10002 16:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:00 Configure a credential helper to remove this warning. See 16:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:00 16:48:00 Login Succeeded 16:48:00 nexus3.edgexfoundry.org:10003 16:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:01 Configure a credential helper to remove this warning. See 16:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:01 16:48:01 Login Succeeded 16:48:01 nexus3.edgexfoundry.org:10004 16:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:01 Configure a credential helper to remove this warning. See 16:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:01 16:48:02 Login Succeeded 16:48:02 docker.io 16:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:02 Configure a credential helper to remove this warning. See 16:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:02 16:48:02 Login Succeeded 16:48:02 ---> docker-login.sh ends [Pipeline] } 16:48:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:03 ========================================================= 16:48:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:48:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:48:03 Sending build context to Docker daemon 126kB 16:48:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:48:03 Step 2/12 : FROM ${BASE} AS builder 16:48:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:48:04 b3c136eddcbf: Pulling fs layer 16:48:04 c0a3192eca97: Pulling fs layer 16:48:04 a050256f5b6f: Pulling fs layer 16:48:04 656be50a0ddc: Pulling fs layer 16:48:04 2bbca73fdf42: Pulling fs layer 16:48:04 46d945488cbd: Pulling fs layer 16:48:04 8a5474983e97: Pulling fs layer 16:48:04 329c88fbcd65: Pulling fs layer 16:48:04 656be50a0ddc: Waiting 16:48:04 46d945488cbd: Waiting 16:48:04 2bbca73fdf42: Waiting 16:48:04 8a5474983e97: Waiting 16:48:04 329c88fbcd65: Waiting 16:48:04 a050256f5b6f: Verifying Checksum 16:48:04 a050256f5b6f: Download complete 16:48:04 c0a3192eca97: Verifying Checksum 16:48:04 c0a3192eca97: Download complete 16:48:04 2bbca73fdf42: Verifying Checksum 16:48:04 2bbca73fdf42: Download complete 16:48:04 46d945488cbd: Verifying Checksum 16:48:04 46d945488cbd: Download complete 16:48:04 b3c136eddcbf: Verifying Checksum 16:48:05 b3c136eddcbf: Pull complete 16:48:05 329c88fbcd65: Verifying Checksum 16:48:05 329c88fbcd65: Download complete 16:48:05 c0a3192eca97: Pull complete 16:48:06 a050256f5b6f: Pull complete 16:48:06 8a5474983e97: Verifying Checksum 16:48:06 8a5474983e97: Download complete 16:48:07 656be50a0ddc: Verifying Checksum 16:48:07 656be50a0ddc: Download complete 16:48:22 656be50a0ddc: Pull complete 16:48:22 2bbca73fdf42: Pull complete 16:48:22 46d945488cbd: Pull complete 16:48:27 8a5474983e97: Pull complete 16:48:29 329c88fbcd65: Pull complete 16:48:29 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:48:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:48:29 ---> ff4287adb874 16:48:29 Step 3/12 : ARG MAKE='make build' 16:48:30 ---> Running in a5f8568d6f04 16:48:30 Removing intermediate container a5f8568d6f04 16:48:30 ---> 9c8a28063f9e 16:48:30 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:48:30 ---> Running in 98ad4efea30a 16:48:31 Removing intermediate container 98ad4efea30a 16:48:31 ---> 9541c161932d 16:48:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:48:31 ---> Running in 0ec3a9a839b2 16:48:31 Removing intermediate container 0ec3a9a839b2 16:48:31 ---> 3b4e4599333a 16:48:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:31 ---> Running in b2f82fecded0 16:48:34 Removing intermediate container b2f82fecded0 16:48:34 ---> 017ae4921a55 16:48:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:34 ---> Running in 0236a02d9b5a 16:48:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:48:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:48:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:48:37 (2/4) Installing libedit (20210910.3.1-r0) 16:48:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:48:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:48:38 Executing busybox-1.35.0-r13.trigger 16:48:38 OK: 226 MiB in 55 packages 16:48:39 Removing intermediate container 0236a02d9b5a 16:48:39 ---> a12c91e61f8f 16:48:39 Step 8/12 : WORKDIR /device-rest-go 16:48:39 ---> Running in 44657662943a 16:48:40 Removing intermediate container 44657662943a 16:48:40 ---> 38d9b2d02644 16:48:40 Step 9/12 : COPY go.mod vendor* ./ 16:48:40 ---> cfc756af0af8 16:48:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:40 ---> Running in 6bb9da195fb9 16:49:37 Removing intermediate container 6bb9da195fb9 16:49:37 ---> 02b5b80637c2 16:49:37 Step 11/12 : COPY . . 16:49:37 ---> cf7f705aa8dd 16:49:37 Step 12/12 : RUN $MAKE 16:49:37 ---> Running in da117a6f9b17 16:49:37 noop 16:49:37 Removing intermediate container da117a6f9b17 16:49:37 ---> 1e91ebb24113 16:49:37 Successfully built 1e91ebb24113 16:49:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:37 + docker inspect -f . ci-base-image-arm64 16:49:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:38 prd-ubuntu20.04-docker-arm64-4c-16g-22522 does not seem to be running inside a container 16:49:38 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:49:39 $ docker top 299633b61af1eb848416fe8faa7498369b5b0d7e2fc71f12eee104d911633eda -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:40 + go version 16:49:40 go version go1.18.3 linux/arm64 [Pipeline] } 16:49:40 $ docker stop --time=1 299633b61af1eb848416fe8faa7498369b5b0d7e2fc71f12eee104d911633eda 16:49:42 $ docker rm -f 299633b61af1eb848416fe8faa7498369b5b0d7e2fc71f12eee104d911633eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:43 + docker inspect -f . ci-base-image-arm64 16:49:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:43 prd-ubuntu20.04-docker-arm64-4c-16g-22522 does not seem to be running inside a container 16:49:43 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:49:45 $ docker top e9bd0a565cb2297bc56286076c6cee62226175761b4fb4420e15712f4a437169 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:46 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 16:49:46 + make test 16:49:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:49:48 ? github.com/edgexfoundry/device-rest-go [no test files] 16:51:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:51:25 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 16:51:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:51:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:51:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:51:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:51:40 ./bin/test-attribution-txt.sh 16:51:40 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:51:40 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:51:40 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:51:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:51:40 $ docker stop --time=1 e9bd0a565cb2297bc56286076c6cee62226175761b4fb4420e15712f4a437169 16:51:42 $ docker rm -f e9bd0a565cb2297bc56286076c6cee62226175761b4fb4420e15712f4a437169 [Pipeline] // withDockerContainer [Pipeline] sh 16:51:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:51:43 Warning: overwriting stash ‘coverage-report’ 16:51:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:51:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:51:45 + ls -al . 16:51:45 total 168 16:51:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:49 . 16:51:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:47 .. 16:51:45 -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 16:47 .dockerignore 16:51:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:47 .git 16:51:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:47 .github 16:51:45 -rw-rw-r-- 1 jenkins jenkins 329 Aug 11 16:47 .gitignore 16:51:45 -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:47 .golangci.yml 16:51:45 -rw-rw-r-- 1 jenkins jenkins 8724 Aug 11 16:47 Attribution.txt 16:51:45 -rw-rw-r-- 1 jenkins jenkins 11736 Aug 11 16:47 CHANGELOG.md 16:51:45 -rw-rw-r-- 1 jenkins jenkins 1674 Aug 11 16:47 Dockerfile 16:51:45 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:47 GOVERNANCE.md 16:51:45 -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 16:47 Jenkinsfile 16:51:45 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:47 LICENSE 16:51:45 -rw-rw-r-- 1 jenkins jenkins 1964 Aug 11 16:47 Makefile 16:51:45 -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 16:47 OWNERS.md 16:51:45 -rw-rw-r-- 1 jenkins jenkins 8003 Aug 11 16:47 README.md 16:51:45 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:45 VERSION 16:51:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:47 bin 16:51:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:47 cmd 16:51:45 -rw-r--r-- 1 jenkins jenkins 9355 Aug 11 16:51 coverage.out 16:51:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:47 driver 16:51:45 -rw-rw-r-- 1 jenkins jenkins 3476 Aug 11 16:47 go.mod 16:51:45 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 11 16:47 go.sum 16:51:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:47 snap 16:51:45 -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:45 + 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=aaca3c8d71de50cdfd89b040e82e1be438aa04eb --label arch=arm64 --label version=0.0.0 . 16:51:45 Sending build context to Docker daemon 136.2kB 16:51:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:51:45 Step 2/25 : FROM ${BASE} AS builder 16:51:45 ---> 1e91ebb24113 16:51:45 Step 3/25 : ARG MAKE='make build' 16:51:46 ---> Running in e82de28dd84e 16:51:46 Removing intermediate container e82de28dd84e 16:51:46 ---> 259c1a47b874 16:51:46 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:51:46 ---> Running in 1bbf4127f6c6 16:51:46 Removing intermediate container 1bbf4127f6c6 16:51:46 ---> f8d346b6e0c8 16:51:46 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:51:47 ---> Running in 4e8e0aa639cd 16:51:47 Removing intermediate container 4e8e0aa639cd 16:51:47 ---> daacc5b8f12e 16:51:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:51:47 ---> Running in a93f63fc3a6f 16:51:49 Removing intermediate container a93f63fc3a6f 16:51:49 ---> a0c76c799381 16:51:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:51:49 ---> Running in 9030b7c8bb2f 16:51:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:51:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:51:52 OK: 226 MiB in 55 packages 16:51:53 Removing intermediate container 9030b7c8bb2f 16:51:53 ---> 2a5c896eb9d3 16:51:53 Step 8/25 : WORKDIR /device-rest-go 16:51:53 ---> Running in 625c77bfbffb 16:51:53 Removing intermediate container 625c77bfbffb 16:51:53 ---> 3ceb361bdfe9 16:51:53 Step 9/25 : COPY go.mod vendor* ./ 16:51:54 ---> 349bb681f592 16:51:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:51:54 ---> Running in e46976b71210 16:51:56 Removing intermediate container e46976b71210 16:51:56 ---> d23c49b18b21 16:51:56 Step 11/25 : COPY . . 16:51:56 ---> 83055ee4de52 16:51:56 Step 12/25 : RUN $MAKE 16:51:57 ---> Running in 37a9d1f63b63 16:51:57 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 16:54:20 Removing intermediate container 37a9d1f63b63 16:54:20 ---> 6d4974537a97 16:54:20 Step 13/25 : FROM alpine:3.16 16:54:20 3.16: Pulling from library/alpine 16:54:20 9b18e9b68314: Pulling fs layer 16:54:20 9b18e9b68314: Verifying Checksum 16:54:20 9b18e9b68314: Download complete 16:54:20 9b18e9b68314: Pull complete 16:54:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:54:20 Status: Downloaded newer image for alpine:3.16 16:54:20 ---> a6215f271958 16:54:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:54:20 ---> Running in 547de825574c 16:54:20 Removing intermediate container 547de825574c 16:54:20 ---> 697d890e181e 16:54:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:54:20 ---> Running in edc0a875ce8d 16:54:20 Removing intermediate container edc0a875ce8d 16:54:20 ---> 1fcb8cd991d2 16:54:20 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:54:20 ---> Running in 2ac9d6d734cd 16:54:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:54:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:54:20 (1/6) Installing dumb-init (1.2.5-r1) 16:54:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:54:20 (3/6) Installing libsodium (1.0.18-r0) 16:54:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:54:20 (5/6) Installing libzmq (4.3.4-r0) 16:54:20 (6/6) Installing zeromq (4.3.4-r0) 16:54:20 Executing busybox-1.35.0-r17.trigger 16:54:20 OK: 8 MiB in 20 packages 16:54:20 Removing intermediate container 2ac9d6d734cd 16:54:20 ---> 6037ee5f0544 16:54:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:54:20 ---> fe46317d1b3a 16:54:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:54:20 ---> 9e2f795abc16 16:54:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:54:21 ---> 927d72eabeb5 16:54:21 Step 20/25 : EXPOSE 59986 16:54:21 ---> Running in 77dd4b29a6e0 16:54:21 Removing intermediate container 77dd4b29a6e0 16:54:21 ---> cc037f15b9c1 16:54:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:54:21 ---> Running in d6dec04b837d 16:54:22 Removing intermediate container d6dec04b837d 16:54:22 ---> b54751bcbded 16:54:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:54:22 ---> Running in 27326e6526bf 16:54:22 Removing intermediate container 27326e6526bf 16:54:22 ---> 0605f8277d10 16:54:22 Step 23/25 : LABEL arch=arm64 16:54:22 ---> Running in 8b4b7e815e87 16:54:22 Removing intermediate container 8b4b7e815e87 16:54:22 ---> b3616955bba7 16:54:22 Step 24/25 : LABEL git_sha=aaca3c8d71de50cdfd89b040e82e1be438aa04eb 16:54:23 ---> Running in a7984cb5f797 16:54:23 Removing intermediate container a7984cb5f797 16:54:23 ---> 47528c53c481 16:54:23 Step 25/25 : LABEL version=0.0.0 16:54:23 ---> Running in 69ace04e6e51 16:54:23 Removing intermediate container 69ace04e6e51 16:54:23 ---> b5bc8d3c06ba 16:54:23 [Warning] One or more build-args [ARCH] were not consumed 16:54:23 Successfully built b5bc8d3c06ba 16:54:23 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 16:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:24 16:54:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:25 arm64: Pulling from edgex-lftools-log-publisher 16:54:25 8998bd30e6a1: Pulling fs layer 16:54:25 04944245beec: Pulling fs layer 16:54:25 699f458cf7ca: Pulling fs layer 16:54:25 765212b225bb: Pulling fs layer 16:54:25 f23df028b6ca: Pulling fs layer 16:54:25 d65c8cfc05b1: Pulling fs layer 16:54:25 2437ff75d9bd: Pulling fs layer 16:54:25 765212b225bb: Waiting 16:54:25 d65c8cfc05b1: Waiting 16:54:25 f23df028b6ca: Waiting 16:54:25 2437ff75d9bd: Waiting 16:54:25 04944245beec: Verifying Checksum 16:54:25 04944245beec: Download complete 16:54:25 765212b225bb: Verifying Checksum 16:54:25 765212b225bb: Download complete 16:54:25 f23df028b6ca: Verifying Checksum 16:54:25 f23df028b6ca: Download complete 16:54:25 d65c8cfc05b1: Verifying Checksum 16:54:25 d65c8cfc05b1: Download complete 16:54:25 699f458cf7ca: Verifying Checksum 16:54:25 699f458cf7ca: Download complete 16:54:25 8998bd30e6a1: Download complete 16:54:28 2437ff75d9bd: Verifying Checksum 16:54:28 2437ff75d9bd: Download complete 16:54:30 8998bd30e6a1: Pull complete 16:54:31 04944245beec: Pull complete 16:54:32 699f458cf7ca: Pull complete 16:54:32 765212b225bb: Pull complete 16:54:33 f23df028b6ca: Pull complete 16:54:33 d65c8cfc05b1: Pull complete 16:54:48 2437ff75d9bd: Pull complete 16:54:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:54:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:49 prd-ubuntu20.04-docker-arm64-4c-16g-22522 does not seem to be running inside a container 16:54:49 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:54:52 $ docker top 52e4aa218058de3e30bf5f43234c80561748b8848b52742366ac01f7ad981e46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:53 ---> job-cost.sh 16:54:53 lf-activate-venv: SKIPPING 16:54:53 INFO: No Stack... 16:54:53 INFO: Retrieving Pricing Info for: v3-standard-4 16:54:54 INFO: Archiving Costs [Pipeline] sh 16:54:55 + cut -d, -f6 16:54:55 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 16:54:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] 16:54:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] did not exist. Created. 16:54:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:54:56 /w/workspace/device-rest-go/1@tmp/durable-ec792c7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:54:56 + echo total: 0.10999999940395355 [Pipeline] stash 16:54:56 Warning: overwriting stash ‘stack-cost’ 16:54:57 Stashed 1 file(s) [Pipeline] } 16:54:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:54:57 $ docker stop --time=1 52e4aa218058de3e30bf5f43234c80561748b8848b52742366ac01f7ad981e46 16:54:58 $ docker rm -f 52e4aa218058de3e30bf5f43234c80561748b8848b52742366ac01f7ad981e46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:54:59 provisioning config files... 16:54:59 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config3522602902191625304tmp [Pipeline] { [Pipeline] sh 16:54:59 + set +x 16:54:59 + curl -s https://codecov.io/bash 16:54:59 + bash -s -- 16:54:59 16:54:59 _____ _ 16:54:59 / ____| | | 16:54:59 | | ___ __| | ___ ___ _____ __ 16:54:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:54:59 | |___| (_) | (_| | __/ (_| (_) \ V / 16:54:59 \_____\___/ \__,_|\___|\___\___/ \_/ 16:54:59 Bash-1.0.6 16:54:59 16:54:59 16:54:59 ==> git version 2.25.1 found 16:54:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:54:59 Release-Date: 2020-01-08 16:54:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:54:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:54:59 ==> Jenkins CI detected. 16:54:59 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-209 16:54:59 project root: . 16:54:59 --> token set from env 16:54:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:54:59 ==> Running gcov in . (disable via -X gcov) 16:54:59 ==> Python coveragepy not found 16:54:59 ==> Searching for coverage reports in: 16:54:59 + . 16:54:59 -> Found 1 reports 16:54:59 ==> Detecting git/mercurial file structure 16:54:59 ==> Reading reports 16:54:59 + ./coverage.out bytes=9355 16:54:59 ==> Appending adjustments 16:54:59 https://docs.codecov.io/docs/fixing-reports 16:55:00 + Found adjustments 16:55:00 ==> Gzipping contents 16:55:00 4.0K /tmp/codecov.UT1mVc.gz 16:55:00 ==> Uploading reports 16:55:00 url: https://codecov.io 16:55:00 query: branch=PR-209&commit=aaca3c8d71de50cdfd89b040e82e1be438aa04eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= 16:55:00 -> Pinging Codecov 16:55:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-209&commit=aaca3c8d71de50cdfd89b040e82e1be438aa04eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= 16:55:00 -> Uploading to 16:55:00 https://storage.googleapis.com/codecov/v4/raw/2022-08-11/4E5D53B4F1F92C436F7061BF334D961C/aaca3c8d71de50cdfd89b040e82e1be438aa04eb/7ea35c9e-f6cf-4764-a521-713c9fbf98f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T165500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c09f016a317f7f50512dd1348fcfdc39efe725f3f8063ca64673c839b3a3f30 16:55:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:55:00 Dload Upload Total Spent Left Speed 16:55:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7977 --:--:-- --:--:-- --:--:-- 7977 16:55:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] } 16:55:00 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 16:55:02 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-209/archives ] 16:55:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives 16:55:02 total 16 16:55:02 drwxr-xr-x 3 root root 4096 Aug 11 16:46 . 16:55:02 drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:46 .. 16:55:02 drwxr-xr-x 2 root root 4096 Aug 11 16:46 cost 16:55:02 -rw-r--r-- 1 root root 86 Aug 11 16:46 cost.csv 16:55:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-209/archives 16:55:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives 16:55:02 total 16 16:55:02 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:46 . 16:55:02 drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:46 .. 16:55:02 drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 16:46 cost 16:55:02 -rw-r--r-- 1 jenkins jenkins 86 Aug 11 16:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:55:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:55:03 ---> package-listing.sh 16:55:03 ++ facter osfamily 16:55:03 ++ tr '[:upper:]' '[:lower:]' 16:55:03 + OS_FAMILY=debian 16:55:03 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-209 16:55:03 + START_PACKAGES=/tmp/packages_start.txt 16:55:03 + END_PACKAGES=/tmp/packages_end.txt 16:55:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:55:03 + PACKAGES=/tmp/packages_start.txt 16:55:03 + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' 16:55:03 + PACKAGES=/tmp/packages_end.txt 16:55:03 + case "${OS_FAMILY}" in 16:55:03 + dpkg -l 16:55:03 + grep '^ii' 16:55:03 + '[' -f /tmp/packages_start.txt ']' 16:55:03 + '[' -f /tmp/packages_end.txt ']' 16:55:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:55:03 + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' 16:55:03 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ 16:55:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ [Pipeline] echo 16:55:03 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-209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:55:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:04 prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container 16:55:04 $ 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-209/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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:55:05 $ docker top 2f4935b10b0cc1ecf5f20cb748b8a7c802bb45ef77aa8c6d5d3c0a25ae242e64 -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:05 + touch /tmp/pre-build-complete [Pipeline] sh 16:55:05 + mkdir -p /var/log/sysstat [Pipeline] sh 16:55:06 + ls /var/log/sa-host 16:55:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:06 provisioning config files... 16:55:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config4097568412953506791tmp [Pipeline] { [Pipeline] echo 16:55:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:55:06 ---> create-netrc.sh [Pipeline] } 16:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:55:07 ---> python-tools-install.sh [Pipeline] echo 16:55:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:55:07 ---> sudo-logs.sh 16:55:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:55:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:55:07 ---> job-cost.sh 16:55:07 lf-activate-venv: SKIPPING 16:55:07 DEBUG: total: 0.2199999988079071 16:55:07 INFO: Retrieving Stack Cost... 16:55:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:55:08 INFO: Archiving Costs [Pipeline] echo 16:55:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:55:08 ---> logs-deploy.sh 16:55:08 lf-activate-venv: SKIPPING 16:55:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-209/1 16:55:08 INFO: archiving workspace using pattern(s): 16:55:09 Archives upload complete. 16:55:09 INFO: archiving logs to Nexus 16:55:10 ---> uname -a: 16:55:10 Linux prd-ubuntu20-04-docker-8c-8g-22521 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:55:10 16:55:10 16:55:10 ---> lscpu: 16:55:10 Architecture: x86_64 16:55:10 CPU op-mode(s): 32-bit, 64-bit 16:55:10 Byte Order: Little Endian 16:55:10 Address sizes: 40 bits physical, 48 bits virtual 16:55:10 CPU(s): 8 16:55:10 On-line CPU(s) list: 0-7 16:55:10 Thread(s) per core: 1 16:55:10 Core(s) per socket: 1 16:55:10 Socket(s): 8 16:55:10 NUMA node(s): 1 16:55:10 Vendor ID: AuthenticAMD 16:55:10 CPU family: 23 16:55:10 Model: 49 16:55:10 Model name: AMD EPYC-Rome Processor 16:55:10 Stepping: 0 16:55:10 CPU MHz: 2799.998 16:55:10 BogoMIPS: 5599.99 16:55:10 Virtualization: AMD-V 16:55:10 Hypervisor vendor: KVM 16:55:10 Virtualization type: full 16:55:10 L1d cache: 256 KiB 16:55:10 L1i cache: 256 KiB 16:55:10 L2 cache: 4 MiB 16:55:10 L3 cache: 128 MiB 16:55:10 NUMA node0 CPU(s): 0-7 16:55:10 Vulnerability Itlb multihit: Not affected 16:55:10 Vulnerability L1tf: Not affected 16:55:10 Vulnerability Mds: Not affected 16:55:10 Vulnerability Meltdown: Not affected 16:55:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:55:10 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:55:10 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:55:10 Vulnerability Srbds: Not affected 16:55:10 Vulnerability Tsx async abort: Not affected 16:55:10 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:55:10 16:55:10 16:55:10 ---> nproc: 16:55:10 8 16:55:10 16:55:10 16:55:10 ---> df -h: 16:55:10 Filesystem Size Used Avail Use% Mounted on 16:55:10 overlay 155G 11G 145G 7% / 16:55:10 tmpfs 64M 0 64M 0% /dev 16:55:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:55:10 shm 64M 0 64M 0% /dev/shm 16:55:10 /dev/vda1 155G 11G 145G 7% /facter-os 16:55:10 16:55:10 16:55:10 ---> sar -b -r -n DEV: 16:55:10 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22521) 08/11/22 _x86_64_ (8 CPU) 16:55:10 16:55:10 16:43:58 LINUX RESTART (8 CPU) 16:55:10 16:55:10 16:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:55:10 16:45:01 407.05 65.54 341.51 0.00 10390.93 202706.35 0.00 16:55:10 16:46:01 164.87 1.37 163.51 0.00 20.53 61253.92 0.00 16:55:10 16:47:01 176.25 0.05 176.20 0.00 1.47 39730.98 0.00 16:55:10 16:48:01 1.57 0.00 1.57 0.00 0.00 19.21 0.00 16:55:10 16:49:01 1.25 0.02 1.23 0.00 0.13 15.86 0.00 16:55:10 16:50:01 0.95 0.00 0.95 0.00 0.00 10.66 0.00 16:55:10 16:51:01 1.08 0.00 1.08 0.00 0.00 13.46 0.00 16:55:10 16:52:01 0.95 0.00 0.95 0.00 0.00 10.53 0.00 16:55:10 16:53:01 1.18 0.00 1.18 0.00 0.00 14.00 0.00 16:55:10 16:54:01 0.90 0.00 0.90 0.00 0.00 11.60 0.00 16:55:10 16:55:02 1.42 0.10 1.32 0.00 7.20 20.00 0.00 16:55:10 Average: 68.86 6.10 62.76 0.00 947.30 27618.78 0.00 16:55:10 16:55:10 16:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:55:10 16:45:01 29656508 31825456 506628 1.54 105036 2356756 1905428 5.62 1070868 1832484 284 16:55:10 16:46:01 28177472 31731980 558296 1.70 161468 3578184 2244212 6.61 1268984 2960120 131844 16:55:10 16:47:01 27611004 31774464 518360 1.58 173420 4139568 1934956 5.70 1285840 3474496 368 16:55:10 16:48:01 27609360 31772868 519712 1.58 173444 4139568 1934956 5.70 1288080 3474496 12 16:55:10 16:49:01 27618372 31782148 510160 1.55 173476 4139572 1934956 5.70 1277924 3474628 32 16:55:10 16:50:01 27617836 31781640 510612 1.55 173500 4139576 1934956 5.70 1278332 3474632 12 16:55:10 16:51:01 27626900 31790860 501400 1.52 173520 4139704 1934956 5.70 1269344 3474764 36 16:55:10 16:52:01 27627152 31791136 501112 1.52 173548 4139712 1934956 5.70 1269128 3474768 24 16:55:10 16:53:01 27627868 31791904 500300 1.52 173580 4139712 1934956 5.70 1269192 3474772 8 16:55:10 16:54:01 27627560 31791600 500508 1.52 173620 4139704 1934956 5.70 1269176 3474776 40 16:55:10 16:55:02 27627052 31791372 500512 1.52 173668 4139916 1951072 5.75 1270672 3474760 28 16:55:10 Average: 27857008 31784130 511600 1.56 166207 3926543 1961851 5.78 1256140 3278609 12063 16:55:10 16:55:10 16:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:55:10 16:45:01 ens3 669.26 403.45 5103.31 98.89 0.00 0.00 0.00 0.00 16:55:10 16:45:01 docker0 15.30 17.60 1.43 171.66 0.00 0.00 0.00 0.00 16:55:10 16:45:01 lo 5.00 5.00 0.48 0.48 0.00 0.00 0.00 0.00 16:55:10 16:46:01 ens3 340.99 254.27 5440.25 86.67 0.00 0.00 0.00 0.00 16:55:10 16:46:01 docker0 130.68 156.12 10.55 1482.00 0.00 0.00 0.00 0.00 16:55:10 16:46:01 lo 2.60 2.60 0.25 0.25 0.00 0.00 0.00 0.00 16:55:10 16:46:01 veth92bdd9c 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 16:55:10 16:47:01 ens3 133.46 85.64 2682.99 19.07 0.00 0.00 0.00 0.00 16:55:10 16:47:01 docker0 13.31 18.63 0.79 98.91 0.00 0.00 0.00 0.00 16:55:10 16:47:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 16:55:10 16:48:01 ens3 13.00 9.48 13.63 11.83 0.00 0.00 0.00 0.00 16:55:10 16:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:49:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:55:10 16:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:10 16:50:01 ens3 3.23 3.28 0.27 6.87 0.00 0.00 0.00 0.00 16:55:10 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:51:01 ens3 0.13 0.07 0.01 0.01 0.00 0.00 0.00 0.00 16:55:10 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:51:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:10 16:52:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:53:01 ens3 0.22 0.13 0.02 0.01 0.00 0.00 0.00 0.00 16:55:10 16:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:55:10 16:54:01 ens3 0.12 0.00 0.01 0.00 0.00 0.00 0.00 0.00 16:55:10 16:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:55:02 ens3 19.70 26.25 5.73 28.41 0.00 0.00 0.00 0.00 16:55:10 16:55:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:10 16:55:02 lo 0.53 0.53 0.04 0.04 0.00 0.00 0.00 0.00 16:55:10 Average: ens3 107.30 71.15 1204.20 22.89 0.00 0.00 0.00 0.00 16:55:10 Average: docker0 14.48 17.49 1.16 159.32 0.00 0.00 0.00 0.00 16:55:10 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 16:55:10 16:55:10 16:55:10 ---> sar -P ALL: 16:55:10 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22521) 08/11/22 _x86_64_ (8 CPU) 16:55:10 16:55:10 16:43:58 LINUX RESTART (8 CPU) 16:55:10 16:55:10 16:44:01 CPU %user %nice %system %iowait %steal %idle 16:55:10 16:45:01 all 8.64 0.00 3.64 2.85 0.06 84.80 16:55:10 16:45:01 0 9.52 0.00 5.56 5.44 0.03 79.45 16:55:10 16:45:01 1 9.01 0.00 3.39 0.47 0.05 87.08 16:55:10 16:45:01 2 8.65 0.00 2.71 1.99 0.05 86.59 16:55:10 16:45:01 3 8.46 0.00 3.34 1.55 0.05 86.60 16:55:10 16:45:01 4 7.38 0.00 3.57 2.67 0.10 86.27 16:55:10 16:45:01 5 9.59 0.00 4.99 4.54 0.08 80.79 16:55:10 16:45:01 6 7.54 0.00 2.40 0.27 0.05 89.74 16:55:10 16:45:01 7 8.93 0.00 3.17 5.91 0.07 81.92 16:55:10 16:46:01 all 24.44 0.00 5.76 2.98 0.08 66.74 16:55:10 16:46:01 0 25.09 0.00 5.93 7.78 0.08 61.12 16:55:10 16:46:01 1 23.79 0.00 5.89 0.08 0.10 70.13 16:55:10 16:46:01 2 24.06 0.00 5.36 5.28 0.07 65.23 16:55:10 16:46:01 3 25.06 0.00 5.84 0.59 0.10 68.41 16:55:10 16:46:01 4 24.57 0.00 5.74 1.00 0.07 68.63 16:55:10 16:46:01 5 24.40 0.00 5.49 2.13 0.07 67.92 16:55:10 16:46:01 6 23.84 0.00 5.86 0.57 0.07 69.66 16:55:10 16:46:01 7 24.69 0.00 5.98 6.45 0.07 62.81 16:55:10 16:47:01 all 19.10 0.00 4.02 2.12 0.06 74.71 16:55:10 16:47:01 0 18.92 0.00 4.52 0.42 0.05 76.08 16:55:10 16:47:01 1 19.79 0.00 3.85 0.67 0.07 75.62 16:55:10 16:47:01 2 18.40 0.00 3.52 3.00 0.05 75.03 16:55:10 16:47:01 3 19.10 0.00 4.23 1.81 0.05 74.80 16:55:10 16:47:01 4 21.14 0.00 4.53 5.12 0.07 69.15 16:55:10 16:47:01 5 19.45 0.00 3.93 2.68 0.05 73.89 16:55:10 16:47:01 6 17.65 0.00 3.51 3.17 0.05 75.62 16:55:10 16:47:01 7 18.33 0.00 4.08 0.05 0.07 77.47 16:55:10 16:48:01 all 0.09 0.00 0.03 0.00 0.00 99.87 16:55:10 16:48:01 0 0.02 0.00 0.03 0.00 0.00 99.95 16:55:10 16:48:01 1 0.03 0.00 0.03 0.02 0.00 99.92 16:55:10 16:48:01 2 0.05 0.00 0.00 0.00 0.02 99.93 16:55:10 16:48:01 3 0.07 0.00 0.00 0.00 0.00 99.93 16:55:10 16:48:01 4 0.03 0.00 0.03 0.02 0.00 99.92 16:55:10 16:48:01 5 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:48:01 6 0.38 0.00 0.10 0.00 0.00 99.52 16:55:10 16:48:01 7 0.12 0.00 0.05 0.00 0.02 99.82 16:55:10 16:49:01 all 0.03 0.00 0.01 0.00 0.00 99.95 16:55:10 16:49:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:49:01 1 0.05 0.00 0.00 0.02 0.02 99.92 16:55:10 16:49:01 2 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:49:01 3 0.03 0.00 0.00 0.00 0.00 99.97 16:55:10 16:49:01 4 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:49:01 5 0.02 0.00 0.03 0.00 0.00 99.95 16:55:10 16:49:01 6 0.05 0.00 0.02 0.00 0.02 99.92 16:55:10 16:49:01 7 0.05 0.00 0.02 0.00 0.00 99.93 16:55:10 16:50:01 all 0.01 0.00 0.01 0.00 0.01 99.96 16:55:10 16:50:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:55:10 16:50:01 1 0.00 0.00 0.00 0.02 0.00 99.98 16:55:10 16:50:01 2 0.03 0.00 0.00 0.00 0.00 99.97 16:55:10 16:50:01 3 0.02 0.00 0.02 0.00 0.00 99.97 16:55:10 16:50:01 4 0.00 0.00 0.00 0.02 0.02 99.97 16:55:10 16:50:01 5 0.02 0.00 0.00 0.00 0.02 99.97 16:55:10 16:50:01 6 0.00 0.00 0.02 0.00 0.00 99.98 16:55:10 16:50:01 7 0.03 0.00 0.03 0.00 0.02 99.92 16:55:10 16:51:01 all 0.02 0.00 0.01 0.00 0.00 99.96 16:55:10 16:51:01 0 0.05 0.00 0.02 0.00 0.00 99.93 16:55:10 16:51:01 1 0.03 0.00 0.03 0.02 0.00 99.92 16:55:10 16:51:01 2 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:51:01 3 0.02 0.00 0.00 0.00 0.02 99.97 16:55:10 16:51:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:55:10 16:51:01 5 0.02 0.00 0.02 0.00 0.00 99.97 16:55:10 16:51:01 6 0.00 0.00 0.02 0.00 0.00 99.98 16:55:10 16:51:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:52:01 all 0.00 0.00 0.01 0.01 0.00 99.98 16:55:10 16:52:01 0 0.00 0.00 0.02 0.00 0.00 99.98 16:55:10 16:52:01 1 0.02 0.00 0.00 0.03 0.00 99.95 16:55:10 16:52:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:52:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:52:01 4 0.00 0.00 0.00 0.02 0.00 99.98 16:55:10 16:52:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:52:01 6 0.02 0.00 0.02 0.00 0.00 99.97 16:55:10 16:52:01 7 0.00 0.00 0.02 0.00 0.00 99.98 16:55:10 16:53:01 all 0.01 0.00 0.01 0.01 0.00 99.96 16:55:10 16:53:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:55:10 16:53:01 1 0.02 0.00 0.00 0.03 0.02 99.93 16:55:10 16:53:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:53:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:53:01 4 0.02 0.00 0.02 0.07 0.00 99.90 16:55:10 16:53:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:53:01 6 0.03 0.00 0.03 0.00 0.02 99.92 16:55:10 16:53:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:54:01 all 0.01 0.00 0.01 0.00 0.00 99.97 16:55:10 16:54:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:54:01 1 0.00 0.00 0.02 0.02 0.00 99.97 16:55:10 16:54:01 2 0.02 0.00 0.02 0.02 0.00 99.95 16:55:10 16:54:01 3 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:54:01 4 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:54:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:55:10 16:54:01 6 0.05 0.00 0.02 0.00 0.02 99.92 16:55:10 16:54:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:55:10 16:55:02 all 0.09 0.00 0.07 0.00 0.00 99.83 16:55:10 16:55:02 0 0.13 0.00 0.12 0.00 0.00 99.75 16:55:10 16:55:02 1 0.13 0.00 0.03 0.02 0.00 99.82 16:55:10 16:55:02 2 0.10 0.00 0.12 0.00 0.00 99.78 16:55:10 16:55:02 3 0.08 0.00 0.15 0.00 0.00 99.77 16:55:10 16:55:02 4 0.02 0.00 0.02 0.02 0.02 99.93 16:55:10 16:55:02 5 0.05 0.00 0.03 0.00 0.00 99.92 16:55:10 16:55:02 6 0.13 0.00 0.07 0.00 0.00 99.80 16:55:10 16:55:02 7 0.07 0.00 0.05 0.00 0.02 99.87 16:55:10 16:55:10 Average: CPU %user %nice %system %iowait %steal %idle 16:55:10 Average: all 4.73 0.00 1.23 0.72 0.02 93.30 16:55:10 Average: 0 4.85 0.00 1.46 1.23 0.02 92.44 16:55:10 Average: 1 4.77 0.00 1.20 0.13 0.02 93.88 16:55:10 Average: 2 4.63 0.00 1.06 0.93 0.02 93.37 16:55:10 Average: 3 4.77 0.00 1.23 0.36 0.02 93.62 16:55:10 Average: 4 4.79 0.00 1.26 0.81 0.02 93.12 16:55:10 Average: 5 4.83 0.00 1.31 0.84 0.02 93.00 16:55:10 Average: 6 4.49 0.00 1.09 0.36 0.02 94.04 16:55:10 Average: 7 4.71 0.00 1.21 1.12 0.02 92.94 16:55:10 16:55:10 16:55:10