Pull request #257 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c+70384783b5a72194fc813c647394660ae113f8ec (41b6422da12ce4af8eba2abd23418030e2027c18) 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-ssh5019358826813307335.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3294143797095585128.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-257/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-257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16856337438810681081.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-257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17872815823640009675.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13160553312434314147.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-257/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-257/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4810630457334553054.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6769 in /w/workspace/gexfoundry_device-rest-go_PR-257 [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-257 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/257/head:refs/remotes/origin/PR-257 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 70384783b5a72194fc813c647394660ae113f8ec into PR head commit f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c Merge succeeded, producing f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c Checking out Revision f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c (PR-257) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-20T21:00:21.082Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T21:00:21.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c # 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 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T21:00:21.348Z] ========================================================= [2023-02-20T21:00:21.348Z] EdgeX Global Pipelines Version Info [2023-02-20T21:00:21.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:00:22.072Z] ------------------- [2023-02-20T21:00:22.072Z] stable info: [2023-02-20T21:00:22.072Z] ------------------- [2023-02-20T21:00:22.072Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T21:00:22.072Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T21:00:22.072Z] Message: update stable to v1.0.244 [2023-02-20T21:00:22.640Z] ------------------- [2023-02-20T21:00:22.640Z] experimental info: [2023-02-20T21:00:22.640Z] ------------------- [2023-02-20T21:00:22.640Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T21:00:22.640Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T21:00:22.640Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T21:00:22.908Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-20T21:00:22.946Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-20T21:00:22.985Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T21:00:23.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T21:00:23.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T21:00:23.111Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T21:00:23.153Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T21:00:23.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T21:00:23.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T21:00:23.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T21:00:23.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T21:00:23.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-20T21:00:23.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T21:00:23.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T21:00:23.459Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T21:00:23.495Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T21:00:23.531Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T21:00:23.571Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T21:00:23.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T21:00:23.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T21:00:23.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T21:00:23.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T21:00:23.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T21:00:23.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T21:00:23.847Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T21:00:23.885Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T21:00:23.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T21:00:23.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-257 [Pipeline] echo [2023-02-20T21:00:24.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-257 [Pipeline] echo [2023-02-20T21:00:24.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-257 [Pipeline] echo [2023-02-20T21:00:24.094Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [Pipeline] echo [2023-02-20T21:00:24.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f26e3fc [Pipeline] echo [2023-02-20T21:00:24.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T21:00:24.307Z] provisioning config files... [2023-02-20T21:00:24.320Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-257@tmp/config18296671123569102864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:00:24.669Z] ---> docker-login.sh [2023-02-20T21:00:24.669Z] nexus3.edgexfoundry.org:10001 [2023-02-20T21:00:24.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:25.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:25.189Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:25.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:25.189Z] [2023-02-20T21:00:25.189Z] Login Succeeded [2023-02-20T21:00:25.189Z] nexus3.edgexfoundry.org:10002 [2023-02-20T21:00:25.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:25.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:25.189Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:25.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:25.189Z] [2023-02-20T21:00:25.189Z] Login Succeeded [2023-02-20T21:00:25.189Z] nexus3.edgexfoundry.org:10003 [2023-02-20T21:00:25.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:25.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:25.189Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:25.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:25.189Z] [2023-02-20T21:00:25.189Z] Login Succeeded [2023-02-20T21:00:25.189Z] nexus3.edgexfoundry.org:10004 [2023-02-20T21:00:25.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:25.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:25.449Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:25.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:25.449Z] [2023-02-20T21:00:25.449Z] Login Succeeded [2023-02-20T21:00:25.449Z] docker.io [2023-02-20T21:00:25.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:25.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:25.709Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:25.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:25.709Z] [2023-02-20T21:00:25.709Z] Login Succeeded [2023-02-20T21:00:25.709Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T21:00:25.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T21:00:26.381Z] + git rev-list -1 --merges f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c~1..f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [Pipeline] echo [2023-02-20T21:00:26.444Z] -----------> git rev-list -1 --merges f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c~1..f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [false] [Pipeline] sh [2023-02-20T21:00:26.752Z] + git log --format=format:%s -1 f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [Pipeline] echo [2023-02-20T21:00:26.784Z] ========================================================= [2023-02-20T21:00:26.784Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T21:00:26.784Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T21:00:27.219Z] + git log --format=format:%s -1 f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [Pipeline] echo [2023-02-20T21:00:27.255Z] [semverPrep] GIT_COMMIT: f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-20T21:00:27.285Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T21:00:27.678Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T21:00:27.678Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T21:00:27.678Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T21:00:27.678Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T21:00:27.678Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-20T21:00:27.678Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-20T21:00:27.678Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:00:28.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T21:00:28.170Z] [2023-02-20T21:00:28.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:00:28.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T21:00:28.555Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T21:00:28.555Z] b85a868b505f: Pulling fs layer [2023-02-20T21:00:28.555Z] e2be974225ed: Pulling fs layer [2023-02-20T21:00:28.556Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T21:00:28.556Z] 988bab9f4d93: Pulling fs layer [2023-02-20T21:00:28.556Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T21:00:28.556Z] eaf3925da568: Pulling fs layer [2023-02-20T21:00:28.556Z] bab4dde63d76: Pulling fs layer [2023-02-20T21:00:28.556Z] bde34c3a00c8: Pulling fs layer [2023-02-20T21:00:28.556Z] b352a97aabf1: Pulling fs layer [2023-02-20T21:00:28.556Z] 4872d77fe225: Pulling fs layer [2023-02-20T21:00:28.556Z] 5851b861e8e6: Pulling fs layer [2023-02-20T21:00:28.556Z] bab4dde63d76: Waiting [2023-02-20T21:00:28.556Z] 4872d77fe225: Waiting [2023-02-20T21:00:28.556Z] 5851b861e8e6: Waiting [2023-02-20T21:00:28.556Z] bde34c3a00c8: Waiting [2023-02-20T21:00:28.556Z] 988bab9f4d93: Waiting [2023-02-20T21:00:28.556Z] eaf3925da568: Waiting [2023-02-20T21:00:28.556Z] b352a97aabf1: Waiting [2023-02-20T21:00:28.556Z] 1469e6f7b9e6: Waiting [2023-02-20T21:00:28.556Z] e2be974225ed: Verifying Checksum [2023-02-20T21:00:28.556Z] e2be974225ed: Download complete [2023-02-20T21:00:28.556Z] 988bab9f4d93: Verifying Checksum [2023-02-20T21:00:28.556Z] 988bab9f4d93: Download complete [2023-02-20T21:00:28.816Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T21:00:28.816Z] 1469e6f7b9e6: Download complete [2023-02-20T21:00:28.816Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T21:00:28.816Z] 339a4e72a1f5: Download complete [2023-02-20T21:00:28.816Z] eaf3925da568: Verifying Checksum [2023-02-20T21:00:28.816Z] eaf3925da568: Download complete [2023-02-20T21:00:28.816Z] bde34c3a00c8: Download complete [2023-02-20T21:00:28.816Z] b352a97aabf1: Download complete [2023-02-20T21:00:28.816Z] 4872d77fe225: Verifying Checksum [2023-02-20T21:00:28.816Z] 4872d77fe225: Download complete [2023-02-20T21:00:28.816Z] 5851b861e8e6: Verifying Checksum [2023-02-20T21:00:28.816Z] 5851b861e8e6: Download complete [2023-02-20T21:00:28.816Z] b85a868b505f: Verifying Checksum [2023-02-20T21:00:28.816Z] b85a868b505f: Download complete [2023-02-20T21:00:29.075Z] bab4dde63d76: Verifying Checksum [2023-02-20T21:00:29.075Z] bab4dde63d76: Download complete [2023-02-20T21:00:30.448Z] b85a868b505f: Pull complete [2023-02-20T21:00:30.448Z] e2be974225ed: Pull complete [2023-02-20T21:00:30.707Z] 339a4e72a1f5: Pull complete [2023-02-20T21:00:30.707Z] 988bab9f4d93: Pull complete [2023-02-20T21:00:31.274Z] 1469e6f7b9e6: Pull complete [2023-02-20T21:00:31.274Z] eaf3925da568: Pull complete [2023-02-20T21:00:33.177Z] bab4dde63d76: Pull complete [2023-02-20T21:00:33.177Z] bde34c3a00c8: Pull complete [2023-02-20T21:00:33.177Z] b352a97aabf1: Pull complete [2023-02-20T21:00:33.177Z] 4872d77fe225: Pull complete [2023-02-20T21:00:33.177Z] 5851b861e8e6: Pull complete [2023-02-20T21:00:33.177Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T21:00:33.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T21:00:33.177Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:00:33.390Z] prd-ubuntu20.04-docker-8c-8g-6769 does not seem to be running inside a container [2023-02-20T21:00:33.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-257 -v /w/workspace/gexfoundry_device-rest-go_PR-257:/w/workspace/gexfoundry_device-rest-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-257@tmp:/w/workspace/gexfoundry_device-rest-go_PR-257@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-02-20T21:00:35.981Z] $ docker top f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 -eo pid,comm [2023-02-20T21:00:36.029Z] 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-02-20T21:00:36.029Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T21:00:36.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T21:00:36.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T21:00:36.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T21:00:36.276Z] $ docker exec f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 ssh-agent [2023-02-20T21:00:36.383Z] SSH_AUTH_SOCK=/tmp/ssh-Tl8XRbRCMbdJ/agent.33 [2023-02-20T21:00:36.384Z] SSH_AGENT_PID=39 [2023-02-20T21:00:36.390Z] Running ssh-add (command line suppressed) [2023-02-20T21:00:36.485Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-257@tmp/private_key_15590596495033923900.key (/w/workspace/gexfoundry_device-rest-go_PR-257@tmp/private_key_15590596495033923900.key) [2023-02-20T21:00:36.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T21:00:36.830Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T21:00:36.857Z] $ docker exec --env ******** --env ******** f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 ssh-agent -k [2023-02-20T21:00:36.945Z] unset SSH_AUTH_SOCK; [2023-02-20T21:00:36.946Z] unset SSH_AGENT_PID; [2023-02-20T21:00:36.946Z] echo Agent pid 39 killed; [2023-02-20T21:00:36.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T21:00:37.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T21:00:37.038Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T21:00:37.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T21:00:37.150Z] $ docker exec f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 ssh-agent [2023-02-20T21:00:37.242Z] SSH_AUTH_SOCK=/tmp/ssh-vkkWFZ1iCuvU/agent.71 [2023-02-20T21:00:37.242Z] SSH_AGENT_PID=77 [2023-02-20T21:00:37.246Z] Running ssh-add (command line suppressed) [2023-02-20T21:00:37.354Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-257@tmp/private_key_4578202159595109899.key (/w/workspace/gexfoundry_device-rest-go_PR-257@tmp/private_key_4578202159595109899.key) [2023-02-20T21:00:37.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T21:00:37.689Z] + git semver init [2023-02-20T21:00:37.949Z] 2023-02-20 21:00:37,891 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T21:00:37.949Z] 2023-02-20 21:00:37,892 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-257/.semver [2023-02-20T21:00:37.949Z] 2023-02-20 21:00:37,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-257/.semver [2023-02-20T21:00:37.949Z] 2023-02-20 21:00:37,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-257/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-257, universal_newlines=False, shell=None, istream=None) [2023-02-20T21:00:39.328Z] 2023-02-20 21:00:39,129 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-257/.git/info/exclude [2023-02-20T21:00:39.328Z] 2023-02-20 21:00:39,130 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-257/.semver/PR-257 with force:False [2023-02-20T21:00:39.328Z] 2023-02-20 21:00:39,130 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-257/.semver/PR-257 [2023-02-20T21:00:39.328Z] 2023-02-20 21:00:39,134 [execute] INFO git cat-file --batch-check [2023-02-20T21:00:39.329Z] 2023-02-20 21:00:39,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-257/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T21:00:39.329Z] 2023-02-20 21:00:39,139 [execute] INFO git cat-file --batch [2023-02-20T21:00:39.329Z] 2023-02-20 21:00:39,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-257/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T21:00:39.329Z] 2023-02-20 21:00:39,144 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-257/.semver/PR-257 [2023-02-20T21:00:39.329Z] 0.0.0 [Pipeline] } [2023-02-20T21:00:39.361Z] $ docker exec --env ******** --env ******** f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 ssh-agent -k [2023-02-20T21:00:39.452Z] unset SSH_AUTH_SOCK; [2023-02-20T21:00:39.452Z] unset SSH_AGENT_PID; [2023-02-20T21:00:39.452Z] echo Agent pid 77 killed; [2023-02-20T21:00:39.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T21:00:39.858Z] + git semver [Pipeline] } [2023-02-20T21:00:40.140Z] $ docker stop --time=1 f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 [2023-02-20T21:00:41.414Z] $ docker rm -f --volumes f6c16fc62cdbae5ea14012a7ec717f72b7af349e879580109967c337c4949f12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T21:00:41.815Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T21:00:42.089Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T21:00:42.112Z] [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-02-20T21:00:42.644Z] provisioning config files... [2023-02-20T21:00:42.655Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-257@tmp/config15468286622235526110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:00:42.992Z] ---> docker-login.sh [2023-02-20T21:00:42.992Z] nexus3.edgexfoundry.org:10001 [2023-02-20T21:00:42.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:42.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:42.992Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:42.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:42.992Z] [2023-02-20T21:00:42.992Z] Login Succeeded [2023-02-20T21:00:42.992Z] nexus3.edgexfoundry.org:10002 [2023-02-20T21:00:42.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:42.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:42.993Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:42.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:42.993Z] [2023-02-20T21:00:42.993Z] Login Succeeded [2023-02-20T21:00:42.993Z] nexus3.edgexfoundry.org:10003 [2023-02-20T21:00:43.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:43.250Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:43.250Z] [2023-02-20T21:00:43.250Z] Login Succeeded [2023-02-20T21:00:43.250Z] nexus3.edgexfoundry.org:10004 [2023-02-20T21:00:43.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:43.250Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:43.250Z] [2023-02-20T21:00:43.250Z] Login Succeeded [2023-02-20T21:00:43.250Z] docker.io [2023-02-20T21:00:43.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:00:43.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:00:43.510Z] Configure a credential helper to remove this warning. See [2023-02-20T21:00:43.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:00:43.510Z] [2023-02-20T21:00:43.510Z] Login Succeeded [2023-02-20T21:00:43.510Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T21:00:43.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T21:00:43.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T21:00:43.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T21:00:43.813Z] ========================================================= [2023-02-20T21:00:43.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T21:00:43.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:00:44.266Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-20T21:00:44.266Z] Sending build context to Docker daemon 10.82MB [2023-02-20T21:00:44.266Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T21:00:44.266Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T21:00:44.266Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T21:00:44.266Z] 213ec9aee27d: Pulling fs layer [2023-02-20T21:00:44.266Z] 4583459ba037: Pulling fs layer [2023-02-20T21:00:44.266Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T21:00:44.266Z] 53926ce57604: Pulling fs layer [2023-02-20T21:00:44.266Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T21:00:44.266Z] 22ff95d597cd: Pulling fs layer [2023-02-20T21:00:44.266Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T21:00:44.266Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T21:00:44.266Z] a7acece74701: Pulling fs layer [2023-02-20T21:00:44.266Z] 21b2b0c7a3f4: Waiting [2023-02-20T21:00:44.266Z] 96b7cbca73a9: Waiting [2023-02-20T21:00:44.266Z] 22ff95d597cd: Waiting [2023-02-20T21:00:44.266Z] 12d6caf4c0d1: Waiting [2023-02-20T21:00:44.266Z] a7acece74701: Waiting [2023-02-20T21:00:44.266Z] 53926ce57604: Waiting [2023-02-20T21:00:44.266Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T21:00:44.266Z] 93c1e223e6f2: Download complete [2023-02-20T21:00:44.266Z] 4583459ba037: Verifying Checksum [2023-02-20T21:00:44.266Z] 4583459ba037: Download complete [2023-02-20T21:00:44.266Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-20T21:00:44.266Z] 21b2b0c7a3f4: Download complete [2023-02-20T21:00:44.266Z] 22ff95d597cd: Verifying Checksum [2023-02-20T21:00:44.266Z] 22ff95d597cd: Download complete [2023-02-20T21:00:44.530Z] 213ec9aee27d: Download complete [2023-02-20T21:00:44.530Z] 12d6caf4c0d1: Verifying Checksum [2023-02-20T21:00:44.530Z] 12d6caf4c0d1: Download complete [2023-02-20T21:00:44.530Z] 213ec9aee27d: Pull complete [2023-02-20T21:00:44.790Z] 4583459ba037: Pull complete [2023-02-20T21:00:44.790Z] 93c1e223e6f2: Pull complete [2023-02-20T21:00:45.049Z] a7acece74701: Verifying Checksum [2023-02-20T21:00:45.049Z] a7acece74701: Download complete [2023-02-20T21:00:45.307Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T21:00:45.307Z] 96b7cbca73a9: Download complete [2023-02-20T21:00:45.307Z] 53926ce57604: Download complete [2023-02-20T21:00:49.492Z] 53926ce57604: Pull complete [2023-02-20T21:00:49.492Z] 21b2b0c7a3f4: Pull complete [2023-02-20T21:00:49.492Z] 22ff95d597cd: Pull complete [2023-02-20T21:00:49.492Z] 12d6caf4c0d1: Pull complete [2023-02-20T21:00:51.402Z] 96b7cbca73a9: Pull complete [2023-02-20T21:00:51.660Z] a7acece74701: Pull complete [2023-02-20T21:00:51.660Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T21:00:51.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T21:00:51.661Z] ---> db6d94c90886 [2023-02-20T21:00:51.661Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T21:00:56.945Z] ---> Running in c5ac0807f50f [2023-02-20T21:00:56.945Z] Removing intermediate container c5ac0807f50f [2023-02-20T21:00:56.945Z] ---> 5cf5b149278c [2023-02-20T21:00:56.945Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T21:00:56.945Z] ---> Running in f76e8e6bcf3b [2023-02-20T21:00:56.945Z] Removing intermediate container f76e8e6bcf3b [2023-02-20T21:00:56.945Z] ---> cbb7a78b23f5 [2023-02-20T21:00:56.945Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T21:00:56.945Z] ---> Running in 41bb63f32b6a [2023-02-20T21:00:56.945Z] Removing intermediate container 41bb63f32b6a [2023-02-20T21:00:56.945Z] ---> 3bea1bbbf356 [2023-02-20T21:00:56.945Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T21:00:56.945Z] ---> Running in a4eda288ce2e [2023-02-20T21:00:56.945Z] Removing intermediate container a4eda288ce2e [2023-02-20T21:00:56.945Z] ---> b4fa85ce204b [2023-02-20T21:00:56.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T21:00:56.945Z] ---> Running in 2bab6bde20c5 [2023-02-20T21:00:56.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T21:00:56.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T21:00:57.486Z] Still waiting to schedule task [2023-02-20T21:00:57.486Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-20T21:00:57.514Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T21:00:57.514Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T21:00:57.514Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T21:00:57.514Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T21:00:57.514Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T21:00:57.514Z] OK: 216 MiB in 55 packages [2023-02-20T21:00:57.773Z] Removing intermediate container 2bab6bde20c5 [2023-02-20T21:00:57.773Z] ---> f6baf79c1433 [2023-02-20T21:00:57.773Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-20T21:00:57.773Z] ---> Running in 55805de2d0c4 [2023-02-20T21:00:58.032Z] Removing intermediate container 55805de2d0c4 [2023-02-20T21:00:58.032Z] ---> ad17f67c46e5 [2023-02-20T21:00:58.032Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T21:00:58.032Z] ---> 335f46d851bf [2023-02-20T21:00:58.032Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T21:00:58.032Z] ---> Running in 95751e5f8017 [2023-02-20T21:01:36.760Z] Removing intermediate container 95751e5f8017 [2023-02-20T21:01:36.760Z] ---> 9b46d99d821b [2023-02-20T21:01:36.760Z] Step 11/12 : COPY . . [2023-02-20T21:01:36.760Z] ---> 87f7058bc2d3 [2023-02-20T21:01:36.760Z] Step 12/12 : RUN $MAKE [2023-02-20T21:01:36.760Z] ---> Running in b74244d57ba1 [2023-02-20T21:01:36.760Z] noop [2023-02-20T21:01:36.760Z] Removing intermediate container b74244d57ba1 [2023-02-20T21:01:36.760Z] ---> 94b3d0b0298d [2023-02-20T21:01:36.760Z] Successfully built 94b3d0b0298d [2023-02-20T21:01:36.760Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:01:37.201Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T21:01:37.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:01:37.345Z] prd-ubuntu20.04-docker-8c-8g-6769 does not seem to be running inside a container [2023-02-20T21:01:37.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-257 -v /w/workspace/gexfoundry_device-rest-go_PR-257:/w/workspace/gexfoundry_device-rest-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-257@tmp:/w/workspace/gexfoundry_device-rest-go_PR-257@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-02-20T21:01:37.723Z] $ docker top f4e9d5c85aeb9f45344f9dacbd1dc8ffae2087d36c155e2ef5bd3dbc62cacd28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T21:01:38.117Z] + go version [2023-02-20T21:01:38.117Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T21:01:38.150Z] $ docker stop --time=1 f4e9d5c85aeb9f45344f9dacbd1dc8ffae2087d36c155e2ef5bd3dbc62cacd28 [2023-02-20T21:01:39.394Z] $ docker rm -f --volumes f4e9d5c85aeb9f45344f9dacbd1dc8ffae2087d36c155e2ef5bd3dbc62cacd28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:01:40.155Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T21:01:40.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:01:40.298Z] prd-ubuntu20.04-docker-8c-8g-6769 does not seem to be running inside a container [2023-02-20T21:01:40.329Z] $ 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-257 -v /w/workspace/gexfoundry_device-rest-go_PR-257:/w/workspace/gexfoundry_device-rest-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-257@tmp:/w/workspace/gexfoundry_device-rest-go_PR-257@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-02-20T21:01:40.661Z] $ docker top 0b24b8b49e4938fa3f3c51988d2e0238ff1607c7279531128a6ad0c268db1708 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T21:01:41.053Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-257 [Pipeline] fileExists [Pipeline] sh [2023-02-20T21:01:41.407Z] + make test [2023-02-20T21:01:41.407Z] go test ./... -coverprofile=coverage.out ./... [2023-02-20T21:01:41.665Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-20T21:01:49.770Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-20T21:01:50.338Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-20T21:01:56.895Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-20T21:01:56.895Z] go vet ./... [2023-02-20T21:01:59.422Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T21:01:59.422Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T21:01:59.422Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T21:01:59.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T21:01:59.739Z] $ docker stop --time=1 0b24b8b49e4938fa3f3c51988d2e0238ff1607c7279531128a6ad0c268db1708 [2023-02-20T21:02:02.340Z] $ docker rm -f --volumes 0b24b8b49e4938fa3f3c51988d2e0238ff1607c7279531128a6ad0c268db1708 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T21:02:02.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T21:02:02.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-20T21:02:03.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T21:02:03.941Z] + ls -al . [2023-02-20T21:02:03.941Z] total 188 [2023-02-20T21:02:03.941Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 21:01 . [2023-02-20T21:02:03.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 21:00 .. [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 20 21:00 .dockerignore [2023-02-20T21:02:03.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 21:01 .git [2023-02-20T21:02:03.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:00 .github [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 20 21:00 .gitignore [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 21:00 .golangci.yml [2023-02-20T21:02:03.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 21:00 .semver [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 20 21:00 Attribution.txt [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 20 21:00 CHANGELOG.md [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 20 21:00 Dockerfile [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 21:00 GOVERNANCE.md [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 21:00 Jenkinsfile [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 21:00 LICENSE [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 20 21:00 Makefile [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 21:00 OWNERS.md [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 20 21:00 README.md [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 21:00 VERSION [2023-02-20T21:02:03.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:00 bin [2023-02-20T21:02:03.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:00 cmd [2023-02-20T21:02:03.941Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 20 21:01 coverage.out [2023-02-20T21:02:03.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:00 driver [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 20 21:00 go.mod [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 20 21:00 go.sum [2023-02-20T21:02:03.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 21:00 snap [2023-02-20T21:02:03.941Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 20 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:02:04.341Z] + 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=f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c --label arch=amd64 --label version=0.0.0 . [2023-02-20T21:02:04.341Z] Sending build context to Docker daemon 10.84MB [2023-02-20T21:02:04.341Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T21:02:04.341Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-20T21:02:04.341Z] ---> 94b3d0b0298d [2023-02-20T21:02:04.341Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-20T21:02:04.602Z] ---> Running in bc823e679e38 [2023-02-20T21:02:04.602Z] Removing intermediate container bc823e679e38 [2023-02-20T21:02:04.602Z] ---> fc559cd304f3 [2023-02-20T21:02:04.602Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T21:02:04.602Z] ---> Running in 744be2751558 [2023-02-20T21:02:04.602Z] Removing intermediate container 744be2751558 [2023-02-20T21:02:04.602Z] ---> f097005be3f2 [2023-02-20T21:02:04.602Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T21:02:04.602Z] ---> Running in 4271f7d90950 [2023-02-20T21:02:04.862Z] Removing intermediate container 4271f7d90950 [2023-02-20T21:02:04.862Z] ---> a295e93a2226 [2023-02-20T21:02:04.862Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T21:02:04.862Z] ---> Running in 0300fe1a5369 [2023-02-20T21:02:04.862Z] Removing intermediate container 0300fe1a5369 [2023-02-20T21:02:04.862Z] ---> 2862e989748e [2023-02-20T21:02:04.862Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T21:02:04.862Z] ---> Running in 27853f1e436a [2023-02-20T21:02:05.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T21:02:05.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T21:02:05.639Z] OK: 216 MiB in 55 packages [2023-02-20T21:02:05.899Z] Removing intermediate container 27853f1e436a [2023-02-20T21:02:05.899Z] ---> fbe1e4517705 [2023-02-20T21:02:05.899Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-20T21:02:05.899Z] ---> Running in 9e065dff779a [2023-02-20T21:02:05.899Z] Removing intermediate container 9e065dff779a [2023-02-20T21:02:05.899Z] ---> ac63567ea05a [2023-02-20T21:02:05.899Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-20T21:02:06.158Z] ---> 9a1d8aa26029 [2023-02-20T21:02:06.158Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T21:02:06.158Z] ---> Running in 1ff794b28147 [2023-02-20T21:02:06.726Z] Removing intermediate container 1ff794b28147 [2023-02-20T21:02:06.726Z] ---> e3f8a2a04f6e [2023-02-20T21:02:06.726Z] Step 11/25 : COPY . . [2023-02-20T21:02:07.293Z] ---> 55cf608268ea [2023-02-20T21:02:07.293Z] Step 12/25 : RUN $MAKE [2023-02-20T21:02:07.293Z] ---> Running in 8e6bd8c4d1ed [2023-02-20T21:02:07.551Z] 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-02-20T21:02:29.617Z] Removing intermediate container 8e6bd8c4d1ed [2023-02-20T21:02:29.617Z] ---> 8db076e562af [2023-02-20T21:02:29.617Z] Step 13/25 : FROM alpine:3.16 [2023-02-20T21:02:29.617Z] 3.16: Pulling from library/alpine [2023-02-20T21:02:29.617Z] ef5531b6e74e: Pulling fs layer [2023-02-20T21:02:29.617Z] ef5531b6e74e: Verifying Checksum [2023-02-20T21:02:29.617Z] ef5531b6e74e: Download complete [2023-02-20T21:02:29.617Z] ef5531b6e74e: Pull complete [2023-02-20T21:02:29.617Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T21:02:29.617Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T21:02:29.617Z] ---> dfd21b5a31f5 [2023-02-20T21:02:29.617Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-20T21:02:29.617Z] ---> Running in cd4b44724332 [2023-02-20T21:02:29.617Z] Removing intermediate container cd4b44724332 [2023-02-20T21:02:29.617Z] ---> 2a2d65c165d7 [2023-02-20T21:02:29.617Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-20T21:02:29.617Z] ---> Running in 76bd26905606 [2023-02-20T21:02:29.617Z] Removing intermediate container 76bd26905606 [2023-02-20T21:02:29.617Z] ---> 2ee2d18ed1c1 [2023-02-20T21:02:29.617Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-20T21:02:29.617Z] ---> Running in 5b2bb7597cb8 [2023-02-20T21:02:29.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T21:02:29.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T21:02:29.617Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T21:02:29.617Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T21:02:29.617Z] OK: 6 MiB in 15 packages [2023-02-20T21:02:29.617Z] Removing intermediate container 5b2bb7597cb8 [2023-02-20T21:02:29.617Z] ---> 9d4db1d8b9ec [2023-02-20T21:02:29.617Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-20T21:02:29.617Z] ---> 91bfc840e21e [2023-02-20T21:02:29.617Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-20T21:02:29.617Z] ---> 02d674c9021c [2023-02-20T21:02:29.617Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-20T21:02:29.617Z] ---> 6d96d2f74a47 [2023-02-20T21:02:29.617Z] Step 20/25 : EXPOSE 59986 [2023-02-20T21:02:29.617Z] ---> Running in 7bafe0d35156 [2023-02-20T21:02:29.617Z] Removing intermediate container 7bafe0d35156 [2023-02-20T21:02:29.617Z] ---> b0cba595d73c [2023-02-20T21:02:29.617Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-20T21:02:29.617Z] ---> Running in 5b2def985337 [2023-02-20T21:02:29.875Z] Removing intermediate container 5b2def985337 [2023-02-20T21:02:29.875Z] ---> 5ac1e8326e03 [2023-02-20T21:02:29.875Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-20T21:02:29.875Z] ---> Running in 5ebfe24d0a36 [2023-02-20T21:02:29.875Z] Removing intermediate container 5ebfe24d0a36 [2023-02-20T21:02:29.875Z] ---> db4993be469b [2023-02-20T21:02:29.875Z] Step 23/25 : LABEL arch=amd64 [2023-02-20T21:02:29.875Z] ---> Running in 13c315391167 [2023-02-20T21:02:29.875Z] Removing intermediate container 13c315391167 [2023-02-20T21:02:29.875Z] ---> a0963633e7cf [2023-02-20T21:02:29.875Z] Step 24/25 : LABEL git_sha=f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [2023-02-20T21:02:29.875Z] ---> Running in 028ba8ec627c [2023-02-20T21:02:30.133Z] Removing intermediate container 028ba8ec627c [2023-02-20T21:02:30.133Z] ---> da4fa7936021 [2023-02-20T21:02:30.133Z] Step 25/25 : LABEL version=0.0.0 [2023-02-20T21:02:30.133Z] ---> Running in ebf09fde4e31 [2023-02-20T21:02:30.133Z] Removing intermediate container ebf09fde4e31 [2023-02-20T21:02:30.133Z] ---> acd9e4592158 [2023-02-20T21:02:30.133Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T21:02:30.133Z] Successfully built acd9e4592158 [2023-02-20T21:02:30.133Z] 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-02-20T21:02:30.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T21:02:30.981Z] [2023-02-20T21:02:30.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:02:31.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T21:02:31.360Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T21:02:31.360Z] 5eb5b503b376: Pulling fs layer [2023-02-20T21:02:31.360Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T21:02:31.360Z] ec43610c2a17: Pulling fs layer [2023-02-20T21:02:31.360Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T21:02:31.360Z] 33b1e0a273af: Pulling fs layer [2023-02-20T21:02:31.360Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T21:02:31.360Z] 2f39f015ded8: Pulling fs layer [2023-02-20T21:02:31.360Z] 3a2ae6a8a46f: Waiting [2023-02-20T21:02:31.360Z] 33b1e0a273af: Waiting [2023-02-20T21:02:31.360Z] 5d3b04190fa2: Waiting [2023-02-20T21:02:31.360Z] 2f39f015ded8: Waiting [2023-02-20T21:02:31.360Z] 5c69ac0246d0: Download complete [2023-02-20T21:02:31.360Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-20T21:02:31.360Z] 3a2ae6a8a46f: Download complete [2023-02-20T21:02:31.624Z] 33b1e0a273af: Verifying Checksum [2023-02-20T21:02:31.624Z] 33b1e0a273af: Download complete [2023-02-20T21:02:31.624Z] 5d3b04190fa2: Verifying Checksum [2023-02-20T21:02:31.624Z] 5d3b04190fa2: Download complete [2023-02-20T21:02:31.624Z] ec43610c2a17: Verifying Checksum [2023-02-20T21:02:31.624Z] ec43610c2a17: Download complete [2023-02-20T21:02:31.624Z] 5eb5b503b376: Verifying Checksum [2023-02-20T21:02:31.624Z] 5eb5b503b376: Download complete [2023-02-20T21:02:32.192Z] 2f39f015ded8: Download complete [2023-02-20T21:02:32.759Z] 5eb5b503b376: Pull complete [2023-02-20T21:02:33.018Z] 5c69ac0246d0: Pull complete [2023-02-20T21:02:33.593Z] ec43610c2a17: Pull complete [2023-02-20T21:02:33.593Z] 3a2ae6a8a46f: Pull complete [2023-02-20T21:02:33.593Z] 33b1e0a273af: Pull complete [2023-02-20T21:02:33.852Z] 5d3b04190fa2: Pull complete [2023-02-20T21:02:38.035Z] 2f39f015ded8: Pull complete [2023-02-20T21:02:38.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T21:02:38.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T21:02:38.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:02:38.238Z] prd-ubuntu20.04-docker-8c-8g-6769 does not seem to be running inside a container [2023-02-20T21:02:38.268Z] $ 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-257 -v /w/workspace/gexfoundry_device-rest-go_PR-257:/w/workspace/gexfoundry_device-rest-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-257@tmp:/w/workspace/gexfoundry_device-rest-go_PR-257@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-02-20T21:02:41.580Z] $ docker top 727c2b6e4abbdcdde6273867f8a98156fe4735143c13fb1439de91fea5b548ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:02:42.045Z] ---> job-cost.sh [2023-02-20T21:02:42.045Z] lf-activate-venv: SKIPPING [2023-02-20T21:02:42.045Z] INFO: No Stack... [2023-02-20T21:02:42.304Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T21:02:42.872Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T21:02:43.189Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-257/archives/cost.csv [2023-02-20T21:02:43.189Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T21:02:43.229Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] [2023-02-20T21:02:43.235Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] did not exist. Created. [2023-02-20T21:02:43.235Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T21:02:43.612Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T21:02:43.663Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T21:02:43.692Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T21:02:43.773Z] $ docker stop --time=1 727c2b6e4abbdcdde6273867f8a98156fe4735143c13fb1439de91fea5b548ee [2023-02-20T21:02:44.919Z] $ docker rm -f --volumes 727c2b6e4abbdcdde6273867f8a98156fe4735143c13fb1439de91fea5b548ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T21:02:53.311Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6770 in /w/workspace/gexfoundry_device-rest-go_PR-257 [Pipeline] { [Pipeline] ws [2023-02-20T21:02:53.368Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-20T21:02:53.466Z] The recommended git tool is: git [2023-02-20T21:03:05.991Z] using credential edgex-jenkins-ssh [2023-02-20T21:03:06.010Z] Cloning the remote Git repository [2023-02-20T21:03:06.061Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-20T21:03:06.188Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-20T21:03:06.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-20T21:03:06.454Z] > git --version # timeout=10 [2023-02-20T21:03:06.514Z] > git --version # 'git version 2.25.1' [2023-02-20T21:03:06.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T21:03:06.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T21:03:09.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-20T21:03:09.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T21:03:11.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-20T21:03:11.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-20T21:03:11.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T21:03:11.188Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/257/head:refs/remotes/origin/PR-257 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T21:03:11.776Z] Merging remotes/origin/main commit 70384783b5a72194fc813c647394660ae113f8ec into PR head commit f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [2023-02-20T21:03:12.012Z] Merge succeeded, producing f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [2023-02-20T21:03:12.013Z] Checking out Revision f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c (PR-257) [2023-02-20T21:03:12.562Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-20T21:03:12.625Z] > git --version # timeout=10 [2023-02-20T21:03:12.638Z] > git --version # 'git version 2.25.1' [2023-02-20T21:03:12.653Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T21:03:11.796Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T21:03:11.814Z] > git checkout -f f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c # timeout=10 [2023-02-20T21:03:11.903Z] > git remote # timeout=10 [2023-02-20T21:03:11.922Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T21:03:11.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T21:03:11.958Z] > git merge 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 [2023-02-20T21:03:11.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T21:03:12.019Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T21:03:12.036Z] > git checkout -f f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c # timeout=10 [2023-02-20T21:03:13.896Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T21:03:13.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T21:03:13.897Z] Dload Upload Total Spent Left Speed [2023-02-20T21:03:13.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-02-20T21:03:14.530Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T21:03:14.888Z] + sudo tee /etc/docker/daemon.new [2023-02-20T21:03:14.888Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T21:03:14.888Z] { [2023-02-20T21:03:14.888Z] "registry-mirrors": [ [2023-02-20T21:03:14.888Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T21:03:14.888Z] ], [2023-02-20T21:03:14.888Z] "bip": "10.250.0.254/24", [2023-02-20T21:03:14.888Z] "hosts": [ [2023-02-20T21:03:14.888Z] "tcp://0.0.0.0:5555", [2023-02-20T21:03:14.888Z] "unix:///var/run/docker.sock" [2023-02-20T21:03:14.888Z] ], [2023-02-20T21:03:14.888Z] "mtu": 1458, [2023-02-20T21:03:14.888Z] "selinux-enabled": true, [2023-02-20T21:03:14.888Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T21:03:14.888Z] } [Pipeline] sh [2023-02-20T21:03:15.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T21:03:15.610Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T21:03:34.023Z] provisioning config files... [2023-02-20T21:03:34.061Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5441550531400482470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:03:34.510Z] ---> docker-login.sh [2023-02-20T21:03:34.510Z] nexus3.edgexfoundry.org:10001 [2023-02-20T21:03:35.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:03:35.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:03:35.109Z] Configure a credential helper to remove this warning. See [2023-02-20T21:03:35.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:03:35.109Z] [2023-02-20T21:03:35.109Z] Login Succeeded [2023-02-20T21:03:35.109Z] nexus3.edgexfoundry.org:10002 [2023-02-20T21:03:35.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:03:35.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:03:35.660Z] Configure a credential helper to remove this warning. See [2023-02-20T21:03:35.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:03:35.660Z] [2023-02-20T21:03:35.660Z] Login Succeeded [2023-02-20T21:03:35.660Z] nexus3.edgexfoundry.org:10003 [2023-02-20T21:03:35.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:03:35.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:03:35.934Z] Configure a credential helper to remove this warning. See [2023-02-20T21:03:35.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:03:35.934Z] [2023-02-20T21:03:35.934Z] Login Succeeded [2023-02-20T21:03:35.934Z] nexus3.edgexfoundry.org:10004 [2023-02-20T21:03:36.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:03:36.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:03:36.485Z] Configure a credential helper to remove this warning. See [2023-02-20T21:03:36.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:03:36.485Z] [2023-02-20T21:03:36.485Z] Login Succeeded [2023-02-20T21:03:36.485Z] docker.io [2023-02-20T21:03:36.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T21:03:37.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T21:03:37.035Z] Configure a credential helper to remove this warning. See [2023-02-20T21:03:37.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T21:03:37.035Z] [2023-02-20T21:03:37.035Z] Login Succeeded [2023-02-20T21:03:37.035Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T21:03:37.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T21:03:37.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T21:03:37.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T21:03:37.631Z] ========================================================= [2023-02-20T21:03:37.631Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T21:03:37.631Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:03:38.154Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-20T21:03:38.154Z] Sending build context to Docker daemon 139.8kB [2023-02-20T21:03:38.426Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T21:03:38.426Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T21:03:38.712Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T21:03:38.712Z] 9b18e9b68314: Pulling fs layer [2023-02-20T21:03:38.712Z] 35d82f9e3411: Pulling fs layer [2023-02-20T21:03:38.712Z] e16973657156: Pulling fs layer [2023-02-20T21:03:38.712Z] fc693d55d65f: Pulling fs layer [2023-02-20T21:03:38.712Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T21:03:38.712Z] dda99020689f: Pulling fs layer [2023-02-20T21:03:38.712Z] db1c61fa0a46: Pulling fs layer [2023-02-20T21:03:38.712Z] 891c053d2c06: Pulling fs layer [2023-02-20T21:03:38.712Z] dda99020689f: Waiting [2023-02-20T21:03:38.712Z] fc693d55d65f: Waiting [2023-02-20T21:03:38.712Z] db1c61fa0a46: Waiting [2023-02-20T21:03:38.712Z] 7e9fc2657dce: Waiting [2023-02-20T21:03:38.712Z] 891c053d2c06: Waiting [2023-02-20T21:03:38.713Z] e16973657156: Download complete [2023-02-20T21:03:38.713Z] 35d82f9e3411: Download complete [2023-02-20T21:03:38.713Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T21:03:38.713Z] 7e9fc2657dce: Download complete [2023-02-20T21:03:38.713Z] dda99020689f: Verifying Checksum [2023-02-20T21:03:38.713Z] dda99020689f: Download complete [2023-02-20T21:03:38.713Z] 9b18e9b68314: Verifying Checksum [2023-02-20T21:03:38.713Z] 9b18e9b68314: Download complete [2023-02-20T21:03:39.699Z] 9b18e9b68314: Pull complete [2023-02-20T21:03:39.973Z] 891c053d2c06: Verifying Checksum [2023-02-20T21:03:39.973Z] 891c053d2c06: Download complete [2023-02-20T21:03:40.245Z] 35d82f9e3411: Pull complete [2023-02-20T21:03:40.522Z] e16973657156: Pull complete [2023-02-20T21:03:41.126Z] db1c61fa0a46: Verifying Checksum [2023-02-20T21:03:41.126Z] db1c61fa0a46: Download complete [2023-02-20T21:03:42.104Z] fc693d55d65f: Verifying Checksum [2023-02-20T21:03:42.104Z] fc693d55d65f: Download complete [2023-02-20T21:03:54.449Z] fc693d55d65f: Pull complete [2023-02-20T21:03:54.449Z] 7e9fc2657dce: Pull complete [2023-02-20T21:03:54.449Z] dda99020689f: Pull complete [2023-02-20T21:04:02.713Z] db1c61fa0a46: Pull complete [2023-02-20T21:04:03.304Z] 891c053d2c06: Pull complete [2023-02-20T21:04:03.304Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T21:04:03.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T21:04:03.572Z] ---> f96f9c87975a [2023-02-20T21:04:03.572Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T21:04:05.526Z] ---> Running in 4d886208bbb1 [2023-02-20T21:04:05.794Z] Removing intermediate container 4d886208bbb1 [2023-02-20T21:04:05.794Z] ---> 28e9c5a84b65 [2023-02-20T21:04:05.794Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T21:04:06.065Z] ---> Running in 8227de1e27db [2023-02-20T21:04:06.334Z] Removing intermediate container 8227de1e27db [2023-02-20T21:04:06.334Z] ---> 3424df253c1b [2023-02-20T21:04:06.334Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T21:04:06.334Z] ---> Running in c2cfb4513e4d [2023-02-20T21:04:06.603Z] Removing intermediate container c2cfb4513e4d [2023-02-20T21:04:06.603Z] ---> e5309396d7cc [2023-02-20T21:04:06.603Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T21:04:06.603Z] ---> Running in 1292e3fd53a5 [2023-02-20T21:04:06.874Z] Removing intermediate container 1292e3fd53a5 [2023-02-20T21:04:06.874Z] ---> 389d77e0eca9 [2023-02-20T21:04:06.874Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T21:04:06.874Z] ---> Running in 0b4cd41a536d [2023-02-20T21:04:08.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T21:04:08.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T21:04:09.525Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T21:04:09.525Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T21:04:09.525Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T21:04:09.525Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T21:04:09.525Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T21:04:09.525Z] OK: 226 MiB in 55 packages [2023-02-20T21:04:10.495Z] Removing intermediate container 0b4cd41a536d [2023-02-20T21:04:10.495Z] ---> 576e6fb96885 [2023-02-20T21:04:10.495Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-20T21:04:10.763Z] ---> Running in 2024ee7d1fe4 [2023-02-20T21:04:11.034Z] Removing intermediate container 2024ee7d1fe4 [2023-02-20T21:04:11.034Z] ---> 0a159a1c2073 [2023-02-20T21:04:11.034Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T21:04:11.629Z] ---> 57c703d39b54 [2023-02-20T21:04:11.629Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T21:04:11.629Z] ---> Running in dd9fb47306cb [2023-02-20T21:05:33.332Z] Removing intermediate container dd9fb47306cb [2023-02-20T21:05:33.332Z] ---> 73140312e9a0 [2023-02-20T21:05:33.332Z] Step 11/12 : COPY . . [2023-02-20T21:05:33.332Z] ---> 931bf1f42539 [2023-02-20T21:05:33.332Z] Step 12/12 : RUN $MAKE [2023-02-20T21:05:33.332Z] ---> Running in c26ea97cc5b2 [2023-02-20T21:05:33.332Z] noop [2023-02-20T21:05:33.332Z] Removing intermediate container c26ea97cc5b2 [2023-02-20T21:05:33.332Z] ---> 8faeac3d5bab [2023-02-20T21:05:33.332Z] Successfully built 8faeac3d5bab [2023-02-20T21:05:33.332Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:05:33.854Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T21:05:33.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:05:34.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-6770 does not seem to be running inside a container [2023-02-20T21:05:34.209Z] $ 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-02-20T21:05:35.480Z] $ docker top 3c5b3b747226c652238c836b375291e70c1069900370a98915defa5c51f3dd62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T21:05:36.362Z] + go version [2023-02-20T21:05:36.362Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T21:05:36.395Z] $ docker stop --time=1 3c5b3b747226c652238c836b375291e70c1069900370a98915defa5c51f3dd62 [2023-02-20T21:05:38.017Z] $ docker rm -f --volumes 3c5b3b747226c652238c836b375291e70c1069900370a98915defa5c51f3dd62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:05:38.859Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T21:05:38.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:05:39.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-6770 does not seem to be running inside a container [2023-02-20T21:05:39.222Z] $ 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-02-20T21:05:40.420Z] $ docker top 0590ddd52a389bea0144439503417bd4042eb42304f547a909f57d1cd23d6eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T21:05:41.302Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-20T21:05:41.787Z] + make test [2023-02-20T21:05:42.059Z] go test ./... -coverprofile=coverage.out ./... [2023-02-20T21:05:44.012Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-20T21:07:20.732Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-20T21:07:20.732Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.9% of statements [2023-02-20T21:07:20.732Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-20T21:07:20.732Z] go vet ./... [2023-02-20T21:07:39.006Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T21:07:39.006Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T21:07:39.006Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T21:07:39.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T21:07:39.076Z] $ docker stop --time=1 0590ddd52a389bea0144439503417bd4042eb42304f547a909f57d1cd23d6eb0 [2023-02-20T21:07:42.352Z] $ docker rm -f --volumes 0590ddd52a389bea0144439503417bd4042eb42304f547a909f57d1cd23d6eb0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T21:07:43.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T21:07:43.445Z] Warning: overwriting stash ‘coverage-report’ [2023-02-20T21:07:43.975Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T21:07:44.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T21:07:44.914Z] + ls -al . [2023-02-20T21:07:44.914Z] total 184 [2023-02-20T21:07:44.914Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 21:05 . [2023-02-20T21:07:44.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 21:03 .. [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 20 21:03 .dockerignore [2023-02-20T21:07:44.914Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 21:03 .git [2023-02-20T21:07:44.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:03 .github [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 20 21:03 .gitignore [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 21:03 .golangci.yml [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 20 21:03 Attribution.txt [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 20 21:03 CHANGELOG.md [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 20 21:03 Dockerfile [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 21:03 GOVERNANCE.md [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 21:03 Jenkinsfile [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 21:03 LICENSE [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 20 21:03 Makefile [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 21:03 OWNERS.md [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 20 21:03 README.md [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 21:00 VERSION [2023-02-20T21:07:44.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:03 bin [2023-02-20T21:07:44.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:03 cmd [2023-02-20T21:07:44.914Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 20 21:07 coverage.out [2023-02-20T21:07:44.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:03 driver [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 20 21:03 go.mod [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 20 21:03 go.sum [2023-02-20T21:07:44.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 21:03 snap [2023-02-20T21:07:44.914Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 20 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:07:45.340Z] + 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=f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c --label arch=arm64 --label version=0.0.0 . [2023-02-20T21:07:45.340Z] Sending build context to Docker daemon 154.1kB [2023-02-20T21:07:45.608Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T21:07:45.608Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-20T21:07:45.608Z] ---> 8faeac3d5bab [2023-02-20T21:07:45.608Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-20T21:07:45.608Z] ---> Running in fb0aadf6940e [2023-02-20T21:07:45.877Z] Removing intermediate container fb0aadf6940e [2023-02-20T21:07:45.877Z] ---> 82ce64f1fdaa [2023-02-20T21:07:45.878Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T21:07:46.146Z] ---> Running in 954cf40b481b [2023-02-20T21:07:46.416Z] Removing intermediate container 954cf40b481b [2023-02-20T21:07:46.416Z] ---> c4246819bf10 [2023-02-20T21:07:46.416Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T21:07:46.416Z] ---> Running in 5bf818553e05 [2023-02-20T21:07:46.684Z] Removing intermediate container 5bf818553e05 [2023-02-20T21:07:46.684Z] ---> 1dba5dfeed1d [2023-02-20T21:07:46.684Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T21:07:46.684Z] ---> Running in 1f1609551cfe [2023-02-20T21:07:47.271Z] Removing intermediate container 1f1609551cfe [2023-02-20T21:07:47.271Z] ---> b6865758399d [2023-02-20T21:07:47.271Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T21:07:47.271Z] ---> Running in d15c30832f6a [2023-02-20T21:07:48.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T21:07:48.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T21:07:49.480Z] OK: 226 MiB in 55 packages [2023-02-20T21:07:50.451Z] Removing intermediate container d15c30832f6a [2023-02-20T21:07:50.451Z] ---> b9af89444608 [2023-02-20T21:07:50.451Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-20T21:07:50.451Z] ---> Running in cae59661e7b7 [2023-02-20T21:07:50.720Z] Removing intermediate container cae59661e7b7 [2023-02-20T21:07:50.720Z] ---> 921e91861fcf [2023-02-20T21:07:50.720Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-20T21:07:51.304Z] ---> 3d46e38a2c6a [2023-02-20T21:07:51.304Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T21:07:51.304Z] ---> Running in 3a35bafffd8a [2023-02-20T21:07:53.898Z] Removing intermediate container 3a35bafffd8a [2023-02-20T21:07:53.898Z] ---> 20965e065a9e [2023-02-20T21:07:53.898Z] Step 11/25 : COPY . . [2023-02-20T21:07:54.491Z] ---> 31c5efaa7706 [2023-02-20T21:07:54.491Z] Step 12/25 : RUN $MAKE [2023-02-20T21:07:54.764Z] ---> Running in fc48ddff7ccd [2023-02-20T21:07:55.730Z] 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-02-20T21:10:02.437Z] Removing intermediate container fc48ddff7ccd [2023-02-20T21:10:02.437Z] ---> a0ecc1e4aca2 [2023-02-20T21:10:02.437Z] Step 13/25 : FROM alpine:3.16 [2023-02-20T21:10:02.437Z] 3.16: Pulling from library/alpine [2023-02-20T21:10:02.437Z] 3760b48202b3: Pulling fs layer [2023-02-20T21:10:02.437Z] 3760b48202b3: Verifying Checksum [2023-02-20T21:10:02.437Z] 3760b48202b3: Download complete [2023-02-20T21:10:02.437Z] 3760b48202b3: Pull complete [2023-02-20T21:10:02.437Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T21:10:02.437Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T21:10:02.437Z] ---> 4c81e5bf8899 [2023-02-20T21:10:02.437Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-20T21:10:02.437Z] ---> Running in 567dfdb9545b [2023-02-20T21:10:02.437Z] Removing intermediate container 567dfdb9545b [2023-02-20T21:10:02.437Z] ---> a21a7b76aa87 [2023-02-20T21:10:02.437Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-20T21:10:02.437Z] ---> Running in e6f312afc725 [2023-02-20T21:10:02.437Z] Removing intermediate container e6f312afc725 [2023-02-20T21:10:02.437Z] ---> 84636f7d68f6 [2023-02-20T21:10:02.437Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-20T21:10:02.437Z] ---> Running in 805f0fd76db0 [2023-02-20T21:10:02.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T21:10:02.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T21:10:03.399Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T21:10:03.399Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T21:10:03.399Z] OK: 5 MiB in 15 packages [2023-02-20T21:10:04.368Z] Removing intermediate container 805f0fd76db0 [2023-02-20T21:10:04.368Z] ---> 13f4eb798d8f [2023-02-20T21:10:04.368Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-20T21:10:05.800Z] ---> c33d075271aa [2023-02-20T21:10:05.800Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-20T21:10:06.075Z] ---> 665b20cfd987 [2023-02-20T21:10:06.075Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-20T21:10:06.657Z] ---> 13f1d67bb214 [2023-02-20T21:10:06.657Z] Step 20/25 : EXPOSE 59986 [2023-02-20T21:10:06.657Z] ---> Running in 8768bae605cd [2023-02-20T21:10:06.924Z] Removing intermediate container 8768bae605cd [2023-02-20T21:10:06.924Z] ---> 2a763d5cf107 [2023-02-20T21:10:06.924Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-20T21:10:06.924Z] ---> Running in 7886d6cf728c [2023-02-20T21:10:07.234Z] Removing intermediate container 7886d6cf728c [2023-02-20T21:10:07.235Z] ---> 59d3ef122a06 [2023-02-20T21:10:07.235Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-20T21:10:07.235Z] ---> Running in 9bb0c5e1ecbd [2023-02-20T21:10:07.531Z] Removing intermediate container 9bb0c5e1ecbd [2023-02-20T21:10:07.532Z] ---> 0d6e02175a6c [2023-02-20T21:10:07.532Z] Step 23/25 : LABEL arch=arm64 [2023-02-20T21:10:07.830Z] ---> Running in bc9fb11dc876 [2023-02-20T21:10:08.106Z] Removing intermediate container bc9fb11dc876 [2023-02-20T21:10:08.106Z] ---> 7cf815139a02 [2023-02-20T21:10:08.106Z] Step 24/25 : LABEL git_sha=f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [2023-02-20T21:10:08.106Z] ---> Running in 21f4f50b2919 [2023-02-20T21:10:08.383Z] Removing intermediate container 21f4f50b2919 [2023-02-20T21:10:08.383Z] ---> e94eae59fa72 [2023-02-20T21:10:08.383Z] Step 25/25 : LABEL version=0.0.0 [2023-02-20T21:10:08.383Z] ---> Running in 6a523b9f95da [2023-02-20T21:10:08.655Z] Removing intermediate container 6a523b9f95da [2023-02-20T21:10:08.655Z] ---> 6f5ee2a5a85c [2023-02-20T21:10:08.655Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T21:10:08.655Z] Successfully built 6f5ee2a5a85c [2023-02-20T21:10:08.655Z] 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-02-20T21:10:09.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T21:10:09.412Z] [2023-02-20T21:10:09.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:10:09.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T21:10:09.805Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T21:10:09.805Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T21:10:09.805Z] 04944245beec: Pulling fs layer [2023-02-20T21:10:09.805Z] 699f458cf7ca: Pulling fs layer [2023-02-20T21:10:09.805Z] 765212b225bb: Pulling fs layer [2023-02-20T21:10:09.805Z] f23df028b6ca: Pulling fs layer [2023-02-20T21:10:09.805Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T21:10:09.805Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T21:10:09.805Z] d65c8cfc05b1: Waiting [2023-02-20T21:10:09.805Z] 765212b225bb: Waiting [2023-02-20T21:10:09.805Z] f23df028b6ca: Waiting [2023-02-20T21:10:09.805Z] 2437ff75d9bd: Waiting [2023-02-20T21:10:10.076Z] 04944245beec: Verifying Checksum [2023-02-20T21:10:10.076Z] 04944245beec: Download complete [2023-02-20T21:10:10.076Z] 765212b225bb: Verifying Checksum [2023-02-20T21:10:10.076Z] 765212b225bb: Download complete [2023-02-20T21:10:10.076Z] f23df028b6ca: Verifying Checksum [2023-02-20T21:10:10.076Z] f23df028b6ca: Download complete [2023-02-20T21:10:10.076Z] d65c8cfc05b1: Download complete [2023-02-20T21:10:10.346Z] 699f458cf7ca: Verifying Checksum [2023-02-20T21:10:10.346Z] 699f458cf7ca: Download complete [2023-02-20T21:10:10.612Z] 8998bd30e6a1: Download complete [2023-02-20T21:10:12.559Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T21:10:12.559Z] 2437ff75d9bd: Download complete [2023-02-20T21:10:14.498Z] 8998bd30e6a1: Pull complete [2023-02-20T21:10:14.766Z] 04944245beec: Pull complete [2023-02-20T21:10:18.108Z] 699f458cf7ca: Pull complete [2023-02-20T21:10:18.108Z] 765212b225bb: Pull complete [2023-02-20T21:10:18.375Z] f23df028b6ca: Pull complete [2023-02-20T21:10:18.641Z] d65c8cfc05b1: Pull complete [2023-02-20T21:10:30.945Z] 2437ff75d9bd: Pull complete [2023-02-20T21:10:30.946Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T21:10:30.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T21:10:30.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:10:31.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-6770 does not seem to be running inside a container [2023-02-20T21:10:31.300Z] $ 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-02-20T21:10:33.861Z] $ docker top bec822d7a11c02d5562a11be7db8d8e2d9b859d11ea9ec47bdcf8ce336f9a354 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:34.743Z] ---> job-cost.sh [2023-02-20T21:10:34.743Z] lf-activate-venv: SKIPPING [2023-02-20T21:10:34.743Z] INFO: No Stack... [2023-02-20T21:10:35.334Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T21:10:36.297Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T21:10:36.963Z] + + cut -d, -f6cat [2023-02-20T21:10:36.963Z] /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-02-20T21:10:37.027Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] [2023-02-20T21:10:37.032Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] did not exist. Created. [2023-02-20T21:10:37.032Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T21:10:37.771Z] /w/workspace/device-rest-go/1@tmp/durable-b3839dca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T21:10:38.471Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T21:10:38.507Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T21:10:38.562Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T21:10:38.578Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-257-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T21:10:38.648Z] $ docker stop --time=1 bec822d7a11c02d5562a11be7db8d8e2d9b859d11ea9ec47bdcf8ce336f9a354 [2023-02-20T21:10:40.189Z] $ docker rm -f --volumes bec822d7a11c02d5562a11be7db8d8e2d9b859d11ea9ec47bdcf8ce336f9a354 [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-02-20T21:10:41.208Z] provisioning config files... [2023-02-20T21:10:41.215Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-257@tmp/config11735434120609869436tmp [Pipeline] { [Pipeline] sh [2023-02-20T21:10:41.560Z] + set +x [2023-02-20T21:10:41.560Z] + curl -s https://codecov.io/bash [2023-02-20T21:10:41.560Z] + bash -s -- [2023-02-20T21:10:41.560Z] [2023-02-20T21:10:41.560Z] _____ _ [2023-02-20T21:10:41.560Z] / ____| | | [2023-02-20T21:10:41.560Z] | | ___ __| | ___ ___ _____ __ [2023-02-20T21:10:41.560Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-20T21:10:41.560Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-20T21:10:41.560Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-20T21:10:41.560Z] Bash-1.0.6 [2023-02-20T21:10:41.560Z] [2023-02-20T21:10:41.560Z] [2023-02-20T21:10:41.560Z] ==> git version 2.25.1 found [2023-02-20T21:10:41.560Z] ==> 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-02-20T21:10:41.560Z] Release-Date: 2020-01-08 [2023-02-20T21:10:41.560Z] 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-02-20T21:10:41.560Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-20T21:10:41.560Z] ==> Jenkins CI detected. [2023-02-20T21:10:41.560Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-257 [2023-02-20T21:10:41.560Z] project root: . [2023-02-20T21:10:41.560Z] --> token set from env [2023-02-20T21:10:41.560Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-20T21:10:41.560Z] ==> Running gcov in . (disable via -X gcov) [2023-02-20T21:10:41.560Z] ==> Python coveragepy not found [2023-02-20T21:10:41.560Z] ==> Searching for coverage reports in: [2023-02-20T21:10:41.560Z] + . [2023-02-20T21:10:41.820Z] -> Found 1 reports [2023-02-20T21:10:41.820Z] ==> Detecting git/mercurial file structure [2023-02-20T21:10:41.820Z] ==> Reading reports [2023-02-20T21:10:41.820Z] + ./coverage.out bytes=13744 [2023-02-20T21:10:41.820Z] ==> Appending adjustments [2023-02-20T21:10:41.820Z] https://docs.codecov.io/docs/fixing-reports [2023-02-20T21:10:41.820Z] + Found adjustments [2023-02-20T21:10:41.820Z] ==> Gzipping contents [2023-02-20T21:10:41.820Z] 4.0K /tmp/codecov.uJSeLW.gz [2023-02-20T21:10:41.820Z] ==> Uploading reports [2023-02-20T21:10:41.820Z] url: https://codecov.io [2023-02-20T21:10:41.820Z] query: branch=PR-257&commit=f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-257%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=257&job=&cmd_args= [2023-02-20T21:10:41.820Z] -> Pinging Codecov [2023-02-20T21:10:41.820Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-257&commit=f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-257%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=257&job=&cmd_args= [2023-02-20T21:10:41.820Z] -> Uploading to [2023-02-20T21:10:41.820Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-20/4E5D53B4F1F92C436F7061BF334D961C/f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c/d17a7f3e-1638-4c46-aa18-d5d050bb0606.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T211041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7122ce7a82258e0cda0f3e76609d6f699fc5e9cb0868e504ad0610483c522f4 [2023-02-20T21:10:42.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T21:10:42.079Z] Dload Upload Total Spent Left Speed [2023-02-20T21:10:42.338Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9360 --:--:-- --:--:-- --:--:-- 9360 [2023-02-20T21:10:42.338Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f26e3fcf55049ae2a4c656d3b49aa5ce4cceff4c [Pipeline] } [2023-02-20T21:10:42.365Z] 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-02-20T21:10:44.018Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-257/archives ] [2023-02-20T21:10:44.018Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-257/archives [2023-02-20T21:10:44.018Z] total 16 [2023-02-20T21:10:44.018Z] drwxr-xr-x 3 root root 4096 Feb 20 21:02 . [2023-02-20T21:10:44.018Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 21:02 .. [2023-02-20T21:10:44.018Z] drwxr-xr-x 2 root root 4096 Feb 20 21:02 cost [2023-02-20T21:10:44.018Z] -rw-r--r-- 1 root root 86 Feb 20 21:02 cost.csv [2023-02-20T21:10:44.018Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-257/archives [2023-02-20T21:10:44.018Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-257/archives [2023-02-20T21:10:44.018Z] total 16 [2023-02-20T21:10:44.018Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 21:02 . [2023-02-20T21:10:44.018Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 21:02 .. [2023-02-20T21:10:44.018Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 21:02 cost [2023-02-20T21:10:44.018Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 20 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:44.349Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:45.237Z] ---> package-listing.sh [2023-02-20T21:10:45.237Z] ++ facter osfamily [2023-02-20T21:10:45.237Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T21:10:45.237Z] + OS_FAMILY=debian [2023-02-20T21:10:45.237Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-257 [2023-02-20T21:10:45.237Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T21:10:45.237Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T21:10:45.237Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T21:10:45.237Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T21:10:45.237Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-257 ']' [2023-02-20T21:10:45.237Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T21:10:45.237Z] + case "${OS_FAMILY}" in [2023-02-20T21:10:45.237Z] + dpkg -l [2023-02-20T21:10:45.237Z] + grep '^ii' [2023-02-20T21:10:45.496Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T21:10:45.496Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T21:10:45.496Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T21:10:45.496Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-257 ']' [2023-02-20T21:10:45.496Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-257/archives/ [2023-02-20T21:10:45.496Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-257/archives/ [Pipeline] echo [2023-02-20T21:10:45.529Z] 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-257/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T21:10:45.825Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T21:10:46.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T21:10:46.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T21:10:46.594Z] prd-ubuntu20.04-docker-8c-8g-6769 does not seem to be running inside a container [2023-02-20T21:10:46.620Z] $ 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-257/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-257 -v /w/workspace/gexfoundry_device-rest-go_PR-257:/w/workspace/gexfoundry_device-rest-go_PR-257:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-257@tmp:/w/workspace/gexfoundry_device-rest-go_PR-257@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-02-20T21:10:46.800Z] $ docker top 7af25c3cef78a4920f796bc7ca70ffc005960c3de6b3c95081cbcba65e72ec08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T21:10:47.193Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T21:10:47.507Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T21:10:47.817Z] + ls /var/log/sa-host [2023-02-20T21:10:47.817Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T21:10:48.027Z] provisioning config files... [2023-02-20T21:10:48.035Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-257@tmp/config6521503031251357088tmp [Pipeline] { [Pipeline] echo [2023-02-20T21:10:48.085Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:48.406Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T21:10:48.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:48.821Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T21:10:48.853Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:49.166Z] ---> sudo-logs.sh [2023-02-20T21:10:49.166Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T21:10:49.253Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:49.561Z] ---> job-cost.sh [2023-02-20T21:10:49.561Z] lf-activate-venv: SKIPPING [2023-02-20T21:10:49.561Z] DEBUG: total: 0.2199999988079071 [2023-02-20T21:10:49.561Z] INFO: Retrieving Stack Cost... [2023-02-20T21:10:49.822Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T21:10:50.408Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T21:10:50.444Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T21:10:50.752Z] ---> logs-deploy.sh [2023-02-20T21:10:50.752Z] lf-activate-venv: SKIPPING [2023-02-20T21:10:50.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-257/1 [2023-02-20T21:10:50.752Z] INFO: archiving workspace using pattern(s): [2023-02-20T21:10:51.686Z] Archives upload complete. [2023-02-20T21:10:51.686Z] INFO: archiving logs to Nexus