Pull request #205 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 56a929b58b76fdc0c9b70be91cb644b567c19238+deaabcb9638c408d38a62ca07687bca64c62376f (af404470e9162f8c7afc564cb3a4acf565b39e5f) 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-ssh13964828044665489316.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh10382216430037773553.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-205/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-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11840401626572178512.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh385820569495641226.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh14149356060496065875.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-205/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-205/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9753286733380602094.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-17183’ Running on prd-ubuntu20.04-docker-8c-8g-17192 in /w/workspace/gexfoundry_device-rest-go_PR-205 [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-205 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit 56a929b58b76fdc0c9b70be91cb644b567c19238 Merge succeeded, producing 56a929b58b76fdc0c9b70be91cb644b567c19238 Checking out Revision 56a929b58b76fdc0c9b70be91cb644b567c19238 (PR-205) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:59:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:59:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:59:08 ========================================================= 21:59:08 EdgeX Global Pipelines Version Info 21:59:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:59:09 ------------------- 21:59:09 stable info: 21:59:09 ------------------- 21:59:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:59:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:59:09 Message: update stable to v1.0.234 21:59:10 ------------------- 21:59:10 experimental info: 21:59:10 ------------------- 21:59:10 Commited By: **** collab-it+edgex@linuxfoundation.org 21:59:10 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 21:59:10 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-205 [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-205 [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-205 [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56a929b [Pipeline] echo 21:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:11 provisioning config files... 21:59:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config8228668559439905395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:12 ---> docker-login.sh 21:59:12 nexus3.edgexfoundry.org:10001 21:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:12 Configure a credential helper to remove this warning. See 21:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:12 21:59:12 Login Succeeded 21:59:12 nexus3.edgexfoundry.org:10002 21:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:12 Configure a credential helper to remove this warning. See 21:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:12 21:59:12 Login Succeeded 21:59:12 nexus3.edgexfoundry.org:10003 21:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:13 Configure a credential helper to remove this warning. See 21:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:13 21:59:13 Login Succeeded 21:59:13 nexus3.edgexfoundry.org:10004 21:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:13 Configure a credential helper to remove this warning. See 21:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:13 21:59:13 Login Succeeded 21:59:13 docker.io 21:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:13 Configure a credential helper to remove this warning. See 21:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:13 21:59:13 Login Succeeded 21:59:13 ---> docker-login.sh ends [Pipeline] } 21:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:59:14 + git rev-list -1 --merges 56a929b58b76fdc0c9b70be91cb644b567c19238~1..56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo 21:59:14 -----------> git rev-list -1 --merges 56a929b58b76fdc0c9b70be91cb644b567c19238~1..56a929b58b76fdc0c9b70be91cb644b567c19238 56a929b58b76fdc0c9b70be91cb644b567c19238 [false] [Pipeline] sh 21:59:14 + git log --format=format:%s -1 56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo 21:59:14 ========================================================= 21:59:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:59:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:15 + git log --format=format:%s -1 56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo 21:59:15 [semverPrep] GIT_COMMIT: 56a929b58b76fdc0c9b70be91cb644b567c19238, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo 21:59:15 [semverPrep] This is not a build commit. [Pipeline] sh 21:59:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:59:15 + grep -v github /etc/ssh/ssh_known_hosts 21:59:15 + [ -e /tmp/ssh_known_hosts ] 21:59:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:59:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:59:15 + sudo tee -a /etc/ssh/ssh_known_hosts 21:59:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:16 21:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:16 0.1.4: Pulling from edgex-devops/py-git-semver 21:59:16 42c077c10790: Pulling fs layer 21:59:16 f63e77b7563a: Pulling fs layer 21:59:16 bd5fdadae976: Pulling fs layer 21:59:16 205491f53016: Pulling fs layer 21:59:16 df18705c85c3: Pulling fs layer 21:59:16 bdb3f477010e: Pulling fs layer 21:59:16 c8a8fc8e1c8f: Pulling fs layer 21:59:16 2c6e9b1d212d: Pulling fs layer 21:59:16 bdb8f0575790: Pulling fs layer 21:59:16 386e3cb2ff24: Pulling fs layer 21:59:16 2343380bae48: Pulling fs layer 21:59:16 df18705c85c3: Waiting 21:59:16 bdb3f477010e: Waiting 21:59:16 c8a8fc8e1c8f: Waiting 21:59:16 2c6e9b1d212d: Waiting 21:59:16 bdb8f0575790: Waiting 21:59:16 386e3cb2ff24: Waiting 21:59:16 2343380bae48: Waiting 21:59:16 205491f53016: Waiting 21:59:16 f63e77b7563a: Verifying Checksum 21:59:16 f63e77b7563a: Download complete 21:59:16 205491f53016: Verifying Checksum 21:59:16 205491f53016: Download complete 21:59:16 df18705c85c3: Verifying Checksum 21:59:16 df18705c85c3: Download complete 21:59:16 bd5fdadae976: Verifying Checksum 21:59:16 bd5fdadae976: Download complete 21:59:16 bdb3f477010e: Verifying Checksum 21:59:16 bdb3f477010e: Download complete 21:59:16 2c6e9b1d212d: Download complete 21:59:16 bdb8f0575790: Verifying Checksum 21:59:16 bdb8f0575790: Download complete 21:59:16 386e3cb2ff24: Download complete 21:59:16 2343380bae48: Verifying Checksum 21:59:16 2343380bae48: Download complete 21:59:16 42c077c10790: Verifying Checksum 21:59:16 42c077c10790: Download complete 21:59:17 c8a8fc8e1c8f: Verifying Checksum 21:59:17 c8a8fc8e1c8f: Download complete 21:59:18 42c077c10790: Pull complete 21:59:18 f63e77b7563a: Pull complete 21:59:19 bd5fdadae976: Pull complete 21:59:19 205491f53016: Pull complete 21:59:19 df18705c85c3: Pull complete 21:59:19 bdb3f477010e: Pull complete 21:59:21 c8a8fc8e1c8f: Pull complete 21:59:21 2c6e9b1d212d: Pull complete 21:59:21 bdb8f0575790: Pull complete 21:59:22 386e3cb2ff24: Pull complete 21:59:22 2343380bae48: Pull complete 21:59:22 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 21:59:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:22 prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container 21:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:59:24 $ docker top 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 -eo pid,comm 21:59:24 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). 21:59:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:59:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:24 [ssh-agent] Looking for ssh-agent implementation... 21:59:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:24 $ docker exec 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent 21:59:24 SSH_AUTH_SOCK=/tmp/ssh-GpMVIXP9hfG0/agent.32 21:59:24 SSH_AGENT_PID=38 21:59:24 Running ssh-add (command line suppressed) 21:59:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_6625654140778192869.key (/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_6625654140778192869.key) 21:59:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:25 + git tag --points-at HEAD [Pipeline] } 21:59:25 $ docker exec --env ******** --env ******** 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent -k 21:59:25 unset SSH_AUTH_SOCK; 21:59:25 unset SSH_AGENT_PID; 21:59:25 echo Agent pid 38 killed; 21:59:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:59:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:25 [ssh-agent] Looking for ssh-agent implementation... 21:59:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:25 $ docker exec 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent 21:59:25 SSH_AUTH_SOCK=/tmp/ssh-KiF4PVP6CKp6/agent.71 21:59:25 SSH_AGENT_PID=77 21:59:25 Running ssh-add (command line suppressed) 21:59:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_8134361638440153369.key (/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_8134361638440153369.key) 21:59:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:26 + git semver init 21:59:26 2022-07-07 21:59:26,212 [run_init] DEBUG init version:0.0.0 force:False 21:59:26 2022-07-07 21:59:26,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-205/.semver 21:59:26 2022-07-07 21:59:26,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-205/.semver 21:59:26 2022-07-07 21:59:26,214 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-205/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-205, universal_newlines=False, shell=None, istream=None) 21:59:27 2022-07-07 21:59:27,096 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-205/.git/info/exclude 21:59:27 2022-07-07 21:59:27,097 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-205/.semver/PR-205 with force:False 21:59:27 2022-07-07 21:59:27,097 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-205/.semver/PR-205 21:59:27 2022-07-07 21:59:27,101 [execute] INFO git cat-file --batch-check 21:59:27 2022-07-07 21:59:27,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-205/.semver, universal_newlines=False, shell=None, istream=) 21:59:27 2022-07-07 21:59:27,107 [execute] INFO git cat-file --batch 21:59:27 2022-07-07 21:59:27,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-205/.semver, universal_newlines=False, shell=None, istream=) 21:59:27 2022-07-07 21:59:27,113 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-205/.semver/PR-205 21:59:27 0.0.0 [Pipeline] } 21:59:27 $ docker exec --env ******** --env ******** 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent -k 21:59:27 unset SSH_AUTH_SOCK; 21:59:27 unset SSH_AGENT_PID; 21:59:27 echo Agent pid 77 killed; 21:59:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:59:27 + git semver [Pipeline] } 21:59:28 $ docker stop --time=1 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 21:59:29 $ docker rm -f 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 [Pipeline] // withDockerContainer [Pipeline] sh 21:59:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:59:30 Stashed 1 file(s) [Pipeline] echo 21:59:30 [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 21:59:30 provisioning config files... 21:59:30 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config3774231659484829657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:31 ---> docker-login.sh 21:59:31 nexus3.edgexfoundry.org:10001 21:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:31 Configure a credential helper to remove this warning. See 21:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:31 21:59:31 Login Succeeded 21:59:31 nexus3.edgexfoundry.org:10002 21:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:31 Configure a credential helper to remove this warning. See 21:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:31 21:59:31 Login Succeeded 21:59:31 nexus3.edgexfoundry.org:10003 21:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:31 Configure a credential helper to remove this warning. See 21:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:31 21:59:31 Login Succeeded 21:59:31 nexus3.edgexfoundry.org:10004 21:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:31 Configure a credential helper to remove this warning. See 21:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:31 21:59:31 Login Succeeded 21:59:31 docker.io 21:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:31 Configure a credential helper to remove this warning. See 21:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:31 21:59:31 Login Succeeded 21:59:31 ---> docker-login.sh ends [Pipeline] } 21:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:32 ========================================================= 21:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:59:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:59:32 Sending build context to Docker daemon 10.68MB 21:59:32 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:59:32 Step 2/12 : FROM ${BASE} AS builder 21:59:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:59:32 59bf1c3509f3: Pulling fs layer 21:59:32 666ba61612fd: Pulling fs layer 21:59:32 8ed8ca486205: Pulling fs layer 21:59:32 cc1cd167ecdc: Pulling fs layer 21:59:32 c516ae0d96e1: Pulling fs layer 21:59:32 684cea983483: Pulling fs layer 21:59:32 dd3240ac7de5: Pulling fs layer 21:59:32 b1e948a4e11c: Pulling fs layer 21:59:32 a8fd76ee1af6: Pulling fs layer 21:59:32 646ad004c059: Pulling fs layer 21:59:32 cc1cd167ecdc: Waiting 21:59:32 c516ae0d96e1: Waiting 21:59:32 684cea983483: Waiting 21:59:32 a8fd76ee1af6: Waiting 21:59:32 dd3240ac7de5: Waiting 21:59:32 b1e948a4e11c: Waiting 21:59:32 646ad004c059: Waiting 21:59:32 8ed8ca486205: Verifying Checksum 21:59:32 8ed8ca486205: Download complete 21:59:32 666ba61612fd: Verifying Checksum 21:59:32 666ba61612fd: Download complete 21:59:32 c516ae0d96e1: Verifying Checksum 21:59:32 c516ae0d96e1: Download complete 21:59:32 684cea983483: Verifying Checksum 21:59:32 684cea983483: Download complete 21:59:32 59bf1c3509f3: Verifying Checksum 21:59:32 59bf1c3509f3: Download complete 21:59:32 dd3240ac7de5: Verifying Checksum 21:59:32 dd3240ac7de5: Download complete 21:59:32 b1e948a4e11c: Verifying Checksum 21:59:32 b1e948a4e11c: Download complete 21:59:32 59bf1c3509f3: Pull complete 21:59:33 666ba61612fd: Pull complete 21:59:33 8ed8ca486205: Pull complete 21:59:33 cc1cd167ecdc: Download complete 21:59:33 a8fd76ee1af6: Verifying Checksum 21:59:33 a8fd76ee1af6: Download complete 21:59:33 646ad004c059: Verifying Checksum 21:59:33 646ad004c059: Download complete 21:59:37 cc1cd167ecdc: Pull complete 21:59:37 c516ae0d96e1: Pull complete 21:59:37 684cea983483: Pull complete 21:59:37 dd3240ac7de5: Pull complete 21:59:38 b1e948a4e11c: Pull complete 21:59:40 a8fd76ee1af6: Pull complete 21:59:41 646ad004c059: Pull complete 21:59:41 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 21:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:59:41 ---> 8f69c11f6b0c 21:59:41 Step 3/12 : ARG MAKE='make build' 21:59:43 ---> Running in 7419edc34ca3 21:59:43 Removing intermediate container 7419edc34ca3 21:59:43 ---> 0726da8e8629 21:59:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:59:43 ---> Running in 046a671c460e 21:59:43 Removing intermediate container 046a671c460e 21:59:43 ---> 609229e7914e 21:59:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:59:43 ---> Running in f46f08d0c39a 21:59:43 Removing intermediate container f46f08d0c39a 21:59:43 ---> db6d9a750e89 21:59:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:59:43 ---> Running in 834a6cb80c94 21:59:44 Removing intermediate container 834a6cb80c94 21:59:44 ---> 1ac0b9e94ee3 21:59:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:44 ---> Running in 5ddb79e46691 21:59:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:59:45 Still waiting to schedule task 21:59:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17191’ is offline 21:59:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:59:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:59:46 (2/4) Installing libedit (20210910.3.1-r0) 21:59:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:59:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:59:46 Executing busybox-1.34.1-r3.trigger 21:59:46 OK: 224 MiB in 56 packages 21:59:47 Removing intermediate container 5ddb79e46691 21:59:47 ---> 3827e8693593 21:59:47 Step 8/12 : WORKDIR /device-rest-go 21:59:47 ---> Running in 45dae14e66ce 21:59:47 Removing intermediate container 45dae14e66ce 21:59:47 ---> a9afee9a4aea 21:59:47 Step 9/12 : COPY go.mod vendor* ./ 21:59:47 ---> 1bea2e73aa54 21:59:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:47 ---> Running in cc503c4f80a7 22:00:05 Removing intermediate container cc503c4f80a7 22:00:05 ---> 849a7d2df3b2 22:00:05 Step 11/12 : COPY . . 22:00:05 ---> 91723ae3dc53 22:00:05 Step 12/12 : RUN $MAKE 22:00:05 ---> Running in 87af09efc804 22:00:05 noop 22:00:05 Removing intermediate container 87af09efc804 22:00:05 ---> f977ef016b0c 22:00:05 Successfully built f977ef016b0c 22:00:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:06 + docker inspect -f . ci-base-image-x86_64 22:00:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:06 prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container 22:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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-x86_64 cat 22:00:06 $ docker top accb808f14f8cd398530af11d09bdf3494ccd3aa1690d1ef607f64d8e34e1c56 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:07 + go version 22:00:07 go version go1.17.7 linux/amd64 [Pipeline] } 22:00:07 $ docker stop --time=1 accb808f14f8cd398530af11d09bdf3494ccd3aa1690d1ef607f64d8e34e1c56 22:00:08 $ docker rm -f accb808f14f8cd398530af11d09bdf3494ccd3aa1690d1ef607f64d8e34e1c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:09 + docker inspect -f . ci-base-image-x86_64 22:00:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:09 prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container 22:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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-x86_64 cat 22:00:09 $ docker top f4e79314cd69ab08b12aa79b7cb87e6e92b4affa7730701d281d21c1559ad509 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:00:10 + make test 22:00:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:00:10 ? github.com/edgexfoundry/device-rest-go [no test files] 22:00:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:00:20 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 22:00:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:00:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:00:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:00:31 ./bin/test-attribution-txt.sh [Pipeline] echo 22:00:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:00:32 $ docker stop --time=1 f4e79314cd69ab08b12aa79b7cb87e6e92b4affa7730701d281d21c1559ad509 22:00:34 $ docker rm -f f4e79314cd69ab08b12aa79b7cb87e6e92b4affa7730701d281d21c1559ad509 [Pipeline] // withDockerContainer [Pipeline] sh 22:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:00:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:00:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:00:35 + ls -al . 22:00:35 total 172 22:00:35 drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 22:00 . 22:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:59 .. 22:00:35 -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 21:59 .dockerignore 22:00:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 21:59 .git 22:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:59 .github 22:00:35 -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 21:59 .gitignore 22:00:35 -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 21:59 .golangci.yml 22:00:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 21:59 .semver 22:00:35 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 21:59 Attribution.txt 22:00:35 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 21:59 CHANGELOG.md 22:00:35 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 7 21:59 Dockerfile 22:00:35 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 21:59 GOVERNANCE.md 22:00:35 -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 21:59 Jenkinsfile 22:00:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 21:59 LICENSE 22:00:35 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 7 21:59 Makefile 22:00:35 -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 21:59 OWNERS.md 22:00:35 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 21:59 README.md 22:00:35 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:59 VERSION 22:00:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:59 bin 22:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:59 cmd 22:00:35 -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 22:00 coverage.out 22:00:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:59 driver 22:00:35 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 21:59 go.mod 22:00:35 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 7 21:59 go.sum 22:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:59 snap 22:00:35 -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:36 + 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=56a929b58b76fdc0c9b70be91cb644b567c19238 --label arch=amd64 --label version=0.0.0 . 22:00:36 Sending build context to Docker daemon 10.69MB 22:00:36 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:00:36 Step 2/25 : FROM ${BASE} AS builder 22:00:36 ---> f977ef016b0c 22:00:36 Step 3/25 : ARG MAKE='make build' 22:00:36 ---> Running in 95da87d6ba79 22:00:36 Removing intermediate container 95da87d6ba79 22:00:36 ---> 5e8aaaad8dc0 22:00:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:00:36 ---> Running in 2b1666658138 22:00:36 Removing intermediate container 2b1666658138 22:00:36 ---> 0d3d0bfa5952 22:00:36 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:00:36 ---> Running in 4359bfb94a70 22:00:36 Removing intermediate container 4359bfb94a70 22:00:36 ---> 99bd04eb5ce6 22:00:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:00:36 ---> Running in 00a5c7879523 22:00:37 Removing intermediate container 00a5c7879523 22:00:37 ---> 9c03efa8d564 22:00:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:37 ---> Running in ff0ffe1e788c 22:00:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:00:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:00:38 OK: 224 MiB in 56 packages 22:00:39 Removing intermediate container ff0ffe1e788c 22:00:39 ---> b0a99a7573ee 22:00:39 Step 8/25 : WORKDIR /device-rest-go 22:00:39 ---> Running in 1a7aa3c75101 22:00:39 Removing intermediate container 1a7aa3c75101 22:00:39 ---> 4d21759dac29 22:00:39 Step 9/25 : COPY go.mod vendor* ./ 22:00:39 ---> 9bacf3283807 22:00:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:39 ---> Running in 8ea22c264ca0 22:00:39 Removing intermediate container 8ea22c264ca0 22:00:39 ---> 228cc66b652a 22:00:39 Step 11/25 : COPY . . 22:00:40 ---> ac92df90c905 22:00:40 Step 12/25 : RUN $MAKE 22:00:40 ---> Running in 8370e68929ed 22:00:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:01:02 Removing intermediate container 8370e68929ed 22:01:02 ---> 38b14eb77fbb 22:01:02 Step 13/25 : FROM alpine:3.16 22:01:02 3.16: Pulling from library/alpine 22:01:02 2408cc74d12b: Pulling fs layer 22:01:02 2408cc74d12b: Verifying Checksum 22:01:02 2408cc74d12b: Download complete 22:01:02 2408cc74d12b: Pull complete 22:01:02 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:01:02 Status: Downloaded newer image for alpine:3.16 22:01:02 ---> e66264b98777 22:01:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:01:03 ---> Running in 27aa7bd04fa6 22:01:03 Removing intermediate container 27aa7bd04fa6 22:01:03 ---> e874aa7a3751 22:01:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:01:03 ---> Running in c81998348b31 22:01:03 Removing intermediate container c81998348b31 22:01:03 ---> fb200659ad8e 22:01:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:01:03 ---> Running in bfd31d03ca41 22:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:01:03 (1/6) Installing dumb-init (1.2.5-r1) 22:01:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:01:03 (3/6) Installing libsodium (1.0.18-r0) 22:01:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:01:04 (5/6) Installing libzmq (4.3.4-r0) 22:01:04 (6/6) Installing zeromq (4.3.4-r0) 22:01:04 Executing busybox-1.35.0-r13.trigger 22:01:04 OK: 8 MiB in 20 packages 22:01:04 Removing intermediate container bfd31d03ca41 22:01:04 ---> a8f5f749ecca 22:01:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:01:05 ---> 94455813abf7 22:01:05 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:01:05 ---> 2fbdc7a467d1 22:01:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:01:05 ---> f8f8a5dddc5b 22:01:05 Step 20/25 : EXPOSE 59986 22:01:05 ---> Running in 10de37d54115 22:01:05 Removing intermediate container 10de37d54115 22:01:05 ---> 7c4e8aefbeb0 22:01:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:01:05 ---> Running in 9baaa9993267 22:01:05 Removing intermediate container 9baaa9993267 22:01:05 ---> 10d147f79224 22:01:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:01:05 ---> Running in 1eaea244fd21 22:01:05 Removing intermediate container 1eaea244fd21 22:01:05 ---> 8faefbe38aa2 22:01:05 Step 23/25 : LABEL arch=amd64 22:01:05 ---> Running in eea95e0f108e 22:01:06 Removing intermediate container eea95e0f108e 22:01:06 ---> 28b08b2a3e39 22:01:06 Step 24/25 : LABEL git_sha=56a929b58b76fdc0c9b70be91cb644b567c19238 22:01:06 ---> Running in 1f068087bc1c 22:01:06 Removing intermediate container 1f068087bc1c 22:01:06 ---> 9864a5c490f5 22:01:06 Step 25/25 : LABEL version=0.0.0 22:01:06 ---> Running in 70c05d929d5e 22:01:06 Removing intermediate container 70c05d929d5e 22:01:06 ---> 2d2b82a85bad 22:01:06 [Warning] One or more build-args [ARCH] were not consumed 22:01:06 Successfully built 2d2b82a85bad 22:01:06 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 22:01:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:07 22:01:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:07 latest: Pulling from edgex-lftools-log-publisher 22:01:07 5eb5b503b376: Pulling fs layer 22:01:07 5c69ac0246d0: Pulling fs layer 22:01:07 ec43610c2a17: Pulling fs layer 22:01:07 3a2ae6a8a46f: Pulling fs layer 22:01:07 33b1e0a273af: Pulling fs layer 22:01:07 5d3b04190fa2: Pulling fs layer 22:01:07 2f39f015ded8: Pulling fs layer 22:01:07 3a2ae6a8a46f: Waiting 22:01:07 33b1e0a273af: Waiting 22:01:07 5d3b04190fa2: Waiting 22:01:07 2f39f015ded8: Waiting 22:01:07 5c69ac0246d0: Download complete 22:01:07 3a2ae6a8a46f: Download complete 22:01:07 33b1e0a273af: Verifying Checksum 22:01:07 33b1e0a273af: Download complete 22:01:07 ec43610c2a17: Verifying Checksum 22:01:07 ec43610c2a17: Download complete 22:01:07 5d3b04190fa2: Verifying Checksum 22:01:07 5d3b04190fa2: Download complete 22:01:07 5eb5b503b376: Verifying Checksum 22:01:07 5eb5b503b376: Download complete 22:01:08 2f39f015ded8: Download complete 22:01:09 5eb5b503b376: Pull complete 22:01:09 5c69ac0246d0: Pull complete 22:01:09 ec43610c2a17: Pull complete 22:01:09 3a2ae6a8a46f: Pull complete 22:01:10 33b1e0a273af: Pull complete 22:01:10 5d3b04190fa2: Pull complete 22:01:15 2f39f015ded8: Pull complete 22:01:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:01:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:15 prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container 22:01:15 $ 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-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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:latest cat 22:01:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17194 in /w/workspace/gexfoundry_device-rest-go_PR-205 22:01:17 $ docker top 014fbcac6e39a8c9308bb96160ad8519975ba3fbdc31199477c7348eda333065 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 22:01:17 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:01:17 The recommended git tool is: git 22:01:18 ---> job-cost.sh 22:01:18 lf-activate-venv: SKIPPING 22:01:18 INFO: No Stack... 22:01:18 INFO: Retrieving Pricing Info for: v3-standard-8 22:01:18 INFO: Archiving Costs [Pipeline] sh 22:01:19 + cat /w/workspace/gexfoundry_device-rest-go_PR-205/archives/cost.csv 22:01:19 + cut -d, -f6 [Pipeline] lock 22:01:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] 22:01:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] did not exist. Created. 22:01:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:01:19 + echo total: 0.2199999988079071 [Pipeline] stash 22:01:19 Stashed 1 file(s) [Pipeline] } 22:01:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:01:19 $ docker stop --time=1 014fbcac6e39a8c9308bb96160ad8519975ba3fbdc31199477c7348eda333065 22:01:21 $ docker rm -f 014fbcac6e39a8c9308bb96160ad8519975ba3fbdc31199477c7348eda333065 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:01:23 using credential edgex-jenkins-ssh 22:01:23 Cloning the remote Git repository 22:01:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:01:23 > git init /w/workspace/device-rest-go/1 # timeout=10 22:01:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:01:23 > git --version # timeout=10 22:01:23 > git --version # 'git version 2.25.1' 22:01:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:01:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:01:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:01:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:01:26 Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit 56a929b58b76fdc0c9b70be91cb644b567c19238 22:01:26 Merge succeeded, producing 56a929b58b76fdc0c9b70be91cb644b567c19238 22:01:26 Checking out Revision 56a929b58b76fdc0c9b70be91cb644b567c19238 (PR-205) 22:01:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:01:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:01:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:01:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:01:26 > git config core.sparsecheckout # timeout=10 22:01:26 > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 22:01:26 > git remote # timeout=10 22:01:26 > git config --get remote.origin.url # timeout=10 22:01:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:01:26 > git merge deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 22:01:26 > git rev-parse HEAD^{commit} # timeout=10 22:01:26 > git config core.sparsecheckout # timeout=10 22:01:26 > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 22:01:30 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" 22:01:30 > git --version # timeout=10 22:01:30 > git --version # 'git version 2.25.1' 22:01:30 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:01:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:01:31 Dload Upload Total Spent Left Speed 22:01:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 98208 0 --:--:-- --:--:-- --:--:-- 99000 [Pipeline] sh 22:01:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:01:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:01:32 + sudo tee /etc/docker/daemon.new 22:01:32 { 22:01:32 "registry-mirrors": [ 22:01:32 "https://nexus3.edgexfoundry.org:10001" 22:01:32 ], 22:01:32 "bip": "10.250.0.254/24", 22:01:32 "hosts": [ 22:01:32 "tcp://0.0.0.0:5555", 22:01:32 "unix:///var/run/docker.sock" 22:01:32 ], 22:01:32 "mtu": 1458, 22:01:32 "selinux-enabled": true, 22:01:32 "seccomp-profile": "/etc/docker/seccomp.json" 22:01:32 } [Pipeline] sh 22:01:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:01:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:52 provisioning config files... 22:01:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3520521200309371878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:52 ---> docker-login.sh 22:01:52 nexus3.edgexfoundry.org:10001 22:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:53 Configure a credential helper to remove this warning. See 22:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:53 22:01:53 Login Succeeded 22:01:53 nexus3.edgexfoundry.org:10002 22:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:53 Configure a credential helper to remove this warning. See 22:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:53 22:01:53 Login Succeeded 22:01:53 nexus3.edgexfoundry.org:10003 22:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:54 Configure a credential helper to remove this warning. See 22:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:54 22:01:54 Login Succeeded 22:01:54 nexus3.edgexfoundry.org:10004 22:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:54 Configure a credential helper to remove this warning. See 22:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:54 22:01:54 Login Succeeded 22:01:54 docker.io 22:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:55 Configure a credential helper to remove this warning. See 22:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:55 22:01:55 Login Succeeded 22:01:55 ---> docker-login.sh ends [Pipeline] } 22:01:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:56 ========================================================= 22:01:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:01:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:01:56 Sending build context to Docker daemon 126.5kB 22:01:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:01:56 Step 2/12 : FROM ${BASE} AS builder 22:01:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:01:56 9b3977197b4f: Pulling fs layer 22:01:56 1a89e8eeedd5: Pulling fs layer 22:01:56 94645a83ff95: Pulling fs layer 22:01:56 e6fb740bc735: Pulling fs layer 22:01:56 3a77bd46dcc9: Pulling fs layer 22:01:56 355e64cbe906: Pulling fs layer 22:01:56 63ab81a10011: Pulling fs layer 22:01:56 555d1d1c4555: Pulling fs layer 22:01:56 7d9057610161: Pulling fs layer 22:01:56 63ab81a10011: Waiting 22:01:56 e6fb740bc735: Waiting 22:01:56 3a77bd46dcc9: Waiting 22:01:56 555d1d1c4555: Waiting 22:01:56 7d9057610161: Waiting 22:01:56 355e64cbe906: Waiting 22:01:57 94645a83ff95: Verifying Checksum 22:01:57 94645a83ff95: Download complete 22:01:57 1a89e8eeedd5: Verifying Checksum 22:01:57 1a89e8eeedd5: Download complete 22:01:57 3a77bd46dcc9: Verifying Checksum 22:01:57 3a77bd46dcc9: Download complete 22:01:57 355e64cbe906: Verifying Checksum 22:01:57 355e64cbe906: Download complete 22:01:57 63ab81a10011: Verifying Checksum 22:01:57 63ab81a10011: Download complete 22:01:57 9b3977197b4f: Verifying Checksum 22:01:57 9b3977197b4f: Download complete 22:01:58 9b3977197b4f: Pull complete 22:01:58 7d9057610161: Verifying Checksum 22:01:58 7d9057610161: Download complete 22:01:58 1a89e8eeedd5: Pull complete 22:01:59 94645a83ff95: Pull complete 22:01:59 555d1d1c4555: Verifying Checksum 22:01:59 555d1d1c4555: Download complete 22:01:59 e6fb740bc735: Verifying Checksum 22:01:59 e6fb740bc735: Download complete 22:02:12 e6fb740bc735: Pull complete 22:02:12 3a77bd46dcc9: Pull complete 22:02:12 355e64cbe906: Pull complete 22:02:12 63ab81a10011: Pull complete 22:02:17 555d1d1c4555: Pull complete 22:02:19 7d9057610161: Pull complete 22:02:19 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 22:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:02:19 ---> 819e984ddca1 22:02:19 Step 3/12 : ARG MAKE='make build' 22:02:20 ---> Running in 4c19adb258e2 22:02:20 Removing intermediate container 4c19adb258e2 22:02:20 ---> f56584b2ccd3 22:02:20 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:02:21 ---> Running in 1d799f669d42 22:02:21 Removing intermediate container 1d799f669d42 22:02:21 ---> 20ea20331f0b 22:02:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:02:21 ---> Running in 00728c3d4c98 22:02:21 Removing intermediate container 00728c3d4c98 22:02:21 ---> 61c6eea41b27 22:02:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:02:21 ---> Running in 89f3f3d2c008 22:02:24 Removing intermediate container 89f3f3d2c008 22:02:24 ---> a291b7abefac 22:02:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:24 ---> Running in 057b6852621a 22:02:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:02:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:02:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:02:27 (2/4) Installing libedit (20210910.3.1-r0) 22:02:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:02:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:02:27 Executing busybox-1.34.1-r3.trigger 22:02:27 OK: 224 MiB in 56 packages 22:02:28 Removing intermediate container 057b6852621a 22:02:28 ---> 76d54dfbd747 22:02:28 Step 8/12 : WORKDIR /device-rest-go 22:02:29 ---> Running in bdfa9b71e731 22:02:29 Removing intermediate container bdfa9b71e731 22:02:29 ---> 8f8d066c8834 22:02:29 Step 9/12 : COPY go.mod vendor* ./ 22:02:30 ---> ec06bcab4fa5 22:02:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:30 ---> Running in 006102f89f96 22:03:17 Removing intermediate container 006102f89f96 22:03:17 ---> 94d1411dc93f 22:03:17 Step 11/12 : COPY . . 22:03:17 ---> f243c0339989 22:03:17 Step 12/12 : RUN $MAKE 22:03:17 ---> Running in 7a8f31d44008 22:03:17 noop 22:03:17 Removing intermediate container 7a8f31d44008 22:03:17 ---> 2399a94e45dc 22:03:17 Successfully built 2399a94e45dc 22:03:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:17 + docker inspect -f . ci-base-image-arm64 22:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container 22:03:18 $ 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 22:03:19 $ docker top 0477e24e4da73d1eba5047018cdd3bd50f1862427a0f987d5fa17deb73237474 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:20 + go version 22:03:20 go version go1.17.7 linux/arm64 [Pipeline] } 22:03:20 $ docker stop --time=1 0477e24e4da73d1eba5047018cdd3bd50f1862427a0f987d5fa17deb73237474 22:03:21 $ docker rm -f 0477e24e4da73d1eba5047018cdd3bd50f1862427a0f987d5fa17deb73237474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:22 + docker inspect -f . ci-base-image-arm64 22:03:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:23 prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container 22:03:23 $ 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 22:03:24 $ docker top 11462c44b0fe32d79e36640261d27f2495587fc19fe527901a66d0665e82afd8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:03:25 + make test 22:03:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:03:27 ? github.com/edgexfoundry/device-rest-go [no test files] 22:04:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:04:49 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements 22:04:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:04:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:05:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:05:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:05:16 ./bin/test-attribution-txt.sh [Pipeline] echo 22:05:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:05:16 $ docker stop --time=1 11462c44b0fe32d79e36640261d27f2495587fc19fe527901a66d0665e82afd8 22:05:18 $ docker rm -f 11462c44b0fe32d79e36640261d27f2495587fc19fe527901a66d0665e82afd8 [Pipeline] // withDockerContainer [Pipeline] sh 22:05:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:05:19 Warning: overwriting stash ‘coverage-report’ 22:05:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:05:21 + ls -al . 22:05:21 total 168 22:05:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 22:03 . 22:05:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 22:01 .. 22:05:21 -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 22:01 .dockerignore 22:05:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 22:01 .git 22:05:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 22:01 .github 22:05:21 -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 22:01 .gitignore 22:05:21 -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 22:01 .golangci.yml 22:05:21 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 22:01 Attribution.txt 22:05:21 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 22:01 CHANGELOG.md 22:05:21 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 7 22:01 Dockerfile 22:05:21 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 22:01 GOVERNANCE.md 22:05:21 -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 22:01 Jenkinsfile 22:05:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 22:01 LICENSE 22:05:21 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 7 22:01 Makefile 22:05:21 -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 22:01 OWNERS.md 22:05:21 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 22:01 README.md 22:05:21 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:59 VERSION 22:05:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 22:01 bin 22:05:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 22:01 cmd 22:05:21 -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 22:04 coverage.out 22:05:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 22:01 driver 22:05:21 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 22:01 go.mod 22:05:21 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 7 22:01 go.sum 22:05:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 22:01 snap 22:05:21 -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:21 + 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=56a929b58b76fdc0c9b70be91cb644b567c19238 --label arch=arm64 --label version=0.0.0 . 22:05:21 Sending build context to Docker daemon 136.7kB 22:05:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:05:21 Step 2/25 : FROM ${BASE} AS builder 22:05:21 ---> 2399a94e45dc 22:05:21 Step 3/25 : ARG MAKE='make build' 22:05:22 ---> Running in 9bfb3eb330e1 22:05:22 Removing intermediate container 9bfb3eb330e1 22:05:22 ---> 1165c116f085 22:05:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:05:22 ---> Running in 7855ac60edf6 22:05:22 Removing intermediate container 7855ac60edf6 22:05:22 ---> 90f784e2408c 22:05:22 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:05:22 ---> Running in d8928ee2b0b7 22:05:23 Removing intermediate container d8928ee2b0b7 22:05:23 ---> f16d44601681 22:05:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:05:23 ---> Running in 6d752ca15af0 22:05:24 Removing intermediate container 6d752ca15af0 22:05:24 ---> 79697e65bb1b 22:05:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:05:24 ---> Running in 2045a4cdd778 22:05:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:05:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:05:27 OK: 224 MiB in 56 packages 22:05:28 Removing intermediate container 2045a4cdd778 22:05:28 ---> c0905c5b0eee 22:05:28 Step 8/25 : WORKDIR /device-rest-go 22:05:28 ---> Running in 7a986065a7ce 22:05:28 Removing intermediate container 7a986065a7ce 22:05:28 ---> f373a2f6e6d2 22:05:28 Step 9/25 : COPY go.mod vendor* ./ 22:05:29 ---> ead653f66ac8 22:05:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:05:29 ---> Running in 46abefac1d70 22:05:31 Removing intermediate container 46abefac1d70 22:05:31 ---> 15ff7ce00ed5 22:05:31 Step 11/25 : COPY . . 22:05:31 ---> 3da335702b7d 22:05:31 Step 12/25 : RUN $MAKE 22:05:31 ---> Running in 550b0f7b6d66 22:05:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:07:39 Removing intermediate container 550b0f7b6d66 22:07:39 ---> 0f36797b2b2e 22:07:39 Step 13/25 : FROM alpine:3.16 22:07:39 3.16: Pulling from library/alpine 22:07:39 b3c136eddcbf: Pulling fs layer 22:07:40 b3c136eddcbf: Download complete 22:07:40 b3c136eddcbf: Pull complete 22:07:40 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:07:40 Status: Downloaded newer image for alpine:3.16 22:07:40 ---> 6e30ab57aeee 22:07:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:07:40 ---> Running in d5ddbcb340c5 22:07:41 Removing intermediate container d5ddbcb340c5 22:07:41 ---> 1cedebeb8c24 22:07:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:07:41 ---> Running in e91fd6f6d832 22:07:41 Removing intermediate container e91fd6f6d832 22:07:41 ---> 87b167357259 22:07:41 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:07:41 ---> Running in 68b5fe5f6440 22:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:07:44 (1/6) Installing dumb-init (1.2.5-r1) 22:07:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:07:44 (3/6) Installing libsodium (1.0.18-r0) 22:07:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:07:44 (5/6) Installing libzmq (4.3.4-r0) 22:07:44 (6/6) Installing zeromq (4.3.4-r0) 22:07:44 Executing busybox-1.35.0-r13.trigger 22:07:44 OK: 8 MiB in 20 packages 22:07:45 Removing intermediate container 68b5fe5f6440 22:07:45 ---> 0accac16b74b 22:07:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:07:46 ---> 0500cf2ad5fd 22:07:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:07:47 ---> f802c17f57fc 22:07:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:07:47 ---> 39bb73f0a168 22:07:47 Step 20/25 : EXPOSE 59986 22:07:48 ---> Running in 0adf2ab5a82a 22:07:48 Removing intermediate container 0adf2ab5a82a 22:07:48 ---> 9687fb88b67e 22:07:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:07:48 ---> Running in 8619fb76c372 22:07:48 Removing intermediate container 8619fb76c372 22:07:48 ---> e7b0c76a9f56 22:07:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:07:49 ---> Running in d5260228f444 22:07:49 Removing intermediate container d5260228f444 22:07:49 ---> e5f7ff08485c 22:07:49 Step 23/25 : LABEL arch=arm64 22:07:49 ---> Running in e4b0fdcaeb1f 22:07:49 Removing intermediate container e4b0fdcaeb1f 22:07:49 ---> 17273ce95bf9 22:07:49 Step 24/25 : LABEL git_sha=56a929b58b76fdc0c9b70be91cb644b567c19238 22:07:49 ---> Running in 7ba695342641 22:07:50 Removing intermediate container 7ba695342641 22:07:50 ---> c06ca2a89b12 22:07:50 Step 25/25 : LABEL version=0.0.0 22:07:50 ---> Running in bdb96de5d025 22:07:50 Removing intermediate container bdb96de5d025 22:07:50 ---> db5d7b7e3dc6 22:07:50 [Warning] One or more build-args [ARCH] were not consumed 22:07:50 Successfully built db5d7b7e3dc6 22:07:50 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 22:07:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:51 22:07:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:51 arm64: Pulling from edgex-lftools-log-publisher 22:07:51 8998bd30e6a1: Pulling fs layer 22:07:51 04944245beec: Pulling fs layer 22:07:51 699f458cf7ca: Pulling fs layer 22:07:51 765212b225bb: Pulling fs layer 22:07:51 f23df028b6ca: Pulling fs layer 22:07:51 d65c8cfc05b1: Pulling fs layer 22:07:51 2437ff75d9bd: Pulling fs layer 22:07:51 765212b225bb: Waiting 22:07:51 f23df028b6ca: Waiting 22:07:51 d65c8cfc05b1: Waiting 22:07:51 04944245beec: Verifying Checksum 22:07:51 04944245beec: Download complete 22:07:51 765212b225bb: Verifying Checksum 22:07:51 765212b225bb: Download complete 22:07:51 f23df028b6ca: Verifying Checksum 22:07:51 f23df028b6ca: Download complete 22:07:51 d65c8cfc05b1: Verifying Checksum 22:07:51 d65c8cfc05b1: Download complete 22:07:52 699f458cf7ca: Verifying Checksum 22:07:52 699f458cf7ca: Download complete 22:07:52 8998bd30e6a1: Verifying Checksum 22:07:52 8998bd30e6a1: Download complete 22:07:55 2437ff75d9bd: Verifying Checksum 22:07:55 2437ff75d9bd: Download complete 22:07:57 8998bd30e6a1: Pull complete 22:07:58 04944245beec: Pull complete 22:07:59 699f458cf7ca: Pull complete 22:07:59 765212b225bb: Pull complete 22:08:00 f23df028b6ca: Pull complete 22:08:01 d65c8cfc05b1: Pull complete 22:08:19 2437ff75d9bd: Pull complete 22:08:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:08:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:19 prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container 22:08:19 $ 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 22:08:22 $ docker top 6dae5fd07c9be5708ce0004341a1fd5bb27527f6a3e8200649ff1df2d98069af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:23 ---> job-cost.sh 22:08:23 lf-activate-venv: SKIPPING 22:08:23 INFO: No Stack... 22:08:24 INFO: Retrieving Pricing Info for: v3-standard-4 22:08:25 INFO: Archiving Costs [Pipeline] sh 22:08:25 + cat /w/workspace/device-rest-go/1/archives/cost.csv 22:08:25 + cut -d, -f6 [Pipeline] lock 22:08:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] 22:08:25 Resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] did not exist. Created. 22:08:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:08:26 /w/workspace/device-rest-go/1@tmp/durable-98ad5cbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:08:27 + echo total: 0.10999999940395355 [Pipeline] stash 22:08:27 Warning: overwriting stash ‘stack-cost’ 22:08:27 Stashed 1 file(s) [Pipeline] } 22:08:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:08:27 $ docker stop --time=1 6dae5fd07c9be5708ce0004341a1fd5bb27527f6a3e8200649ff1df2d98069af 22:08:28 $ docker rm -f 6dae5fd07c9be5708ce0004341a1fd5bb27527f6a3e8200649ff1df2d98069af [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 22:08:29 provisioning config files... 22:08:29 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config7325689082405241122tmp [Pipeline] { [Pipeline] sh 22:08:30 + set +x 22:08:30 + curl -s https://codecov.io/bash 22:08:30 + bash -s -- 22:08:30 22:08:30 _____ _ 22:08:30 / ____| | | 22:08:30 | | ___ __| | ___ ___ _____ __ 22:08:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:08:30 | |___| (_) | (_| | __/ (_| (_) \ V / 22:08:30 \_____\___/ \__,_|\___|\___\___/ \_/ 22:08:30 Bash-1.0.6 22:08:30 22:08:30 22:08:30 ==> git version 2.25.1 found 22:08:30 ==> 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 22:08:30 Release-Date: 2020-01-08 22:08:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:08:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:08:30 ==> Jenkins CI detected. 22:08:30 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-205 22:08:30 project root: . 22:08:30 --> token set from env 22:08:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:08:30 ==> Running gcov in . (disable via -X gcov) 22:08:30 ==> Python coveragepy not found 22:08:30 ==> Searching for coverage reports in: 22:08:30 + . 22:08:30 -> Found 1 reports 22:08:30 ==> Detecting git/mercurial file structure 22:08:30 ==> Reading reports 22:08:30 + ./coverage.out bytes=9355 22:08:30 ==> Appending adjustments 22:08:30 https://docs.codecov.io/docs/fixing-reports 22:08:30 + Found adjustments 22:08:30 ==> Gzipping contents 22:08:30 4.0K /tmp/codecov.xWDNNK.gz 22:08:30 ==> Uploading reports 22:08:30 url: https://codecov.io 22:08:30 query: branch=PR-205&commit=56a929b58b76fdc0c9b70be91cb644b567c19238&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-205%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=205&job=&cmd_args= 22:08:30 -> Pinging Codecov 22:08:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-205&commit=56a929b58b76fdc0c9b70be91cb644b567c19238&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-205%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=205&job=&cmd_args= 22:08:30 -> Uploading to 22:08:30 https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/56a929b58b76fdc0c9b70be91cb644b567c19238/2ec7ffe4-409a-4e6f-87ed-325bef108b87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T220830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8df9d659915423f6ee4c8555dd2593a5683bf7bd059fb44b9603957c9bb24ee8 22:08:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:08:30 Dload Upload Total Spent Left Speed 22:08:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 8399 --:--:-- --:--:-- --:--:-- 8399 22:08:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] } 22:08:31 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 22:08:32 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-205/archives ] 22:08:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-205/archives 22:08:32 total 16 22:08:32 drwxr-xr-x 3 root root 4096 Jul 7 22:01 . 22:08:32 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 22:01 .. 22:08:32 drwxr-xr-x 2 root root 4096 Jul 7 22:01 cost 22:08:32 -rw-r--r-- 1 root root 85 Jul 7 22:01 cost.csv 22:08:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-205/archives 22:08:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-205/archives 22:08:32 total 16 22:08:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 22:01 . 22:08:32 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 22:01 .. 22:08:32 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 22:01 cost 22:08:32 -rw-r--r-- 1 jenkins jenkins 85 Jul 7 22:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:08:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:08:34 ---> package-listing.sh 22:08:34 ++ facter osfamily 22:08:34 ++ tr '[:upper:]' '[:lower:]' 22:08:34 + OS_FAMILY=debian 22:08:34 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-205 22:08:34 + START_PACKAGES=/tmp/packages_start.txt 22:08:34 + END_PACKAGES=/tmp/packages_end.txt 22:08:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:08:34 + PACKAGES=/tmp/packages_start.txt 22:08:34 + '[' /w/workspace/gexfoundry_device-rest-go_PR-205 ']' 22:08:34 + PACKAGES=/tmp/packages_end.txt 22:08:34 + case "${OS_FAMILY}" in 22:08:34 + dpkg -l 22:08:34 + grep '^ii' 22:08:34 + '[' -f /tmp/packages_start.txt ']' 22:08:34 + '[' -f /tmp/packages_end.txt ']' 22:08:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:08:34 + '[' /w/workspace/gexfoundry_device-rest-go_PR-205 ']' 22:08:34 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-205/archives/ 22:08:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-205/archives/ [Pipeline] echo 22:08:34 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-205/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:08:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:08:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:35 prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container 22:08:35 $ 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-205/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-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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 22:08:35 $ docker top 143492c538f94a0d07d36d9460890663bd0097b07a47eb659d8e2e6972a02caf -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:36 + touch /tmp/pre-build-complete [Pipeline] sh 22:08:36 + mkdir -p /var/log/sysstat [Pipeline] sh 22:08:36 + ls /var/log/sa-host 22:08:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:36 provisioning config files... 22:08:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config1775299284489388932tmp [Pipeline] { [Pipeline] echo 22:08:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:08:37 ---> create-netrc.sh [Pipeline] } 22:08:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:08:37 ---> python-tools-install.sh [Pipeline] echo 22:08:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:08:38 ---> sudo-logs.sh 22:08:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:08:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:08:38 ---> job-cost.sh 22:08:38 lf-activate-venv: SKIPPING 22:08:38 DEBUG: total: 0.2199999988079071 22:08:38 INFO: Retrieving Stack Cost... 22:08:39 INFO: Retrieving Pricing Info for: v3-standard-8 22:08:39 INFO: Archiving Costs [Pipeline] echo 22:08:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:08:39 ---> logs-deploy.sh 22:08:39 lf-activate-venv: SKIPPING 22:08:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-205/1 22:08:39 INFO: archiving workspace using pattern(s): 22:08:40 Archives upload complete. 22:08:41 INFO: archiving logs to Nexus 22:08:41 ---> uname -a: 22:08:41 Linux prd-ubuntu20-04-docker-8c-8g-17192 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:08:41 22:08:41 22:08:41 ---> lscpu: 22:08:41 Architecture: x86_64 22:08:41 CPU op-mode(s): 32-bit, 64-bit 22:08:41 Byte Order: Little Endian 22:08:41 Address sizes: 40 bits physical, 48 bits virtual 22:08:41 CPU(s): 8 22:08:41 On-line CPU(s) list: 0-7 22:08:41 Thread(s) per core: 1 22:08:41 Core(s) per socket: 1 22:08:41 Socket(s): 8 22:08:41 NUMA node(s): 1 22:08:41 Vendor ID: AuthenticAMD 22:08:41 CPU family: 23 22:08:41 Model: 49 22:08:41 Model name: AMD EPYC-Rome Processor 22:08:41 Stepping: 0 22:08:41 CPU MHz: 2799.996 22:08:41 BogoMIPS: 5599.99 22:08:41 Virtualization: AMD-V 22:08:41 Hypervisor vendor: KVM 22:08:41 Virtualization type: full 22:08:41 L1d cache: 256 KiB 22:08:41 L1i cache: 256 KiB 22:08:41 L2 cache: 4 MiB 22:08:41 L3 cache: 128 MiB 22:08:41 NUMA node0 CPU(s): 0-7 22:08:41 Vulnerability Itlb multihit: Not affected 22:08:41 Vulnerability L1tf: Not affected 22:08:41 Vulnerability Mds: Not affected 22:08:41 Vulnerability Meltdown: Not affected 22:08:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:08:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:08:41 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:08:41 Vulnerability Srbds: Not affected 22:08:41 Vulnerability Tsx async abort: Not affected 22:08:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:08:41 22:08:41 22:08:41 ---> nproc: 22:08:41 8 22:08:41 22:08:41