Pull request #232 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from d29b9e59c05c044e88d680de2b8346f3f7d9974a+885eff3573f731dbb8051040958eb45753ebbb2c (8f814e12e60e696501b627f76ace0d5fcfedecb1) 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-ssh13109470152567305263.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh497911651249371169.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12311908852567295828.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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5612926289961595146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13832354344630065488.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11512200078113847303.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-916’ Running on prd-ubuntu20.04-docker-8c-8g-918 in /w/workspace/gexfoundry_device-rest-go_PR-232 [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-232 # 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 > 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/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 885eff3573f731dbb8051040958eb45753ebbb2c into PR head commit d29b9e59c05c044e88d680de2b8346f3f7d9974a Merge succeeded, producing d29b9e59c05c044e88d680de2b8346f3f7d9974a Checking out Revision d29b9e59c05c044e88d680de2b8346f3f7d9974a (PR-232) > git config core.sparsecheckout # timeout=10 > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # 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 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T18:00:20.388Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T18:00:20.568Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T18:00:20.672Z] ========================================================= [2023-01-03T18:00:20.672Z] EdgeX Global Pipelines Version Info [2023-01-03T18:00:20.672Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:00:21.772Z] ------------------- [2023-01-03T18:00:21.772Z] stable info: [2023-01-03T18:00:21.772Z] ------------------- [2023-01-03T18:00:21.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T18:00:21.772Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:00:21.772Z] Message: update stable to v1.0.244 [2023-01-03T18:00:22.032Z] ------------------- [2023-01-03T18:00:22.032Z] experimental info: [2023-01-03T18:00:22.032Z] ------------------- [2023-01-03T18:00:22.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T18:00:22.032Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:00:22.032Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T18:00:22.315Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-03T18:00:22.357Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-03T18:00:22.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T18:00:22.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T18:00:22.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T18:00:22.519Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T18:00:22.560Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T18:00:22.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T18:00:22.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T18:00:22.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T18:00:22.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T18:00:22.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-03T18:00:22.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T18:00:22.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T18:00:22.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:00:22.935Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:00:22.975Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:00:23.017Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:00:23.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T18:00:23.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T18:00:23.142Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-03T18:00:23.187Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-03T18:00:23.229Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T18:00:23.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T18:00:23.315Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T18:00:23.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T18:00:23.388Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T18:00:23.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo [2023-01-03T18:00:23.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo [2023-01-03T18:00:23.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo [2023-01-03T18:00:23.558Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo [2023-01-03T18:00:23.600Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d29b9e5 [Pipeline] echo [2023-01-03T18:00:23.638Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:00:23.744Z] provisioning config files... [2023-01-03T18:00:23.759Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config3661584674102285284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:00:24.098Z] ---> docker-login.sh [2023-01-03T18:00:24.098Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:00:24.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:24.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:24.618Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:24.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:24.618Z] [2023-01-03T18:00:24.618Z] Login Succeeded [2023-01-03T18:00:24.618Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:00:24.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:24.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:24.618Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:24.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:24.618Z] [2023-01-03T18:00:24.618Z] Login Succeeded [2023-01-03T18:00:24.618Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:00:24.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:24.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:24.879Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:24.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:24.879Z] [2023-01-03T18:00:24.879Z] Login Succeeded [2023-01-03T18:00:24.879Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:00:24.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:24.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:24.879Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:24.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:24.879Z] [2023-01-03T18:00:24.879Z] Login Succeeded [2023-01-03T18:00:24.879Z] docker.io [2023-01-03T18:00:24.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:25.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:25.139Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:25.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:25.139Z] [2023-01-03T18:00:25.139Z] Login Succeeded [2023-01-03T18:00:25.139Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:00:25.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T18:00:25.764Z] + git rev-list -1 --merges d29b9e59c05c044e88d680de2b8346f3f7d9974a~1..d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo [2023-01-03T18:00:25.826Z] -----------> git rev-list -1 --merges d29b9e59c05c044e88d680de2b8346f3f7d9974a~1..d29b9e59c05c044e88d680de2b8346f3f7d9974a d29b9e59c05c044e88d680de2b8346f3f7d9974a [false] [Pipeline] sh [2023-01-03T18:00:26.132Z] + git log --format=format:%s -1 d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo [2023-01-03T18:00:26.169Z] ========================================================= [2023-01-03T18:00:26.169Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T18:00:26.169Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:00:26.581Z] + git log --format=format:%s -1 d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] echo [2023-01-03T18:00:26.611Z] [semverPrep] GIT_COMMIT: d29b9e59c05c044e88d680de2b8346f3f7d9974a, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-03T18:00:26.639Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T18:00:26.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:00:26.998Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T18:00:26.998Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T18:00:26.998Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T18:00:26.998Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T18:00:26.998Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T18:00:26.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:00:27.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:00:27.406Z] [2023-01-03T18:00:27.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:00:27.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:00:27.778Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T18:00:27.778Z] b85a868b505f: Pulling fs layer [2023-01-03T18:00:27.778Z] e2be974225ed: Pulling fs layer [2023-01-03T18:00:27.778Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T18:00:27.778Z] 988bab9f4d93: Pulling fs layer [2023-01-03T18:00:27.778Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T18:00:27.778Z] eaf3925da568: Pulling fs layer [2023-01-03T18:00:27.778Z] bab4dde63d76: Pulling fs layer [2023-01-03T18:00:27.778Z] bde34c3a00c8: Pulling fs layer [2023-01-03T18:00:27.778Z] b352a97aabf1: Pulling fs layer [2023-01-03T18:00:27.778Z] 4872d77fe225: Pulling fs layer [2023-01-03T18:00:27.778Z] 5851b861e8e6: Pulling fs layer [2023-01-03T18:00:27.778Z] 988bab9f4d93: Waiting [2023-01-03T18:00:27.778Z] b352a97aabf1: Waiting [2023-01-03T18:00:27.778Z] 4872d77fe225: Waiting [2023-01-03T18:00:27.778Z] 1469e6f7b9e6: Waiting [2023-01-03T18:00:27.778Z] 5851b861e8e6: Waiting [2023-01-03T18:00:27.778Z] eaf3925da568: Waiting [2023-01-03T18:00:27.778Z] bde34c3a00c8: Waiting [2023-01-03T18:00:27.778Z] bab4dde63d76: Waiting [2023-01-03T18:00:27.778Z] e2be974225ed: Verifying Checksum [2023-01-03T18:00:27.778Z] 988bab9f4d93: Verifying Checksum [2023-01-03T18:00:27.778Z] 988bab9f4d93: Download complete [2023-01-03T18:00:28.050Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T18:00:28.050Z] 1469e6f7b9e6: Download complete [2023-01-03T18:00:28.050Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T18:00:28.050Z] 339a4e72a1f5: Download complete [2023-01-03T18:00:28.050Z] eaf3925da568: Verifying Checksum [2023-01-03T18:00:28.050Z] eaf3925da568: Download complete [2023-01-03T18:00:28.050Z] bde34c3a00c8: Verifying Checksum [2023-01-03T18:00:28.050Z] bde34c3a00c8: Download complete [2023-01-03T18:00:28.050Z] b352a97aabf1: Download complete [2023-01-03T18:00:28.050Z] 4872d77fe225: Download complete [2023-01-03T18:00:28.050Z] 5851b861e8e6: Download complete [2023-01-03T18:00:28.050Z] b85a868b505f: Verifying Checksum [2023-01-03T18:00:28.050Z] b85a868b505f: Download complete [2023-01-03T18:00:28.313Z] bab4dde63d76: Verifying Checksum [2023-01-03T18:00:28.313Z] bab4dde63d76: Download complete [2023-01-03T18:00:29.249Z] b85a868b505f: Pull complete [2023-01-03T18:00:29.249Z] e2be974225ed: Pull complete [2023-01-03T18:00:29.819Z] 339a4e72a1f5: Pull complete [2023-01-03T18:00:29.819Z] 988bab9f4d93: Pull complete [2023-01-03T18:00:30.080Z] 1469e6f7b9e6: Pull complete [2023-01-03T18:00:30.339Z] eaf3925da568: Pull complete [2023-01-03T18:00:32.305Z] bab4dde63d76: Pull complete [2023-01-03T18:00:32.305Z] bde34c3a00c8: Pull complete [2023-01-03T18:00:32.305Z] b352a97aabf1: Pull complete [2023-01-03T18:00:32.305Z] 4872d77fe225: Pull complete [2023-01-03T18:00:32.305Z] 5851b861e8e6: Pull complete [2023-01-03T18:00:32.305Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T18:00:32.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:00:32.305Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:00:32.542Z] prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container [2023-01-03T18:00:32.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:00:33.726Z] $ docker top 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d -eo pid,comm [2023-01-03T18:00:33.780Z] 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). [2023-01-03T18:00:33.780Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:00:33.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:00:33.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:00:34.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:00:34.071Z] $ docker exec 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent [2023-01-03T18:00:34.183Z] SSH_AUTH_SOCK=/tmp/ssh-OO8YqCbORVt3/agent.32 [2023-01-03T18:00:34.183Z] SSH_AGENT_PID=38 [2023-01-03T18:00:34.190Z] Running ssh-add (command line suppressed) [2023-01-03T18:00:34.296Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_8274777332933490722.key (/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_8274777332933490722.key) [2023-01-03T18:00:34.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:00:34.631Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T18:00:34.659Z] $ docker exec --env ******** --env ******** 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent -k [2023-01-03T18:00:34.770Z] unset SSH_AUTH_SOCK; [2023-01-03T18:00:34.770Z] unset SSH_AGENT_PID; [2023-01-03T18:00:34.770Z] echo Agent pid 38 killed; [2023-01-03T18:00:34.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T18:00:34.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:00:34.880Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:00:35.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:00:35.013Z] $ docker exec 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent [2023-01-03T18:00:35.130Z] SSH_AUTH_SOCK=/tmp/ssh-dvhsCAJda3SC/agent.70 [2023-01-03T18:00:35.130Z] SSH_AGENT_PID=76 [2023-01-03T18:00:35.135Z] Running ssh-add (command line suppressed) [2023-01-03T18:00:35.241Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_11388441032591673129.key (/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/private_key_11388441032591673129.key) [2023-01-03T18:00:35.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:00:35.582Z] + git semver init [2023-01-03T18:00:35.840Z] 2023-01-03 18:00:35,770 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T18:00:35.840Z] 2023-01-03 18:00:35,770 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-232/.semver [2023-01-03T18:00:35.840Z] 2023-01-03 18:00:35,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-232/.semver [2023-01-03T18:00:35.840Z] 2023-01-03 18:00:35,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-232/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-232, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,881 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-232/.git/info/exclude [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-232/.semver/PR-232 with force:False [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,882 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-232/.semver/PR-232 [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,886 [execute] INFO git cat-file --batch-check [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,894 [execute] INFO git cat-file --batch [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:00:37.219Z] 2023-01-03 18:00:36,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-232/.semver/PR-232 [2023-01-03T18:00:37.219Z] 0.0.0 [Pipeline] } [2023-01-03T18:00:37.248Z] $ docker exec --env ******** --env ******** 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d ssh-agent -k [2023-01-03T18:00:37.352Z] unset SSH_AUTH_SOCK; [2023-01-03T18:00:37.353Z] unset SSH_AGENT_PID; [2023-01-03T18:00:37.353Z] echo Agent pid 76 killed; [2023-01-03T18:00:37.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:00:37.783Z] + git semver [Pipeline] } [2023-01-03T18:00:38.067Z] $ docker stop --time=1 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d [2023-01-03T18:00:39.364Z] $ docker rm -f --volumes 24bb03c08d073f284d3cb1ca7153916842fa06d1c51843bf34224dec56b88d2d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:00:39.759Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T18:00:40.040Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T18:00:40.058Z] [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 [2023-01-03T18:00:40.700Z] provisioning config files... [2023-01-03T18:00:40.710Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config12639035318516311213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:00:41.061Z] ---> docker-login.sh [2023-01-03T18:00:41.061Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:00:41.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:41.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:41.061Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:41.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:41.061Z] [2023-01-03T18:00:41.061Z] Login Succeeded [2023-01-03T18:00:41.061Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:00:41.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:41.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:41.061Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:41.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:41.061Z] [2023-01-03T18:00:41.061Z] Login Succeeded [2023-01-03T18:00:41.061Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:00:41.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:41.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:41.320Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:41.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:41.320Z] [2023-01-03T18:00:41.320Z] Login Succeeded [2023-01-03T18:00:41.320Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:00:41.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:41.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:41.320Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:41.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:41.320Z] [2023-01-03T18:00:41.320Z] Login Succeeded [2023-01-03T18:00:41.320Z] docker.io [2023-01-03T18:00:41.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:00:41.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:00:41.579Z] Configure a credential helper to remove this warning. See [2023-01-03T18:00:41.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:00:41.579Z] [2023-01-03T18:00:41.579Z] Login Succeeded [2023-01-03T18:00:41.579Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:00:41.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:00:41.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:00:41.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:00:41.870Z] ========================================================= [2023-01-03T18:00:41.870Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T18:00:41.870Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:00:42.341Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T18:00:42.341Z] Sending build context to Docker daemon 10.78MB [2023-01-03T18:00:42.341Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:00:42.341Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T18:00:42.341Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T18:00:42.341Z] 213ec9aee27d: Pulling fs layer [2023-01-03T18:00:42.341Z] 4583459ba037: Pulling fs layer [2023-01-03T18:00:42.341Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T18:00:42.341Z] 53926ce57604: Pulling fs layer [2023-01-03T18:00:42.341Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T18:00:42.341Z] 22ff95d597cd: Pulling fs layer [2023-01-03T18:00:42.341Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T18:00:42.341Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T18:00:42.341Z] a7acece74701: Pulling fs layer [2023-01-03T18:00:42.341Z] 53926ce57604: Waiting [2023-01-03T18:00:42.341Z] 21b2b0c7a3f4: Waiting [2023-01-03T18:00:42.341Z] a7acece74701: Waiting [2023-01-03T18:00:42.341Z] 22ff95d597cd: Waiting [2023-01-03T18:00:42.341Z] 96b7cbca73a9: Waiting [2023-01-03T18:00:42.341Z] 12d6caf4c0d1: Waiting [2023-01-03T18:00:42.341Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T18:00:42.341Z] 93c1e223e6f2: Download complete [2023-01-03T18:00:42.341Z] 4583459ba037: Download complete [2023-01-03T18:00:42.605Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T18:00:42.605Z] 21b2b0c7a3f4: Download complete [2023-01-03T18:00:42.605Z] 22ff95d597cd: Download complete [2023-01-03T18:00:42.605Z] 213ec9aee27d: Download complete [2023-01-03T18:00:42.605Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T18:00:42.605Z] 12d6caf4c0d1: Download complete [2023-01-03T18:00:42.605Z] 213ec9aee27d: Pull complete [2023-01-03T18:00:42.879Z] 4583459ba037: Pull complete [2023-01-03T18:00:42.880Z] 93c1e223e6f2: Pull complete [2023-01-03T18:00:43.143Z] a7acece74701: Verifying Checksum [2023-01-03T18:00:43.143Z] a7acece74701: Download complete [2023-01-03T18:00:43.143Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T18:00:43.143Z] 96b7cbca73a9: Download complete [2023-01-03T18:00:43.407Z] 53926ce57604: Verifying Checksum [2023-01-03T18:00:43.407Z] 53926ce57604: Download complete [2023-01-03T18:00:47.597Z] 53926ce57604: Pull complete [2023-01-03T18:00:47.597Z] 21b2b0c7a3f4: Pull complete [2023-01-03T18:00:47.597Z] 22ff95d597cd: Pull complete [2023-01-03T18:00:47.597Z] 12d6caf4c0d1: Pull complete [2023-01-03T18:00:48.969Z] 96b7cbca73a9: Pull complete [2023-01-03T18:00:49.904Z] a7acece74701: Pull complete [2023-01-03T18:00:49.904Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T18:00:49.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T18:00:49.904Z] ---> db6d94c90886 [2023-01-03T18:00:49.904Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:00:51.284Z] ---> Running in c1bec6826a01 [2023-01-03T18:00:51.284Z] Removing intermediate container c1bec6826a01 [2023-01-03T18:00:51.284Z] ---> 90f67350b540 [2023-01-03T18:00:51.284Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:00:51.284Z] ---> Running in 640d4758aa6f [2023-01-03T18:00:51.545Z] Removing intermediate container 640d4758aa6f [2023-01-03T18:00:51.545Z] ---> 8039c4c12cf8 [2023-01-03T18:00:51.545Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:00:51.545Z] ---> Running in 632c9c046098 [2023-01-03T18:00:51.545Z] Removing intermediate container 632c9c046098 [2023-01-03T18:00:51.545Z] ---> 77f11c1e3d94 [2023-01-03T18:00:51.545Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:00:51.545Z] ---> Running in 9c2e3004affd [2023-01-03T18:00:51.805Z] Removing intermediate container 9c2e3004affd [2023-01-03T18:00:51.805Z] ---> bbe6d95d37e8 [2023-01-03T18:00:51.805Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:00:51.805Z] ---> Running in ff2a9d980294 [2023-01-03T18:00:52.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:00:52.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:00:52.635Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:00:52.635Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T18:00:52.635Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:00:52.635Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:00:52.635Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:00:52.635Z] OK: 216 MiB in 55 packages [2023-01-03T18:00:52.894Z] Removing intermediate container ff2a9d980294 [2023-01-03T18:00:52.894Z] ---> e4301f656b31 [2023-01-03T18:00:52.894Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-03T18:00:52.894Z] ---> Running in ba0b39ab4f79 [2023-01-03T18:00:53.155Z] Removing intermediate container ba0b39ab4f79 [2023-01-03T18:00:53.155Z] ---> cf744b5d621e [2023-01-03T18:00:53.155Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-03T18:00:53.155Z] ---> 89ed978d89f4 [2023-01-03T18:00:53.155Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:00:53.155Z] ---> Running in d29f94a25205 [2023-01-03T18:00:55.498Z] Still waiting to schedule task [2023-01-03T18:00:55.499Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-917’ [2023-01-03T18:01:15.102Z] Removing intermediate container d29f94a25205 [2023-01-03T18:01:15.102Z] ---> 0eee7dd1d2dc [2023-01-03T18:01:15.102Z] Step 11/12 : COPY . . [2023-01-03T18:01:15.102Z] ---> 8316a0fea117 [2023-01-03T18:01:15.102Z] Step 12/12 : RUN $MAKE [2023-01-03T18:01:15.102Z] ---> Running in 5beddf8881aa [2023-01-03T18:01:15.102Z] noop [2023-01-03T18:01:15.102Z] Removing intermediate container 5beddf8881aa [2023-01-03T18:01:15.102Z] ---> 6d39e7eeb3ec [2023-01-03T18:01:15.102Z] Successfully built 6d39e7eeb3ec [2023-01-03T18:01:15.102Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:01:15.540Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:01:15.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:01:15.672Z] prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container [2023-01-03T18:01:15.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:01:16.062Z] $ docker top a58ad68943d0bd202fb9253458825c362dbf4c04402168588793606d0144769c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:01:16.452Z] + go version [2023-01-03T18:01:16.452Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T18:01:16.483Z] $ docker stop --time=1 a58ad68943d0bd202fb9253458825c362dbf4c04402168588793606d0144769c [2023-01-03T18:01:17.754Z] $ docker rm -f --volumes a58ad68943d0bd202fb9253458825c362dbf4c04402168588793606d0144769c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:01:18.469Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:01:18.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:01:18.656Z] prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container [2023-01-03T18:01:18.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:01:19.028Z] $ docker top 521347afbcc3a52a937720204f44e31cb2c7a96fe8834870c76d3b79c59ffd2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:01:19.418Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-232 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:01:19.759Z] + make test [2023-01-03T18:01:19.759Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T18:01:20.018Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-03T18:01:29.982Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-03T18:01:29.982Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2023-01-03T18:01:36.536Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-03T18:01:36.794Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:01:40.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:01:40.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:01:40.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:01:40.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:01:40.136Z] $ docker stop --time=1 521347afbcc3a52a937720204f44e31cb2c7a96fe8834870c76d3b79c59ffd2a [2023-01-03T18:01:42.147Z] $ docker rm -f --volumes 521347afbcc3a52a937720204f44e31cb2c7a96fe8834870c76d3b79c59ffd2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:01:42.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:01:42.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T18:01:43.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:01:43.630Z] + ls -al . [2023-01-03T18:01:43.630Z] total 188 [2023-01-03T18:01:43.630Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:01 . [2023-01-03T18:01:43.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:00 .. [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 3 18:00 .dockerignore [2023-01-03T18:01:43.630Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:01 .git [2023-01-03T18:01:43.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:00 .github [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 3 18:00 .gitignore [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:00 .golangci.yml [2023-01-03T18:01:43.630Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:00 .semver [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 3 18:00 Attribution.txt [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 3 18:00 CHANGELOG.md [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 3 18:00 Dockerfile [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:00 GOVERNANCE.md [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:00 Jenkinsfile [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:00 LICENSE [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 3 18:00 Makefile [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 3 18:00 OWNERS.md [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 3 18:00 README.md [2023-01-03T18:01:43.630Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:00 VERSION [2023-01-03T18:01:43.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:00 bin [2023-01-03T18:01:43.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:00 cmd [2023-01-03T18:01:43.631Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 3 18:01 coverage.out [2023-01-03T18:01:43.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:00 driver [2023-01-03T18:01:43.631Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 3 18:00 go.mod [2023-01-03T18:01:43.631Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 3 18:00 go.sum [2023-01-03T18:01:43.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:00 snap [2023-01-03T18:01:43.631Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 3 18:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:01:44.088Z] + 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=d29b9e59c05c044e88d680de2b8346f3f7d9974a --label arch=amd64 --label version=0.0.0 . [2023-01-03T18:01:44.088Z] Sending build context to Docker daemon 10.79MB [2023-01-03T18:01:44.088Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:01:44.088Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T18:01:44.088Z] ---> 6d39e7eeb3ec [2023-01-03T18:01:44.088Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:01:44.348Z] ---> Running in 8078d8d8c3f0 [2023-01-03T18:01:44.348Z] Removing intermediate container 8078d8d8c3f0 [2023-01-03T18:01:44.348Z] ---> 55581fd49692 [2023-01-03T18:01:44.348Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:01:44.348Z] ---> Running in a23cfcdf37cd [2023-01-03T18:01:44.348Z] Removing intermediate container a23cfcdf37cd [2023-01-03T18:01:44.348Z] ---> ac14b0e17e12 [2023-01-03T18:01:44.348Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:01:44.348Z] ---> Running in 02251183ce83 [2023-01-03T18:01:44.606Z] Removing intermediate container 02251183ce83 [2023-01-03T18:01:44.606Z] ---> f40f965c7463 [2023-01-03T18:01:44.606Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:01:44.606Z] ---> Running in 7f8c8d5c1d4c [2023-01-03T18:01:44.606Z] Removing intermediate container 7f8c8d5c1d4c [2023-01-03T18:01:44.606Z] ---> d293f918413e [2023-01-03T18:01:44.606Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:01:44.606Z] ---> Running in f359b1b43685 [2023-01-03T18:01:44.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:01:45.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:01:45.382Z] OK: 216 MiB in 55 packages [2023-01-03T18:01:45.641Z] Removing intermediate container f359b1b43685 [2023-01-03T18:01:45.641Z] ---> 8b4980df18c4 [2023-01-03T18:01:45.641Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-03T18:01:45.641Z] ---> Running in e34e454d5ab2 [2023-01-03T18:01:45.641Z] Removing intermediate container e34e454d5ab2 [2023-01-03T18:01:45.641Z] ---> ae72a0e6b2ac [2023-01-03T18:01:45.641Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-03T18:01:45.900Z] ---> e91ebda84cc9 [2023-01-03T18:01:45.900Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:01:45.900Z] ---> Running in bfa9844f0682 [2023-01-03T18:01:46.471Z] Removing intermediate container bfa9844f0682 [2023-01-03T18:01:46.471Z] ---> 52fa5d056563 [2023-01-03T18:01:46.471Z] Step 11/25 : COPY . . [2023-01-03T18:01:46.732Z] ---> 18de9e8637ca [2023-01-03T18:01:46.732Z] Step 12/25 : RUN $MAKE [2023-01-03T18:01:46.992Z] ---> Running in 663c82148555 [2023-01-03T18:01:47.259Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-03T18:02:09.286Z] Removing intermediate container 663c82148555 [2023-01-03T18:02:09.286Z] ---> 510ccf7a0ce8 [2023-01-03T18:02:09.286Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T18:02:09.286Z] 3.16: Pulling from library/alpine [2023-01-03T18:02:09.286Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T18:02:09.286Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T18:02:09.286Z] ca7dd9ec2225: Download complete [2023-01-03T18:02:09.286Z] ca7dd9ec2225: Pull complete [2023-01-03T18:02:09.286Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:02:09.286Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:02:09.286Z] ---> bfe296a52501 [2023-01-03T18:02:09.286Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T18:02:09.286Z] ---> Running in e3ecd7ef6ffc [2023-01-03T18:02:09.286Z] Removing intermediate container e3ecd7ef6ffc [2023-01-03T18:02:09.286Z] ---> 3f4f4fdba1cc [2023-01-03T18:02:09.286Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-03T18:02:09.286Z] ---> Running in cecc46c4fd50 [2023-01-03T18:02:09.286Z] Removing intermediate container cecc46c4fd50 [2023-01-03T18:02:09.286Z] ---> 56eb5c1f3a29 [2023-01-03T18:02:09.286Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:02:09.286Z] ---> Running in 52754cde0b51 [2023-01-03T18:02:09.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:02:09.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:02:09.286Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:02:09.286Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:02:09.286Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:02:09.286Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:02:09.286Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:02:09.286Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:02:09.286Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:02:09.286Z] OK: 8 MiB in 20 packages [2023-01-03T18:02:09.286Z] Removing intermediate container 52754cde0b51 [2023-01-03T18:02:09.286Z] ---> 348f0fc131b7 [2023-01-03T18:02:09.286Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-03T18:02:09.854Z] ---> 0d4dca052a49 [2023-01-03T18:02:09.854Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-03T18:02:09.854Z] ---> a492e0033905 [2023-01-03T18:02:09.854Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-03T18:02:10.112Z] ---> 11a553d83fdd [2023-01-03T18:02:10.112Z] Step 20/25 : EXPOSE 59986 [2023-01-03T18:02:10.112Z] ---> Running in 25893be3b927 [2023-01-03T18:02:10.112Z] Removing intermediate container 25893be3b927 [2023-01-03T18:02:10.112Z] ---> 1c675a4515da [2023-01-03T18:02:10.112Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-03T18:02:10.112Z] ---> Running in 8cc73cff5bdf [2023-01-03T18:02:10.112Z] Removing intermediate container 8cc73cff5bdf [2023-01-03T18:02:10.112Z] ---> c9a18558da44 [2023-01-03T18:02:10.112Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-03T18:02:10.112Z] ---> Running in bd86fd71e486 [2023-01-03T18:02:10.371Z] Removing intermediate container bd86fd71e486 [2023-01-03T18:02:10.371Z] ---> 7a6c446303a0 [2023-01-03T18:02:10.371Z] Step 23/25 : LABEL arch=amd64 [2023-01-03T18:02:10.371Z] ---> Running in af598d0f6706 [2023-01-03T18:02:10.371Z] Removing intermediate container af598d0f6706 [2023-01-03T18:02:10.371Z] ---> 1a1f7184d193 [2023-01-03T18:02:10.371Z] Step 24/25 : LABEL git_sha=d29b9e59c05c044e88d680de2b8346f3f7d9974a [2023-01-03T18:02:10.371Z] ---> Running in a80fdf140d29 [2023-01-03T18:02:10.629Z] Removing intermediate container a80fdf140d29 [2023-01-03T18:02:10.629Z] ---> ca3643a2dc7f [2023-01-03T18:02:10.629Z] Step 25/25 : LABEL version=0.0.0 [2023-01-03T18:02:10.629Z] ---> Running in ce03082a5b18 [2023-01-03T18:02:10.629Z] Removing intermediate container ce03082a5b18 [2023-01-03T18:02:10.629Z] ---> e8e537ebb9ea [2023-01-03T18:02:10.629Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:02:10.629Z] Successfully built e8e537ebb9ea [2023-01-03T18:02:10.629Z] 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 [2023-01-03T18:02:11.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:02:11.489Z] [2023-01-03T18:02:11.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:02:11.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:02:11.867Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T18:02:11.867Z] 5eb5b503b376: Pulling fs layer [2023-01-03T18:02:11.867Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T18:02:11.867Z] ec43610c2a17: Pulling fs layer [2023-01-03T18:02:11.867Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T18:02:11.867Z] 33b1e0a273af: Pulling fs layer [2023-01-03T18:02:11.867Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T18:02:11.867Z] 2f39f015ded8: Pulling fs layer [2023-01-03T18:02:11.867Z] 3a2ae6a8a46f: Waiting [2023-01-03T18:02:11.867Z] 2f39f015ded8: Waiting [2023-01-03T18:02:11.867Z] 33b1e0a273af: Waiting [2023-01-03T18:02:11.867Z] 5d3b04190fa2: Waiting [2023-01-03T18:02:11.867Z] 5c69ac0246d0: Verifying Checksum [2023-01-03T18:02:11.867Z] 5c69ac0246d0: Download complete [2023-01-03T18:02:11.867Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T18:02:11.867Z] 3a2ae6a8a46f: Download complete [2023-01-03T18:02:11.867Z] 33b1e0a273af: Verifying Checksum [2023-01-03T18:02:11.867Z] 33b1e0a273af: Download complete [2023-01-03T18:02:12.127Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T18:02:12.127Z] 5d3b04190fa2: Download complete [2023-01-03T18:02:12.127Z] ec43610c2a17: Verifying Checksum [2023-01-03T18:02:12.127Z] ec43610c2a17: Download complete [2023-01-03T18:02:12.127Z] 5eb5b503b376: Verifying Checksum [2023-01-03T18:02:12.127Z] 5eb5b503b376: Download complete [2023-01-03T18:02:12.728Z] 2f39f015ded8: Verifying Checksum [2023-01-03T18:02:12.728Z] 2f39f015ded8: Download complete [2023-01-03T18:02:13.295Z] 5eb5b503b376: Pull complete [2023-01-03T18:02:13.554Z] 5c69ac0246d0: Pull complete [2023-01-03T18:02:13.814Z] ec43610c2a17: Pull complete [2023-01-03T18:02:14.073Z] 3a2ae6a8a46f: Pull complete [2023-01-03T18:02:14.332Z] 33b1e0a273af: Pull complete [2023-01-03T18:02:14.332Z] 5d3b04190fa2: Pull complete [2023-01-03T18:02:18.625Z] 2f39f015ded8: Pull complete [2023-01-03T18:02:18.625Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T18:02:18.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:02:18.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:02:18.871Z] prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container [2023-01-03T18:02:18.906Z] $ 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-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:02:20.302Z] $ docker top 3218143438f36e07a743e53324003a69a8597f98c6300a36249db3aa3c0ff31c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:02:20.741Z] ---> job-cost.sh [2023-01-03T18:02:20.741Z] lf-activate-venv: SKIPPING [2023-01-03T18:02:20.741Z] INFO: No Stack... [2023-01-03T18:02:21.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:02:21.260Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:02:21.579Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-232/archives/cost.csv [2023-01-03T18:02:21.579Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:02:21.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [2023-01-03T18:02:21.629Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] did not exist. Created. [2023-01-03T18:02:21.629Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:02:22.026Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T18:02:22.074Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:02:22.103Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:02:22.180Z] $ docker stop --time=1 3218143438f36e07a743e53324003a69a8597f98c6300a36249db3aa3c0ff31c [2023-01-03T18:02:23.340Z] $ docker rm -f --volumes 3218143438f36e07a743e53324003a69a8597f98c6300a36249db3aa3c0ff31c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T18:03:40.804Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-919 in /w/workspace/gexfoundry_device-rest-go_PR-232 [Pipeline] { [Pipeline] ws [2023-01-03T18:03:40.866Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-03T18:03:40.952Z] The recommended git tool is: git [2023-01-03T18:03:46.394Z] using credential edgex-jenkins-ssh [2023-01-03T18:03:46.416Z] Cloning the remote Git repository [2023-01-03T18:03:46.466Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-03T18:03:46.547Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-03T18:03:46.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-03T18:03:46.707Z] > git --version # timeout=10 [2023-01-03T18:03:46.735Z] > git --version # 'git version 2.25.1' [2023-01-03T18:03:46.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:03:46.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:03:48.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-03T18:03:48.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:03:49.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-03T18:03:49.550Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-03T18:03:49.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:03:49.566Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T18:03:50.146Z] Merging remotes/origin/main commit 885eff3573f731dbb8051040958eb45753ebbb2c into PR head commit d29b9e59c05c044e88d680de2b8346f3f7d9974a [2023-01-03T18:03:50.375Z] Merge succeeded, producing d29b9e59c05c044e88d680de2b8346f3f7d9974a [2023-01-03T18:03:50.375Z] Checking out Revision d29b9e59c05c044e88d680de2b8346f3f7d9974a (PR-232) [2023-01-03T18:03:50.162Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:03:50.189Z] > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # timeout=10 [2023-01-03T18:03:50.269Z] > git remote # timeout=10 [2023-01-03T18:03:50.297Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T18:03:50.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:03:50.329Z] > git merge 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 [2023-01-03T18:03:50.356Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T18:03:50.381Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:03:50.397Z] > git checkout -f d29b9e59c05c044e88d680de2b8346f3f7d9974a # timeout=10 [2023-01-03T18:03:53.870Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [2023-01-03T18:03:53.914Z] > git --version # timeout=10 [2023-01-03T18:03:53.928Z] > git --version # 'git version 2.25.1' [2023-01-03T18:03:53.942Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:03:55.012Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T18:03:55.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:03:55.012Z] Dload Upload Total Spent Left Speed [2023-01-03T18:03:55.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11880 0 0 80270 0 --:--:-- --:--:-- --:--:-- 79731 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-01-03T18:03:55.776Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T18:03:56.217Z] + sudo tee /etc/docker/daemon.new [2023-01-03T18:03:56.217Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T18:03:56.217Z] { [2023-01-03T18:03:56.217Z] "registry-mirrors": [ [2023-01-03T18:03:56.217Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T18:03:56.217Z] ], [2023-01-03T18:03:56.217Z] "bip": "10.250.0.254/24", [2023-01-03T18:03:56.217Z] "hosts": [ [2023-01-03T18:03:56.217Z] "tcp://0.0.0.0:5555", [2023-01-03T18:03:56.217Z] "unix:///var/run/docker.sock" [2023-01-03T18:03:56.217Z] ], [2023-01-03T18:03:56.217Z] "mtu": 1458, [2023-01-03T18:03:56.217Z] "selinux-enabled": true, [2023-01-03T18:03:56.217Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T18:03:56.217Z] } [Pipeline] sh [2023-01-03T18:03:56.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T18:03:56.929Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:04:15.238Z] provisioning config files... [2023-01-03T18:04:15.263Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config251346349447207381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:04:15.649Z] ---> docker-login.sh [2023-01-03T18:04:15.650Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:04:15.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:04:16.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:04:16.193Z] Configure a credential helper to remove this warning. See [2023-01-03T18:04:16.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:04:16.193Z] [2023-01-03T18:04:16.193Z] Login Succeeded [2023-01-03T18:04:16.193Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:04:16.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:04:16.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:04:16.730Z] Configure a credential helper to remove this warning. See [2023-01-03T18:04:16.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:04:16.730Z] [2023-01-03T18:04:16.730Z] Login Succeeded [2023-01-03T18:04:16.730Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:04:17.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:04:17.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:04:17.002Z] Configure a credential helper to remove this warning. See [2023-01-03T18:04:17.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:04:17.002Z] [2023-01-03T18:04:17.002Z] Login Succeeded [2023-01-03T18:04:17.002Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:04:17.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:04:17.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:04:17.273Z] Configure a credential helper to remove this warning. See [2023-01-03T18:04:17.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:04:17.273Z] [2023-01-03T18:04:17.273Z] Login Succeeded [2023-01-03T18:04:17.273Z] docker.io [2023-01-03T18:04:17.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:04:17.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:04:17.809Z] Configure a credential helper to remove this warning. See [2023-01-03T18:04:17.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:04:17.809Z] [2023-01-03T18:04:17.809Z] Login Succeeded [2023-01-03T18:04:17.809Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:04:17.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:04:18.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:04:18.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:04:18.285Z] ========================================================= [2023-01-03T18:04:18.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T18:04:18.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:04:18.818Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T18:04:18.818Z] Sending build context to Docker daemon 129.5kB [2023-01-03T18:04:19.098Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:04:19.098Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T18:04:19.098Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T18:04:19.098Z] 9b18e9b68314: Pulling fs layer [2023-01-03T18:04:19.098Z] 35d82f9e3411: Pulling fs layer [2023-01-03T18:04:19.098Z] e16973657156: Pulling fs layer [2023-01-03T18:04:19.098Z] fc693d55d65f: Pulling fs layer [2023-01-03T18:04:19.098Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T18:04:19.098Z] dda99020689f: Pulling fs layer [2023-01-03T18:04:19.098Z] db1c61fa0a46: Pulling fs layer [2023-01-03T18:04:19.098Z] 891c053d2c06: Pulling fs layer [2023-01-03T18:04:19.098Z] dda99020689f: Waiting [2023-01-03T18:04:19.098Z] db1c61fa0a46: Waiting [2023-01-03T18:04:19.098Z] 891c053d2c06: Waiting [2023-01-03T18:04:19.098Z] 7e9fc2657dce: Waiting [2023-01-03T18:04:19.098Z] e16973657156: Verifying Checksum [2023-01-03T18:04:19.098Z] e16973657156: Download complete [2023-01-03T18:04:19.098Z] 35d82f9e3411: Verifying Checksum [2023-01-03T18:04:19.098Z] 35d82f9e3411: Download complete [2023-01-03T18:04:19.391Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T18:04:19.391Z] 7e9fc2657dce: Download complete [2023-01-03T18:04:19.391Z] dda99020689f: Download complete [2023-01-03T18:04:19.391Z] 9b18e9b68314: Verifying Checksum [2023-01-03T18:04:19.391Z] 9b18e9b68314: Download complete [2023-01-03T18:04:20.363Z] 891c053d2c06: Verifying Checksum [2023-01-03T18:04:20.363Z] 891c053d2c06: Download complete [2023-01-03T18:04:21.334Z] db1c61fa0a46: Verifying Checksum [2023-01-03T18:04:21.334Z] db1c61fa0a46: Download complete [2023-01-03T18:04:22.306Z] fc693d55d65f: Verifying Checksum [2023-01-03T18:04:22.306Z] fc693d55d65f: Download complete [2023-01-03T18:04:22.306Z] 9b18e9b68314: Pull complete [2023-01-03T18:04:22.575Z] 35d82f9e3411: Pull complete [2023-01-03T18:04:22.845Z] e16973657156: Pull complete [2023-01-03T18:04:35.178Z] fc693d55d65f: Pull complete [2023-01-03T18:04:35.447Z] 7e9fc2657dce: Pull complete [2023-01-03T18:04:35.715Z] dda99020689f: Pull complete [2023-01-03T18:04:42.385Z] db1c61fa0a46: Pull complete [2023-01-03T18:04:43.808Z] 891c053d2c06: Pull complete [2023-01-03T18:04:43.808Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T18:04:43.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T18:04:43.808Z] ---> f96f9c87975a [2023-01-03T18:04:43.808Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:04:45.761Z] ---> Running in a3d8f0c47719 [2023-01-03T18:04:46.030Z] Removing intermediate container a3d8f0c47719 [2023-01-03T18:04:46.030Z] ---> 930eaed5be74 [2023-01-03T18:04:46.030Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:04:46.305Z] ---> Running in 4cc629ccf48a [2023-01-03T18:04:46.576Z] Removing intermediate container 4cc629ccf48a [2023-01-03T18:04:46.576Z] ---> ee55ba16a44b [2023-01-03T18:04:46.576Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:04:46.576Z] ---> Running in 3434e8091fd9 [2023-01-03T18:04:46.846Z] Removing intermediate container 3434e8091fd9 [2023-01-03T18:04:46.846Z] ---> e22c7ccafc1a [2023-01-03T18:04:46.846Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:04:47.114Z] ---> Running in d3719bbcc6d3 [2023-01-03T18:04:47.397Z] Removing intermediate container d3719bbcc6d3 [2023-01-03T18:04:47.397Z] ---> 3c8ee181a178 [2023-01-03T18:04:47.397Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:04:47.397Z] ---> Running in bcea1d208013 [2023-01-03T18:04:48.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:04:48.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:04:49.781Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:04:49.781Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T18:04:49.781Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:04:49.781Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:04:49.781Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:04:49.781Z] OK: 226 MiB in 55 packages [2023-01-03T18:04:50.754Z] Removing intermediate container bcea1d208013 [2023-01-03T18:04:50.754Z] ---> 11ae346f8c9e [2023-01-03T18:04:50.754Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-03T18:04:51.022Z] ---> Running in 2350f91f3f16 [2023-01-03T18:04:51.290Z] Removing intermediate container 2350f91f3f16 [2023-01-03T18:04:51.290Z] ---> 2a6d3c587b57 [2023-01-03T18:04:51.290Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-03T18:04:51.557Z] ---> b535097e757f [2023-01-03T18:04:51.557Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:04:51.825Z] ---> Running in f6d29735d466 [2023-01-03T18:05:48.246Z] Removing intermediate container f6d29735d466 [2023-01-03T18:05:48.246Z] ---> a3c244eb1367 [2023-01-03T18:05:48.246Z] Step 11/12 : COPY . . [2023-01-03T18:05:48.246Z] ---> 9bacbe49b433 [2023-01-03T18:05:48.246Z] Step 12/12 : RUN $MAKE [2023-01-03T18:05:48.246Z] ---> Running in ab8d89ccd5dd [2023-01-03T18:05:48.246Z] noop [2023-01-03T18:05:48.246Z] Removing intermediate container ab8d89ccd5dd [2023-01-03T18:05:48.246Z] ---> fa6be2afbe7a [2023-01-03T18:05:48.246Z] Successfully built fa6be2afbe7a [2023-01-03T18:05:48.246Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:05:48.794Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:05:48.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:05:49.053Z] prd-ubuntu20.04-docker-arm64-4c-16g-919 does not seem to be running inside a container [2023-01-03T18:05:49.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:05:50.320Z] $ docker top b3a854dd4a1e7b846c0a7d39086b38dc11654181fae59f9ac7e6b7c4e7fe1afc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:05:51.209Z] + go version [2023-01-03T18:05:51.210Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T18:05:51.243Z] $ docker stop --time=1 b3a854dd4a1e7b846c0a7d39086b38dc11654181fae59f9ac7e6b7c4e7fe1afc [2023-01-03T18:05:52.853Z] $ docker rm -f --volumes b3a854dd4a1e7b846c0a7d39086b38dc11654181fae59f9ac7e6b7c4e7fe1afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:05:53.676Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:05:53.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:05:53.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-919 does not seem to be running inside a container [2023-01-03T18:05:53.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:05:55.186Z] $ docker top 69cf6c6cee91de48776ec58a36ce9bfd089760a9067cd6e84d9075de311f48c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:05:56.062Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:05:56.779Z] + make test [2023-01-03T18:05:56.779Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T18:05:58.745Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-03T18:07:20.413Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-03T18:07:20.413Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements [2023-01-03T18:07:20.413Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T18:07:20.413Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:07:42.722Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:07:42.722Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:07:42.722Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:07:42.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:07:42.789Z] $ docker stop --time=1 69cf6c6cee91de48776ec58a36ce9bfd089760a9067cd6e84d9075de311f48c0 [2023-01-03T18:07:44.597Z] $ docker rm -f --volumes 69cf6c6cee91de48776ec58a36ce9bfd089760a9067cd6e84d9075de311f48c0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:07:45.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:07:45.676Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T18:07:46.148Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:07:46.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:07:47.060Z] + ls -al . [2023-01-03T18:07:47.060Z] total 184 [2023-01-03T18:07:47.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:05 . [2023-01-03T18:07:47.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:03 .. [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 3 18:03 .dockerignore [2023-01-03T18:07:47.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:03 .git [2023-01-03T18:07:47.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:03 .github [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 3 18:03 .gitignore [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:03 .golangci.yml [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 3 18:03 Attribution.txt [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 3 18:03 CHANGELOG.md [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 3 18:03 Dockerfile [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:03 GOVERNANCE.md [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:03 Jenkinsfile [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:03 LICENSE [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 3 18:03 Makefile [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 3 18:03 OWNERS.md [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 3 18:03 README.md [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:00 VERSION [2023-01-03T18:07:47.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:03 bin [2023-01-03T18:07:47.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:03 cmd [2023-01-03T18:07:47.060Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 3 18:07 coverage.out [2023-01-03T18:07:47.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:03 driver [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 3 18:03 go.mod [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 3 18:03 go.sum [2023-01-03T18:07:47.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:03 snap [2023-01-03T18:07:47.060Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 3 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:07:47.478Z] + 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=d29b9e59c05c044e88d680de2b8346f3f7d9974a --label arch=arm64 --label version=0.0.0 . [2023-01-03T18:07:47.478Z] Sending build context to Docker daemon 139.8kB [2023-01-03T18:07:47.746Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:07:47.746Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T18:07:47.746Z] ---> fa6be2afbe7a [2023-01-03T18:07:47.746Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:07:47.746Z] ---> Running in c4b2fdb4541b [2023-01-03T18:07:48.012Z] Removing intermediate container c4b2fdb4541b [2023-01-03T18:07:48.012Z] ---> 91a025d21ecb [2023-01-03T18:07:48.012Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:07:48.012Z] ---> Running in bf2325e79e87 [2023-01-03T18:07:48.280Z] Removing intermediate container bf2325e79e87 [2023-01-03T18:07:48.280Z] ---> f4e1a042cf4b [2023-01-03T18:07:48.280Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:07:48.547Z] ---> Running in 7f2d5fdfed58 [2023-01-03T18:07:48.812Z] Removing intermediate container 7f2d5fdfed58 [2023-01-03T18:07:48.812Z] ---> 54985c2fa27d [2023-01-03T18:07:48.812Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:07:48.812Z] ---> Running in e6179c45daff [2023-01-03T18:07:49.081Z] Removing intermediate container e6179c45daff [2023-01-03T18:07:49.081Z] ---> 646beb77b505 [2023-01-03T18:07:49.081Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:07:49.485Z] ---> Running in 358a41a00f8c [2023-01-03T18:07:50.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:07:50.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:07:51.746Z] OK: 226 MiB in 55 packages [2023-01-03T18:07:52.753Z] Removing intermediate container 358a41a00f8c [2023-01-03T18:07:52.753Z] ---> 922257075455 [2023-01-03T18:07:52.753Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-03T18:07:53.023Z] ---> Running in 138571c138f1 [2023-01-03T18:07:53.291Z] Removing intermediate container 138571c138f1 [2023-01-03T18:07:53.291Z] ---> c7d3d7b01c54 [2023-01-03T18:07:53.291Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-03T18:07:53.559Z] ---> 379072ab1310 [2023-01-03T18:07:53.559Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:07:53.828Z] ---> Running in c093e1bfe1f2 [2023-01-03T18:07:55.777Z] Removing intermediate container c093e1bfe1f2 [2023-01-03T18:07:55.777Z] ---> 1da3c3de5bb2 [2023-01-03T18:07:55.777Z] Step 11/25 : COPY . . [2023-01-03T18:07:56.045Z] ---> d1abe40e3fab [2023-01-03T18:07:56.045Z] Step 12/25 : RUN $MAKE [2023-01-03T18:07:56.045Z] ---> Running in 18a0273bf87f [2023-01-03T18:07:57.020Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-03T18:10:33.805Z] Removing intermediate container 18a0273bf87f [2023-01-03T18:10:33.805Z] ---> acf048dd001a [2023-01-03T18:10:33.805Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T18:10:33.805Z] 3.16: Pulling from library/alpine [2023-01-03T18:10:33.805Z] 6875df1f5354: Pulling fs layer [2023-01-03T18:10:33.805Z] 6875df1f5354: Verifying Checksum [2023-01-03T18:10:33.805Z] 6875df1f5354: Download complete [2023-01-03T18:10:34.075Z] 6875df1f5354: Pull complete [2023-01-03T18:10:34.075Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:10:34.075Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:10:34.075Z] ---> 2b4661558fb8 [2023-01-03T18:10:34.075Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T18:10:34.343Z] ---> Running in 1eb5074143cb [2023-01-03T18:10:34.612Z] Removing intermediate container 1eb5074143cb [2023-01-03T18:10:34.612Z] ---> cf142dd21087 [2023-01-03T18:10:34.612Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-03T18:10:34.612Z] ---> Running in a8069c39e167 [2023-01-03T18:10:34.883Z] Removing intermediate container a8069c39e167 [2023-01-03T18:10:34.883Z] ---> fe423704a04c [2023-01-03T18:10:34.883Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:10:35.159Z] ---> Running in 79a31def17c1 [2023-01-03T18:10:36.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:10:36.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:10:37.823Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:10:37.823Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:10:37.823Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:10:37.823Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:10:37.823Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:10:37.823Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:10:37.823Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:10:37.823Z] OK: 8 MiB in 20 packages [2023-01-03T18:10:38.796Z] Removing intermediate container 79a31def17c1 [2023-01-03T18:10:38.796Z] ---> 6eb335dc452f [2023-01-03T18:10:38.796Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-03T18:10:40.747Z] ---> 2f18796e1114 [2023-01-03T18:10:40.747Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-03T18:10:41.022Z] ---> 6f4a49e50d3b [2023-01-03T18:10:41.022Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-03T18:10:41.610Z] ---> a6c3a6056f3c [2023-01-03T18:10:41.610Z] Step 20/25 : EXPOSE 59986 [2023-01-03T18:10:41.610Z] ---> Running in 8b2e00a4ba43 [2023-01-03T18:10:41.881Z] Removing intermediate container 8b2e00a4ba43 [2023-01-03T18:10:41.881Z] ---> d086f51bfbb1 [2023-01-03T18:10:41.881Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-03T18:10:41.881Z] ---> Running in 8669ea23f773 [2023-01-03T18:10:42.149Z] Removing intermediate container 8669ea23f773 [2023-01-03T18:10:42.149Z] ---> b19596981979 [2023-01-03T18:10:42.149Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-03T18:10:42.416Z] ---> Running in 1796dbfd5501 [2023-01-03T18:10:42.682Z] Removing intermediate container 1796dbfd5501 [2023-01-03T18:10:42.682Z] ---> 97320b980e27 [2023-01-03T18:10:42.682Z] Step 23/25 : LABEL arch=arm64 [2023-01-03T18:10:42.682Z] ---> Running in 76afabf0e1a4 [2023-01-03T18:10:42.950Z] Removing intermediate container 76afabf0e1a4 [2023-01-03T18:10:42.950Z] ---> d5ae32c0d9cf [2023-01-03T18:10:42.950Z] Step 24/25 : LABEL git_sha=d29b9e59c05c044e88d680de2b8346f3f7d9974a [2023-01-03T18:10:42.950Z] ---> Running in 9f1c645b7f73 [2023-01-03T18:10:43.219Z] Removing intermediate container 9f1c645b7f73 [2023-01-03T18:10:43.220Z] ---> 57d850ad78ce [2023-01-03T18:10:43.220Z] Step 25/25 : LABEL version=0.0.0 [2023-01-03T18:10:43.489Z] ---> Running in d95ae0772d89 [2023-01-03T18:10:43.755Z] Removing intermediate container d95ae0772d89 [2023-01-03T18:10:43.755Z] ---> d2343c34e4ef [2023-01-03T18:10:43.755Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:10:43.755Z] Successfully built d2343c34e4ef [2023-01-03T18:10:43.755Z] 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 [2023-01-03T18:10:44.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:10:44.525Z] [2023-01-03T18:10:44.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:10:44.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:10:44.944Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T18:10:44.944Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T18:10:44.944Z] 04944245beec: Pulling fs layer [2023-01-03T18:10:44.944Z] 699f458cf7ca: Pulling fs layer [2023-01-03T18:10:44.944Z] 765212b225bb: Pulling fs layer [2023-01-03T18:10:44.944Z] f23df028b6ca: Pulling fs layer [2023-01-03T18:10:44.944Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T18:10:44.944Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T18:10:44.944Z] 765212b225bb: Waiting [2023-01-03T18:10:44.944Z] f23df028b6ca: Waiting [2023-01-03T18:10:44.944Z] 2437ff75d9bd: Waiting [2023-01-03T18:10:44.944Z] d65c8cfc05b1: Waiting [2023-01-03T18:10:45.213Z] 04944245beec: Verifying Checksum [2023-01-03T18:10:45.213Z] 04944245beec: Download complete [2023-01-03T18:10:45.213Z] 765212b225bb: Verifying Checksum [2023-01-03T18:10:45.213Z] 765212b225bb: Download complete [2023-01-03T18:10:45.213Z] f23df028b6ca: Verifying Checksum [2023-01-03T18:10:45.213Z] f23df028b6ca: Download complete [2023-01-03T18:10:45.213Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T18:10:45.213Z] d65c8cfc05b1: Download complete [2023-01-03T18:10:45.484Z] 699f458cf7ca: Verifying Checksum [2023-01-03T18:10:45.484Z] 699f458cf7ca: Download complete [2023-01-03T18:10:45.754Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T18:10:45.754Z] 8998bd30e6a1: Download complete [2023-01-03T18:10:48.383Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T18:10:48.383Z] 2437ff75d9bd: Download complete [2023-01-03T18:10:49.346Z] 8998bd30e6a1: Pull complete [2023-01-03T18:10:49.931Z] 04944245beec: Pull complete [2023-01-03T18:10:51.341Z] 699f458cf7ca: Pull complete [2023-01-03T18:10:51.341Z] 765212b225bb: Pull complete [2023-01-03T18:10:52.312Z] f23df028b6ca: Pull complete [2023-01-03T18:10:52.312Z] d65c8cfc05b1: Pull complete [2023-01-03T18:11:04.628Z] 2437ff75d9bd: Pull complete [2023-01-03T18:11:04.628Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T18:11:04.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:11:04.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:11:04.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-919 does not seem to be running inside a container [2023-01-03T18:11:05.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T18:11:07.556Z] $ docker top d0c398a05620edfaba5b858942448a9977cda0646f2d1c6f4048c2911e8458c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:08.135Z] ---> job-cost.sh [2023-01-03T18:11:08.403Z] lf-activate-venv: SKIPPING [2023-01-03T18:11:08.403Z] INFO: No Stack... [2023-01-03T18:11:08.997Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T18:11:09.576Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:11:09.921Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv+ cut -d, -f6 [2023-01-03T18:11:09.921Z] [Pipeline] lock [2023-01-03T18:11:10.013Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [2023-01-03T18:11:10.018Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] did not exist. Created. [2023-01-03T18:11:10.018Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:11:10.413Z] /w/workspace/device-rest-go/1@tmp/durable-fa06c967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T18:11:10.764Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T18:11:10.797Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T18:11:10.842Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:11:10.857Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:11:10.934Z] $ docker stop --time=1 d0c398a05620edfaba5b858942448a9977cda0646f2d1c6f4048c2911e8458c2 [2023-01-03T18:11:12.403Z] $ docker rm -f --volumes d0c398a05620edfaba5b858942448a9977cda0646f2d1c6f4048c2911e8458c2 [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 [2023-01-03T18:11:13.393Z] provisioning config files... [2023-01-03T18:11:13.400Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config455722371431320827tmp [Pipeline] { [Pipeline] sh [2023-01-03T18:11:13.735Z] + set +x [2023-01-03T18:11:13.735Z] + bash -s -- [2023-01-03T18:11:13.735Z] + curl -s https://codecov.io/bash [2023-01-03T18:11:13.735Z] [2023-01-03T18:11:13.735Z] _____ _ [2023-01-03T18:11:13.735Z] / ____| | | [2023-01-03T18:11:13.735Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T18:11:13.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T18:11:13.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T18:11:13.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T18:11:13.735Z] Bash-1.0.6 [2023-01-03T18:11:13.735Z] [2023-01-03T18:11:13.735Z] [2023-01-03T18:11:13.735Z] ==> git version 2.25.1 found [2023-01-03T18:11:13.735Z] ==> 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 [2023-01-03T18:11:13.735Z] Release-Date: 2020-01-08 [2023-01-03T18:11:13.735Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T18:11:13.735Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T18:11:13.735Z] ==> Jenkins CI detected. [2023-01-03T18:11:13.735Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-232 [2023-01-03T18:11:13.735Z] project root: . [2023-01-03T18:11:13.735Z] --> token set from env [2023-01-03T18:11:13.735Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T18:11:13.735Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T18:11:13.735Z] ==> Python coveragepy not found [2023-01-03T18:11:13.735Z] ==> Searching for coverage reports in: [2023-01-03T18:11:13.735Z] + . [2023-01-03T18:11:13.735Z] -> Found 1 reports [2023-01-03T18:11:13.735Z] ==> Detecting git/mercurial file structure [2023-01-03T18:11:13.735Z] ==> Reading reports [2023-01-03T18:11:13.735Z] + ./coverage.out bytes=9355 [2023-01-03T18:11:13.735Z] ==> Appending adjustments [2023-01-03T18:11:13.735Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T18:11:13.995Z] + Found adjustments [2023-01-03T18:11:13.995Z] ==> Gzipping contents [2023-01-03T18:11:13.995Z] 4.0K /tmp/codecov.eLRUoZ.gz [2023-01-03T18:11:13.995Z] ==> Uploading reports [2023-01-03T18:11:13.995Z] url: https://codecov.io [2023-01-03T18:11:13.995Z] query: branch=PR-232&commit=d29b9e59c05c044e88d680de2b8346f3f7d9974a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=232&job=&cmd_args= [2023-01-03T18:11:13.995Z] -> Pinging Codecov [2023-01-03T18:11:13.996Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-232&commit=d29b9e59c05c044e88d680de2b8346f3f7d9974a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=232&job=&cmd_args= [2023-01-03T18:11:14.254Z] -> Uploading to [2023-01-03T18:11:14.254Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/4E5D53B4F1F92C436F7061BF334D961C/d29b9e59c05c044e88d680de2b8346f3f7d9974a/c1775872-2e3a-4524-9bc2-ec2bc0a463e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T181114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3534e0b14910338ab7aeea9325df4b52b8692a7107f6275ecd73ade449ca98b [2023-01-03T18:11:14.254Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:11:14.254Z] Dload Upload Total Spent Left Speed [2023-01-03T18:11:14.513Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 7706 --:--:-- --:--:-- --:--:-- 7706 [2023-01-03T18:11:14.513Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d29b9e59c05c044e88d680de2b8346f3f7d9974a [Pipeline] } [2023-01-03T18:11:14.542Z] 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 [2023-01-03T18:11:16.212Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-232/archives ] [2023-01-03T18:11:16.212Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-232/archives [2023-01-03T18:11:16.212Z] total 16 [2023-01-03T18:11:16.212Z] drwxr-xr-x 3 root root 4096 Jan 3 18:02 . [2023-01-03T18:11:16.212Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:02 .. [2023-01-03T18:11:16.212Z] drwxr-xr-x 2 root root 4096 Jan 3 18:02 cost [2023-01-03T18:11:16.212Z] -rw-r--r-- 1 root root 86 Jan 3 18:02 cost.csv [2023-01-03T18:11:16.212Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-232/archives [2023-01-03T18:11:16.212Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-232/archives [2023-01-03T18:11:16.212Z] total 16 [2023-01-03T18:11:16.212Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:02 . [2023-01-03T18:11:16.212Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:02 .. [2023-01-03T18:11:16.212Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:02 cost [2023-01-03T18:11:16.212Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 3 18:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:16.546Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:17.436Z] ---> package-listing.sh [2023-01-03T18:11:17.436Z] ++ facter osfamily [2023-01-03T18:11:17.436Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T18:11:17.699Z] + OS_FAMILY=debian [2023-01-03T18:11:17.699Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-232 [2023-01-03T18:11:17.699Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T18:11:17.699Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T18:11:17.699Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T18:11:17.699Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T18:11:17.699Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-232 ']' [2023-01-03T18:11:17.699Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T18:11:17.699Z] + case "${OS_FAMILY}" in [2023-01-03T18:11:17.699Z] + dpkg -l [2023-01-03T18:11:17.699Z] + grep '^ii' [2023-01-03T18:11:17.699Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T18:11:17.699Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T18:11:17.699Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T18:11:17.699Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-232 ']' [2023-01-03T18:11:17.699Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-232/archives/ [2023-01-03T18:11:17.699Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-232/archives/ [Pipeline] echo [2023-01-03T18:11:17.736Z] 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T18:11:18.028Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:11:18.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:11:18.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:11:18.785Z] prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container [2023-01-03T18:11:18.817Z] $ 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-232/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-232 -v /w/workspace/gexfoundry_device-rest-go_PR-232:/w/workspace/gexfoundry_device-rest-go_PR-232:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-232@tmp:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:11:19.013Z] $ docker top 312e31608d4fa0270764466762f6d6ada358467e8fd8af288d6d0b04b7310877 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:11:19.403Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T18:11:19.719Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T18:11:20.029Z] + ls /var/log/sa-host [2023-01-03T18:11:20.029Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:11:20.254Z] provisioning config files... [2023-01-03T18:11:20.263Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-232@tmp/config4875582501022267518tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:11:20.312Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:20.628Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T18:11:20.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:21.052Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T18:11:21.082Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:21.397Z] ---> sudo-logs.sh [2023-01-03T18:11:21.397Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T18:11:21.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:21.813Z] ---> job-cost.sh [2023-01-03T18:11:21.813Z] lf-activate-venv: SKIPPING [2023-01-03T18:11:21.813Z] DEBUG: total: 0.2199999988079071 [2023-01-03T18:11:21.813Z] INFO: Retrieving Stack Cost... [2023-01-03T18:11:22.073Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:11:22.653Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T18:11:22.687Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:11:22.999Z] ---> logs-deploy.sh [2023-01-03T18:11:23.000Z] lf-activate-venv: SKIPPING [2023-01-03T18:11:23.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-232/1 [2023-01-03T18:11:23.000Z] INFO: archiving workspace using pattern(s): [2023-01-03T18:11:23.936Z] Archives upload complete. [2023-01-03T18:11:23.936Z] INFO: archiving logs to Nexus