Pull request #202 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 rather than 5129bb747eb0d4e9647a0a00868555b5168ad271 Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh6278602798420799489.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-ssh14100647795630853990.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2922280607337196407.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 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-ssh9952597005463094256.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14245309510920215272.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17123 in /w/workspace/gexfoundry_device-rest-go_PR-202 [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-202 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 5129bb747eb0d4e9647a0a00868555b5168ad271 Merge succeeded, producing 5129bb747eb0d4e9647a0a00868555b5168ad271 Checking out Revision 5129bb747eb0d4e9647a0a00868555b5168ad271 (PR-202) > 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/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5129bb747eb0d4e9647a0a00868555b5168ad271 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5129bb747eb0d4e9647a0a00868555b5168ad271 # timeout=10 Commit message: "refactor(snap): Update configure .go and install.go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T09:31:19.536Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T09:31:19.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T09:31:19.608Z] ========================================================= [2022-07-07T09:31:19.608Z] EdgeX Global Pipelines Version Info [2022-07-07T09:31:19.608Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7d6adb19658aebbdce1e1ab237d480acf111f8fb # timeout=10 [2022-07-07T09:31:20.364Z] ------------------- [2022-07-07T09:31:20.364Z] stable info: [2022-07-07T09:31:20.364Z] ------------------- [2022-07-07T09:31:20.364Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T09:31:20.364Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T09:31:20.364Z] Message: update stable to v1.0.234 [2022-07-07T09:31:20.941Z] ------------------- [2022-07-07T09:31:20.941Z] experimental info: [2022-07-07T09:31:20.941Z] ------------------- [2022-07-07T09:31:20.941Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T09:31:20.941Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T09:31:20.941Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T09:31:21.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-07T09:31:21.137Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-07T09:31:21.145Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T09:31:21.153Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T09:31:21.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T09:31:21.169Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T09:31:21.177Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T09:31:21.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T09:31:21.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T09:31:21.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T09:31:21.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T09:31:21.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-07T09:31:21.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T09:31:21.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T09:31:21.258Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T09:31:21.272Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T09:31:21.282Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T09:31:21.293Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T09:31:21.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T09:31:21.317Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T09:31:21.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T09:31:21.348Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T09:31:21.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T09:31:21.380Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T09:31:21.391Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T09:31:21.402Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T09:31:21.415Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T09:31:21.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-07-07T09:31:21.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-07-07T09:31:21.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-07-07T09:31:21.465Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5129bb747eb0d4e9647a0a00868555b5168ad271 [Pipeline] echo [2022-07-07T09:31:21.481Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5129bb7 [Pipeline] echo [2022-07-07T09:31:21.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T09:31:21.531Z] provisioning config files... [2022-07-07T09:31:21.546Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config7878071508412424898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:31:21.863Z] ---> docker-login.sh [2022-07-07T09:31:21.863Z] nexus3.edgexfoundry.org:10001 [2022-07-07T09:31:22.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:22.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:22.388Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:22.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:22.388Z] [2022-07-07T09:31:22.388Z] Login Succeeded [2022-07-07T09:31:22.388Z] nexus3.edgexfoundry.org:10002 [2022-07-07T09:31:22.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:22.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:22.388Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:22.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:22.388Z] [2022-07-07T09:31:22.388Z] Login Succeeded [2022-07-07T09:31:22.388Z] nexus3.edgexfoundry.org:10003 [2022-07-07T09:31:22.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:22.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:22.650Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:22.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:22.650Z] [2022-07-07T09:31:22.650Z] Login Succeeded [2022-07-07T09:31:22.650Z] nexus3.edgexfoundry.org:10004 [2022-07-07T09:31:22.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:22.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:22.912Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:22.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:22.912Z] [2022-07-07T09:31:22.912Z] Login Succeeded [2022-07-07T09:31:22.912Z] docker.io [2022-07-07T09:31:22.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:23.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:23.174Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:23.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:23.174Z] [2022-07-07T09:31:23.174Z] Login Succeeded [2022-07-07T09:31:23.174Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T09:31:23.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T09:31:23.583Z] + git rev-list -1 --merges 5129bb747eb0d4e9647a0a00868555b5168ad271~1..5129bb747eb0d4e9647a0a00868555b5168ad271 [Pipeline] echo [2022-07-07T09:31:23.702Z] -----------> git rev-list -1 --merges 5129bb747eb0d4e9647a0a00868555b5168ad271~1..5129bb747eb0d4e9647a0a00868555b5168ad271 5129bb747eb0d4e9647a0a00868555b5168ad271 [false] [Pipeline] sh [2022-07-07T09:31:23.994Z] + git log --format=format:%s -1 5129bb747eb0d4e9647a0a00868555b5168ad271 [Pipeline] echo [2022-07-07T09:31:24.012Z] ========================================================= [2022-07-07T09:31:24.012Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T09:31:24.012Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T09:31:24.345Z] + git log --format=format:%s -1 5129bb747eb0d4e9647a0a00868555b5168ad271 [Pipeline] echo [2022-07-07T09:31:24.357Z] [semverPrep] GIT_COMMIT: 5129bb747eb0d4e9647a0a00868555b5168ad271, Commit Message: refactor(snap): Update configure .go and install.go [Pipeline] echo [2022-07-07T09:31:24.366Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T09:31:24.732Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T09:31:24.732Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T09:31:24.732Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T09:31:24.732Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T09:31:24.732Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T09:31:24.732Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T09:31:24.732Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:31:25.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T09:31:25.149Z] [2022-07-07T09:31:25.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:31:25.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T09:31:25.459Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T09:31:25.459Z] 42c077c10790: Pulling fs layer [2022-07-07T09:31:25.459Z] f63e77b7563a: Pulling fs layer [2022-07-07T09:31:25.459Z] bd5fdadae976: Pulling fs layer [2022-07-07T09:31:25.459Z] 205491f53016: Pulling fs layer [2022-07-07T09:31:25.459Z] df18705c85c3: Pulling fs layer [2022-07-07T09:31:25.459Z] bdb3f477010e: Pulling fs layer [2022-07-07T09:31:25.459Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T09:31:25.459Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T09:31:25.459Z] bdb8f0575790: Pulling fs layer [2022-07-07T09:31:25.459Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T09:31:25.459Z] 2343380bae48: Pulling fs layer [2022-07-07T09:31:25.459Z] 205491f53016: Waiting [2022-07-07T09:31:25.459Z] 2c6e9b1d212d: Waiting [2022-07-07T09:31:25.459Z] df18705c85c3: Waiting [2022-07-07T09:31:25.459Z] bdb3f477010e: Waiting [2022-07-07T09:31:25.459Z] c8a8fc8e1c8f: Waiting [2022-07-07T09:31:25.459Z] bdb8f0575790: Waiting [2022-07-07T09:31:25.459Z] 386e3cb2ff24: Waiting [2022-07-07T09:31:25.459Z] 2343380bae48: Waiting [2022-07-07T09:31:25.459Z] f63e77b7563a: Verifying Checksum [2022-07-07T09:31:25.459Z] f63e77b7563a: Download complete [2022-07-07T09:31:25.459Z] 205491f53016: Verifying Checksum [2022-07-07T09:31:25.459Z] 205491f53016: Download complete [2022-07-07T09:31:25.723Z] bd5fdadae976: Verifying Checksum [2022-07-07T09:31:25.723Z] bd5fdadae976: Download complete [2022-07-07T09:31:25.723Z] df18705c85c3: Verifying Checksum [2022-07-07T09:31:25.723Z] df18705c85c3: Download complete [2022-07-07T09:31:25.723Z] bdb3f477010e: Verifying Checksum [2022-07-07T09:31:25.723Z] bdb3f477010e: Download complete [2022-07-07T09:31:25.723Z] 2c6e9b1d212d: Download complete [2022-07-07T09:31:25.723Z] bdb8f0575790: Download complete [2022-07-07T09:31:25.723Z] 386e3cb2ff24: Verifying Checksum [2022-07-07T09:31:25.723Z] 386e3cb2ff24: Download complete [2022-07-07T09:31:25.723Z] 2343380bae48: Verifying Checksum [2022-07-07T09:31:25.723Z] 2343380bae48: Download complete [2022-07-07T09:31:25.723Z] 42c077c10790: Verifying Checksum [2022-07-07T09:31:25.723Z] 42c077c10790: Download complete [2022-07-07T09:31:25.983Z] c8a8fc8e1c8f: Download complete [2022-07-07T09:31:27.365Z] 42c077c10790: Pull complete [2022-07-07T09:31:27.365Z] f63e77b7563a: Pull complete [2022-07-07T09:31:27.938Z] bd5fdadae976: Pull complete [2022-07-07T09:31:27.938Z] 205491f53016: Pull complete [2022-07-07T09:31:28.199Z] df18705c85c3: Pull complete [2022-07-07T09:31:28.460Z] bdb3f477010e: Pull complete [2022-07-07T09:31:30.381Z] c8a8fc8e1c8f: Pull complete [2022-07-07T09:31:30.381Z] 2c6e9b1d212d: Pull complete [2022-07-07T09:31:30.642Z] bdb8f0575790: Pull complete [2022-07-07T09:31:30.642Z] 386e3cb2ff24: Pull complete [2022-07-07T09:31:30.642Z] 2343380bae48: Pull complete [2022-07-07T09:31:30.904Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T09:31:30.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T09:31:30.904Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:31:31.015Z] prd-ubuntu20.04-docker-8c-8g-17123 does not seem to be running inside a container [2022-07-07T09:31:31.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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-devops/py-git-semver:0.1.4 cat [2022-07-07T09:31:32.536Z] $ docker top 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a -eo pid,comm [2022-07-07T09:31:32.604Z] 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). [2022-07-07T09:31:32.604Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T09:31:32.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T09:31:32.642Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T09:31:32.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T09:31:32.785Z] $ docker exec 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a ssh-agent [2022-07-07T09:31:32.922Z] SSH_AUTH_SOCK=/tmp/ssh-RWBdAiP2cB7d/agent.32 [2022-07-07T09:31:32.922Z] SSH_AGENT_PID=38 [2022-07-07T09:31:32.929Z] Running ssh-add (command line suppressed) [2022-07-07T09:31:33.058Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_5441893179653620203.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_5441893179653620203.key) [2022-07-07T09:31:33.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T09:31:33.367Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T09:31:33.384Z] $ docker exec --env ******** --env ******** 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a ssh-agent -k [2022-07-07T09:31:33.503Z] unset SSH_AUTH_SOCK; [2022-07-07T09:31:33.503Z] unset SSH_AGENT_PID; [2022-07-07T09:31:33.503Z] echo Agent pid 38 killed; [2022-07-07T09:31:33.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T09:31:33.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T09:31:33.535Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T09:31:33.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T09:31:33.673Z] $ docker exec 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a ssh-agent [2022-07-07T09:31:33.797Z] SSH_AUTH_SOCK=/tmp/ssh-3gsgDXGRpZ0a/agent.71 [2022-07-07T09:31:33.797Z] SSH_AGENT_PID=77 [2022-07-07T09:31:33.803Z] Running ssh-add (command line suppressed) [2022-07-07T09:31:33.929Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_3614351108845177565.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_3614351108845177565.key) [2022-07-07T09:31:33.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T09:31:34.241Z] + git semver init [2022-07-07T09:31:34.503Z] 2022-07-07 09:31:34,457 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T09:31:34.503Z] 2022-07-07 09:31:34,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-07T09:31:34.503Z] 2022-07-07 09:31:34,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-07T09:31:34.503Z] 2022-07-07 09:31:34,458 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,348 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,349 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,349 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,354 [execute] INFO git cat-file --batch-check [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,361 [execute] INFO git cat-file --batch [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T09:31:35.455Z] 2022-07-07 09:31:35,366 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-07T09:31:35.455Z] 0.0.0 [Pipeline] } [2022-07-07T09:31:35.469Z] $ docker exec --env ******** --env ******** 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a ssh-agent -k [2022-07-07T09:31:35.589Z] unset SSH_AUTH_SOCK; [2022-07-07T09:31:35.589Z] unset SSH_AGENT_PID; [2022-07-07T09:31:35.589Z] echo Agent pid 77 killed; [2022-07-07T09:31:35.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T09:31:35.915Z] + git semver [Pipeline] } [2022-07-07T09:31:36.196Z] $ docker stop --time=1 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a [2022-07-07T09:31:37.562Z] $ docker rm -f 5d45159b1d49ff00f7cbfb5da97b6326d4f55e77ba48a66a4eec074c57bb372a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T09:31:37.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T09:31:38.203Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T09:31:38.206Z] [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 [2022-07-07T09:31:38.340Z] provisioning config files... [2022-07-07T09:31:38.351Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config5910061688125949033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:31:38.654Z] ---> docker-login.sh [2022-07-07T09:31:38.654Z] nexus3.edgexfoundry.org:10001 [2022-07-07T09:31:38.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:38.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:38.654Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:38.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:38.654Z] [2022-07-07T09:31:38.654Z] Login Succeeded [2022-07-07T09:31:38.654Z] nexus3.edgexfoundry.org:10002 [2022-07-07T09:31:38.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:38.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:38.915Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:38.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:38.915Z] [2022-07-07T09:31:38.915Z] Login Succeeded [2022-07-07T09:31:38.915Z] nexus3.edgexfoundry.org:10003 [2022-07-07T09:31:38.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:38.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:38.915Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:38.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:38.915Z] [2022-07-07T09:31:38.915Z] Login Succeeded [2022-07-07T09:31:38.916Z] nexus3.edgexfoundry.org:10004 [2022-07-07T09:31:39.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:39.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:39.177Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:39.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:39.177Z] [2022-07-07T09:31:39.177Z] Login Succeeded [2022-07-07T09:31:39.177Z] docker.io [2022-07-07T09:31:39.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:31:39.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:31:39.439Z] Configure a credential helper to remove this warning. See [2022-07-07T09:31:39.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:31:39.439Z] [2022-07-07T09:31:39.439Z] Login Succeeded [2022-07-07T09:31:39.439Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T09:31:39.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T09:31:39.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:31:39.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:31:39.536Z] ========================================================= [2022-07-07T09:31:39.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T09:31:39.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:31:39.858Z] + 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 . [2022-07-07T09:31:39.858Z] Sending build context to Docker daemon 10.68MB [2022-07-07T09:31:39.858Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:31:39.858Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T09:31:39.858Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T09:31:39.858Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T09:31:39.858Z] 666ba61612fd: Pulling fs layer [2022-07-07T09:31:39.858Z] 8ed8ca486205: Pulling fs layer [2022-07-07T09:31:39.858Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T09:31:39.858Z] c516ae0d96e1: Pulling fs layer [2022-07-07T09:31:39.858Z] 684cea983483: Pulling fs layer [2022-07-07T09:31:39.858Z] dd3240ac7de5: Pulling fs layer [2022-07-07T09:31:39.858Z] b1e948a4e11c: Pulling fs layer [2022-07-07T09:31:39.858Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T09:31:39.858Z] 646ad004c059: Pulling fs layer [2022-07-07T09:31:39.858Z] cc1cd167ecdc: Waiting [2022-07-07T09:31:39.858Z] dd3240ac7de5: Waiting [2022-07-07T09:31:39.858Z] c516ae0d96e1: Waiting [2022-07-07T09:31:39.858Z] 684cea983483: Waiting [2022-07-07T09:31:39.858Z] b1e948a4e11c: Waiting [2022-07-07T09:31:39.858Z] 646ad004c059: Waiting [2022-07-07T09:31:39.858Z] 8ed8ca486205: Verifying Checksum [2022-07-07T09:31:39.858Z] 8ed8ca486205: Download complete [2022-07-07T09:31:40.121Z] 666ba61612fd: Download complete [2022-07-07T09:31:40.121Z] c516ae0d96e1: Verifying Checksum [2022-07-07T09:31:40.121Z] c516ae0d96e1: Download complete [2022-07-07T09:31:40.121Z] 684cea983483: Download complete [2022-07-07T09:31:40.121Z] dd3240ac7de5: Verifying Checksum [2022-07-07T09:31:40.121Z] dd3240ac7de5: Download complete [2022-07-07T09:31:40.121Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T09:31:40.121Z] 59bf1c3509f3: Download complete [2022-07-07T09:31:40.121Z] b1e948a4e11c: Verifying Checksum [2022-07-07T09:31:40.121Z] b1e948a4e11c: Download complete [2022-07-07T09:31:40.121Z] 59bf1c3509f3: Pull complete [2022-07-07T09:31:40.383Z] 666ba61612fd: Pull complete [2022-07-07T09:31:40.383Z] 8ed8ca486205: Pull complete [2022-07-07T09:31:40.645Z] 646ad004c059: Verifying Checksum [2022-07-07T09:31:40.645Z] 646ad004c059: Download complete [2022-07-07T09:31:40.904Z] cc1cd167ecdc: Download complete [2022-07-07T09:31:40.904Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T09:31:40.904Z] a8fd76ee1af6: Download complete [2022-07-07T09:31:45.109Z] cc1cd167ecdc: Pull complete [2022-07-07T09:31:45.109Z] c516ae0d96e1: Pull complete [2022-07-07T09:31:45.109Z] 684cea983483: Pull complete [2022-07-07T09:31:45.109Z] dd3240ac7de5: Pull complete [2022-07-07T09:31:45.109Z] b1e948a4e11c: Pull complete [2022-07-07T09:31:47.647Z] a8fd76ee1af6: Pull complete [2022-07-07T09:31:47.908Z] 646ad004c059: Pull complete [2022-07-07T09:31:47.908Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T09:31:47.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T09:31:47.908Z] ---> 8f69c11f6b0c [2022-07-07T09:31:47.908Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T09:31:49.839Z] ---> Running in 21735f3b27fe [2022-07-07T09:31:49.839Z] Removing intermediate container 21735f3b27fe [2022-07-07T09:31:49.839Z] ---> 3cab1db8c7ae [2022-07-07T09:31:49.839Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:31:49.839Z] ---> Running in cf7a156eab52 [2022-07-07T09:31:49.839Z] Removing intermediate container cf7a156eab52 [2022-07-07T09:31:49.839Z] ---> bba75a4cf348 [2022-07-07T09:31:49.839Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:31:49.839Z] ---> Running in b1f840e119d7 [2022-07-07T09:31:49.839Z] Removing intermediate container b1f840e119d7 [2022-07-07T09:31:49.839Z] ---> 426b820906f2 [2022-07-07T09:31:49.839Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:31:50.101Z] ---> Running in 3ee8e684ffef [2022-07-07T09:31:50.674Z] Removing intermediate container 3ee8e684ffef [2022-07-07T09:31:50.674Z] ---> 1c36250e1c63 [2022-07-07T09:31:50.674Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:31:50.674Z] ---> Running in 8374e425dbd5 [2022-07-07T09:31:50.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T09:31:51.881Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T09:31:52.142Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T09:31:52.142Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T09:31:52.142Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T09:31:52.403Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T09:31:52.403Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T09:31:52.403Z] OK: 224 MiB in 56 packages [2022-07-07T09:31:52.980Z] Removing intermediate container 8374e425dbd5 [2022-07-07T09:31:52.980Z] ---> 2a2d953a6504 [2022-07-07T09:31:52.980Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T09:31:52.980Z] ---> Running in 110eb575c8bb [2022-07-07T09:31:52.980Z] Removing intermediate container 110eb575c8bb [2022-07-07T09:31:52.980Z] ---> 1132bde09277 [2022-07-07T09:31:52.980Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T09:31:53.242Z] ---> 651b82ad0195 [2022-07-07T09:31:53.242Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:31:53.242Z] ---> Running in 9b6c35d92581 [2022-07-07T09:31:53.311Z] Still waiting to schedule task [2022-07-07T09:31:53.311Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-07T09:32:15.229Z] Removing intermediate container 9b6c35d92581 [2022-07-07T09:32:15.229Z] ---> 5917793f3713 [2022-07-07T09:32:15.229Z] Step 11/12 : COPY . . [2022-07-07T09:32:15.229Z] ---> c1625ab07a1b [2022-07-07T09:32:15.229Z] Step 12/12 : RUN $MAKE [2022-07-07T09:32:15.229Z] ---> Running in 751811d7f224 [2022-07-07T09:32:15.229Z] noop [2022-07-07T09:32:15.229Z] Removing intermediate container 751811d7f224 [2022-07-07T09:32:15.229Z] ---> 2bf61f24743a [2022-07-07T09:32:15.229Z] Successfully built 2bf61f24743a [2022-07-07T09:32:15.229Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:32:15.558Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T09:32:15.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:32:15.648Z] prd-ubuntu20.04-docker-8c-8g-17123 does not seem to be running inside a container [2022-07-07T09:32:15.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T09:32:16.097Z] $ docker top c22b6ab375987c23531770008f27852a10f82d5a76e46e9e37381b443eb3b604 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T09:32:16.456Z] + go version [2022-07-07T09:32:16.456Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T09:32:16.471Z] $ docker stop --time=1 c22b6ab375987c23531770008f27852a10f82d5a76e46e9e37381b443eb3b604 [2022-07-07T09:32:17.774Z] $ docker rm -f c22b6ab375987c23531770008f27852a10f82d5a76e46e9e37381b443eb3b604 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:32:18.186Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T09:32:18.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:32:18.303Z] prd-ubuntu20.04-docker-8c-8g-17123 does not seem to be running inside a container [2022-07-07T09:32:18.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T09:32:18.790Z] $ docker top 90f771f93d24ecee1375fda7c52adb0a5c2e83939ca7e12e9776fa8856b27bb5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T09:32:19.165Z] + make test [2022-07-07T09:32:19.166Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T09:32:19.426Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T09:32:29.417Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T09:32:29.418Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-07-07T09:32:37.552Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T09:32:40.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T09:32:40.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T09:32:40.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T09:32:40.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T09:32:40.689Z] $ docker stop --time=1 90f771f93d24ecee1375fda7c52adb0a5c2e83939ca7e12e9776fa8856b27bb5 [2022-07-07T09:32:42.446Z] $ docker rm -f 90f771f93d24ecee1375fda7c52adb0a5c2e83939ca7e12e9776fa8856b27bb5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T09:32:42.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T09:32:42.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T09:32:43.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T09:32:43.766Z] + ls -al . [2022-07-07T09:32:43.766Z] total 172 [2022-07-07T09:32:43.766Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 09:32 . [2022-07-07T09:32:43.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:31 .. [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 09:31 .dockerignore [2022-07-07T09:32:43.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 09:31 .git [2022-07-07T09:32:43.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:31 .github [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 09:31 .gitignore [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 09:31 .golangci.yml [2022-07-07T09:32:43.766Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 09:31 .semver [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 09:31 Attribution.txt [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 09:31 CHANGELOG.md [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 09:31 Dockerfile [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 09:31 GOVERNANCE.md [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 09:31 Jenkinsfile [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 09:31 LICENSE [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 09:31 Makefile [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 09:31 OWNERS.md [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 09:31 README.md [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 09:31 VERSION [2022-07-07T09:32:43.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:31 bin [2022-07-07T09:32:43.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:31 cmd [2022-07-07T09:32:43.766Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 09:32 coverage.out [2022-07-07T09:32:43.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:31 driver [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 09:31 go.mod [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 09:31 go.sum [2022-07-07T09:32:43.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:31 snap [2022-07-07T09:32:43.766Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 09:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:32:44.090Z] + 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=5129bb747eb0d4e9647a0a00868555b5168ad271 --label arch=amd64 --label version=0.0.0 . [2022-07-07T09:32:44.090Z] Sending build context to Docker daemon 10.69MB [2022-07-07T09:32:44.090Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:32:44.090Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T09:32:44.090Z] ---> 2bf61f24743a [2022-07-07T09:32:44.090Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T09:32:44.350Z] ---> Running in 638b46ec107d [2022-07-07T09:32:44.350Z] Removing intermediate container 638b46ec107d [2022-07-07T09:32:44.350Z] ---> ed7d030669ed [2022-07-07T09:32:44.350Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:32:44.350Z] ---> Running in f0eb33e3c266 [2022-07-07T09:32:44.351Z] Removing intermediate container f0eb33e3c266 [2022-07-07T09:32:44.351Z] ---> 9d5a7f807cd3 [2022-07-07T09:32:44.351Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:32:44.612Z] ---> Running in ca30d0dc9aa1 [2022-07-07T09:32:44.612Z] Removing intermediate container ca30d0dc9aa1 [2022-07-07T09:32:44.612Z] ---> 63dffb76a518 [2022-07-07T09:32:44.612Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:32:44.612Z] ---> Running in 87d88ad6c087 [2022-07-07T09:32:45.189Z] Removing intermediate container 87d88ad6c087 [2022-07-07T09:32:45.189Z] ---> bf7ce12dfca1 [2022-07-07T09:32:45.189Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:32:45.189Z] ---> Running in 40e1000a695a [2022-07-07T09:32:45.762Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T09:32:46.334Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T09:32:46.907Z] OK: 224 MiB in 56 packages [2022-07-07T09:32:47.167Z] Removing intermediate container 40e1000a695a [2022-07-07T09:32:47.167Z] ---> b91eb9fc1ceb [2022-07-07T09:32:47.168Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T09:32:47.168Z] ---> Running in 4672a35ca496 [2022-07-07T09:32:47.168Z] Removing intermediate container 4672a35ca496 [2022-07-07T09:32:47.168Z] ---> 29787c85b27f [2022-07-07T09:32:47.168Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T09:32:47.427Z] ---> f91dac6c0a07 [2022-07-07T09:32:47.427Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:32:47.427Z] ---> Running in 76af32b6fd08 [2022-07-07T09:32:47.998Z] Removing intermediate container 76af32b6fd08 [2022-07-07T09:32:47.998Z] ---> 5beb253fbc1f [2022-07-07T09:32:47.998Z] Step 11/25 : COPY . . [2022-07-07T09:32:48.570Z] ---> d7f06276c7d9 [2022-07-07T09:32:48.570Z] Step 12/25 : RUN $MAKE [2022-07-07T09:32:48.570Z] ---> Running in a4d2d6d40e7d [2022-07-07T09:32:48.832Z] 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 [2022-07-07T09:33:10.798Z] Removing intermediate container a4d2d6d40e7d [2022-07-07T09:33:10.798Z] ---> ff769d2b39eb [2022-07-07T09:33:10.798Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T09:33:10.798Z] 3.14: Pulling from library/alpine [2022-07-07T09:33:10.798Z] 8663204ce13b: Pulling fs layer [2022-07-07T09:33:10.798Z] 8663204ce13b: Verifying Checksum [2022-07-07T09:33:10.798Z] 8663204ce13b: Download complete [2022-07-07T09:33:10.798Z] 8663204ce13b: Pull complete [2022-07-07T09:33:10.798Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T09:33:10.798Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T09:33:10.798Z] ---> e04c818066af [2022-07-07T09:33:10.798Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T09:33:10.798Z] ---> Running in 9d62d709365f [2022-07-07T09:33:10.798Z] Removing intermediate container 9d62d709365f [2022-07-07T09:33:10.798Z] ---> 022b64465c4d [2022-07-07T09:33:10.798Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T09:33:10.798Z] ---> Running in 2d7078c7f0a8 [2022-07-07T09:33:10.798Z] Removing intermediate container 2d7078c7f0a8 [2022-07-07T09:33:10.798Z] ---> 6a40e2962012 [2022-07-07T09:33:10.798Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T09:33:10.798Z] ---> Running in fa513e632495 [2022-07-07T09:33:10.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-07T09:33:10.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-07T09:33:10.798Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T09:33:10.798Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T09:33:10.798Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T09:33:10.798Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T09:33:10.798Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T09:33:10.798Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T09:33:10.798Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T09:33:10.798Z] OK: 8 MiB in 20 packages [2022-07-07T09:33:10.798Z] Removing intermediate container fa513e632495 [2022-07-07T09:33:10.798Z] ---> c000294f0b7e [2022-07-07T09:33:10.798Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T09:33:11.367Z] ---> f2bec5a4e95e [2022-07-07T09:33:11.367Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T09:33:11.367Z] ---> eb06a24e1d95 [2022-07-07T09:33:11.367Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T09:33:11.629Z] ---> 25fe2b6658f7 [2022-07-07T09:33:11.629Z] Step 20/25 : EXPOSE 59986 [2022-07-07T09:33:11.629Z] ---> Running in bef000f3d8df [2022-07-07T09:33:11.629Z] Removing intermediate container bef000f3d8df [2022-07-07T09:33:11.629Z] ---> b27b01a03420 [2022-07-07T09:33:11.629Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T09:33:11.629Z] ---> Running in 600b32f2cd6d [2022-07-07T09:33:11.889Z] Removing intermediate container 600b32f2cd6d [2022-07-07T09:33:11.889Z] ---> 1d8feaf9dc90 [2022-07-07T09:33:11.889Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T09:33:11.889Z] ---> Running in 3ca395daeaac [2022-07-07T09:33:11.889Z] Removing intermediate container 3ca395daeaac [2022-07-07T09:33:11.889Z] ---> 72eebecdb8c1 [2022-07-07T09:33:11.889Z] Step 23/25 : LABEL arch=amd64 [2022-07-07T09:33:12.150Z] ---> Running in c930e9a61f3b [2022-07-07T09:33:12.150Z] Removing intermediate container c930e9a61f3b [2022-07-07T09:33:12.150Z] ---> 3e5fa42e3c48 [2022-07-07T09:33:12.150Z] Step 24/25 : LABEL git_sha=5129bb747eb0d4e9647a0a00868555b5168ad271 [2022-07-07T09:33:12.150Z] ---> Running in 99c0ce9e7e99 [2022-07-07T09:33:12.150Z] Removing intermediate container 99c0ce9e7e99 [2022-07-07T09:33:12.150Z] ---> ee614df2fffc [2022-07-07T09:33:12.150Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T09:33:12.412Z] ---> Running in 56ab98b1fff9 [2022-07-07T09:33:12.412Z] Removing intermediate container 56ab98b1fff9 [2022-07-07T09:33:12.412Z] ---> 603c286847e0 [2022-07-07T09:33:12.412Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T09:33:12.412Z] Successfully built 603c286847e0 [2022-07-07T09:33:12.412Z] 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 [2022-07-07T09:33:12.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:33:12.884Z] [2022-07-07T09:33:12.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:33:13.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:33:13.198Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T09:33:13.198Z] 5eb5b503b376: Pulling fs layer [2022-07-07T09:33:13.198Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T09:33:13.198Z] ec43610c2a17: Pulling fs layer [2022-07-07T09:33:13.198Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T09:33:13.198Z] 33b1e0a273af: Pulling fs layer [2022-07-07T09:33:13.198Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T09:33:13.198Z] 2f39f015ded8: Pulling fs layer [2022-07-07T09:33:13.198Z] 3a2ae6a8a46f: Waiting [2022-07-07T09:33:13.198Z] 33b1e0a273af: Waiting [2022-07-07T09:33:13.198Z] 2f39f015ded8: Waiting [2022-07-07T09:33:13.198Z] 5c69ac0246d0: Download complete [2022-07-07T09:33:13.198Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-07T09:33:13.198Z] 3a2ae6a8a46f: Download complete [2022-07-07T09:33:13.198Z] 33b1e0a273af: Verifying Checksum [2022-07-07T09:33:13.198Z] 33b1e0a273af: Download complete [2022-07-07T09:33:13.459Z] 5d3b04190fa2: Download complete [2022-07-07T09:33:13.459Z] ec43610c2a17: Verifying Checksum [2022-07-07T09:33:13.459Z] 5eb5b503b376: Download complete [2022-07-07T09:33:14.096Z] 2f39f015ded8: Download complete [2022-07-07T09:33:14.676Z] 5eb5b503b376: Pull complete [2022-07-07T09:33:14.936Z] 5c69ac0246d0: Pull complete [2022-07-07T09:33:15.507Z] ec43610c2a17: Pull complete [2022-07-07T09:33:15.507Z] 3a2ae6a8a46f: Pull complete [2022-07-07T09:33:15.768Z] 33b1e0a273af: Pull complete [2022-07-07T09:33:15.768Z] 5d3b04190fa2: Pull complete [2022-07-07T09:33:19.965Z] 2f39f015ded8: Pull complete [2022-07-07T09:33:19.965Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T09:33:19.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:33:19.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:33:20.064Z] prd-ubuntu20.04-docker-8c-8g-17123 does not seem to be running inside a container [2022-07-07T09:33:20.117Z] $ 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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T09:33:21.840Z] $ docker top 0051d27dd20150538e8d60c93247c1b2ea431035d5b3638c483a66d08ec33aaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:33:22.339Z] ---> job-cost.sh [2022-07-07T09:33:22.339Z] lf-activate-venv: SKIPPING [2022-07-07T09:33:22.339Z] INFO: No Stack... [2022-07-07T09:33:22.599Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T09:33:22.858Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T09:33:23.150Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-07-07T09:33:23.151Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T09:33:23.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] [2022-07-07T09:33:23.172Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] did not exist. Created. [2022-07-07T09:33:23.172Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T09:33:23.486Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T09:33:23.517Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T09:33:23.524Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T09:33:23.548Z] $ docker stop --time=1 0051d27dd20150538e8d60c93247c1b2ea431035d5b3638c483a66d08ec33aaf [2022-07-07T09:33:24.730Z] $ docker rm -f 0051d27dd20150538e8d60c93247c1b2ea431035d5b3638c483a66d08ec33aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T09:33:28.633Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17124 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-07-07T09:33:28.648Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2022-07-07T09:33:28.694Z] The recommended git tool is: git [2022-07-07T09:33:35.211Z] using credential edgex-jenkins-ssh [2022-07-07T09:33:35.233Z] Cloning the remote Git repository [2022-07-07T09:33:35.284Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T09:33:35.371Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2022-07-07T09:33:35.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T09:33:35.437Z] > git --version # timeout=10 [2022-07-07T09:33:35.456Z] > git --version # 'git version 2.25.1' [2022-07-07T09:33:35.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T09:33:35.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T09:33:37.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T09:33:37.366Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T09:33:37.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T09:33:37.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T09:33:37.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T09:33:37.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T09:33:37.978Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 5129bb747eb0d4e9647a0a00868555b5168ad271 [2022-07-07T09:33:38.208Z] Merge succeeded, producing 5129bb747eb0d4e9647a0a00868555b5168ad271 [2022-07-07T09:33:38.209Z] Checking out Revision 5129bb747eb0d4e9647a0a00868555b5168ad271 (PR-202) [2022-07-07T09:33:37.999Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T09:33:38.019Z] > git checkout -f 5129bb747eb0d4e9647a0a00868555b5168ad271 # timeout=10 [2022-07-07T09:33:38.111Z] > git remote # timeout=10 [2022-07-07T09:33:38.137Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T09:33:38.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T09:33:38.165Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-07-07T09:33:38.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T09:33:38.215Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T09:33:38.234Z] > git checkout -f 5129bb747eb0d4e9647a0a00868555b5168ad271 # timeout=10 [2022-07-07T09:33:42.800Z] Commit message: "refactor(snap): Update configure .go and install.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T09:33:43.704Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T09:33:43.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T09:33:43.704Z] Dload Upload Total Spent Left Speed [2022-07-07T09:33:43.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88151 0 --:--:-- --:--:-- --:--:-- 88789 [Pipeline] sh [2022-07-07T09:33:44.347Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T09:33:44.724Z] + sudo tee /etc/docker/daemon.new [2022-07-07T09:33:44.724Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-07T09:33:44.724Z] { [2022-07-07T09:33:44.724Z] "registry-mirrors": [ [2022-07-07T09:33:44.724Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T09:33:44.724Z] ], [2022-07-07T09:33:44.724Z] "bip": "10.250.0.254/24", [2022-07-07T09:33:44.724Z] "hosts": [ [2022-07-07T09:33:44.724Z] "tcp://0.0.0.0:5555", [2022-07-07T09:33:44.724Z] "unix:///var/run/docker.sock" [2022-07-07T09:33:44.724Z] ], [2022-07-07T09:33:44.724Z] "mtu": 1458, [2022-07-07T09:33:44.724Z] "selinux-enabled": true, [2022-07-07T09:33:44.724Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T09:33:44.724Z] } [Pipeline] sh [2022-07-07T09:33:45.063Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T09:33:45.395Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T09:34:03.764Z] provisioning config files... [2022-07-07T09:34:03.787Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config6407468791526558006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:34:04.147Z] ---> docker-login.sh [2022-07-07T09:34:04.147Z] nexus3.edgexfoundry.org:10001 [2022-07-07T09:34:04.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:34:05.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:34:05.022Z] Configure a credential helper to remove this warning. See [2022-07-07T09:34:05.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:34:05.022Z] [2022-07-07T09:34:05.022Z] Login Succeeded [2022-07-07T09:34:05.022Z] nexus3.edgexfoundry.org:10002 [2022-07-07T09:34:05.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:34:05.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:34:05.297Z] Configure a credential helper to remove this warning. See [2022-07-07T09:34:05.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:34:05.297Z] [2022-07-07T09:34:05.297Z] Login Succeeded [2022-07-07T09:34:05.297Z] nexus3.edgexfoundry.org:10003 [2022-07-07T09:34:05.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:34:05.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:34:05.896Z] Configure a credential helper to remove this warning. See [2022-07-07T09:34:05.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:34:05.896Z] [2022-07-07T09:34:05.896Z] Login Succeeded [2022-07-07T09:34:05.896Z] nexus3.edgexfoundry.org:10004 [2022-07-07T09:34:06.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:34:06.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:34:06.445Z] Configure a credential helper to remove this warning. See [2022-07-07T09:34:06.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:34:06.445Z] [2022-07-07T09:34:06.445Z] Login Succeeded [2022-07-07T09:34:06.445Z] docker.io [2022-07-07T09:34:06.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:34:06.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:34:06.987Z] Configure a credential helper to remove this warning. See [2022-07-07T09:34:06.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:34:06.987Z] [2022-07-07T09:34:06.987Z] Login Succeeded [2022-07-07T09:34:06.987Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T09:34:07.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T09:34:07.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:34:07.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:34:07.508Z] ========================================================= [2022-07-07T09:34:07.508Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T09:34:07.508Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:34:07.896Z] + 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 . [2022-07-07T09:34:07.896Z] Sending build context to Docker daemon 127.5kB [2022-07-07T09:34:08.168Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:34:08.168Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T09:34:08.444Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T09:34:08.444Z] 9b3977197b4f: Pulling fs layer [2022-07-07T09:34:08.444Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T09:34:08.444Z] 94645a83ff95: Pulling fs layer [2022-07-07T09:34:08.444Z] e6fb740bc735: Pulling fs layer [2022-07-07T09:34:08.444Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T09:34:08.444Z] 355e64cbe906: Pulling fs layer [2022-07-07T09:34:08.444Z] 63ab81a10011: Pulling fs layer [2022-07-07T09:34:08.444Z] 555d1d1c4555: Pulling fs layer [2022-07-07T09:34:08.444Z] 7d9057610161: Pulling fs layer [2022-07-07T09:34:08.444Z] 355e64cbe906: Waiting [2022-07-07T09:34:08.444Z] 63ab81a10011: Waiting [2022-07-07T09:34:08.444Z] 555d1d1c4555: Waiting [2022-07-07T09:34:08.444Z] 7d9057610161: Waiting [2022-07-07T09:34:08.444Z] e6fb740bc735: Waiting [2022-07-07T09:34:08.444Z] 3a77bd46dcc9: Waiting [2022-07-07T09:34:08.444Z] 94645a83ff95: Verifying Checksum [2022-07-07T09:34:08.444Z] 94645a83ff95: Download complete [2022-07-07T09:34:08.444Z] 1a89e8eeedd5: Download complete [2022-07-07T09:34:08.444Z] 3a77bd46dcc9: Download complete [2022-07-07T09:34:08.444Z] 355e64cbe906: Verifying Checksum [2022-07-07T09:34:08.444Z] 355e64cbe906: Download complete [2022-07-07T09:34:08.444Z] 63ab81a10011: Download complete [2022-07-07T09:34:08.444Z] 9b3977197b4f: Verifying Checksum [2022-07-07T09:34:08.444Z] 9b3977197b4f: Download complete [2022-07-07T09:34:09.435Z] 9b3977197b4f: Pull complete [2022-07-07T09:34:09.435Z] 7d9057610161: Verifying Checksum [2022-07-07T09:34:09.435Z] 7d9057610161: Download complete [2022-07-07T09:34:10.042Z] 1a89e8eeedd5: Pull complete [2022-07-07T09:34:10.321Z] 94645a83ff95: Pull complete [2022-07-07T09:34:10.595Z] 555d1d1c4555: Download complete [2022-07-07T09:34:11.194Z] e6fb740bc735: Verifying Checksum [2022-07-07T09:34:11.194Z] e6fb740bc735: Download complete [2022-07-07T09:34:23.600Z] e6fb740bc735: Pull complete [2022-07-07T09:34:23.600Z] 3a77bd46dcc9: Pull complete [2022-07-07T09:34:23.600Z] 355e64cbe906: Pull complete [2022-07-07T09:34:23.876Z] 63ab81a10011: Pull complete [2022-07-07T09:34:30.601Z] 555d1d1c4555: Pull complete [2022-07-07T09:34:32.586Z] 7d9057610161: Pull complete [2022-07-07T09:34:32.586Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T09:34:32.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T09:34:32.586Z] ---> 819e984ddca1 [2022-07-07T09:34:32.586Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T09:34:33.184Z] ---> Running in 4be92f9d2667 [2022-07-07T09:34:33.463Z] Removing intermediate container 4be92f9d2667 [2022-07-07T09:34:33.463Z] ---> bd8d096a90d8 [2022-07-07T09:34:33.463Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:34:33.463Z] ---> Running in f8d70169008c [2022-07-07T09:34:33.739Z] Removing intermediate container f8d70169008c [2022-07-07T09:34:33.739Z] ---> e3b5c08f69ab [2022-07-07T09:34:33.739Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:34:34.019Z] ---> Running in 82c21c75af19 [2022-07-07T09:34:34.295Z] Removing intermediate container 82c21c75af19 [2022-07-07T09:34:34.295Z] ---> c371133284ac [2022-07-07T09:34:34.296Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:34:34.296Z] ---> Running in 128eca8fa055 [2022-07-07T09:34:37.688Z] Removing intermediate container 128eca8fa055 [2022-07-07T09:34:37.688Z] ---> 264d232586ab [2022-07-07T09:34:37.688Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:34:37.688Z] ---> Running in fa3fe90f8a5a [2022-07-07T09:34:38.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T09:34:39.262Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T09:34:39.870Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T09:34:39.870Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T09:34:40.141Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T09:34:40.141Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T09:34:40.415Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T09:34:40.415Z] OK: 224 MiB in 56 packages [2022-07-07T09:34:41.403Z] Removing intermediate container fa3fe90f8a5a [2022-07-07T09:34:41.403Z] ---> 3363886adf8b [2022-07-07T09:34:41.403Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T09:34:41.403Z] ---> Running in 30123f8e760e [2022-07-07T09:34:41.679Z] Removing intermediate container 30123f8e760e [2022-07-07T09:34:41.679Z] ---> 3d207c3f9d5d [2022-07-07T09:34:41.679Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T09:34:42.297Z] ---> 761ab98495dc [2022-07-07T09:34:42.297Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:34:42.297Z] ---> Running in 08e0bef57a52 [2022-07-07T09:35:29.308Z] Removing intermediate container 08e0bef57a52 [2022-07-07T09:35:29.308Z] ---> bb69125199c1 [2022-07-07T09:35:29.308Z] Step 11/12 : COPY . . [2022-07-07T09:35:29.308Z] ---> c7be29f15365 [2022-07-07T09:35:29.308Z] Step 12/12 : RUN $MAKE [2022-07-07T09:35:29.308Z] ---> Running in 8a7699fe441b [2022-07-07T09:35:29.308Z] noop [2022-07-07T09:35:29.308Z] Removing intermediate container 8a7699fe441b [2022-07-07T09:35:29.308Z] ---> ae4fe729e194 [2022-07-07T09:35:29.308Z] Successfully built ae4fe729e194 [2022-07-07T09:35:29.308Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:35:29.677Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T09:35:29.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:35:29.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-17124 does not seem to be running inside a container [2022-07-07T09:35:29.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T09:35:31.227Z] $ docker top c6d56a165dbbb8b7674221d848b70d1a414313550fbb8f35233d8f413857419e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T09:35:32.141Z] + go version [2022-07-07T09:35:32.141Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T09:35:32.167Z] $ docker stop --time=1 c6d56a165dbbb8b7674221d848b70d1a414313550fbb8f35233d8f413857419e [2022-07-07T09:35:33.791Z] $ docker rm -f c6d56a165dbbb8b7674221d848b70d1a414313550fbb8f35233d8f413857419e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:35:34.372Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T09:35:34.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:35:34.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-17124 does not seem to be running inside a container [2022-07-07T09:35:34.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T09:35:35.938Z] $ docker top dcbab26007062d65dc398691d8a9d1399dc1f0e6e425a01821c3befb1c14a1dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T09:35:36.871Z] + make test [2022-07-07T09:35:36.871Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T09:35:38.317Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T09:37:00.166Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T09:37:00.166Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-07-07T09:37:00.166Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T09:37:00.166Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T09:37:22.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T09:37:22.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T09:37:22.384Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T09:37:22.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T09:37:22.420Z] $ docker stop --time=1 dcbab26007062d65dc398691d8a9d1399dc1f0e6e425a01821c3befb1c14a1dc [2022-07-07T09:37:24.169Z] $ docker rm -f dcbab26007062d65dc398691d8a9d1399dc1f0e6e425a01821c3befb1c14a1dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T09:37:25.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T09:37:25.096Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T09:37:25.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T09:37:25.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T09:37:26.275Z] + ls -al . [2022-07-07T09:37:26.275Z] total 168 [2022-07-07T09:37:26.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 09:37 . [2022-07-07T09:37:26.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:33 .. [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 09:33 .dockerignore [2022-07-07T09:37:26.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 09:33 .git [2022-07-07T09:37:26.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:33 .github [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 09:33 .gitignore [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 09:33 .golangci.yml [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 09:33 Attribution.txt [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 09:33 CHANGELOG.md [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 09:33 Dockerfile [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 09:33 GOVERNANCE.md [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 09:33 Jenkinsfile [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 09:33 LICENSE [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 09:33 Makefile [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 09:33 OWNERS.md [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 09:33 README.md [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 09:31 VERSION [2022-07-07T09:37:26.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:33 bin [2022-07-07T09:37:26.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:33 cmd [2022-07-07T09:37:26.275Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 09:36 coverage.out [2022-07-07T09:37:26.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:33 driver [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 09:33 go.mod [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 09:33 go.sum [2022-07-07T09:37:26.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:33 snap [2022-07-07T09:37:26.275Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 09:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:37:26.635Z] + 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=5129bb747eb0d4e9647a0a00868555b5168ad271 --label arch=arm64 --label version=0.0.0 . [2022-07-07T09:37:26.635Z] Sending build context to Docker daemon 137.7kB [2022-07-07T09:37:26.907Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:37:26.907Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T09:37:26.907Z] ---> ae4fe729e194 [2022-07-07T09:37:26.907Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T09:37:27.178Z] ---> Running in 58adf9b3281b [2022-07-07T09:37:27.452Z] Removing intermediate container 58adf9b3281b [2022-07-07T09:37:27.452Z] ---> afdc6cddfd70 [2022-07-07T09:37:27.452Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:37:27.452Z] ---> Running in 1a773bc42d8c [2022-07-07T09:37:27.725Z] Removing intermediate container 1a773bc42d8c [2022-07-07T09:37:27.726Z] ---> 6beaa9ca31e6 [2022-07-07T09:37:27.726Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:37:27.726Z] ---> Running in 9af1792397ce [2022-07-07T09:37:27.999Z] Removing intermediate container 9af1792397ce [2022-07-07T09:37:27.999Z] ---> b9d841088fc8 [2022-07-07T09:37:27.999Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:37:28.271Z] ---> Running in 6948b481fdb8 [2022-07-07T09:37:29.706Z] Removing intermediate container 6948b481fdb8 [2022-07-07T09:37:29.706Z] ---> e94873b602e3 [2022-07-07T09:37:29.706Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:37:29.988Z] ---> Running in 6d943b824e41 [2022-07-07T09:37:30.965Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T09:37:31.953Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T09:37:32.549Z] OK: 224 MiB in 56 packages [2022-07-07T09:37:33.532Z] Removing intermediate container 6d943b824e41 [2022-07-07T09:37:33.532Z] ---> 0e954c97655c [2022-07-07T09:37:33.532Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T09:37:33.532Z] ---> Running in 0ffda17d33b0 [2022-07-07T09:37:33.804Z] Removing intermediate container 0ffda17d33b0 [2022-07-07T09:37:33.804Z] ---> 671a6c8cdcff [2022-07-07T09:37:33.804Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T09:37:34.401Z] ---> 040f2880f698 [2022-07-07T09:37:34.401Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:37:34.401Z] ---> Running in 9d9f4f98d72a [2022-07-07T09:37:36.373Z] Removing intermediate container 9d9f4f98d72a [2022-07-07T09:37:36.373Z] ---> e909a98edf1d [2022-07-07T09:37:36.373Z] Step 11/25 : COPY . . [2022-07-07T09:37:36.973Z] ---> f4feed628874 [2022-07-07T09:37:36.973Z] Step 12/25 : RUN $MAKE [2022-07-07T09:37:36.973Z] ---> Running in 105ebd4865ff [2022-07-07T09:37:37.956Z] 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 [2022-07-07T09:39:44.819Z] Removing intermediate container 105ebd4865ff [2022-07-07T09:39:44.819Z] ---> 1eb2e3db0d19 [2022-07-07T09:39:44.819Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T09:39:44.819Z] 3.14: Pulling from library/alpine [2022-07-07T09:39:44.819Z] 455c02918c45: Pulling fs layer [2022-07-07T09:39:44.819Z] 455c02918c45: Download complete [2022-07-07T09:39:44.819Z] 455c02918c45: Pull complete [2022-07-07T09:39:44.819Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T09:39:44.819Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T09:39:44.819Z] ---> ac73e934f311 [2022-07-07T09:39:44.819Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T09:39:44.819Z] ---> Running in 61072c78489a [2022-07-07T09:39:44.819Z] Removing intermediate container 61072c78489a [2022-07-07T09:39:44.819Z] ---> fe6053cec90c [2022-07-07T09:39:44.819Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T09:39:44.819Z] ---> Running in 195fa9e60a0c [2022-07-07T09:39:44.819Z] Removing intermediate container 195fa9e60a0c [2022-07-07T09:39:44.819Z] ---> 8c0222638eb4 [2022-07-07T09:39:44.819Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T09:39:44.819Z] ---> Running in 48f2b5f0aaf1 [2022-07-07T09:39:44.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-07T09:39:44.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-07T09:39:44.819Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T09:39:44.819Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T09:39:44.819Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T09:39:44.819Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T09:39:44.819Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T09:39:44.819Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T09:39:44.819Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T09:39:44.819Z] OK: 8 MiB in 20 packages [2022-07-07T09:39:44.819Z] Removing intermediate container 48f2b5f0aaf1 [2022-07-07T09:39:44.819Z] ---> 81d1c82c44e7 [2022-07-07T09:39:44.819Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T09:39:44.819Z] ---> d685b0f19b09 [2022-07-07T09:39:44.819Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T09:39:44.819Z] ---> 82a0b1dd3d7a [2022-07-07T09:39:44.819Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T09:39:44.819Z] ---> f11f66ef3fd5 [2022-07-07T09:39:44.819Z] Step 20/25 : EXPOSE 59986 [2022-07-07T09:39:44.819Z] ---> Running in 73d2331deed2 [2022-07-07T09:39:44.819Z] Removing intermediate container 73d2331deed2 [2022-07-07T09:39:44.819Z] ---> a06eefbb0d24 [2022-07-07T09:39:44.819Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T09:39:44.819Z] ---> Running in 210ecdca48bf [2022-07-07T09:39:44.819Z] Removing intermediate container 210ecdca48bf [2022-07-07T09:39:44.819Z] ---> 225f0fef4820 [2022-07-07T09:39:44.819Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T09:39:44.819Z] ---> Running in e2d3dd315982 [2022-07-07T09:39:44.819Z] Removing intermediate container e2d3dd315982 [2022-07-07T09:39:44.819Z] ---> f9dd7f5e0dd5 [2022-07-07T09:39:44.819Z] Step 23/25 : LABEL arch=arm64 [2022-07-07T09:39:44.819Z] ---> Running in ea13ad0e5bed [2022-07-07T09:39:44.819Z] Removing intermediate container ea13ad0e5bed [2022-07-07T09:39:44.819Z] ---> 8b204c294357 [2022-07-07T09:39:44.819Z] Step 24/25 : LABEL git_sha=5129bb747eb0d4e9647a0a00868555b5168ad271 [2022-07-07T09:39:44.819Z] ---> Running in a01abde637cc [2022-07-07T09:39:44.819Z] Removing intermediate container a01abde637cc [2022-07-07T09:39:44.819Z] ---> bdc03685abf0 [2022-07-07T09:39:44.819Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T09:39:44.819Z] ---> Running in 7718ffed7a58 [2022-07-07T09:39:44.819Z] Removing intermediate container 7718ffed7a58 [2022-07-07T09:39:44.819Z] ---> 10a10acce962 [2022-07-07T09:39:44.819Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T09:39:44.819Z] Successfully built 10a10acce962 [2022-07-07T09:39:44.819Z] 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 [2022-07-07T09:39:45.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T09:39:45.281Z] [2022-07-07T09:39:45.281Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:39:45.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T09:39:45.914Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T09:39:45.914Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T09:39:45.914Z] 04944245beec: Pulling fs layer [2022-07-07T09:39:45.914Z] 699f458cf7ca: Pulling fs layer [2022-07-07T09:39:45.914Z] 765212b225bb: Pulling fs layer [2022-07-07T09:39:45.914Z] f23df028b6ca: Pulling fs layer [2022-07-07T09:39:45.914Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T09:39:45.914Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T09:39:45.914Z] 765212b225bb: Waiting [2022-07-07T09:39:45.914Z] f23df028b6ca: Waiting [2022-07-07T09:39:45.914Z] d65c8cfc05b1: Waiting [2022-07-07T09:39:45.914Z] 2437ff75d9bd: Waiting [2022-07-07T09:39:45.914Z] 04944245beec: Verifying Checksum [2022-07-07T09:39:45.914Z] 04944245beec: Download complete [2022-07-07T09:39:45.914Z] 765212b225bb: Verifying Checksum [2022-07-07T09:39:45.914Z] 765212b225bb: Download complete [2022-07-07T09:39:45.914Z] f23df028b6ca: Download complete [2022-07-07T09:39:45.914Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T09:39:45.914Z] d65c8cfc05b1: Download complete [2022-07-07T09:39:46.190Z] 699f458cf7ca: Verifying Checksum [2022-07-07T09:39:46.190Z] 699f458cf7ca: Download complete [2022-07-07T09:39:46.466Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T09:39:46.466Z] 8998bd30e6a1: Download complete [2022-07-07T09:39:48.488Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T09:39:48.488Z] 2437ff75d9bd: Download complete [2022-07-07T09:39:50.489Z] 8998bd30e6a1: Pull complete [2022-07-07T09:39:51.092Z] 04944245beec: Pull complete [2022-07-07T09:39:52.534Z] 699f458cf7ca: Pull complete [2022-07-07T09:39:52.808Z] 765212b225bb: Pull complete [2022-07-07T09:39:53.792Z] f23df028b6ca: Pull complete [2022-07-07T09:39:53.793Z] d65c8cfc05b1: Pull complete [2022-07-07T09:40:08.939Z] 2437ff75d9bd: Pull complete [2022-07-07T09:40:08.939Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T09:40:08.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T09:40:08.939Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:40:09.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-17124 does not seem to be running inside a container [2022-07-07T09:40:09.275Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T09:40:11.855Z] $ docker top 39e88e6dff161ae73099061cd07b04abe7a0203c2447c14f53ac23b15eeed1f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:12.782Z] ---> job-cost.sh [2022-07-07T09:40:12.782Z] lf-activate-venv: SKIPPING [2022-07-07T09:40:12.782Z] INFO: No Stack... [2022-07-07T09:40:13.379Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T09:40:14.357Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T09:40:15.021Z] + + cat /w/workspace/device-rest-go/5/archives/cost.csv [2022-07-07T09:40:15.021Z] cut -d, -f6 [Pipeline] lock [2022-07-07T09:40:15.084Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] [2022-07-07T09:40:15.094Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] did not exist. Created. [2022-07-07T09:40:15.094Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T09:40:15.790Z] /w/workspace/device-rest-go/5@tmp/durable-f94348c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T09:40:16.485Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T09:40:16.514Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T09:40:16.554Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T09:40:16.559Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T09:40:16.580Z] $ docker stop --time=1 39e88e6dff161ae73099061cd07b04abe7a0203c2447c14f53ac23b15eeed1f3 [2022-07-07T09:40:18.087Z] $ docker rm -f 39e88e6dff161ae73099061cd07b04abe7a0203c2447c14f53ac23b15eeed1f3 [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 [2022-07-07T09:40:18.564Z] provisioning config files... [2022-07-07T09:40:18.572Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config5053431598390164134tmp [Pipeline] { [Pipeline] sh [2022-07-07T09:40:18.867Z] + set +x [2022-07-07T09:40:18.868Z] + curl -s https://codecov.io/bash [2022-07-07T09:40:18.868Z] + bash -s -- [2022-07-07T09:40:18.868Z] [2022-07-07T09:40:18.868Z] _____ _ [2022-07-07T09:40:18.868Z] / ____| | | [2022-07-07T09:40:18.868Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T09:40:18.868Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T09:40:18.868Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T09:40:18.868Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T09:40:18.868Z] Bash-1.0.6 [2022-07-07T09:40:18.868Z] [2022-07-07T09:40:18.868Z] [2022-07-07T09:40:18.868Z] ==> git version 2.25.1 found [2022-07-07T09:40:18.868Z] ==> 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 [2022-07-07T09:40:18.868Z] Release-Date: 2020-01-08 [2022-07-07T09:40:18.868Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-07T09:40:18.868Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T09:40:18.868Z] ==> Jenkins CI detected. [2022-07-07T09:40:18.868Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-07T09:40:18.868Z] project root: . [2022-07-07T09:40:18.868Z] --> token set from env [2022-07-07T09:40:18.868Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T09:40:18.868Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T09:40:18.868Z] ==> Python coveragepy not found [2022-07-07T09:40:18.868Z] ==> Searching for coverage reports in: [2022-07-07T09:40:18.868Z] + . [2022-07-07T09:40:18.868Z] -> Found 1 reports [2022-07-07T09:40:18.868Z] ==> Detecting git/mercurial file structure [2022-07-07T09:40:18.868Z] ==> Reading reports [2022-07-07T09:40:18.868Z] + ./coverage.out bytes=9355 [2022-07-07T09:40:18.868Z] ==> Appending adjustments [2022-07-07T09:40:18.868Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T09:40:19.130Z] + Found adjustments [2022-07-07T09:40:19.130Z] ==> Gzipping contents [2022-07-07T09:40:19.130Z] 4.0K /tmp/codecov.Bf9m5s.gz [2022-07-07T09:40:19.130Z] ==> Uploading reports [2022-07-07T09:40:19.130Z] url: https://codecov.io [2022-07-07T09:40:19.130Z] query: branch=PR-202&commit=5129bb747eb0d4e9647a0a00868555b5168ad271&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-07T09:40:19.130Z] -> Pinging Codecov [2022-07-07T09:40:19.130Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-202&commit=5129bb747eb0d4e9647a0a00868555b5168ad271&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-07T09:40:19.392Z] -> Uploading to [2022-07-07T09:40:19.392Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/5129bb747eb0d4e9647a0a00868555b5168ad271/2b8adfea-06ee-49fe-ae27-57e38b220381.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T094019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1681b789903506fc0e6c04dfcf2d653fa2331af41cd51d7521847e028934b2c7 [2022-07-07T09:40:19.392Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T09:40:19.392Z] Dload Upload Total Spent Left Speed [2022-07-07T09:40:19.652Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 8279 --:--:-- --:--:-- --:--:-- 8279 [2022-07-07T09:40:19.652Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5129bb747eb0d4e9647a0a00868555b5168ad271 [Pipeline] } [2022-07-07T09:40:19.660Z] 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 [2022-07-07T09:40:20.338Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-07-07T09:40:20.338Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T09:40:20.338Z] total 16 [2022-07-07T09:40:20.338Z] drwxr-xr-x 3 root root 4096 Jul 7 09:33 . [2022-07-07T09:40:20.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 09:33 .. [2022-07-07T09:40:20.338Z] drwxr-xr-x 2 root root 4096 Jul 7 09:33 cost [2022-07-07T09:40:20.338Z] -rw-r--r-- 1 root root 85 Jul 7 09:33 cost.csv [2022-07-07T09:40:20.338Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T09:40:20.338Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T09:40:20.338Z] total 16 [2022-07-07T09:40:20.338Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 09:33 . [2022-07-07T09:40:20.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 09:33 .. [2022-07-07T09:40:20.338Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 09:33 cost [2022-07-07T09:40:20.338Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 7 09:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:20.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:21.497Z] ---> package-listing.sh [2022-07-07T09:40:21.497Z] ++ facter osfamily [2022-07-07T09:40:21.497Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T09:40:21.757Z] + OS_FAMILY=debian [2022-07-07T09:40:21.757Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-07T09:40:21.757Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T09:40:21.757Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T09:40:21.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T09:40:21.757Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T09:40:21.757Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-07T09:40:21.757Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T09:40:21.757Z] + case "${OS_FAMILY}" in [2022-07-07T09:40:21.757Z] + dpkg -l [2022-07-07T09:40:21.757Z] + grep '^ii' [2022-07-07T09:40:21.757Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T09:40:21.757Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T09:40:21.757Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T09:40:21.757Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-07T09:40:21.757Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-07-07T09:40:21.757Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo [2022-07-07T09:40:21.768Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T09:40:22.050Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:40:22.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:40:22.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:40:22.701Z] prd-ubuntu20.04-docker-8c-8g-17123 does not seem to be running inside a container [2022-07-07T09:40:22.738Z] $ 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-202/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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T09:40:22.963Z] $ docker top f26e1563dd3edbc13eecc53b4f2f5b77716822be56327f36b1f113250e09c7e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T09:40:23.322Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T09:40:23.612Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T09:40:23.901Z] + ls /var/log/sa-host [2022-07-07T09:40:23.901Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T09:40:24.028Z] provisioning config files... [2022-07-07T09:40:24.035Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config4200486688470573233tmp [Pipeline] { [Pipeline] echo [2022-07-07T09:40:24.050Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:24.335Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T09:40:24.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:24.674Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T09:40:24.682Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:24.975Z] ---> sudo-logs.sh [2022-07-07T09:40:24.975Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T09:40:24.994Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:25.277Z] ---> job-cost.sh [2022-07-07T09:40:25.277Z] lf-activate-venv: SKIPPING [2022-07-07T09:40:25.277Z] DEBUG: total: 0.2199999988079071 [2022-07-07T09:40:25.277Z] INFO: Retrieving Stack Cost... [2022-07-07T09:40:25.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T09:40:26.105Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T09:40:26.116Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:40:26.399Z] ---> logs-deploy.sh [2022-07-07T09:40:26.399Z] lf-activate-venv: SKIPPING [2022-07-07T09:40:26.399Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/5 [2022-07-07T09:40:26.399Z] INFO: archiving workspace using pattern(s): [2022-07-07T09:40:27.342Z] Archives upload complete. [2022-07-07T09:40:27.342Z] INFO: archiving logs to Nexus