Pull request #286 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 28a8f33eed167af87626f36d0e3c7882023b7045+dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 (6c4800351ec8d0da1d79841f652313023058f79b) 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-ssh11523352858033919704.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8744192766160410054.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-286/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-286/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1021155719108388451.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-286/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1282169688272104787.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13660622072881595401.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-286/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-286/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17400878971519109834.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7029 in /w/workspace/gexfoundry_device-rest-go_PR-286 [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-286 # 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/286/head:refs/remotes/origin/PR-286 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 into PR head commit 28a8f33eed167af87626f36d0e3c7882023b7045 Merge succeeded, producing 28a8f33eed167af87626f36d0e3c7882023b7045 Checking out Revision 28a8f33eed167af87626f36d0e3c7882023b7045 (PR-286) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 28a8f33eed167af87626f36d0e3c7882023b7045 # 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 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 28a8f33eed167af87626f36d0e3c7882023b7045 # timeout=10 [Pipeline] timeout [2023-04-06T20:58:11.073Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-06T20:58:11.248Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-06T20:58:11.346Z] ========================================================= [2023-04-06T20:58:11.346Z] EdgeX Global Pipelines Version Info [2023-04-06T20:58:11.346Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-06T20:58:12.083Z] ------------------- [2023-04-06T20:58:12.083Z] stable info: [2023-04-06T20:58:12.083Z] ------------------- [2023-04-06T20:58:12.083Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-06T20:58:12.083Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T20:58:12.083Z] Message: update stable to v1.0.245 [2023-04-06T20:58:12.654Z] ------------------- [2023-04-06T20:58:12.654Z] experimental info: [2023-04-06T20:58:12.654Z] ------------------- [2023-04-06T20:58:12.654Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-06T20:58:12.654Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-06T20:58:12.654Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-06T20:58:12.933Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-06T20:58:12.972Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-06T20:58:13.012Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-06T20:58:13.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-06T20:58:13.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-06T20:58:13.142Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-06T20:58:13.180Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-06T20:58:13.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-06T20:58:13.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-06T20:58:13.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-06T20:58:13.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-06T20:58:13.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-06T20:58:13.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-06T20:58:13.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-06T20:58:13.503Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T20:58:13.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T20:58:13.581Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T20:58:13.622Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T20:58:13.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-06T20:58:13.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-06T20:58:13.743Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-06T20:58:13.792Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-06T20:58:13.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-06T20:58:13.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-06T20:58:13.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-06T20:58:13.959Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-06T20:58:13.996Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-06T20:58:14.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-286 [Pipeline] echo [2023-04-06T20:58:14.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-286 [Pipeline] echo [2023-04-06T20:58:14.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-286 [Pipeline] echo [2023-04-06T20:58:14.148Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 28a8f33eed167af87626f36d0e3c7882023b7045 [Pipeline] echo [2023-04-06T20:58:14.185Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 28a8f33 [Pipeline] echo [2023-04-06T20:58:14.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T20:58:14.333Z] provisioning config files... [2023-04-06T20:58:14.346Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-286@tmp/config418907755091559789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T20:58:14.695Z] ---> docker-login.sh [2023-04-06T20:58:14.695Z] nexus3.edgexfoundry.org:10001 [2023-04-06T20:58:14.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:14.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:14.960Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:14.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:14.960Z] [2023-04-06T20:58:14.960Z] Login Succeeded [2023-04-06T20:58:15.220Z] nexus3.edgexfoundry.org:10002 [2023-04-06T20:58:15.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:15.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:15.220Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:15.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:15.220Z] [2023-04-06T20:58:15.220Z] Login Succeeded [2023-04-06T20:58:15.220Z] nexus3.edgexfoundry.org:10003 [2023-04-06T20:58:15.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:15.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:15.220Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:15.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:15.220Z] [2023-04-06T20:58:15.220Z] Login Succeeded [2023-04-06T20:58:15.220Z] nexus3.edgexfoundry.org:10004 [2023-04-06T20:58:15.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:15.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:15.481Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:15.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:15.481Z] [2023-04-06T20:58:15.481Z] Login Succeeded [2023-04-06T20:58:15.481Z] docker.io [2023-04-06T20:58:15.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:15.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:15.746Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:15.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:15.746Z] [2023-04-06T20:58:15.746Z] Login Succeeded [2023-04-06T20:58:15.746Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T20:58:15.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-06T20:58:16.411Z] + git rev-list -1 --merges 28a8f33eed167af87626f36d0e3c7882023b7045~1..28a8f33eed167af87626f36d0e3c7882023b7045 [Pipeline] echo [2023-04-06T20:58:16.477Z] -----------> git rev-list -1 --merges 28a8f33eed167af87626f36d0e3c7882023b7045~1..28a8f33eed167af87626f36d0e3c7882023b7045 28a8f33eed167af87626f36d0e3c7882023b7045 [false] [Pipeline] sh [2023-04-06T20:58:16.791Z] + git log --format=format:%s -1 28a8f33eed167af87626f36d0e3c7882023b7045 [Pipeline] echo [2023-04-06T20:58:16.824Z] ========================================================= [2023-04-06T20:58:16.824Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T20:58:16.824Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T20:58:17.294Z] + git log --format=format:%s -1 28a8f33eed167af87626f36d0e3c7882023b7045 [Pipeline] echo [2023-04-06T20:58:17.327Z] [semverPrep] GIT_COMMIT: 28a8f33eed167af87626f36d0e3c7882023b7045, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-06T20:58:17.356Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-06T20:58:17.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-06T20:58:17.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-06T20:58:17.749Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-06T20:58:17.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-06T20:58:17.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-06T20:58:17.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-06T20:58:17.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T20:58:18.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T20:58:18.176Z] [2023-04-06T20:58:18.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T20:58:18.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T20:58:18.553Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-06T20:58:18.553Z] b85a868b505f: Pulling fs layer [2023-04-06T20:58:18.553Z] e2be974225ed: Pulling fs layer [2023-04-06T20:58:18.553Z] 339a4e72a1f5: Pulling fs layer [2023-04-06T20:58:18.553Z] 988bab9f4d93: Pulling fs layer [2023-04-06T20:58:18.553Z] 1469e6f7b9e6: Pulling fs layer [2023-04-06T20:58:18.553Z] eaf3925da568: Pulling fs layer [2023-04-06T20:58:18.553Z] bab4dde63d76: Pulling fs layer [2023-04-06T20:58:18.553Z] bde34c3a00c8: Pulling fs layer [2023-04-06T20:58:18.553Z] b352a97aabf1: Pulling fs layer [2023-04-06T20:58:18.553Z] 4872d77fe225: Pulling fs layer [2023-04-06T20:58:18.553Z] 5851b861e8e6: Pulling fs layer [2023-04-06T20:58:18.553Z] 988bab9f4d93: Waiting [2023-04-06T20:58:18.553Z] bab4dde63d76: Waiting [2023-04-06T20:58:18.553Z] bde34c3a00c8: Waiting [2023-04-06T20:58:18.553Z] b352a97aabf1: Waiting [2023-04-06T20:58:18.553Z] 1469e6f7b9e6: Waiting [2023-04-06T20:58:18.553Z] 4872d77fe225: Waiting [2023-04-06T20:58:18.553Z] eaf3925da568: Waiting [2023-04-06T20:58:18.553Z] 5851b861e8e6: Waiting [2023-04-06T20:58:18.553Z] e2be974225ed: Verifying Checksum [2023-04-06T20:58:18.553Z] e2be974225ed: Download complete [2023-04-06T20:58:18.553Z] 988bab9f4d93: Verifying Checksum [2023-04-06T20:58:18.553Z] 988bab9f4d93: Download complete [2023-04-06T20:58:18.553Z] 339a4e72a1f5: Verifying Checksum [2023-04-06T20:58:18.553Z] 339a4e72a1f5: Download complete [2023-04-06T20:58:18.553Z] 1469e6f7b9e6: Verifying Checksum [2023-04-06T20:58:18.553Z] 1469e6f7b9e6: Download complete [2023-04-06T20:58:18.813Z] eaf3925da568: Download complete [2023-04-06T20:58:18.813Z] bde34c3a00c8: Verifying Checksum [2023-04-06T20:58:18.813Z] bde34c3a00c8: Download complete [2023-04-06T20:58:18.813Z] b352a97aabf1: Download complete [2023-04-06T20:58:18.813Z] 4872d77fe225: Download complete [2023-04-06T20:58:18.813Z] 5851b861e8e6: Download complete [2023-04-06T20:58:18.813Z] b85a868b505f: Verifying Checksum [2023-04-06T20:58:18.813Z] b85a868b505f: Download complete [2023-04-06T20:58:19.072Z] bab4dde63d76: Verifying Checksum [2023-04-06T20:58:19.072Z] bab4dde63d76: Download complete [2023-04-06T20:58:20.059Z] b85a868b505f: Pull complete [2023-04-06T20:58:20.317Z] e2be974225ed: Pull complete [2023-04-06T20:58:20.884Z] 339a4e72a1f5: Pull complete [2023-04-06T20:58:20.884Z] 988bab9f4d93: Pull complete [2023-04-06T20:58:21.143Z] 1469e6f7b9e6: Pull complete [2023-04-06T20:58:21.403Z] eaf3925da568: Pull complete [2023-04-06T20:58:23.309Z] bab4dde63d76: Pull complete [2023-04-06T20:58:23.309Z] bde34c3a00c8: Pull complete [2023-04-06T20:58:23.309Z] b352a97aabf1: Pull complete [2023-04-06T20:58:23.309Z] 4872d77fe225: Pull complete [2023-04-06T20:58:23.569Z] 5851b861e8e6: Pull complete [2023-04-06T20:58:23.569Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-06T20:58:23.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T20:58:23.569Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T20:58:23.805Z] prd-ubuntu20.04-docker-8c-8g-7029 does not seem to be running inside a container [2023-04-06T20:58:23.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-286 -v /w/workspace/gexfoundry_device-rest-go_PR-286:/w/workspace/gexfoundry_device-rest-go_PR-286:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-286@tmp:/w/workspace/gexfoundry_device-rest-go_PR-286@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-04-06T20:58:25.285Z] $ docker top 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 -eo pid,comm [2023-04-06T20:58:25.358Z] 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-04-06T20:58:25.358Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-06T20:58:25.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T20:58:25.485Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T20:58:25.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T20:58:25.599Z] $ docker exec 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 ssh-agent [2023-04-06T20:58:25.721Z] SSH_AUTH_SOCK=/tmp/ssh-AuHjq6c8QR6J/agent.32 [2023-04-06T20:58:25.722Z] SSH_AGENT_PID=38 [2023-04-06T20:58:25.729Z] Running ssh-add (command line suppressed) [2023-04-06T20:58:25.830Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-286@tmp/private_key_6845004857088137521.key (/w/workspace/gexfoundry_device-rest-go_PR-286@tmp/private_key_6845004857088137521.key) [2023-04-06T20:58:25.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T20:58:26.206Z] + git tag --points-at HEAD [Pipeline] } [2023-04-06T20:58:26.221Z] $ docker exec --env ******** --env ******** 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 ssh-agent -k [2023-04-06T20:58:26.320Z] unset SSH_AUTH_SOCK; [2023-04-06T20:58:26.320Z] unset SSH_AGENT_PID; [2023-04-06T20:58:26.321Z] echo Agent pid 38 killed; [2023-04-06T20:58:26.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-06T20:58:26.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T20:58:26.430Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T20:58:26.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T20:58:26.537Z] $ docker exec 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 ssh-agent [2023-04-06T20:58:26.662Z] SSH_AUTH_SOCK=/tmp/ssh-MRXSvCry2Zy3/agent.70 [2023-04-06T20:58:26.662Z] SSH_AGENT_PID=76 [2023-04-06T20:58:26.667Z] Running ssh-add (command line suppressed) [2023-04-06T20:58:26.765Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-286@tmp/private_key_5553152181148864541.key (/w/workspace/gexfoundry_device-rest-go_PR-286@tmp/private_key_5553152181148864541.key) [2023-04-06T20:58:26.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T20:58:27.124Z] + git semver init [2023-04-06T20:58:27.383Z] 2023-04-06 20:58:27,282 [run_init] DEBUG init version:0.0.0 force:False [2023-04-06T20:58:27.383Z] 2023-04-06 20:58:27,283 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-286/.semver [2023-04-06T20:58:27.383Z] 2023-04-06 20:58:27,284 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-286/.semver [2023-04-06T20:58:27.383Z] 2023-04-06 20:58:27,284 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-286/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-286, universal_newlines=False, shell=None, istream=None) [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,190 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-286/.git/info/exclude [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-286/.semver/PR-286 with force:False [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,190 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-286/.semver/PR-286 [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,195 [execute] INFO git cat-file --batch-check [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-286/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,201 [execute] INFO git cat-file --batch [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-286/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T20:58:28.321Z] 2023-04-06 20:58:28,207 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-286/.semver/PR-286 [2023-04-06T20:58:28.321Z] 0.0.0 [Pipeline] } [2023-04-06T20:58:28.337Z] $ docker exec --env ******** --env ******** 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 ssh-agent -k [2023-04-06T20:58:28.443Z] unset SSH_AUTH_SOCK; [2023-04-06T20:58:28.443Z] unset SSH_AGENT_PID; [2023-04-06T20:58:28.443Z] echo Agent pid 76 killed; [2023-04-06T20:58:28.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-06T20:58:28.875Z] + git semver [Pipeline] } [2023-04-06T20:58:29.148Z] $ docker stop --time=1 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 [2023-04-06T20:58:30.518Z] $ docker rm -f --volumes 6be645d883c7001a3d4e58a0ff5b66489f0ce343a3f37ab273cfa7782630ea08 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T20:58:30.937Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-06T20:58:31.221Z] Stashed 1 file(s) [Pipeline] echo [2023-04-06T20:58:31.239Z] [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-04-06T20:58:31.841Z] provisioning config files... [2023-04-06T20:58:31.850Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-286@tmp/config8811315718690188965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T20:58:32.192Z] ---> docker-login.sh [2023-04-06T20:58:32.192Z] nexus3.edgexfoundry.org:10001 [2023-04-06T20:58:32.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:32.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:32.192Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:32.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:32.192Z] [2023-04-06T20:58:32.192Z] Login Succeeded [2023-04-06T20:58:32.192Z] nexus3.edgexfoundry.org:10002 [2023-04-06T20:58:32.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:32.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:32.192Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:32.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:32.192Z] [2023-04-06T20:58:32.192Z] Login Succeeded [2023-04-06T20:58:32.192Z] nexus3.edgexfoundry.org:10003 [2023-04-06T20:58:32.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:32.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:32.451Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:32.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:32.451Z] [2023-04-06T20:58:32.451Z] Login Succeeded [2023-04-06T20:58:32.451Z] nexus3.edgexfoundry.org:10004 [2023-04-06T20:58:32.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:32.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:32.451Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:32.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:32.451Z] [2023-04-06T20:58:32.451Z] Login Succeeded [2023-04-06T20:58:32.451Z] docker.io [2023-04-06T20:58:32.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T20:58:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T20:58:32.710Z] Configure a credential helper to remove this warning. See [2023-04-06T20:58:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T20:58:32.710Z] [2023-04-06T20:58:32.710Z] Login Succeeded [2023-04-06T20:58:32.710Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T20:58:32.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T20:58:32.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T20:58:32.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T20:58:33.014Z] ========================================================= [2023-04-06T20:58:33.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-06T20:58:33.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T20:58:33.482Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-06T20:58:33.482Z] Sending build context to Docker daemon 10.88MB [2023-04-06T20:58:33.482Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T20:58:33.482Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-06T20:58:33.482Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-06T20:58:33.482Z] 63b65145d645: Pulling fs layer [2023-04-06T20:58:33.482Z] a2d21d5440eb: Pulling fs layer [2023-04-06T20:58:33.482Z] 935e6c44a52c: Pulling fs layer [2023-04-06T20:58:33.482Z] 94cc34f8dd06: Pulling fs layer [2023-04-06T20:58:33.482Z] 30dea6a524f1: Pulling fs layer [2023-04-06T20:58:33.482Z] a2aff8979fd8: Pulling fs layer [2023-04-06T20:58:33.482Z] 6808be2612f2: Pulling fs layer [2023-04-06T20:58:33.482Z] f25807f1079a: Pulling fs layer [2023-04-06T20:58:33.482Z] 94cc34f8dd06: Waiting [2023-04-06T20:58:33.482Z] 30dea6a524f1: Waiting [2023-04-06T20:58:33.482Z] a2aff8979fd8: Waiting [2023-04-06T20:58:33.482Z] 6808be2612f2: Waiting [2023-04-06T20:58:33.482Z] f25807f1079a: Waiting [2023-04-06T20:58:33.482Z] a2d21d5440eb: Download complete [2023-04-06T20:58:33.482Z] 94cc34f8dd06: Verifying Checksum [2023-04-06T20:58:33.482Z] 94cc34f8dd06: Download complete [2023-04-06T20:58:33.742Z] 30dea6a524f1: Verifying Checksum [2023-04-06T20:58:33.742Z] 30dea6a524f1: Download complete [2023-04-06T20:58:33.742Z] 63b65145d645: Verifying Checksum [2023-04-06T20:58:33.742Z] 63b65145d645: Download complete [2023-04-06T20:58:33.742Z] a2aff8979fd8: Verifying Checksum [2023-04-06T20:58:33.742Z] a2aff8979fd8: Download complete [2023-04-06T20:58:33.742Z] 63b65145d645: Pull complete [2023-04-06T20:58:34.002Z] a2d21d5440eb: Pull complete [2023-04-06T20:58:34.002Z] f25807f1079a: Verifying Checksum [2023-04-06T20:58:34.002Z] f25807f1079a: Download complete [2023-04-06T20:58:34.260Z] 935e6c44a52c: Verifying Checksum [2023-04-06T20:58:34.260Z] 935e6c44a52c: Download complete [2023-04-06T20:58:34.520Z] 6808be2612f2: Verifying Checksum [2023-04-06T20:58:34.520Z] 6808be2612f2: Download complete [2023-04-06T20:58:37.810Z] 935e6c44a52c: Pull complete [2023-04-06T20:58:38.069Z] 94cc34f8dd06: Pull complete [2023-04-06T20:58:38.069Z] 30dea6a524f1: Pull complete [2023-04-06T20:58:38.327Z] a2aff8979fd8: Pull complete [2023-04-06T20:58:40.858Z] 6808be2612f2: Pull complete [2023-04-06T20:58:41.794Z] f25807f1079a: Pull complete [2023-04-06T20:58:41.794Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-06T20:58:41.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-06T20:58:41.794Z] ---> 3b553350e43f [2023-04-06T20:58:41.794Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-06T20:58:43.177Z] ---> Running in 5c5d9ffdf4b1 [2023-04-06T20:58:43.178Z] Removing intermediate container 5c5d9ffdf4b1 [2023-04-06T20:58:43.178Z] ---> 01a8c493fc1f [2023-04-06T20:58:43.178Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T20:58:43.178Z] ---> Running in 2d5ada69035a [2023-04-06T20:58:43.436Z] Removing intermediate container 2d5ada69035a [2023-04-06T20:58:43.436Z] ---> 602e9ab636a7 [2023-04-06T20:58:43.436Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T20:58:43.436Z] ---> Running in b9a744cfd701 [2023-04-06T20:58:43.436Z] Removing intermediate container b9a744cfd701 [2023-04-06T20:58:43.436Z] ---> 6c58d6c65c22 [2023-04-06T20:58:43.436Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T20:58:43.695Z] ---> Running in 78095088478a [2023-04-06T20:58:43.695Z] Removing intermediate container 78095088478a [2023-04-06T20:58:43.695Z] ---> 5c9e9d3924bb [2023-04-06T20:58:43.695Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T20:58:43.695Z] ---> Running in 4ca85d4e4974 [2023-04-06T20:58:43.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T20:58:44.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T20:58:44.472Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-06T20:58:44.472Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-06T20:58:44.472Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-06T20:58:44.472Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-06T20:58:44.472Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T20:58:44.472Z] OK: 269 MiB in 57 packages [2023-04-06T20:58:45.037Z] Removing intermediate container 4ca85d4e4974 [2023-04-06T20:58:45.037Z] ---> fd6cff3eac66 [2023-04-06T20:58:45.037Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-06T20:58:45.037Z] ---> Running in a097e69ea740 [2023-04-06T20:58:45.037Z] Removing intermediate container a097e69ea740 [2023-04-06T20:58:45.037Z] ---> 5b292d65d06c [2023-04-06T20:58:45.037Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-06T20:58:45.295Z] ---> f9397180f20d [2023-04-06T20:58:45.295Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T20:58:45.295Z] ---> Running in 3149140b3bda [2023-04-06T20:58:46.667Z] Still waiting to schedule task [2023-04-06T20:58:46.668Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-06T20:59:11.851Z] Removing intermediate container 3149140b3bda [2023-04-06T20:59:11.851Z] ---> f3718eba93ce [2023-04-06T20:59:11.851Z] Step 11/12 : COPY . . [2023-04-06T20:59:11.851Z] ---> ae4ce4cc5c1a [2023-04-06T20:59:11.851Z] Step 12/12 : RUN $MAKE [2023-04-06T20:59:11.851Z] ---> Running in d75d5534701b [2023-04-06T20:59:11.851Z] noop [2023-04-06T20:59:11.851Z] Removing intermediate container d75d5534701b [2023-04-06T20:59:11.851Z] ---> d81ab14565d1 [2023-04-06T20:59:11.851Z] Successfully built d81ab14565d1 [2023-04-06T20:59:11.851Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T20:59:12.297Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T20:59:12.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T20:59:12.443Z] prd-ubuntu20.04-docker-8c-8g-7029 does not seem to be running inside a container [2023-04-06T20:59:12.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-286 -v /w/workspace/gexfoundry_device-rest-go_PR-286:/w/workspace/gexfoundry_device-rest-go_PR-286:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-286@tmp:/w/workspace/gexfoundry_device-rest-go_PR-286@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-04-06T20:59:12.938Z] $ docker top 7ccc602e994d3bb4d0fcbdaf2a87c603440b7afb0a9a9a66118f4f3c754b8b86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T20:59:13.326Z] + go version [2023-04-06T20:59:13.326Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-06T20:59:13.365Z] $ docker stop --time=1 7ccc602e994d3bb4d0fcbdaf2a87c603440b7afb0a9a9a66118f4f3c754b8b86 [2023-04-06T20:59:14.676Z] $ docker rm -f --volumes 7ccc602e994d3bb4d0fcbdaf2a87c603440b7afb0a9a9a66118f4f3c754b8b86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T20:59:15.382Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T20:59:15.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T20:59:15.530Z] prd-ubuntu20.04-docker-8c-8g-7029 does not seem to be running inside a container [2023-04-06T20:59:15.569Z] $ 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-286 -v /w/workspace/gexfoundry_device-rest-go_PR-286:/w/workspace/gexfoundry_device-rest-go_PR-286:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-286@tmp:/w/workspace/gexfoundry_device-rest-go_PR-286@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-04-06T20:59:16.030Z] $ docker top 61723788a00b97cd8a4526acedd64efde4e7b3856bb31c8ca8f509bb91ceb70b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T20:59:16.409Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-286 [Pipeline] fileExists [Pipeline] sh [2023-04-06T20:59:16.771Z] + make test [2023-04-06T20:59:16.771Z] go test ./... -coverprofile=coverage.out ./... [2023-04-06T20:59:22.039Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-06T20:59:32.022Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-06T20:59:32.022Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.0% of statements [2023-04-06T20:59:38.580Z] go vet ./... [2023-04-06T20:59:41.869Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T20:59:41.869Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T20:59:41.869Z] ./bin/test-attribution-txt.sh [2023-04-06T20:59:41.869Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T20:59:41.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T20:59:41.989Z] $ docker stop --time=1 61723788a00b97cd8a4526acedd64efde4e7b3856bb31c8ca8f509bb91ceb70b [2023-04-06T20:59:44.105Z] $ docker rm -f --volumes 61723788a00b97cd8a4526acedd64efde4e7b3856bb31c8ca8f509bb91ceb70b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T20:59:44.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T20:59:44.700Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-06T20:59:45.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T20:59:45.655Z] + ls -al . [2023-04-06T20:59:45.656Z] total 184 [2023-04-06T20:59:45.656Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 20:59 . [2023-04-06T20:59:45.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 20:58 .. [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 6 20:58 .dockerignore [2023-04-06T20:59:45.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 20:58 .git [2023-04-06T20:59:45.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 20:58 .github [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 20:58 .gitignore [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 20:58 .golangci.yml [2023-04-06T20:59:45.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 20:58 .semver [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 6 20:58 Attribution.txt [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 6 20:58 CHANGELOG.md [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 6 20:58 Dockerfile [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 20:58 GOVERNANCE.md [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 6 20:58 Jenkinsfile [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 20:58 LICENSE [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 6 20:58 Makefile [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 20:58 OWNERS.md [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 6 20:58 README.md [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 20:58 VERSION [2023-04-06T20:59:45.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 20:58 bin [2023-04-06T20:59:45.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 20:58 cmd [2023-04-06T20:59:45.656Z] -rw-r--r-- 1 jenkins jenkins 14200 Apr 6 20:59 coverage.out [2023-04-06T20:59:45.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 20:58 driver [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 6 20:58 go.mod [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 6 20:58 go.sum [2023-04-06T20:59:45.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 20:58 snap [2023-04-06T20:59:45.656Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 6 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T20:59:46.050Z] + 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=28a8f33eed167af87626f36d0e3c7882023b7045 --label arch=amd64 --label version=0.0.0 . [2023-04-06T20:59:46.050Z] Sending build context to Docker daemon 10.89MB [2023-04-06T20:59:46.050Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T20:59:46.050Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-06T20:59:46.050Z] ---> d81ab14565d1 [2023-04-06T20:59:46.050Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-06T20:59:46.050Z] ---> Running in c924b41a8acc [2023-04-06T20:59:46.309Z] Removing intermediate container c924b41a8acc [2023-04-06T20:59:46.309Z] ---> 59412e6c6b3c [2023-04-06T20:59:46.309Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T20:59:46.309Z] ---> Running in 479a081c9aa2 [2023-04-06T20:59:46.309Z] Removing intermediate container 479a081c9aa2 [2023-04-06T20:59:46.309Z] ---> 15712ffe187b [2023-04-06T20:59:46.309Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T20:59:46.309Z] ---> Running in b35c371e1335 [2023-04-06T20:59:46.568Z] Removing intermediate container b35c371e1335 [2023-04-06T20:59:46.568Z] ---> 944cf51e6340 [2023-04-06T20:59:46.568Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T20:59:46.568Z] ---> Running in 333ba0872fb2 [2023-04-06T20:59:46.568Z] Removing intermediate container 333ba0872fb2 [2023-04-06T20:59:46.568Z] ---> ae796b1a3315 [2023-04-06T20:59:46.568Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T20:59:46.568Z] ---> Running in 34679f0d484a [2023-04-06T20:59:46.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T20:59:47.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T20:59:47.345Z] OK: 269 MiB in 57 packages [2023-04-06T20:59:47.605Z] Removing intermediate container 34679f0d484a [2023-04-06T20:59:47.605Z] ---> 20a0e7cb486e [2023-04-06T20:59:47.605Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-06T20:59:47.605Z] ---> Running in af760556da67 [2023-04-06T20:59:47.864Z] Removing intermediate container af760556da67 [2023-04-06T20:59:47.864Z] ---> 587fe4328ad9 [2023-04-06T20:59:47.864Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-06T20:59:47.864Z] ---> 92db418e8641 [2023-04-06T20:59:47.864Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T20:59:47.864Z] ---> Running in 35dfb1a8538b [2023-04-06T20:59:48.797Z] Removing intermediate container 35dfb1a8538b [2023-04-06T20:59:48.797Z] ---> ff027a856800 [2023-04-06T20:59:48.797Z] Step 11/25 : COPY . . [2023-04-06T20:59:49.056Z] ---> f0523b9f0cae [2023-04-06T20:59:49.056Z] Step 12/25 : RUN $MAKE [2023-04-06T20:59:49.056Z] ---> Running in 31e657034959 [2023-04-06T20:59:49.316Z] 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-04-06T21:00:07.401Z] Removing intermediate container 31e657034959 [2023-04-06T21:00:07.401Z] ---> 7878891da58e [2023-04-06T21:00:07.401Z] Step 13/25 : FROM alpine:3.17 [2023-04-06T21:00:08.367Z] 3.17: Pulling from library/alpine [2023-04-06T21:00:08.367Z] f56be85fc22e: Pulling fs layer [2023-04-06T21:00:08.367Z] f56be85fc22e: Verifying Checksum [2023-04-06T21:00:08.367Z] f56be85fc22e: Download complete [2023-04-06T21:00:08.632Z] f56be85fc22e: Pull complete [2023-04-06T21:00:08.633Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T21:00:08.633Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T21:00:08.633Z] ---> 9ed4aefc74f6 [2023-04-06T21:00:08.633Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-06T21:00:08.633Z] ---> Running in c22d8870c265 [2023-04-06T21:00:08.893Z] Removing intermediate container c22d8870c265 [2023-04-06T21:00:08.893Z] ---> 31a767bc5eb9 [2023-04-06T21:00:08.893Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-06T21:00:08.893Z] ---> Running in 88df50eaa716 [2023-04-06T21:00:08.893Z] Removing intermediate container 88df50eaa716 [2023-04-06T21:00:08.893Z] ---> c9cb3a7ef6bd [2023-04-06T21:00:08.893Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-06T21:00:09.154Z] ---> Running in 48bc2cd334d1 [2023-04-06T21:00:09.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T21:00:09.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T21:00:09.674Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-06T21:00:09.674Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T21:00:09.674Z] OK: 7 MiB in 16 packages [2023-04-06T21:00:10.244Z] Removing intermediate container 48bc2cd334d1 [2023-04-06T21:00:10.244Z] ---> 89971635f8b1 [2023-04-06T21:00:10.244Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-06T21:00:10.906Z] ---> 3377fae86212 [2023-04-06T21:00:10.906Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-06T21:00:10.906Z] ---> 3b1f5fc9aa34 [2023-04-06T21:00:10.906Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-06T21:00:10.906Z] ---> 06fe22e4567b [2023-04-06T21:00:10.906Z] Step 20/25 : EXPOSE 59986 [2023-04-06T21:00:10.906Z] ---> Running in e976332f59ac [2023-04-06T21:00:11.168Z] Removing intermediate container e976332f59ac [2023-04-06T21:00:11.168Z] ---> 15da25eaaee6 [2023-04-06T21:00:11.168Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-06T21:00:11.168Z] ---> Running in 3d8ecc0cfd9b [2023-04-06T21:00:11.168Z] Removing intermediate container 3d8ecc0cfd9b [2023-04-06T21:00:11.168Z] ---> cb41e1a2bf23 [2023-04-06T21:00:11.168Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-06T21:00:11.425Z] ---> Running in 84b8de1f1ffd [2023-04-06T21:00:11.425Z] Removing intermediate container 84b8de1f1ffd [2023-04-06T21:00:11.425Z] ---> ce36153c779c [2023-04-06T21:00:11.425Z] Step 23/25 : LABEL arch=amd64 [2023-04-06T21:00:11.425Z] ---> Running in e3c96bc48a7d [2023-04-06T21:00:11.425Z] Removing intermediate container e3c96bc48a7d [2023-04-06T21:00:11.425Z] ---> 553d0a84f092 [2023-04-06T21:00:11.425Z] Step 24/25 : LABEL git_sha=28a8f33eed167af87626f36d0e3c7882023b7045 [2023-04-06T21:00:11.706Z] ---> Running in 37ac3b2297d9 [2023-04-06T21:00:11.706Z] Removing intermediate container 37ac3b2297d9 [2023-04-06T21:00:11.706Z] ---> 0abf42447832 [2023-04-06T21:00:11.706Z] Step 25/25 : LABEL version=0.0.0 [2023-04-06T21:00:11.706Z] ---> Running in b6c0ee7a5589 [2023-04-06T21:00:11.966Z] Removing intermediate container b6c0ee7a5589 [2023-04-06T21:00:11.966Z] ---> e0326fb38719 [2023-04-06T21:00:11.966Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T21:00:11.966Z] Successfully built e0326fb38719 [2023-04-06T21:00:11.966Z] 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-04-06T21:00:12.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T21:00:12.873Z] [2023-04-06T21:00:12.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:00:13.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T21:00:13.255Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-06T21:00:13.255Z] 5eb5b503b376: Pulling fs layer [2023-04-06T21:00:13.255Z] 5c69ac0246d0: Pulling fs layer [2023-04-06T21:00:13.255Z] ec43610c2a17: Pulling fs layer [2023-04-06T21:00:13.255Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-06T21:00:13.255Z] 33b1e0a273af: Pulling fs layer [2023-04-06T21:00:13.255Z] 5d3b04190fa2: Pulling fs layer [2023-04-06T21:00:13.255Z] 2f39f015ded8: Pulling fs layer [2023-04-06T21:00:13.255Z] 33b1e0a273af: Waiting [2023-04-06T21:00:13.255Z] 5d3b04190fa2: Waiting [2023-04-06T21:00:13.255Z] 5c69ac0246d0: Verifying Checksum [2023-04-06T21:00:13.255Z] 5c69ac0246d0: Download complete [2023-04-06T21:00:13.255Z] 3a2ae6a8a46f: Download complete [2023-04-06T21:00:13.255Z] 33b1e0a273af: Verifying Checksum [2023-04-06T21:00:13.255Z] 33b1e0a273af: Download complete [2023-04-06T21:00:13.255Z] 5d3b04190fa2: Verifying Checksum [2023-04-06T21:00:13.255Z] 5d3b04190fa2: Download complete [2023-04-06T21:00:13.255Z] ec43610c2a17: Verifying Checksum [2023-04-06T21:00:13.255Z] ec43610c2a17: Download complete [2023-04-06T21:00:13.516Z] 5eb5b503b376: Verifying Checksum [2023-04-06T21:00:13.516Z] 5eb5b503b376: Download complete [2023-04-06T21:00:14.452Z] 2f39f015ded8: Verifying Checksum [2023-04-06T21:00:14.709Z] 5eb5b503b376: Pull complete [2023-04-06T21:00:14.709Z] 5c69ac0246d0: Pull complete [2023-04-06T21:00:15.274Z] ec43610c2a17: Pull complete [2023-04-06T21:00:15.274Z] 3a2ae6a8a46f: Pull complete [2023-04-06T21:00:15.531Z] 33b1e0a273af: Pull complete [2023-04-06T21:00:15.531Z] 5d3b04190fa2: Pull complete [2023-04-06T21:00:16.656Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7030 in /w/workspace/gexfoundry_device-rest-go_PR-286 [Pipeline] { [Pipeline] ws [2023-04-06T21:00:16.713Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-06T21:00:16.805Z] The recommended git tool is: git [2023-04-06T21:00:19.713Z] 2f39f015ded8: Pull complete [2023-04-06T21:00:19.714Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-06T21:00:19.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T21:00:19.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T21:00:19.924Z] prd-ubuntu20.04-docker-8c-8g-7029 does not seem to be running inside a container [2023-04-06T21:00:19.962Z] $ 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-286 -v /w/workspace/gexfoundry_device-rest-go_PR-286:/w/workspace/gexfoundry_device-rest-go_PR-286:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-286@tmp:/w/workspace/gexfoundry_device-rest-go_PR-286@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-04-06T21:00:21.705Z] $ docker top 7ae7a12a2b1ac0d9faaf546dead9178a4b8a20d64bfc85702b04a7276027cb14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:00:22.031Z] using credential edgex-jenkins-ssh [2023-04-06T21:00:22.045Z] Cloning the remote Git repository [2023-04-06T21:00:22.159Z] ---> job-cost.sh [2023-04-06T21:00:22.159Z] lf-activate-venv: SKIPPING [2023-04-06T21:00:22.159Z] INFO: No Stack... [2023-04-06T21:00:22.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T21:00:22.677Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T21:00:22.992Z] + cut -d, -f6 [2023-04-06T21:00:22.992Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-286/archives/cost.csv [Pipeline] lock [2023-04-06T21:00:23.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] [2023-04-06T21:00:22.080Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-06T21:00:22.186Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-06T21:00:22.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-06T21:00:22.330Z] > git --version # timeout=10 [2023-04-06T21:00:22.353Z] > git --version # 'git version 2.25.1' [2023-04-06T21:00:22.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T21:00:22.502Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T21:00:23.042Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] did not exist. Created. [2023-04-06T21:00:23.042Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T21:00:23.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-06T21:00:23.482Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T21:00:23.511Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T21:00:23.598Z] $ docker stop --time=1 7ae7a12a2b1ac0d9faaf546dead9178a4b8a20d64bfc85702b04a7276027cb14 [2023-04-06T21:00:24.779Z] $ docker rm -f --volumes 7ae7a12a2b1ac0d9faaf546dead9178a4b8a20d64bfc85702b04a7276027cb14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-06T21:00:24.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-06T21:00:24.437Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T21:00:25.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-06T21:00:25.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-06T21:00:25.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T21:00:25.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-06T21:00:25.863Z] Merging remotes/origin/main commit dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 into PR head commit 28a8f33eed167af87626f36d0e3c7882023b7045 [2023-04-06T21:00:26.145Z] Merge succeeded, producing 28a8f33eed167af87626f36d0e3c7882023b7045 [2023-04-06T21:00:26.145Z] Checking out Revision 28a8f33eed167af87626f36d0e3c7882023b7045 (PR-286) [2023-04-06T21:00:26.662Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-06T21:00:26.715Z] > git --version # timeout=10 [2023-04-06T21:00:26.727Z] > git --version # 'git version 2.25.1' [2023-04-06T21:00:26.740Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T21:00:25.873Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T21:00:25.943Z] > git checkout -f 28a8f33eed167af87626f36d0e3c7882023b7045 # timeout=10 [2023-04-06T21:00:26.024Z] > git remote # timeout=10 [2023-04-06T21:00:26.047Z] > git config --get remote.origin.url # timeout=10 [2023-04-06T21:00:26.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T21:00:26.092Z] > git merge dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 [2023-04-06T21:00:26.120Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-06T21:00:26.142Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T21:00:26.155Z] > git checkout -f 28a8f33eed167af87626f36d0e3c7882023b7045 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T21:00:27.905Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-06T21:00:27.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T21:00:27.905Z] Dload Upload Total Spent Left Speed [2023-04-06T21:00:28.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 50800 0 --:--:-- --:--:-- --:--:-- 50800 [Pipeline] sh [2023-04-06T21:00:28.804Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-06T21:00:29.157Z] + sudo tee /etc/docker/daemon.new [2023-04-06T21:00:29.157Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-06T21:00:29.157Z] { [2023-04-06T21:00:29.157Z] "registry-mirrors": [ [2023-04-06T21:00:29.157Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-06T21:00:29.157Z] ], [2023-04-06T21:00:29.157Z] "bip": "10.250.0.254/24", [2023-04-06T21:00:29.157Z] "hosts": [ [2023-04-06T21:00:29.157Z] "tcp://0.0.0.0:5555", [2023-04-06T21:00:29.157Z] "unix:///var/run/docker.sock" [2023-04-06T21:00:29.157Z] ], [2023-04-06T21:00:29.157Z] "mtu": 1458, [2023-04-06T21:00:29.157Z] "selinux-enabled": true, [2023-04-06T21:00:29.157Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-06T21:00:29.157Z] } [Pipeline] sh [2023-04-06T21:00:29.507Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-06T21:00:29.866Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T21:00:48.189Z] provisioning config files... [2023-04-06T21:00:48.216Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config14778054024391388802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:00:48.601Z] ---> docker-login.sh [2023-04-06T21:00:48.602Z] nexus3.edgexfoundry.org:10001 [2023-04-06T21:00:48.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T21:00:49.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T21:00:49.136Z] Configure a credential helper to remove this warning. See [2023-04-06T21:00:49.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T21:00:49.136Z] [2023-04-06T21:00:49.136Z] Login Succeeded [2023-04-06T21:00:49.136Z] nexus3.edgexfoundry.org:10002 [2023-04-06T21:00:49.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T21:00:49.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T21:00:49.404Z] Configure a credential helper to remove this warning. See [2023-04-06T21:00:49.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T21:00:49.404Z] [2023-04-06T21:00:49.404Z] Login Succeeded [2023-04-06T21:00:49.404Z] nexus3.edgexfoundry.org:10003 [2023-04-06T21:00:49.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T21:00:49.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T21:00:49.946Z] Configure a credential helper to remove this warning. See [2023-04-06T21:00:49.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T21:00:49.946Z] [2023-04-06T21:00:49.946Z] Login Succeeded [2023-04-06T21:00:49.946Z] nexus3.edgexfoundry.org:10004 [2023-04-06T21:00:49.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T21:00:50.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T21:00:50.213Z] Configure a credential helper to remove this warning. See [2023-04-06T21:00:50.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T21:00:50.213Z] [2023-04-06T21:00:50.213Z] Login Succeeded [2023-04-06T21:00:50.213Z] docker.io [2023-04-06T21:00:50.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T21:00:50.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T21:00:50.747Z] Configure a credential helper to remove this warning. See [2023-04-06T21:00:50.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T21:00:50.747Z] [2023-04-06T21:00:50.747Z] Login Succeeded [2023-04-06T21:00:50.748Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T21:00:50.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T21:00:51.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T21:00:51.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T21:00:51.198Z] ========================================================= [2023-04-06T21:00:51.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-06T21:00:51.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:00:51.699Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-06T21:00:51.699Z] Sending build context to Docker daemon 137.2kB [2023-04-06T21:00:51.972Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T21:00:51.972Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-06T21:00:53.930Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-06T21:00:53.930Z] af6eaf76a39c: Pulling fs layer [2023-04-06T21:00:53.930Z] 55522c791124: Pulling fs layer [2023-04-06T21:00:53.930Z] ce5c4a1c91eb: Pulling fs layer [2023-04-06T21:00:53.930Z] 169dfbe0d373: Pulling fs layer [2023-04-06T21:00:53.930Z] e1ff8fa3b103: Pulling fs layer [2023-04-06T21:00:53.930Z] 52ebb69f0ebf: Pulling fs layer [2023-04-06T21:00:53.930Z] 5abe8eddf0d5: Pulling fs layer [2023-04-06T21:00:53.930Z] e1ff8fa3b103: Waiting [2023-04-06T21:00:53.930Z] 52ebb69f0ebf: Waiting [2023-04-06T21:00:53.930Z] 169dfbe0d373: Waiting [2023-04-06T21:00:53.930Z] 5abe8eddf0d5: Waiting [2023-04-06T21:00:53.930Z] 55522c791124: Verifying Checksum [2023-04-06T21:00:53.930Z] 55522c791124: Download complete [2023-04-06T21:00:53.930Z] 169dfbe0d373: Verifying Checksum [2023-04-06T21:00:53.930Z] 169dfbe0d373: Download complete [2023-04-06T21:00:53.930Z] e1ff8fa3b103: Verifying Checksum [2023-04-06T21:00:53.930Z] e1ff8fa3b103: Download complete [2023-04-06T21:00:53.930Z] af6eaf76a39c: Download complete [2023-04-06T21:00:54.522Z] af6eaf76a39c: Pull complete [2023-04-06T21:00:54.792Z] 5abe8eddf0d5: Verifying Checksum [2023-04-06T21:00:54.792Z] 5abe8eddf0d5: Download complete [2023-04-06T21:00:55.061Z] 55522c791124: Pull complete [2023-04-06T21:00:56.043Z] 52ebb69f0ebf: Verifying Checksum [2023-04-06T21:00:56.043Z] 52ebb69f0ebf: Download complete [2023-04-06T21:00:56.043Z] ce5c4a1c91eb: Verifying Checksum [2023-04-06T21:00:56.043Z] ce5c4a1c91eb: Download complete [2023-04-06T21:01:08.510Z] ce5c4a1c91eb: Pull complete [2023-04-06T21:01:08.510Z] 169dfbe0d373: Pull complete [2023-04-06T21:01:08.510Z] e1ff8fa3b103: Pull complete [2023-04-06T21:01:15.187Z] 52ebb69f0ebf: Pull complete [2023-04-06T21:01:17.138Z] 5abe8eddf0d5: Pull complete [2023-04-06T21:01:17.138Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-06T21:01:17.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-06T21:01:17.138Z] ---> 6cb57ee374ae [2023-04-06T21:01:17.138Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-06T21:01:18.102Z] ---> Running in 9e241de04de3 [2023-04-06T21:01:18.102Z] Removing intermediate container 9e241de04de3 [2023-04-06T21:01:18.102Z] ---> 04a4e9f14a86 [2023-04-06T21:01:18.102Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T21:01:18.375Z] ---> Running in 14758ebf61fa [2023-04-06T21:01:18.643Z] Removing intermediate container 14758ebf61fa [2023-04-06T21:01:18.643Z] ---> e92bfefde939 [2023-04-06T21:01:18.643Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T21:01:18.643Z] ---> Running in 6e758ec12402 [2023-04-06T21:01:18.913Z] Removing intermediate container 6e758ec12402 [2023-04-06T21:01:18.913Z] ---> 65b931d38ac2 [2023-04-06T21:01:18.913Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T21:01:18.913Z] ---> Running in 83dd3ebc1dda [2023-04-06T21:01:19.497Z] Removing intermediate container 83dd3ebc1dda [2023-04-06T21:01:19.497Z] ---> 44a77d38c056 [2023-04-06T21:01:19.497Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T21:01:19.497Z] ---> Running in 86df15b6c393 [2023-04-06T21:01:20.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T21:01:21.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T21:01:22.005Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-06T21:01:22.005Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-06T21:01:22.005Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-06T21:01:22.273Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-06T21:01:22.273Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T21:01:22.273Z] OK: 268 MiB in 57 packages [2023-04-06T21:01:23.236Z] Removing intermediate container 86df15b6c393 [2023-04-06T21:01:23.236Z] ---> 474b37af7054 [2023-04-06T21:01:23.236Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-06T21:01:23.236Z] ---> Running in 6f134140b5d0 [2023-04-06T21:01:23.504Z] Removing intermediate container 6f134140b5d0 [2023-04-06T21:01:23.504Z] ---> 55a86a11f298 [2023-04-06T21:01:23.504Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-06T21:01:24.092Z] ---> 78904c550255 [2023-04-06T21:01:24.092Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T21:01:24.092Z] ---> Running in 49376242f5d7 [2023-04-06T21:02:31.995Z] Removing intermediate container 49376242f5d7 [2023-04-06T21:02:31.995Z] ---> beb8916de76d [2023-04-06T21:02:31.995Z] Step 11/12 : COPY . . [2023-04-06T21:02:31.995Z] ---> 0eb8ffef880a [2023-04-06T21:02:31.995Z] Step 12/12 : RUN $MAKE [2023-04-06T21:02:31.995Z] ---> Running in a7cdfac48648 [2023-04-06T21:02:31.995Z] noop [2023-04-06T21:02:31.995Z] Removing intermediate container a7cdfac48648 [2023-04-06T21:02:31.995Z] ---> 959d3398bc67 [2023-04-06T21:02:31.995Z] Successfully built 959d3398bc67 [2023-04-06T21:02:31.995Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:02:32.476Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T21:02:32.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T21:02:32.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-7030 does not seem to be running inside a container [2023-04-06T21:02:32.839Z] $ 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-04-06T21:02:34.105Z] $ docker top 7a715ca570b3f0829672857ccb1292e63c4549c0b717a1acc02550a5e27facac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T21:02:34.988Z] + go version [2023-04-06T21:02:34.988Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-06T21:02:35.029Z] $ docker stop --time=1 7a715ca570b3f0829672857ccb1292e63c4549c0b717a1acc02550a5e27facac [2023-04-06T21:02:36.680Z] $ docker rm -f --volumes 7a715ca570b3f0829672857ccb1292e63c4549c0b717a1acc02550a5e27facac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:02:37.515Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T21:02:37.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T21:02:37.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-7030 does not seem to be running inside a container [2023-04-06T21:02:37.861Z] $ 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-04-06T21:02:39.062Z] $ docker top b438f7df4fdd3f151e3cbe53cec475c3fc80d6eee69edd898fe5af65c483fe50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T21:02:39.954Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-06T21:02:40.661Z] + make test [2023-04-06T21:02:40.661Z] go test ./... -coverprofile=coverage.out ./... [2023-04-06T21:03:12.896Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-06T21:05:04.574Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-06T21:05:04.574Z] ok github.com/edgexfoundry/device-rest-go/driver 0.099s coverage: 33.0% of statements [2023-04-06T21:05:04.574Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-06T21:05:04.574Z] go vet ./... [2023-04-06T21:05:36.862Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T21:05:36.862Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T21:05:36.862Z] ./bin/test-attribution-txt.sh [2023-04-06T21:05:36.862Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T21:05:36.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T21:05:36.944Z] $ docker stop --time=1 b438f7df4fdd3f151e3cbe53cec475c3fc80d6eee69edd898fe5af65c483fe50 [2023-04-06T21:05:39.093Z] $ docker rm -f --volumes b438f7df4fdd3f151e3cbe53cec475c3fc80d6eee69edd898fe5af65c483fe50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T21:05:40.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T21:05:40.460Z] Warning: overwriting stash ‘coverage-report’ [2023-04-06T21:05:40.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T21:05:41.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T21:05:41.960Z] + ls -al . [2023-04-06T21:05:41.960Z] total 180 [2023-04-06T21:05:41.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 21:02 . [2023-04-06T21:05:41.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 21:00 .. [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 6 21:00 .dockerignore [2023-04-06T21:05:41.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 21:00 .git [2023-04-06T21:05:41.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 21:00 .github [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 21:00 .gitignore [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 21:00 .golangci.yml [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 6 21:00 Attribution.txt [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 6 21:00 CHANGELOG.md [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 6 21:00 Dockerfile [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 21:00 GOVERNANCE.md [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 6 21:00 Jenkinsfile [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 21:00 LICENSE [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 6 21:00 Makefile [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 21:00 OWNERS.md [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 6 21:00 README.md [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 20:58 VERSION [2023-04-06T21:05:41.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 21:00 bin [2023-04-06T21:05:41.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 21:00 cmd [2023-04-06T21:05:41.960Z] -rw-r--r-- 1 jenkins jenkins 14200 Apr 6 21:05 coverage.out [2023-04-06T21:05:41.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 21:00 driver [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 6 21:00 go.mod [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 6 21:00 go.sum [2023-04-06T21:05:41.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 21:00 snap [2023-04-06T21:05:41.960Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 6 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:05:42.380Z] + 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=28a8f33eed167af87626f36d0e3c7882023b7045 --label arch=arm64 --label version=0.0.0 . [2023-04-06T21:05:42.380Z] Sending build context to Docker daemon 152.1kB [2023-04-06T21:05:42.985Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T21:05:42.985Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-06T21:05:42.985Z] ---> 959d3398bc67 [2023-04-06T21:05:42.985Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-06T21:05:42.985Z] ---> Running in c338261d001d [2023-04-06T21:05:43.256Z] Removing intermediate container c338261d001d [2023-04-06T21:05:43.256Z] ---> 8fed474bfc11 [2023-04-06T21:05:43.256Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T21:05:43.527Z] ---> Running in 421de0f6d57a [2023-04-06T21:05:43.796Z] Removing intermediate container 421de0f6d57a [2023-04-06T21:05:43.796Z] ---> ac642d52fab2 [2023-04-06T21:05:43.796Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T21:05:43.796Z] ---> Running in 86dba4c116fe [2023-04-06T21:05:44.383Z] Removing intermediate container 86dba4c116fe [2023-04-06T21:05:44.383Z] ---> e2d9c95bd852 [2023-04-06T21:05:44.383Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T21:05:44.383Z] ---> Running in 075c98dd65ac [2023-04-06T21:05:44.658Z] Removing intermediate container 075c98dd65ac [2023-04-06T21:05:44.658Z] ---> 7404944f2d9b [2023-04-06T21:05:44.658Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T21:05:44.927Z] ---> Running in db447e1fd1a6 [2023-04-06T21:05:46.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T21:05:46.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T21:05:48.028Z] OK: 268 MiB in 57 packages [2023-04-06T21:05:48.613Z] Removing intermediate container db447e1fd1a6 [2023-04-06T21:05:48.613Z] ---> a5341d7bf269 [2023-04-06T21:05:48.613Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-06T21:05:48.888Z] ---> Running in 341cc470a2fa [2023-04-06T21:05:49.158Z] Removing intermediate container 341cc470a2fa [2023-04-06T21:05:49.158Z] ---> a7569c6808e6 [2023-04-06T21:05:49.158Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-06T21:05:49.429Z] ---> 0e884ef06d64 [2023-04-06T21:05:49.429Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T21:05:49.699Z] ---> Running in 19b6b2e51e22 [2023-04-06T21:05:52.284Z] Removing intermediate container 19b6b2e51e22 [2023-04-06T21:05:52.285Z] ---> 06a96e097069 [2023-04-06T21:05:52.285Z] Step 11/25 : COPY . . [2023-04-06T21:05:52.554Z] ---> 8a604c73141c [2023-04-06T21:05:52.554Z] Step 12/25 : RUN $MAKE [2023-04-06T21:05:54.501Z] ---> Running in f893b157b264 [2023-04-06T21:05:55.465Z] 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-04-06T21:08:02.120Z] Removing intermediate container f893b157b264 [2023-04-06T21:08:02.120Z] ---> 09e219267f77 [2023-04-06T21:08:02.120Z] Step 13/25 : FROM alpine:3.17 [2023-04-06T21:08:02.120Z] 3.17: Pulling from library/alpine [2023-04-06T21:08:02.120Z] c41833b44d91: Pulling fs layer [2023-04-06T21:08:02.120Z] c41833b44d91: Download complete [2023-04-06T21:08:02.120Z] c41833b44d91: Pull complete [2023-04-06T21:08:02.120Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T21:08:02.120Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T21:08:02.120Z] ---> 51e60588ff2c [2023-04-06T21:08:02.120Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-06T21:08:02.120Z] ---> Running in 147b6ab5afe1 [2023-04-06T21:08:02.120Z] Removing intermediate container 147b6ab5afe1 [2023-04-06T21:08:02.120Z] ---> c43deffb812a [2023-04-06T21:08:02.120Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-06T21:08:02.120Z] ---> Running in fe19ec801558 [2023-04-06T21:08:02.120Z] Removing intermediate container fe19ec801558 [2023-04-06T21:08:02.120Z] ---> 8b0b909d156c [2023-04-06T21:08:02.120Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-06T21:08:02.120Z] ---> Running in fb7c8015ae74 [2023-04-06T21:08:02.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T21:08:02.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T21:08:02.121Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-06T21:08:02.121Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T21:08:02.121Z] OK: 8 MiB in 16 packages [2023-04-06T21:08:02.715Z] Removing intermediate container fb7c8015ae74 [2023-04-06T21:08:02.715Z] ---> 7b659b68fd13 [2023-04-06T21:08:02.715Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-06T21:08:04.124Z] ---> ef040310e25b [2023-04-06T21:08:04.124Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-06T21:08:04.709Z] ---> 6691bc1e82db [2023-04-06T21:08:04.709Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-06T21:08:07.305Z] ---> d0f2f1f023c3 [2023-04-06T21:08:07.305Z] Step 20/25 : EXPOSE 59986 [2023-04-06T21:08:07.574Z] ---> Running in b3d51c2e7822 [2023-04-06T21:08:07.842Z] Removing intermediate container b3d51c2e7822 [2023-04-06T21:08:07.842Z] ---> 234ecdc4c810 [2023-04-06T21:08:07.842Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-06T21:08:07.842Z] ---> Running in b88f73114117 [2023-04-06T21:08:08.110Z] Removing intermediate container b88f73114117 [2023-04-06T21:08:08.110Z] ---> 74285bd34577 [2023-04-06T21:08:08.110Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-06T21:08:08.110Z] ---> Running in ecf5a8c5a307 [2023-04-06T21:08:08.376Z] Removing intermediate container ecf5a8c5a307 [2023-04-06T21:08:08.376Z] ---> 016044f7765b [2023-04-06T21:08:08.376Z] Step 23/25 : LABEL arch=arm64 [2023-04-06T21:08:08.655Z] ---> Running in 00845219bbd8 [2023-04-06T21:08:08.920Z] Removing intermediate container 00845219bbd8 [2023-04-06T21:08:08.920Z] ---> 8efc790d1a02 [2023-04-06T21:08:08.920Z] Step 24/25 : LABEL git_sha=28a8f33eed167af87626f36d0e3c7882023b7045 [2023-04-06T21:08:08.920Z] ---> Running in 847e37f722df [2023-04-06T21:08:09.188Z] Removing intermediate container 847e37f722df [2023-04-06T21:08:09.188Z] ---> c8ee349048ed [2023-04-06T21:08:09.188Z] Step 25/25 : LABEL version=0.0.0 [2023-04-06T21:08:09.188Z] ---> Running in b6bdadbd5477 [2023-04-06T21:08:09.455Z] Removing intermediate container b6bdadbd5477 [2023-04-06T21:08:09.455Z] ---> 19ec41fbcf25 [2023-04-06T21:08:09.455Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T21:08:09.455Z] Successfully built 19ec41fbcf25 [2023-04-06T21:08:09.455Z] 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-04-06T21:08:10.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T21:08:10.360Z] [2023-04-06T21:08:10.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:08:10.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T21:08:10.764Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-06T21:08:10.764Z] 8998bd30e6a1: Pulling fs layer [2023-04-06T21:08:10.764Z] 04944245beec: Pulling fs layer [2023-04-06T21:08:10.764Z] 699f458cf7ca: Pulling fs layer [2023-04-06T21:08:10.764Z] 765212b225bb: Pulling fs layer [2023-04-06T21:08:10.764Z] f23df028b6ca: Pulling fs layer [2023-04-06T21:08:10.764Z] d65c8cfc05b1: Pulling fs layer [2023-04-06T21:08:10.764Z] 2437ff75d9bd: Pulling fs layer [2023-04-06T21:08:10.764Z] f23df028b6ca: Waiting [2023-04-06T21:08:10.764Z] d65c8cfc05b1: Waiting [2023-04-06T21:08:10.764Z] 2437ff75d9bd: Waiting [2023-04-06T21:08:10.764Z] 765212b225bb: Waiting [2023-04-06T21:08:11.039Z] 04944245beec: Verifying Checksum [2023-04-06T21:08:11.039Z] 04944245beec: Download complete [2023-04-06T21:08:11.039Z] 765212b225bb: Verifying Checksum [2023-04-06T21:08:11.039Z] 765212b225bb: Download complete [2023-04-06T21:08:11.039Z] f23df028b6ca: Verifying Checksum [2023-04-06T21:08:11.039Z] f23df028b6ca: Download complete [2023-04-06T21:08:11.039Z] d65c8cfc05b1: Verifying Checksum [2023-04-06T21:08:11.039Z] d65c8cfc05b1: Download complete [2023-04-06T21:08:11.039Z] 699f458cf7ca: Verifying Checksum [2023-04-06T21:08:11.039Z] 699f458cf7ca: Download complete [2023-04-06T21:08:11.622Z] 8998bd30e6a1: Verifying Checksum [2023-04-06T21:08:11.622Z] 8998bd30e6a1: Download complete [2023-04-06T21:08:13.564Z] 2437ff75d9bd: Verifying Checksum [2023-04-06T21:08:13.564Z] 2437ff75d9bd: Download complete [2023-04-06T21:08:15.508Z] 8998bd30e6a1: Pull complete [2023-04-06T21:08:15.859Z] 04944245beec: Pull complete [2023-04-06T21:08:17.314Z] 699f458cf7ca: Pull complete [2023-04-06T21:08:17.314Z] 765212b225bb: Pull complete [2023-04-06T21:08:18.320Z] f23df028b6ca: Pull complete [2023-04-06T21:08:18.320Z] d65c8cfc05b1: Pull complete [2023-04-06T21:08:33.327Z] 2437ff75d9bd: Pull complete [2023-04-06T21:08:33.327Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-06T21:08:33.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T21:08:33.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T21:08:33.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-7030 does not seem to be running inside a container [2023-04-06T21:08:33.702Z] $ 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-04-06T21:08:36.094Z] $ docker top c0e8e8683aa6d95a0b2010d7784f6d448d5318a6780c34ec876d4844dbc5f089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:36.965Z] ---> job-cost.sh [2023-04-06T21:08:36.965Z] lf-activate-venv: SKIPPING [2023-04-06T21:08:36.965Z] INFO: No Stack... [2023-04-06T21:08:37.230Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-06T21:08:38.184Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T21:08:38.524Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-06T21:08:38.524Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T21:08:38.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] [2023-04-06T21:08:38.878Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] did not exist. Created. [2023-04-06T21:08:38.878Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T21:08:39.281Z] /w/workspace/device-rest-go/1@tmp/durable-0697f015/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-06T21:08:39.944Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-06T21:08:39.983Z] Warning: overwriting stash ‘stack-cost’ [2023-04-06T21:08:40.029Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T21:08:40.043Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-286-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T21:08:40.203Z] $ docker stop --time=1 c0e8e8683aa6d95a0b2010d7784f6d448d5318a6780c34ec876d4844dbc5f089 [2023-04-06T21:08:41.900Z] $ docker rm -f --volumes c0e8e8683aa6d95a0b2010d7784f6d448d5318a6780c34ec876d4844dbc5f089 [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-04-06T21:08:42.926Z] provisioning config files... [2023-04-06T21:08:42.932Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-286@tmp/config14031213688058294935tmp [Pipeline] { [Pipeline] sh [2023-04-06T21:08:43.273Z] + set +x [2023-04-06T21:08:43.273Z] + curl -s https://codecov.io/bash [2023-04-06T21:08:43.273Z] + bash -s -- [2023-04-06T21:08:43.273Z] [2023-04-06T21:08:43.273Z] _____ _ [2023-04-06T21:08:43.273Z] / ____| | | [2023-04-06T21:08:43.273Z] | | ___ __| | ___ ___ _____ __ [2023-04-06T21:08:43.273Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-06T21:08:43.273Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-06T21:08:43.273Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-06T21:08:43.273Z] Bash-1.0.6 [2023-04-06T21:08:43.273Z] [2023-04-06T21:08:43.273Z] [2023-04-06T21:08:43.273Z] ==> git version 2.25.1 found [2023-04-06T21:08:43.273Z] ==> 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-04-06T21:08:43.273Z] Release-Date: 2020-01-08 [2023-04-06T21:08:43.273Z] 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-04-06T21:08:43.273Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-06T21:08:43.273Z] ==> Jenkins CI detected. [2023-04-06T21:08:43.273Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-286 [2023-04-06T21:08:43.273Z] project root: . [2023-04-06T21:08:43.273Z] --> token set from env [2023-04-06T21:08:43.273Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-06T21:08:43.273Z] ==> Running gcov in . (disable via -X gcov) [2023-04-06T21:08:43.273Z] ==> Python coveragepy not found [2023-04-06T21:08:43.273Z] ==> Searching for coverage reports in: [2023-04-06T21:08:43.273Z] + . [2023-04-06T21:08:43.273Z] -> Found 1 reports [2023-04-06T21:08:43.273Z] ==> Detecting git/mercurial file structure [2023-04-06T21:08:43.273Z] ==> Reading reports [2023-04-06T21:08:43.531Z] + ./coverage.out bytes=14200 [2023-04-06T21:08:43.531Z] ==> Appending adjustments [2023-04-06T21:08:43.531Z] https://docs.codecov.io/docs/fixing-reports [2023-04-06T21:08:43.531Z] + Found adjustments [2023-04-06T21:08:43.531Z] ==> Gzipping contents [2023-04-06T21:08:43.531Z] 4.0K /tmp/codecov.3HkFmI.gz [2023-04-06T21:08:43.531Z] ==> Uploading reports [2023-04-06T21:08:43.531Z] url: https://codecov.io [2023-04-06T21:08:43.531Z] query: branch=PR-286&commit=28a8f33eed167af87626f36d0e3c7882023b7045&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-286%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=286&job=&cmd_args= [2023-04-06T21:08:43.531Z] -> Pinging Codecov [2023-04-06T21:08:43.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-286&commit=28a8f33eed167af87626f36d0e3c7882023b7045&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-286%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=286&job=&cmd_args= [2023-04-06T21:08:43.789Z] -> Uploading to [2023-04-06T21:08:43.789Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-06/4E5D53B4F1F92C436F7061BF334D961C/28a8f33eed167af87626f36d0e3c7882023b7045/800c564f-5414-419c-97c8-4d96a549e20e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230406T210843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83243af7bc756e610e0cbb5934e84aeccda2bdd5ab04d40916d95a57575f105e [2023-04-06T21:08:43.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T21:08:43.790Z] Dload Upload Total Spent Left Speed [2023-04-06T21:08:44.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 9196 --:--:-- --:--:-- --:--:-- 9196 [2023-04-06T21:08:44.049Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/28a8f33eed167af87626f36d0e3c7882023b7045 [Pipeline] } [2023-04-06T21:08:44.075Z] 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-04-06T21:08:45.747Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-286/archives ] [2023-04-06T21:08:45.747Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-286/archives [2023-04-06T21:08:45.747Z] total 16 [2023-04-06T21:08:45.747Z] drwxr-xr-x 3 root root 4096 Apr 6 21:00 . [2023-04-06T21:08:45.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 21:00 .. [2023-04-06T21:08:45.747Z] drwxr-xr-x 2 root root 4096 Apr 6 21:00 cost [2023-04-06T21:08:45.747Z] -rw-r--r-- 1 root root 86 Apr 6 21:00 cost.csv [2023-04-06T21:08:45.747Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-286/archives [2023-04-06T21:08:45.747Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-286/archives [2023-04-06T21:08:45.747Z] total 16 [2023-04-06T21:08:45.747Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 21:00 . [2023-04-06T21:08:45.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 21:00 .. [2023-04-06T21:08:45.747Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 21:00 cost [2023-04-06T21:08:45.747Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 6 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:46.077Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:46.972Z] ---> package-listing.sh [2023-04-06T21:08:46.972Z] ++ facter osfamily [2023-04-06T21:08:46.972Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-06T21:08:47.572Z] + OS_FAMILY=debian [2023-04-06T21:08:47.572Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-286 [2023-04-06T21:08:47.572Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-06T21:08:47.572Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-06T21:08:47.572Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-06T21:08:47.572Z] + PACKAGES=/tmp/packages_start.txt [2023-04-06T21:08:47.572Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-286 ']' [2023-04-06T21:08:47.572Z] + PACKAGES=/tmp/packages_end.txt [2023-04-06T21:08:47.572Z] + case "${OS_FAMILY}" in [2023-04-06T21:08:47.572Z] + dpkg -l [2023-04-06T21:08:47.572Z] + grep '^ii' [2023-04-06T21:08:47.572Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-06T21:08:47.572Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-06T21:08:47.572Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-06T21:08:47.572Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-286 ']' [2023-04-06T21:08:47.572Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-286/archives/ [2023-04-06T21:08:47.572Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-286/archives/ [Pipeline] echo [2023-04-06T21:08:47.606Z] 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-286/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-06T21:08:47.898Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T21:08:48.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T21:08:48.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T21:08:48.674Z] prd-ubuntu20.04-docker-8c-8g-7029 does not seem to be running inside a container [2023-04-06T21:08:48.725Z] $ 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-286/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-286 -v /w/workspace/gexfoundry_device-rest-go_PR-286:/w/workspace/gexfoundry_device-rest-go_PR-286:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-286@tmp:/w/workspace/gexfoundry_device-rest-go_PR-286@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-04-06T21:08:51.840Z] $ docker top ce44329a199e7fefe5d8b50b77564807c45ad4d5adae73c951da2cd8a7b64200 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T21:08:52.223Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-06T21:08:52.781Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-06T21:08:53.091Z] + ls /var/log/sa-host [2023-04-06T21:08:53.091Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T21:08:53.316Z] provisioning config files... [2023-04-06T21:08:53.325Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-286@tmp/config14426142539307079233tmp [Pipeline] { [Pipeline] echo [2023-04-06T21:08:53.371Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:53.673Z] ---> create-netrc.sh [Pipeline] } [2023-04-06T21:08:53.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:54.111Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-06T21:08:54.137Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:54.448Z] ---> sudo-logs.sh [2023-04-06T21:08:54.448Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-06T21:08:54.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:54.877Z] ---> job-cost.sh [2023-04-06T21:08:54.877Z] lf-activate-venv: SKIPPING [2023-04-06T21:08:54.877Z] DEBUG: total: 0.2199999988079071 [2023-04-06T21:08:54.877Z] INFO: Retrieving Stack Cost... [2023-04-06T21:08:55.448Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T21:08:55.707Z] INFO: Archiving Costs [Pipeline] echo [2023-04-06T21:08:55.740Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T21:08:56.053Z] ---> logs-deploy.sh [2023-04-06T21:08:56.053Z] lf-activate-venv: SKIPPING [2023-04-06T21:08:56.053Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-286/1 [2023-04-06T21:08:56.053Z] INFO: archiving workspace using pattern(s): [2023-04-06T21:08:56.990Z] Archives upload complete. [2023-04-06T21:08:56.990Z] INFO: archiving logs to Nexus