Pull request #219 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Obtained Jenkinsfile from 6e8a5909a9c906afe33035ec85f5e357b03f38e9+da0fc691370f2a0b0463f80469643f152cdbe902 (aef7cd99413f10e10b3a9f3bee7a30213dc353bc) 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-ssh15756391549273034372.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5758340535553181024.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11485554784749905119.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7002960393261730260.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5004787272005243155.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12480041520979960292.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7860 in /w/workspace/gexfoundry_device-rest-go_PR-219 [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-219 # 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/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit da0fc691370f2a0b0463f80469643f152cdbe902 into PR head commit 6e8a5909a9c906afe33035ec85f5e357b03f38e9 Merge succeeded, producing 6e8a5909a9c906afe33035ec85f5e357b03f38e9 Checking out Revision 6e8a5909a9c906afe33035ec85f5e357b03f38e9 (PR-219) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # 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 da0fc691370f2a0b0463f80469643f152cdbe902 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # timeout=10 Commit message: "feat(snap): add config interface with unique identifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:15:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:15:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:15:35 ========================================================= 13:15:35 EdgeX Global Pipelines Version Info 13:15:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:15:35 ------------------- 13:15:35 stable info: 13:15:35 ------------------- 13:15:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:15:35 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 13:15:35 Message: update stable to v1.0.239 13:15:36 ------------------- 13:15:36 experimental info: 13:15:36 ------------------- 13:15:36 Commited By: **** collab-it+edgex@linuxfoundation.org 13:15:36 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 13:15:36 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:15:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:15:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:15:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:15:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:15:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:15:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo 13:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo 13:15:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo 13:15:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo 13:15:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e8a590 [Pipeline] echo 13:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:38 provisioning config files... 13:15:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config9186603203935735499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:38 ---> docker-login.sh 13:15:38 nexus3.edgexfoundry.org:10001 13:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:39 Configure a credential helper to remove this warning. See 13:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:39 13:15:39 Login Succeeded 13:15:39 nexus3.edgexfoundry.org:10002 13:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:39 Configure a credential helper to remove this warning. See 13:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:39 13:15:39 Login Succeeded 13:15:39 nexus3.edgexfoundry.org:10003 13:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:39 Configure a credential helper to remove this warning. See 13:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:39 13:15:39 Login Succeeded 13:15:39 nexus3.edgexfoundry.org:10004 13:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:39 Configure a credential helper to remove this warning. See 13:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:39 13:15:39 Login Succeeded 13:15:39 docker.io 13:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:40 Configure a credential helper to remove this warning. See 13:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:40 13:15:40 Login Succeeded 13:15:40 ---> docker-login.sh ends [Pipeline] } 13:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:15:40 + git rev-list -1 --merges 6e8a5909a9c906afe33035ec85f5e357b03f38e9~1..6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo 13:15:40 -----------> git rev-list -1 --merges 6e8a5909a9c906afe33035ec85f5e357b03f38e9~1..6e8a5909a9c906afe33035ec85f5e357b03f38e9 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [false] [Pipeline] sh 13:15:41 + git log --format=format:%s -1 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo 13:15:41 ========================================================= 13:15:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:15:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:15:41 + git log --format=format:%s -1 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo 13:15:41 [semverPrep] GIT_COMMIT: 6e8a5909a9c906afe33035ec85f5e357b03f38e9, Commit Message: feat(snap): add config interface with unique identifier [Pipeline] echo 13:15:41 [semverPrep] This is not a build commit. [Pipeline] sh 13:15:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:15:42 + grep -v github /etc/ssh/ssh_known_hosts 13:15:42 + [ -e /tmp/ssh_known_hosts ] 13:15:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:15:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:15:42 + sudo tee -a /etc/ssh/ssh_known_hosts 13:15:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:15:42 13:15:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:15:43 0.1.4: Pulling from edgex-devops/py-git-semver 13:15:43 b85a868b505f: Pulling fs layer 13:15:43 e2be974225ed: Pulling fs layer 13:15:43 339a4e72a1f5: Pulling fs layer 13:15:43 988bab9f4d93: Pulling fs layer 13:15:43 1469e6f7b9e6: Pulling fs layer 13:15:43 eaf3925da568: Pulling fs layer 13:15:43 bab4dde63d76: Pulling fs layer 13:15:43 bde34c3a00c8: Pulling fs layer 13:15:43 b352a97aabf1: Pulling fs layer 13:15:43 4872d77fe225: Pulling fs layer 13:15:43 5851b861e8e6: Pulling fs layer 13:15:43 1469e6f7b9e6: Waiting 13:15:43 eaf3925da568: Waiting 13:15:43 bab4dde63d76: Waiting 13:15:43 bde34c3a00c8: Waiting 13:15:43 b352a97aabf1: Waiting 13:15:43 4872d77fe225: Waiting 13:15:43 5851b861e8e6: Waiting 13:15:43 988bab9f4d93: Waiting 13:15:43 e2be974225ed: Verifying Checksum 13:15:43 e2be974225ed: Download complete 13:15:43 988bab9f4d93: Verifying Checksum 13:15:43 988bab9f4d93: Download complete 13:15:43 1469e6f7b9e6: Verifying Checksum 13:15:43 1469e6f7b9e6: Download complete 13:15:43 eaf3925da568: Verifying Checksum 13:15:43 eaf3925da568: Download complete 13:15:43 339a4e72a1f5: Verifying Checksum 13:15:43 339a4e72a1f5: Download complete 13:15:43 bde34c3a00c8: Verifying Checksum 13:15:43 bde34c3a00c8: Download complete 13:15:43 b352a97aabf1: Verifying Checksum 13:15:43 b352a97aabf1: Download complete 13:15:43 4872d77fe225: Verifying Checksum 13:15:43 4872d77fe225: Download complete 13:15:43 5851b861e8e6: Verifying Checksum 13:15:43 5851b861e8e6: Download complete 13:15:43 b85a868b505f: Verifying Checksum 13:15:43 b85a868b505f: Download complete 13:15:43 bab4dde63d76: Verifying Checksum 13:15:43 bab4dde63d76: Download complete 13:15:44 b85a868b505f: Pull complete 13:15:44 e2be974225ed: Pull complete 13:15:45 339a4e72a1f5: Pull complete 13:15:45 988bab9f4d93: Pull complete 13:15:45 1469e6f7b9e6: Pull complete 13:15:45 eaf3925da568: Pull complete 13:15:47 bab4dde63d76: Pull complete 13:15:47 bde34c3a00c8: Pull complete 13:15:47 b352a97aabf1: Pull complete 13:15:47 4872d77fe225: Pull complete 13:15:47 5851b861e8e6: Pull complete 13:15:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:15:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:48 prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container 13:15:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@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 13:15:50 $ docker top d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a -eo pid,comm 13:15:50 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). 13:15:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:15:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:15:50 [ssh-agent] Looking for ssh-agent implementation... 13:15:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:15:50 $ docker exec d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent 13:15:50 SSH_AUTH_SOCK=/tmp/ssh-bMC5SwkKV2hR/agent.33 13:15:50 SSH_AGENT_PID=39 13:15:50 Running ssh-add (command line suppressed) 13:15:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_7648281984019066717.key (/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_7648281984019066717.key) 13:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:15:51 + git tag --points-at HEAD [Pipeline] } 13:15:51 $ docker exec --env ******** --env ******** d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent -k 13:15:51 unset SSH_AUTH_SOCK; 13:15:51 unset SSH_AGENT_PID; 13:15:51 echo Agent pid 39 killed; 13:15:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:15:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:15:51 [ssh-agent] Looking for ssh-agent implementation... 13:15:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:15:51 $ docker exec d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent 13:15:51 SSH_AUTH_SOCK=/tmp/ssh-Mwm8VNu3KSbg/agent.71 13:15:51 SSH_AGENT_PID=77 13:15:51 Running ssh-add (command line suppressed) 13:15:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_2872937814156580493.key (/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_2872937814156580493.key) 13:15:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:15:52 + git semver init 13:15:52 2022-10-14 13:15:52,273 [run_init] DEBUG init version:0.0.0 force:False 13:15:52 2022-10-14 13:15:52,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-219/.semver 13:15:52 2022-10-14 13:15:52,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-219/.semver 13:15:52 2022-10-14 13:15:52,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-219/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-219, universal_newlines=False, shell=None, istream=None) 13:15:53 2022-10-14 13:15:53,386 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-219/.git/info/exclude 13:15:53 2022-10-14 13:15:53,387 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-219/.semver/PR-219 with force:False 13:15:53 2022-10-14 13:15:53,387 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-219/.semver/PR-219 13:15:53 2022-10-14 13:15:53,391 [execute] INFO git cat-file --batch-check 13:15:53 2022-10-14 13:15:53,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-219/.semver, universal_newlines=False, shell=None, istream=) 13:15:53 2022-10-14 13:15:53,398 [execute] INFO git cat-file --batch 13:15:53 2022-10-14 13:15:53,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-219/.semver, universal_newlines=False, shell=None, istream=) 13:15:53 2022-10-14 13:15:53,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-219/.semver/PR-219 13:15:53 0.0.0 [Pipeline] } 13:15:53 $ docker exec --env ******** --env ******** d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent -k 13:15:53 unset SSH_AUTH_SOCK; 13:15:53 unset SSH_AGENT_PID; 13:15:53 echo Agent pid 77 killed; 13:15:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:15:54 + git semver [Pipeline] } 13:15:54 $ docker stop --time=1 d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a 13:15:56 $ docker rm -f d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a [Pipeline] // withDockerContainer [Pipeline] sh 13:15:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:15:57 Stashed 1 file(s) [Pipeline] echo 13:15:57 [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 13:15:57 provisioning config files... 13:15:57 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config14476912141827501710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:58 ---> docker-login.sh 13:15:58 nexus3.edgexfoundry.org:10001 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 nexus3.edgexfoundry.org:10002 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 nexus3.edgexfoundry.org:10003 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 nexus3.edgexfoundry.org:10004 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 docker.io 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:59 13:15:59 Login Succeeded 13:15:59 ---> docker-login.sh ends [Pipeline] } 13:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:15:59 ========================================================= 13:15:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:15:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:59 + 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 . 13:15:59 Sending build context to Docker daemon 10.73MB 13:15:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:15:59 Step 2/13 : FROM ${BASE} AS builder 13:15:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:15:59 213ec9aee27d: Pulling fs layer 13:15:59 4583459ba037: Pulling fs layer 13:15:59 93c1e223e6f2: Pulling fs layer 13:15:59 53926ce57604: Pulling fs layer 13:15:59 21b2b0c7a3f4: Pulling fs layer 13:15:59 30f14e443154: Pulling fs layer 13:15:59 801331c1e519: Pulling fs layer 13:15:59 99cc6dd402b0: Pulling fs layer 13:15:59 7d9ed39f4882: Pulling fs layer 13:15:59 30f14e443154: Waiting 13:15:59 801331c1e519: Waiting 13:15:59 7d9ed39f4882: Waiting 13:15:59 99cc6dd402b0: Waiting 13:15:59 53926ce57604: Waiting 13:15:59 93c1e223e6f2: Verifying Checksum 13:15:59 93c1e223e6f2: Download complete 13:15:59 4583459ba037: Download complete 13:16:00 21b2b0c7a3f4: Verifying Checksum 13:16:00 21b2b0c7a3f4: Download complete 13:16:00 30f14e443154: Verifying Checksum 13:16:00 30f14e443154: Download complete 13:16:00 213ec9aee27d: Verifying Checksum 13:16:00 801331c1e519: Verifying Checksum 13:16:00 801331c1e519: Download complete 13:16:00 213ec9aee27d: Pull complete 13:16:00 4583459ba037: Pull complete 13:16:00 93c1e223e6f2: Pull complete 13:16:00 7d9ed39f4882: Verifying Checksum 13:16:00 7d9ed39f4882: Download complete 13:16:00 53926ce57604: Verifying Checksum 13:16:00 53926ce57604: Download complete 13:16:01 99cc6dd402b0: Verifying Checksum 13:16:01 99cc6dd402b0: Download complete 13:16:05 53926ce57604: Pull complete 13:16:05 21b2b0c7a3f4: Pull complete 13:16:05 30f14e443154: Pull complete 13:16:05 801331c1e519: Pull complete 13:16:07 99cc6dd402b0: Pull complete 13:16:07 7d9ed39f4882: Pull complete 13:16:07 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 13:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:16:07 ---> 1dedd983c030 13:16:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 13:16:11 ---> Running in 3152c1fada0d 13:16:11 Removing intermediate container 3152c1fada0d 13:16:11 ---> 65098c6ed3f0 13:16:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:16:11 ---> Running in afd6c6e1a1c6 13:16:11 Removing intermediate container afd6c6e1a1c6 13:16:11 ---> 90b6da48ad72 13:16:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:16:11 ---> Running in 2a83015c0762 13:16:11 Removing intermediate container 2a83015c0762 13:16:11 ---> 4e4ce8b9c721 13:16:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 13:16:11 ---> Running in 09e9c8f8143a 13:16:11 Removing intermediate container 09e9c8f8143a 13:16:11 ---> b0261472cace 13:16:11 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:16:11 ---> Running in b1f89d0390c4 13:16:12 Removing intermediate container b1f89d0390c4 13:16:12 ---> 44a5aaf1f0ba 13:16:12 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:16:12 ---> Running in 0147841abb48 13:16:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:16:12 Still waiting to schedule task 13:16:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7858’ 13:16:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:16:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:16:14 (2/4) Installing libedit (20210910.3.1-r0) 13:16:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:16:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:16:14 Executing busybox-1.35.0-r17.trigger 13:16:14 OK: 216 MiB in 55 packages 13:16:14 Removing intermediate container 0147841abb48 13:16:14 ---> ac7d29149af2 13:16:14 Step 9/13 : WORKDIR /device-rest-go 13:16:14 ---> Running in e60894bb6065 13:16:14 Removing intermediate container e60894bb6065 13:16:14 ---> 990d4e44b2b6 13:16:14 Step 10/13 : COPY go.mod vendor* ./ 13:16:14 ---> 305482db5a29 13:16:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:16:15 ---> Running in 20dde10353d7 13:16:33 Removing intermediate container 20dde10353d7 13:16:33 ---> 56fb46616bfb 13:16:33 Step 12/13 : COPY . . 13:16:33 ---> d73ce1c688da 13:16:33 Step 13/13 : RUN $MAKE 13:16:33 ---> Running in ad010a4ce233 13:16:33 noop 13:16:33 Removing intermediate container ad010a4ce233 13:16:33 ---> 5e0645cefe92 13:16:33 Successfully built 5e0645cefe92 13:16:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:33 + docker inspect -f . ci-base-image-x86_64 13:16:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:34 prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container 13:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@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 13:16:34 $ docker top 130f8943026580c0efdca6cae014980993713683327ab2ad28127cf4f37a8cff -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:34 + go version 13:16:34 go version go1.18.7 linux/amd64 [Pipeline] } 13:16:34 $ docker stop --time=1 130f8943026580c0efdca6cae014980993713683327ab2ad28127cf4f37a8cff 13:16:36 $ docker rm -f 130f8943026580c0efdca6cae014980993713683327ab2ad28127cf4f37a8cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:36 + docker inspect -f . ci-base-image-x86_64 13:16:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:37 prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container 13:16:37 $ 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-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@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 13:16:37 $ docker top ab1349f406194c8d03711c38224f772e878ec7ba86641cdd455585edcc007e31 -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-219 [Pipeline] fileExists [Pipeline] sh 13:16:38 + make test 13:16:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:16:38 ? github.com/edgexfoundry/device-rest-go [no test files] 13:16:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:16:48 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 55.2% of statements 13:16:56 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." 13:16:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:16:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:16:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:16:58 ./bin/test-attribution-txt.sh [Pipeline] echo 13:16:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:16:58 $ docker stop --time=1 ab1349f406194c8d03711c38224f772e878ec7ba86641cdd455585edcc007e31 13:17:00 $ docker rm -f ab1349f406194c8d03711c38224f772e878ec7ba86641cdd455585edcc007e31 [Pipeline] // withDockerContainer [Pipeline] sh 13:17:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:17:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:17:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:17:02 + ls -al . 13:17:02 total 180 13:17:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 13:16 . 13:17:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:15 .. 13:17:02 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 13:15 .dockerignore 13:17:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:16 .git 13:17:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:15 .github 13:17:02 -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 13:15 .gitignore 13:17:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:15 .golangci.yml 13:17:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:15 .semver 13:17:02 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 14 13:15 Attribution.txt 13:17:02 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 14 13:15 CHANGELOG.md 13:17:02 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 14 13:15 Dockerfile 13:17:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:15 GOVERNANCE.md 13:17:02 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 13:15 Jenkinsfile 13:17:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:15 LICENSE 13:17:02 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 14 13:15 Makefile 13:17:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 13:15 OWNERS.md 13:17:02 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 14 13:15 README.md 13:17:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:15 VERSION 13:17:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:15 bin 13:17:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:15 cmd 13:17:02 -rw-r--r-- 1 jenkins jenkins 9355 Oct 14 13:16 coverage.out 13:17:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:15 driver 13:17:02 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 14 13:15 go.mod 13:17:02 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 14 13:15 go.sum 13:17:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:15 snap 13:17:02 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:02 + 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=6e8a5909a9c906afe33035ec85f5e357b03f38e9 --label arch=amd64 --label version=0.0.0 . 13:17:02 Sending build context to Docker daemon 10.74MB 13:17:02 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:17:02 Step 2/26 : FROM ${BASE} AS builder 13:17:02 ---> 5e0645cefe92 13:17:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:17:02 ---> Running in 82033ac5056f 13:17:02 Removing intermediate container 82033ac5056f 13:17:02 ---> 017d5b3a6fe1 13:17:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:17:02 ---> Running in 213ac13d9034 13:17:02 Removing intermediate container 213ac13d9034 13:17:02 ---> 407ca0a360e6 13:17:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:17:02 ---> Running in 0d9b1e714d9b 13:17:03 Removing intermediate container 0d9b1e714d9b 13:17:03 ---> 32b17f2f538a 13:17:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:17:03 ---> Running in 3c7b206f8fc8 13:17:03 Removing intermediate container 3c7b206f8fc8 13:17:03 ---> 9c0ebcaa5861 13:17:03 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:17:03 ---> Running in 075dce9580d1 13:17:03 Removing intermediate container 075dce9580d1 13:17:03 ---> cc0ea4a5cc5d 13:17:03 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:03 ---> Running in 025849c557c5 13:17:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:17:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:17:05 OK: 216 MiB in 55 packages 13:17:05 Removing intermediate container 025849c557c5 13:17:05 ---> f32038b53b40 13:17:05 Step 9/26 : WORKDIR /device-rest-go 13:17:05 ---> Running in 4fad96259180 13:17:05 Removing intermediate container 4fad96259180 13:17:05 ---> 5d77857509e3 13:17:05 Step 10/26 : COPY go.mod vendor* ./ 13:17:05 ---> 4056a51cc258 13:17:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:05 ---> Running in a1e0cc0cc360 13:17:06 Removing intermediate container a1e0cc0cc360 13:17:06 ---> 4804a74c3fdf 13:17:06 Step 12/26 : COPY . . 13:17:06 ---> 18282dd8777e 13:17:06 Step 13/26 : RUN $MAKE 13:17:06 ---> Running in 31228d852020 13:17:07 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 13:17:29 Removing intermediate container 31228d852020 13:17:29 ---> 402e2ada1c4b 13:17:29 Step 14/26 : FROM alpine:3.16 13:17:29 3.16: Pulling from library/alpine 13:17:29 213ec9aee27d: Already exists 13:17:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:17:29 Status: Downloaded newer image for alpine:3.16 13:17:29 ---> 9c6f07244728 13:17:29 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:17:29 ---> Running in 532dbf805146 13:17:29 Removing intermediate container 532dbf805146 13:17:29 ---> 647b91155c68 13:17:29 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 13:17:29 ---> Running in 729ffa0c0ce5 13:17:29 Removing intermediate container 729ffa0c0ce5 13:17:29 ---> 5760005511c5 13:17:29 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 13:17:29 ---> Running in 5f17b7f42df1 13:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:17:29 (1/6) Installing dumb-init (1.2.5-r1) 13:17:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:17:29 (3/6) Installing libsodium (1.0.18-r0) 13:17:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:17:29 (5/6) Installing libzmq (4.3.4-r0) 13:17:29 (6/6) Installing zeromq (4.3.4-r0) 13:17:29 Executing busybox-1.35.0-r17.trigger 13:17:29 OK: 8 MiB in 20 packages 13:17:29 Removing intermediate container 5f17b7f42df1 13:17:29 ---> 8553bbb4f1f0 13:17:29 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 13:17:30 ---> a1cfc9a5d569 13:17:30 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 13:17:30 ---> 2e48a5987423 13:17:30 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 13:17:30 ---> 7efd2e30e4d1 13:17:30 Step 21/26 : EXPOSE 59986 13:17:30 ---> Running in b949811a3ea7 13:17:30 Removing intermediate container b949811a3ea7 13:17:30 ---> 00ba3ea0a17b 13:17:30 Step 22/26 : ENTRYPOINT ["/device-rest"] 13:17:30 ---> Running in bb32845d1157 13:17:30 Removing intermediate container bb32845d1157 13:17:30 ---> 9d07019da204 13:17:30 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:17:30 ---> Running in 8e448bcc8173 13:17:31 Removing intermediate container 8e448bcc8173 13:17:31 ---> 52209425e8c5 13:17:31 Step 24/26 : LABEL arch=amd64 13:17:31 ---> Running in 4f7dca3179c2 13:17:31 Removing intermediate container 4f7dca3179c2 13:17:31 ---> ae33c18cd7b2 13:17:31 Step 25/26 : LABEL git_sha=6e8a5909a9c906afe33035ec85f5e357b03f38e9 13:17:31 ---> Running in cb438f75b989 13:17:31 Removing intermediate container cb438f75b989 13:17:31 ---> 99a616fb8fdf 13:17:31 Step 26/26 : LABEL version=0.0.0 13:17:31 ---> Running in b5cd74aaad56 13:17:31 Removing intermediate container b5cd74aaad56 13:17:31 ---> 64e0e023a1b6 13:17:31 [Warning] One or more build-args [ARCH] were not consumed 13:17:31 Successfully built 64e0e023a1b6 13:17:31 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 13:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:32 13:17:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:32 latest: Pulling from edgex-lftools-log-publisher 13:17:32 5eb5b503b376: Pulling fs layer 13:17:32 5c69ac0246d0: Pulling fs layer 13:17:32 ec43610c2a17: Pulling fs layer 13:17:32 3a2ae6a8a46f: Pulling fs layer 13:17:32 33b1e0a273af: Pulling fs layer 13:17:32 5d3b04190fa2: Pulling fs layer 13:17:32 2f39f015ded8: Pulling fs layer 13:17:32 33b1e0a273af: Waiting 13:17:32 5d3b04190fa2: Waiting 13:17:32 2f39f015ded8: Waiting 13:17:32 3a2ae6a8a46f: Waiting 13:17:32 5c69ac0246d0: Verifying Checksum 13:17:32 5c69ac0246d0: Download complete 13:17:32 3a2ae6a8a46f: Verifying Checksum 13:17:32 3a2ae6a8a46f: Download complete 13:17:32 33b1e0a273af: Verifying Checksum 13:17:32 33b1e0a273af: Download complete 13:17:32 5d3b04190fa2: Verifying Checksum 13:17:32 5d3b04190fa2: Download complete 13:17:32 ec43610c2a17: Verifying Checksum 13:17:32 ec43610c2a17: Download complete 13:17:32 5eb5b503b376: Verifying Checksum 13:17:32 5eb5b503b376: Download complete 13:17:33 2f39f015ded8: Download complete 13:17:33 5eb5b503b376: Pull complete 13:17:34 5c69ac0246d0: Pull complete 13:17:34 ec43610c2a17: Pull complete 13:17:34 3a2ae6a8a46f: Pull complete 13:17:34 33b1e0a273af: Pull complete 13:17:34 5d3b04190fa2: Pull complete 13:17:38 2f39f015ded8: Pull complete 13:17:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:17:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:39 prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container 13:17:39 $ 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-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@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 13:17:42 $ docker top b06a16916cbd208bc4bc27dce8600b3e4f6ed748b15386c972dfdc19dbe4f3a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:42 ---> job-cost.sh 13:17:42 lf-activate-venv: SKIPPING 13:17:42 INFO: No Stack... 13:17:42 INFO: Retrieving Pricing Info for: v3-standard-8 13:17:43 INFO: Archiving Costs [Pipeline] sh 13:17:43 + cat /w/workspace/gexfoundry_device-rest-go_PR-219/archives/cost.csv 13:17:43 + cut -d, -f6 [Pipeline] lock 13:17:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] 13:17:43 Resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] did not exist. Created. 13:17:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:17:43 + echo total: 0.2199999988079071 [Pipeline] stash 13:17:44 Stashed 1 file(s) [Pipeline] } 13:17:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:17:44 $ docker stop --time=1 b06a16916cbd208bc4bc27dce8600b3e4f6ed748b15386c972dfdc19dbe4f3a7 13:17:45 $ docker rm -f b06a16916cbd208bc4bc27dce8600b3e4f6ed748b15386c972dfdc19dbe4f3a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:18:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7862 in /w/workspace/gexfoundry_device-rest-go_PR-219 [Pipeline] { [Pipeline] ws 13:18:39 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 13:18:39 The recommended git tool is: git 13:18:44 using credential edgex-jenkins-ssh 13:18:44 Cloning the remote Git repository 13:18:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:18:44 > git init /w/workspace/device-rest-go/1 # timeout=10 13:18:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:18:45 > git --version # timeout=10 13:18:45 > git --version # 'git version 2.25.1' 13:18:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:18:45 Verifying host key using known hosts file 13:18:45 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. 13:18:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:18:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:18:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:18:48 Merging remotes/origin/main commit da0fc691370f2a0b0463f80469643f152cdbe902 into PR head commit 6e8a5909a9c906afe33035ec85f5e357b03f38e9 13:18:49 Merge succeeded, producing 6e8a5909a9c906afe33035ec85f5e357b03f38e9 13:18:49 Checking out Revision 6e8a5909a9c906afe33035ec85f5e357b03f38e9 (PR-219) 13:18:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:18:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:18:48 using GIT_SSH to set credentials SSH Credentials for GitHub 13:18:48 Verifying host key using known hosts file 13:18:48 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. 13:18:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:18:48 > git config core.sparsecheckout # timeout=10 13:18:48 > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # timeout=10 13:18:49 > git remote # timeout=10 13:18:49 > git config --get remote.origin.url # timeout=10 13:18:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:18:49 Verifying host key using known hosts file 13:18:49 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. 13:18:49 > git merge da0fc691370f2a0b0463f80469643f152cdbe902 # timeout=10 13:18:49 > git rev-parse HEAD^{commit} # timeout=10 13:18:49 > git config core.sparsecheckout # timeout=10 13:18:49 > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # timeout=10 13:18:52 Commit message: "feat(snap): add config interface with unique identifier" 13:18:52 > git --version # timeout=10 13:18:52 > git --version # 'git version 2.25.1' 13:18:52 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:18:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:18:53 % Total % Received % Xferd Average Speed Time Time Time Current 13:18:53 Dload Upload Total Spent Left Speed 13:18:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 13:18:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:18:54 + sudo tee /etc/docker/daemon.new 13:18:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:18:54 { 13:18:54 "registry-mirrors": [ 13:18:54 "https://nexus3.edgexfoundry.org:10001" 13:18:54 ], 13:18:54 "bip": "10.250.0.254/24", 13:18:54 "hosts": [ 13:18:54 "tcp://0.0.0.0:5555", 13:18:54 "unix:///var/run/docker.sock" 13:18:54 ], 13:18:54 "mtu": 1458, 13:18:54 "selinux-enabled": true, 13:18:54 "seccomp-profile": "/etc/docker/seccomp.json" 13:18:54 } [Pipeline] sh 13:18:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:18:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:13 provisioning config files... 13:19:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9551199277600603881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:14 ---> docker-login.sh 13:19:14 nexus3.edgexfoundry.org:10001 13:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:14 Configure a credential helper to remove this warning. See 13:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:14 13:19:14 Login Succeeded 13:19:14 nexus3.edgexfoundry.org:10002 13:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:15 Configure a credential helper to remove this warning. See 13:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:15 13:19:15 Login Succeeded 13:19:15 nexus3.edgexfoundry.org:10003 13:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:15 Configure a credential helper to remove this warning. See 13:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:15 13:19:15 Login Succeeded 13:19:15 nexus3.edgexfoundry.org:10004 13:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:15 Configure a credential helper to remove this warning. See 13:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:15 13:19:15 Login Succeeded 13:19:15 docker.io 13:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:16 Configure a credential helper to remove this warning. See 13:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:16 13:19:16 Login Succeeded 13:19:16 ---> docker-login.sh ends [Pipeline] } 13:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:19:16 ========================================================= 13:19:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:19:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:17 + 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 . 13:19:17 Sending build context to Docker daemon 127.5kB 13:19:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:19:17 Step 2/13 : FROM ${BASE} AS builder 13:19:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:19:17 9b18e9b68314: Pulling fs layer 13:19:17 d32db5db7311: Pulling fs layer 13:19:17 d0c4b47475fc: Pulling fs layer 13:19:17 5831b945b038: Pulling fs layer 13:19:17 86bbec2aaacd: Pulling fs layer 13:19:17 e10730c5d714: Pulling fs layer 13:19:17 5831b945b038: Waiting 13:19:17 86bbec2aaacd: Waiting 13:19:17 5dd5c2283517: Pulling fs layer 13:19:17 d5ac0230b979: Pulling fs layer 13:19:17 e10730c5d714: Waiting 13:19:17 5dd5c2283517: Waiting 13:19:17 d5ac0230b979: Waiting 13:19:17 d0c4b47475fc: Verifying Checksum 13:19:17 d0c4b47475fc: Download complete 13:19:17 d32db5db7311: Verifying Checksum 13:19:17 d32db5db7311: Download complete 13:19:17 86bbec2aaacd: Verifying Checksum 13:19:17 86bbec2aaacd: Download complete 13:19:18 e10730c5d714: Verifying Checksum 13:19:18 e10730c5d714: Download complete 13:19:18 9b18e9b68314: Verifying Checksum 13:19:18 9b18e9b68314: Download complete 13:19:19 9b18e9b68314: Pull complete 13:19:19 d5ac0230b979: Verifying Checksum 13:19:19 d5ac0230b979: Download complete 13:19:19 d32db5db7311: Pull complete 13:19:20 d0c4b47475fc: Pull complete 13:19:20 5dd5c2283517: Verifying Checksum 13:19:20 5dd5c2283517: Download complete 13:19:21 5831b945b038: Verifying Checksum 13:19:21 5831b945b038: Download complete 13:19:33 5831b945b038: Pull complete 13:19:33 86bbec2aaacd: Pull complete 13:19:33 e10730c5d714: Pull complete 13:19:38 5dd5c2283517: Pull complete 13:19:40 d5ac0230b979: Pull complete 13:19:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 13:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:19:40 ---> 59b3b1a385d4 13:19:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 13:19:42 ---> Running in 62539c864bfa 13:19:42 Removing intermediate container 62539c864bfa 13:19:42 ---> 9112df9d630f 13:19:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:19:42 ---> Running in ade1b26203e0 13:19:42 Removing intermediate container ade1b26203e0 13:19:42 ---> 1352c7d6d47d 13:19:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:19:42 ---> Running in 03dbe5540c88 13:19:43 Removing intermediate container 03dbe5540c88 13:19:43 ---> 3adc354ea91e 13:19:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 13:19:43 ---> Running in c30f33ab3136 13:19:43 Removing intermediate container c30f33ab3136 13:19:43 ---> ba76f4b384f4 13:19:43 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:19:43 ---> Running in 54b2c0b03fbc 13:19:45 Removing intermediate container 54b2c0b03fbc 13:19:45 ---> 4b4578138cc9 13:19:45 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:19:45 ---> Running in 58bc29157faf 13:19:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:19:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:19:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:19:48 (2/4) Installing libedit (20210910.3.1-r0) 13:19:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:19:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:19:48 Executing busybox-1.35.0-r17.trigger 13:19:48 OK: 226 MiB in 55 packages 13:19:49 Removing intermediate container 58bc29157faf 13:19:49 ---> cba7023474f3 13:19:49 Step 9/13 : WORKDIR /device-rest-go 13:19:49 ---> Running in e4a74790f3a6 13:19:49 Removing intermediate container e4a74790f3a6 13:19:49 ---> 2114343ee012 13:19:49 Step 10/13 : COPY go.mod vendor* ./ 13:19:50 ---> ad1be808881d 13:19:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:19:50 ---> Running in 38a660c18182 13:20:37 Removing intermediate container 38a660c18182 13:20:37 ---> bb475110a69d 13:20:37 Step 12/13 : COPY . . 13:20:37 ---> 37bacaf54772 13:20:37 Step 13/13 : RUN $MAKE 13:20:37 ---> Running in d1da57dd35f4 13:20:37 noop 13:20:38 Removing intermediate container d1da57dd35f4 13:20:38 ---> 93c7ced3e561 13:20:38 Successfully built 93c7ced3e561 13:20:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:38 + docker inspect -f . ci-base-image-arm64 13:20:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:38 prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container 13:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:20:40 $ docker top 1ea532a78d6fa9fdd0ba6ec2c1f91d7a58e318597df844328bb006e11d4a76c8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:41 + go version 13:20:41 go version go1.18.7 linux/arm64 [Pipeline] } 13:20:41 $ docker stop --time=1 1ea532a78d6fa9fdd0ba6ec2c1f91d7a58e318597df844328bb006e11d4a76c8 13:20:43 $ docker rm -f 1ea532a78d6fa9fdd0ba6ec2c1f91d7a58e318597df844328bb006e11d4a76c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:44 + docker inspect -f . ci-base-image-arm64 13:20:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:44 prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container 13:20:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:20:45 $ docker top 786b002683f67fcca8cc4a6290cf19d6846d38f70c7b69cd6704d7f020037b85 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:46 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 13:20:46 + make test 13:20:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:20:48 ? github.com/edgexfoundry/device-rest-go [no test files] 13:22:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:22:25 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 13:22:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:22:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:22:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:22:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:22:37 ./bin/test-attribution-txt.sh [Pipeline] echo 13:22:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:22:37 $ docker stop --time=1 786b002683f67fcca8cc4a6290cf19d6846d38f70c7b69cd6704d7f020037b85 13:22:40 $ docker rm -f 786b002683f67fcca8cc4a6290cf19d6846d38f70c7b69cd6704d7f020037b85 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:22:41 Warning: overwriting stash ‘coverage-report’ 13:22:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:22:42 + ls -al . 13:22:42 total 176 13:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:20 . 13:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:18 .. 13:22:42 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 13:18 .dockerignore 13:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:18 .git 13:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:18 .github 13:22:42 -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 13:18 .gitignore 13:22:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:18 .golangci.yml 13:22:42 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 14 13:18 Attribution.txt 13:22:42 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 14 13:18 CHANGELOG.md 13:22:42 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 14 13:18 Dockerfile 13:22:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:18 GOVERNANCE.md 13:22:42 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 13:18 Jenkinsfile 13:22:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:18 LICENSE 13:22:42 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 14 13:18 Makefile 13:22:42 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 13:18 OWNERS.md 13:22:42 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 14 13:18 README.md 13:22:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:15 VERSION 13:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:18 bin 13:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:18 cmd 13:22:42 -rw-r--r-- 1 jenkins jenkins 9355 Oct 14 13:22 coverage.out 13:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:18 driver 13:22:42 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 14 13:18 go.mod 13:22:42 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 14 13:18 go.sum 13:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:18 snap 13:22:42 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 13:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:42 + 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=6e8a5909a9c906afe33035ec85f5e357b03f38e9 --label arch=arm64 --label version=0.0.0 . 13:22:42 Sending build context to Docker daemon 137.7kB 13:22:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:22:43 Step 2/26 : FROM ${BASE} AS builder 13:22:43 ---> 93c7ced3e561 13:22:43 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:22:43 ---> Running in 71324447827e 13:22:43 Removing intermediate container 71324447827e 13:22:43 ---> 17e73a069069 13:22:43 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:43 ---> Running in 26d3f2c48b77 13:22:43 Removing intermediate container 26d3f2c48b77 13:22:43 ---> 1bb3b97a0a4e 13:22:43 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:22:43 ---> Running in 0686e811a58b 13:22:44 Removing intermediate container 0686e811a58b 13:22:44 ---> 0b10b75d3a29 13:22:44 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:22:44 ---> Running in 1a242ae57f07 13:22:44 Removing intermediate container 1a242ae57f07 13:22:44 ---> 5243ddfc957c 13:22:44 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:22:44 ---> Running in 32420464432c 13:22:46 Removing intermediate container 32420464432c 13:22:46 ---> adae7e880797 13:22:46 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:46 ---> Running in 8606acddd2a0 13:22:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:22:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:22:49 OK: 226 MiB in 55 packages 13:22:50 Removing intermediate container 8606acddd2a0 13:22:50 ---> 72f2bae39ada 13:22:50 Step 9/26 : WORKDIR /device-rest-go 13:22:50 ---> Running in f0e96ac7e2f6 13:22:50 Removing intermediate container f0e96ac7e2f6 13:22:50 ---> c290bea3f998 13:22:50 Step 10/26 : COPY go.mod vendor* ./ 13:22:50 ---> a4090df4bc39 13:22:50 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:51 ---> Running in 9874f12e74b1 13:22:53 Removing intermediate container 9874f12e74b1 13:22:53 ---> 486b12181b31 13:22:53 Step 12/26 : COPY . . 13:22:53 ---> 4320778e1988 13:22:53 Step 13/26 : RUN $MAKE 13:22:53 ---> Running in 4eba63a8dd9f 13:22:54 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 13:25:31 Removing intermediate container 4eba63a8dd9f 13:25:31 ---> 33f097bffcdb 13:25:31 Step 14/26 : FROM alpine:3.16 13:25:31 3.16: Pulling from library/alpine 13:25:31 9b18e9b68314: Already exists 13:25:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:25:31 Status: Downloaded newer image for alpine:3.16 13:25:31 ---> a6215f271958 13:25:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:25:31 ---> Running in 18056f2b6c26 13:25:31 Removing intermediate container 18056f2b6c26 13:25:31 ---> b165475c759e 13:25:31 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 13:25:31 ---> Running in 220ca06bfa66 13:25:31 Removing intermediate container 220ca06bfa66 13:25:31 ---> 640a6f5a433c 13:25:31 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 13:25:31 ---> Running in 8fcf986ecd65 13:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:25:32 (1/6) Installing dumb-init (1.2.5-r1) 13:25:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:25:32 (3/6) Installing libsodium (1.0.18-r0) 13:25:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:25:32 (5/6) Installing libzmq (4.3.4-r0) 13:25:32 (6/6) Installing zeromq (4.3.4-r0) 13:25:32 Executing busybox-1.35.0-r17.trigger 13:25:32 OK: 8 MiB in 20 packages 13:25:33 Removing intermediate container 8fcf986ecd65 13:25:33 ---> e1ff2be385ac 13:25:33 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 13:25:35 ---> 9de50aaf8df3 13:25:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 13:25:35 ---> 6e80c758ac32 13:25:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 13:25:36 ---> 48b8ddb8bfdc 13:25:36 Step 21/26 : EXPOSE 59986 13:25:36 ---> Running in dd3ba6f69324 13:25:36 Removing intermediate container dd3ba6f69324 13:25:36 ---> baed4a60e9f7 13:25:36 Step 22/26 : ENTRYPOINT ["/device-rest"] 13:25:36 ---> Running in 7d17bdf0399e 13:25:36 Removing intermediate container 7d17bdf0399e 13:25:36 ---> c3d8ade1370b 13:25:36 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:25:36 ---> Running in eb72ed82f3d8 13:25:37 Removing intermediate container eb72ed82f3d8 13:25:37 ---> 74e4301196df 13:25:37 Step 24/26 : LABEL arch=arm64 13:25:37 ---> Running in 6d38493c1d72 13:25:37 Removing intermediate container 6d38493c1d72 13:25:37 ---> 36da61e46743 13:25:37 Step 25/26 : LABEL git_sha=6e8a5909a9c906afe33035ec85f5e357b03f38e9 13:25:37 ---> Running in 6d0dcbae60de 13:25:37 Removing intermediate container 6d0dcbae60de 13:25:37 ---> ac23a4720176 13:25:37 Step 26/26 : LABEL version=0.0.0 13:25:38 ---> Running in e261b95b5612 13:25:38 Removing intermediate container e261b95b5612 13:25:38 ---> ea4c4953a956 13:25:38 [Warning] One or more build-args [ARCH] were not consumed 13:25:38 Successfully built ea4c4953a956 13:25:38 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 13:25:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:25:39 13:25:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:25:39 arm64: Pulling from edgex-lftools-log-publisher 13:25:39 8998bd30e6a1: Pulling fs layer 13:25:39 04944245beec: Pulling fs layer 13:25:39 699f458cf7ca: Pulling fs layer 13:25:39 765212b225bb: Pulling fs layer 13:25:39 f23df028b6ca: Pulling fs layer 13:25:39 d65c8cfc05b1: Pulling fs layer 13:25:39 2437ff75d9bd: Pulling fs layer 13:25:39 765212b225bb: Waiting 13:25:39 f23df028b6ca: Waiting 13:25:39 d65c8cfc05b1: Waiting 13:25:39 2437ff75d9bd: Waiting 13:25:39 04944245beec: Verifying Checksum 13:25:39 04944245beec: Download complete 13:25:39 765212b225bb: Verifying Checksum 13:25:39 765212b225bb: Download complete 13:25:39 f23df028b6ca: Verifying Checksum 13:25:39 f23df028b6ca: Download complete 13:25:39 d65c8cfc05b1: Download complete 13:25:39 699f458cf7ca: Verifying Checksum 13:25:39 699f458cf7ca: Download complete 13:25:40 8998bd30e6a1: Verifying Checksum 13:25:40 8998bd30e6a1: Download complete 13:25:42 2437ff75d9bd: Verifying Checksum 13:25:42 2437ff75d9bd: Download complete 13:25:44 8998bd30e6a1: Pull complete 13:25:44 04944245beec: Pull complete 13:25:46 699f458cf7ca: Pull complete 13:25:46 765212b225bb: Pull complete 13:25:47 f23df028b6ca: Pull complete 13:25:47 d65c8cfc05b1: Pull complete 13:26:02 2437ff75d9bd: Pull complete 13:26:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:26:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:26:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:02 prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container 13:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:26:04 $ docker top b8c6ed5340a84f4309159766b983e9f750b4cc3d438e6c77ab251c09ee2e12da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:05 ---> job-cost.sh 13:26:05 lf-activate-venv: SKIPPING 13:26:05 INFO: No Stack... 13:26:06 INFO: Retrieving Pricing Info for: v3-standard-4 13:26:06 INFO: Archiving Costs [Pipeline] sh 13:26:07 + cat /w/workspace/device-rest-go/1/archives/cost.csv 13:26:07 + cut -d, -f6 [Pipeline] lock 13:26:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] 13:26:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] did not exist. Created. 13:26:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:26:08 /w/workspace/device-rest-go/1@tmp/durable-da64d0de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:26:08 + echo total: 0.10999999940395355 [Pipeline] stash 13:26:08 Warning: overwriting stash ‘stack-cost’ 13:26:08 Stashed 1 file(s) [Pipeline] } 13:26:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:26:08 $ docker stop --time=1 b8c6ed5340a84f4309159766b983e9f750b4cc3d438e6c77ab251c09ee2e12da 13:26:10 $ docker rm -f b8c6ed5340a84f4309159766b983e9f750b4cc3d438e6c77ab251c09ee2e12da [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 13:26:11 provisioning config files... 13:26:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config9259480738204984354tmp [Pipeline] { [Pipeline] sh 13:26:11 + set +x 13:26:11 + curl -s https://codecov.io/bash 13:26:11 + bash -s -- 13:26:11 13:26:11 _____ _ 13:26:11 / ____| | | 13:26:11 | | ___ __| | ___ ___ _____ __ 13:26:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:26:11 | |___| (_) | (_| | __/ (_| (_) \ V / 13:26:11 \_____\___/ \__,_|\___|\___\___/ \_/ 13:26:11 Bash-1.0.6 13:26:11 13:26:11 13:26:11 ==> git version 2.25.1 found 13:26:11 ==> 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 13:26:11 Release-Date: 2020-01-08 13:26:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:26:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:26:11 ==> Jenkins CI detected. 13:26:11 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-219 13:26:11 project root: . 13:26:11 --> token set from env 13:26:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:26:11 ==> Running gcov in . (disable via -X gcov) 13:26:11 ==> Python coveragepy not found 13:26:11 ==> Searching for coverage reports in: 13:26:11 + . 13:26:11 -> Found 1 reports 13:26:11 ==> Detecting git/mercurial file structure 13:26:11 ==> Reading reports 13:26:11 + ./coverage.out bytes=9355 13:26:11 ==> Appending adjustments 13:26:11 https://docs.codecov.io/docs/fixing-reports 13:26:11 + Found adjustments 13:26:11 ==> Gzipping contents 13:26:11 4.0K /tmp/codecov.WrfsWd.gz 13:26:11 ==> Uploading reports 13:26:11 url: https://codecov.io 13:26:11 query: branch=PR-219&commit=6e8a5909a9c906afe33035ec85f5e357b03f38e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=219&job=&cmd_args= 13:26:11 -> Pinging Codecov 13:26:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-219&commit=6e8a5909a9c906afe33035ec85f5e357b03f38e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=219&job=&cmd_args= 13:26:12 -> Uploading to 13:26:12 https://storage.googleapis.com/codecov/v4/raw/2022-10-14/4E5D53B4F1F92C436F7061BF334D961C/6e8a5909a9c906afe33035ec85f5e357b03f38e9/d8e1b1a7-96eb-4efc-b70c-c8a2c7d241b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221014T132612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4d1e269d3046f2f4f7dc97a0d979d3081ae47fe7fd29c242fb9d047d773c36c 13:26:12 % Total % Received % Xferd Average Speed Time Time Time Current 13:26:12 Dload Upload Total Spent Left Speed 13:26:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 8561 --:--:-- --:--:-- --:--:-- 8519 100 1738 0 0 100 1738 0 8083 --:--:-- --:--:-- --:--:-- 8046 13:26:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] } 13:26:12 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 13:26:14 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-219/archives ] 13:26:14 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-219/archives 13:26:14 total 16 13:26:14 drwxr-xr-x 3 root root 4096 Oct 14 13:17 . 13:26:14 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:17 .. 13:26:14 drwxr-xr-x 2 root root 4096 Oct 14 13:17 cost 13:26:14 -rw-r--r-- 1 root root 86 Oct 14 13:17 cost.csv 13:26:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-219/archives 13:26:14 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-219/archives 13:26:14 total 16 13:26:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:17 . 13:26:14 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:17 .. 13:26:14 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 13:17 cost 13:26:14 -rw-r--r-- 1 jenkins jenkins 86 Oct 14 13:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:26:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:26:15 ---> package-listing.sh 13:26:15 ++ facter osfamily 13:26:15 ++ tr '[:upper:]' '[:lower:]' 13:26:15 + OS_FAMILY=debian 13:26:15 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-219 13:26:15 + START_PACKAGES=/tmp/packages_start.txt 13:26:15 + END_PACKAGES=/tmp/packages_end.txt 13:26:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:26:15 + PACKAGES=/tmp/packages_start.txt 13:26:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-219 ']' 13:26:15 + PACKAGES=/tmp/packages_end.txt 13:26:15 + case "${OS_FAMILY}" in 13:26:15 + dpkg -l 13:26:15 + grep '^ii' 13:26:15 + '[' -f /tmp/packages_start.txt ']' 13:26:15 + '[' -f /tmp/packages_end.txt ']' 13:26:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:26:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-219 ']' 13:26:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-219/archives/ 13:26:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-219/archives/ [Pipeline] echo 13:26:15 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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:26:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:26:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:16 prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container 13:26:16 $ 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-219/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-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@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 13:26:16 $ docker top fc28d0596fb966c39aa558e2d3bbfaa2bdfb71a1bed12bc8a2cb108b5cae6294 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:17 + touch /tmp/pre-build-complete [Pipeline] sh 13:26:17 + mkdir -p /var/log/sysstat [Pipeline] sh 13:26:17 + ls /var/log/sa-host 13:26:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:18 provisioning config files... 13:26:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config3900049008250390072tmp [Pipeline] { [Pipeline] echo 13:26:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:26:18 ---> create-netrc.sh [Pipeline] } 13:26:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:26:18 ---> python-tools-install.sh [Pipeline] echo 13:26:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:26:19 ---> sudo-logs.sh 13:26:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:26:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:26:19 ---> job-cost.sh 13:26:19 lf-activate-venv: SKIPPING 13:26:19 DEBUG: total: 0.2199999988079071 13:26:19 INFO: Retrieving Stack Cost... 13:26:19 INFO: Retrieving Pricing Info for: v3-standard-8 13:26:20 INFO: Archiving Costs [Pipeline] echo 13:26:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:26:20 ---> logs-deploy.sh 13:26:20 lf-activate-venv: SKIPPING 13:26:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-219/1 13:26:20 INFO: archiving workspace using pattern(s): 13:26:21 Archives upload complete. 13:26:21 INFO: archiving logs to Nexus 13:26:22 ---> uname -a: 13:26:22 Linux prd-ubuntu20-04-docker-8c-8g-7860 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:26:22 13:26:22