MightyNerdEric commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5034d95c24c283ca5c1cd8748801c0a382af0d0d+02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (4a8ea0b6caa115eb4f3ce68ef303df18e12d9152) 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-ssh5283110750949003437.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6964590601099564203.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3028636486314058734.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12453344616481507794.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8410651684799331716.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-116980 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d Merge succeeded, producing fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 Checking out Revision fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 (PR-222) > git config core.sparsecheckout # timeout=10 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # 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 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 # timeout=10 Commit message: "Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD" > git rev-list --no-walk 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:27:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:27:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:27:29 ========================================================= 20:27:29 EdgeX Global Pipelines Version Info 20:27:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:27:30 ------------------- 20:27:30 stable info: 20:27:30 ------------------- 20:27:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:27:30 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:27:30 Message: update stable to v1.0.243 20:27:31 ------------------- 20:27:31 experimental info: 20:27:31 ------------------- 20:27:31 Commited By: **** collab-it+edgex@linuxfoundation.org 20:27:31 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:27:31 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc694a4 [Pipeline] echo 20:27:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:31 provisioning config files... 20:27:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config6681921985696493935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:31 ---> docker-login.sh 20:27:31 nexus3.edgexfoundry.org:10001 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 nexus3.edgexfoundry.org:10002 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 nexus3.edgexfoundry.org:10003 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 nexus3.edgexfoundry.org:10004 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 docker.io 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 ---> docker-login.sh ends [Pipeline] } 20:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:27:33 + git rev-list -1 --merges fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1~1..fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo 20:27:33 -----------> git rev-list -1 --merges fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1~1..fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 20:27:33 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [false] [Pipeline] sh 20:27:33 + git log --format=format:%s -1 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo 20:27:33 ========================================================= 20:27:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:27:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:34 + git log --format=format:%s -1 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo 20:27:34 [semverPrep] GIT_COMMIT: fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1, Commit Message: Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD [Pipeline] echo 20:27:34 [semverPrep] This is not a build commit. [Pipeline] sh 20:27:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:27:34 + grep -v github /etc/ssh/ssh_known_hosts 20:27:34 + [ -e /tmp/ssh_known_hosts ] 20:27:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:27:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:27:34 + sudo tee -a /etc/ssh/ssh_known_hosts 20:27:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:34 20:27:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:35 0.1.4: Pulling from edgex-devops/py-git-semver 20:27:35 b85a868b505f: Pulling fs layer 20:27:35 e2be974225ed: Pulling fs layer 20:27:35 339a4e72a1f5: Pulling fs layer 20:27:35 988bab9f4d93: Pulling fs layer 20:27:35 1469e6f7b9e6: Pulling fs layer 20:27:35 eaf3925da568: Pulling fs layer 20:27:35 bab4dde63d76: Pulling fs layer 20:27:35 bde34c3a00c8: Pulling fs layer 20:27:35 b352a97aabf1: Pulling fs layer 20:27:35 4872d77fe225: Pulling fs layer 20:27:35 5851b861e8e6: Pulling fs layer 20:27:35 988bab9f4d93: Waiting 20:27:35 1469e6f7b9e6: Waiting 20:27:35 eaf3925da568: Waiting 20:27:35 4872d77fe225: Waiting 20:27:35 5851b861e8e6: Waiting 20:27:35 bab4dde63d76: Waiting 20:27:35 bde34c3a00c8: Waiting 20:27:35 b352a97aabf1: Waiting 20:27:35 e2be974225ed: Verifying Checksum 20:27:35 e2be974225ed: Download complete 20:27:35 988bab9f4d93: Download complete 20:27:35 1469e6f7b9e6: Verifying Checksum 20:27:35 1469e6f7b9e6: Download complete 20:27:35 eaf3925da568: Verifying Checksum 20:27:35 eaf3925da568: Download complete 20:27:35 339a4e72a1f5: Verifying Checksum 20:27:35 339a4e72a1f5: Download complete 20:27:35 bde34c3a00c8: Download complete 20:27:35 b352a97aabf1: Download complete 20:27:35 4872d77fe225: Verifying Checksum 20:27:35 4872d77fe225: Download complete 20:27:35 5851b861e8e6: Verifying Checksum 20:27:35 5851b861e8e6: Download complete 20:27:35 b85a868b505f: Verifying Checksum 20:27:35 b85a868b505f: Download complete 20:27:35 bab4dde63d76: Verifying Checksum 20:27:35 bab4dde63d76: Download complete 20:27:36 b85a868b505f: Pull complete 20:27:36 e2be974225ed: Pull complete 20:27:37 339a4e72a1f5: Pull complete 20:27:37 988bab9f4d93: Pull complete 20:27:37 1469e6f7b9e6: Pull complete 20:27:37 eaf3925da568: Pull complete 20:27:39 bab4dde63d76: Pull complete 20:27:39 bde34c3a00c8: Pull complete 20:27:39 b352a97aabf1: Pull complete 20:27:39 4872d77fe225: Pull complete 20:27:39 5851b861e8e6: Pull complete 20:27:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:40 prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container 20:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 20:27:41 $ docker top 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 -eo pid,comm 20:27:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:27:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:27:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:41 [ssh-agent] Looking for ssh-agent implementation... 20:27:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:41 $ docker exec 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent 20:27:41 SSH_AUTH_SOCK=/tmp/ssh-bj0DHB0WCSWT/agent.32 20:27:41 SSH_AGENT_PID=38 20:27:41 Running ssh-add (command line suppressed) 20:27:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_11529848580069802536.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_11529848580069802536.key) 20:27:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:42 + git tag --points-at HEAD [Pipeline] } 20:27:42 $ docker exec --env ******** --env ******** 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent -k 20:27:42 unset SSH_AUTH_SOCK; 20:27:42 unset SSH_AGENT_PID; 20:27:42 echo Agent pid 38 killed; 20:27:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:27:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:42 [ssh-agent] Looking for ssh-agent implementation... 20:27:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:42 $ docker exec 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent 20:27:42 SSH_AUTH_SOCK=/tmp/ssh-aMbn2GREHfFU/agent.70 20:27:42 SSH_AGENT_PID=76 20:27:42 Running ssh-add (command line suppressed) 20:27:42 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_9374679654825956594.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_9374679654825956594.key) 20:27:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:43 + git semver init 20:27:43 2022-10-25 20:27:43,253 [run_init] DEBUG init version:0.0.0 force:False 20:27:43 2022-10-25 20:27:43,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver 20:27:43 2022-10-25 20:27:43,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver 20:27:43 2022-10-25 20:27:43,254 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) 20:27:44 2022-10-25 20:27:44,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude 20:27:44 2022-10-25 20:27:44,368 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False 20:27:44 2022-10-25 20:27:44,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 20:27:44 2022-10-25 20:27:44,373 [execute] INFO git cat-file --batch-check 20:27:44 2022-10-25 20:27:44,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 20:27:44 2022-10-25 20:27:44,379 [execute] INFO git cat-file --batch 20:27:44 2022-10-25 20:27:44,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 20:27:44 2022-10-25 20:27:44,385 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 20:27:44 0.0.0 [Pipeline] } 20:27:44 $ docker exec --env ******** --env ******** 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent -k 20:27:44 unset SSH_AUTH_SOCK; 20:27:44 unset SSH_AGENT_PID; 20:27:44 echo Agent pid 76 killed; 20:27:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:27:45 + git semver [Pipeline] } 20:27:45 $ docker stop --time=1 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 20:27:46 $ docker rm -f 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:27:47 Stashed 1 file(s) [Pipeline] echo 20:27:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:47 provisioning config files... 20:27:47 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config14311108475230942757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:47 ---> docker-login.sh 20:27:47 nexus3.edgexfoundry.org:10001 20:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:47 Configure a credential helper to remove this warning. See 20:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:47 20:27:47 Login Succeeded 20:27:47 nexus3.edgexfoundry.org:10002 20:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:47 Configure a credential helper to remove this warning. See 20:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:47 20:27:47 Login Succeeded 20:27:47 nexus3.edgexfoundry.org:10003 20:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:48 Configure a credential helper to remove this warning. See 20:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:48 20:27:48 Login Succeeded 20:27:48 nexus3.edgexfoundry.org:10004 20:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:48 Configure a credential helper to remove this warning. See 20:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:48 20:27:48 Login Succeeded 20:27:48 docker.io 20:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:48 Configure a credential helper to remove this warning. See 20:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:48 20:27:48 Login Succeeded 20:27:48 ---> docker-login.sh ends [Pipeline] } 20:27:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:48 ========================================================= 20:27:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:27:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:27:48 Sending build context to Docker daemon 10.75MB 20:27:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:27:48 Step 2/13 : FROM ${BASE} AS builder 20:27:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:48 213ec9aee27d: Pulling fs layer 20:27:48 4583459ba037: Pulling fs layer 20:27:48 93c1e223e6f2: Pulling fs layer 20:27:48 53926ce57604: Pulling fs layer 20:27:48 21b2b0c7a3f4: Pulling fs layer 20:27:48 30f14e443154: Pulling fs layer 20:27:48 801331c1e519: Pulling fs layer 20:27:48 99cc6dd402b0: Pulling fs layer 20:27:48 7d9ed39f4882: Pulling fs layer 20:27:48 99cc6dd402b0: Waiting 20:27:48 21b2b0c7a3f4: Waiting 20:27:48 7d9ed39f4882: Waiting 20:27:48 30f14e443154: Waiting 20:27:48 801331c1e519: Waiting 20:27:48 53926ce57604: Waiting 20:27:48 93c1e223e6f2: Verifying Checksum 20:27:48 93c1e223e6f2: Download complete 20:27:48 4583459ba037: Verifying Checksum 20:27:48 4583459ba037: Download complete 20:27:48 21b2b0c7a3f4: Verifying Checksum 20:27:48 21b2b0c7a3f4: Download complete 20:27:49 30f14e443154: Download complete 20:27:49 213ec9aee27d: Verifying Checksum 20:27:49 213ec9aee27d: Download complete 20:27:49 801331c1e519: Verifying Checksum 20:27:49 801331c1e519: Download complete 20:27:49 213ec9aee27d: Pull complete 20:27:49 4583459ba037: Pull complete 20:27:49 93c1e223e6f2: Pull complete 20:27:49 7d9ed39f4882: Verifying Checksum 20:27:49 53926ce57604: Verifying Checksum 20:27:49 53926ce57604: Download complete 20:27:50 99cc6dd402b0: Verifying Checksum 20:27:50 99cc6dd402b0: Download complete 20:27:54 53926ce57604: Pull complete 20:27:54 21b2b0c7a3f4: Pull complete 20:27:54 30f14e443154: Pull complete 20:27:54 801331c1e519: Pull complete 20:27:55 99cc6dd402b0: Pull complete 20:27:56 7d9ed39f4882: Pull complete 20:27:56 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:27:56 ---> 1dedd983c030 20:27:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:27:58 ---> Running in 247cd12681e8 20:27:58 Removing intermediate container 247cd12681e8 20:27:58 ---> 5b2a71de3889 20:27:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:58 ---> Running in 8f762d29069c 20:27:58 Removing intermediate container 8f762d29069c 20:27:58 ---> 4f713a95f1b0 20:27:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:27:58 ---> Running in caefb42f7da6 20:27:58 Removing intermediate container caefb42f7da6 20:27:58 ---> 7cc09894b48b 20:27:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:27:58 ---> Running in 3d0051ef19f1 20:27:58 Removing intermediate container 3d0051ef19f1 20:27:58 ---> 026707e65091 20:27:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:58 ---> Running in 1333da2ea8dc 20:27:59 Removing intermediate container 1333da2ea8dc 20:27:59 ---> 2a240db034ee 20:27:59 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:59 ---> Running in 389ae8d9beee 20:27:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:28:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:28:00 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:28:00 (2/4) Installing libedit (20210910.3.1-r0) 20:28:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:28:01 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:28:02 Executing busybox-1.35.0-r17.trigger 20:28:02 OK: 216 MiB in 55 packages 20:28:02 Still waiting to schedule task 20:28:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:28:02 Removing intermediate container 389ae8d9beee 20:28:02 ---> 01c8bd6f749e 20:28:02 Step 9/13 : WORKDIR /device-rest-go 20:28:02 ---> Running in 889fa63158eb 20:28:02 Removing intermediate container 889fa63158eb 20:28:02 ---> d5e6f50a7c99 20:28:02 Step 10/13 : COPY go.mod vendor* ./ 20:28:02 ---> 9392c780eb32 20:28:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:02 ---> Running in 23707af3b980 20:28:24 Removing intermediate container 23707af3b980 20:28:24 ---> 915dc4c4f7a5 20:28:24 Step 12/13 : COPY . . 20:28:24 ---> 15c377822438 20:28:24 Step 13/13 : RUN $MAKE 20:28:24 ---> Running in 2add02f86e1f 20:28:24 noop 20:28:24 Removing intermediate container 2add02f86e1f 20:28:24 ---> e4db06718b4c 20:28:24 Successfully built e4db06718b4c 20:28:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:25 + docker inspect -f . ci-base-image-x86_64 20:28:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:25 prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container 20:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 20:28:25 $ docker top 6bbdb58bdf68ca2c8e87a69196951d020cfa55ebcafdeaffafd13c99f76b2110 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:25 + go version 20:28:25 go version go1.18.7 linux/amd64 [Pipeline] } 20:28:25 $ docker stop --time=1 6bbdb58bdf68ca2c8e87a69196951d020cfa55ebcafdeaffafd13c99f76b2110 20:28:27 $ docker rm -f 6bbdb58bdf68ca2c8e87a69196951d020cfa55ebcafdeaffafd13c99f76b2110 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:27 + docker inspect -f . ci-base-image-x86_64 20:28:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:27 prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container 20:28:27 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 20:28:27 $ docker top e5859bca758a95ae648eaccff595f01d1ce15c1c0d2f32ca63cefb75a1c097f2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh 20:28:28 + make test 20:28:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:28:28 ? github.com/edgexfoundry/device-rest-go [no test files] 20:28:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:28:38 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:28:45 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:28:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:28:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:28:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:28:48 ./bin/test-attribution-txt.sh [Pipeline] echo 20:28:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:28:48 $ docker stop --time=1 e5859bca758a95ae648eaccff595f01d1ce15c1c0d2f32ca63cefb75a1c097f2 20:28:50 $ docker rm -f e5859bca758a95ae648eaccff595f01d1ce15c1c0d2f32ca63cefb75a1c097f2 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:28:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:28:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:28:51 + ls -al . 20:28:51 total 188 20:28:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 20:28 . 20:28:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:27 .. 20:28:51 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 20:27 .dockerignore 20:28:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:28 .git 20:28:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:27 .github 20:28:51 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 20:27 .gitignore 20:28:51 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 20:27 .golangci.yml 20:28:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:27 .semver 20:28:51 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 20:27 Attribution.txt 20:28:51 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 20:27 CHANGELOG.md 20:28:51 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 20:27 Dockerfile 20:28:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 20:27 GOVERNANCE.md 20:28:51 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 20:27 Jenkinsfile 20:28:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 20:27 LICENSE 20:28:51 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 20:27 Makefile 20:28:51 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 20:27 OWNERS.md 20:28:51 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 20:27 README.md 20:28:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:27 VERSION 20:28:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:27 bin 20:28:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:27 cmd 20:28:51 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 20:28 coverage.out 20:28:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:27 driver 20:28:51 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 20:27 go.mod 20:28:51 -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 20:27 go.sum 20:28:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:27 snap 20:28:51 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 20:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:52 + 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=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 --label arch=amd64 --label version=0.0.0 . 20:28:52 Sending build context to Docker daemon 10.76MB 20:28:52 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:28:52 Step 2/26 : FROM ${BASE} AS builder 20:28:52 ---> e4db06718b4c 20:28:52 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:28:52 ---> Running in 1dd5a906b612 20:28:52 Removing intermediate container 1dd5a906b612 20:28:52 ---> c56684626ff5 20:28:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:28:52 ---> Running in 21b2612d1473 20:28:52 Removing intermediate container 21b2612d1473 20:28:52 ---> 9aba2237f6f9 20:28:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:28:52 ---> Running in 596241452fbd 20:28:52 Removing intermediate container 596241452fbd 20:28:52 ---> acc23486e63e 20:28:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:28:52 ---> Running in e7ff194435fb 20:28:52 Removing intermediate container e7ff194435fb 20:28:52 ---> daf65f760d67 20:28:52 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:52 ---> Running in 8a2d2623f965 20:28:53 Removing intermediate container 8a2d2623f965 20:28:53 ---> 59bc61633ea6 20:28:53 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:53 ---> Running in e936a4cacffa 20:28:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:28:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:28:54 OK: 216 MiB in 55 packages 20:28:55 Removing intermediate container e936a4cacffa 20:28:55 ---> 7bf38e9aa16c 20:28:55 Step 9/26 : WORKDIR /device-rest-go 20:28:55 ---> Running in 7716e980f1d9 20:28:55 Removing intermediate container 7716e980f1d9 20:28:55 ---> 80ab760e25fa 20:28:55 Step 10/26 : COPY go.mod vendor* ./ 20:28:55 ---> 5537e4ebcf9f 20:28:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:55 ---> Running in 17429001a48f 20:28:55 Removing intermediate container 17429001a48f 20:28:55 ---> 1215923edb4a 20:28:55 Step 12/26 : COPY . . 20:28:56 ---> c928590b9dbf 20:28:56 Step 13/26 : RUN $MAKE 20:28:56 ---> Running in fb5a39370cc5 20:28:56 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:29:14 Removing intermediate container fb5a39370cc5 20:29:14 ---> 93bf42cc0bcd 20:29:14 Step 14/26 : FROM alpine:3.16 20:29:14 3.16: Pulling from library/alpine 20:29:15 213ec9aee27d: Already exists 20:29:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:29:15 Status: Downloaded newer image for alpine:3.16 20:29:15 ---> 9c6f07244728 20:29:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:29:15 ---> Running in 53031f84473b 20:29:15 Removing intermediate container 53031f84473b 20:29:15 ---> 2e61ffb2136e 20:29:15 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:29:15 ---> Running in f8e715fea4df 20:29:15 Removing intermediate container f8e715fea4df 20:29:15 ---> 98e0f20d3bf2 20:29:15 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:29:15 ---> Running in dcefa23bdd13 20:29:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:29:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:29:15 (1/6) Installing dumb-init (1.2.5-r1) 20:29:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:29:15 (3/6) Installing libsodium (1.0.18-r0) 20:29:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:29:15 (5/6) Installing libzmq (4.3.4-r0) 20:29:16 (6/6) Installing zeromq (4.3.4-r0) 20:29:16 Executing busybox-1.35.0-r17.trigger 20:29:16 OK: 8 MiB in 20 packages 20:29:16 Removing intermediate container dcefa23bdd13 20:29:16 ---> ceaed72f5fdb 20:29:16 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:29:17 ---> 528d051d5635 20:29:17 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:29:17 ---> 2871e9818875 20:29:17 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:29:17 ---> c051c65cd50c 20:29:17 Step 21/26 : EXPOSE 59986 20:29:17 ---> Running in 937720470b83 20:29:17 Removing intermediate container 937720470b83 20:29:17 ---> f35f666ed10c 20:29:17 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:29:17 ---> Running in 327b49c8f3c1 20:29:17 Removing intermediate container 327b49c8f3c1 20:29:17 ---> bd758bc790ba 20:29:17 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:29:17 ---> Running in 41d6b0dfafdc 20:29:17 Removing intermediate container 41d6b0dfafdc 20:29:17 ---> 070a07328e7b 20:29:17 Step 24/26 : LABEL arch=amd64 20:29:17 ---> Running in bb95b1e49a64 20:29:17 Removing intermediate container bb95b1e49a64 20:29:17 ---> b7e45902559e 20:29:17 Step 25/26 : LABEL git_sha=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 20:29:17 ---> Running in 80a516d56fcd 20:29:17 Removing intermediate container 80a516d56fcd 20:29:17 ---> 4416a75c64ff 20:29:17 Step 26/26 : LABEL version=0.0.0 20:29:17 ---> Running in 9f4986a8f801 20:29:18 Removing intermediate container 9f4986a8f801 20:29:18 ---> ff93d946740f 20:29:18 [Warning] One or more build-args [ARCH] were not consumed 20:29:18 Successfully built ff93d946740f 20:29:18 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:18 20:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:18 latest: Pulling from edgex-lftools-log-publisher 20:29:18 5eb5b503b376: Pulling fs layer 20:29:18 5c69ac0246d0: Pulling fs layer 20:29:18 ec43610c2a17: Pulling fs layer 20:29:18 3a2ae6a8a46f: Pulling fs layer 20:29:18 33b1e0a273af: Pulling fs layer 20:29:18 5d3b04190fa2: Pulling fs layer 20:29:18 2f39f015ded8: Pulling fs layer 20:29:18 5d3b04190fa2: Waiting 20:29:18 3a2ae6a8a46f: Waiting 20:29:18 33b1e0a273af: Waiting 20:29:18 2f39f015ded8: Waiting 20:29:18 5c69ac0246d0: Download complete 20:29:18 3a2ae6a8a46f: Verifying Checksum 20:29:18 3a2ae6a8a46f: Download complete 20:29:18 33b1e0a273af: Verifying Checksum 20:29:18 33b1e0a273af: Download complete 20:29:18 5d3b04190fa2: Verifying Checksum 20:29:18 5d3b04190fa2: Download complete 20:29:19 ec43610c2a17: Verifying Checksum 20:29:19 ec43610c2a17: Download complete 20:29:19 5eb5b503b376: Verifying Checksum 20:29:19 5eb5b503b376: Download complete 20:29:19 2f39f015ded8: Download complete 20:29:20 5eb5b503b376: Pull complete 20:29:20 5c69ac0246d0: Pull complete 20:29:20 ec43610c2a17: Pull complete 20:29:20 3a2ae6a8a46f: Pull complete 20:29:21 33b1e0a273af: Pull complete 20:29:21 5d3b04190fa2: Pull complete 20:29:25 2f39f015ded8: Pull complete 20:29:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:25 prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container 20:29:25 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 20:29:27 $ docker top df30d53bd610944db7ecae3e9164253ff49f657de94a453f70da83c2fa5a6ba3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:27 ---> job-cost.sh 20:29:27 lf-activate-venv: SKIPPING 20:29:27 INFO: No Stack... 20:29:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:29:28 INFO: Archiving Costs [Pipeline] sh 20:29:28 + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv 20:29:28 + cut -d, -f6 [Pipeline] lock 20:29:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] 20:29:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] did not exist. Created. 20:29:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:28 + echo total: 0.2199999988079071 [Pipeline] stash 20:29:28 Stashed 1 file(s) [Pipeline] } 20:29:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:29:28 $ docker stop --time=1 df30d53bd610944db7ecae3e9164253ff49f657de94a453f70da83c2fa5a6ba3 20:29:29 $ docker rm -f df30d53bd610944db7ecae3e9164253ff49f657de94a453f70da83c2fa5a6ba3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:30:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116984 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws 20:30:58 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 20:30:59 The recommended git tool is: git 20:31:04 using credential edgex-jenkins-ssh 20:31:04 Cloning the remote Git repository 20:31:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:31:04 > git init /w/workspace/device-rest-go/3 # timeout=10 20:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:05 > git --version # timeout=10 20:31:05 > git --version # 'git version 2.25.1' 20:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:05 Verifying host key using known hosts file 20:31:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:31:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:08 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d 20:31:09 Merge succeeded, producing be52db1ccfe161bb93485934e73de478f8ad7fa3 20:31:09 Checking out Revision be52db1ccfe161bb93485934e73de478f8ad7fa3 (PR-222) 20:31:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:08 Verifying host key using known hosts file 20:31: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. 20:31:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:31:08 > git config core.sparsecheckout # timeout=10 20:31:08 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 20:31:08 > git remote # timeout=10 20:31:08 > git config --get remote.origin.url # timeout=10 20:31:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:09 Verifying host key using known hosts file 20:31:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:31:09 > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 20:31:09 > git rev-parse HEAD^{commit} # timeout=10 20:31:09 > git config core.sparsecheckout # timeout=10 20:31:09 > git checkout -f be52db1ccfe161bb93485934e73de478f8ad7fa3 # timeout=10 20:31:12 Commit message: "Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD" 20:31:12 > git rev-list --no-walk 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:13 Dload Upload Total Spent Left Speed 20:31:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 22031 0 --:--:-- --:--:-- --:--:-- 22031 [Pipeline] sh 20:31:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:15 + sudo tee /etc/docker/daemon.new 20:31:15 { 20:31:15 "registry-mirrors": [ 20:31:15 "https://nexus3.edgexfoundry.org:10001" 20:31:15 ], 20:31:15 "bip": "10.250.0.254/24", 20:31:15 "hosts": [ 20:31:15 "tcp://0.0.0.0:5555", 20:31:15 "unix:///var/run/docker.sock" 20:31:15 ], 20:31:15 "mtu": 1458, 20:31:15 "selinux-enabled": true, 20:31:15 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:15 } [Pipeline] sh 20:31:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:34 provisioning config files... 20:31:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3986718716114160935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:34 ---> docker-login.sh 20:31:34 nexus3.edgexfoundry.org:10001 20:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:35 Configure a credential helper to remove this warning. See 20:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:35 20:31:35 Login Succeeded 20:31:35 nexus3.edgexfoundry.org:10002 20:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:35 Configure a credential helper to remove this warning. See 20:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:35 20:31:35 Login Succeeded 20:31:35 nexus3.edgexfoundry.org:10003 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:36 Configure a credential helper to remove this warning. See 20:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:36 20:31:36 Login Succeeded 20:31:36 nexus3.edgexfoundry.org:10004 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:36 Configure a credential helper to remove this warning. See 20:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:36 20:31:36 Login Succeeded 20:31:36 docker.io 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:37 Configure a credential helper to remove this warning. See 20:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:37 20:31:37 Login Succeeded 20:31:37 ---> docker-login.sh ends [Pipeline] } 20:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:37 ========================================================= 20:31:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:31:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:31:37 Sending build context to Docker daemon 127.5kB 20:31:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:31:38 Step 2/13 : FROM ${BASE} AS builder 20:31:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:38 9b18e9b68314: Pulling fs layer 20:31:38 d32db5db7311: Pulling fs layer 20:31:38 d0c4b47475fc: Pulling fs layer 20:31:38 5831b945b038: Pulling fs layer 20:31:38 86bbec2aaacd: Pulling fs layer 20:31:38 e10730c5d714: Pulling fs layer 20:31:38 5dd5c2283517: Pulling fs layer 20:31:38 d5ac0230b979: Pulling fs layer 20:31:38 e10730c5d714: Waiting 20:31:38 5dd5c2283517: Waiting 20:31:38 d5ac0230b979: Waiting 20:31:38 5831b945b038: Waiting 20:31:38 86bbec2aaacd: Waiting 20:31:38 d0c4b47475fc: Download complete 20:31:38 d32db5db7311: Verifying Checksum 20:31:38 d32db5db7311: Download complete 20:31:38 86bbec2aaacd: Verifying Checksum 20:31:38 86bbec2aaacd: Download complete 20:31:38 e10730c5d714: Verifying Checksum 20:31:38 e10730c5d714: Download complete 20:31:38 9b18e9b68314: Verifying Checksum 20:31:38 9b18e9b68314: Download complete 20:31:39 9b18e9b68314: Pull complete 20:31:39 d5ac0230b979: Verifying Checksum 20:31:39 d5ac0230b979: Download complete 20:31:40 d32db5db7311: Pull complete 20:31:40 d0c4b47475fc: Pull complete 20:31:40 5dd5c2283517: Verifying Checksum 20:31:40 5dd5c2283517: Download complete 20:31:41 5831b945b038: Verifying Checksum 20:31:41 5831b945b038: Download complete 20:31:53 5831b945b038: Pull complete 20:31:53 86bbec2aaacd: Pull complete 20:31:53 e10730c5d714: Pull complete 20:32:00 5dd5c2283517: Pull complete 20:32:01 d5ac0230b979: Pull complete 20:32:01 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:32:01 ---> 59b3b1a385d4 20:32:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:32:02 ---> Running in 78514ae25f3a 20:32:03 Removing intermediate container 78514ae25f3a 20:32:03 ---> 81c786784ff5 20:32:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:32:03 ---> Running in edf9512fd30e 20:32:03 Removing intermediate container edf9512fd30e 20:32:03 ---> 31bfb94f8d10 20:32:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:32:03 ---> Running in b9e911c25ae2 20:32:04 Removing intermediate container b9e911c25ae2 20:32:04 ---> 52217375bd84 20:32:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:32:04 ---> Running in adc37ea2802c 20:32:04 Removing intermediate container adc37ea2802c 20:32:04 ---> a0cbab53bc17 20:32:04 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:32:04 ---> Running in 02d4c2c5f183 20:32:06 Removing intermediate container 02d4c2c5f183 20:32:06 ---> 633c405bc067 20:32:06 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:06 ---> Running in eda8ef267dd1 20:32:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:32:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:32:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:32:10 (2/4) Installing libedit (20210910.3.1-r0) 20:32:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:32:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:32:11 Executing busybox-1.35.0-r17.trigger 20:32:11 OK: 226 MiB in 55 packages 20:32:12 Removing intermediate container eda8ef267dd1 20:32:12 ---> d0530d4d35a3 20:32:12 Step 9/13 : WORKDIR /device-rest-go 20:32:12 ---> Running in aaaaf10fa28e 20:32:13 Removing intermediate container aaaaf10fa28e 20:32:13 ---> 432d1c492d82 20:32:13 Step 10/13 : COPY go.mod vendor* ./ 20:32:13 ---> e3f433cd1ac3 20:32:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:13 ---> Running in 34dba1bdcf53 20:33:10 Removing intermediate container 34dba1bdcf53 20:33:10 ---> 5b8e3e2f1f28 20:33:10 Step 12/13 : COPY . . 20:33:10 ---> 528b9c540f0b 20:33:10 Step 13/13 : RUN $MAKE 20:33:10 ---> Running in c35d70dad73e 20:33:10 noop 20:33:11 Removing intermediate container c35d70dad73e 20:33:11 ---> d95565d25819 20:33:11 Successfully built d95565d25819 20:33:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:12 + docker inspect -f . ci-base-image-arm64 20:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:12 prd-ubuntu20.04-docker-arm64-4c-16g-116984 does not seem to be running inside a container 20:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 20:33:13 $ docker top 8afe70b5ff7258d8749b30aa7e2f910c6fd0620da0567d57f9bd9aebd77fad04 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:14 + go version 20:33:14 go version go1.18.7 linux/arm64 [Pipeline] } 20:33:14 $ docker stop --time=1 8afe70b5ff7258d8749b30aa7e2f910c6fd0620da0567d57f9bd9aebd77fad04 20:33:16 $ docker rm -f 8afe70b5ff7258d8749b30aa7e2f910c6fd0620da0567d57f9bd9aebd77fad04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:16 + docker inspect -f . ci-base-image-arm64 20:33:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:16 prd-ubuntu20.04-docker-arm64-4c-16g-116984 does not seem to be running inside a container 20:33:17 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 20:33:18 $ docker top 129a44a09ec79b19fd65865f3c5008212d467f898dac580012b384950fa7669f -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:19 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 20:33:19 + make test 20:33:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:33:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:34:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:34:57 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements 20:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:34:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:35:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:30 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:35:30 $ docker stop --time=1 129a44a09ec79b19fd65865f3c5008212d467f898dac580012b384950fa7669f 20:35:32 $ docker rm -f 129a44a09ec79b19fd65865f3c5008212d467f898dac580012b384950fa7669f [Pipeline] // withDockerContainer [Pipeline] sh 20:35:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:33 Warning: overwriting stash ‘coverage-report’ 20:35:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:34 + ls -al . 20:35:34 total 184 20:35:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:33 . 20:35:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:31 .. 20:35:34 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 20:31 .dockerignore 20:35:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:31 .git 20:35:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:31 .github 20:35:34 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 20:31 .gitignore 20:35:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 20:31 .golangci.yml 20:35:34 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 20:31 Attribution.txt 20:35:34 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 20:31 CHANGELOG.md 20:35:34 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 20:31 Dockerfile 20:35:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 20:31 GOVERNANCE.md 20:35:34 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 20:31 Jenkinsfile 20:35:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 20:31 LICENSE 20:35:34 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 20:31 Makefile 20:35:34 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 20:31 OWNERS.md 20:35:34 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 20:31 README.md 20:35:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:27 VERSION 20:35:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:31 bin 20:35:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:31 cmd 20:35:34 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 20:34 coverage.out 20:35:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:31 driver 20:35:34 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 20:31 go.mod 20:35:34 -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 20:31 go.sum 20:35:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:31 snap 20:35:34 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:35 + 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=be52db1ccfe161bb93485934e73de478f8ad7fa3 --label arch=arm64 --label version=0.0.0 . 20:35:35 Sending build context to Docker daemon 137.7kB 20:35:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:35:35 Step 2/26 : FROM ${BASE} AS builder 20:35:35 ---> d95565d25819 20:35:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:35:35 ---> Running in 7520bdb701e6 20:35:36 Removing intermediate container 7520bdb701e6 20:35:36 ---> beaebdb5648c 20:35:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:36 ---> Running in 06ffc2af18c8 20:35:36 Removing intermediate container 06ffc2af18c8 20:35:36 ---> 6a7b8dde6d9f 20:35:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:35:36 ---> Running in 6530ef68c486 20:35:37 Removing intermediate container 6530ef68c486 20:35:37 ---> 24175e870428 20:35:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:35:37 ---> Running in f242a68ecd94 20:35:37 Removing intermediate container f242a68ecd94 20:35:37 ---> 6d6ba7fe2699 20:35:37 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:37 ---> Running in 1e798f7834b0 20:35:39 Removing intermediate container 1e798f7834b0 20:35:39 ---> 6cf3a4777926 20:35:39 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:39 ---> Running in 55d59c1f7a04 20:35:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:35:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:35:43 OK: 226 MiB in 55 packages 20:35:44 Removing intermediate container 55d59c1f7a04 20:35:44 ---> dd42c51d3d6a 20:35:44 Step 9/26 : WORKDIR /device-rest-go 20:35:44 ---> Running in 3d7f64eb8f09 20:35:44 Removing intermediate container 3d7f64eb8f09 20:35:44 ---> e0ae441beff2 20:35:44 Step 10/26 : COPY go.mod vendor* ./ 20:35:45 ---> dd25e610d5cf 20:35:45 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:45 ---> Running in b4a3114d9a30 20:35:48 Removing intermediate container b4a3114d9a30 20:35:48 ---> 149642e3c432 20:35:48 Step 12/26 : COPY . . 20:35:48 ---> d0293fd589cb 20:35:48 Step 13/26 : RUN $MAKE 20:35:48 ---> Running in 77c4b4259f0c 20:35:50 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:38:42 Removing intermediate container 77c4b4259f0c 20:38:42 ---> 6a8cfc88454d 20:38:42 Step 14/26 : FROM alpine:3.16 20:38:42 3.16: Pulling from library/alpine 20:38:42 9b18e9b68314: Already exists 20:38:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:38:42 Status: Downloaded newer image for alpine:3.16 20:38:42 ---> a6215f271958 20:38:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:38:42 ---> Running in d6dd877d116a 20:38:42 Removing intermediate container d6dd877d116a 20:38:42 ---> d0060c0f2313 20:38:42 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:38:42 ---> Running in 64ca3970da05 20:38:42 Removing intermediate container 64ca3970da05 20:38:42 ---> 3578301856ea 20:38:42 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:38:42 ---> Running in 85c57368f497 20:38:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:38:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:38:42 (1/6) Installing dumb-init (1.2.5-r1) 20:38:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:38:42 (3/6) Installing libsodium (1.0.18-r0) 20:38:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:38:42 (5/6) Installing libzmq (4.3.4-r0) 20:38:42 (6/6) Installing zeromq (4.3.4-r0) 20:38:42 Executing busybox-1.35.0-r17.trigger 20:38:42 OK: 8 MiB in 20 packages 20:38:42 Removing intermediate container 85c57368f497 20:38:42 ---> 917d6b18bd05 20:38:42 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:38:42 ---> e3e3f5bdf9cb 20:38:42 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:38:42 ---> aeb6667a919e 20:38:42 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:38:42 ---> bc92c6a6d93d 20:38:42 Step 21/26 : EXPOSE 59986 20:38:42 ---> Running in 2c8462b7a4cc 20:38:42 Removing intermediate container 2c8462b7a4cc 20:38:42 ---> ab4b8a6ae25f 20:38:42 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:38:42 ---> Running in 97552c578980 20:38:42 Removing intermediate container 97552c578980 20:38:42 ---> 1910edda0ac6 20:38:42 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:38:42 ---> Running in a2039b1d0a57 20:38:42 Removing intermediate container a2039b1d0a57 20:38:42 ---> ad70f859871d 20:38:42 Step 24/26 : LABEL arch=arm64 20:38:42 ---> Running in d34bfe9c7871 20:38:42 Removing intermediate container d34bfe9c7871 20:38:42 ---> e9032c004541 20:38:42 Step 25/26 : LABEL git_sha=be52db1ccfe161bb93485934e73de478f8ad7fa3 20:38:42 ---> Running in 60d372afe631 20:38:42 Removing intermediate container 60d372afe631 20:38:42 ---> a76555b121c5 20:38:42 Step 26/26 : LABEL version=0.0.0 20:38:42 ---> Running in adef7561e55f 20:38:42 Removing intermediate container adef7561e55f 20:38:42 ---> 54ba341e41f9 20:38:42 [Warning] One or more build-args [ARCH] were not consumed 20:38:42 Successfully built 54ba341e41f9 20:38:42 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:42 20:38:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:43 arm64: Pulling from edgex-lftools-log-publisher 20:38:43 8998bd30e6a1: Pulling fs layer 20:38:43 04944245beec: Pulling fs layer 20:38:43 699f458cf7ca: Pulling fs layer 20:38:43 765212b225bb: Pulling fs layer 20:38:43 f23df028b6ca: Pulling fs layer 20:38:43 d65c8cfc05b1: Pulling fs layer 20:38:43 2437ff75d9bd: Pulling fs layer 20:38:43 765212b225bb: Waiting 20:38:43 f23df028b6ca: Waiting 20:38:43 d65c8cfc05b1: Waiting 20:38:43 2437ff75d9bd: Waiting 20:38:43 04944245beec: Verifying Checksum 20:38:43 04944245beec: Download complete 20:38:43 765212b225bb: Verifying Checksum 20:38:43 765212b225bb: Download complete 20:38:43 f23df028b6ca: Verifying Checksum 20:38:43 f23df028b6ca: Download complete 20:38:43 d65c8cfc05b1: Verifying Checksum 20:38:43 d65c8cfc05b1: Download complete 20:38:43 699f458cf7ca: Verifying Checksum 20:38:43 699f458cf7ca: Download complete 20:38:43 8998bd30e6a1: Verifying Checksum 20:38:46 2437ff75d9bd: Verifying Checksum 20:38:46 2437ff75d9bd: Download complete 20:38:48 8998bd30e6a1: Pull complete 20:38:48 04944245beec: Pull complete 20:38:50 699f458cf7ca: Pull complete 20:38:50 765212b225bb: Pull complete 20:38:51 f23df028b6ca: Pull complete 20:38:51 d65c8cfc05b1: Pull complete 20:39:06 2437ff75d9bd: Pull complete 20:39:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:39:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:39:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:06 prd-ubuntu20.04-docker-arm64-4c-16g-116984 does not seem to be running inside a container 20:39:06 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 20:39:09 $ docker top 12d92158eb30a0a209673e0ac3d9463781925072de13b3daff4713bc193cafa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:09 ---> job-cost.sh 20:39:09 lf-activate-venv: SKIPPING 20:39:09 INFO: No Stack... 20:39:10 INFO: Retrieving Pricing Info for: v3-standard-4 20:39:11 INFO: Archiving Costs [Pipeline] sh 20:39:11 + cat /w/workspace/device-rest-go/3/archives/cost.csv 20:39:11 + cut -d, -f6 [Pipeline] lock 20:39:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] 20:39:11 Resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] did not exist. Created. 20:39:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:39:12 /w/workspace/device-rest-go/3@tmp/durable-8cb52168/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:39:13 + echo total: 0.10999999940395355 [Pipeline] stash 20:39:13 Warning: overwriting stash ‘stack-cost’ 20:39:13 Stashed 1 file(s) [Pipeline] } 20:39:13 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:39:13 $ docker stop --time=1 12d92158eb30a0a209673e0ac3d9463781925072de13b3daff4713bc193cafa9 20:39:14 $ docker rm -f 12d92158eb30a0a209673e0ac3d9463781925072de13b3daff4713bc193cafa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:39:15 provisioning config files... 20:39:15 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config11647587315742662326tmp [Pipeline] { [Pipeline] sh 20:39:15 + set +x 20:39:15 + curl -s https://codecov.io/bash 20:39:15 + bash -s -- 20:39:15 20:39:15 _____ _ 20:39:15 / ____| | | 20:39:15 | | ___ __| | ___ ___ _____ __ 20:39:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:39:15 | |___| (_) | (_| | __/ (_| (_) \ V / 20:39:15 \_____\___/ \__,_|\___|\___\___/ \_/ 20:39:15 Bash-1.0.6 20:39:15 20:39:15 20:39:15 ==> git version 2.25.1 found 20:39:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:39:15 Release-Date: 2020-01-08 20:39:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:39:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:39:15 ==> Jenkins CI detected. 20:39:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-222 20:39:15 project root: . 20:39:15 --> token set from env 20:39:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:39:15 ==> Running gcov in . (disable via -X gcov) 20:39:15 ==> Python coveragepy not found 20:39:15 ==> Searching for coverage reports in: 20:39:15 + . 20:39:15 -> Found 1 reports 20:39:15 ==> Detecting git/mercurial file structure 20:39:15 ==> Reading reports 20:39:15 + ./coverage.out bytes=9355 20:39:15 ==> Appending adjustments 20:39:15 https://docs.codecov.io/docs/fixing-reports 20:39:15 + Found adjustments 20:39:15 ==> Gzipping contents 20:39:15 4.0K /tmp/codecov.Hmn3O6.gz 20:39:15 ==> Uploading reports 20:39:15 url: https://codecov.io 20:39:15 query: branch=PR-222&commit=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= 20:39:15 -> Pinging Codecov 20:39:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-222&commit=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= 20:39:15 -> Uploading to 20:39:15 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1/e71b43a7-71f4-4223-b526-bc7f62257407.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T203915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1fce5ffde66522efb6279df6b2d44d671bd282f47795690a29b748eae39958b 20:39:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:39:15 Dload Upload Total Spent Left Speed 20:39:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7656 --:--:-- --:--:-- --:--:-- 7656 20:39:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] } 20:39:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:39:16 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] 20:39:16 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 20:39:16 total 16 20:39:16 drwxr-xr-x 3 root root 4096 Oct 25 20:29 . 20:39:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:29 .. 20:39:16 drwxr-xr-x 2 root root 4096 Oct 25 20:29 cost 20:39:16 -rw-r--r-- 1 root root 86 Oct 25 20:29 cost.csv 20:39:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives 20:39:16 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 20:39:16 total 16 20:39:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:29 . 20:39:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:29 .. 20:39:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 20:29 cost 20:39:16 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 20:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:39:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:39:18 ---> package-listing.sh 20:39:18 ++ facter osfamily 20:39:18 ++ tr '[:upper:]' '[:lower:]' 20:39:18 + OS_FAMILY=debian 20:39:18 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 20:39:18 + START_PACKAGES=/tmp/packages_start.txt 20:39:18 + END_PACKAGES=/tmp/packages_end.txt 20:39:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:39:18 + PACKAGES=/tmp/packages_start.txt 20:39:18 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 20:39:18 + PACKAGES=/tmp/packages_end.txt 20:39:18 + case "${OS_FAMILY}" in 20:39:18 + dpkg -l 20:39:18 + grep '^ii' 20:39:18 + '[' -f /tmp/packages_start.txt ']' 20:39:18 + '[' -f /tmp/packages_end.txt ']' 20:39:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:39:18 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 20:39:18 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ 20:39:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo 20:39:18 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:39:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:19 prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container 20:39:19 $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 20:39:19 $ docker top 0b3d63408239d2ff0a05122953c921e68437010b36a837d2c0323d7b3d34ed80 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:19 + touch /tmp/pre-build-complete [Pipeline] sh 20:39:20 + mkdir -p /var/log/sysstat [Pipeline] sh 20:39:20 + ls /var/log/sa-host 20:39:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:20 provisioning config files... 20:39:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config2398012750072591631tmp [Pipeline] { [Pipeline] echo 20:39:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:39:20 ---> create-netrc.sh [Pipeline] } 20:39:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:39:21 ---> python-tools-install.sh [Pipeline] echo 20:39:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:39:21 ---> sudo-logs.sh 20:39:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:39:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:39:21 ---> job-cost.sh 20:39:21 lf-activate-venv: SKIPPING 20:39:21 DEBUG: total: 0.2199999988079071 20:39:21 INFO: Retrieving Stack Cost... 20:39:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:39:22 INFO: Archiving Costs [Pipeline] echo 20:39:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:39:22 ---> logs-deploy.sh 20:39:22 lf-activate-venv: SKIPPING 20:39:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/3 20:39:22 INFO: archiving workspace using pattern(s): 20:39:23 Archives upload complete. 20:39:23 INFO: archiving logs to Nexus