Pull request #200 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c6018e2bd26355b0e4d30e1966bab3a5bc119c41+a3ce1b492942266db7d07684db880175cd9968c1 (05831ebd9e5427c9adbfff61c234da2a04a252ef) 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-ssh14883337133568023994.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-ssh7810207463773403438.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17428114234490465194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5763577371425650774.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh737276635152592935.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9324801571174182662.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16130’ Running on prd-ubuntu20.04-docker-8c-8g-16135 in /w/workspace/gexfoundry_device-rest-go_PR-200 [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-200 # 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 a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit c6018e2bd26355b0e4d30e1966bab3a5bc119c41 Merge succeeded, producing c6018e2bd26355b0e4d30e1966bab3a5bc119c41 Checking out Revision c6018e2bd26355b0e4d30e1966bab3a5bc119c41 (PR-200) > 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/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6018e2bd26355b0e4d30e1966bab3a5bc119c41 # 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 a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6018e2bd26355b0e4d30e1966bab3a5bc119c41 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T20:05:57.257Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T20:05:57.407Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T20:05:57.498Z] ========================================================= [2022-06-27T20:05:57.498Z] EdgeX Global Pipelines Version Info [2022-06-27T20:05:57.498Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:05:58.661Z] ------------------- [2022-06-27T20:05:58.661Z] stable info: [2022-06-27T20:05:58.661Z] ------------------- [2022-06-27T20:05:58.661Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T20:05:58.661Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:05:58.661Z] Message: update stable to v1.0.234 [2022-06-27T20:05:58.923Z] ------------------- [2022-06-27T20:05:58.923Z] experimental info: [2022-06-27T20:05:58.923Z] ------------------- [2022-06-27T20:05:58.923Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T20:05:58.923Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:05:58.923Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T20:05:59.275Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-27T20:05:59.312Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-27T20:05:59.350Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T20:05:59.390Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T20:05:59.432Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T20:05:59.475Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T20:05:59.517Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T20:05:59.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T20:05:59.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T20:05:59.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T20:05:59.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T20:05:59.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-27T20:05:59.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T20:05:59.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T20:05:59.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:05:59.876Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:05:59.916Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:05:59.953Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:05:59.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T20:06:00.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T20:06:00.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T20:06:00.104Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T20:06:00.141Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T20:06:00.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T20:06:00.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T20:06:00.261Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T20:06:00.301Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T20:06:00.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo [2022-06-27T20:06:00.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo [2022-06-27T20:06:00.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo [2022-06-27T20:06:00.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [Pipeline] echo [2022-06-27T20:06:00.490Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6018e2 [Pipeline] echo [2022-06-27T20:06:00.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:06:00.626Z] provisioning config files... [2022-06-27T20:06:00.644Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-200@tmp/config1618123654039626757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:01.006Z] ---> docker-login.sh [2022-06-27T20:06:01.006Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:06:01.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:01.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:01.268Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:01.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:01.268Z] [2022-06-27T20:06:01.268Z] Login Succeeded [2022-06-27T20:06:01.268Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:06:01.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:01.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:01.528Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:01.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:01.528Z] [2022-06-27T20:06:01.528Z] Login Succeeded [2022-06-27T20:06:01.528Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:06:01.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:01.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:01.528Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:01.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:01.528Z] [2022-06-27T20:06:01.528Z] Login Succeeded [2022-06-27T20:06:01.528Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:06:01.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:01.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:01.788Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:01.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:01.788Z] [2022-06-27T20:06:01.788Z] Login Succeeded [2022-06-27T20:06:01.788Z] docker.io [2022-06-27T20:06:01.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:02.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:02.049Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:02.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:02.049Z] [2022-06-27T20:06:02.049Z] Login Succeeded [2022-06-27T20:06:02.049Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:06:02.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T20:06:02.671Z] + git rev-list -1 --merges c6018e2bd26355b0e4d30e1966bab3a5bc119c41~1..c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [Pipeline] echo [2022-06-27T20:06:02.720Z] -----------> git rev-list -1 --merges c6018e2bd26355b0e4d30e1966bab3a5bc119c41~1..c6018e2bd26355b0e4d30e1966bab3a5bc119c41 c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [false] [Pipeline] sh [2022-06-27T20:06:03.030Z] + git log --format=format:%s -1 c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [Pipeline] echo [2022-06-27T20:06:03.061Z] ========================================================= [2022-06-27T20:06:03.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T20:06:03.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:06:03.474Z] + git log --format=format:%s -1 c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [Pipeline] echo [2022-06-27T20:06:03.505Z] [semverPrep] GIT_COMMIT: c6018e2bd26355b0e4d30e1966bab3a5bc119c41, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-27T20:06:03.534Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T20:06:03.911Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T20:06:03.911Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T20:06:03.911Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T20:06:03.911Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T20:06:03.911Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T20:06:03.911Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T20:06:03.911Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:04.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:06:04.328Z] [2022-06-27T20:06:04.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:04.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:06:04.709Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T20:06:04.709Z] 42c077c10790: Pulling fs layer [2022-06-27T20:06:04.709Z] f63e77b7563a: Pulling fs layer [2022-06-27T20:06:04.709Z] bd5fdadae976: Pulling fs layer [2022-06-27T20:06:04.709Z] 205491f53016: Pulling fs layer [2022-06-27T20:06:04.709Z] df18705c85c3: Pulling fs layer [2022-06-27T20:06:04.709Z] bdb3f477010e: Pulling fs layer [2022-06-27T20:06:04.709Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T20:06:04.709Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T20:06:04.709Z] bdb8f0575790: Pulling fs layer [2022-06-27T20:06:04.709Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T20:06:04.709Z] 2343380bae48: Pulling fs layer [2022-06-27T20:06:04.709Z] df18705c85c3: Waiting [2022-06-27T20:06:04.709Z] bdb3f477010e: Waiting [2022-06-27T20:06:04.709Z] c8a8fc8e1c8f: Waiting [2022-06-27T20:06:04.709Z] 2c6e9b1d212d: Waiting [2022-06-27T20:06:04.709Z] bdb8f0575790: Waiting [2022-06-27T20:06:04.709Z] 2343380bae48: Waiting [2022-06-27T20:06:04.709Z] 386e3cb2ff24: Waiting [2022-06-27T20:06:04.709Z] 205491f53016: Waiting [2022-06-27T20:06:04.709Z] f63e77b7563a: Verifying Checksum [2022-06-27T20:06:04.709Z] f63e77b7563a: Download complete [2022-06-27T20:06:04.709Z] 205491f53016: Verifying Checksum [2022-06-27T20:06:04.709Z] 205491f53016: Download complete [2022-06-27T20:06:04.969Z] df18705c85c3: Verifying Checksum [2022-06-27T20:06:04.969Z] df18705c85c3: Download complete [2022-06-27T20:06:04.969Z] bd5fdadae976: Verifying Checksum [2022-06-27T20:06:04.969Z] bd5fdadae976: Download complete [2022-06-27T20:06:04.969Z] bdb3f477010e: Verifying Checksum [2022-06-27T20:06:04.969Z] bdb3f477010e: Download complete [2022-06-27T20:06:04.969Z] 2c6e9b1d212d: Download complete [2022-06-27T20:06:04.969Z] bdb8f0575790: Verifying Checksum [2022-06-27T20:06:04.969Z] bdb8f0575790: Download complete [2022-06-27T20:06:04.969Z] 386e3cb2ff24: Download complete [2022-06-27T20:06:04.969Z] 2343380bae48: Download complete [2022-06-27T20:06:04.969Z] 42c077c10790: Verifying Checksum [2022-06-27T20:06:04.969Z] 42c077c10790: Download complete [2022-06-27T20:06:05.231Z] c8a8fc8e1c8f: Download complete [2022-06-27T20:06:06.380Z] 42c077c10790: Pull complete [2022-06-27T20:06:06.380Z] f63e77b7563a: Pull complete [2022-06-27T20:06:06.952Z] bd5fdadae976: Pull complete [2022-06-27T20:06:06.952Z] 205491f53016: Pull complete [2022-06-27T20:06:07.524Z] df18705c85c3: Pull complete [2022-06-27T20:06:07.524Z] bdb3f477010e: Pull complete [2022-06-27T20:06:09.437Z] c8a8fc8e1c8f: Pull complete [2022-06-27T20:06:09.437Z] 2c6e9b1d212d: Pull complete [2022-06-27T20:06:09.698Z] bdb8f0575790: Pull complete [2022-06-27T20:06:09.698Z] 386e3cb2ff24: Pull complete [2022-06-27T20:06:09.698Z] 2343380bae48: Pull complete [2022-06-27T20:06:09.698Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T20:06:09.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:06:09.698Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:09.924Z] prd-ubuntu20.04-docker-8c-8g-16135 does not seem to be running inside a container [2022-06-27T20:06:09.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-200 -v /w/workspace/gexfoundry_device-rest-go_PR-200:/w/workspace/gexfoundry_device-rest-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-200@tmp:/w/workspace/gexfoundry_device-rest-go_PR-200@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T20:06:11.623Z] $ docker top 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e -eo pid,comm [2022-06-27T20:06:11.693Z] 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-06-27T20:06:11.693Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T20:06:11.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:06:11.814Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:06:11.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:06:11.955Z] $ docker exec 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e ssh-agent [2022-06-27T20:06:12.071Z] SSH_AUTH_SOCK=/tmp/ssh-zSdtZBZSHNDn/agent.33 [2022-06-27T20:06:12.071Z] SSH_AGENT_PID=39 [2022-06-27T20:06:12.078Z] Running ssh-add (command line suppressed) [2022-06-27T20:06:12.202Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-200@tmp/private_key_2028126187864103683.key (/w/workspace/gexfoundry_device-rest-go_PR-200@tmp/private_key_2028126187864103683.key) [2022-06-27T20:06:12.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:06:12.549Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T20:06:12.577Z] $ docker exec --env ******** --env ******** 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e ssh-agent -k [2022-06-27T20:06:12.686Z] unset SSH_AUTH_SOCK; [2022-06-27T20:06:12.687Z] unset SSH_AGENT_PID; [2022-06-27T20:06:12.687Z] echo Agent pid 39 killed; [2022-06-27T20:06:12.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T20:06:12.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:06:12.783Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:06:12.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:06:12.922Z] $ docker exec 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e ssh-agent [2022-06-27T20:06:13.049Z] SSH_AUTH_SOCK=/tmp/ssh-Tsqk7XDXOmfT/agent.71 [2022-06-27T20:06:13.049Z] SSH_AGENT_PID=77 [2022-06-27T20:06:13.055Z] Running ssh-add (command line suppressed) [2022-06-27T20:06:13.167Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-200@tmp/private_key_7665276773193243204.key (/w/workspace/gexfoundry_device-rest-go_PR-200@tmp/private_key_7665276773193243204.key) [2022-06-27T20:06:13.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:06:13.509Z] + git semver init [2022-06-27T20:06:13.769Z] 2022-06-27 20:06:13,712 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T20:06:13.769Z] 2022-06-27 20:06:13,713 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-200/.semver [2022-06-27T20:06:13.769Z] 2022-06-27 20:06:13,713 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-200/.semver [2022-06-27T20:06:13.769Z] 2022-06-27 20:06:13,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-200/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-200, universal_newlines=False, shell=None, istream=None) [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,624 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-200/.git/info/exclude [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-200/.semver/PR-200 with force:False [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,625 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-200/.semver/PR-200 [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,630 [execute] INFO git cat-file --batch-check [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,638 [execute] INFO git cat-file --batch [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T20:06:14.710Z] 2022-06-27 20:06:14,645 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-200/.semver/PR-200 [2022-06-27T20:06:14.710Z] 0.0.0 [Pipeline] } [2022-06-27T20:06:14.741Z] $ docker exec --env ******** --env ******** 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e ssh-agent -k [2022-06-27T20:06:14.855Z] unset SSH_AUTH_SOCK; [2022-06-27T20:06:14.855Z] unset SSH_AGENT_PID; [2022-06-27T20:06:14.855Z] echo Agent pid 77 killed; [2022-06-27T20:06:14.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T20:06:15.294Z] + git semver [Pipeline] } [2022-06-27T20:06:15.599Z] $ docker stop --time=1 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e [2022-06-27T20:06:16.926Z] $ docker rm -f 96c45f3e92857cdd12ff0dafed57c64e6dd6e0d4f6e4b6f9725134987a93b12e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:06:17.349Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T20:06:17.660Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T20:06:17.676Z] [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-06-27T20:06:18.228Z] provisioning config files... [2022-06-27T20:06:18.241Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-200@tmp/config2832689688733952230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:06:18.592Z] ---> docker-login.sh [2022-06-27T20:06:18.592Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:06:18.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:18.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:18.592Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:18.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:18.592Z] [2022-06-27T20:06:18.592Z] Login Succeeded [2022-06-27T20:06:18.592Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:06:18.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:18.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:18.853Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:18.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:18.853Z] [2022-06-27T20:06:18.853Z] Login Succeeded [2022-06-27T20:06:18.853Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:06:18.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:18.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:18.853Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:18.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:18.853Z] [2022-06-27T20:06:18.853Z] Login Succeeded [2022-06-27T20:06:18.853Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:06:19.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:19.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:19.117Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:19.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:19.117Z] [2022-06-27T20:06:19.117Z] Login Succeeded [2022-06-27T20:06:19.117Z] docker.io [2022-06-27T20:06:19.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:06:19.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:06:19.379Z] Configure a credential helper to remove this warning. See [2022-06-27T20:06:19.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:06:19.379Z] [2022-06-27T20:06:19.379Z] Login Succeeded [2022-06-27T20:06:19.379Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:06:19.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:06:19.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:06:19.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:06:19.665Z] ========================================================= [2022-06-27T20:06:19.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T20:06:19.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:20.142Z] + 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-06-27T20:06:20.142Z] Sending build context to Docker daemon 10.68MB [2022-06-27T20:06:20.142Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:06:20.142Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T20:06:20.142Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T20:06:20.142Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T20:06:20.142Z] 666ba61612fd: Pulling fs layer [2022-06-27T20:06:20.142Z] 8ed8ca486205: Pulling fs layer [2022-06-27T20:06:20.142Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T20:06:20.142Z] c516ae0d96e1: Pulling fs layer [2022-06-27T20:06:20.142Z] 684cea983483: Pulling fs layer [2022-06-27T20:06:20.142Z] dd3240ac7de5: Pulling fs layer [2022-06-27T20:06:20.142Z] b1e948a4e11c: Pulling fs layer [2022-06-27T20:06:20.142Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T20:06:20.142Z] 646ad004c059: Pulling fs layer [2022-06-27T20:06:20.142Z] cc1cd167ecdc: Waiting [2022-06-27T20:06:20.142Z] c516ae0d96e1: Waiting [2022-06-27T20:06:20.142Z] 684cea983483: Waiting [2022-06-27T20:06:20.142Z] dd3240ac7de5: Waiting [2022-06-27T20:06:20.142Z] b1e948a4e11c: Waiting [2022-06-27T20:06:20.142Z] a8fd76ee1af6: Waiting [2022-06-27T20:06:20.142Z] 646ad004c059: Waiting [2022-06-27T20:06:20.142Z] 8ed8ca486205: Verifying Checksum [2022-06-27T20:06:20.142Z] 8ed8ca486205: Download complete [2022-06-27T20:06:20.404Z] 666ba61612fd: Download complete [2022-06-27T20:06:20.404Z] c516ae0d96e1: Download complete [2022-06-27T20:06:20.404Z] 684cea983483: Download complete [2022-06-27T20:06:20.404Z] dd3240ac7de5: Download complete [2022-06-27T20:06:20.404Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T20:06:20.404Z] b1e948a4e11c: Verifying Checksum [2022-06-27T20:06:20.404Z] b1e948a4e11c: Download complete [2022-06-27T20:06:20.404Z] 59bf1c3509f3: Pull complete [2022-06-27T20:06:20.665Z] 666ba61612fd: Pull complete [2022-06-27T20:06:20.665Z] 8ed8ca486205: Pull complete [2022-06-27T20:06:20.933Z] 646ad004c059: Verifying Checksum [2022-06-27T20:06:20.933Z] 646ad004c059: Download complete [2022-06-27T20:06:21.195Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T20:06:21.195Z] cc1cd167ecdc: Download complete [2022-06-27T20:06:21.195Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T20:06:21.195Z] a8fd76ee1af6: Download complete [2022-06-27T20:06:24.492Z] cc1cd167ecdc: Pull complete [2022-06-27T20:06:24.752Z] c516ae0d96e1: Pull complete [2022-06-27T20:06:24.752Z] 684cea983483: Pull complete [2022-06-27T20:06:24.752Z] dd3240ac7de5: Pull complete [2022-06-27T20:06:24.752Z] b1e948a4e11c: Pull complete [2022-06-27T20:06:27.283Z] a8fd76ee1af6: Pull complete [2022-06-27T20:06:27.543Z] 646ad004c059: Pull complete [2022-06-27T20:06:27.543Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T20:06:27.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T20:06:27.543Z] ---> 8f69c11f6b0c [2022-06-27T20:06:27.543Z] Step 3/12 : ARG MAKE='make build' [2022-06-27T20:06:29.464Z] ---> Running in 79928b2d26d8 [2022-06-27T20:06:29.724Z] Removing intermediate container 79928b2d26d8 [2022-06-27T20:06:29.724Z] ---> 58a5ee67cc47 [2022-06-27T20:06:29.724Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:06:29.724Z] ---> Running in 51d16ef167e0 [2022-06-27T20:06:29.724Z] Removing intermediate container 51d16ef167e0 [2022-06-27T20:06:29.724Z] ---> 23e2e90ffdb8 [2022-06-27T20:06:29.724Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:06:29.724Z] ---> Running in e50496dcfa83 [2022-06-27T20:06:29.985Z] Removing intermediate container e50496dcfa83 [2022-06-27T20:06:29.985Z] ---> 2bef0e802ec6 [2022-06-27T20:06:29.985Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:06:29.985Z] ---> Running in 6fbd6d0c4880 [2022-06-27T20:06:30.560Z] Removing intermediate container 6fbd6d0c4880 [2022-06-27T20:06:30.560Z] ---> c6d4ada51ac2 [2022-06-27T20:06:30.560Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:06:30.560Z] ---> Running in a0efca432845 [2022-06-27T20:06:30.827Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:06:31.769Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:06:32.029Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T20:06:32.029Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T20:06:32.291Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T20:06:32.291Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T20:06:32.552Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T20:06:32.552Z] OK: 224 MiB in 56 packages [2022-06-27T20:06:32.813Z] Removing intermediate container a0efca432845 [2022-06-27T20:06:32.813Z] ---> 3109b973384b [2022-06-27T20:06:32.813Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-27T20:06:32.813Z] ---> Running in 16ff2d7aaa7f [2022-06-27T20:06:33.059Z] Still waiting to schedule task [2022-06-27T20:06:33.059Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16131’ is offline [2022-06-27T20:06:33.074Z] Removing intermediate container 16ff2d7aaa7f [2022-06-27T20:06:33.074Z] ---> 5bd0b971e2d8 [2022-06-27T20:06:33.074Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T20:06:33.074Z] ---> 559a9325348b [2022-06-27T20:06:33.074Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:06:33.335Z] ---> Running in 79287259afe2 [2022-06-27T20:06:48.255Z] Removing intermediate container 79287259afe2 [2022-06-27T20:06:48.255Z] ---> 2c78f061cd1b [2022-06-27T20:06:48.255Z] Step 11/12 : COPY . . [2022-06-27T20:06:48.255Z] ---> 8e02d0f152a7 [2022-06-27T20:06:48.255Z] Step 12/12 : RUN $MAKE [2022-06-27T20:06:48.255Z] ---> Running in 13c5f60edf00 [2022-06-27T20:06:48.255Z] noop [2022-06-27T20:06:48.255Z] Removing intermediate container 13c5f60edf00 [2022-06-27T20:06:48.255Z] ---> 569f911cf407 [2022-06-27T20:06:48.255Z] Successfully built 569f911cf407 [2022-06-27T20:06:48.255Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:48.705Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:06:48.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:48.858Z] prd-ubuntu20.04-docker-8c-8g-16135 does not seem to be running inside a container [2022-06-27T20:06:48.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-200 -v /w/workspace/gexfoundry_device-rest-go_PR-200:/w/workspace/gexfoundry_device-rest-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-200@tmp:/w/workspace/gexfoundry_device-rest-go_PR-200@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 ******** ci-base-image-x86_64 cat [2022-06-27T20:06:49.396Z] $ docker top 176863c12492536afb3be1f3ce8f9afc195ec660b09f1b9738ce9420ba74e1f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:06:49.824Z] + go version [2022-06-27T20:06:49.824Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T20:06:49.857Z] $ docker stop --time=1 176863c12492536afb3be1f3ce8f9afc195ec660b09f1b9738ce9420ba74e1f4 [2022-06-27T20:06:51.150Z] $ docker rm -f 176863c12492536afb3be1f3ce8f9afc195ec660b09f1b9738ce9420ba74e1f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:51.839Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:06:51.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:51.976Z] prd-ubuntu20.04-docker-8c-8g-16135 does not seem to be running inside a container [2022-06-27T20:06:52.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-200 -v /w/workspace/gexfoundry_device-rest-go_PR-200:/w/workspace/gexfoundry_device-rest-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-200@tmp:/w/workspace/gexfoundry_device-rest-go_PR-200@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 ******** ci-base-image-x86_64 cat [2022-06-27T20:06:52.451Z] $ docker top aeb846518edb409c2cebb9129db56d9f8ff95c39c3d51e0ecaf28186a79723fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:06:52.904Z] + make test [2022-06-27T20:06:52.904Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:06:53.164Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-27T20:07:03.151Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-27T20:07:03.151Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-27T20:07:08.428Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T20:07:12.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T20:07:12.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T20:07:12.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T20:07:12.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T20:07:12.692Z] $ docker stop --time=1 aeb846518edb409c2cebb9129db56d9f8ff95c39c3d51e0ecaf28186a79723fb [2022-06-27T20:07:14.564Z] $ docker rm -f aeb846518edb409c2cebb9129db56d9f8ff95c39c3d51e0ecaf28186a79723fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:07:15.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T20:07:15.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T20:07:15.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T20:07:16.033Z] + ls -al . [2022-06-27T20:07:16.033Z] total 172 [2022-06-27T20:07:16.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 20:07 . [2022-06-27T20:07:16.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 20:05 .. [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 20:05 .dockerignore [2022-06-27T20:07:16.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:06 .git [2022-06-27T20:07:16.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 .github [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 20:05 .gitignore [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 20:05 .golangci.yml [2022-06-27T20:07:16.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:06 .semver [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 27 20:05 Attribution.txt [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 27 20:05 CHANGELOG.md [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 27 20:05 Dockerfile [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 20:05 GOVERNANCE.md [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 20:05 Jenkinsfile [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 20:05 LICENSE [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 27 20:05 Makefile [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 20:05 OWNERS.md [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 27 20:05 README.md [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 20:06 VERSION [2022-06-27T20:07:16.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:05 bin [2022-06-27T20:07:16.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 cmd [2022-06-27T20:07:16.033Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 27 20:07 coverage.out [2022-06-27T20:07:16.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:05 driver [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 27 20:05 go.mod [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 27 20:05 go.sum [2022-06-27T20:07:16.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 snap [2022-06-27T20:07:16.033Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:07:16.418Z] + 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=c6018e2bd26355b0e4d30e1966bab3a5bc119c41 --label arch=amd64 --label version=0.0.0 . [2022-06-27T20:07:16.418Z] Sending build context to Docker daemon 10.69MB [2022-06-27T20:07:16.418Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:07:16.418Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-27T20:07:16.418Z] ---> 569f911cf407 [2022-06-27T20:07:16.418Z] Step 3/25 : ARG MAKE='make build' [2022-06-27T20:07:16.681Z] ---> Running in 39767387eb51 [2022-06-27T20:07:16.681Z] Removing intermediate container 39767387eb51 [2022-06-27T20:07:16.681Z] ---> 5c8f3aa0d40d [2022-06-27T20:07:16.681Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:07:16.681Z] ---> Running in ef58ef441ff7 [2022-06-27T20:07:16.681Z] Removing intermediate container ef58ef441ff7 [2022-06-27T20:07:16.681Z] ---> e3fb8a041b18 [2022-06-27T20:07:16.681Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:07:16.947Z] ---> Running in 330f81be0bd6 [2022-06-27T20:07:16.947Z] Removing intermediate container 330f81be0bd6 [2022-06-27T20:07:16.947Z] ---> 85736c243294 [2022-06-27T20:07:16.947Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:07:16.947Z] ---> Running in af23d50a3559 [2022-06-27T20:07:17.516Z] Removing intermediate container af23d50a3559 [2022-06-27T20:07:17.516Z] ---> 300d849a4699 [2022-06-27T20:07:17.516Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:07:17.516Z] ---> Running in 738d7b3854d3 [2022-06-27T20:07:18.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:07:18.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:07:18.915Z] OK: 224 MiB in 56 packages [2022-06-27T20:07:19.490Z] Removing intermediate container 738d7b3854d3 [2022-06-27T20:07:19.490Z] ---> 1ce164d178fc [2022-06-27T20:07:19.490Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-27T20:07:19.490Z] ---> Running in bd11d7dd0e42 [2022-06-27T20:07:19.490Z] Removing intermediate container bd11d7dd0e42 [2022-06-27T20:07:19.490Z] ---> f2d057472f09 [2022-06-27T20:07:19.490Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-27T20:07:19.750Z] ---> 45cfe99ab81a [2022-06-27T20:07:19.750Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:07:19.750Z] ---> Running in 84653995144a [2022-06-27T20:07:20.322Z] Removing intermediate container 84653995144a [2022-06-27T20:07:20.322Z] ---> b95d9d87e2e8 [2022-06-27T20:07:20.322Z] Step 11/25 : COPY . . [2022-06-27T20:07:20.581Z] ---> d061bfc6793a [2022-06-27T20:07:20.581Z] Step 12/25 : RUN $MAKE [2022-06-27T20:07:20.581Z] ---> Running in aae136d0d3a9 [2022-06-27T20:07:20.840Z] 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-06-27T20:07:42.793Z] Removing intermediate container aae136d0d3a9 [2022-06-27T20:07:42.793Z] ---> fdc57d62ab8c [2022-06-27T20:07:42.793Z] Step 13/25 : FROM alpine:3.14 [2022-06-27T20:07:42.793Z] 3.14: Pulling from library/alpine [2022-06-27T20:07:42.793Z] 8663204ce13b: Pulling fs layer [2022-06-27T20:07:42.793Z] 8663204ce13b: Download complete [2022-06-27T20:07:42.793Z] 8663204ce13b: Pull complete [2022-06-27T20:07:42.793Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T20:07:42.793Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T20:07:42.793Z] ---> e04c818066af [2022-06-27T20:07:42.793Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-27T20:07:42.793Z] ---> Running in ff000ef19b7d [2022-06-27T20:07:42.793Z] Removing intermediate container ff000ef19b7d [2022-06-27T20:07:42.793Z] ---> 7a7245b435fe [2022-06-27T20:07:42.793Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-27T20:07:42.793Z] ---> Running in 5e9bc60679ca [2022-06-27T20:07:42.793Z] Removing intermediate container 5e9bc60679ca [2022-06-27T20:07:42.793Z] ---> a9e7fd2ba401 [2022-06-27T20:07:42.793Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T20:07:42.793Z] ---> Running in 86e7d031f387 [2022-06-27T20:07:42.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:07:42.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:07:42.793Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T20:07:42.793Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T20:07:42.793Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T20:07:42.793Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T20:07:42.793Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T20:07:42.793Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T20:07:42.793Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T20:07:42.793Z] OK: 8 MiB in 20 packages [2022-06-27T20:07:42.793Z] Removing intermediate container 86e7d031f387 [2022-06-27T20:07:42.793Z] ---> 6678d0351752 [2022-06-27T20:07:42.793Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-27T20:07:42.793Z] ---> d0006598aafc [2022-06-27T20:07:42.793Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-27T20:07:42.793Z] ---> ea237f3b4cec [2022-06-27T20:07:42.793Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-27T20:07:42.793Z] ---> c3d519a27903 [2022-06-27T20:07:42.793Z] Step 20/25 : EXPOSE 59986 [2022-06-27T20:07:43.056Z] ---> Running in f1b4531148cf [2022-06-27T20:07:43.056Z] Removing intermediate container f1b4531148cf [2022-06-27T20:07:43.056Z] ---> 178faf69b121 [2022-06-27T20:07:43.056Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-27T20:07:43.056Z] ---> Running in cea0a4fbc460 [2022-06-27T20:07:43.056Z] Removing intermediate container cea0a4fbc460 [2022-06-27T20:07:43.056Z] ---> 31ed73ec5f94 [2022-06-27T20:07:43.056Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-27T20:07:43.317Z] ---> Running in 6ba6407efa35 [2022-06-27T20:07:43.317Z] Removing intermediate container 6ba6407efa35 [2022-06-27T20:07:43.317Z] ---> c5090e296760 [2022-06-27T20:07:43.317Z] Step 23/25 : LABEL arch=amd64 [2022-06-27T20:07:43.317Z] ---> Running in a0c76935bf79 [2022-06-27T20:07:43.577Z] Removing intermediate container a0c76935bf79 [2022-06-27T20:07:43.578Z] ---> 200c8b0e9630 [2022-06-27T20:07:43.578Z] Step 24/25 : LABEL git_sha=c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [2022-06-27T20:07:43.578Z] ---> Running in 65157820f9a3 [2022-06-27T20:07:43.578Z] Removing intermediate container 65157820f9a3 [2022-06-27T20:07:43.578Z] ---> 3d17d3d03181 [2022-06-27T20:07:43.578Z] Step 25/25 : LABEL version=0.0.0 [2022-06-27T20:07:43.578Z] ---> Running in 03194f09bbcf [2022-06-27T20:07:43.838Z] Removing intermediate container 03194f09bbcf [2022-06-27T20:07:43.838Z] ---> ba7dfc7dc5ed [2022-06-27T20:07:43.838Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T20:07:43.838Z] Successfully built ba7dfc7dc5ed [2022-06-27T20:07:43.838Z] 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-06-27T20:07:44.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:07:44.677Z] [2022-06-27T20:07:44.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:07:45.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:07:45.054Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T20:07:45.054Z] 5eb5b503b376: Pulling fs layer [2022-06-27T20:07:45.054Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T20:07:45.054Z] ec43610c2a17: Pulling fs layer [2022-06-27T20:07:45.054Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T20:07:45.054Z] 33b1e0a273af: Pulling fs layer [2022-06-27T20:07:45.054Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T20:07:45.054Z] 2f39f015ded8: Pulling fs layer [2022-06-27T20:07:45.054Z] 3a2ae6a8a46f: Waiting [2022-06-27T20:07:45.054Z] 33b1e0a273af: Waiting [2022-06-27T20:07:45.054Z] 5d3b04190fa2: Waiting [2022-06-27T20:07:45.054Z] 2f39f015ded8: Waiting [2022-06-27T20:07:45.054Z] 5c69ac0246d0: Download complete [2022-06-27T20:07:45.054Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T20:07:45.054Z] 3a2ae6a8a46f: Download complete [2022-06-27T20:07:45.054Z] 33b1e0a273af: Download complete [2022-06-27T20:07:45.054Z] 5d3b04190fa2: Download complete [2022-06-27T20:07:45.315Z] ec43610c2a17: Verifying Checksum [2022-06-27T20:07:45.315Z] ec43610c2a17: Download complete [2022-06-27T20:07:45.315Z] 5eb5b503b376: Verifying Checksum [2022-06-27T20:07:45.315Z] 5eb5b503b376: Download complete [2022-06-27T20:07:45.887Z] 2f39f015ded8: Download complete [2022-06-27T20:07:46.458Z] 5eb5b503b376: Pull complete [2022-06-27T20:07:46.718Z] 5c69ac0246d0: Pull complete [2022-06-27T20:07:47.288Z] ec43610c2a17: Pull complete [2022-06-27T20:07:47.288Z] 3a2ae6a8a46f: Pull complete [2022-06-27T20:07:47.547Z] 33b1e0a273af: Pull complete [2022-06-27T20:07:47.547Z] 5d3b04190fa2: Pull complete [2022-06-27T20:07:51.744Z] 2f39f015ded8: Pull complete [2022-06-27T20:07:51.744Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T20:07:51.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:07:51.744Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:07:51.980Z] prd-ubuntu20.04-docker-8c-8g-16135 does not seem to be running inside a container [2022-06-27T20:07:52.019Z] $ 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-200 -v /w/workspace/gexfoundry_device-rest-go_PR-200:/w/workspace/gexfoundry_device-rest-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-200@tmp:/w/workspace/gexfoundry_device-rest-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T20:07:53.889Z] $ docker top 3bd4fd3a41d89f249e04890d92e076142ff42fc8e7d95da3ff50213920114eb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:07:54.338Z] ---> job-cost.sh [2022-06-27T20:07:54.338Z] lf-activate-venv: SKIPPING [2022-06-27T20:07:54.338Z] INFO: No Stack... [2022-06-27T20:07:54.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:07:55.168Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:07:55.485Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-200/archives/cost.csv [2022-06-27T20:07:55.485Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T20:07:55.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] [2022-06-27T20:07:55.526Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] did not exist. Created. [2022-06-27T20:07:55.526Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:07:55.909Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T20:07:55.959Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:07:55.986Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:07:56.060Z] $ docker stop --time=1 3bd4fd3a41d89f249e04890d92e076142ff42fc8e7d95da3ff50213920114eb1 [2022-06-27T20:07:57.235Z] $ docker rm -f 3bd4fd3a41d89f249e04890d92e076142ff42fc8e7d95da3ff50213920114eb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:09:01.536Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16137 in /w/workspace/gexfoundry_device-rest-go_PR-200 [Pipeline] { [Pipeline] ws [2022-06-27T20:09:01.576Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T20:09:01.676Z] The recommended git tool is: git [2022-06-27T20:09:09.322Z] using credential edgex-jenkins-ssh [2022-06-27T20:09:09.361Z] Cloning the remote Git repository [2022-06-27T20:09:09.457Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-27T20:09:09.567Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-27T20:09:09.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-27T20:09:09.742Z] > git --version # timeout=10 [2022-06-27T20:09:09.776Z] > git --version # 'git version 2.25.1' [2022-06-27T20:09:09.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:09:09.978Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:09:12.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-27T20:09:12.067Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:09:12.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-27T20:09:12.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-27T20:09:12.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:09:12.146Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T20:09:12.594Z] Merging remotes/origin/main commit a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [2022-06-27T20:09:12.836Z] Merge succeeded, producing c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [2022-06-27T20:09:12.836Z] Checking out Revision c6018e2bd26355b0e4d30e1966bab3a5bc119c41 (PR-200) [2022-06-27T20:09:12.617Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:09:12.637Z] > git checkout -f c6018e2bd26355b0e4d30e1966bab3a5bc119c41 # timeout=10 [2022-06-27T20:09:12.730Z] > git remote # timeout=10 [2022-06-27T20:09:12.750Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T20:09:12.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:09:12.793Z] > git merge a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 [2022-06-27T20:09:12.820Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T20:09:12.846Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:09:12.865Z] > git checkout -f c6018e2bd26355b0e4d30e1966bab3a5bc119c41 # timeout=10 [2022-06-27T20:09:17.182Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-27T20:09:17.252Z] > git --version # timeout=10 [2022-06-27T20:09:17.263Z] > git --version # 'git version 2.25.1' [2022-06-27T20:09:17.283Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:09:18.406Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T20:09:18.406Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:09:18.406Z] Dload Upload Total Spent Left Speed [2022-06-27T20:09:18.406Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-06-27T20:09:19.160Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T20:09:19.525Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T20:09:19.525Z] + sudo tee /etc/docker/daemon.new [2022-06-27T20:09:19.525Z] { [2022-06-27T20:09:19.525Z] "registry-mirrors": [ [2022-06-27T20:09:19.525Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T20:09:19.525Z] ], [2022-06-27T20:09:19.525Z] "bip": "10.250.0.254/24", [2022-06-27T20:09:19.525Z] "hosts": [ [2022-06-27T20:09:19.525Z] "tcp://0.0.0.0:5555", [2022-06-27T20:09:19.525Z] "unix:///var/run/docker.sock" [2022-06-27T20:09:19.525Z] ], [2022-06-27T20:09:19.525Z] "mtu": 1458, [2022-06-27T20:09:19.525Z] "selinux-enabled": true, [2022-06-27T20:09:19.525Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T20:09:19.525Z] } [Pipeline] sh [2022-06-27T20:09:19.889Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T20:09:20.454Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:09:38.875Z] provisioning config files... [2022-06-27T20:09:38.904Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2775025893741029255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:09:39.311Z] ---> docker-login.sh [2022-06-27T20:09:39.311Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:09:39.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:09:40.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:09:40.185Z] Configure a credential helper to remove this warning. See [2022-06-27T20:09:40.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:09:40.185Z] [2022-06-27T20:09:40.185Z] Login Succeeded [2022-06-27T20:09:40.185Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:09:40.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:09:40.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:09:40.735Z] Configure a credential helper to remove this warning. See [2022-06-27T20:09:40.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:09:40.735Z] [2022-06-27T20:09:40.735Z] Login Succeeded [2022-06-27T20:09:40.735Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:09:41.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:09:41.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:09:41.021Z] Configure a credential helper to remove this warning. See [2022-06-27T20:09:41.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:09:41.021Z] [2022-06-27T20:09:41.021Z] Login Succeeded [2022-06-27T20:09:41.297Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:09:41.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:09:41.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:09:41.573Z] Configure a credential helper to remove this warning. See [2022-06-27T20:09:41.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:09:41.573Z] [2022-06-27T20:09:41.573Z] Login Succeeded [2022-06-27T20:09:41.573Z] docker.io [2022-06-27T20:09:42.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:09:42.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:09:42.448Z] Configure a credential helper to remove this warning. See [2022-06-27T20:09:42.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:09:42.448Z] [2022-06-27T20:09:42.448Z] Login Succeeded [2022-06-27T20:09:42.448Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:09:42.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:09:42.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:09:42.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:09:42.935Z] ========================================================= [2022-06-27T20:09:42.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T20:09:42.935Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:09:43.453Z] + 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-06-27T20:09:43.453Z] Sending build context to Docker daemon 129kB [2022-06-27T20:09:43.730Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:09:43.730Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T20:09:44.010Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T20:09:44.010Z] 9b3977197b4f: Pulling fs layer [2022-06-27T20:09:44.010Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T20:09:44.010Z] 94645a83ff95: Pulling fs layer [2022-06-27T20:09:44.010Z] e6fb740bc735: Pulling fs layer [2022-06-27T20:09:44.010Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T20:09:44.010Z] 355e64cbe906: Pulling fs layer [2022-06-27T20:09:44.010Z] 63ab81a10011: Pulling fs layer [2022-06-27T20:09:44.010Z] 555d1d1c4555: Pulling fs layer [2022-06-27T20:09:44.010Z] 7d9057610161: Pulling fs layer [2022-06-27T20:09:44.010Z] e6fb740bc735: Waiting [2022-06-27T20:09:44.010Z] 3a77bd46dcc9: Waiting [2022-06-27T20:09:44.010Z] 355e64cbe906: Waiting [2022-06-27T20:09:44.010Z] 63ab81a10011: Waiting [2022-06-27T20:09:44.010Z] 7d9057610161: Waiting [2022-06-27T20:09:44.010Z] 555d1d1c4555: Waiting [2022-06-27T20:09:44.010Z] 94645a83ff95: Verifying Checksum [2022-06-27T20:09:44.010Z] 94645a83ff95: Download complete [2022-06-27T20:09:44.010Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T20:09:44.010Z] 1a89e8eeedd5: Download complete [2022-06-27T20:09:44.010Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T20:09:44.010Z] 3a77bd46dcc9: Download complete [2022-06-27T20:09:44.010Z] 355e64cbe906: Verifying Checksum [2022-06-27T20:09:44.010Z] 355e64cbe906: Download complete [2022-06-27T20:09:44.010Z] 9b3977197b4f: Verifying Checksum [2022-06-27T20:09:44.010Z] 9b3977197b4f: Download complete [2022-06-27T20:09:44.010Z] 63ab81a10011: Verifying Checksum [2022-06-27T20:09:44.010Z] 63ab81a10011: Download complete [2022-06-27T20:09:45.010Z] 9b3977197b4f: Pull complete [2022-06-27T20:09:45.287Z] 7d9057610161: Verifying Checksum [2022-06-27T20:09:45.287Z] 7d9057610161: Download complete [2022-06-27T20:09:45.564Z] 1a89e8eeedd5: Pull complete [2022-06-27T20:09:46.164Z] 94645a83ff95: Pull complete [2022-06-27T20:09:46.438Z] 555d1d1c4555: Verifying Checksum [2022-06-27T20:09:46.438Z] 555d1d1c4555: Download complete [2022-06-27T20:09:47.038Z] e6fb740bc735: Verifying Checksum [2022-06-27T20:09:47.038Z] e6fb740bc735: Download complete [2022-06-27T20:09:59.462Z] e6fb740bc735: Pull complete [2022-06-27T20:09:59.462Z] 3a77bd46dcc9: Pull complete [2022-06-27T20:09:59.462Z] 355e64cbe906: Pull complete [2022-06-27T20:09:59.736Z] 63ab81a10011: Pull complete [2022-06-27T20:10:06.506Z] 555d1d1c4555: Pull complete [2022-06-27T20:10:07.487Z] 7d9057610161: Pull complete [2022-06-27T20:10:07.758Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T20:10:07.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T20:10:07.758Z] ---> 819e984ddca1 [2022-06-27T20:10:07.758Z] Step 3/12 : ARG MAKE='make build' [2022-06-27T20:10:09.193Z] ---> Running in ab9445b7a423 [2022-06-27T20:10:09.193Z] Removing intermediate container ab9445b7a423 [2022-06-27T20:10:09.193Z] ---> bfa3e9025dd5 [2022-06-27T20:10:09.193Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:10:09.193Z] ---> Running in d2de50789dd7 [2022-06-27T20:10:09.802Z] Removing intermediate container d2de50789dd7 [2022-06-27T20:10:09.802Z] ---> 346beadd1a17 [2022-06-27T20:10:09.802Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:10:09.802Z] ---> Running in fc737ca91f07 [2022-06-27T20:10:10.078Z] Removing intermediate container fc737ca91f07 [2022-06-27T20:10:10.078Z] ---> 48c56d451078 [2022-06-27T20:10:10.078Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:10:10.078Z] ---> Running in a71595881c97 [2022-06-27T20:10:12.081Z] Removing intermediate container a71595881c97 [2022-06-27T20:10:12.081Z] ---> 1b09a4c1be4b [2022-06-27T20:10:12.081Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:10:12.081Z] ---> Running in 1f84a1ad50d8 [2022-06-27T20:10:14.078Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:10:15.064Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:10:16.038Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T20:10:16.038Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T20:10:16.038Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T20:10:16.317Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T20:10:16.317Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T20:10:16.317Z] OK: 224 MiB in 56 packages [2022-06-27T20:10:17.318Z] Removing intermediate container 1f84a1ad50d8 [2022-06-27T20:10:17.318Z] ---> 51bde4c0ba03 [2022-06-27T20:10:17.318Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-27T20:10:17.318Z] ---> Running in 56807ed71006 [2022-06-27T20:10:17.599Z] Removing intermediate container 56807ed71006 [2022-06-27T20:10:17.599Z] ---> b24f1777b609 [2022-06-27T20:10:17.599Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T20:10:18.202Z] ---> 48ba12770212 [2022-06-27T20:10:18.202Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:10:18.484Z] ---> Running in 80a67b03d88c [2022-06-27T20:11:05.477Z] Removing intermediate container 80a67b03d88c [2022-06-27T20:11:05.477Z] ---> 406a224d08a4 [2022-06-27T20:11:05.477Z] Step 11/12 : COPY . . [2022-06-27T20:11:05.477Z] ---> 900dd8ebb5b9 [2022-06-27T20:11:05.477Z] Step 12/12 : RUN $MAKE [2022-06-27T20:11:05.477Z] ---> Running in 5f2f87b16e4c [2022-06-27T20:11:05.477Z] noop [2022-06-27T20:11:05.477Z] Removing intermediate container 5f2f87b16e4c [2022-06-27T20:11:05.477Z] ---> 4f7a9a3c9425 [2022-06-27T20:11:05.477Z] Successfully built 4f7a9a3c9425 [2022-06-27T20:11:05.477Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:11:05.962Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:11:05.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:11:06.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-16137 does not seem to be running inside a container [2022-06-27T20:11:06.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T20:11:07.739Z] $ docker top b5269cce507f2a1ccc1e386efb4a871490b83a260c6bf2c39d61a65e6bde08ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:11:08.806Z] + go version [2022-06-27T20:11:08.806Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T20:11:08.838Z] $ docker stop --time=1 b5269cce507f2a1ccc1e386efb4a871490b83a260c6bf2c39d61a65e6bde08ef [2022-06-27T20:11:10.531Z] $ docker rm -f b5269cce507f2a1ccc1e386efb4a871490b83a260c6bf2c39d61a65e6bde08ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:11:11.429Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:11:11.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:11:11.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-16137 does not seem to be running inside a container [2022-06-27T20:11:11.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T20:11:13.120Z] $ docker top 89030dc738ec83e2d07d626ff741b0342214ab07830f921cb60e3ffa85568f01 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:11:14.193Z] + make test [2022-06-27T20:11:14.193Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:11:16.176Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-27T20:12:53.103Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-27T20:12:53.103Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-06-27T20:12:53.103Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T20:12:53.103Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T20:13:08.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T20:13:08.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T20:13:08.244Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T20:13:10.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T20:13:10.295Z] $ docker stop --time=1 89030dc738ec83e2d07d626ff741b0342214ab07830f921cb60e3ffa85568f01 [2022-06-27T20:13:12.116Z] $ docker rm -f 89030dc738ec83e2d07d626ff741b0342214ab07830f921cb60e3ffa85568f01 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:13:13.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T20:13:13.239Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T20:13:13.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:13:14.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T20:13:14.787Z] + ls -al . [2022-06-27T20:13:14.787Z] total 168 [2022-06-27T20:13:14.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:13 . [2022-06-27T20:13:14.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 20:09 .. [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 20:09 .dockerignore [2022-06-27T20:13:14.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:09 .git [2022-06-27T20:13:14.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:09 .github [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 20:09 .gitignore [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 20:09 .golangci.yml [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 27 20:09 Attribution.txt [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 27 20:09 CHANGELOG.md [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 27 20:09 Dockerfile [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 20:09 GOVERNANCE.md [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 20:09 Jenkinsfile [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 20:09 LICENSE [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 27 20:09 Makefile [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 20:09 OWNERS.md [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 27 20:09 README.md [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 20:06 VERSION [2022-06-27T20:13:14.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:09 bin [2022-06-27T20:13:14.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:09 cmd [2022-06-27T20:13:14.787Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 27 20:12 coverage.out [2022-06-27T20:13:14.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:09 driver [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 27 20:09 go.mod [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 27 20:09 go.sum [2022-06-27T20:13:14.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:09 snap [2022-06-27T20:13:14.787Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 20:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:13:15.257Z] + 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=c6018e2bd26355b0e4d30e1966bab3a5bc119c41 --label arch=arm64 --label version=0.0.0 . [2022-06-27T20:13:15.257Z] Sending build context to Docker daemon 139.3kB [2022-06-27T20:13:15.536Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:13:15.536Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-27T20:13:15.536Z] ---> 4f7a9a3c9425 [2022-06-27T20:13:15.536Z] Step 3/25 : ARG MAKE='make build' [2022-06-27T20:13:15.813Z] ---> Running in abf9d8e2dab6 [2022-06-27T20:13:16.088Z] Removing intermediate container abf9d8e2dab6 [2022-06-27T20:13:16.088Z] ---> 9543eb766914 [2022-06-27T20:13:16.088Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:13:16.088Z] ---> Running in 928ed1fe5939 [2022-06-27T20:13:16.372Z] Removing intermediate container 928ed1fe5939 [2022-06-27T20:13:16.372Z] ---> ca21cbd7c114 [2022-06-27T20:13:16.372Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:13:16.372Z] ---> Running in 4c9e4da7e8f8 [2022-06-27T20:13:16.976Z] Removing intermediate container 4c9e4da7e8f8 [2022-06-27T20:13:16.976Z] ---> 6abd95ae4e84 [2022-06-27T20:13:16.976Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:13:16.976Z] ---> Running in ca65e6650cd7 [2022-06-27T20:13:18.957Z] Removing intermediate container ca65e6650cd7 [2022-06-27T20:13:18.957Z] ---> cbbca7f46e4f [2022-06-27T20:13:18.957Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:13:18.957Z] ---> Running in 6c72bc6d3f89 [2022-06-27T20:13:19.937Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:13:20.531Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:13:21.511Z] OK: 224 MiB in 56 packages [2022-06-27T20:13:22.503Z] Removing intermediate container 6c72bc6d3f89 [2022-06-27T20:13:22.503Z] ---> 74b08b084e44 [2022-06-27T20:13:22.503Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-27T20:13:22.503Z] ---> Running in d8d53c1fd59b [2022-06-27T20:13:22.778Z] Removing intermediate container d8d53c1fd59b [2022-06-27T20:13:22.778Z] ---> a197986c120f [2022-06-27T20:13:22.778Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-27T20:13:23.377Z] ---> e4a303d58330 [2022-06-27T20:13:23.378Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:13:23.378Z] ---> Running in ae5db0e4e0b0 [2022-06-27T20:13:25.374Z] Removing intermediate container ae5db0e4e0b0 [2022-06-27T20:13:25.374Z] ---> 0e7fd2c2e916 [2022-06-27T20:13:25.374Z] Step 11/25 : COPY . . [2022-06-27T20:13:25.981Z] ---> 8e93dea59064 [2022-06-27T20:13:25.981Z] Step 12/25 : RUN $MAKE [2022-06-27T20:13:25.981Z] ---> Running in 24fdf6a09584 [2022-06-27T20:13:27.430Z] 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-06-27T20:15:34.318Z] Removing intermediate container 24fdf6a09584 [2022-06-27T20:15:34.319Z] ---> b6c0ad59ef94 [2022-06-27T20:15:34.319Z] Step 13/25 : FROM alpine:3.14 [2022-06-27T20:15:34.319Z] 3.14: Pulling from library/alpine [2022-06-27T20:15:34.319Z] 455c02918c45: Pulling fs layer [2022-06-27T20:15:34.319Z] 455c02918c45: Download complete [2022-06-27T20:15:34.319Z] 455c02918c45: Pull complete [2022-06-27T20:15:34.319Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T20:15:34.319Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T20:15:34.319Z] ---> ac73e934f311 [2022-06-27T20:15:34.319Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-27T20:15:34.319Z] ---> Running in e6ca14412c50 [2022-06-27T20:15:34.319Z] Removing intermediate container e6ca14412c50 [2022-06-27T20:15:34.319Z] ---> 7319d979925b [2022-06-27T20:15:34.319Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-27T20:15:34.319Z] ---> Running in 14539dc049f4 [2022-06-27T20:15:34.319Z] Removing intermediate container 14539dc049f4 [2022-06-27T20:15:34.319Z] ---> d47cdde626c4 [2022-06-27T20:15:34.319Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T20:15:34.319Z] ---> Running in 57ec05dc4ea6 [2022-06-27T20:15:34.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:15:34.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:15:34.319Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T20:15:34.319Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T20:15:34.319Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T20:15:34.319Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T20:15:34.319Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T20:15:34.319Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T20:15:34.319Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T20:15:34.319Z] OK: 8 MiB in 20 packages [2022-06-27T20:15:34.319Z] Removing intermediate container 57ec05dc4ea6 [2022-06-27T20:15:34.319Z] ---> e0e63e524991 [2022-06-27T20:15:34.319Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-27T20:15:35.294Z] ---> 8e578fe6f71d [2022-06-27T20:15:35.294Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-27T20:15:35.893Z] ---> 1d3e0585f016 [2022-06-27T20:15:35.893Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-27T20:15:36.488Z] ---> 79f339d4347c [2022-06-27T20:15:36.488Z] Step 20/25 : EXPOSE 59986 [2022-06-27T20:15:36.488Z] ---> Running in ba4424bb1fb7 [2022-06-27T20:15:36.764Z] Removing intermediate container ba4424bb1fb7 [2022-06-27T20:15:36.764Z] ---> 6480c2583c39 [2022-06-27T20:15:36.764Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-27T20:15:37.037Z] ---> Running in ea77216eb9d8 [2022-06-27T20:15:37.309Z] Removing intermediate container ea77216eb9d8 [2022-06-27T20:15:37.309Z] ---> 28e5f63a6164 [2022-06-27T20:15:37.309Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-27T20:15:37.309Z] ---> Running in ac0eeca66181 [2022-06-27T20:15:37.582Z] Removing intermediate container ac0eeca66181 [2022-06-27T20:15:37.582Z] ---> 9d9b90c14aad [2022-06-27T20:15:37.582Z] Step 23/25 : LABEL arch=arm64 [2022-06-27T20:15:37.582Z] ---> Running in f77890480030 [2022-06-27T20:15:37.857Z] Removing intermediate container f77890480030 [2022-06-27T20:15:37.857Z] ---> 07494c9263e6 [2022-06-27T20:15:37.857Z] Step 24/25 : LABEL git_sha=c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [2022-06-27T20:15:38.142Z] ---> Running in e5a74f1dd829 [2022-06-27T20:15:38.415Z] Removing intermediate container e5a74f1dd829 [2022-06-27T20:15:38.415Z] ---> 1b7cefc86a8b [2022-06-27T20:15:38.415Z] Step 25/25 : LABEL version=0.0.0 [2022-06-27T20:15:38.415Z] ---> Running in 57af05390f17 [2022-06-27T20:15:38.694Z] Removing intermediate container 57af05390f17 [2022-06-27T20:15:38.694Z] ---> 9df6597311c9 [2022-06-27T20:15:38.694Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T20:15:38.694Z] Successfully built 9df6597311c9 [2022-06-27T20:15:38.694Z] 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-06-27T20:15:39.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:15:39.457Z] [2022-06-27T20:15:39.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:15:39.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:15:40.139Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T20:15:40.139Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T20:15:40.139Z] 04944245beec: Pulling fs layer [2022-06-27T20:15:40.139Z] 699f458cf7ca: Pulling fs layer [2022-06-27T20:15:40.139Z] 765212b225bb: Pulling fs layer [2022-06-27T20:15:40.139Z] f23df028b6ca: Pulling fs layer [2022-06-27T20:15:40.139Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T20:15:40.139Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T20:15:40.139Z] 765212b225bb: Waiting [2022-06-27T20:15:40.139Z] f23df028b6ca: Waiting [2022-06-27T20:15:40.139Z] d65c8cfc05b1: Waiting [2022-06-27T20:15:40.139Z] 2437ff75d9bd: Waiting [2022-06-27T20:15:40.139Z] 04944245beec: Verifying Checksum [2022-06-27T20:15:40.139Z] 04944245beec: Download complete [2022-06-27T20:15:40.139Z] 765212b225bb: Verifying Checksum [2022-06-27T20:15:40.139Z] 765212b225bb: Download complete [2022-06-27T20:15:40.139Z] f23df028b6ca: Verifying Checksum [2022-06-27T20:15:40.139Z] f23df028b6ca: Download complete [2022-06-27T20:15:40.139Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T20:15:40.139Z] d65c8cfc05b1: Download complete [2022-06-27T20:15:40.413Z] 699f458cf7ca: Verifying Checksum [2022-06-27T20:15:40.687Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T20:15:40.687Z] 8998bd30e6a1: Download complete [2022-06-27T20:15:42.670Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T20:15:42.670Z] 2437ff75d9bd: Download complete [2022-06-27T20:15:45.288Z] 8998bd30e6a1: Pull complete [2022-06-27T20:15:45.288Z] 04944245beec: Pull complete [2022-06-27T20:15:46.723Z] 699f458cf7ca: Pull complete [2022-06-27T20:15:46.999Z] 765212b225bb: Pull complete [2022-06-27T20:15:47.979Z] f23df028b6ca: Pull complete [2022-06-27T20:15:48.254Z] d65c8cfc05b1: Pull complete [2022-06-27T20:16:03.334Z] 2437ff75d9bd: Pull complete [2022-06-27T20:16:03.334Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T20:16:03.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:16:03.334Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:16:03.707Z] prd-ubuntu20.04-docker-arm64-4c-16g-16137 does not seem to be running inside a container [2022-06-27T20:16:03.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T20:16:06.441Z] $ docker top f0f26627140a60d87a12f2e2f0b2dd0ab2c06e035b3149a1881d0e370fbc1727 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:07.423Z] ---> job-cost.sh [2022-06-27T20:16:07.423Z] lf-activate-venv: SKIPPING [2022-06-27T20:16:07.423Z] INFO: No Stack... [2022-06-27T20:16:08.015Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T20:16:08.608Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:16:09.275Z] + + cut -d, -f6 [2022-06-27T20:16:09.275Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-06-27T20:16:09.351Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] [2022-06-27T20:16:09.356Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] did not exist. Created. [2022-06-27T20:16:09.356Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:16:10.099Z] /w/workspace/device-rest-go/1@tmp/durable-8e4139ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T20:16:10.791Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T20:16:10.825Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T20:16:10.868Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:16:10.883Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:16:10.957Z] $ docker stop --time=1 f0f26627140a60d87a12f2e2f0b2dd0ab2c06e035b3149a1881d0e370fbc1727 [2022-06-27T20:16:12.463Z] $ docker rm -f f0f26627140a60d87a12f2e2f0b2dd0ab2c06e035b3149a1881d0e370fbc1727 [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-06-27T20:16:13.412Z] provisioning config files... [2022-06-27T20:16:13.421Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-200@tmp/config2203703467569167460tmp [Pipeline] { [Pipeline] sh [2022-06-27T20:16:13.761Z] + set +x [2022-06-27T20:16:13.761Z] + curl -s https://codecov.io/bash [2022-06-27T20:16:13.761Z] + bash -s -- [2022-06-27T20:16:13.761Z] [2022-06-27T20:16:13.761Z] _____ _ [2022-06-27T20:16:13.761Z] / ____| | | [2022-06-27T20:16:13.761Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T20:16:13.761Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T20:16:13.761Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T20:16:13.761Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T20:16:13.761Z] Bash-1.0.6 [2022-06-27T20:16:13.761Z] [2022-06-27T20:16:13.761Z] [2022-06-27T20:16:13.761Z] ==> git version 2.25.1 found [2022-06-27T20:16:13.761Z] ==> 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-06-27T20:16:13.761Z] Release-Date: 2020-01-08 [2022-06-27T20:16:13.761Z] 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-06-27T20:16:13.761Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T20:16:13.761Z] ==> Jenkins CI detected. [2022-06-27T20:16:13.761Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-200 [2022-06-27T20:16:13.762Z] project root: . [2022-06-27T20:16:13.762Z] --> token set from env [2022-06-27T20:16:13.762Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T20:16:13.762Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T20:16:13.762Z] ==> Python coveragepy not found [2022-06-27T20:16:13.762Z] ==> Searching for coverage reports in: [2022-06-27T20:16:13.762Z] + . [2022-06-27T20:16:13.762Z] -> Found 1 reports [2022-06-27T20:16:13.762Z] ==> Detecting git/mercurial file structure [2022-06-27T20:16:13.762Z] ==> Reading reports [2022-06-27T20:16:13.762Z] + ./coverage.out bytes=9355 [2022-06-27T20:16:13.762Z] ==> Appending adjustments [2022-06-27T20:16:13.762Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T20:16:13.762Z] + Found adjustments [2022-06-27T20:16:13.762Z] ==> Gzipping contents [2022-06-27T20:16:13.762Z] 4.0K /tmp/codecov.TIb1TT.gz [2022-06-27T20:16:13.762Z] ==> Uploading reports [2022-06-27T20:16:13.762Z] url: https://codecov.io [2022-06-27T20:16:13.762Z] query: branch=PR-200&commit=c6018e2bd26355b0e4d30e1966bab3a5bc119c41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-06-27T20:16:13.762Z] -> Pinging Codecov [2022-06-27T20:16:13.762Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-200&commit=c6018e2bd26355b0e4d30e1966bab3a5bc119c41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-06-27T20:16:14.333Z] -> Uploading to [2022-06-27T20:16:14.333Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/4E5D53B4F1F92C436F7061BF334D961C/c6018e2bd26355b0e4d30e1966bab3a5bc119c41/8b8b4c91-a101-4770-a6f0-42d53425e116.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T201613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb4cf9f2ef02a748fc46a5bd15fbb789e7d8693c6fcf40850402b11ef5a46f36 [2022-06-27T20:16:14.333Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:16:14.333Z] Dload Upload Total Spent Left Speed [2022-06-27T20:16:14.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8985 --:--:-- --:--:-- --:--:-- 8985 [2022-06-27T20:16:14.333Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c6018e2bd26355b0e4d30e1966bab3a5bc119c41 [Pipeline] } [2022-06-27T20:16:14.360Z] 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-06-27T20:16:15.929Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-200/archives ] [2022-06-27T20:16:15.929Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-200/archives [2022-06-27T20:16:15.929Z] total 16 [2022-06-27T20:16:15.929Z] drwxr-xr-x 3 root root 4096 Jun 27 20:07 . [2022-06-27T20:16:15.929Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:07 .. [2022-06-27T20:16:15.929Z] drwxr-xr-x 2 root root 4096 Jun 27 20:07 cost [2022-06-27T20:16:15.929Z] -rw-r--r-- 1 root root 85 Jun 27 20:07 cost.csv [2022-06-27T20:16:15.929Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-200/archives [2022-06-27T20:16:15.929Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-200/archives [2022-06-27T20:16:15.929Z] total 16 [2022-06-27T20:16:15.929Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:07 . [2022-06-27T20:16:15.929Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:07 .. [2022-06-27T20:16:15.929Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:07 cost [2022-06-27T20:16:15.929Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 27 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:16.261Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:17.152Z] ---> package-listing.sh [2022-06-27T20:16:17.152Z] ++ facter osfamily [2022-06-27T20:16:17.152Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T20:16:17.414Z] + OS_FAMILY=debian [2022-06-27T20:16:17.414Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-200 [2022-06-27T20:16:17.414Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T20:16:17.414Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T20:16:17.414Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T20:16:17.414Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T20:16:17.414Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-200 ']' [2022-06-27T20:16:17.414Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T20:16:17.414Z] + case "${OS_FAMILY}" in [2022-06-27T20:16:17.414Z] + dpkg -l [2022-06-27T20:16:17.414Z] + grep '^ii' [2022-06-27T20:16:17.414Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T20:16:17.414Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T20:16:17.414Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T20:16:17.414Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-200 ']' [2022-06-27T20:16:17.414Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-200/archives/ [2022-06-27T20:16:17.414Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-200/archives/ [Pipeline] echo [2022-06-27T20:16:17.447Z] 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T20:16:17.740Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:16:18.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:16:18.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:16:18.520Z] prd-ubuntu20.04-docker-8c-8g-16135 does not seem to be running inside a container [2022-06-27T20:16:18.555Z] $ 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-200/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-200 -v /w/workspace/gexfoundry_device-rest-go_PR-200:/w/workspace/gexfoundry_device-rest-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-200@tmp:/w/workspace/gexfoundry_device-rest-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T20:16:18.817Z] $ docker top 59aa45a31b12adc01fa599b52a0316237561cbf989ac71277bf133d25b7655d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:16:19.227Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T20:16:19.538Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T20:16:19.851Z] + ls /var/log/sa-host [2022-06-27T20:16:19.851Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:16:19.973Z] provisioning config files... [2022-06-27T20:16:19.982Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-200@tmp/config50529425612518362tmp [Pipeline] { [Pipeline] echo [2022-06-27T20:16:20.031Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:20.349Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T20:16:20.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:20.784Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T20:16:20.819Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:21.135Z] ---> sudo-logs.sh [2022-06-27T20:16:21.135Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T20:16:21.212Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:21.522Z] ---> job-cost.sh [2022-06-27T20:16:21.522Z] lf-activate-venv: SKIPPING [2022-06-27T20:16:21.522Z] DEBUG: total: 0.2199999988079071 [2022-06-27T20:16:21.522Z] INFO: Retrieving Stack Cost... [2022-06-27T20:16:22.093Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:16:22.354Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T20:16:22.390Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:22.701Z] ---> logs-deploy.sh [2022-06-27T20:16:22.701Z] lf-activate-venv: SKIPPING [2022-06-27T20:16:22.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-200/1 [2022-06-27T20:16:22.701Z] INFO: archiving workspace using pattern(s): [2022-06-27T20:16:23.642Z] Archives upload complete. [2022-06-27T20:16:23.642Z] INFO: archiving logs to Nexus