Pull request #278 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7b94505af96cbd37e2af9cfce29668414fc9f97+539913158ea56f8dca24ab775bb8172a7292d425 (5cb7856a0d78a4a4d3fc309d93ac540a8ce3b67b) 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-ssh16594668264246201937.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-ssh4267197777636250323.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-278/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-278/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7226649268113445285.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-278/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7895058878214579756.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-ssh14476359163707343882.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-278/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-278/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2232057945340906819.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5607’ Running on prd-ubuntu20.04-docker-8c-8g-5609 in /w/workspace/gexfoundry_device-rest-go_PR-278 [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-278 # 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/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit b7b94505af96cbd37e2af9cfce29668414fc9f97 Merge succeeded, producing b7b94505af96cbd37e2af9cfce29668414fc9f97 Checking out Revision b7b94505af96cbd37e2af9cfce29668414fc9f97 (PR-278) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-23T20:59:29.692Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-23T20:59:29.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b7b94505af96cbd37e2af9cfce29668414fc9f97 # 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 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7b94505af96cbd37e2af9cfce29668414fc9f97 # timeout=10 [Pipeline] echo [2023-03-23T20:59:29.980Z] ========================================================= [2023-03-23T20:59:29.980Z] EdgeX Global Pipelines Version Info [2023-03-23T20:59:29.980Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-23T20:59:30.701Z] ------------------- [2023-03-23T20:59:30.702Z] stable info: [2023-03-23T20:59:30.702Z] ------------------- [2023-03-23T20:59:30.702Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-23T20:59:30.702Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T20:59:30.702Z] Message: update stable to v1.0.245 [2023-03-23T20:59:31.270Z] ------------------- [2023-03-23T20:59:31.270Z] experimental info: [2023-03-23T20:59:31.270Z] ------------------- [2023-03-23T20:59:31.270Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-23T20:59:31.270Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-23T20:59:31.270Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-23T20:59:31.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-23T20:59:31.571Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-23T20:59:31.607Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-23T20:59:31.646Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-23T20:59:31.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-23T20:59:31.721Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-23T20:59:31.758Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-23T20:59:31.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-23T20:59:31.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-23T20:59:31.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-23T20:59:31.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-23T20:59:31.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-23T20:59:31.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-23T20:59:32.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-23T20:59:32.052Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T20:59:32.090Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T20:59:32.128Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T20:59:32.175Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T20:59:32.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-23T20:59:32.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-23T20:59:32.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-23T20:59:32.335Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-23T20:59:32.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-23T20:59:32.416Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-23T20:59:32.454Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-23T20:59:32.493Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-23T20:59:32.529Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-23T20:59:32.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-278 [Pipeline] echo [2023-03-23T20:59:32.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-278 [Pipeline] echo [2023-03-23T20:59:32.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-278 [Pipeline] echo [2023-03-23T20:59:32.686Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7b94505af96cbd37e2af9cfce29668414fc9f97 [Pipeline] echo [2023-03-23T20:59:32.722Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7b9450 [Pipeline] echo [2023-03-23T20:59:32.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T20:59:32.872Z] provisioning config files... [2023-03-23T20:59:32.886Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp/config13502577969967351089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T20:59:33.232Z] ---> docker-login.sh [2023-03-23T20:59:33.232Z] nexus3.edgexfoundry.org:10001 [2023-03-23T20:59:33.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:33.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:33.754Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:33.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:33.754Z] [2023-03-23T20:59:33.754Z] Login Succeeded [2023-03-23T20:59:33.754Z] nexus3.edgexfoundry.org:10002 [2023-03-23T20:59:33.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:33.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:33.754Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:33.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:33.754Z] [2023-03-23T20:59:33.754Z] Login Succeeded [2023-03-23T20:59:33.754Z] nexus3.edgexfoundry.org:10003 [2023-03-23T20:59:33.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:34.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:34.017Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:34.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:34.017Z] [2023-03-23T20:59:34.017Z] Login Succeeded [2023-03-23T20:59:34.017Z] nexus3.edgexfoundry.org:10004 [2023-03-23T20:59:34.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:34.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:34.017Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:34.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:34.017Z] [2023-03-23T20:59:34.017Z] Login Succeeded [2023-03-23T20:59:34.017Z] docker.io [2023-03-23T20:59:34.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:34.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:34.278Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:34.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:34.278Z] [2023-03-23T20:59:34.278Z] Login Succeeded [2023-03-23T20:59:34.278Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T20:59:34.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-23T20:59:34.928Z] + git rev-list -1 --merges b7b94505af96cbd37e2af9cfce29668414fc9f97~1..b7b94505af96cbd37e2af9cfce29668414fc9f97 [Pipeline] echo [2023-03-23T20:59:34.991Z] -----------> git rev-list -1 --merges b7b94505af96cbd37e2af9cfce29668414fc9f97~1..b7b94505af96cbd37e2af9cfce29668414fc9f97 b7b94505af96cbd37e2af9cfce29668414fc9f97 [false] [Pipeline] sh [2023-03-23T20:59:35.296Z] + git log --format=format:%s -1 b7b94505af96cbd37e2af9cfce29668414fc9f97 [Pipeline] echo [2023-03-23T20:59:35.335Z] ========================================================= [2023-03-23T20:59:35.335Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-23T20:59:35.335Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T20:59:35.769Z] + git log --format=format:%s -1 b7b94505af96cbd37e2af9cfce29668414fc9f97 [Pipeline] echo [2023-03-23T20:59:35.800Z] [semverPrep] GIT_COMMIT: b7b94505af96cbd37e2af9cfce29668414fc9f97, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-23T20:59:35.828Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-23T20:59:36.216Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-23T20:59:36.216Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-23T20:59:36.216Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-23T20:59:36.216Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-23T20:59:36.216Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-23T20:59:36.216Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-23T20:59:36.216Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T20:59:36.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T20:59:36.698Z] [2023-03-23T20:59:36.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T20:59:37.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T20:59:37.070Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-23T20:59:37.070Z] b85a868b505f: Pulling fs layer [2023-03-23T20:59:37.070Z] e2be974225ed: Pulling fs layer [2023-03-23T20:59:37.070Z] 339a4e72a1f5: Pulling fs layer [2023-03-23T20:59:37.070Z] 988bab9f4d93: Pulling fs layer [2023-03-23T20:59:37.070Z] 1469e6f7b9e6: Pulling fs layer [2023-03-23T20:59:37.070Z] eaf3925da568: Pulling fs layer [2023-03-23T20:59:37.070Z] bab4dde63d76: Pulling fs layer [2023-03-23T20:59:37.070Z] bde34c3a00c8: Pulling fs layer [2023-03-23T20:59:37.070Z] b352a97aabf1: Pulling fs layer [2023-03-23T20:59:37.070Z] 4872d77fe225: Pulling fs layer [2023-03-23T20:59:37.070Z] 5851b861e8e6: Pulling fs layer [2023-03-23T20:59:37.070Z] 1469e6f7b9e6: Waiting [2023-03-23T20:59:37.070Z] bde34c3a00c8: Waiting [2023-03-23T20:59:37.070Z] eaf3925da568: Waiting [2023-03-23T20:59:37.070Z] bab4dde63d76: Waiting [2023-03-23T20:59:37.070Z] b352a97aabf1: Waiting [2023-03-23T20:59:37.070Z] 4872d77fe225: Waiting [2023-03-23T20:59:37.070Z] 5851b861e8e6: Waiting [2023-03-23T20:59:37.070Z] 988bab9f4d93: Waiting [2023-03-23T20:59:37.070Z] e2be974225ed: Download complete [2023-03-23T20:59:37.070Z] 988bab9f4d93: Download complete [2023-03-23T20:59:37.337Z] 1469e6f7b9e6: Verifying Checksum [2023-03-23T20:59:37.337Z] 1469e6f7b9e6: Download complete [2023-03-23T20:59:37.337Z] 339a4e72a1f5: Verifying Checksum [2023-03-23T20:59:37.337Z] 339a4e72a1f5: Download complete [2023-03-23T20:59:37.337Z] eaf3925da568: Download complete [2023-03-23T20:59:37.337Z] bde34c3a00c8: Verifying Checksum [2023-03-23T20:59:37.337Z] bde34c3a00c8: Download complete [2023-03-23T20:59:37.337Z] b352a97aabf1: Verifying Checksum [2023-03-23T20:59:37.337Z] b352a97aabf1: Download complete [2023-03-23T20:59:37.337Z] 4872d77fe225: Verifying Checksum [2023-03-23T20:59:37.337Z] 4872d77fe225: Download complete [2023-03-23T20:59:37.337Z] 5851b861e8e6: Download complete [2023-03-23T20:59:37.337Z] b85a868b505f: Verifying Checksum [2023-03-23T20:59:37.337Z] b85a868b505f: Download complete [2023-03-23T20:59:37.596Z] bab4dde63d76: Verifying Checksum [2023-03-23T20:59:37.596Z] bab4dde63d76: Download complete [2023-03-23T20:59:38.532Z] b85a868b505f: Pull complete [2023-03-23T20:59:38.532Z] e2be974225ed: Pull complete [2023-03-23T20:59:39.100Z] 339a4e72a1f5: Pull complete [2023-03-23T20:59:39.100Z] 988bab9f4d93: Pull complete [2023-03-23T20:59:39.361Z] 1469e6f7b9e6: Pull complete [2023-03-23T20:59:39.361Z] eaf3925da568: Pull complete [2023-03-23T20:59:41.261Z] bab4dde63d76: Pull complete [2023-03-23T20:59:41.261Z] bde34c3a00c8: Pull complete [2023-03-23T20:59:41.261Z] b352a97aabf1: Pull complete [2023-03-23T20:59:41.261Z] 4872d77fe225: Pull complete [2023-03-23T20:59:41.520Z] 5851b861e8e6: Pull complete [2023-03-23T20:59:41.520Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-23T20:59:41.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T20:59:41.520Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T20:59:41.743Z] prd-ubuntu20.04-docker-8c-8g-5609 does not seem to be running inside a container [2023-03-23T20:59:41.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-278 -v /w/workspace/gexfoundry_device-rest-go_PR-278:/w/workspace/gexfoundry_device-rest-go_PR-278:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-278@tmp:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-23T20:59:43.341Z] $ docker top cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 -eo pid,comm [2023-03-23T20:59:43.399Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-23T20:59:43.399Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-23T20:59:43.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T20:59:43.524Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T20:59:43.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T20:59:43.630Z] $ docker exec cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 ssh-agent [2023-03-23T20:59:43.742Z] SSH_AUTH_SOCK=/tmp/ssh-Efkg5ydHRfQy/agent.32 [2023-03-23T20:59:43.742Z] SSH_AGENT_PID=38 [2023-03-23T20:59:43.748Z] Running ssh-add (command line suppressed) [2023-03-23T20:59:43.848Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-278@tmp/private_key_16473671738571816874.key (/w/workspace/gexfoundry_device-rest-go_PR-278@tmp/private_key_16473671738571816874.key) [2023-03-23T20:59:43.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T20:59:44.188Z] + git tag --points-at HEAD [Pipeline] } [2023-03-23T20:59:44.213Z] $ docker exec --env ******** --env ******** cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 ssh-agent -k [2023-03-23T20:59:44.302Z] unset SSH_AUTH_SOCK; [2023-03-23T20:59:44.302Z] unset SSH_AGENT_PID; [2023-03-23T20:59:44.302Z] echo Agent pid 38 killed; [2023-03-23T20:59:44.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-23T20:59:44.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T20:59:44.407Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T20:59:44.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T20:59:44.521Z] $ docker exec cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 ssh-agent [2023-03-23T20:59:44.624Z] SSH_AUTH_SOCK=/tmp/ssh-1wdocASTDsOQ/agent.69 [2023-03-23T20:59:44.624Z] SSH_AGENT_PID=75 [2023-03-23T20:59:44.629Z] Running ssh-add (command line suppressed) [2023-03-23T20:59:44.727Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-278@tmp/private_key_6690656622327568848.key (/w/workspace/gexfoundry_device-rest-go_PR-278@tmp/private_key_6690656622327568848.key) [2023-03-23T20:59:44.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T20:59:45.065Z] + git semver init [2023-03-23T20:59:45.329Z] 2023-03-23 20:59:45,243 [run_init] DEBUG init version:0.0.0 force:False [2023-03-23T20:59:45.329Z] 2023-03-23 20:59:45,244 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-278/.semver [2023-03-23T20:59:45.329Z] 2023-03-23 20:59:45,245 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-278/.semver [2023-03-23T20:59:45.329Z] 2023-03-23 20:59:45,245 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-278/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-278, universal_newlines=False, shell=None, istream=None) [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,181 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-278/.git/info/exclude [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-278/.semver/PR-278 with force:False [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,182 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-278/.semver/PR-278 [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,186 [execute] INFO git cat-file --batch-check [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-278/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,190 [execute] INFO git cat-file --batch [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-278/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T20:59:46.267Z] 2023-03-23 20:59:46,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-278/.semver/PR-278 [2023-03-23T20:59:46.267Z] 0.0.0 [Pipeline] } [2023-03-23T20:59:46.296Z] $ docker exec --env ******** --env ******** cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 ssh-agent -k [2023-03-23T20:59:46.390Z] unset SSH_AUTH_SOCK; [2023-03-23T20:59:46.390Z] unset SSH_AGENT_PID; [2023-03-23T20:59:46.391Z] echo Agent pid 75 killed; [2023-03-23T20:59:46.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-23T20:59:46.826Z] + git semver [Pipeline] } [2023-03-23T20:59:47.107Z] $ docker stop --time=1 cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 [2023-03-23T20:59:48.431Z] $ docker rm -f --volumes cf78ab1426ffd516b6e483674efcb5f5aa78337f8f4db4a1ee20781d9e9e2e38 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T20:59:48.828Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-23T20:59:49.102Z] Stashed 1 file(s) [Pipeline] echo [2023-03-23T20:59:49.121Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T20:59:49.682Z] provisioning config files... [2023-03-23T20:59:49.692Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp/config4976051617020523673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T20:59:50.027Z] ---> docker-login.sh [2023-03-23T20:59:50.027Z] nexus3.edgexfoundry.org:10001 [2023-03-23T20:59:50.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:50.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:50.027Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:50.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:50.027Z] [2023-03-23T20:59:50.027Z] Login Succeeded [2023-03-23T20:59:50.027Z] nexus3.edgexfoundry.org:10002 [2023-03-23T20:59:50.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:50.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:50.027Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:50.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:50.027Z] [2023-03-23T20:59:50.027Z] Login Succeeded [2023-03-23T20:59:50.027Z] nexus3.edgexfoundry.org:10003 [2023-03-23T20:59:50.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:50.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:50.287Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:50.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:50.287Z] [2023-03-23T20:59:50.287Z] Login Succeeded [2023-03-23T20:59:50.287Z] nexus3.edgexfoundry.org:10004 [2023-03-23T20:59:50.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:50.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:50.287Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:50.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:50.287Z] [2023-03-23T20:59:50.287Z] Login Succeeded [2023-03-23T20:59:50.287Z] docker.io [2023-03-23T20:59:50.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T20:59:50.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T20:59:50.546Z] Configure a credential helper to remove this warning. See [2023-03-23T20:59:50.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T20:59:50.546Z] [2023-03-23T20:59:50.546Z] Login Succeeded [2023-03-23T20:59:50.546Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T20:59:50.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T20:59:50.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T20:59:50.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T20:59:50.801Z] ========================================================= [2023-03-23T20:59:50.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-23T20:59:50.801Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T20:59:51.259Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T20:59:51.259Z] Sending build context to Docker daemon 10.87MB [2023-03-23T20:59:51.259Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T20:59:51.259Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-23T20:59:51.259Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-23T20:59:51.259Z] 63b65145d645: Pulling fs layer [2023-03-23T20:59:51.259Z] a2d21d5440eb: Pulling fs layer [2023-03-23T20:59:51.259Z] 935e6c44a52c: Pulling fs layer [2023-03-23T20:59:51.259Z] 94cc34f8dd06: Pulling fs layer [2023-03-23T20:59:51.259Z] 30dea6a524f1: Pulling fs layer [2023-03-23T20:59:51.259Z] a2aff8979fd8: Pulling fs layer [2023-03-23T20:59:51.260Z] 6808be2612f2: Pulling fs layer [2023-03-23T20:59:51.260Z] f25807f1079a: Pulling fs layer [2023-03-23T20:59:51.260Z] 94cc34f8dd06: Waiting [2023-03-23T20:59:51.260Z] 30dea6a524f1: Waiting [2023-03-23T20:59:51.260Z] a2aff8979fd8: Waiting [2023-03-23T20:59:51.260Z] 6808be2612f2: Waiting [2023-03-23T20:59:51.260Z] f25807f1079a: Waiting [2023-03-23T20:59:51.260Z] a2d21d5440eb: Download complete [2023-03-23T20:59:51.522Z] 94cc34f8dd06: Verifying Checksum [2023-03-23T20:59:51.522Z] 94cc34f8dd06: Download complete [2023-03-23T20:59:51.522Z] 30dea6a524f1: Verifying Checksum [2023-03-23T20:59:51.522Z] 30dea6a524f1: Download complete [2023-03-23T20:59:51.522Z] 63b65145d645: Verifying Checksum [2023-03-23T20:59:51.522Z] 63b65145d645: Download complete [2023-03-23T20:59:51.522Z] a2aff8979fd8: Verifying Checksum [2023-03-23T20:59:51.522Z] a2aff8979fd8: Download complete [2023-03-23T20:59:51.522Z] 63b65145d645: Pull complete [2023-03-23T20:59:51.784Z] a2d21d5440eb: Pull complete [2023-03-23T20:59:52.044Z] f25807f1079a: Verifying Checksum [2023-03-23T20:59:52.044Z] f25807f1079a: Download complete [2023-03-23T20:59:52.312Z] 935e6c44a52c: Verifying Checksum [2023-03-23T20:59:52.312Z] 935e6c44a52c: Download complete [2023-03-23T20:59:52.312Z] 6808be2612f2: Verifying Checksum [2023-03-23T20:59:52.312Z] 6808be2612f2: Download complete [2023-03-23T20:59:55.595Z] 935e6c44a52c: Pull complete [2023-03-23T20:59:55.595Z] 94cc34f8dd06: Pull complete [2023-03-23T20:59:55.595Z] 30dea6a524f1: Pull complete [2023-03-23T20:59:55.595Z] a2aff8979fd8: Pull complete [2023-03-23T20:59:57.498Z] 6808be2612f2: Pull complete [2023-03-23T20:59:58.433Z] f25807f1079a: Pull complete [2023-03-23T20:59:58.433Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-23T20:59:58.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-23T20:59:58.433Z] ---> 3b553350e43f [2023-03-23T20:59:58.433Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-23T21:00:00.339Z] ---> Running in 4524a197fec1 [2023-03-23T21:00:00.339Z] Removing intermediate container 4524a197fec1 [2023-03-23T21:00:00.339Z] ---> 7a0f28d103fd [2023-03-23T21:00:00.339Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T21:00:00.339Z] ---> Running in 38611287f6ba [2023-03-23T21:00:00.599Z] Removing intermediate container 38611287f6ba [2023-03-23T21:00:00.599Z] ---> 786f87c86dd8 [2023-03-23T21:00:00.599Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-23T21:00:00.599Z] ---> Running in 55693430b588 [2023-03-23T21:00:00.599Z] Removing intermediate container 55693430b588 [2023-03-23T21:00:00.599Z] ---> 1ddfcfd4cf64 [2023-03-23T21:00:00.599Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T21:00:00.599Z] ---> Running in 3043b16059f1 [2023-03-23T21:00:00.859Z] Removing intermediate container 3043b16059f1 [2023-03-23T21:00:00.859Z] ---> 76049787d63c [2023-03-23T21:00:00.859Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T21:00:00.859Z] ---> Running in 7dc491591c15 [2023-03-23T21:00:01.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T21:00:01.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T21:00:01.381Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-23T21:00:01.381Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-23T21:00:01.381Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-23T21:00:01.381Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-23T21:00:01.381Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T21:00:01.381Z] OK: 269 MiB in 57 packages [2023-03-23T21:00:01.954Z] Removing intermediate container 7dc491591c15 [2023-03-23T21:00:01.954Z] ---> 3f8b01953a2b [2023-03-23T21:00:01.954Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-23T21:00:01.954Z] ---> Running in 7a71fe8c4306 [2023-03-23T21:00:01.954Z] Removing intermediate container 7a71fe8c4306 [2023-03-23T21:00:01.954Z] ---> b9741e719726 [2023-03-23T21:00:01.954Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-23T21:00:02.214Z] ---> ab403914fbab [2023-03-23T21:00:02.214Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T21:00:02.214Z] ---> Running in 5f72d2a2ba60 [2023-03-23T21:00:04.506Z] Still waiting to schedule task [2023-03-23T21:00:04.507Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5608’ [2023-03-23T21:00:24.146Z] Removing intermediate container 5f72d2a2ba60 [2023-03-23T21:00:24.146Z] ---> a7894b74a956 [2023-03-23T21:00:24.146Z] Step 11/12 : COPY . . [2023-03-23T21:00:24.146Z] ---> 7265c478e8ab [2023-03-23T21:00:24.146Z] Step 12/12 : RUN $MAKE [2023-03-23T21:00:24.146Z] ---> Running in 823ee3195bfe [2023-03-23T21:00:24.146Z] noop [2023-03-23T21:00:24.715Z] Removing intermediate container 823ee3195bfe [2023-03-23T21:00:24.715Z] ---> b032707f1015 [2023-03-23T21:00:24.715Z] Successfully built b032707f1015 [2023-03-23T21:00:24.715Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:00:25.152Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T21:00:25.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:00:25.302Z] prd-ubuntu20.04-docker-8c-8g-5609 does not seem to be running inside a container [2023-03-23T21:00:25.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-278 -v /w/workspace/gexfoundry_device-rest-go_PR-278:/w/workspace/gexfoundry_device-rest-go_PR-278:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-278@tmp:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T21:00:25.700Z] $ docker top 6f78e25ddc16e0bcef4d6e5ac15e58e294f6f969cea36e9df1e832dcf05609d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:00:26.107Z] + go version [2023-03-23T21:00:26.107Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-23T21:00:26.141Z] $ docker stop --time=1 6f78e25ddc16e0bcef4d6e5ac15e58e294f6f969cea36e9df1e832dcf05609d9 [2023-03-23T21:00:27.469Z] $ docker rm -f --volumes 6f78e25ddc16e0bcef4d6e5ac15e58e294f6f969cea36e9df1e832dcf05609d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:00:28.201Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T21:00:28.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:00:28.351Z] prd-ubuntu20.04-docker-8c-8g-5609 does not seem to be running inside a container [2023-03-23T21:00:28.382Z] $ 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-278 -v /w/workspace/gexfoundry_device-rest-go_PR-278:/w/workspace/gexfoundry_device-rest-go_PR-278:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-278@tmp:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T21:00:28.715Z] $ docker top e7a91086960b512dd968eaa013fbeaed440f9844a3ba0065b0291797b1a76d06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:00:29.106Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-278 [Pipeline] fileExists [Pipeline] sh [2023-03-23T21:00:29.467Z] + make test [2023-03-23T21:00:29.467Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T21:00:34.732Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-23T21:00:44.690Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-23T21:00:44.690Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.0% of statements [2023-03-23T21:00:48.870Z] go vet ./... [2023-03-23T21:00:52.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-23T21:00:52.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-23T21:00:52.149Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-23T21:00:52.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-23T21:00:52.224Z] $ docker stop --time=1 e7a91086960b512dd968eaa013fbeaed440f9844a3ba0065b0291797b1a76d06 [2023-03-23T21:00:54.407Z] $ docker rm -f --volumes e7a91086960b512dd968eaa013fbeaed440f9844a3ba0065b0291797b1a76d06 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T21:00:54.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-23T21:00:54.981Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-23T21:00:55.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-23T21:00:55.927Z] + ls -al . [2023-03-23T21:00:55.927Z] total 184 [2023-03-23T21:00:55.927Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 21:00 . [2023-03-23T21:00:55.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 20:59 .. [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 23 20:59 .dockerignore [2023-03-23T21:00:55.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 20:59 .git [2023-03-23T21:00:55.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 20:59 .github [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 23 20:59 .gitignore [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 20:59 .golangci.yml [2023-03-23T21:00:55.927Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 20:59 .semver [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 23 20:59 Attribution.txt [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 23 20:59 CHANGELOG.md [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 23 20:59 Dockerfile [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 20:59 GOVERNANCE.md [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 23 20:59 Jenkinsfile [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 20:59 LICENSE [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 23 20:59 Makefile [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 23 20:59 OWNERS.md [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 23 20:59 README.md [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 20:59 VERSION [2023-03-23T21:00:55.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 20:59 bin [2023-03-23T21:00:55.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 20:59 cmd [2023-03-23T21:00:55.927Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 23 21:00 coverage.out [2023-03-23T21:00:55.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 20:59 driver [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 23 20:59 go.mod [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 23 20:59 go.sum [2023-03-23T21:00:55.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 20:59 snap [2023-03-23T21:00:55.927Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 23 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:00:56.396Z] + 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=b7b94505af96cbd37e2af9cfce29668414fc9f97 --label arch=amd64 --label version=0.0.0 . [2023-03-23T21:00:56.397Z] Sending build context to Docker daemon 10.88MB [2023-03-23T21:00:56.397Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T21:00:56.397Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-23T21:00:56.397Z] ---> b032707f1015 [2023-03-23T21:00:56.397Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-23T21:00:56.397Z] ---> Running in 7c82d59f2505 [2023-03-23T21:00:56.681Z] Removing intermediate container 7c82d59f2505 [2023-03-23T21:00:56.681Z] ---> dfa4aa867943 [2023-03-23T21:00:56.681Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T21:00:56.681Z] ---> Running in 842e2653b7aa [2023-03-23T21:00:56.681Z] Removing intermediate container 842e2653b7aa [2023-03-23T21:00:56.681Z] ---> d729657b8556 [2023-03-23T21:00:56.681Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-23T21:00:56.681Z] ---> Running in cc7245757da5 [2023-03-23T21:00:56.681Z] Removing intermediate container cc7245757da5 [2023-03-23T21:00:56.681Z] ---> d856dc7f0b5b [2023-03-23T21:00:56.681Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T21:00:56.962Z] ---> Running in 572baec0bee4 [2023-03-23T21:00:56.962Z] Removing intermediate container 572baec0bee4 [2023-03-23T21:00:56.962Z] ---> 5f47d36e76dd [2023-03-23T21:00:56.962Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T21:00:56.962Z] ---> Running in b50e965cc42a [2023-03-23T21:00:57.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T21:00:57.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T21:00:57.498Z] OK: 269 MiB in 57 packages [2023-03-23T21:00:57.757Z] Removing intermediate container b50e965cc42a [2023-03-23T21:00:57.757Z] ---> d7a78f21babc [2023-03-23T21:00:57.757Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-23T21:00:58.017Z] ---> Running in 6e2e9a73ed7b [2023-03-23T21:00:58.017Z] Removing intermediate container 6e2e9a73ed7b [2023-03-23T21:00:58.017Z] ---> 430209d56e40 [2023-03-23T21:00:58.017Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-23T21:00:58.017Z] ---> 9984d41adcee [2023-03-23T21:00:58.017Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T21:00:58.279Z] ---> Running in 5e31d1b7d6cf [2023-03-23T21:00:59.215Z] Removing intermediate container 5e31d1b7d6cf [2023-03-23T21:00:59.215Z] ---> 2de3c6f93cd5 [2023-03-23T21:00:59.215Z] Step 11/25 : COPY . . [2023-03-23T21:00:59.476Z] ---> e19e987a01dc [2023-03-23T21:00:59.476Z] Step 12/25 : RUN $MAKE [2023-03-23T21:00:59.476Z] ---> Running in 22285f13f77d [2023-03-23T21:00:59.734Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-23T21:01:17.807Z] Removing intermediate container 22285f13f77d [2023-03-23T21:01:17.807Z] ---> bf72afbbd7b6 [2023-03-23T21:01:17.807Z] Step 13/25 : FROM alpine:3.17 [2023-03-23T21:01:17.807Z] 3.17: Pulling from library/alpine [2023-03-23T21:01:17.807Z] 63b65145d645: Already exists [2023-03-23T21:01:17.807Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-23T21:01:17.807Z] Status: Downloaded newer image for alpine:3.17 [2023-03-23T21:01:17.807Z] ---> b2aa39c304c2 [2023-03-23T21:01:17.807Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-23T21:01:17.807Z] ---> Running in a5254e7efeb5 [2023-03-23T21:01:17.807Z] Removing intermediate container a5254e7efeb5 [2023-03-23T21:01:17.807Z] ---> f15f7b4e159b [2023-03-23T21:01:17.807Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-23T21:01:17.807Z] ---> Running in 1b25a4d24d9e [2023-03-23T21:01:17.807Z] Removing intermediate container 1b25a4d24d9e [2023-03-23T21:01:17.807Z] ---> 05da8aca480c [2023-03-23T21:01:17.807Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-23T21:01:17.807Z] ---> Running in 331c52c2402b [2023-03-23T21:01:17.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T21:01:17.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T21:01:17.807Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-23T21:01:17.807Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T21:01:17.807Z] OK: 7 MiB in 16 packages [2023-03-23T21:01:17.807Z] Removing intermediate container 331c52c2402b [2023-03-23T21:01:17.807Z] ---> bb198de6fe4a [2023-03-23T21:01:17.807Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-23T21:01:18.066Z] ---> 9b4a77bdc764 [2023-03-23T21:01:18.066Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-23T21:01:18.066Z] ---> b5385fe073bd [2023-03-23T21:01:18.066Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-23T21:01:18.325Z] ---> 6a8082276826 [2023-03-23T21:01:18.325Z] Step 20/25 : EXPOSE 59986 [2023-03-23T21:01:18.325Z] ---> Running in 54b4b6c66c1c [2023-03-23T21:01:18.325Z] Removing intermediate container 54b4b6c66c1c [2023-03-23T21:01:18.325Z] ---> d80a8b63a592 [2023-03-23T21:01:18.325Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-23T21:01:18.584Z] ---> Running in b44a7f5f2a50 [2023-03-23T21:01:18.584Z] Removing intermediate container b44a7f5f2a50 [2023-03-23T21:01:18.584Z] ---> dba6e7368918 [2023-03-23T21:01:18.584Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-23T21:01:18.584Z] ---> Running in 278f3331d773 [2023-03-23T21:01:18.584Z] Removing intermediate container 278f3331d773 [2023-03-23T21:01:18.584Z] ---> f348149a9964 [2023-03-23T21:01:18.584Z] Step 23/25 : LABEL arch=amd64 [2023-03-23T21:01:18.584Z] ---> Running in 9dc98b588e42 [2023-03-23T21:01:18.843Z] Removing intermediate container 9dc98b588e42 [2023-03-23T21:01:18.843Z] ---> e759440df8bb [2023-03-23T21:01:18.843Z] Step 24/25 : LABEL git_sha=b7b94505af96cbd37e2af9cfce29668414fc9f97 [2023-03-23T21:01:18.843Z] ---> Running in f773b1e5138d [2023-03-23T21:01:18.843Z] Removing intermediate container f773b1e5138d [2023-03-23T21:01:18.843Z] ---> b5f6fa76c7e7 [2023-03-23T21:01:18.843Z] Step 25/25 : LABEL version=0.0.0 [2023-03-23T21:01:18.843Z] ---> Running in b7e2944e44cb [2023-03-23T21:01:19.102Z] Removing intermediate container b7e2944e44cb [2023-03-23T21:01:19.102Z] ---> 6424f969491f [2023-03-23T21:01:19.102Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-23T21:01:19.102Z] Successfully built 6424f969491f [2023-03-23T21:01:19.102Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:01:19.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:01:19.929Z] [2023-03-23T21:01:19.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:01:20.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:01:20.326Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-23T21:01:20.326Z] 5eb5b503b376: Pulling fs layer [2023-03-23T21:01:20.326Z] 5c69ac0246d0: Pulling fs layer [2023-03-23T21:01:20.326Z] ec43610c2a17: Pulling fs layer [2023-03-23T21:01:20.326Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-23T21:01:20.326Z] 33b1e0a273af: Pulling fs layer [2023-03-23T21:01:20.326Z] 5d3b04190fa2: Pulling fs layer [2023-03-23T21:01:20.326Z] 2f39f015ded8: Pulling fs layer [2023-03-23T21:01:20.326Z] 3a2ae6a8a46f: Waiting [2023-03-23T21:01:20.326Z] 5d3b04190fa2: Waiting [2023-03-23T21:01:20.326Z] 33b1e0a273af: Waiting [2023-03-23T21:01:20.326Z] 5c69ac0246d0: Download complete [2023-03-23T21:01:20.326Z] 3a2ae6a8a46f: Download complete [2023-03-23T21:01:20.585Z] 33b1e0a273af: Verifying Checksum [2023-03-23T21:01:20.585Z] 33b1e0a273af: Download complete [2023-03-23T21:01:20.585Z] 5d3b04190fa2: Download complete [2023-03-23T21:01:20.585Z] ec43610c2a17: Verifying Checksum [2023-03-23T21:01:20.585Z] ec43610c2a17: Download complete [2023-03-23T21:01:20.585Z] 5eb5b503b376: Download complete [2023-03-23T21:01:21.151Z] 2f39f015ded8: Download complete [2023-03-23T21:01:21.719Z] 5eb5b503b376: Pull complete [2023-03-23T21:01:21.977Z] 5c69ac0246d0: Pull complete [2023-03-23T21:01:22.240Z] ec43610c2a17: Pull complete [2023-03-23T21:01:22.500Z] 3a2ae6a8a46f: Pull complete [2023-03-23T21:01:22.500Z] 33b1e0a273af: Pull complete [2023-03-23T21:01:22.757Z] 5d3b04190fa2: Pull complete [2023-03-23T21:01:26.936Z] 2f39f015ded8: Pull complete [2023-03-23T21:01:26.936Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-23T21:01:26.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:01:26.936Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:01:27.150Z] prd-ubuntu20.04-docker-8c-8g-5609 does not seem to be running inside a container [2023-03-23T21:01:27.175Z] $ 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-278 -v /w/workspace/gexfoundry_device-rest-go_PR-278:/w/workspace/gexfoundry_device-rest-go_PR-278:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-278@tmp:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T21:01:29.156Z] $ docker top 281f93c5921812f90972b313f41246af7bdca2cc055839c5c685c7555af1aa46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:01:29.618Z] ---> job-cost.sh [2023-03-23T21:01:29.618Z] lf-activate-venv: SKIPPING [2023-03-23T21:01:29.618Z] INFO: No Stack... [2023-03-23T21:01:30.186Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T21:01:30.445Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T21:01:30.760Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-278/archives/cost.csv [2023-03-23T21:01:30.761Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T21:01:30.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] [2023-03-23T21:01:30.803Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] did not exist. Created. [2023-03-23T21:01:30.803Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T21:01:31.193Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-23T21:01:31.238Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T21:01:31.268Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T21:01:31.348Z] $ docker stop --time=1 281f93c5921812f90972b313f41246af7bdca2cc055839c5c685c7555af1aa46 [2023-03-23T21:01:32.501Z] $ docker rm -f --volumes 281f93c5921812f90972b313f41246af7bdca2cc055839c5c685c7555af1aa46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T21:02:46.289Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5611 in /w/workspace/gexfoundry_device-rest-go_PR-278 [Pipeline] { [Pipeline] ws [2023-03-23T21:02:46.349Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-23T21:02:46.433Z] The recommended git tool is: git [2023-03-23T21:02:52.274Z] using credential edgex-jenkins-ssh [2023-03-23T21:02:52.293Z] Cloning the remote Git repository [2023-03-23T21:02:52.362Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-23T21:02:52.476Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-23T21:02:52.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-23T21:02:52.642Z] > git --version # timeout=10 [2023-03-23T21:02:52.670Z] > git --version # 'git version 2.25.1' [2023-03-23T21:02:52.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T21:02:52.825Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T21:02:54.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-23T21:02:54.815Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T21:02:56.386Z] Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit b7b94505af96cbd37e2af9cfce29668414fc9f97 [2023-03-23T21:02:55.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-23T21:02:55.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-23T21:02:55.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T21:02:55.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-23T21:02:56.409Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T21:02:56.498Z] > git checkout -f b7b94505af96cbd37e2af9cfce29668414fc9f97 # timeout=10 [2023-03-23T21:02:56.604Z] > git remote # timeout=10 [2023-03-23T21:02:56.630Z] > git config --get remote.origin.url # timeout=10 [2023-03-23T21:02:56.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T21:02:56.668Z] > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 [2023-03-23T21:02:56.720Z] Merge succeeded, producing b7b94505af96cbd37e2af9cfce29668414fc9f97 [2023-03-23T21:02:56.721Z] Checking out Revision b7b94505af96cbd37e2af9cfce29668414fc9f97 (PR-278) [2023-03-23T21:02:57.419Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-23T21:02:57.494Z] > git --version # timeout=10 [2023-03-23T21:02:57.507Z] > git --version # 'git version 2.25.1' [2023-03-23T21:02:57.530Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2023-03-23T21:02:56.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-23T21:02:56.732Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T21:02:56.754Z] > git checkout -f b7b94505af96cbd37e2af9cfce29668414fc9f97 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T21:02:58.875Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-23T21:02:58.875Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T21:02:58.875Z] Dload Upload Total Spent Left Speed [2023-03-23T21:02:58.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 59863 0 --:--:-- --:--:-- --:--:-- 60146 [Pipeline] sh [2023-03-23T21:02:59.581Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-23T21:02:59.947Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-23T21:02:59.947Z] + sudo tee /etc/docker/daemon.new [2023-03-23T21:02:59.947Z] { [2023-03-23T21:02:59.947Z] "registry-mirrors": [ [2023-03-23T21:02:59.947Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-23T21:02:59.947Z] ], [2023-03-23T21:02:59.947Z] "bip": "10.250.0.254/24", [2023-03-23T21:02:59.947Z] "hosts": [ [2023-03-23T21:02:59.947Z] "tcp://0.0.0.0:5555", [2023-03-23T21:02:59.948Z] "unix:///var/run/docker.sock" [2023-03-23T21:02:59.948Z] ], [2023-03-23T21:02:59.948Z] "mtu": 1458, [2023-03-23T21:02:59.948Z] "selinux-enabled": true, [2023-03-23T21:02:59.948Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-23T21:02:59.948Z] } [Pipeline] sh [2023-03-23T21:03:00.306Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-23T21:03:00.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T21:03:19.039Z] provisioning config files... [2023-03-23T21:03:19.068Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12641985509599614327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:03:19.462Z] ---> docker-login.sh [2023-03-23T21:03:19.462Z] nexus3.edgexfoundry.org:10001 [2023-03-23T21:03:20.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:03:20.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:03:20.061Z] Configure a credential helper to remove this warning. See [2023-03-23T21:03:20.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:03:20.061Z] [2023-03-23T21:03:20.061Z] Login Succeeded [2023-03-23T21:03:20.061Z] nexus3.edgexfoundry.org:10002 [2023-03-23T21:03:20.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:03:20.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:03:20.605Z] Configure a credential helper to remove this warning. See [2023-03-23T21:03:20.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:03:20.605Z] [2023-03-23T21:03:20.605Z] Login Succeeded [2023-03-23T21:03:20.605Z] nexus3.edgexfoundry.org:10003 [2023-03-23T21:03:20.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:03:20.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:03:20.879Z] Configure a credential helper to remove this warning. See [2023-03-23T21:03:20.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:03:20.879Z] [2023-03-23T21:03:20.879Z] Login Succeeded [2023-03-23T21:03:20.879Z] nexus3.edgexfoundry.org:10004 [2023-03-23T21:03:21.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:03:21.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:03:21.426Z] Configure a credential helper to remove this warning. See [2023-03-23T21:03:21.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:03:21.426Z] [2023-03-23T21:03:21.426Z] Login Succeeded [2023-03-23T21:03:21.426Z] docker.io [2023-03-23T21:03:21.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:03:21.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:03:21.969Z] Configure a credential helper to remove this warning. See [2023-03-23T21:03:21.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:03:21.969Z] [2023-03-23T21:03:21.969Z] Login Succeeded [2023-03-23T21:03:21.969Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T21:03:22.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T21:03:22.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T21:03:22.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T21:03:22.500Z] ========================================================= [2023-03-23T21:03:22.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-23T21:03:22.500Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:03:23.008Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T21:03:23.008Z] Sending build context to Docker daemon 138.2kB [2023-03-23T21:03:25.626Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T21:03:25.626Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-23T21:03:25.626Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-23T21:03:25.626Z] af6eaf76a39c: Pulling fs layer [2023-03-23T21:03:25.626Z] 55522c791124: Pulling fs layer [2023-03-23T21:03:25.626Z] ce5c4a1c91eb: Pulling fs layer [2023-03-23T21:03:25.626Z] 169dfbe0d373: Pulling fs layer [2023-03-23T21:03:25.626Z] e1ff8fa3b103: Pulling fs layer [2023-03-23T21:03:25.626Z] 169dfbe0d373: Waiting [2023-03-23T21:03:25.626Z] 52ebb69f0ebf: Pulling fs layer [2023-03-23T21:03:25.626Z] 5abe8eddf0d5: Pulling fs layer [2023-03-23T21:03:25.626Z] e1ff8fa3b103: Waiting [2023-03-23T21:03:25.626Z] 5abe8eddf0d5: Waiting [2023-03-23T21:03:25.626Z] 55522c791124: Verifying Checksum [2023-03-23T21:03:25.626Z] 55522c791124: Download complete [2023-03-23T21:03:25.626Z] 169dfbe0d373: Verifying Checksum [2023-03-23T21:03:25.626Z] 169dfbe0d373: Download complete [2023-03-23T21:03:25.626Z] e1ff8fa3b103: Download complete [2023-03-23T21:03:25.626Z] af6eaf76a39c: Verifying Checksum [2023-03-23T21:03:25.626Z] af6eaf76a39c: Download complete [2023-03-23T21:03:26.628Z] af6eaf76a39c: Pull complete [2023-03-23T21:03:26.628Z] 5abe8eddf0d5: Verifying Checksum [2023-03-23T21:03:26.628Z] 5abe8eddf0d5: Download complete [2023-03-23T21:03:26.901Z] 55522c791124: Pull complete [2023-03-23T21:03:28.337Z] 52ebb69f0ebf: Verifying Checksum [2023-03-23T21:03:28.337Z] 52ebb69f0ebf: Download complete [2023-03-23T21:03:28.337Z] ce5c4a1c91eb: Download complete [2023-03-23T21:03:40.816Z] ce5c4a1c91eb: Pull complete [2023-03-23T21:03:40.816Z] 169dfbe0d373: Pull complete [2023-03-23T21:03:40.816Z] e1ff8fa3b103: Pull complete [2023-03-23T21:03:47.522Z] 52ebb69f0ebf: Pull complete [2023-03-23T21:03:48.503Z] 5abe8eddf0d5: Pull complete [2023-03-23T21:03:48.503Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-23T21:03:48.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-23T21:03:48.503Z] ---> 6cb57ee374ae [2023-03-23T21:03:48.503Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-23T21:03:50.472Z] ---> Running in 948756cf64d8 [2023-03-23T21:03:51.065Z] Removing intermediate container 948756cf64d8 [2023-03-23T21:03:51.065Z] ---> 0c68a32b02ba [2023-03-23T21:03:51.065Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T21:03:51.065Z] ---> Running in 628089dd6187 [2023-03-23T21:03:51.341Z] Removing intermediate container 628089dd6187 [2023-03-23T21:03:51.341Z] ---> f4c6c54156ad [2023-03-23T21:03:51.341Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-23T21:03:51.341Z] ---> Running in 95eedebcbb3f [2023-03-23T21:03:51.701Z] Removing intermediate container 95eedebcbb3f [2023-03-23T21:03:51.701Z] ---> 15c7074ecadb [2023-03-23T21:03:51.701Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T21:03:51.974Z] ---> Running in 3392951bcd75 [2023-03-23T21:03:52.251Z] Removing intermediate container 3392951bcd75 [2023-03-23T21:03:52.251Z] ---> 04a91ca4c96e [2023-03-23T21:03:52.251Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T21:03:52.251Z] ---> Running in a080ebfdb806 [2023-03-23T21:03:53.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T21:03:54.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T21:03:55.228Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-23T21:03:55.228Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-23T21:03:55.228Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-23T21:03:55.228Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-23T21:03:55.497Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T21:03:55.497Z] OK: 268 MiB in 57 packages [2023-03-23T21:03:56.470Z] Removing intermediate container a080ebfdb806 [2023-03-23T21:03:56.470Z] ---> 6494f7d5264a [2023-03-23T21:03:56.470Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-23T21:03:56.470Z] ---> Running in 431fe06bf3ac [2023-03-23T21:03:56.743Z] Removing intermediate container 431fe06bf3ac [2023-03-23T21:03:56.743Z] ---> d13f3f70dc9e [2023-03-23T21:03:56.743Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-23T21:03:57.327Z] ---> 959cb499acc2 [2023-03-23T21:03:57.327Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T21:03:57.327Z] ---> Running in 532f760884e9 [2023-03-23T21:05:05.194Z] Removing intermediate container 532f760884e9 [2023-03-23T21:05:05.195Z] ---> 7fad325936d7 [2023-03-23T21:05:05.195Z] Step 11/12 : COPY . . [2023-03-23T21:05:05.195Z] ---> 1e3bbacb99dc [2023-03-23T21:05:05.195Z] Step 12/12 : RUN $MAKE [2023-03-23T21:05:05.195Z] ---> Running in 4223228e454b [2023-03-23T21:05:05.195Z] noop [2023-03-23T21:05:05.195Z] Removing intermediate container 4223228e454b [2023-03-23T21:05:05.195Z] ---> 2caec850168f [2023-03-23T21:05:05.195Z] Successfully built 2caec850168f [2023-03-23T21:05:05.195Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:05:05.670Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T21:05:05.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:05:05.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-5611 does not seem to be running inside a container [2023-03-23T21:05:06.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T21:05:07.258Z] $ docker top 022a908acafeb986ff4eac0c99e79eecb9464457ad807c1712a0576c42b9084d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:05:08.143Z] + go version [2023-03-23T21:05:08.143Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-23T21:05:08.178Z] $ docker stop --time=1 022a908acafeb986ff4eac0c99e79eecb9464457ad807c1712a0576c42b9084d [2023-03-23T21:05:09.779Z] $ docker rm -f --volumes 022a908acafeb986ff4eac0c99e79eecb9464457ad807c1712a0576c42b9084d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:05:10.617Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T21:05:10.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:05:10.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-5611 does not seem to be running inside a container [2023-03-23T21:05:10.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T21:05:12.152Z] $ docker top 40fbd5073b6b2ae423a765adfbb2558e88ac80c68501d8de089cf98c1c7ae650 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:05:12.736Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-23T21:05:13.398Z] + make test [2023-03-23T21:05:13.398Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T21:05:45.639Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-23T21:08:07.647Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-23T21:08:07.647Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.0% of statements [2023-03-23T21:08:07.647Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-23T21:08:07.647Z] go vet ./... [2023-03-23T21:08:34.410Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-23T21:08:34.410Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-23T21:08:34.410Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-23T21:08:34.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-23T21:08:34.482Z] $ docker stop --time=1 40fbd5073b6b2ae423a765adfbb2558e88ac80c68501d8de089cf98c1c7ae650 [2023-03-23T21:08:36.406Z] $ docker rm -f --volumes 40fbd5073b6b2ae423a765adfbb2558e88ac80c68501d8de089cf98c1c7ae650 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T21:08:37.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-23T21:08:37.710Z] Warning: overwriting stash ‘coverage-report’ [2023-03-23T21:08:38.244Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T21:08:38.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-23T21:08:39.192Z] + ls -al . [2023-03-23T21:08:39.192Z] total 180 [2023-03-23T21:08:39.192Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 21:05 . [2023-03-23T21:08:39.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 21:02 .. [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 23 21:02 .dockerignore [2023-03-23T21:08:39.192Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 21:02 .git [2023-03-23T21:08:39.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 21:02 .github [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 23 21:02 .gitignore [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 21:02 .golangci.yml [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 23 21:02 Attribution.txt [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 23 21:02 CHANGELOG.md [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 23 21:02 Dockerfile [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 21:02 GOVERNANCE.md [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 23 21:02 Jenkinsfile [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 23 21:02 LICENSE [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 23 21:02 Makefile [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 23 21:02 OWNERS.md [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 23 21:02 README.md [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 20:59 VERSION [2023-03-23T21:08:39.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 21:02 bin [2023-03-23T21:08:39.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 21:02 cmd [2023-03-23T21:08:39.192Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 23 21:07 coverage.out [2023-03-23T21:08:39.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 21:02 driver [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 23 21:02 go.mod [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 23 21:02 go.sum [2023-03-23T21:08:39.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 21:02 snap [2023-03-23T21:08:39.192Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 23 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:08:39.616Z] + 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=b7b94505af96cbd37e2af9cfce29668414fc9f97 --label arch=arm64 --label version=0.0.0 . [2023-03-23T21:08:39.616Z] Sending build context to Docker daemon 153.1kB [2023-03-23T21:08:39.883Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T21:08:39.883Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-23T21:08:39.883Z] ---> 2caec850168f [2023-03-23T21:08:39.883Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-23T21:08:39.883Z] ---> Running in 29bd2fd6909a [2023-03-23T21:08:40.154Z] Removing intermediate container 29bd2fd6909a [2023-03-23T21:08:40.154Z] ---> 3e4de285d175 [2023-03-23T21:08:40.154Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T21:08:40.422Z] ---> Running in cc8394f95530 [2023-03-23T21:08:40.690Z] Removing intermediate container cc8394f95530 [2023-03-23T21:08:40.690Z] ---> e17f1e060071 [2023-03-23T21:08:40.690Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-23T21:08:40.690Z] ---> Running in 8df890264d4a [2023-03-23T21:08:40.962Z] Removing intermediate container 8df890264d4a [2023-03-23T21:08:40.962Z] ---> 888009a68f69 [2023-03-23T21:08:40.962Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T21:08:41.233Z] ---> Running in 80cbfc806264 [2023-03-23T21:08:41.511Z] Removing intermediate container 80cbfc806264 [2023-03-23T21:08:41.511Z] ---> 9c6a75de5354 [2023-03-23T21:08:41.511Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T21:08:41.511Z] ---> Running in dfc4f38d75b5 [2023-03-23T21:08:42.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T21:08:43.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T21:08:44.507Z] OK: 268 MiB in 57 packages [2023-03-23T21:08:45.477Z] Removing intermediate container dfc4f38d75b5 [2023-03-23T21:08:45.477Z] ---> 49814135fde0 [2023-03-23T21:08:45.477Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-23T21:08:45.477Z] ---> Running in 422c9e328292 [2023-03-23T21:08:45.750Z] Removing intermediate container 422c9e328292 [2023-03-23T21:08:45.750Z] ---> 72fd10790fe2 [2023-03-23T21:08:45.750Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-23T21:08:46.343Z] ---> 526b5782a902 [2023-03-23T21:08:46.343Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T21:08:46.612Z] ---> Running in b59ee9c03cfb [2023-03-23T21:08:49.204Z] Removing intermediate container b59ee9c03cfb [2023-03-23T21:08:49.204Z] ---> ca4cadfb4bfb [2023-03-23T21:08:49.204Z] Step 11/25 : COPY . . [2023-03-23T21:08:49.799Z] ---> 30aea1078e30 [2023-03-23T21:08:49.799Z] Step 12/25 : RUN $MAKE [2023-03-23T21:08:49.799Z] ---> Running in 02ff661b4be1 [2023-03-23T21:08:51.216Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-23T21:11:12.933Z] Removing intermediate container 02ff661b4be1 [2023-03-23T21:11:12.933Z] ---> 778cdfc33b01 [2023-03-23T21:11:12.933Z] Step 13/25 : FROM alpine:3.17 [2023-03-23T21:11:12.933Z] 3.17: Pulling from library/alpine [2023-03-23T21:11:12.933Z] af6eaf76a39c: Already exists [2023-03-23T21:11:12.933Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-23T21:11:12.933Z] Status: Downloaded newer image for alpine:3.17 [2023-03-23T21:11:12.933Z] ---> d74e625d9115 [2023-03-23T21:11:12.933Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-23T21:11:12.933Z] ---> Running in 1bb6ae2c4a09 [2023-03-23T21:11:12.933Z] Removing intermediate container 1bb6ae2c4a09 [2023-03-23T21:11:12.933Z] ---> 4f4cdd961b83 [2023-03-23T21:11:12.933Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-23T21:11:12.933Z] ---> Running in ceb6d679f90a [2023-03-23T21:11:12.933Z] Removing intermediate container ceb6d679f90a [2023-03-23T21:11:12.933Z] ---> 7b44a2f1b814 [2023-03-23T21:11:12.933Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-23T21:11:12.933Z] ---> Running in c719a91e040d [2023-03-23T21:11:12.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T21:11:12.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T21:11:12.933Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-23T21:11:12.933Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T21:11:12.933Z] OK: 8 MiB in 16 packages [2023-03-23T21:11:12.933Z] Removing intermediate container c719a91e040d [2023-03-23T21:11:12.933Z] ---> 41e7f806fb04 [2023-03-23T21:11:12.933Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-23T21:11:12.933Z] ---> a689ff5392bf [2023-03-23T21:11:12.933Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-23T21:11:12.933Z] ---> fe26125ce78f [2023-03-23T21:11:12.933Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-23T21:11:12.933Z] ---> 5410b2fce0cb [2023-03-23T21:11:12.933Z] Step 20/25 : EXPOSE 59986 [2023-03-23T21:11:12.933Z] ---> Running in 32459e7202a4 [2023-03-23T21:11:12.933Z] Removing intermediate container 32459e7202a4 [2023-03-23T21:11:12.933Z] ---> 1fe147e335c1 [2023-03-23T21:11:12.933Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-23T21:11:12.933Z] ---> Running in 059917df7ab8 [2023-03-23T21:11:12.933Z] Removing intermediate container 059917df7ab8 [2023-03-23T21:11:12.933Z] ---> a822a865d413 [2023-03-23T21:11:12.933Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-23T21:11:12.933Z] ---> Running in f7d58712ba9f [2023-03-23T21:11:12.933Z] Removing intermediate container f7d58712ba9f [2023-03-23T21:11:12.933Z] ---> eca70f7e6956 [2023-03-23T21:11:12.933Z] Step 23/25 : LABEL arch=arm64 [2023-03-23T21:11:12.933Z] ---> Running in 4132e2150bb9 [2023-03-23T21:11:12.933Z] Removing intermediate container 4132e2150bb9 [2023-03-23T21:11:12.933Z] ---> 5e1229fac8fe [2023-03-23T21:11:12.933Z] Step 24/25 : LABEL git_sha=b7b94505af96cbd37e2af9cfce29668414fc9f97 [2023-03-23T21:11:12.933Z] ---> Running in 70800ff7b9d6 [2023-03-23T21:11:12.933Z] Removing intermediate container 70800ff7b9d6 [2023-03-23T21:11:12.933Z] ---> 1b1928aed8ea [2023-03-23T21:11:12.933Z] Step 25/25 : LABEL version=0.0.0 [2023-03-23T21:11:12.933Z] ---> Running in 21778d86d8fc [2023-03-23T21:11:12.933Z] Removing intermediate container 21778d86d8fc [2023-03-23T21:11:12.933Z] ---> d6dedd3cfbd7 [2023-03-23T21:11:12.933Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-23T21:11:12.933Z] Successfully built d6dedd3cfbd7 [2023-03-23T21:11:12.933Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:11:13.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T21:11:13.729Z] [2023-03-23T21:11:13.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:11:14.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T21:11:14.123Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-23T21:11:14.123Z] 8998bd30e6a1: Pulling fs layer [2023-03-23T21:11:14.123Z] 04944245beec: Pulling fs layer [2023-03-23T21:11:14.123Z] 699f458cf7ca: Pulling fs layer [2023-03-23T21:11:14.123Z] 765212b225bb: Pulling fs layer [2023-03-23T21:11:14.123Z] f23df028b6ca: Pulling fs layer [2023-03-23T21:11:14.123Z] d65c8cfc05b1: Pulling fs layer [2023-03-23T21:11:14.123Z] 2437ff75d9bd: Pulling fs layer [2023-03-23T21:11:14.123Z] 765212b225bb: Waiting [2023-03-23T21:11:14.123Z] f23df028b6ca: Waiting [2023-03-23T21:11:14.123Z] d65c8cfc05b1: Waiting [2023-03-23T21:11:14.123Z] 2437ff75d9bd: Waiting [2023-03-23T21:11:14.389Z] 04944245beec: Verifying Checksum [2023-03-23T21:11:14.389Z] 04944245beec: Download complete [2023-03-23T21:11:14.389Z] 765212b225bb: Verifying Checksum [2023-03-23T21:11:14.389Z] 765212b225bb: Download complete [2023-03-23T21:11:14.389Z] f23df028b6ca: Download complete [2023-03-23T21:11:14.389Z] d65c8cfc05b1: Verifying Checksum [2023-03-23T21:11:14.389Z] d65c8cfc05b1: Download complete [2023-03-23T21:11:14.389Z] 699f458cf7ca: Verifying Checksum [2023-03-23T21:11:14.389Z] 699f458cf7ca: Download complete [2023-03-23T21:11:14.974Z] 8998bd30e6a1: Download complete [2023-03-23T21:11:16.924Z] 2437ff75d9bd: Verifying Checksum [2023-03-23T21:11:16.924Z] 2437ff75d9bd: Download complete [2023-03-23T21:11:18.428Z] 8998bd30e6a1: Pull complete [2023-03-23T21:11:19.022Z] 04944245beec: Pull complete [2023-03-23T21:11:20.464Z] 699f458cf7ca: Pull complete [2023-03-23T21:11:20.464Z] 765212b225bb: Pull complete [2023-03-23T21:11:21.074Z] f23df028b6ca: Pull complete [2023-03-23T21:11:21.341Z] d65c8cfc05b1: Pull complete [2023-03-23T21:11:33.630Z] 2437ff75d9bd: Pull complete [2023-03-23T21:11:33.630Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-23T21:11:33.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T21:11:33.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:11:33.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-5611 does not seem to be running inside a container [2023-03-23T21:11:33.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-23T21:11:36.300Z] $ docker top 5f5f4934ba586e20063bae1f7029eb72c47a23f880b79acf08f50403d5522b6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:36.876Z] ---> job-cost.sh [2023-03-23T21:11:37.142Z] lf-activate-venv: SKIPPING [2023-03-23T21:11:37.142Z] INFO: No Stack... [2023-03-23T21:11:37.408Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-23T21:11:38.363Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T21:11:38.711Z] + + cut -d, -f6cat [2023-03-23T21:11:38.711Z] /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-03-23T21:11:39.056Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] [2023-03-23T21:11:39.061Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] did not exist. Created. [2023-03-23T21:11:39.061Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T21:11:39.502Z] /w/workspace/device-rest-go/1@tmp/durable-ba9c2eb3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-23T21:11:39.857Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-23T21:11:39.895Z] Warning: overwriting stash ‘stack-cost’ [2023-03-23T21:11:39.935Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T21:11:39.955Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-278-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T21:11:40.025Z] $ docker stop --time=1 5f5f4934ba586e20063bae1f7029eb72c47a23f880b79acf08f50403d5522b6e [2023-03-23T21:11:41.495Z] $ docker rm -f --volumes 5f5f4934ba586e20063bae1f7029eb72c47a23f880b79acf08f50403d5522b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-23T21:11:42.440Z] provisioning config files... [2023-03-23T21:11:42.448Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp/config7974007327022388350tmp [Pipeline] { [Pipeline] sh [2023-03-23T21:11:42.781Z] + set +x [2023-03-23T21:11:42.782Z] + + curl -s https://codecov.io/bash [2023-03-23T21:11:42.782Z] bash -s -- [2023-03-23T21:11:42.782Z] [2023-03-23T21:11:42.782Z] _____ _ [2023-03-23T21:11:42.782Z] / ____| | | [2023-03-23T21:11:42.782Z] | | ___ __| | ___ ___ _____ __ [2023-03-23T21:11:42.782Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-23T21:11:42.782Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-23T21:11:42.782Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-23T21:11:42.782Z] Bash-1.0.6 [2023-03-23T21:11:42.782Z] [2023-03-23T21:11:42.782Z] [2023-03-23T21:11:42.782Z] ==> git version 2.25.1 found [2023-03-23T21:11:42.782Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-23T21:11:42.782Z] Release-Date: 2020-01-08 [2023-03-23T21:11:42.782Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-23T21:11:42.782Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-23T21:11:42.782Z] ==> Jenkins CI detected. [2023-03-23T21:11:42.782Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-278 [2023-03-23T21:11:42.782Z] project root: . [2023-03-23T21:11:42.782Z] --> token set from env [2023-03-23T21:11:42.782Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-23T21:11:42.782Z] ==> Running gcov in . (disable via -X gcov) [2023-03-23T21:11:42.782Z] ==> Python coveragepy not found [2023-03-23T21:11:42.782Z] ==> Searching for coverage reports in: [2023-03-23T21:11:42.782Z] + . [2023-03-23T21:11:42.782Z] -> Found 1 reports [2023-03-23T21:11:42.782Z] ==> Detecting git/mercurial file structure [2023-03-23T21:11:42.782Z] ==> Reading reports [2023-03-23T21:11:42.782Z] + ./coverage.out bytes=14200 [2023-03-23T21:11:42.782Z] ==> Appending adjustments [2023-03-23T21:11:42.782Z] https://docs.codecov.io/docs/fixing-reports [2023-03-23T21:11:43.041Z] + Found adjustments [2023-03-23T21:11:43.041Z] ==> Gzipping contents [2023-03-23T21:11:43.041Z] 4.0K /tmp/codecov.VRH0Sv.gz [2023-03-23T21:11:43.041Z] ==> Uploading reports [2023-03-23T21:11:43.041Z] url: https://codecov.io [2023-03-23T21:11:43.041Z] query: branch=PR-278&commit=b7b94505af96cbd37e2af9cfce29668414fc9f97&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-278%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=278&job=&cmd_args= [2023-03-23T21:11:43.041Z] -> Pinging Codecov [2023-03-23T21:11:43.041Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-278&commit=b7b94505af96cbd37e2af9cfce29668414fc9f97&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-278%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=278&job=&cmd_args= [2023-03-23T21:11:43.301Z] -> Uploading to [2023-03-23T21:11:43.301Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-23/4E5D53B4F1F92C436F7061BF334D961C/b7b94505af96cbd37e2af9cfce29668414fc9f97/2822c0d8-8b2a-4ed6-bd46-87bda0de0cd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T211143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa54421f65cf393c5bbb577edbce2a460f088fe931219b2cc7e6cf0d8dc0873f [2023-03-23T21:11:43.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T21:11:43.301Z] Dload Upload Total Spent Left Speed [2023-03-23T21:11:43.561Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 8559 --:--:-- --:--:-- --:--:-- 8559 [2023-03-23T21:11:43.561Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b7b94505af96cbd37e2af9cfce29668414fc9f97 [Pipeline] } [2023-03-23T21:11:43.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-23T21:11:45.327Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-278/archives ] [2023-03-23T21:11:45.328Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-278/archives [2023-03-23T21:11:45.328Z] total 16 [2023-03-23T21:11:45.328Z] drwxr-xr-x 3 root root 4096 Mar 23 21:01 . [2023-03-23T21:11:45.328Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 21:01 .. [2023-03-23T21:11:45.328Z] drwxr-xr-x 2 root root 4096 Mar 23 21:01 cost [2023-03-23T21:11:45.328Z] -rw-r--r-- 1 root root 86 Mar 23 21:01 cost.csv [2023-03-23T21:11:45.328Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-278/archives [2023-03-23T21:11:45.328Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-278/archives [2023-03-23T21:11:45.328Z] total 16 [2023-03-23T21:11:45.328Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 21:01 . [2023-03-23T21:11:45.328Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 21:01 .. [2023-03-23T21:11:45.328Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 21:01 cost [2023-03-23T21:11:45.328Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 23 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:45.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:46.545Z] ---> package-listing.sh [2023-03-23T21:11:46.545Z] ++ facter osfamily [2023-03-23T21:11:46.545Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-23T21:11:46.805Z] + OS_FAMILY=debian [2023-03-23T21:11:46.805Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-278 [2023-03-23T21:11:46.805Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-23T21:11:46.805Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-23T21:11:46.805Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-23T21:11:46.805Z] + PACKAGES=/tmp/packages_start.txt [2023-03-23T21:11:46.805Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-278 ']' [2023-03-23T21:11:46.805Z] + PACKAGES=/tmp/packages_end.txt [2023-03-23T21:11:46.805Z] + case "${OS_FAMILY}" in [2023-03-23T21:11:46.805Z] + dpkg -l [2023-03-23T21:11:46.805Z] + grep '^ii' [2023-03-23T21:11:46.805Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-23T21:11:46.805Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-23T21:11:46.805Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-23T21:11:46.805Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-278 ']' [2023-03-23T21:11:46.805Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-278/archives/ [2023-03-23T21:11:46.805Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-278/archives/ [Pipeline] echo [2023-03-23T21:11:46.839Z] 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-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-23T21:11:47.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:11:47.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:11:47.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:11:47.906Z] prd-ubuntu20.04-docker-8c-8g-5609 does not seem to be running inside a container [2023-03-23T21:11:47.927Z] $ 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-278/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-278 -v /w/workspace/gexfoundry_device-rest-go_PR-278:/w/workspace/gexfoundry_device-rest-go_PR-278:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-278@tmp:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T21:11:48.167Z] $ docker top dcfb1095fe5267451033b73faebc2d9b908bc5a605ab59b95544327968f6ce1b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:11:48.569Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-23T21:11:48.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-23T21:11:49.198Z] + ls /var/log/sa-host [2023-03-23T21:11:49.198Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T21:11:49.319Z] provisioning config files... [2023-03-23T21:11:49.329Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-278@tmp/config8447701236606183154tmp [Pipeline] { [Pipeline] echo [2023-03-23T21:11:49.368Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:49.675Z] ---> create-netrc.sh [Pipeline] } [2023-03-23T21:11:49.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:50.084Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-23T21:11:50.115Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:50.439Z] ---> sudo-logs.sh [2023-03-23T21:11:50.439Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-23T21:11:50.530Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:50.842Z] ---> job-cost.sh [2023-03-23T21:11:50.842Z] lf-activate-venv: SKIPPING [2023-03-23T21:11:50.842Z] DEBUG: total: 0.2199999988079071 [2023-03-23T21:11:50.842Z] INFO: Retrieving Stack Cost... [2023-03-23T21:11:51.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T21:11:51.670Z] INFO: Archiving Costs [Pipeline] echo [2023-03-23T21:11:51.705Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:11:52.016Z] ---> logs-deploy.sh [2023-03-23T21:11:52.016Z] lf-activate-venv: SKIPPING [2023-03-23T21:11:52.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-278/1 [2023-03-23T21:11:52.016Z] INFO: archiving workspace using pattern(s): [2023-03-23T21:11:52.954Z] Archives upload complete. [2023-03-23T21:11:52.954Z] INFO: archiving logs to Nexus