Pull request #285 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec72a010f3a9dc26a52c83ef9785512ab084ad85+fdf83baee4837586abd899036d884868d7632e86 (f249913d701bcc1e65742fc007cc030d359820a0) 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-ssh12841684610841366632.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8369641320374526222.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-285/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-285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10557995019306607945.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-285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3163157788490746075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3337601946299768486.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-285/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-285/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4090420063014974400.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6296 in /w/workspace/gexfoundry_device-rest-go_PR-285 [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-285 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fdf83baee4837586abd899036d884868d7632e86 into PR head commit ec72a010f3a9dc26a52c83ef9785512ab084ad85 > 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/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing ec72a010f3a9dc26a52c83ef9785512ab084ad85 Checking out Revision ec72a010f3a9dc26a52c83ef9785512ab084ad85 (PR-285) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T23:07:53.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T23:07:53.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T23:07:53.965Z] ========================================================= [2023-03-29T23:07:53.965Z] EdgeX Global Pipelines Version Info [2023-03-29T23:07:53.965Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ec72a010f3a9dc26a52c83ef9785512ab084ad85 # 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 fdf83baee4837586abd899036d884868d7632e86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec72a010f3a9dc26a52c83ef9785512ab084ad85 # timeout=10 [2023-03-29T23:07:54.697Z] ------------------- [2023-03-29T23:07:54.697Z] stable info: [2023-03-29T23:07:54.697Z] ------------------- [2023-03-29T23:07:54.697Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T23:07:54.697Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T23:07:54.697Z] Message: update stable to v1.0.245 [2023-03-29T23:07:55.266Z] ------------------- [2023-03-29T23:07:55.266Z] experimental info: [2023-03-29T23:07:55.266Z] ------------------- [2023-03-29T23:07:55.266Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T23:07:55.266Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T23:07:55.266Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T23:07:55.541Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-29T23:07:55.584Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-29T23:07:55.624Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T23:07:55.676Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T23:07:55.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T23:07:55.760Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T23:07:55.801Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T23:07:55.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T23:07:55.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T23:07:55.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T23:07:55.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T23:07:56.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-29T23:07:56.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T23:07:56.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T23:07:56.128Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T23:07:56.170Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T23:07:56.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T23:07:56.254Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T23:07:56.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T23:07:56.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T23:07:56.374Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-29T23:07:56.412Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-29T23:07:56.449Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T23:07:56.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T23:07:56.526Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T23:07:56.566Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T23:07:56.606Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T23:07:56.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-285 [Pipeline] echo [2023-03-29T23:07:56.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-285 [Pipeline] echo [2023-03-29T23:07:56.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-285 [Pipeline] echo [2023-03-29T23:07:56.773Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec72a010f3a9dc26a52c83ef9785512ab084ad85 [Pipeline] echo [2023-03-29T23:07:56.813Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec72a01 [Pipeline] echo [2023-03-29T23:07:56.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T23:07:56.963Z] provisioning config files... [2023-03-29T23:07:56.977Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp/config11423575505751543312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:07:57.318Z] ---> docker-login.sh [2023-03-29T23:07:57.318Z] nexus3.edgexfoundry.org:10001 [2023-03-29T23:07:57.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:07:57.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:07:57.839Z] Configure a credential helper to remove this warning. See [2023-03-29T23:07:57.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:07:57.839Z] [2023-03-29T23:07:57.839Z] Login Succeeded [2023-03-29T23:07:57.839Z] nexus3.edgexfoundry.org:10002 [2023-03-29T23:07:57.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:07:57.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:07:57.839Z] Configure a credential helper to remove this warning. See [2023-03-29T23:07:57.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:07:57.839Z] [2023-03-29T23:07:57.839Z] Login Succeeded [2023-03-29T23:07:57.839Z] nexus3.edgexfoundry.org:10003 [2023-03-29T23:07:58.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:07:58.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:07:58.099Z] Configure a credential helper to remove this warning. See [2023-03-29T23:07:58.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:07:58.099Z] [2023-03-29T23:07:58.099Z] Login Succeeded [2023-03-29T23:07:58.099Z] nexus3.edgexfoundry.org:10004 [2023-03-29T23:07:58.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:07:58.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:07:58.099Z] Configure a credential helper to remove this warning. See [2023-03-29T23:07:58.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:07:58.099Z] [2023-03-29T23:07:58.099Z] Login Succeeded [2023-03-29T23:07:58.099Z] docker.io [2023-03-29T23:07:58.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:07:58.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:07:58.358Z] Configure a credential helper to remove this warning. See [2023-03-29T23:07:58.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:07:58.358Z] [2023-03-29T23:07:58.358Z] Login Succeeded [2023-03-29T23:07:58.358Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T23:07:58.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T23:07:58.991Z] + git rev-list -1 --merges ec72a010f3a9dc26a52c83ef9785512ab084ad85~1..ec72a010f3a9dc26a52c83ef9785512ab084ad85 [Pipeline] echo [2023-03-29T23:07:59.057Z] -----------> git rev-list -1 --merges ec72a010f3a9dc26a52c83ef9785512ab084ad85~1..ec72a010f3a9dc26a52c83ef9785512ab084ad85 ec72a010f3a9dc26a52c83ef9785512ab084ad85 [false] [Pipeline] sh [2023-03-29T23:07:59.365Z] + git log --format=format:%s -1 ec72a010f3a9dc26a52c83ef9785512ab084ad85 [Pipeline] echo [2023-03-29T23:07:59.403Z] ========================================================= [2023-03-29T23:07:59.403Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T23:07:59.403Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T23:07:59.829Z] + git log --format=format:%s -1 ec72a010f3a9dc26a52c83ef9785512ab084ad85 [Pipeline] echo [2023-03-29T23:07:59.864Z] [semverPrep] GIT_COMMIT: ec72a010f3a9dc26a52c83ef9785512ab084ad85, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-29T23:07:59.894Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T23:08:00.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T23:08:00.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T23:08:00.274Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T23:08:00.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T23:08:00.274Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T23:08:00.274Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T23:08:00.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:08:00.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T23:08:00.710Z] [2023-03-29T23:08:00.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:08:01.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T23:08:01.082Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T23:08:01.082Z] b85a868b505f: Pulling fs layer [2023-03-29T23:08:01.082Z] e2be974225ed: Pulling fs layer [2023-03-29T23:08:01.082Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T23:08:01.082Z] 988bab9f4d93: Pulling fs layer [2023-03-29T23:08:01.082Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T23:08:01.082Z] eaf3925da568: Pulling fs layer [2023-03-29T23:08:01.082Z] bab4dde63d76: Pulling fs layer [2023-03-29T23:08:01.082Z] bde34c3a00c8: Pulling fs layer [2023-03-29T23:08:01.083Z] b352a97aabf1: Pulling fs layer [2023-03-29T23:08:01.083Z] 988bab9f4d93: Waiting [2023-03-29T23:08:01.083Z] 4872d77fe225: Pulling fs layer [2023-03-29T23:08:01.083Z] 5851b861e8e6: Pulling fs layer [2023-03-29T23:08:01.083Z] 1469e6f7b9e6: Waiting [2023-03-29T23:08:01.083Z] eaf3925da568: Waiting [2023-03-29T23:08:01.083Z] bde34c3a00c8: Waiting [2023-03-29T23:08:01.083Z] b352a97aabf1: Waiting [2023-03-29T23:08:01.083Z] 5851b861e8e6: Waiting [2023-03-29T23:08:01.083Z] bab4dde63d76: Waiting [2023-03-29T23:08:01.083Z] e2be974225ed: Verifying Checksum [2023-03-29T23:08:01.083Z] e2be974225ed: Download complete [2023-03-29T23:08:01.083Z] 988bab9f4d93: Download complete [2023-03-29T23:08:01.083Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T23:08:01.083Z] 1469e6f7b9e6: Download complete [2023-03-29T23:08:01.083Z] eaf3925da568: Verifying Checksum [2023-03-29T23:08:01.083Z] eaf3925da568: Download complete [2023-03-29T23:08:01.343Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T23:08:01.343Z] 339a4e72a1f5: Download complete [2023-03-29T23:08:01.343Z] bde34c3a00c8: Download complete [2023-03-29T23:08:01.343Z] b352a97aabf1: Download complete [2023-03-29T23:08:01.343Z] 4872d77fe225: Verifying Checksum [2023-03-29T23:08:01.343Z] 4872d77fe225: Download complete [2023-03-29T23:08:01.343Z] 5851b861e8e6: Verifying Checksum [2023-03-29T23:08:01.343Z] 5851b861e8e6: Download complete [2023-03-29T23:08:01.343Z] b85a868b505f: Verifying Checksum [2023-03-29T23:08:01.343Z] b85a868b505f: Download complete [2023-03-29T23:08:01.601Z] bab4dde63d76: Verifying Checksum [2023-03-29T23:08:01.601Z] bab4dde63d76: Download complete [2023-03-29T23:08:02.538Z] b85a868b505f: Pull complete [2023-03-29T23:08:02.798Z] e2be974225ed: Pull complete [2023-03-29T23:08:03.365Z] 339a4e72a1f5: Pull complete [2023-03-29T23:08:03.365Z] 988bab9f4d93: Pull complete [2023-03-29T23:08:03.625Z] 1469e6f7b9e6: Pull complete [2023-03-29T23:08:03.625Z] eaf3925da568: Pull complete [2023-03-29T23:08:05.523Z] bab4dde63d76: Pull complete [2023-03-29T23:08:05.523Z] bde34c3a00c8: Pull complete [2023-03-29T23:08:05.782Z] b352a97aabf1: Pull complete [2023-03-29T23:08:05.782Z] 4872d77fe225: Pull complete [2023-03-29T23:08:05.782Z] 5851b861e8e6: Pull complete [2023-03-29T23:08:05.782Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T23:08:06.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T23:08:06.041Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:08:06.429Z] prd-ubuntu20.04-docker-8c-8g-6296 does not seem to be running inside a container [2023-03-29T23:08:06.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-285 -v /w/workspace/gexfoundry_device-rest-go_PR-285:/w/workspace/gexfoundry_device-rest-go_PR-285:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-285@tmp:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T23:08:09.781Z] $ docker top c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 -eo pid,comm [2023-03-29T23:08:09.852Z] 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-03-29T23:08:09.852Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T23:08:09.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T23:08:09.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T23:08:10.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T23:08:10.092Z] $ docker exec c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 ssh-agent [2023-03-29T23:08:10.189Z] SSH_AUTH_SOCK=/tmp/ssh-gkuZwii9vlZ0/agent.32 [2023-03-29T23:08:10.189Z] SSH_AGENT_PID=38 [2023-03-29T23:08:10.195Z] Running ssh-add (command line suppressed) [2023-03-29T23:08:10.300Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-285@tmp/private_key_16663087180006166404.key (/w/workspace/gexfoundry_device-rest-go_PR-285@tmp/private_key_16663087180006166404.key) [2023-03-29T23:08:10.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T23:08:10.646Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T23:08:10.673Z] $ docker exec --env ******** --env ******** c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 ssh-agent -k [2023-03-29T23:08:10.776Z] unset SSH_AUTH_SOCK; [2023-03-29T23:08:10.776Z] unset SSH_AGENT_PID; [2023-03-29T23:08:10.776Z] echo Agent pid 38 killed; [2023-03-29T23:08:10.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T23:08:10.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T23:08:10.896Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T23:08:11.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T23:08:11.021Z] $ docker exec c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 ssh-agent [2023-03-29T23:08:11.128Z] SSH_AUTH_SOCK=/tmp/ssh-2zPvbeoi4mj3/agent.71 [2023-03-29T23:08:11.128Z] SSH_AGENT_PID=77 [2023-03-29T23:08:11.133Z] Running ssh-add (command line suppressed) [2023-03-29T23:08:11.239Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-285@tmp/private_key_15874246833084715573.key (/w/workspace/gexfoundry_device-rest-go_PR-285@tmp/private_key_15874246833084715573.key) [2023-03-29T23:08:11.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T23:08:11.581Z] + git semver init [2023-03-29T23:08:11.839Z] 2023-03-29 23:08:11,809 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T23:08:11.839Z] 2023-03-29 23:08:11,810 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-285/.semver [2023-03-29T23:08:11.839Z] 2023-03-29 23:08:11,811 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-285/.semver [2023-03-29T23:08:11.839Z] 2023-03-29 23:08:11,811 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-285/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-285, universal_newlines=False, shell=None, istream=None) [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,783 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-285/.git/info/exclude [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,783 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-285/.semver/PR-285 with force:False [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,783 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-285/.semver/PR-285 [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,787 [execute] INFO git cat-file --batch-check [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-285/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,794 [execute] INFO git cat-file --batch [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-285/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T23:08:13.221Z] 2023-03-29 23:08:12,800 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-285/.semver/PR-285 [2023-03-29T23:08:13.221Z] 0.0.0 [Pipeline] } [2023-03-29T23:08:13.249Z] $ docker exec --env ******** --env ******** c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 ssh-agent -k [2023-03-29T23:08:13.356Z] unset SSH_AUTH_SOCK; [2023-03-29T23:08:13.356Z] unset SSH_AGENT_PID; [2023-03-29T23:08:13.356Z] echo Agent pid 77 killed; [2023-03-29T23:08:13.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T23:08:13.793Z] + git semver [Pipeline] } [2023-03-29T23:08:14.080Z] $ docker stop --time=1 c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 [2023-03-29T23:08:15.410Z] $ docker rm -f --volumes c96425c6e3864be28351af8f8fbe2c08eeedf0e0cee6f1a5b53bbbbf958da991 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T23:08:15.829Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T23:08:16.094Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T23:08:16.149Z] [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-03-29T23:08:16.735Z] provisioning config files... [2023-03-29T23:08:16.744Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp/config468889623977519536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:08:17.130Z] ---> docker-login.sh [2023-03-29T23:08:17.130Z] nexus3.edgexfoundry.org:10001 [2023-03-29T23:08:17.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:08:17.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:08:17.130Z] Configure a credential helper to remove this warning. See [2023-03-29T23:08:17.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:08:17.130Z] [2023-03-29T23:08:17.130Z] Login Succeeded [2023-03-29T23:08:17.130Z] nexus3.edgexfoundry.org:10002 [2023-03-29T23:08:17.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:08:17.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:08:17.130Z] Configure a credential helper to remove this warning. See [2023-03-29T23:08:17.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:08:17.130Z] [2023-03-29T23:08:17.130Z] Login Succeeded [2023-03-29T23:08:17.130Z] nexus3.edgexfoundry.org:10003 [2023-03-29T23:08:17.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:08:17.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:08:17.389Z] Configure a credential helper to remove this warning. See [2023-03-29T23:08:17.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:08:17.389Z] [2023-03-29T23:08:17.389Z] Login Succeeded [2023-03-29T23:08:17.389Z] nexus3.edgexfoundry.org:10004 [2023-03-29T23:08:17.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:08:17.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:08:17.389Z] Configure a credential helper to remove this warning. See [2023-03-29T23:08:17.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:08:17.389Z] [2023-03-29T23:08:17.389Z] Login Succeeded [2023-03-29T23:08:17.389Z] docker.io [2023-03-29T23:08:17.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:08:17.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:08:17.651Z] Configure a credential helper to remove this warning. See [2023-03-29T23:08:17.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:08:17.651Z] [2023-03-29T23:08:17.651Z] Login Succeeded [2023-03-29T23:08:17.651Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T23:08:17.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T23:08:17.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:08:17.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:08:17.984Z] ========================================================= [2023-03-29T23:08:17.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T23:08:17.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:08:18.458Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T23:08:18.458Z] Sending build context to Docker daemon 10.88MB [2023-03-29T23:08:18.458Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:08:18.458Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T23:08:18.458Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T23:08:18.458Z] 63b65145d645: Pulling fs layer [2023-03-29T23:08:18.458Z] a2d21d5440eb: Pulling fs layer [2023-03-29T23:08:18.458Z] 935e6c44a52c: Pulling fs layer [2023-03-29T23:08:18.458Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T23:08:18.458Z] 30dea6a524f1: Pulling fs layer [2023-03-29T23:08:18.458Z] a2aff8979fd8: Pulling fs layer [2023-03-29T23:08:18.458Z] 6808be2612f2: Pulling fs layer [2023-03-29T23:08:18.458Z] f25807f1079a: Pulling fs layer [2023-03-29T23:08:18.458Z] 30dea6a524f1: Waiting [2023-03-29T23:08:18.458Z] a2aff8979fd8: Waiting [2023-03-29T23:08:18.458Z] 6808be2612f2: Waiting [2023-03-29T23:08:18.458Z] f25807f1079a: Waiting [2023-03-29T23:08:18.458Z] 94cc34f8dd06: Waiting [2023-03-29T23:08:18.458Z] a2d21d5440eb: Verifying Checksum [2023-03-29T23:08:18.458Z] a2d21d5440eb: Download complete [2023-03-29T23:08:18.458Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T23:08:18.458Z] 94cc34f8dd06: Download complete [2023-03-29T23:08:18.724Z] 30dea6a524f1: Verifying Checksum [2023-03-29T23:08:18.724Z] 30dea6a524f1: Download complete [2023-03-29T23:08:18.724Z] 63b65145d645: Verifying Checksum [2023-03-29T23:08:18.724Z] 63b65145d645: Download complete [2023-03-29T23:08:18.724Z] a2aff8979fd8: Verifying Checksum [2023-03-29T23:08:18.724Z] a2aff8979fd8: Download complete [2023-03-29T23:08:18.724Z] 63b65145d645: Pull complete [2023-03-29T23:08:18.992Z] a2d21d5440eb: Pull complete [2023-03-29T23:08:18.992Z] f25807f1079a: Download complete [2023-03-29T23:08:19.250Z] 935e6c44a52c: Verifying Checksum [2023-03-29T23:08:19.250Z] 935e6c44a52c: Download complete [2023-03-29T23:08:19.508Z] 6808be2612f2: Verifying Checksum [2023-03-29T23:08:19.508Z] 6808be2612f2: Download complete [2023-03-29T23:08:22.796Z] 935e6c44a52c: Pull complete [2023-03-29T23:08:22.796Z] 94cc34f8dd06: Pull complete [2023-03-29T23:08:22.796Z] 30dea6a524f1: Pull complete [2023-03-29T23:08:22.796Z] a2aff8979fd8: Pull complete [2023-03-29T23:08:25.335Z] 6808be2612f2: Pull complete [2023-03-29T23:08:25.603Z] f25807f1079a: Pull complete [2023-03-29T23:08:25.603Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T23:08:25.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T23:08:25.603Z] ---> 3b553350e43f [2023-03-29T23:08:25.603Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:08:31.574Z] Still waiting to schedule task [2023-03-29T23:08:31.574Z] ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:08:31.574Z] ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:08:31.574Z] ‘prd-centos7-builder-2c-1g-6293’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:08:31.574Z] ‘prd-ubuntu20.04-docker-8c-8g-6290’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:08:31.574Z] ‘prd-ubuntu20.04-docker-8c-8g-6291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:08:31.574Z] ‘prd-ubuntu20.04-docker-8c-8g-6300’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:08:31.574Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6287’ is offline [2023-03-29T23:08:31.574Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6289’ is offline [2023-03-29T23:08:31.574Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6297’ is offline [2023-03-29T23:08:32.163Z] ---> Running in 47d0de685cca [2023-03-29T23:08:32.163Z] Removing intermediate container 47d0de685cca [2023-03-29T23:08:32.163Z] ---> c3bd9a21d4a4 [2023-03-29T23:08:32.163Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:08:32.163Z] ---> Running in 1324cd6b96c7 [2023-03-29T23:08:32.163Z] Removing intermediate container 1324cd6b96c7 [2023-03-29T23:08:32.163Z] ---> 85cabe800078 [2023-03-29T23:08:32.163Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:08:32.163Z] ---> Running in 1b2c91e4d560 [2023-03-29T23:08:32.163Z] Removing intermediate container 1b2c91e4d560 [2023-03-29T23:08:32.163Z] ---> 7627299b0bff [2023-03-29T23:08:32.163Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:08:32.163Z] ---> Running in 310de280f82b [2023-03-29T23:08:32.163Z] Removing intermediate container 310de280f82b [2023-03-29T23:08:32.163Z] ---> ebeee0bc1f25 [2023-03-29T23:08:32.163Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:08:32.163Z] ---> Running in d473832f3266 [2023-03-29T23:08:32.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T23:08:32.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T23:08:32.424Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T23:08:32.424Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T23:08:32.424Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T23:08:32.684Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T23:08:32.684Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:08:32.684Z] OK: 269 MiB in 57 packages [2023-03-29T23:08:32.946Z] Removing intermediate container d473832f3266 [2023-03-29T23:08:32.946Z] ---> 2e1dc507b687 [2023-03-29T23:08:32.946Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-29T23:08:33.213Z] ---> Running in be48c6050c88 [2023-03-29T23:08:33.213Z] Removing intermediate container be48c6050c88 [2023-03-29T23:08:33.213Z] ---> 14653e9aa2f6 [2023-03-29T23:08:33.213Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-29T23:08:33.213Z] ---> 20e3949e4e98 [2023-03-29T23:08:33.213Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:08:33.475Z] ---> Running in 578c1dc2c826 [2023-03-29T23:09:00.026Z] Removing intermediate container 578c1dc2c826 [2023-03-29T23:09:00.026Z] ---> a3216bb01f8b [2023-03-29T23:09:00.026Z] Step 11/12 : COPY . . [2023-03-29T23:09:00.593Z] ---> 6f9f81a1e40c [2023-03-29T23:09:00.593Z] Step 12/12 : RUN $MAKE [2023-03-29T23:09:00.593Z] ---> Running in c526988310a4 [2023-03-29T23:09:00.854Z] noop [2023-03-29T23:09:01.113Z] Removing intermediate container c526988310a4 [2023-03-29T23:09:01.113Z] ---> bbc6e8ad210b [2023-03-29T23:09:01.113Z] Successfully built bbc6e8ad210b [2023-03-29T23:09:01.113Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:09:01.549Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T23:09:01.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:09:01.699Z] prd-ubuntu20.04-docker-8c-8g-6296 does not seem to be running inside a container [2023-03-29T23:09:01.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-285 -v /w/workspace/gexfoundry_device-rest-go_PR-285:/w/workspace/gexfoundry_device-rest-go_PR-285:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-285@tmp:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T23:09:02.041Z] $ docker top 318976c4fd72725557a99fc28bb81b7bb4618d16d22f01c23455de572c6b1f48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:09:02.428Z] + go version [2023-03-29T23:09:02.428Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T23:09:02.459Z] $ docker stop --time=1 318976c4fd72725557a99fc28bb81b7bb4618d16d22f01c23455de572c6b1f48 [2023-03-29T23:09:03.731Z] $ docker rm -f --volumes 318976c4fd72725557a99fc28bb81b7bb4618d16d22f01c23455de572c6b1f48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:09:04.414Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T23:09:04.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:09:04.567Z] prd-ubuntu20.04-docker-8c-8g-6296 does not seem to be running inside a container [2023-03-29T23:09:04.603Z] $ 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-285 -v /w/workspace/gexfoundry_device-rest-go_PR-285:/w/workspace/gexfoundry_device-rest-go_PR-285:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-285@tmp:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T23:09:04.946Z] $ docker top 8dba6cc4e015b51f552d87895ee83dad2c316a674e4fa6838301048d785f6904 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:09:05.323Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-285 [Pipeline] fileExists [Pipeline] sh [2023-03-29T23:09:05.673Z] + make test [2023-03-29T23:09:05.673Z] go test ./... -coverprofile=coverage.out ./... [2023-03-29T23:09:10.939Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-29T23:09:21.104Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-29T23:09:21.104Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.0% of statements [2023-03-29T23:09:26.358Z] go vet ./... [2023-03-29T23:09:29.637Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T23:09:29.637Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T23:09:29.637Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T23:09:29.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T23:09:29.706Z] $ docker stop --time=1 8dba6cc4e015b51f552d87895ee83dad2c316a674e4fa6838301048d785f6904 [2023-03-29T23:09:33.404Z] $ docker rm -f --volumes 8dba6cc4e015b51f552d87895ee83dad2c316a674e4fa6838301048d785f6904 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T23:09:33.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T23:09:33.975Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-29T23:09:34.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T23:09:34.850Z] + ls -al . [2023-03-29T23:09:34.850Z] total 184 [2023-03-29T23:09:34.850Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:09 . [2023-03-29T23:09:34.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:07 .. [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:07 .dockerignore [2023-03-29T23:09:34.850Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:08 .git [2023-03-29T23:09:34.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:07 .github [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:07 .gitignore [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:07 .golangci.yml [2023-03-29T23:09:34.850Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:08 .semver [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:07 Attribution.txt [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:07 CHANGELOG.md [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:07 Dockerfile [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:07 GOVERNANCE.md [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:07 Jenkinsfile [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:07 LICENSE [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:07 Makefile [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:07 OWNERS.md [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:07 README.md [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:08 VERSION [2023-03-29T23:09:34.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:07 bin [2023-03-29T23:09:34.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:07 cmd [2023-03-29T23:09:34.850Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:09 coverage.out [2023-03-29T23:09:34.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:07 driver [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:07 go.mod [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:07 go.sum [2023-03-29T23:09:34.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:07 snap [2023-03-29T23:09:34.850Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:09:35.255Z] + 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=ec72a010f3a9dc26a52c83ef9785512ab084ad85 --label arch=amd64 --label version=0.0.0 . [2023-03-29T23:09:35.255Z] Sending build context to Docker daemon 10.89MB [2023-03-29T23:09:35.255Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:09:35.255Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-29T23:09:35.255Z] ---> bbc6e8ad210b [2023-03-29T23:09:35.255Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:09:35.515Z] ---> Running in 974d0a613164 [2023-03-29T23:09:35.515Z] Removing intermediate container 974d0a613164 [2023-03-29T23:09:35.515Z] ---> 358881dd1fdf [2023-03-29T23:09:35.515Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:09:35.515Z] ---> Running in f968e617d9e4 [2023-03-29T23:09:35.515Z] Removing intermediate container f968e617d9e4 [2023-03-29T23:09:35.515Z] ---> b4c6496f927e [2023-03-29T23:09:35.515Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:09:35.515Z] ---> Running in 848b80bc094a [2023-03-29T23:09:35.773Z] Removing intermediate container 848b80bc094a [2023-03-29T23:09:35.773Z] ---> 91d0a2c3e85e [2023-03-29T23:09:35.773Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:09:35.773Z] ---> Running in f1b525b0a711 [2023-03-29T23:09:35.773Z] Removing intermediate container f1b525b0a711 [2023-03-29T23:09:35.773Z] ---> 56eacc077447 [2023-03-29T23:09:35.773Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:09:35.773Z] ---> Running in 57153d3b5938 [2023-03-29T23:09:36.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T23:09:36.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T23:09:36.290Z] OK: 269 MiB in 57 packages [2023-03-29T23:09:36.855Z] Removing intermediate container 57153d3b5938 [2023-03-29T23:09:36.855Z] ---> 2b4a1cfe73ca [2023-03-29T23:09:36.855Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-29T23:09:36.855Z] ---> Running in 4184339e4bb8 [2023-03-29T23:09:36.855Z] Removing intermediate container 4184339e4bb8 [2023-03-29T23:09:36.855Z] ---> d620f7c33276 [2023-03-29T23:09:36.855Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-29T23:09:36.855Z] ---> 5f8d5da8ddbc [2023-03-29T23:09:36.855Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:09:36.855Z] ---> Running in 69916534290b [2023-03-29T23:09:37.787Z] Removing intermediate container 69916534290b [2023-03-29T23:09:37.787Z] ---> def6299a1c86 [2023-03-29T23:09:37.787Z] Step 11/25 : COPY . . [2023-03-29T23:09:38.354Z] ---> 957fdfa91450 [2023-03-29T23:09:38.354Z] Step 12/25 : RUN $MAKE [2023-03-29T23:09:38.354Z] ---> Running in 08ffc6380422 [2023-03-29T23:09:38.612Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-29T23:10:00.545Z] Removing intermediate container 08ffc6380422 [2023-03-29T23:10:00.545Z] ---> fe2384816180 [2023-03-29T23:10:00.545Z] Step 13/25 : FROM alpine:3.17 [2023-03-29T23:10:00.545Z] 3.17: Pulling from library/alpine [2023-03-29T23:10:00.545Z] f56be85fc22e: Pulling fs layer [2023-03-29T23:10:00.545Z] f56be85fc22e: Verifying Checksum [2023-03-29T23:10:00.545Z] f56be85fc22e: Download complete [2023-03-29T23:10:00.545Z] f56be85fc22e: Pull complete [2023-03-29T23:10:00.545Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T23:10:00.545Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T23:10:00.545Z] ---> 9ed4aefc74f6 [2023-03-29T23:10:00.545Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-29T23:10:00.545Z] ---> Running in 4c1dd5de608d [2023-03-29T23:10:00.545Z] Removing intermediate container 4c1dd5de608d [2023-03-29T23:10:00.545Z] ---> 9b04a714b9e7 [2023-03-29T23:10:00.545Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-29T23:10:00.545Z] ---> Running in 7d7c3a4756ef [2023-03-29T23:10:00.545Z] Removing intermediate container 7d7c3a4756ef [2023-03-29T23:10:00.545Z] ---> a3eff3afd5f7 [2023-03-29T23:10:00.545Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-29T23:10:00.545Z] ---> Running in fd2a2e90d2b6 [2023-03-29T23:10:00.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T23:10:00.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T23:10:00.545Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T23:10:00.545Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:10:00.545Z] OK: 7 MiB in 16 packages [2023-03-29T23:10:00.545Z] Removing intermediate container fd2a2e90d2b6 [2023-03-29T23:10:00.545Z] ---> be8209887805 [2023-03-29T23:10:00.545Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-29T23:10:00.545Z] ---> 8d9a397e99f7 [2023-03-29T23:10:00.545Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-29T23:10:00.545Z] ---> adc2ea72ec72 [2023-03-29T23:10:00.545Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-29T23:10:00.545Z] ---> 675d16233b7e [2023-03-29T23:10:00.545Z] Step 20/25 : EXPOSE 59986 [2023-03-29T23:10:00.545Z] ---> Running in 841f0d76c07e [2023-03-29T23:10:00.545Z] Removing intermediate container 841f0d76c07e [2023-03-29T23:10:00.545Z] ---> 9e1c6928e553 [2023-03-29T23:10:00.545Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-29T23:10:00.545Z] ---> Running in 3bbc87166b90 [2023-03-29T23:10:00.545Z] Removing intermediate container 3bbc87166b90 [2023-03-29T23:10:00.545Z] ---> 09bbf7f70187 [2023-03-29T23:10:00.545Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-29T23:10:00.545Z] ---> Running in 9ce5d52769ca [2023-03-29T23:10:00.545Z] Removing intermediate container 9ce5d52769ca [2023-03-29T23:10:00.545Z] ---> 33e4d065df57 [2023-03-29T23:10:00.545Z] Step 23/25 : LABEL arch=amd64 [2023-03-29T23:10:00.545Z] ---> Running in 67d66212e242 [2023-03-29T23:10:00.545Z] Removing intermediate container 67d66212e242 [2023-03-29T23:10:00.545Z] ---> 03aef863b21e [2023-03-29T23:10:00.545Z] Step 24/25 : LABEL git_sha=ec72a010f3a9dc26a52c83ef9785512ab084ad85 [2023-03-29T23:10:00.545Z] ---> Running in dd9b74e0e6b9 [2023-03-29T23:10:00.545Z] Removing intermediate container dd9b74e0e6b9 [2023-03-29T23:10:00.545Z] ---> 8d4c2ec48e41 [2023-03-29T23:10:00.545Z] Step 25/25 : LABEL version=0.0.0 [2023-03-29T23:10:00.545Z] ---> Running in 33e841049c6d [2023-03-29T23:10:00.804Z] Removing intermediate container 33e841049c6d [2023-03-29T23:10:00.804Z] ---> fc2e7ac88667 [2023-03-29T23:10:00.804Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T23:10:00.804Z] Successfully built fc2e7ac88667 [2023-03-29T23:10:00.804Z] 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-03-29T23:10:01.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:10:01.653Z] [2023-03-29T23:10:01.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:10:02.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:10:02.042Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T23:10:02.042Z] 5eb5b503b376: Pulling fs layer [2023-03-29T23:10:02.042Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T23:10:02.042Z] ec43610c2a17: Pulling fs layer [2023-03-29T23:10:02.042Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T23:10:02.042Z] 33b1e0a273af: Pulling fs layer [2023-03-29T23:10:02.042Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T23:10:02.042Z] 2f39f015ded8: Pulling fs layer [2023-03-29T23:10:02.042Z] 33b1e0a273af: Waiting [2023-03-29T23:10:02.042Z] 3a2ae6a8a46f: Waiting [2023-03-29T23:10:02.042Z] 5d3b04190fa2: Waiting [2023-03-29T23:10:02.042Z] 2f39f015ded8: Waiting [2023-03-29T23:10:02.042Z] 5c69ac0246d0: Verifying Checksum [2023-03-29T23:10:02.042Z] 5c69ac0246d0: Download complete [2023-03-29T23:10:02.042Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-29T23:10:02.042Z] 3a2ae6a8a46f: Download complete [2023-03-29T23:10:02.042Z] 33b1e0a273af: Verifying Checksum [2023-03-29T23:10:02.042Z] 33b1e0a273af: Download complete [2023-03-29T23:10:02.042Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T23:10:02.042Z] 5d3b04190fa2: Download complete [2023-03-29T23:10:02.300Z] ec43610c2a17: Verifying Checksum [2023-03-29T23:10:02.300Z] ec43610c2a17: Download complete [2023-03-29T23:10:02.300Z] 5eb5b503b376: Download complete [2023-03-29T23:10:02.866Z] 2f39f015ded8: Verifying Checksum [2023-03-29T23:10:02.866Z] 2f39f015ded8: Download complete [2023-03-29T23:10:03.430Z] 5eb5b503b376: Pull complete [2023-03-29T23:10:03.688Z] 5c69ac0246d0: Pull complete [2023-03-29T23:10:04.255Z] ec43610c2a17: Pull complete [2023-03-29T23:10:04.255Z] 3a2ae6a8a46f: Pull complete [2023-03-29T23:10:04.255Z] 33b1e0a273af: Pull complete [2023-03-29T23:10:04.513Z] 5d3b04190fa2: Pull complete [2023-03-29T23:10:08.710Z] 2f39f015ded8: Pull complete [2023-03-29T23:10:08.710Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T23:10:08.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:10:08.710Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:10:08.929Z] prd-ubuntu20.04-docker-8c-8g-6296 does not seem to be running inside a container [2023-03-29T23:10:08.955Z] $ 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-285 -v /w/workspace/gexfoundry_device-rest-go_PR-285:/w/workspace/gexfoundry_device-rest-go_PR-285:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-285@tmp:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T23:10:11.772Z] $ docker top ee0cde733dd61c41d29f70be5b2e24fa3f94b911a4c87ab707c930f92434ee72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:10:12.198Z] ---> job-cost.sh [2023-03-29T23:10:12.198Z] lf-activate-venv: SKIPPING [2023-03-29T23:10:12.198Z] INFO: No Stack... [2023-03-29T23:10:12.456Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T23:10:13.021Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T23:10:13.335Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-285/archives/cost.csv [2023-03-29T23:10:13.335Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T23:10:13.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] [2023-03-29T23:10:13.378Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] did not exist. Created. [2023-03-29T23:10:13.379Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T23:10:13.786Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T23:10:13.839Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T23:10:13.870Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T23:10:13.947Z] $ docker stop --time=1 ee0cde733dd61c41d29f70be5b2e24fa3f94b911a4c87ab707c930f92434ee72 [2023-03-29T23:10:15.103Z] $ docker rm -f --volumes ee0cde733dd61c41d29f70be5b2e24fa3f94b911a4c87ab707c930f92434ee72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T23:11:19.778Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6305 in /w/workspace/gexfoundry_device-rest-go_PR-285 [Pipeline] { [Pipeline] ws [2023-03-29T23:11:19.841Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-29T23:11:19.921Z] The recommended git tool is: git [2023-03-29T23:11:26.659Z] using credential edgex-jenkins-ssh [2023-03-29T23:11:26.679Z] Cloning the remote Git repository [2023-03-29T23:11:26.742Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-29T23:11:26.866Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-29T23:11:27.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-29T23:11:27.073Z] > git --version # timeout=10 [2023-03-29T23:11:27.102Z] > git --version # 'git version 2.25.1' [2023-03-29T23:11:27.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T23:11:27.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T23:11:29.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-29T23:11:29.422Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T23:11:31.238Z] Merging remotes/origin/main commit fdf83baee4837586abd899036d884868d7632e86 into PR head commit ec72a010f3a9dc26a52c83ef9785512ab084ad85 [2023-03-29T23:11:31.622Z] Merge succeeded, producing ec72a010f3a9dc26a52c83ef9785512ab084ad85 [2023-03-29T23:11:31.623Z] Checking out Revision ec72a010f3a9dc26a52c83ef9785512ab084ad85 (PR-285) [2023-03-29T23:11:30.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-29T23:11:30.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-29T23:11:30.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T23:11:30.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T23:11:31.266Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T23:11:31.369Z] > git checkout -f ec72a010f3a9dc26a52c83ef9785512ab084ad85 # timeout=10 [2023-03-29T23:11:31.488Z] > git remote # timeout=10 [2023-03-29T23:11:31.516Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T23:11:31.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T23:11:31.566Z] > git merge fdf83baee4837586abd899036d884868d7632e86 # timeout=10 [2023-03-29T23:11:31.602Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T23:11:31.632Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T23:11:31.661Z] > git checkout -f ec72a010f3a9dc26a52c83ef9785512ab084ad85 # timeout=10 [2023-03-29T23:11:32.380Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-29T23:11:32.448Z] > git --version # timeout=10 [2023-03-29T23:11:32.462Z] > git --version # 'git version 2.25.1' [2023-03-29T23:11:32.500Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T23:11:33.620Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T23:11:33.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T23:11:33.620Z] Dload Upload Total Spent Left Speed [2023-03-29T23:11:33.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-03-29T23:11:34.342Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T23:11:34.713Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T23:11:34.713Z] + sudo tee /etc/docker/daemon.new [2023-03-29T23:11:35.307Z] { [2023-03-29T23:11:35.307Z] "registry-mirrors": [ [2023-03-29T23:11:35.307Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T23:11:35.308Z] ], [2023-03-29T23:11:35.308Z] "bip": "10.250.0.254/24", [2023-03-29T23:11:35.308Z] "hosts": [ [2023-03-29T23:11:35.308Z] "tcp://0.0.0.0:5555", [2023-03-29T23:11:35.308Z] "unix:///var/run/docker.sock" [2023-03-29T23:11:35.308Z] ], [2023-03-29T23:11:35.308Z] "mtu": 1458, [2023-03-29T23:11:35.308Z] "selinux-enabled": true, [2023-03-29T23:11:35.308Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T23:11:35.308Z] } [Pipeline] sh [2023-03-29T23:11:35.668Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T23:11:36.043Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T23:11:54.390Z] provisioning config files... [2023-03-29T23:11:54.424Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3069732789964562028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:11:54.828Z] ---> docker-login.sh [2023-03-29T23:11:54.828Z] nexus3.edgexfoundry.org:10001 [2023-03-29T23:11:55.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:11:55.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:11:55.710Z] Configure a credential helper to remove this warning. See [2023-03-29T23:11:55.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:11:55.710Z] [2023-03-29T23:11:55.710Z] Login Succeeded [2023-03-29T23:11:55.710Z] nexus3.edgexfoundry.org:10002 [2023-03-29T23:11:55.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:11:55.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:11:55.989Z] Configure a credential helper to remove this warning. See [2023-03-29T23:11:55.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:11:55.989Z] [2023-03-29T23:11:55.989Z] Login Succeeded [2023-03-29T23:11:55.989Z] nexus3.edgexfoundry.org:10003 [2023-03-29T23:11:56.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:11:56.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:11:56.534Z] Configure a credential helper to remove this warning. See [2023-03-29T23:11:56.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:11:56.534Z] [2023-03-29T23:11:56.534Z] Login Succeeded [2023-03-29T23:11:56.534Z] nexus3.edgexfoundry.org:10004 [2023-03-29T23:11:56.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:11:56.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:11:56.804Z] Configure a credential helper to remove this warning. See [2023-03-29T23:11:56.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:11:56.804Z] [2023-03-29T23:11:56.804Z] Login Succeeded [2023-03-29T23:11:56.804Z] docker.io [2023-03-29T23:11:57.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:11:57.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:11:57.344Z] Configure a credential helper to remove this warning. See [2023-03-29T23:11:57.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:11:57.344Z] [2023-03-29T23:11:57.344Z] Login Succeeded [2023-03-29T23:11:57.344Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T23:11:57.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T23:11:57.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:11:57.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:11:57.909Z] ========================================================= [2023-03-29T23:11:57.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T23:11:57.909Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:11:58.420Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T23:11:58.420Z] Sending build context to Docker daemon 137.2kB [2023-03-29T23:12:01.810Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:12:01.810Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T23:12:02.406Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T23:12:02.406Z] af6eaf76a39c: Pulling fs layer [2023-03-29T23:12:02.406Z] 55522c791124: Pulling fs layer [2023-03-29T23:12:02.406Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T23:12:02.406Z] 169dfbe0d373: Pulling fs layer [2023-03-29T23:12:02.406Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T23:12:02.406Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T23:12:02.406Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T23:12:02.406Z] 169dfbe0d373: Waiting [2023-03-29T23:12:02.406Z] e1ff8fa3b103: Waiting [2023-03-29T23:12:02.406Z] 52ebb69f0ebf: Waiting [2023-03-29T23:12:02.406Z] 5abe8eddf0d5: Waiting [2023-03-29T23:12:02.406Z] 55522c791124: Verifying Checksum [2023-03-29T23:12:02.406Z] 55522c791124: Download complete [2023-03-29T23:12:02.406Z] 169dfbe0d373: Verifying Checksum [2023-03-29T23:12:02.406Z] 169dfbe0d373: Download complete [2023-03-29T23:12:02.406Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T23:12:02.406Z] e1ff8fa3b103: Download complete [2023-03-29T23:12:02.406Z] af6eaf76a39c: Verifying Checksum [2023-03-29T23:12:03.845Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T23:12:03.845Z] 5abe8eddf0d5: Download complete [2023-03-29T23:12:03.845Z] af6eaf76a39c: Pull complete [2023-03-29T23:12:04.118Z] 55522c791124: Pull complete [2023-03-29T23:12:05.094Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T23:12:05.094Z] 52ebb69f0ebf: Download complete [2023-03-29T23:12:05.094Z] ce5c4a1c91eb: Verifying Checksum [2023-03-29T23:12:05.094Z] ce5c4a1c91eb: Download complete [2023-03-29T23:12:17.609Z] ce5c4a1c91eb: Pull complete [2023-03-29T23:12:17.609Z] 169dfbe0d373: Pull complete [2023-03-29T23:12:17.609Z] e1ff8fa3b103: Pull complete [2023-03-29T23:12:24.307Z] 52ebb69f0ebf: Pull complete [2023-03-29T23:12:25.733Z] 5abe8eddf0d5: Pull complete [2023-03-29T23:12:25.733Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T23:12:25.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T23:12:25.733Z] ---> 6cb57ee374ae [2023-03-29T23:12:25.733Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:12:28.347Z] ---> Running in 329c3d9f9be5 [2023-03-29T23:12:28.347Z] Removing intermediate container 329c3d9f9be5 [2023-03-29T23:12:28.347Z] ---> 9730f619b0fa [2023-03-29T23:12:28.347Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:12:28.347Z] ---> Running in dfca5b294f0c [2023-03-29T23:12:28.938Z] Removing intermediate container dfca5b294f0c [2023-03-29T23:12:28.938Z] ---> 1d91882442d0 [2023-03-29T23:12:28.938Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:12:29.207Z] ---> Running in d3481baa3340 [2023-03-29T23:12:29.478Z] Removing intermediate container d3481baa3340 [2023-03-29T23:12:29.478Z] ---> aa3637854fb5 [2023-03-29T23:12:29.478Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:12:29.749Z] ---> Running in ea24e853a631 [2023-03-29T23:12:30.339Z] Removing intermediate container ea24e853a631 [2023-03-29T23:12:30.339Z] ---> bbea21cd735a [2023-03-29T23:12:30.339Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:12:30.339Z] ---> Running in 57f71bbc0af1 [2023-03-29T23:12:31.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T23:12:32.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T23:12:33.698Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T23:12:33.698Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T23:12:33.972Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T23:12:33.972Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T23:12:33.972Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:12:33.972Z] OK: 268 MiB in 57 packages [2023-03-29T23:12:35.386Z] Removing intermediate container 57f71bbc0af1 [2023-03-29T23:12:35.386Z] ---> 6442a23cfa19 [2023-03-29T23:12:35.386Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-29T23:12:35.386Z] ---> Running in be9c6cecdfc9 [2023-03-29T23:12:35.656Z] Removing intermediate container be9c6cecdfc9 [2023-03-29T23:12:35.656Z] ---> 4eac16df2d89 [2023-03-29T23:12:35.656Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-29T23:12:36.313Z] ---> d70dd9965e77 [2023-03-29T23:12:36.313Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:12:36.313Z] ---> Running in 9ec6c8e2f008 [2023-03-29T23:13:44.296Z] Removing intermediate container 9ec6c8e2f008 [2023-03-29T23:13:44.296Z] ---> 3deef9b96db1 [2023-03-29T23:13:44.296Z] Step 11/12 : COPY . . [2023-03-29T23:13:44.296Z] ---> 5a25df41f245 [2023-03-29T23:13:44.296Z] Step 12/12 : RUN $MAKE [2023-03-29T23:13:44.296Z] ---> Running in 35949c423cee [2023-03-29T23:13:44.296Z] noop [2023-03-29T23:13:44.890Z] Removing intermediate container 35949c423cee [2023-03-29T23:13:44.890Z] ---> e3bd4eea4cf6 [2023-03-29T23:13:44.890Z] Successfully built e3bd4eea4cf6 [2023-03-29T23:13:44.890Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:13:45.399Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T23:13:45.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:13:45.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-6305 does not seem to be running inside a container [2023-03-29T23:13:45.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T23:13:47.174Z] $ docker top c904fdf21d0ea6fa2380b4cd89dd54da1fef3cb2e97f7fb33cf0b7657947776c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:13:48.118Z] + go version [2023-03-29T23:13:48.118Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T23:13:48.160Z] $ docker stop --time=1 c904fdf21d0ea6fa2380b4cd89dd54da1fef3cb2e97f7fb33cf0b7657947776c [2023-03-29T23:13:49.992Z] $ docker rm -f --volumes c904fdf21d0ea6fa2380b4cd89dd54da1fef3cb2e97f7fb33cf0b7657947776c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:13:50.920Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T23:13:50.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:13:51.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-6305 does not seem to be running inside a container [2023-03-29T23:13:51.327Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-29T23:13:52.682Z] $ docker top b5e7e8d4a70c48c02804511d90be74a62ed3568f4689c46ae90e98bcd5b43b95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:13:53.631Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-29T23:13:54.359Z] + make test [2023-03-29T23:13:54.360Z] go test ./... -coverprofile=coverage.out ./... [2023-03-29T23:14:41.329Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-29T23:17:33.195Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-29T23:17:33.195Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 33.0% of statements [2023-03-29T23:17:33.195Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-29T23:17:33.195Z] go vet ./... [2023-03-29T23:18:00.065Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T23:18:00.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T23:18:00.065Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T23:18:00.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T23:18:00.136Z] $ docker stop --time=1 b5e7e8d4a70c48c02804511d90be74a62ed3568f4689c46ae90e98bcd5b43b95 [2023-03-29T23:18:02.268Z] $ docker rm -f --volumes b5e7e8d4a70c48c02804511d90be74a62ed3568f4689c46ae90e98bcd5b43b95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T23:18:03.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T23:18:03.875Z] Warning: overwriting stash ‘coverage-report’ [2023-03-29T23:18:04.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T23:18:05.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T23:18:05.743Z] + ls -al . [2023-03-29T23:18:05.744Z] total 180 [2023-03-29T23:18:05.744Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:13 . [2023-03-29T23:18:05.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:11 .. [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:11 .dockerignore [2023-03-29T23:18:05.744Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:11 .git [2023-03-29T23:18:05.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:11 .github [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:11 .gitignore [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:11 .golangci.yml [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:11 Attribution.txt [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:11 CHANGELOG.md [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:11 Dockerfile [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:11 GOVERNANCE.md [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:11 Jenkinsfile [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:11 LICENSE [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:11 Makefile [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:11 OWNERS.md [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:11 README.md [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:08 VERSION [2023-03-29T23:18:05.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:11 bin [2023-03-29T23:18:05.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:11 cmd [2023-03-29T23:18:05.744Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:17 coverage.out [2023-03-29T23:18:05.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:11 driver [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:11 go.mod [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:11 go.sum [2023-03-29T23:18:05.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:11 snap [2023-03-29T23:18:05.744Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:18:06.192Z] + 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=ec72a010f3a9dc26a52c83ef9785512ab084ad85 --label arch=arm64 --label version=0.0.0 . [2023-03-29T23:18:06.192Z] Sending build context to Docker daemon 152.1kB [2023-03-29T23:18:06.468Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:18:06.469Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-29T23:18:06.469Z] ---> e3bd4eea4cf6 [2023-03-29T23:18:06.469Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:18:06.741Z] ---> Running in a79be9a30ba5 [2023-03-29T23:18:07.016Z] Removing intermediate container a79be9a30ba5 [2023-03-29T23:18:07.016Z] ---> e03fb0532ca1 [2023-03-29T23:18:07.016Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:18:07.292Z] ---> Running in c676708fdb9a [2023-03-29T23:18:07.566Z] Removing intermediate container c676708fdb9a [2023-03-29T23:18:07.566Z] ---> e707eeed86b5 [2023-03-29T23:18:07.566Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:18:07.566Z] ---> Running in 2f693000f2ab [2023-03-29T23:18:08.165Z] Removing intermediate container 2f693000f2ab [2023-03-29T23:18:08.165Z] ---> 6f8bdcd4f015 [2023-03-29T23:18:08.165Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:18:08.165Z] ---> Running in a2a183bdee18 [2023-03-29T23:18:08.437Z] Removing intermediate container a2a183bdee18 [2023-03-29T23:18:08.437Z] ---> b1ea4268513f [2023-03-29T23:18:08.437Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:18:08.437Z] ---> Running in b4907e675f07 [2023-03-29T23:18:09.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T23:18:10.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T23:18:12.282Z] OK: 268 MiB in 57 packages [2023-03-29T23:18:13.717Z] Removing intermediate container b4907e675f07 [2023-03-29T23:18:13.717Z] ---> 39dc533c30d8 [2023-03-29T23:18:13.717Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-29T23:18:13.717Z] ---> Running in 56b0c781c86e [2023-03-29T23:18:13.988Z] Removing intermediate container 56b0c781c86e [2023-03-29T23:18:13.988Z] ---> 14d6e8d57564 [2023-03-29T23:18:13.988Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-29T23:18:14.594Z] ---> 27cc2110d7cb [2023-03-29T23:18:14.594Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:18:14.594Z] ---> Running in 8588e3f029c2 [2023-03-29T23:18:17.985Z] Removing intermediate container 8588e3f029c2 [2023-03-29T23:18:17.985Z] ---> 21830109aff4 [2023-03-29T23:18:17.985Z] Step 11/25 : COPY . . [2023-03-29T23:18:18.582Z] ---> e27ae81f6e08 [2023-03-29T23:18:18.582Z] Step 12/25 : RUN $MAKE [2023-03-29T23:18:18.582Z] ---> Running in df2147f47392 [2023-03-29T23:18:20.022Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-29T23:21:11.894Z] Removing intermediate container df2147f47392 [2023-03-29T23:21:11.894Z] ---> 13bbc95d1fb3 [2023-03-29T23:21:11.894Z] Step 13/25 : FROM alpine:3.17 [2023-03-29T23:21:11.894Z] 3.17: Pulling from library/alpine [2023-03-29T23:21:11.894Z] c41833b44d91: Pulling fs layer [2023-03-29T23:21:11.894Z] c41833b44d91: Verifying Checksum [2023-03-29T23:21:11.894Z] c41833b44d91: Download complete [2023-03-29T23:21:11.894Z] c41833b44d91: Pull complete [2023-03-29T23:21:11.894Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T23:21:11.894Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T23:21:11.894Z] ---> 51e60588ff2c [2023-03-29T23:21:11.894Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-29T23:21:11.894Z] ---> Running in 5eb508c2eda6 [2023-03-29T23:21:11.894Z] Removing intermediate container 5eb508c2eda6 [2023-03-29T23:21:11.894Z] ---> bcd264a00490 [2023-03-29T23:21:11.894Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-29T23:21:11.894Z] ---> Running in 4395c79f9848 [2023-03-29T23:21:11.894Z] Removing intermediate container 4395c79f9848 [2023-03-29T23:21:11.894Z] ---> 13a63453a036 [2023-03-29T23:21:11.894Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-29T23:21:11.894Z] ---> Running in 492c0af5e213 [2023-03-29T23:21:11.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T23:21:11.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T23:21:11.894Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T23:21:11.894Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:21:11.894Z] OK: 8 MiB in 16 packages [2023-03-29T23:21:11.894Z] Removing intermediate container 492c0af5e213 [2023-03-29T23:21:11.894Z] ---> 023db875327c [2023-03-29T23:21:11.894Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-29T23:21:12.493Z] ---> 39c3c1a51efc [2023-03-29T23:21:12.493Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-29T23:21:13.092Z] ---> 7affe7663127 [2023-03-29T23:21:13.092Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-29T23:21:13.699Z] ---> d3e042bafd86 [2023-03-29T23:21:13.699Z] Step 20/25 : EXPOSE 59986 [2023-03-29T23:21:13.699Z] ---> Running in 45a5dc9c271c [2023-03-29T23:21:13.971Z] Removing intermediate container 45a5dc9c271c [2023-03-29T23:21:13.971Z] ---> 133cacce7204 [2023-03-29T23:21:13.971Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-29T23:21:14.239Z] ---> Running in cbbca9fbad80 [2023-03-29T23:21:14.511Z] Removing intermediate container cbbca9fbad80 [2023-03-29T23:21:14.511Z] ---> 232067b97cf4 [2023-03-29T23:21:14.511Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-29T23:21:14.511Z] ---> Running in 0392d780debd [2023-03-29T23:21:14.783Z] Removing intermediate container 0392d780debd [2023-03-29T23:21:14.783Z] ---> 7f0218a8aa7e [2023-03-29T23:21:14.783Z] Step 23/25 : LABEL arch=arm64 [2023-03-29T23:21:14.783Z] ---> Running in b65471f9a10e [2023-03-29T23:21:15.051Z] Removing intermediate container b65471f9a10e [2023-03-29T23:21:15.051Z] ---> 65a572c7ec94 [2023-03-29T23:21:15.051Z] Step 24/25 : LABEL git_sha=ec72a010f3a9dc26a52c83ef9785512ab084ad85 [2023-03-29T23:21:15.322Z] ---> Running in d235602b90b1 [2023-03-29T23:21:15.595Z] Removing intermediate container d235602b90b1 [2023-03-29T23:21:15.595Z] ---> f17297f29768 [2023-03-29T23:21:15.595Z] Step 25/25 : LABEL version=0.0.0 [2023-03-29T23:21:15.595Z] ---> Running in d191b3fbf2ea [2023-03-29T23:21:16.186Z] Removing intermediate container d191b3fbf2ea [2023-03-29T23:21:16.186Z] ---> 200bfc01626f [2023-03-29T23:21:16.186Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T23:21:16.186Z] Successfully built 200bfc01626f [2023-03-29T23:21:16.186Z] 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-03-29T23:21:17.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T23:21:17.086Z] [2023-03-29T23:21:17.086Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:21:17.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T23:21:17.514Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T23:21:17.514Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T23:21:17.514Z] 04944245beec: Pulling fs layer [2023-03-29T23:21:17.514Z] 699f458cf7ca: Pulling fs layer [2023-03-29T23:21:17.514Z] 765212b225bb: Pulling fs layer [2023-03-29T23:21:17.514Z] f23df028b6ca: Pulling fs layer [2023-03-29T23:21:17.514Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T23:21:17.514Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T23:21:17.514Z] 765212b225bb: Waiting [2023-03-29T23:21:17.514Z] f23df028b6ca: Waiting [2023-03-29T23:21:17.514Z] 2437ff75d9bd: Waiting [2023-03-29T23:21:17.514Z] d65c8cfc05b1: Waiting [2023-03-29T23:21:17.787Z] 04944245beec: Verifying Checksum [2023-03-29T23:21:17.787Z] 04944245beec: Download complete [2023-03-29T23:21:17.787Z] 765212b225bb: Verifying Checksum [2023-03-29T23:21:17.787Z] 765212b225bb: Download complete [2023-03-29T23:21:17.787Z] f23df028b6ca: Download complete [2023-03-29T23:21:17.787Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T23:21:17.787Z] d65c8cfc05b1: Download complete [2023-03-29T23:21:18.063Z] 699f458cf7ca: Verifying Checksum [2023-03-29T23:21:18.063Z] 699f458cf7ca: Download complete [2023-03-29T23:21:18.333Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T23:21:18.333Z] 8998bd30e6a1: Download complete [2023-03-29T23:21:20.927Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T23:21:20.927Z] 2437ff75d9bd: Download complete [2023-03-29T23:21:22.345Z] 8998bd30e6a1: Pull complete [2023-03-29T23:21:22.931Z] 04944245beec: Pull complete [2023-03-29T23:21:24.342Z] 699f458cf7ca: Pull complete [2023-03-29T23:21:24.342Z] 765212b225bb: Pull complete [2023-03-29T23:21:25.309Z] f23df028b6ca: Pull complete [2023-03-29T23:21:25.581Z] d65c8cfc05b1: Pull complete [2023-03-29T23:21:43.848Z] 2437ff75d9bd: Pull complete [2023-03-29T23:21:43.848Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T23:21:43.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T23:21:43.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:21:44.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-6305 does not seem to be running inside a container [2023-03-29T23:21:44.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T23:21:47.445Z] $ docker top f67c030d0ca755cfa9140f4b554284e0d945b9da2fe828ae3c9ba2bbf569b2d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:21:48.355Z] ---> job-cost.sh [2023-03-29T23:21:48.355Z] lf-activate-venv: SKIPPING [2023-03-29T23:21:48.355Z] INFO: No Stack... [2023-03-29T23:21:48.939Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T23:21:49.523Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T23:21:50.208Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-29T23:21:50.208Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T23:21:50.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] [2023-03-29T23:21:50.269Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] did not exist. Created. [2023-03-29T23:21:50.270Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T23:21:50.696Z] /w/workspace/device-rest-go/1@tmp/durable-59f95354/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T23:21:51.388Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T23:21:51.422Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T23:21:51.476Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T23:21:51.491Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T23:21:51.573Z] $ docker stop --time=1 f67c030d0ca755cfa9140f4b554284e0d945b9da2fe828ae3c9ba2bbf569b2d3 [2023-03-29T23:21:54.120Z] $ docker rm -f --volumes f67c030d0ca755cfa9140f4b554284e0d945b9da2fe828ae3c9ba2bbf569b2d3 [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-03-29T23:21:55.111Z] provisioning config files... [2023-03-29T23:21:55.118Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp/config15002750005511149088tmp [Pipeline] { [Pipeline] sh [2023-03-29T23:21:55.459Z] + set +x [2023-03-29T23:21:55.459Z] + curl -s https://codecov.io/bash [2023-03-29T23:21:55.459Z] + bash -s -- [2023-03-29T23:21:55.459Z] [2023-03-29T23:21:55.459Z] _____ _ [2023-03-29T23:21:55.459Z] / ____| | | [2023-03-29T23:21:55.459Z] | | ___ __| | ___ ___ _____ __ [2023-03-29T23:21:55.459Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-29T23:21:55.459Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-29T23:21:55.459Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-29T23:21:55.459Z] Bash-1.0.6 [2023-03-29T23:21:55.459Z] [2023-03-29T23:21:55.459Z] [2023-03-29T23:21:55.459Z] ==> git version 2.25.1 found [2023-03-29T23:21:55.459Z] ==> 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-03-29T23:21:55.459Z] Release-Date: 2020-01-08 [2023-03-29T23:21:55.459Z] 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-03-29T23:21:55.459Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-29T23:21:55.459Z] ==> Jenkins CI detected. [2023-03-29T23:21:55.459Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-285 [2023-03-29T23:21:55.459Z] project root: . [2023-03-29T23:21:55.459Z] --> token set from env [2023-03-29T23:21:55.459Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-29T23:21:55.459Z] ==> Running gcov in . (disable via -X gcov) [2023-03-29T23:21:55.459Z] ==> Python coveragepy not found [2023-03-29T23:21:55.459Z] ==> Searching for coverage reports in: [2023-03-29T23:21:55.459Z] + . [2023-03-29T23:21:55.459Z] -> Found 1 reports [2023-03-29T23:21:55.459Z] ==> Detecting git/mercurial file structure [2023-03-29T23:21:55.459Z] ==> Reading reports [2023-03-29T23:21:55.459Z] + ./coverage.out bytes=14200 [2023-03-29T23:21:55.459Z] ==> Appending adjustments [2023-03-29T23:21:55.459Z] https://docs.codecov.io/docs/fixing-reports [2023-03-29T23:21:55.718Z] + Found adjustments [2023-03-29T23:21:55.718Z] ==> Gzipping contents [2023-03-29T23:21:55.718Z] 4.0K /tmp/codecov.fumf3g.gz [2023-03-29T23:21:55.718Z] ==> Uploading reports [2023-03-29T23:21:55.718Z] url: https://codecov.io [2023-03-29T23:21:55.718Z] query: branch=PR-285&commit=ec72a010f3a9dc26a52c83ef9785512ab084ad85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-285%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=285&job=&cmd_args= [2023-03-29T23:21:55.718Z] -> Pinging Codecov [2023-03-29T23:21:55.718Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-285&commit=ec72a010f3a9dc26a52c83ef9785512ab084ad85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-285%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=285&job=&cmd_args= [2023-03-29T23:21:55.718Z] -> Uploading to [2023-03-29T23:21:55.718Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-29/4E5D53B4F1F92C436F7061BF334D961C/ec72a010f3a9dc26a52c83ef9785512ab084ad85/70a4c225-aea4-4f61-a46a-413cc01dfc7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T232155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=648a87486af9bfb8350b25cebb786543e4dff31f477e819820a5cd30b6cd88a1 [2023-03-29T23:21:55.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T23:21:55.718Z] Dload Upload Total Spent Left Speed [2023-03-29T23:21:55.978Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 9787 --:--:-- --:--:-- --:--:-- 9748 [2023-03-29T23:21:55.978Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ec72a010f3a9dc26a52c83ef9785512ab084ad85 [Pipeline] } [2023-03-29T23:21:56.006Z] 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-03-29T23:21:57.714Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-285/archives ] [2023-03-29T23:21:57.714Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-285/archives [2023-03-29T23:21:57.714Z] total 16 [2023-03-29T23:21:57.714Z] drwxr-xr-x 3 root root 4096 Mar 29 23:10 . [2023-03-29T23:21:57.714Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:10 .. [2023-03-29T23:21:57.714Z] drwxr-xr-x 2 root root 4096 Mar 29 23:10 cost [2023-03-29T23:21:57.714Z] -rw-r--r-- 1 root root 86 Mar 29 23:10 cost.csv [2023-03-29T23:21:57.714Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-285/archives [2023-03-29T23:21:57.714Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-285/archives [2023-03-29T23:21:57.714Z] total 16 [2023-03-29T23:21:57.714Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:10 . [2023-03-29T23:21:57.714Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:10 .. [2023-03-29T23:21:57.714Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:10 cost [2023-03-29T23:21:57.714Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 29 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:21:58.046Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:21:58.937Z] ---> package-listing.sh [2023-03-29T23:21:58.937Z] ++ facter osfamily [2023-03-29T23:21:58.937Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T23:21:59.198Z] + OS_FAMILY=debian [2023-03-29T23:21:59.198Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-285 [2023-03-29T23:21:59.198Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T23:21:59.198Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T23:21:59.198Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T23:21:59.198Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T23:21:59.198Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-285 ']' [2023-03-29T23:21:59.198Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T23:21:59.198Z] + case "${OS_FAMILY}" in [2023-03-29T23:21:59.198Z] + dpkg -l [2023-03-29T23:21:59.198Z] + grep '^ii' [2023-03-29T23:21:59.198Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T23:21:59.198Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T23:21:59.198Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T23:21:59.198Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-285 ']' [2023-03-29T23:21:59.198Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-285/archives/ [2023-03-29T23:21:59.198Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-285/archives/ [Pipeline] echo [2023-03-29T23:21:59.229Z] 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-285/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T23:21:59.522Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:22:00.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:22:00.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:22:00.286Z] prd-ubuntu20.04-docker-8c-8g-6296 does not seem to be running inside a container [2023-03-29T23:22:00.314Z] $ 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-285/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-285 -v /w/workspace/gexfoundry_device-rest-go_PR-285:/w/workspace/gexfoundry_device-rest-go_PR-285:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-285@tmp:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T23:22:00.554Z] $ docker top 6a0461c801c521ef4ac12ec7a37da22e5e9b337275596801fed7c02154e68d36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:22:00.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T23:22:01.250Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T23:22:01.560Z] + ls /var/log/sa-host [2023-03-29T23:22:01.560Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T23:22:01.681Z] provisioning config files... [2023-03-29T23:22:01.690Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-285@tmp/config839015968072041074tmp [Pipeline] { [Pipeline] echo [2023-03-29T23:22:01.736Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:22:02.050Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T23:22:02.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:22:02.482Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T23:22:02.518Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:22:02.828Z] ---> sudo-logs.sh [2023-03-29T23:22:02.828Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T23:22:02.917Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:22:03.229Z] ---> job-cost.sh [2023-03-29T23:22:03.229Z] lf-activate-venv: SKIPPING [2023-03-29T23:22:03.229Z] DEBUG: total: 0.2199999988079071 [2023-03-29T23:22:03.229Z] INFO: Retrieving Stack Cost... [2023-03-29T23:22:04.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T23:22:04.427Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T23:22:04.463Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:22:04.785Z] ---> logs-deploy.sh [2023-03-29T23:22:04.785Z] lf-activate-venv: SKIPPING [2023-03-29T23:22:04.785Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-285/1 [2023-03-29T23:22:04.785Z] INFO: archiving workspace using pattern(s): [2023-03-29T23:22:05.722Z] Archives upload complete. [2023-03-29T23:22:05.722Z] INFO: archiving logs to Nexus