Pull request #214 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 908040814ca9e0b89f3f9982df1e4117297be6b3+dba35d3ba46b7861587cc7246b39f98fa3ba425a (82e8d07a6ff62ffda0adf20ef98fb5c161085f74) 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-ssh17888945331964169502.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14032506074574984221.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-214/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-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3765797894198185260.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3464194889162974096.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14950971186407336514.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-214/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-214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9668467492454618744.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1346 in /w/workspace/gexfoundry_device-rest-go_PR-214 [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-214 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/214/head:refs/remotes/origin/PR-214 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit 908040814ca9e0b89f3f9982df1e4117297be6b3 Merge succeeded, producing 908040814ca9e0b89f3f9982df1e4117297be6b3 Checking out Revision 908040814ca9e0b89f3f9982df1e4117297be6b3 (PR-214) > git config core.sparsecheckout # timeout=10 > git checkout -f 908040814ca9e0b89f3f9982df1e4117297be6b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 908040814ca9e0b89f3f9982df1e4117297be6b3 # timeout=10 Commit message: "feat: add internal command request/response topics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:37:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:37:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:37:58 ========================================================= 11:37:58 EdgeX Global Pipelines Version Info 11:37:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:37:59 ------------------- 11:37:59 stable info: 11:37:59 ------------------- 11:37:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:37:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:37:59 Message: update stable to v1.0.239 11:38:00 ------------------- 11:38:00 experimental info: 11:38:00 ------------------- 11:38:00 Commited By: **** collab-it+edgex@linuxfoundation.org 11:38:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:38:00 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 11:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-214 [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-214 [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-214 [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 908040814ca9e0b89f3f9982df1e4117297be6b3 [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9080408 [Pipeline] echo 11:38:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:38:01 provisioning config files... 11:38:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-214@tmp/config6075390726967882014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:02 ---> docker-login.sh 11:38:02 nexus3.edgexfoundry.org:10001 11:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:02 Configure a credential helper to remove this warning. See 11:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:02 11:38:02 Login Succeeded 11:38:02 nexus3.edgexfoundry.org:10002 11:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:02 Configure a credential helper to remove this warning. See 11:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:02 11:38:02 Login Succeeded 11:38:02 nexus3.edgexfoundry.org:10003 11:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:02 Configure a credential helper to remove this warning. See 11:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:02 11:38:02 Login Succeeded 11:38:02 nexus3.edgexfoundry.org:10004 11:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:02 Configure a credential helper to remove this warning. See 11:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:02 11:38:02 Login Succeeded 11:38:02 docker.io 11:38:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:03 Configure a credential helper to remove this warning. See 11:38:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:03 11:38:03 Login Succeeded 11:38:03 ---> docker-login.sh ends [Pipeline] } 11:38:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:38:04 + git rev-list -1 --merges 908040814ca9e0b89f3f9982df1e4117297be6b3~1..908040814ca9e0b89f3f9982df1e4117297be6b3 [Pipeline] echo 11:38:04 -----------> git rev-list -1 --merges 908040814ca9e0b89f3f9982df1e4117297be6b3~1..908040814ca9e0b89f3f9982df1e4117297be6b3 908040814ca9e0b89f3f9982df1e4117297be6b3 [false] [Pipeline] sh 11:38:04 + git log --format=format:%s -1 908040814ca9e0b89f3f9982df1e4117297be6b3 [Pipeline] echo 11:38:04 ========================================================= 11:38:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:38:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:38:04 + git log --format=format:%s -1 908040814ca9e0b89f3f9982df1e4117297be6b3 [Pipeline] echo 11:38:04 [semverPrep] GIT_COMMIT: 908040814ca9e0b89f3f9982df1e4117297be6b3, Commit Message: feat: add internal command request/response topics [Pipeline] echo 11:38:04 [semverPrep] This is not a build commit. [Pipeline] sh 11:38:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:38:05 + grep -v github /etc/ssh/ssh_known_hosts 11:38:05 + [ -e /tmp/ssh_known_hosts ] 11:38:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:38:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:38:05 + sudo tee -a /etc/ssh/ssh_known_hosts 11:38:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:38:05 11:38:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:38:06 0.1.4: Pulling from edgex-devops/py-git-semver 11:38:06 b85a868b505f: Pulling fs layer 11:38:06 e2be974225ed: Pulling fs layer 11:38:06 339a4e72a1f5: Pulling fs layer 11:38:06 988bab9f4d93: Pulling fs layer 11:38:06 988bab9f4d93: Waiting 11:38:06 1469e6f7b9e6: Pulling fs layer 11:38:06 eaf3925da568: Pulling fs layer 11:38:06 bab4dde63d76: Pulling fs layer 11:38:06 bde34c3a00c8: Pulling fs layer 11:38:06 b352a97aabf1: Pulling fs layer 11:38:06 4872d77fe225: Pulling fs layer 11:38:06 5851b861e8e6: Pulling fs layer 11:38:06 1469e6f7b9e6: Waiting 11:38:06 bab4dde63d76: Waiting 11:38:06 bde34c3a00c8: Waiting 11:38:06 eaf3925da568: Waiting 11:38:06 b352a97aabf1: Waiting 11:38:06 4872d77fe225: Waiting 11:38:06 5851b861e8e6: Waiting 11:38:06 e2be974225ed: Download complete 11:38:06 988bab9f4d93: Verifying Checksum 11:38:06 988bab9f4d93: Download complete 11:38:06 1469e6f7b9e6: Verifying Checksum 11:38:06 1469e6f7b9e6: Download complete 11:38:06 eaf3925da568: Verifying Checksum 11:38:06 eaf3925da568: Download complete 11:38:06 339a4e72a1f5: Verifying Checksum 11:38:06 339a4e72a1f5: Download complete 11:38:06 bde34c3a00c8: Download complete 11:38:06 b352a97aabf1: Verifying Checksum 11:38:06 b352a97aabf1: Download complete 11:38:06 4872d77fe225: Verifying Checksum 11:38:06 4872d77fe225: Download complete 11:38:06 5851b861e8e6: Verifying Checksum 11:38:06 5851b861e8e6: Download complete 11:38:06 b85a868b505f: Verifying Checksum 11:38:06 b85a868b505f: Download complete 11:38:06 bab4dde63d76: Verifying Checksum 11:38:06 bab4dde63d76: Download complete 11:38:07 b85a868b505f: Pull complete 11:38:07 e2be974225ed: Pull complete 11:38:08 339a4e72a1f5: Pull complete 11:38:08 988bab9f4d93: Pull complete 11:38:08 1469e6f7b9e6: Pull complete 11:38:08 eaf3925da568: Pull complete 11:38:10 bab4dde63d76: Pull complete 11:38:10 bde34c3a00c8: Pull complete 11:38:10 b352a97aabf1: Pull complete 11:38:10 4872d77fe225: Pull complete 11:38:10 5851b861e8e6: Pull complete 11:38:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:38:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:38:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:11 prd-ubuntu20.04-docker-8c-8g-1346 does not seem to be running inside a container 11:38:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-214 -v /w/workspace/gexfoundry_device-rest-go_PR-214:/w/workspace/gexfoundry_device-rest-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-214@tmp:/w/workspace/gexfoundry_device-rest-go_PR-214@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 11:38:13 $ docker top 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 -eo pid,comm 11:38:14 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). 11:38:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:38:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:38:14 [ssh-agent] Looking for ssh-agent implementation... 11:38:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:38:14 $ docker exec 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 ssh-agent 11:38:14 SSH_AUTH_SOCK=/tmp/ssh-sh7KX0VXmUoG/agent.32 11:38:14 SSH_AGENT_PID=38 11:38:14 Running ssh-add (command line suppressed) 11:38:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-214@tmp/private_key_3276833518554418658.key (/w/workspace/gexfoundry_device-rest-go_PR-214@tmp/private_key_3276833518554418658.key) 11:38:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:38:14 + git tag --points-at HEAD [Pipeline] } 11:38:14 $ docker exec --env ******** --env ******** 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 ssh-agent -k 11:38:14 unset SSH_AUTH_SOCK; 11:38:14 unset SSH_AGENT_PID; 11:38:14 echo Agent pid 38 killed; 11:38:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:38:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:38:14 [ssh-agent] Looking for ssh-agent implementation... 11:38:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:38:15 $ docker exec 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 ssh-agent 11:38:15 SSH_AUTH_SOCK=/tmp/ssh-1ILMmxc9i9C1/agent.70 11:38:15 SSH_AGENT_PID=76 11:38:15 Running ssh-add (command line suppressed) 11:38:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-214@tmp/private_key_5856654867745115700.key (/w/workspace/gexfoundry_device-rest-go_PR-214@tmp/private_key_5856654867745115700.key) 11:38:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:38:15 + git semver init 11:38:15 2022-09-27 11:38:15,853 [run_init] DEBUG init version:0.0.0 force:False 11:38:15 2022-09-27 11:38:15,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-214/.semver 11:38:15 2022-09-27 11:38:15,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-214/.semver 11:38:15 2022-09-27 11:38:15,855 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-214/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-214, universal_newlines=False, shell=None, istream=None) 11:38:17 2022-09-27 11:38:16,942 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-214/.git/info/exclude 11:38:17 2022-09-27 11:38:16,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-214/.semver/PR-214 with force:False 11:38:17 2022-09-27 11:38:16,943 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-214/.semver/PR-214 11:38:17 2022-09-27 11:38:16,947 [execute] INFO git cat-file --batch-check 11:38:17 2022-09-27 11:38:16,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-214/.semver, universal_newlines=False, shell=None, istream=) 11:38:17 2022-09-27 11:38:16,954 [execute] INFO git cat-file --batch 11:38:17 2022-09-27 11:38:16,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-214/.semver, universal_newlines=False, shell=None, istream=) 11:38:17 2022-09-27 11:38:16,960 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-214/.semver/PR-214 11:38:17 0.0.0 [Pipeline] } 11:38:17 $ docker exec --env ******** --env ******** 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 ssh-agent -k 11:38:17 unset SSH_AUTH_SOCK; 11:38:17 unset SSH_AGENT_PID; 11:38:17 echo Agent pid 76 killed; 11:38:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:38:17 + git semver [Pipeline] } 11:38:18 $ docker stop --time=1 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 11:38:19 $ docker rm -f 26d332503db1478b988e515000bd06fc7157264e2ed9ec62323c79c51f844873 [Pipeline] // withDockerContainer [Pipeline] sh 11:38:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:38:20 Stashed 1 file(s) [Pipeline] echo 11:38:20 [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 11:38:20 provisioning config files... 11:38:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-214@tmp/config14001054578132333365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:21 ---> docker-login.sh 11:38:21 nexus3.edgexfoundry.org:10001 11:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:21 Configure a credential helper to remove this warning. See 11:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:21 11:38:21 Login Succeeded 11:38:21 nexus3.edgexfoundry.org:10002 11:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:21 Configure a credential helper to remove this warning. See 11:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:21 11:38:21 Login Succeeded 11:38:21 nexus3.edgexfoundry.org:10003 11:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:21 Configure a credential helper to remove this warning. See 11:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:21 11:38:21 Login Succeeded 11:38:21 nexus3.edgexfoundry.org:10004 11:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:21 Configure a credential helper to remove this warning. See 11:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:21 11:38:21 Login Succeeded 11:38:21 docker.io 11:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:21 Configure a credential helper to remove this warning. See 11:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:21 11:38:21 Login Succeeded 11:38:21 ---> docker-login.sh ends [Pipeline] } 11:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:38:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:38:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:38:22 ========================================================= 11:38:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:38:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:22 + 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 . 11:38:22 Sending build context to Docker daemon 10.71MB 11:38:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:38:22 Step 2/12 : FROM ${BASE} AS builder 11:38:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:38:22 2408cc74d12b: Pulling fs layer 11:38:22 ea60b727a1ce: Pulling fs layer 11:38:22 30c4a7721957: Pulling fs layer 11:38:22 370296b7ddb6: Pulling fs layer 11:38:22 7c6cee850709: Pulling fs layer 11:38:22 39a5fcdaea64: Pulling fs layer 11:38:22 d94ebbe4e438: Pulling fs layer 11:38:22 bcfd1f05c69d: Pulling fs layer 11:38:22 59ccb84bbe0f: Pulling fs layer 11:38:22 370296b7ddb6: Waiting 11:38:22 7c6cee850709: Waiting 11:38:22 39a5fcdaea64: Waiting 11:38:22 d94ebbe4e438: Waiting 11:38:22 bcfd1f05c69d: Waiting 11:38:22 59ccb84bbe0f: Waiting 11:38:22 30c4a7721957: Download complete 11:38:22 ea60b727a1ce: Download complete 11:38:22 7c6cee850709: Verifying Checksum 11:38:22 7c6cee850709: Download complete 11:38:22 39a5fcdaea64: Verifying Checksum 11:38:22 39a5fcdaea64: Download complete 11:38:22 2408cc74d12b: Verifying Checksum 11:38:22 2408cc74d12b: Download complete 11:38:22 d94ebbe4e438: Verifying Checksum 11:38:22 d94ebbe4e438: Download complete 11:38:22 2408cc74d12b: Pull complete 11:38:23 ea60b727a1ce: Pull complete 11:38:23 30c4a7721957: Pull complete 11:38:23 59ccb84bbe0f: Verifying Checksum 11:38:23 59ccb84bbe0f: Download complete 11:38:23 370296b7ddb6: Download complete 11:38:24 bcfd1f05c69d: Verifying Checksum 11:38:24 bcfd1f05c69d: Download complete 11:38:28 370296b7ddb6: Pull complete 11:38:28 7c6cee850709: Pull complete 11:38:28 39a5fcdaea64: Pull complete 11:38:28 d94ebbe4e438: Pull complete 11:38:30 bcfd1f05c69d: Pull complete 11:38:31 59ccb84bbe0f: Pull complete 11:38:31 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 11:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:38:31 ---> a4fb48ad2a94 11:38:31 Step 3/12 : ARG MAKE='make build' 11:38:35 ---> Running in 8c393b0aef27 11:38:35 Removing intermediate container 8c393b0aef27 11:38:35 ---> eeabc2cfddc0 11:38:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:38:35 ---> Running in febc697aa6c8 11:38:35 Removing intermediate container febc697aa6c8 11:38:35 ---> ce1f9d4f1b19 11:38:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:38:35 ---> Running in b151fa827273 11:38:35 Removing intermediate container b151fa827273 11:38:35 ---> 17d5dd6ed483 11:38:35 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:38:35 ---> Running in bc47206d5685 11:38:35 Still waiting to schedule task 11:38:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:38:36 Removing intermediate container bc47206d5685 11:38:36 ---> ac0ebce76c46 11:38:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:38:36 ---> Running in 888e0fc23e4c 11:38:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:38:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:38:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:38:37 (2/4) Installing libedit (20210910.3.1-r0) 11:38:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:38:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:38:37 Executing busybox-1.35.0-r13.trigger 11:38:37 OK: 216 MiB in 55 packages 11:38:38 Removing intermediate container 888e0fc23e4c 11:38:38 ---> 693ce805c62e 11:38:38 Step 8/12 : WORKDIR /device-rest-go 11:38:38 ---> Running in c909a317cc33 11:38:38 Removing intermediate container c909a317cc33 11:38:38 ---> 209c82c21719 11:38:38 Step 9/12 : COPY go.mod vendor* ./ 11:38:38 ---> aecceb85f3b8 11:38:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:38:38 ---> Running in 874e71abaff9 11:39:05 Removing intermediate container 874e71abaff9 11:39:05 ---> e674f2998370 11:39:05 Step 11/12 : COPY . . 11:39:05 ---> de88d6313d9b 11:39:05 Step 12/12 : RUN $MAKE 11:39:05 ---> Running in 44ec707d19b1 11:39:05 noop 11:39:05 Removing intermediate container 44ec707d19b1 11:39:05 ---> 66f656c859b9 11:39:05 Successfully built 66f656c859b9 11:39:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:05 + docker inspect -f . ci-base-image-x86_64 11:39:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:05 prd-ubuntu20.04-docker-8c-8g-1346 does not seem to be running inside a container 11:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-214 -v /w/workspace/gexfoundry_device-rest-go_PR-214:/w/workspace/gexfoundry_device-rest-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-214@tmp:/w/workspace/gexfoundry_device-rest-go_PR-214@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 11:39:06 $ docker top aba58b8146de282681d96a424bfd5bd635e58d9d7e119a8f37382572a324e5a2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:06 + go version 11:39:06 go version go1.18.3 linux/amd64 [Pipeline] } 11:39:06 $ docker stop --time=1 aba58b8146de282681d96a424bfd5bd635e58d9d7e119a8f37382572a324e5a2 11:39:07 $ docker rm -f aba58b8146de282681d96a424bfd5bd635e58d9d7e119a8f37382572a324e5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:08 + docker inspect -f . ci-base-image-x86_64 11:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:08 prd-ubuntu20.04-docker-8c-8g-1346 does not seem to be running inside a container 11:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-214 -v /w/workspace/gexfoundry_device-rest-go_PR-214:/w/workspace/gexfoundry_device-rest-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-214@tmp:/w/workspace/gexfoundry_device-rest-go_PR-214@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 11:39:09 $ docker top c0aa665c5cddcb59c60c7d91fd3ecaf81ef45635ce5f29a82b4200369c189231 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-214 [Pipeline] fileExists [Pipeline] sh 11:39:09 + make test 11:39:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:39:10 ? github.com/edgexfoundry/device-rest-go [no test files] 11:39:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:39:20 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 11:39:26 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." 11:39:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:39:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:39:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:39:29 ./bin/test-attribution-txt.sh 11:39:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:39:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:39:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:39:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:39:29 $ docker stop --time=1 c0aa665c5cddcb59c60c7d91fd3ecaf81ef45635ce5f29a82b4200369c189231 11:39:31 $ docker rm -f c0aa665c5cddcb59c60c7d91fd3ecaf81ef45635ce5f29a82b4200369c189231 [Pipeline] // withDockerContainer [Pipeline] sh 11:39:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:39:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:39:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:39:33 + ls -al . 11:39:33 total 176 11:39:33 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 11:39 . 11:39:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:37 .. 11:39:33 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 11:37 .dockerignore 11:39:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 11:39 .git 11:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:37 .github 11:39:33 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 11:37 .gitignore 11:39:33 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 11:37 .golangci.yml 11:39:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 11:38 .semver 11:39:33 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 27 11:37 Attribution.txt 11:39:33 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 11:37 CHANGELOG.md 11:39:33 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 27 11:37 Dockerfile 11:39:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 11:37 GOVERNANCE.md 11:39:33 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 11:37 Jenkinsfile 11:39:33 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 11:37 LICENSE 11:39:33 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 27 11:37 Makefile 11:39:33 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 11:37 OWNERS.md 11:39:33 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 27 11:37 README.md 11:39:33 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 11:38 VERSION 11:39:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 11:37 bin 11:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:37 cmd 11:39:33 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 11:39 coverage.out 11:39:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 11:37 driver 11:39:33 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 11:37 go.mod 11:39:33 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 11:37 go.sum 11:39:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:37 snap 11:39:33 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:33 + 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=908040814ca9e0b89f3f9982df1e4117297be6b3 --label arch=amd64 --label version=0.0.0 . 11:39:33 Sending build context to Docker daemon 10.72MB 11:39:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:39:33 Step 2/25 : FROM ${BASE} AS builder 11:39:33 ---> 66f656c859b9 11:39:33 Step 3/25 : ARG MAKE='make build' 11:39:34 ---> Running in 8b085aa3f5a2 11:39:34 Removing intermediate container 8b085aa3f5a2 11:39:34 ---> 7c511077a829 11:39:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:39:34 ---> Running in 912e6304f383 11:39:34 Removing intermediate container 912e6304f383 11:39:34 ---> 393d45330e8c 11:39:34 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:39:34 ---> Running in b35c63cc6e78 11:39:34 Removing intermediate container b35c63cc6e78 11:39:34 ---> 3c464e5db3a0 11:39:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:39:34 ---> Running in 4304ac01077b 11:39:35 Removing intermediate container 4304ac01077b 11:39:35 ---> 953ade26f733 11:39:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:39:35 ---> Running in ea4690b83196 11:39:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:39:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:39:36 OK: 216 MiB in 55 packages 11:39:36 Removing intermediate container ea4690b83196 11:39:36 ---> ac750fecbeed 11:39:36 Step 8/25 : WORKDIR /device-rest-go 11:39:36 ---> Running in ffb34750b4cb 11:39:37 Removing intermediate container ffb34750b4cb 11:39:37 ---> f1403469caa0 11:39:37 Step 9/25 : COPY go.mod vendor* ./ 11:39:37 ---> e057b432c713 11:39:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:39:37 ---> Running in 8e01feadbb71 11:39:38 Removing intermediate container 8e01feadbb71 11:39:38 ---> 24ef1d5b4f94 11:39:38 Step 11/25 : COPY . . 11:39:38 ---> c3cebbdd9ad1 11:39:38 Step 12/25 : RUN $MAKE 11:39:38 ---> Running in a5341bf854d8 11:39:38 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 11:40:00 Removing intermediate container a5341bf854d8 11:40:00 ---> 601b861a9bec 11:40:00 Step 13/25 : FROM alpine:3.16 11:40:01 3.16: Pulling from library/alpine 11:40:01 213ec9aee27d: Pulling fs layer 11:40:01 213ec9aee27d: Verifying Checksum 11:40:01 213ec9aee27d: Download complete 11:40:01 213ec9aee27d: Pull complete 11:40:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:40:01 Status: Downloaded newer image for alpine:3.16 11:40:01 ---> 9c6f07244728 11:40:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:40:01 ---> Running in a2f79631c089 11:40:01 Removing intermediate container a2f79631c089 11:40:01 ---> 78a40ef04d33 11:40:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 11:40:02 ---> Running in d2e9aa54e3be 11:40:02 Removing intermediate container d2e9aa54e3be 11:40:02 ---> 31df7a8c8e0e 11:40:02 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:40:02 ---> Running in 628a8f97dcf9 11:40:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:40:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:40:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1347 in /w/workspace/gexfoundry_device-rest-go_PR-214 [Pipeline] { [Pipeline] ws 11:40:02 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 11:40:02 The recommended git tool is: git 11:40:02 (1/6) Installing dumb-init (1.2.5-r1) 11:40:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:40:02 (3/6) Installing libsodium (1.0.18-r0) 11:40:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:40:02 (5/6) Installing libzmq (4.3.4-r0) 11:40:02 (6/6) Installing zeromq (4.3.4-r0) 11:40:02 Executing busybox-1.35.0-r17.trigger 11:40:02 OK: 8 MiB in 20 packages 11:40:03 Removing intermediate container 628a8f97dcf9 11:40:03 ---> 612b2090c2e4 11:40:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 11:40:04 ---> 7a77ec7f703c 11:40:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 11:40:04 ---> 8e0b678d1a2c 11:40:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 11:40:04 ---> 9244de73a95b 11:40:04 Step 20/25 : EXPOSE 59986 11:40:04 ---> Running in b9186839acbc 11:40:04 Removing intermediate container b9186839acbc 11:40:04 ---> 223cf072904c 11:40:04 Step 21/25 : ENTRYPOINT ["/device-rest"] 11:40:04 ---> Running in ed043ebe3f25 11:40:04 Removing intermediate container ed043ebe3f25 11:40:04 ---> a772a4b3c61e 11:40:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:40:04 ---> Running in d8c665c922ef 11:40:04 Removing intermediate container d8c665c922ef 11:40:04 ---> 7e69fba272df 11:40:04 Step 23/25 : LABEL arch=amd64 11:40:04 ---> Running in 1398f3a14237 11:40:04 Removing intermediate container 1398f3a14237 11:40:04 ---> d0f6b52a46d3 11:40:04 Step 24/25 : LABEL git_sha=908040814ca9e0b89f3f9982df1e4117297be6b3 11:40:04 ---> Running in 18b901bd03bc 11:40:04 Removing intermediate container 18b901bd03bc 11:40:04 ---> b478596bc625 11:40:04 Step 25/25 : LABEL version=0.0.0 11:40:04 ---> Running in d07072f828e2 11:40:04 Removing intermediate container d07072f828e2 11:40:04 ---> 1bafca86ed48 11:40:04 [Warning] One or more build-args [ARCH] were not consumed 11:40:04 Successfully built 1bafca86ed48 11:40:04 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 11:40:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:40:05 11:40:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:40:06 latest: Pulling from edgex-lftools-log-publisher 11:40:06 5eb5b503b376: Pulling fs layer 11:40:06 5c69ac0246d0: Pulling fs layer 11:40:06 ec43610c2a17: Pulling fs layer 11:40:06 3a2ae6a8a46f: Pulling fs layer 11:40:06 33b1e0a273af: Pulling fs layer 11:40:06 5d3b04190fa2: Pulling fs layer 11:40:06 2f39f015ded8: Pulling fs layer 11:40:06 3a2ae6a8a46f: Waiting 11:40:06 33b1e0a273af: Waiting 11:40:06 5d3b04190fa2: Waiting 11:40:06 2f39f015ded8: Waiting 11:40:06 5c69ac0246d0: Download complete 11:40:06 3a2ae6a8a46f: Download complete 11:40:06 33b1e0a273af: Verifying Checksum 11:40:06 33b1e0a273af: Download complete 11:40:06 ec43610c2a17: Verifying Checksum 11:40:06 ec43610c2a17: Download complete 11:40:06 5d3b04190fa2: Verifying Checksum 11:40:06 5d3b04190fa2: Download complete 11:40:06 5eb5b503b376: Verifying Checksum 11:40:06 5eb5b503b376: Download complete 11:40:07 2f39f015ded8: Verifying Checksum 11:40:07 2f39f015ded8: Download complete 11:40:07 using credential edgex-jenkins-ssh 11:40:07 Cloning the remote Git repository 11:40:08 5eb5b503b376: Pull complete 11:40:08 5c69ac0246d0: Pull complete 11:40:08 ec43610c2a17: Pull complete 11:40:08 3a2ae6a8a46f: Pull complete 11:40:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:40:07 > git init /w/workspace/device-rest-go/1 # timeout=10 11:40:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:40:07 > git --version # timeout=10 11:40:07 > git --version # 'git version 2.25.1' 11:40:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:40:07 Verifying host key using known hosts file 11:40:08 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:40:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:40:08 33b1e0a273af: Pull complete 11:40:08 5d3b04190fa2: Pull complete 11:40:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:40:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:40:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:40:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:40:10 using GIT_SSH to set credentials SSH Credentials for GitHub 11:40:10 Verifying host key using known hosts file 11:40:10 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:40:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/214/head:refs/remotes/origin/PR-214 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:40:11 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit 908040814ca9e0b89f3f9982df1e4117297be6b3 11:40:11 Merge succeeded, producing 908040814ca9e0b89f3f9982df1e4117297be6b3 11:40:11 Checking out Revision 908040814ca9e0b89f3f9982df1e4117297be6b3 (PR-214) 11:40:11 > git config core.sparsecheckout # timeout=10 11:40:11 > git checkout -f 908040814ca9e0b89f3f9982df1e4117297be6b3 # timeout=10 11:40:11 > git remote # timeout=10 11:40:11 > git config --get remote.origin.url # timeout=10 11:40:11 using GIT_SSH to set credentials SSH Credentials for GitHub 11:40:11 Verifying host key using known hosts file 11:40:11 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:40:11 > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 11:40:11 > git rev-parse HEAD^{commit} # timeout=10 11:40:11 > git config core.sparsecheckout # timeout=10 11:40:11 > git checkout -f 908040814ca9e0b89f3f9982df1e4117297be6b3 # timeout=10 11:40:14 2f39f015ded8: Pull complete 11:40:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:40:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:40:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:40:14 prd-ubuntu20.04-docker-8c-8g-1346 does not seem to be running inside a container 11:40:14 $ 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-214 -v /w/workspace/gexfoundry_device-rest-go_PR-214:/w/workspace/gexfoundry_device-rest-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-214@tmp:/w/workspace/gexfoundry_device-rest-go_PR-214@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 11:40:15 Commit message: "feat: add internal command request/response topics" 11:40:15 > git --version # timeout=10 11:40:15 > git --version # 'git version 2.25.1' 11:40:15 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 11:40:15 11:40:15 GitHub has been notified of this commit’s build result 11:40:15 11:40:17 $ docker top a14149f9ba790bc4e0aef1c32cede4f3ea4ed7480f728692539b64f093b64eee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:18 ---> job-cost.sh 11:40:18 lf-activate-venv: SKIPPING 11:40:18 INFO: No Stack... 11:40:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:40:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:40:18 % Total % Received % Xferd Average Speed Time Time Time Current 11:40:18 Dload Upload Total Spent Left Speed 11:40:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 11:40:18 INFO: Archiving Costs [Pipeline] sh 11:40:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:40:19 + cat /w/workspace/gexfoundry_device-rest-go_PR-214/archives/cost.csv 11:40:19 + cut -d, -f6 [Pipeline] lock 11:40:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] 11:40:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] did not exist. Created. 11:40:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:40:19 + sudo tee /etc/docker/daemon.new 11:40:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:40:19 { 11:40:19 "registry-mirrors": [ 11:40:19 "https://nexus3.edgexfoundry.org:10001" 11:40:19 ], 11:40:19 "bip": "10.250.0.254/24", 11:40:19 "hosts": [ 11:40:19 "tcp://0.0.0.0:5555", 11:40:19 "unix:///var/run/docker.sock" 11:40:19 ], 11:40:19 "mtu": 1458, 11:40:19 "selinux-enabled": true, 11:40:19 "seccomp-profile": "/etc/docker/seccomp.json" 11:40:19 } [Pipeline] sh 11:40:19 + echo total: 0.2199999988079071 [Pipeline] stash 11:40:19 Stashed 1 file(s) [Pipeline] } 11:40:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:40:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 11:40:19 $ docker stop --time=1 a14149f9ba790bc4e0aef1c32cede4f3ea4ed7480f728692539b64f093b64eee 11:40:21 $ docker rm -f a14149f9ba790bc4e0aef1c32cede4f3ea4ed7480f728692539b64f093b64eee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:40:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:39 provisioning config files... 11:40:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16984615711523349756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:40 ---> docker-login.sh 11:40:40 nexus3.edgexfoundry.org:10001 11:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:40 Configure a credential helper to remove this warning. See 11:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:40 11:40:40 Login Succeeded 11:40:40 nexus3.edgexfoundry.org:10002 11:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:41 Configure a credential helper to remove this warning. See 11:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:41 11:40:41 Login Succeeded 11:40:41 nexus3.edgexfoundry.org:10003 11:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:41 Configure a credential helper to remove this warning. See 11:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:41 11:40:41 Login Succeeded 11:40:41 nexus3.edgexfoundry.org:10004 11:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:41 Configure a credential helper to remove this warning. See 11:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:41 11:40:41 Login Succeeded 11:40:41 docker.io 11:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:42 Configure a credential helper to remove this warning. See 11:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:42 11:40:42 Login Succeeded 11:40:42 ---> docker-login.sh ends [Pipeline] } 11:40:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:40:42 ========================================================= 11:40:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:40:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:43 + 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 . 11:40:43 Sending build context to Docker daemon 126kB 11:40:43 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:40:43 Step 2/12 : FROM ${BASE} AS builder 11:40:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:40:43 b3c136eddcbf: Pulling fs layer 11:40:43 c0a3192eca97: Pulling fs layer 11:40:43 a050256f5b6f: Pulling fs layer 11:40:43 656be50a0ddc: Pulling fs layer 11:40:43 2bbca73fdf42: Pulling fs layer 11:40:43 46d945488cbd: Pulling fs layer 11:40:43 8a5474983e97: Pulling fs layer 11:40:43 329c88fbcd65: Pulling fs layer 11:40:43 656be50a0ddc: Waiting 11:40:43 2bbca73fdf42: Waiting 11:40:43 46d945488cbd: Waiting 11:40:43 8a5474983e97: Waiting 11:40:43 329c88fbcd65: Waiting 11:40:43 a050256f5b6f: Verifying Checksum 11:40:43 a050256f5b6f: Download complete 11:40:43 c0a3192eca97: Download complete 11:40:43 2bbca73fdf42: Download complete 11:40:43 46d945488cbd: Verifying Checksum 11:40:43 46d945488cbd: Download complete 11:40:43 b3c136eddcbf: Download complete 11:40:45 b3c136eddcbf: Pull complete 11:40:45 329c88fbcd65: Verifying Checksum 11:40:45 329c88fbcd65: Download complete 11:40:45 c0a3192eca97: Pull complete 11:40:46 8a5474983e97: Verifying Checksum 11:40:46 8a5474983e97: Download complete 11:40:46 a050256f5b6f: Pull complete 11:40:46 656be50a0ddc: Verifying Checksum 11:40:46 656be50a0ddc: Download complete 11:40:59 656be50a0ddc: Pull complete 11:40:59 2bbca73fdf42: Pull complete 11:40:59 46d945488cbd: Pull complete 11:41:05 8a5474983e97: Pull complete 11:41:06 329c88fbcd65: Pull complete 11:41:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 11:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:41:06 ---> ff4287adb874 11:41:06 Step 3/12 : ARG MAKE='make build' 11:41:08 ---> Running in 076ae775c5dd 11:41:08 Removing intermediate container 076ae775c5dd 11:41:08 ---> 107f22341d31 11:41:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:41:08 ---> Running in be97e6b62b91 11:41:09 Removing intermediate container be97e6b62b91 11:41:09 ---> d4fc7f9d5b10 11:41:09 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:41:09 ---> Running in b2db451a01f8 11:41:09 Removing intermediate container b2db451a01f8 11:41:09 ---> 3e603f034427 11:41:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:41:09 ---> Running in faeef1626671 11:41:11 Removing intermediate container faeef1626671 11:41:11 ---> 18df6a71a163 11:41:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:41:11 ---> Running in 97d2581d39d3 11:41:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:41:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:41:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:41:14 (2/4) Installing libedit (20210910.3.1-r0) 11:41:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:41:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:41:14 Executing busybox-1.35.0-r13.trigger 11:41:14 OK: 226 MiB in 55 packages 11:41:15 Removing intermediate container 97d2581d39d3 11:41:15 ---> 55557698058f 11:41:15 Step 8/12 : WORKDIR /device-rest-go 11:41:15 ---> Running in 1f373ae55e54 11:41:15 Removing intermediate container 1f373ae55e54 11:41:15 ---> ff8e6c3f4509 11:41:15 Step 9/12 : COPY go.mod vendor* ./ 11:41:16 ---> aed88e754e91 11:41:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:16 ---> Running in 9035e4615551 11:42:04 Removing intermediate container 9035e4615551 11:42:04 ---> 5603abc8059a 11:42:04 Step 11/12 : COPY . . 11:42:04 ---> 5834b64eafb7 11:42:04 Step 12/12 : RUN $MAKE 11:42:04 ---> Running in 39c0cf86da4b 11:42:04 noop 11:42:04 Removing intermediate container 39c0cf86da4b 11:42:04 ---> 67013d125bbc 11:42:04 Successfully built 67013d125bbc 11:42:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:04 + docker inspect -f . ci-base-image-arm64 11:42:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:05 prd-ubuntu20.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container 11:42:05 $ 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 11:42:06 $ docker top 21f980b2ab47c4ac74bdfee556d2d3b7348f3feaf92eb7218f6c26896262b950 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:07 + go version 11:42:07 go version go1.18.3 linux/arm64 [Pipeline] } 11:42:07 $ docker stop --time=1 21f980b2ab47c4ac74bdfee556d2d3b7348f3feaf92eb7218f6c26896262b950 11:42:08 $ docker rm -f 21f980b2ab47c4ac74bdfee556d2d3b7348f3feaf92eb7218f6c26896262b950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:09 + docker inspect -f . ci-base-image-arm64 11:42:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:09 prd-ubuntu20.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container 11:42:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:42:11 $ docker top ef69a95ed858aa8c6a972efa3d37eba4c8191a45dae2276c3005c36ea75ebd27 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:11 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 11:42:12 + make test 11:42:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:42:14 ? github.com/edgexfoundry/device-rest-go [no test files] 11:43:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:43:35 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 11:43:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:43:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:43:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:53 ./bin/test-attribution-txt.sh 11:43:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:43:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:43:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:43:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:43:53 $ docker stop --time=1 ef69a95ed858aa8c6a972efa3d37eba4c8191a45dae2276c3005c36ea75ebd27 11:43:55 $ docker rm -f ef69a95ed858aa8c6a972efa3d37eba4c8191a45dae2276c3005c36ea75ebd27 [Pipeline] // withDockerContainer [Pipeline] sh 11:43:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:56 Warning: overwriting stash ‘coverage-report’ 11:43:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:57 + ls -al . 11:43:57 total 172 11:43:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 11:42 . 11:43:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:40 .. 11:43:57 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 11:40 .dockerignore 11:43:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 11:40 .git 11:43:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:40 .github 11:43:57 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 11:40 .gitignore 11:43:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 11:40 .golangci.yml 11:43:57 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 27 11:40 Attribution.txt 11:43:57 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 11:40 CHANGELOG.md 11:43:57 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 27 11:40 Dockerfile 11:43:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 11:40 GOVERNANCE.md 11:43:57 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 11:40 Jenkinsfile 11:43:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 11:40 LICENSE 11:43:57 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 27 11:40 Makefile 11:43:57 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 11:40 OWNERS.md 11:43:57 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 27 11:40 README.md 11:43:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 11:38 VERSION 11:43:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 11:40 bin 11:43:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:40 cmd 11:43:57 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 11:43 coverage.out 11:43:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 11:40 driver 11:43:57 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 11:40 go.mod 11:43:57 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 11:40 go.sum 11:43:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:40 snap 11:43:57 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:58 + 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=908040814ca9e0b89f3f9982df1e4117297be6b3 --label arch=arm64 --label version=0.0.0 . 11:43:58 Sending build context to Docker daemon 136.2kB 11:43:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:43:58 Step 2/25 : FROM ${BASE} AS builder 11:43:58 ---> 67013d125bbc 11:43:58 Step 3/25 : ARG MAKE='make build' 11:43:58 ---> Running in 16ae4896833a 11:43:58 Removing intermediate container 16ae4896833a 11:43:58 ---> 6734c8c79d0a 11:43:58 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:43:59 ---> Running in 52fde43b9048 11:43:59 Removing intermediate container 52fde43b9048 11:43:59 ---> 16cb794f8ff4 11:43:59 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:43:59 ---> Running in 004c1713fb35 11:43:59 Removing intermediate container 004c1713fb35 11:43:59 ---> 3a4129e49f1e 11:43:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:43:59 ---> Running in 634e711cf06c 11:44:01 Removing intermediate container 634e711cf06c 11:44:01 ---> 9d03bc7c6bdb 11:44:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:44:01 ---> Running in b9f82770b075 11:44:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:44:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:44:04 OK: 226 MiB in 55 packages 11:44:05 Removing intermediate container b9f82770b075 11:44:05 ---> 125a2c01bcfd 11:44:05 Step 8/25 : WORKDIR /device-rest-go 11:44:05 ---> Running in 64e66c5c9989 11:44:05 Removing intermediate container 64e66c5c9989 11:44:05 ---> f9dc45335d58 11:44:05 Step 9/25 : COPY go.mod vendor* ./ 11:44:05 ---> 6d4122e5d552 11:44:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:05 ---> Running in 4500a66a05f8 11:44:07 Removing intermediate container 4500a66a05f8 11:44:07 ---> 5e0c025ea71c 11:44:07 Step 11/25 : COPY . . 11:44:08 ---> a9e6bcb342aa 11:44:08 Step 12/25 : RUN $MAKE 11:44:08 ---> Running in ef353863dc1b 11:44:09 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 11:46:46 Removing intermediate container ef353863dc1b 11:46:46 ---> 20e99ee66188 11:46:46 Step 13/25 : FROM alpine:3.16 11:46:46 3.16: Pulling from library/alpine 11:46:46 9b18e9b68314: Pulling fs layer 11:46:46 9b18e9b68314: Verifying Checksum 11:46:46 9b18e9b68314: Download complete 11:46:46 9b18e9b68314: Pull complete 11:46:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:46:46 Status: Downloaded newer image for alpine:3.16 11:46:46 ---> a6215f271958 11:46:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:46:46 ---> Running in 38a6960bbc0c 11:46:46 Removing intermediate container 38a6960bbc0c 11:46:46 ---> e081b525f736 11:46:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 11:46:46 ---> Running in 033fe6393e5f 11:46:46 Removing intermediate container 033fe6393e5f 11:46:46 ---> 12afcdc21199 11:46:46 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:46:46 ---> Running in a6d6cdfc951b 11:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:46:46 (1/6) Installing dumb-init (1.2.5-r1) 11:46:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:46:46 (3/6) Installing libsodium (1.0.18-r0) 11:46:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:46:46 (5/6) Installing libzmq (4.3.4-r0) 11:46:46 (6/6) Installing zeromq (4.3.4-r0) 11:46:46 Executing busybox-1.35.0-r17.trigger 11:46:46 OK: 8 MiB in 20 packages 11:46:46 Removing intermediate container a6d6cdfc951b 11:46:46 ---> 9118e50a6c9c 11:46:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 11:46:46 ---> 19947c18e322 11:46:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 11:46:46 ---> aeac73ece293 11:46:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 11:46:46 ---> 8198c5502377 11:46:46 Step 20/25 : EXPOSE 59986 11:46:46 ---> Running in 33b2fbb648f7 11:46:46 Removing intermediate container 33b2fbb648f7 11:46:46 ---> 3cec47abfd65 11:46:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 11:46:46 ---> Running in 12b3c2b3d217 11:46:46 Removing intermediate container 12b3c2b3d217 11:46:46 ---> 86ca32af1fc8 11:46:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:46:46 ---> Running in 5a822ac8bce2 11:46:46 Removing intermediate container 5a822ac8bce2 11:46:46 ---> cd9905038545 11:46:46 Step 23/25 : LABEL arch=arm64 11:46:46 ---> Running in a7244df44996 11:46:46 Removing intermediate container a7244df44996 11:46:46 ---> ebb2e9bb8333 11:46:46 Step 24/25 : LABEL git_sha=908040814ca9e0b89f3f9982df1e4117297be6b3 11:46:46 ---> Running in 4b8429e16d85 11:46:46 Removing intermediate container 4b8429e16d85 11:46:46 ---> df5d4682844e 11:46:46 Step 25/25 : LABEL version=0.0.0 11:46:46 ---> Running in 76b5a1cfa988 11:46:46 Removing intermediate container 76b5a1cfa988 11:46:46 ---> 228e3d6cf12f 11:46:46 [Warning] One or more build-args [ARCH] were not consumed 11:46:46 Successfully built 228e3d6cf12f 11:46:46 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 11:46:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:46:46 11:46:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:46:47 arm64: Pulling from edgex-lftools-log-publisher 11:46:47 8998bd30e6a1: Pulling fs layer 11:46:47 04944245beec: Pulling fs layer 11:46:47 699f458cf7ca: Pulling fs layer 11:46:47 765212b225bb: Pulling fs layer 11:46:47 f23df028b6ca: Pulling fs layer 11:46:47 d65c8cfc05b1: Pulling fs layer 11:46:47 2437ff75d9bd: Pulling fs layer 11:46:47 765212b225bb: Waiting 11:46:47 d65c8cfc05b1: Waiting 11:46:47 2437ff75d9bd: Waiting 11:46:47 f23df028b6ca: Waiting 11:46:47 04944245beec: Verifying Checksum 11:46:47 04944245beec: Download complete 11:46:47 765212b225bb: Verifying Checksum 11:46:47 765212b225bb: Download complete 11:46:47 f23df028b6ca: Download complete 11:46:47 d65c8cfc05b1: Verifying Checksum 11:46:47 d65c8cfc05b1: Download complete 11:46:47 699f458cf7ca: Verifying Checksum 11:46:47 699f458cf7ca: Download complete 11:46:48 8998bd30e6a1: Verifying Checksum 11:46:48 8998bd30e6a1: Download complete 11:46:50 2437ff75d9bd: Verifying Checksum 11:46:50 2437ff75d9bd: Download complete 11:46:52 8998bd30e6a1: Pull complete 11:46:52 04944245beec: Pull complete 11:46:54 699f458cf7ca: Pull complete 11:46:54 765212b225bb: Pull complete 11:46:55 f23df028b6ca: Pull complete 11:46:55 d65c8cfc05b1: Pull complete 11:47:10 2437ff75d9bd: Pull complete 11:47:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:47:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:47:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:10 prd-ubuntu20.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container 11:47:10 $ 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 11:47:12 $ docker top b50de390ad6011990fde7885d41840ad9147392a64b70ed4fd71e395ac53aea9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:13 ---> job-cost.sh 11:47:13 lf-activate-venv: SKIPPING 11:47:13 INFO: No Stack... 11:47:14 INFO: Retrieving Pricing Info for: v3-standard-4 11:47:15 INFO: Archiving Costs [Pipeline] sh 11:47:15 + cut -d, -f6 11:47:15 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 11:47:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] 11:47:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] did not exist. Created. 11:47:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:47:16 /w/workspace/device-rest-go/1@tmp/durable-046c82cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:47:16 + echo total: 0.10999999940395355 [Pipeline] stash 11:47:16 Warning: overwriting stash ‘stack-cost’ 11:47:16 Stashed 1 file(s) [Pipeline] } 11:47:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-214-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:47:16 $ docker stop --time=1 b50de390ad6011990fde7885d41840ad9147392a64b70ed4fd71e395ac53aea9 11:47:18 $ docker rm -f b50de390ad6011990fde7885d41840ad9147392a64b70ed4fd71e395ac53aea9 [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 11:47:19 provisioning config files... 11:47:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-214@tmp/config9671879775395710115tmp [Pipeline] { [Pipeline] sh 11:47:19 + set +x 11:47:19 + curl -s https://codecov.io/bash 11:47:19 + bash -s -- 11:47:19 11:47:19 _____ _ 11:47:19 / ____| | | 11:47:19 | | ___ __| | ___ ___ _____ __ 11:47:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:47:19 | |___| (_) | (_| | __/ (_| (_) \ V / 11:47:19 \_____\___/ \__,_|\___|\___\___/ \_/ 11:47:19 Bash-1.0.6 11:47:19 11:47:19 11:47:19 ==> git version 2.25.1 found 11:47:19 ==> 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 11:47:19 Release-Date: 2020-01-08 11:47:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:47:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:47:19 ==> Jenkins CI detected. 11:47:19 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-214 11:47:19 project root: . 11:47:19 --> token set from env 11:47:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:47:19 ==> Running gcov in . (disable via -X gcov) 11:47:19 ==> Python coveragepy not found 11:47:19 ==> Searching for coverage reports in: 11:47:19 + . 11:47:19 -> Found 1 reports 11:47:19 ==> Detecting git/mercurial file structure 11:47:19 ==> Reading reports 11:47:19 + ./coverage.out bytes=9355 11:47:19 ==> Appending adjustments 11:47:19 https://docs.codecov.io/docs/fixing-reports 11:47:19 + Found adjustments 11:47:19 ==> Gzipping contents 11:47:19 4.0K /tmp/codecov.adGiFY.gz 11:47:19 ==> Uploading reports 11:47:19 url: https://codecov.io 11:47:19 query: branch=PR-214&commit=908040814ca9e0b89f3f9982df1e4117297be6b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=214&job=&cmd_args= 11:47:19 -> Pinging Codecov 11:47:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-214&commit=908040814ca9e0b89f3f9982df1e4117297be6b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=214&job=&cmd_args= 11:47:20 -> Uploading to 11:47:20 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/4E5D53B4F1F92C436F7061BF334D961C/908040814ca9e0b89f3f9982df1e4117297be6b3/902255e9-ab58-48df-99f6-e9e37ed7fa8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T114719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a38abe8071ed7ed33ff5aa402077d4c8137bca440de8ab69b3c3adfbd0793f19 11:47:20 % Total % Received % Xferd Average Speed Time Time Time Current 11:47:20 Dload Upload Total Spent Left Speed 11:47:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7427 --:--:-- --:--:-- --:--:-- 7427 11:47:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/908040814ca9e0b89f3f9982df1e4117297be6b3 [Pipeline] } 11:47:20 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 11:47:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-214/archives ] 11:47:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-214/archives 11:47:22 total 16 11:47:22 drwxr-xr-x 3 root root 4096 Sep 27 11:40 . 11:47:22 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 11:40 .. 11:47:22 drwxr-xr-x 2 root root 4096 Sep 27 11:40 cost 11:47:22 -rw-r--r-- 1 root root 86 Sep 27 11:40 cost.csv 11:47:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-214/archives 11:47:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-214/archives 11:47:22 total 16 11:47:22 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 11:40 . 11:47:22 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 11:40 .. 11:47:22 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 11:40 cost 11:47:22 -rw-r--r-- 1 jenkins jenkins 86 Sep 27 11:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:47:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:47:23 ---> package-listing.sh 11:47:23 ++ facter osfamily 11:47:23 ++ tr '[:upper:]' '[:lower:]' 11:47:23 + OS_FAMILY=debian 11:47:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-214 11:47:23 + START_PACKAGES=/tmp/packages_start.txt 11:47:23 + END_PACKAGES=/tmp/packages_end.txt 11:47:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:47:23 + PACKAGES=/tmp/packages_start.txt 11:47:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-214 ']' 11:47:23 + PACKAGES=/tmp/packages_end.txt 11:47:23 + case "${OS_FAMILY}" in 11:47:23 + dpkg -l 11:47:23 + grep '^ii' 11:47:23 + '[' -f /tmp/packages_start.txt ']' 11:47:23 + '[' -f /tmp/packages_end.txt ']' 11:47:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:47:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-214 ']' 11:47:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-214/archives/ 11:47:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-214/archives/ [Pipeline] echo 11:47:23 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-214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:47:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:47:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:24 prd-ubuntu20.04-docker-8c-8g-1346 does not seem to be running inside a container 11:47:24 $ 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-214/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-214 -v /w/workspace/gexfoundry_device-rest-go_PR-214:/w/workspace/gexfoundry_device-rest-go_PR-214:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-214@tmp:/w/workspace/gexfoundry_device-rest-go_PR-214@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 11:47:24 $ docker top d9f4ecd863f2462f0e5ec67e27d051d1bddd891772cbb52ab6ded023113dbc67 -eo pid,comm [Pipeline] { [Pipeline] sh 11:47:25 + touch /tmp/pre-build-complete [Pipeline] sh 11:47:25 + mkdir -p /var/log/sysstat [Pipeline] sh 11:47:25 + ls /var/log/sa-host 11:47:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:47:26 provisioning config files... 11:47:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-214@tmp/config13606985080009557797tmp [Pipeline] { [Pipeline] echo 11:47:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:47:26 ---> create-netrc.sh [Pipeline] } 11:47:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:47:26 ---> python-tools-install.sh [Pipeline] echo 11:47:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:47:27 ---> sudo-logs.sh 11:47:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:47:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:47:27 ---> job-cost.sh 11:47:27 lf-activate-venv: SKIPPING 11:47:27 DEBUG: total: 0.2199999988079071 11:47:27 INFO: Retrieving Stack Cost... 11:47:27 INFO: Retrieving Pricing Info for: v3-standard-8 11:47:28 INFO: Archiving Costs [Pipeline] echo 11:47:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:47:28 ---> logs-deploy.sh 11:47:28 lf-activate-venv: SKIPPING 11:47:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-214/1 11:47:28 INFO: archiving workspace using pattern(s): 11:47:29 Archives upload complete. 11:47:29 INFO: archiving logs to Nexus 11:47:30 ---> uname -a: 11:47:30 Linux prd-ubuntu20-04-docker-8c-8g-1346 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:47:30 11:47:30 11:47:30 ---> lscpu: 11:47:30 Architecture: x86_64 11:47:30 CPU op-mode(s): 32-bit, 64-bit 11:47:30 Byte Order: Little Endian 11:47:30 Address sizes: 40 bits physical, 48 bits virtual 11:47:30 CPU(s): 8 11:47:30 On-line CPU(s) list: 0-7 11:47:30 Thread(s) per core: 1 11:47:30 Core(s) per socket: 1 11:47:30 Socket(s): 8 11:47:30 NUMA node(s): 1 11:47:30 Vendor ID: AuthenticAMD 11:47:30 CPU family: 23 11:47:30 Model: 49 11:47:30 Model name: AMD EPYC-Rome Processor 11:47:30 Stepping: 0 11:47:30 CPU MHz: 2800.002 11:47:30 BogoMIPS: 5600.00 11:47:30 Virtualization: AMD-V 11:47:30 Hypervisor vendor: KVM 11:47:30 Virtualization type: full 11:47:30 L1d cache: 256 KiB 11:47:30 L1i cache: 256 KiB 11:47:30 L2 cache: 4 MiB 11:47:30 L3 cache: 128 MiB 11:47:30 NUMA node0 CPU(s): 0-7 11:47:30 Vulnerability Itlb multihit: Not affected 11:47:30 Vulnerability L1tf: Not affected 11:47:30 Vulnerability Mds: Not affected 11:47:30 Vulnerability Meltdown: Not affected 11:47:30 Vulnerability Mmio stale data: Not affected 11:47:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:47:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:47:30 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:47:30 Vulnerability Srbds: Not affected 11:47:30 Vulnerability Tsx async abort: Not affected 11:47:30 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 11:47:30 11:47:30 11:47:30 ---> nproc: 11:47:30 8 11:47:30 11:47:30 11:47:30 ---> df -h: 11:47:30 Filesystem Size Used Avail Use% Mounted on 11:47:30 overlay 155G 12G 144G 8% / 11:47:30 tmpfs 64M 0 64M 0% /dev 11:47:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:47:30 shm 64M 0 64M 0% /dev/shm 11:47:30 /dev/vda1 155G 12G 144G 8% /facter-os 11:47:30 11:47:30 11:47:30 ---> sar -b -r -n DEV: 11:47:30 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1346) 09/27/22 _x86_64_ (8 CPU) 11:47:30 11:47:30 11:37:16 LINUX RESTART (8 CPU) 11:47:30 11:47:30 11:38:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:47:30 11:39:01 184.27 5.05 179.22 0.00 532.25 74232.57 0.00 11:47:30 11:40:01 123.41 0.23 123.18 0.00 21.20 21963.41 0.00 11:47:30 11:41:01 94.17 0.03 94.13 0.00 8.40 19807.90 0.00 11:47:30 11:42:01 1.87 0.00 1.87 0.00 0.00 20.81 0.00 11:47:30 11:43:01 39.75 9.33 30.42 0.00 2883.84 4808.26 0.00 11:47:30 11:44:01 1.63 0.00 1.63 0.00 0.00 19.46 0.00 11:47:30 11:45:01 0.93 0.00 0.93 0.00 0.00 9.73 0.00 11:47:30 11:46:01 1.57 0.00 1.57 0.00 0.00 16.66 0.00 11:47:30 11:47:01 0.85 0.00 0.85 0.00 0.00 9.20 0.00 11:47:30 Average: 49.58 1.62 47.95 0.00 382.59 13318.07 0.00 11:47:30 11:47:30 11:38:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:47:30 11:39:01 28559628 31574072 732372 2.23 130816 3109208 1841728 5.43 1056104 2850688 27732 11:47:30 11:40:01 28337520 31565188 736776 2.24 135212 3304844 1862676 5.49 1178200 2928952 1280 11:47:30 11:41:01 27807256 31572152 727776 2.21 145416 3779680 1768344 5.21 1216540 3365180 156 11:47:30 11:42:01 27807436 31572352 727412 2.21 145456 3779684 1768344 5.21 1216444 3365184 12 11:47:30 11:43:01 27519380 31559876 725336 2.21 163904 4028512 1797888 5.30 1371656 3478436 12 11:47:30 11:44:01 27521232 31561728 723404 2.20 163948 4028504 1797888 5.30 1364224 3478436 44 11:47:30 11:45:01 27529496 31570044 715056 2.17 163960 4028516 1797888 5.30 1355372 3478440 8 11:47:30 11:46:01 27529816 31570540 714328 2.17 163992 4028516 1797888 5.30 1355256 3478564 8 11:47:30 11:47:01 27530272 31571008 713788 2.17 164012 4028520 1797888 5.30 1355204 3478576 20 11:47:30 Average: 27793560 31568551 724028 2.20 152968 3790665 1803392 5.31 1274333 3322495 3252 11:47:30 11:47:30 11:38:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:47:30 11:39:01 docker0 147.50 203.95 12.56 1905.62 0.00 0.00 0.00 0.00 11:47:30 11:39:01 lo 5.83 5.83 0.57 0.57 0.00 0.00 0.00 0.00 11:47:30 11:39:01 ens3 459.57 336.45 7600.73 67.72 0.00 0.00 0.00 0.00 11:47:30 11:40:01 docker0 7.12 9.40 0.40 40.80 0.00 0.00 0.00 0.00 11:47:30 11:40:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 11:47:30 11:40:01 ens3 53.32 36.41 81.04 17.54 0.00 0.00 0.00 0.00 11:47:30 11:41:01 docker0 2.30 5.53 0.16 57.95 0.00 0.00 0.00 0.00 11:47:30 11:41:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 11:47:30 11:41:01 ens3 123.01 80.00 2640.25 13.65 0.00 0.00 0.00 0.00 11:47:30 11:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:47:30 11:42:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 11:47:30 11:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:43:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 11:47:30 11:43:01 ens3 98.85 61.71 1300.31 4.62 0.00 0.00 0.00 0.00 11:47:30 11:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:47:30 11:44:01 ens3 0.20 0.17 0.01 0.01 0.00 0.00 0.00 0.00 11:47:30 11:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:45:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:47:30 11:46:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 11:47:30 11:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 11:47:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:47:30 Average: docker0 17.19 23.98 1.44 219.57 0.00 0.00 0.00 0.00 11:47:30 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 11:47:30 Average: ens3 80.99 56.70 1279.58 11.40 0.00 0.00 0.00 0.00 11:47:30 11:47:30 11:47:30 ---> sar -P ALL: 11:47:30 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1346) 09/27/22 _x86_64_ (8 CPU) 11:47:30 11:47:30 11:37:16 LINUX RESTART (8 CPU) 11:47:30 11:47:30 11:38:02 CPU %user %nice %system %iowait %steal %idle 11:47:30 11:39:01 all 9.05 0.00 4.29 4.20 0.06 82.40 11:47:30 11:39:01 0 8.03 0.00 4.10 7.36 0.05 80.45 11:47:30 11:39:01 1 10.78 0.00 4.30 6.77 0.05 78.10 11:47:30 11:39:01 2 7.36 0.00 5.14 5.56 0.05 81.88 11:47:30 11:39:01 3 9.01 0.00 4.33 8.50 0.07 78.09 11:47:30 11:39:01 4 10.16 0.00 3.79 1.37 0.07 84.61 11:47:30 11:39:01 5 8.17 0.00 4.16 0.07 0.03 87.57 11:47:30 11:39:01 6 9.51 0.00 4.59 0.94 0.05 84.90 11:47:30 11:39:01 7 9.39 0.00 3.88 3.02 0.07 83.64 11:47:30 11:40:01 all 38.01 0.00 6.46 1.12 0.07 54.34 11:47:30 11:40:01 0 38.67 0.00 6.06 0.22 0.07 54.99 11:47:30 11:40:01 1 37.35 0.00 6.43 0.52 0.07 55.63 11:47:30 11:40:01 2 36.73 0.00 7.22 1.75 0.07 54.22 11:47:30 11:40:01 3 37.64 0.00 6.70 4.11 0.08 51.47 11:47:30 11:40:01 4 37.32 0.00 6.86 0.25 0.07 55.50 11:47:30 11:40:01 5 38.30 0.00 5.82 0.08 0.07 55.72 11:47:30 11:40:01 6 39.09 0.00 6.40 1.93 0.08 52.50 11:47:30 11:40:01 7 38.95 0.00 6.19 0.12 0.08 54.66 11:47:30 11:41:01 all 3.47 0.00 1.63 0.91 0.05 93.94 11:47:30 11:41:01 0 3.98 0.00 2.06 0.77 0.13 93.06 11:47:30 11:41:01 1 3.34 0.00 1.19 0.00 0.03 95.43 11:47:30 11:41:01 2 3.50 0.00 1.44 0.45 0.03 94.58 11:47:30 11:41:01 3 3.10 0.00 1.61 0.55 0.07 94.66 11:47:30 11:41:01 4 3.19 0.00 1.49 0.08 0.03 95.20 11:47:30 11:41:01 5 3.36 0.00 1.72 0.18 0.03 94.70 11:47:30 11:41:01 6 3.78 0.00 1.92 5.19 0.02 89.09 11:47:30 11:41:01 7 3.50 0.00 1.58 0.03 0.02 94.87 11:47:30 11:42:01 all 0.28 0.00 0.01 0.00 0.01 99.70 11:47:30 11:42:01 0 0.00 0.00 0.02 0.00 0.02 99.97 11:47:30 11:42:01 1 0.10 0.00 0.03 0.00 0.02 99.85 11:47:30 11:42:01 2 0.03 0.00 0.02 0.00 0.02 99.93 11:47:30 11:42:01 3 0.05 0.00 0.00 0.02 0.00 99.93 11:47:30 11:42:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:47:30 11:42:01 5 0.00 0.00 0.00 0.00 0.00 100.00 11:47:30 11:42:01 6 1.99 0.00 0.02 0.02 0.02 97.96 11:47:30 11:42:01 7 0.02 0.00 0.02 0.00 0.00 99.97 11:47:30 11:43:01 all 1.52 0.00 0.84 0.38 0.01 97.24 11:47:30 11:43:01 0 1.50 0.00 0.92 0.52 0.02 97.05 11:47:30 11:43:01 1 0.72 0.00 0.38 0.05 0.02 98.83 11:47:30 11:43:01 2 0.62 0.00 0.90 0.15 0.02 98.32 11:47:30 11:43:01 3 2.35 0.00 0.57 0.70 0.02 96.36 11:47:30 11:43:01 4 1.59 0.00 1.97 0.03 0.02 96.39 11:47:30 11:43:01 5 1.55 0.00 0.53 1.03 0.00 96.88 11:47:30 11:43:01 6 2.98 0.00 0.59 0.49 0.02 95.92 11:47:30 11:43:01 7 0.84 0.00 0.87 0.05 0.02 98.23 11:47:30 11:44:01 all 0.16 0.00 0.04 0.01 0.01 99.79 11:47:30 11:44:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:47:30 11:44:01 1 0.03 0.00 0.03 0.00 0.00 99.93 11:47:30 11:44:01 2 0.00 0.00 0.05 0.00 0.00 99.95 11:47:30 11:44:01 3 0.03 0.00 0.03 0.00 0.02 99.92 11:47:30 11:44:01 4 0.00 0.00 0.02 0.00 0.00 99.98 11:47:30 11:44:01 5 0.00 0.00 0.00 0.03 0.00 99.97 11:47:30 11:44:01 6 1.17 0.00 0.15 0.00 0.02 98.66 11:47:30 11:44:01 7 0.00 0.00 0.02 0.02 0.02 99.95 11:47:30 11:45:01 all 0.04 0.00 0.01 0.00 0.01 99.94 11:47:30 11:45:01 0 0.00 0.00 0.02 0.00 0.00 99.98 11:47:30 11:45:01 1 0.10 0.00 0.03 0.00 0.02 99.85 11:47:30 11:45:01 2 0.03 0.00 0.02 0.00 0.00 99.95 11:47:30 11:45:01 3 0.08 0.00 0.03 0.00 0.03 99.85 11:47:30 11:45:01 4 0.03 0.00 0.00 0.00 0.00 99.97 11:47:30 11:45:01 5 0.02 0.00 0.00 0.00 0.02 99.97 11:47:30 11:45:01 6 0.00 0.00 0.00 0.00 0.00 100.00 11:47:30 11:45:01 7 0.02 0.00 0.00 0.00 0.00 99.98 11:47:30 11:46:01 all 0.02 0.00 0.01 0.00 0.01 99.96 11:47:30 11:46:01 0 0.02 0.00 0.00 0.02 0.00 99.97 11:47:30 11:46:01 1 0.07 0.00 0.00 0.00 0.02 99.92 11:47:30 11:46:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:47:30 11:46:01 3 0.05 0.00 0.02 0.00 0.00 99.93 11:47:30 11:46:01 4 0.03 0.00 0.02 0.00 0.02 99.93 11:47:30 11:46:01 5 0.00 0.00 0.00 0.02 0.00 99.98 11:47:30 11:46:01 6 0.00 0.00 0.02 0.00 0.02 99.97 11:47:30 11:46:01 7 0.00 0.00 0.02 0.00 0.00 99.98 11:47:30 11:47:01 all 0.02 0.00 0.01 0.00 0.01 99.96 11:47:30 11:47:01 0 0.00 0.00 0.00 0.02 0.02 99.97 11:47:30 11:47:01 1 0.05 0.00 0.00 0.00 0.00 99.95 11:47:30 11:47:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:47:30 11:47:01 3 0.05 0.00 0.02 0.00 0.00 99.93 11:47:30 11:47:01 4 0.00 0.00 0.05 0.00 0.02 99.93 11:47:30 11:47:01 5 0.00 0.00 0.02 0.02 0.00 99.97 11:47:30 11:47:01 6 0.03 0.00 0.00 0.00 0.02 99.95 11:47:30 11:47:01 7 0.02 0.00 0.00 0.00 0.00 99.98 11:47:30 Average: all 5.79 0.00 1.46 0.73 0.02 92.00 11:47:30 Average: 0 5.76 0.00 1.45 0.97 0.03 91.79 11:47:30 Average: 1 5.79 0.00 1.36 0.80 0.02 92.02 11:47:30 Average: 2 5.32 0.00 1.62 0.86 0.02 92.17 11:47:30 Average: 3 5.78 0.00 1.46 1.52 0.03 91.21 11:47:30 Average: 4 5.76 0.00 1.56 0.19 0.02 92.46 11:47:30 Average: 5 5.67 0.00 1.35 0.16 0.02 92.81 11:47:30 Average: 6 6.46 0.00 1.50 0.95 0.03 91.06 11:47:30 Average: 7 5.80 0.00 1.38 0.35 0.02 92.45 11:47:30 11:47:30 11:47:30