Pull request #332 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-rest-go Obtained Jenkinsfile from 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12+6f0e88eb43ac42bba557c9333c6d12baa04244ae (43b120e82933820cdf6d6224e590a9137cd2dcac) 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-ssh7095680507572557369.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh8585744223969136942.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-332/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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16884413046711382084.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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh494516520869972604.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh17515160157437548844.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-332/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-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14393153813022412066.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4518 in /w/workspace/gexfoundry_device-rest-go_PR-332 [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-332 # 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f0e88eb43ac42bba557c9333c6d12baa04244ae into PR head commit 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 Merge succeeded, producing 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 Checking out Revision 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 (PR-332) > git config core.sparsecheckout # timeout=10 > git checkout -f 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 # 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 6f0e88eb43ac42bba557c9333c6d12baa04244ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T07:13:11.977Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T07:13:12.164Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T07:13:12.267Z] ========================================================= [2023-08-25T07:13:12.267Z] EdgeX Global Pipelines Version Info [2023-08-25T07:13:12.267Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:13:13.024Z] ------------------- [2023-08-25T07:13:13.024Z] stable info: [2023-08-25T07:13:13.024Z] ------------------- [2023-08-25T07:13:13.024Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T07:13:13.024Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T07:13:13.024Z] Message: update stable to v1.0.253 [2023-08-25T07:13:13.596Z] ------------------- [2023-08-25T07:13:13.596Z] experimental info: [2023-08-25T07:13:13.596Z] ------------------- [2023-08-25T07:13:13.596Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T07:13:13.596Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T07:13:13.596Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T07:13:13.882Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-25T07:13:13.927Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-25T07:13:13.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T07:13:14.005Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T07:13:14.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T07:13:14.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T07:13:14.118Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T07:13:14.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T07:13:14.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T07:13:14.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T07:13:14.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T07:13:14.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-25T07:13:14.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T07:13:14.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T07:13:14.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T07:13:14.493Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T07:13:14.537Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T07:13:14.578Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T07:13:14.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T07:13:14.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T07:13:14.706Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T07:13:14.745Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T07:13:14.786Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T07:13:14.824Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T07:13:14.868Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T07:13:14.906Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T07:13:14.948Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T07:13:14.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo [2023-08-25T07:13:15.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo [2023-08-25T07:13:15.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo [2023-08-25T07:13:15.119Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [Pipeline] echo [2023-08-25T07:13:15.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02bbb8c [Pipeline] echo [2023-08-25T07:13:15.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T07:13:15.310Z] provisioning config files... [2023-08-25T07:13:15.324Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config3220809692207059775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:13:15.670Z] ---> docker-login.sh [2023-08-25T07:13:15.670Z] nexus3.edgexfoundry.org:10001 [2023-08-25T07:13:15.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:15.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:15.928Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:15.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:15.928Z] [2023-08-25T07:13:15.928Z] Login Succeeded [2023-08-25T07:13:15.928Z] nexus3.edgexfoundry.org:10002 [2023-08-25T07:13:15.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:15.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:15.928Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:15.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:15.928Z] [2023-08-25T07:13:15.928Z] Login Succeeded [2023-08-25T07:13:15.928Z] nexus3.edgexfoundry.org:10003 [2023-08-25T07:13:16.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:16.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:16.187Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:16.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:16.187Z] [2023-08-25T07:13:16.187Z] Login Succeeded [2023-08-25T07:13:16.187Z] nexus3.edgexfoundry.org:10004 [2023-08-25T07:13:16.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:16.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:16.187Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:16.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:16.187Z] [2023-08-25T07:13:16.187Z] Login Succeeded [2023-08-25T07:13:16.187Z] docker.io [2023-08-25T07:13:16.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:16.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:16.709Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:16.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:16.709Z] [2023-08-25T07:13:16.709Z] Login Succeeded [2023-08-25T07:13:16.709Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T07:13:16.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T07:13:17.367Z] + git rev-list -1 --merges 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12~1..02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [Pipeline] echo [2023-08-25T07:13:17.448Z] -----------> git rev-list -1 --merges 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12~1..02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [false] [Pipeline] sh [2023-08-25T07:13:17.764Z] + git log --format=format:%s -1 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [Pipeline] echo [2023-08-25T07:13:17.796Z] ========================================================= [2023-08-25T07:13:17.796Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T07:13:17.796Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T07:13:18.238Z] + git log --format=format:%s -1 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [Pipeline] echo [2023-08-25T07:13:18.270Z] [semverPrep] GIT_COMMIT: 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo [2023-08-25T07:13:18.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T07:13:18.672Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T07:13:18.672Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T07:13:18.672Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T07:13:18.672Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T07:13:18.672Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T07:13:18.672Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T07:13:18.672Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:13:19.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T07:13:19.100Z] [2023-08-25T07:13:19.101Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:13:19.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T07:13:19.513Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T07:13:19.513Z] b85a868b505f: Pulling fs layer [2023-08-25T07:13:19.513Z] e2be974225ed: Pulling fs layer [2023-08-25T07:13:19.513Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T07:13:19.513Z] 988bab9f4d93: Pulling fs layer [2023-08-25T07:13:19.513Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T07:13:19.513Z] eaf3925da568: Pulling fs layer [2023-08-25T07:13:19.513Z] bab4dde63d76: Pulling fs layer [2023-08-25T07:13:19.513Z] bde34c3a00c8: Pulling fs layer [2023-08-25T07:13:19.513Z] eaf3925da568: Waiting [2023-08-25T07:13:19.513Z] 1469e6f7b9e6: Waiting [2023-08-25T07:13:19.513Z] 988bab9f4d93: Waiting [2023-08-25T07:13:19.513Z] bab4dde63d76: Waiting [2023-08-25T07:13:19.513Z] bde34c3a00c8: Waiting [2023-08-25T07:13:19.513Z] b352a97aabf1: Pulling fs layer [2023-08-25T07:13:19.513Z] 4872d77fe225: Pulling fs layer [2023-08-25T07:13:19.513Z] 5851b861e8e6: Pulling fs layer [2023-08-25T07:13:19.513Z] 5851b861e8e6: Waiting [2023-08-25T07:13:19.513Z] 4872d77fe225: Waiting [2023-08-25T07:13:19.513Z] b352a97aabf1: Waiting [2023-08-25T07:13:19.513Z] e2be974225ed: Download complete [2023-08-25T07:13:19.513Z] 988bab9f4d93: Verifying Checksum [2023-08-25T07:13:19.513Z] 988bab9f4d93: Download complete [2023-08-25T07:13:19.513Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T07:13:19.513Z] 1469e6f7b9e6: Download complete [2023-08-25T07:13:19.513Z] eaf3925da568: Verifying Checksum [2023-08-25T07:13:19.513Z] eaf3925da568: Download complete [2023-08-25T07:13:19.772Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T07:13:19.772Z] 339a4e72a1f5: Download complete [2023-08-25T07:13:19.772Z] bde34c3a00c8: Download complete [2023-08-25T07:13:19.772Z] b352a97aabf1: Download complete [2023-08-25T07:13:19.772Z] 4872d77fe225: Verifying Checksum [2023-08-25T07:13:19.772Z] 4872d77fe225: Download complete [2023-08-25T07:13:19.772Z] 5851b861e8e6: Verifying Checksum [2023-08-25T07:13:19.772Z] 5851b861e8e6: Download complete [2023-08-25T07:13:19.772Z] b85a868b505f: Verifying Checksum [2023-08-25T07:13:19.772Z] b85a868b505f: Download complete [2023-08-25T07:13:20.031Z] bab4dde63d76: Verifying Checksum [2023-08-25T07:13:20.031Z] bab4dde63d76: Download complete [2023-08-25T07:13:20.968Z] b85a868b505f: Pull complete [2023-08-25T07:13:20.968Z] e2be974225ed: Pull complete [2023-08-25T07:13:21.240Z] 339a4e72a1f5: Pull complete [2023-08-25T07:13:21.499Z] 988bab9f4d93: Pull complete [2023-08-25T07:13:21.758Z] 1469e6f7b9e6: Pull complete [2023-08-25T07:13:21.758Z] eaf3925da568: Pull complete [2023-08-25T07:13:23.659Z] bab4dde63d76: Pull complete [2023-08-25T07:13:23.659Z] bde34c3a00c8: Pull complete [2023-08-25T07:13:23.659Z] b352a97aabf1: Pull complete [2023-08-25T07:13:23.659Z] 4872d77fe225: Pull complete [2023-08-25T07:13:23.918Z] 5851b861e8e6: Pull complete [2023-08-25T07:13:23.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T07:13:23.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T07:13:23.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:13:24.137Z] prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container [2023-08-25T07:13:24.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@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-devops/py-git-semver:0.1.4 cat [2023-08-25T07:13:25.377Z] $ docker top 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea -eo pid,comm [2023-08-25T07:13:25.423Z] 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-08-25T07:13:25.423Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T07:13:25.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T07:13:25.553Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T07:13:25.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T07:13:25.679Z] $ docker exec 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea ssh-agent [2023-08-25T07:13:25.775Z] SSH_AUTH_SOCK=/tmp/ssh-gFOaKdSfyzP3/agent.33 [2023-08-25T07:13:25.775Z] SSH_AGENT_PID=39 [2023-08-25T07:13:25.781Z] Running ssh-add (command line suppressed) [2023-08-25T07:13:25.886Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_3260607801522377373.key (/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_3260607801522377373.key) [2023-08-25T07:13:25.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T07:13:26.231Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T07:13:26.261Z] $ docker exec --env ******** --env ******** 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea ssh-agent -k [2023-08-25T07:13:26.352Z] unset SSH_AUTH_SOCK; [2023-08-25T07:13:26.352Z] unset SSH_AGENT_PID; [2023-08-25T07:13:26.352Z] echo Agent pid 39 killed; [2023-08-25T07:13:26.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T07:13:26.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T07:13:26.448Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T07:13:26.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T07:13:26.566Z] $ docker exec 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea ssh-agent [2023-08-25T07:13:26.664Z] SSH_AUTH_SOCK=/tmp/ssh-7H1xyLJM779A/agent.71 [2023-08-25T07:13:26.664Z] SSH_AGENT_PID=78 [2023-08-25T07:13:26.669Z] Running ssh-add (command line suppressed) [2023-08-25T07:13:26.764Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_5955157353176768672.key (/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/private_key_5955157353176768672.key) [2023-08-25T07:13:26.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T07:13:27.103Z] + git semver init [2023-08-25T07:13:27.363Z] 2023-08-25 07:13:27,288 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T07:13:27.363Z] 2023-08-25 07:13:27,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-332/.semver [2023-08-25T07:13:27.363Z] 2023-08-25 07:13:27,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-332/.semver [2023-08-25T07:13:27.363Z] 2023-08-25 07:13:27,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-332/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-332, universal_newlines=False, shell=None, istream=None) [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,326 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-332/.git/info/exclude [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,326 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-332/.semver/PR-332 with force:False [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,326 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-332/.semver/PR-332 [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,329 [execute] INFO git cat-file --batch-check [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,336 [execute] INFO git cat-file --batch [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T07:13:28.755Z] 2023-08-25 07:13:28,341 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-332/.semver/PR-332 [2023-08-25T07:13:28.755Z] 0.0.0 [Pipeline] } [2023-08-25T07:13:28.783Z] $ docker exec --env ******** --env ******** 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea ssh-agent -k [2023-08-25T07:13:28.900Z] unset SSH_AUTH_SOCK; [2023-08-25T07:13:28.901Z] unset SSH_AGENT_PID; [2023-08-25T07:13:28.901Z] echo Agent pid 78 killed; [2023-08-25T07:13:28.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T07:13:29.334Z] + git semver [Pipeline] } [2023-08-25T07:13:29.621Z] $ docker stop --time=1 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea [2023-08-25T07:13:30.922Z] $ docker rm -f --volumes 7a00fec60f5f477c9ea4a5bfb7236887530766271722455a14f87f583de3b1ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T07:13:31.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T07:13:31.587Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T07:13:31.603Z] [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-08-25T07:13:32.223Z] provisioning config files... [2023-08-25T07:13:32.232Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config11234664017766408580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:13:32.578Z] ---> docker-login.sh [2023-08-25T07:13:32.578Z] nexus3.edgexfoundry.org:10001 [2023-08-25T07:13:32.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:32.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:32.578Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:32.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:32.578Z] [2023-08-25T07:13:32.578Z] Login Succeeded [2023-08-25T07:13:32.578Z] nexus3.edgexfoundry.org:10002 [2023-08-25T07:13:32.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:32.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:32.578Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:32.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:32.578Z] [2023-08-25T07:13:32.578Z] Login Succeeded [2023-08-25T07:13:32.578Z] nexus3.edgexfoundry.org:10003 [2023-08-25T07:13:32.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:32.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:32.837Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:32.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:32.837Z] [2023-08-25T07:13:32.837Z] Login Succeeded [2023-08-25T07:13:32.837Z] nexus3.edgexfoundry.org:10004 [2023-08-25T07:13:32.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:32.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:32.837Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:32.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:32.837Z] [2023-08-25T07:13:32.837Z] Login Succeeded [2023-08-25T07:13:32.837Z] docker.io [2023-08-25T07:13:33.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:13:33.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:13:33.098Z] Configure a credential helper to remove this warning. See [2023-08-25T07:13:33.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:13:33.098Z] [2023-08-25T07:13:33.098Z] Login Succeeded [2023-08-25T07:13:33.098Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T07:13:33.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T07:13:33.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T07:13:33.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T07:13:33.392Z] ========================================================= [2023-08-25T07:13:33.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T07:13:33.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:13:33.863Z] + 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-08-25T07:13:33.864Z] Sending build context to Docker daemon 10.91MB [2023-08-25T07:13:33.864Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T07:13:33.864Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T07:13:33.864Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T07:13:33.864Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T07:13:33.864Z] 6911f1a30b25: Pulling fs layer [2023-08-25T07:13:33.864Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T07:13:33.864Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T07:13:33.864Z] ec0bb842ea78: Pulling fs layer [2023-08-25T07:13:33.864Z] 40a00589a448: Pulling fs layer [2023-08-25T07:13:33.864Z] 6c08303d61cc: Pulling fs layer [2023-08-25T07:13:33.864Z] 798269fcf238: Pulling fs layer [2023-08-25T07:13:33.864Z] ec0bb842ea78: Waiting [2023-08-25T07:13:33.864Z] 40a00589a448: Waiting [2023-08-25T07:13:33.864Z] 6c08303d61cc: Waiting [2023-08-25T07:13:33.864Z] 798269fcf238: Waiting [2023-08-25T07:13:33.864Z] 6911f1a30b25: Verifying Checksum [2023-08-25T07:13:33.864Z] 6911f1a30b25: Download complete [2023-08-25T07:13:33.864Z] 6863d3e3a2b1: Download complete [2023-08-25T07:13:33.864Z] ec0bb842ea78: Verifying Checksum [2023-08-25T07:13:33.864Z] ec0bb842ea78: Download complete [2023-08-25T07:13:34.124Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T07:13:34.124Z] 4db1b89c0bd1: Download complete [2023-08-25T07:13:34.124Z] 40a00589a448: Verifying Checksum [2023-08-25T07:13:34.124Z] 40a00589a448: Download complete [2023-08-25T07:13:34.124Z] 4db1b89c0bd1: Pull complete [2023-08-25T07:13:34.387Z] 6911f1a30b25: Pull complete [2023-08-25T07:13:34.387Z] 798269fcf238: Verifying Checksum [2023-08-25T07:13:34.387Z] 798269fcf238: Download complete [2023-08-25T07:13:34.647Z] e194b8c5c2a9: Download complete [2023-08-25T07:13:34.904Z] 6c08303d61cc: Verifying Checksum [2023-08-25T07:13:34.904Z] 6c08303d61cc: Download complete [2023-08-25T07:13:38.192Z] e194b8c5c2a9: Pull complete [2023-08-25T07:13:38.192Z] 6863d3e3a2b1: Pull complete [2023-08-25T07:13:38.192Z] ec0bb842ea78: Pull complete [2023-08-25T07:13:38.192Z] 40a00589a448: Pull complete [2023-08-25T07:13:40.729Z] 6c08303d61cc: Pull complete [2023-08-25T07:13:41.667Z] 798269fcf238: Pull complete [2023-08-25T07:13:41.667Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T07:13:41.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T07:13:41.667Z] ---> ec979cd7f677 [2023-08-25T07:13:41.667Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T07:13:43.571Z] ---> Running in 4bb7b892c1e6 [2023-08-25T07:13:43.572Z] Removing intermediate container 4bb7b892c1e6 [2023-08-25T07:13:43.572Z] ---> 38a4234fb28f [2023-08-25T07:13:43.572Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T07:13:43.572Z] ---> Running in c1526a07cd4e [2023-08-25T07:13:43.572Z] Removing intermediate container c1526a07cd4e [2023-08-25T07:13:43.572Z] ---> 2b9f75f18a28 [2023-08-25T07:13:43.572Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T07:13:43.572Z] ---> Running in b0d680c8fbcf [2023-08-25T07:13:43.572Z] Removing intermediate container b0d680c8fbcf [2023-08-25T07:13:43.572Z] ---> 51971f49a741 [2023-08-25T07:13:43.572Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T07:13:43.831Z] ---> Running in 77bf5bb0ffef [2023-08-25T07:13:43.831Z] Removing intermediate container 77bf5bb0ffef [2023-08-25T07:13:43.831Z] ---> 9361ddc061b2 [2023-08-25T07:13:43.831Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T07:13:43.831Z] ---> Running in c07702045cba [2023-08-25T07:13:44.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T07:13:44.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T07:13:44.932Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T07:13:44.932Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T07:13:44.932Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T07:13:44.932Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T07:13:44.932Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T07:13:44.932Z] OK: 269 MiB in 57 packages [2023-08-25T07:13:45.192Z] Removing intermediate container c07702045cba [2023-08-25T07:13:45.192Z] ---> e06f3d66476c [2023-08-25T07:13:45.192Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-25T07:13:45.192Z] ---> Running in 3b0d26876994 [2023-08-25T07:13:45.451Z] Removing intermediate container 3b0d26876994 [2023-08-25T07:13:45.451Z] ---> 7467c1508083 [2023-08-25T07:13:45.451Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T07:13:45.451Z] ---> d2cc95947fd4 [2023-08-25T07:13:45.451Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T07:13:45.451Z] ---> Running in b054bc737337 [2023-08-25T07:13:47.031Z] Still waiting to schedule task [2023-08-25T07:13:47.031Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T07:14:14.301Z] Removing intermediate container b054bc737337 [2023-08-25T07:14:14.301Z] ---> ca6053ae1408 [2023-08-25T07:14:14.301Z] Step 11/12 : COPY . . [2023-08-25T07:14:14.301Z] ---> 928fe6c09334 [2023-08-25T07:14:14.301Z] Step 12/12 : RUN $MAKE [2023-08-25T07:14:14.301Z] ---> Running in 532517ec548c [2023-08-25T07:14:14.301Z] noop [2023-08-25T07:14:14.301Z] Removing intermediate container 532517ec548c [2023-08-25T07:14:14.301Z] ---> 7c2b97b6072b [2023-08-25T07:14:14.301Z] Successfully built 7c2b97b6072b [2023-08-25T07:14:14.301Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:14:14.760Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T07:14:14.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:14:14.921Z] prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container [2023-08-25T07:14:14.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T07:14:15.308Z] $ docker top 5fb33339befad83beb22b154264c58fe4d6f60d7f049e4871abd3cd2fed65074 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:14:15.698Z] + go version [2023-08-25T07:14:15.698Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T07:14:15.733Z] $ docker stop --time=1 5fb33339befad83beb22b154264c58fe4d6f60d7f049e4871abd3cd2fed65074 [2023-08-25T07:14:17.033Z] $ docker rm -f --volumes 5fb33339befad83beb22b154264c58fe4d6f60d7f049e4871abd3cd2fed65074 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:14:17.782Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T07:14:17.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:14:17.940Z] prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container [2023-08-25T07:14:17.977Z] $ 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-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T07:14:18.313Z] $ docker top 00ab776038b29e2b4d507a6933b2ac6b415c5143f75048c762007e91ce934757 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:14:18.707Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-332 [Pipeline] fileExists [Pipeline] sh [2023-08-25T07:14:19.064Z] + make test [2023-08-25T07:14:19.064Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T07:14:24.329Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-25T07:14:36.516Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-25T07:14:36.516Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-08-25T07:14:40.705Z] go vet ./... [2023-08-25T07:14:44.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T07:14:44.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T07:14:44.886Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T07:14:44.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T07:14:44.957Z] $ docker stop --time=1 00ab776038b29e2b4d507a6933b2ac6b415c5143f75048c762007e91ce934757 [2023-08-25T07:14:47.556Z] $ docker rm -f --volumes 00ab776038b29e2b4d507a6933b2ac6b415c5143f75048c762007e91ce934757 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T07:14:48.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T07:14:48.154Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T07:14:48.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T07:14:49.065Z] + ls -al . [2023-08-25T07:14:49.065Z] total 188 [2023-08-25T07:14:49.065Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:14 . [2023-08-25T07:14:49.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:13 .. [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 25 07:13 .dockerignore [2023-08-25T07:14:49.066Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:13 .git [2023-08-25T07:14:49.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:13 .github [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 07:13 .gitignore [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:13 .golangci.yml [2023-08-25T07:14:49.066Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:13 .semver [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 10409 Aug 25 07:13 Attribution.txt [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 25 07:13 CHANGELOG.md [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 25 07:13 Dockerfile [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:13 GOVERNANCE.md [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:13 Jenkinsfile [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:13 LICENSE [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 2031 Aug 25 07:13 Makefile [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 07:13 OWNERS.md [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 25 07:13 README.md [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:13 VERSION [2023-08-25T07:14:49.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:13 bin [2023-08-25T07:14:49.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:13 cmd [2023-08-25T07:14:49.066Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 25 07:14 coverage.out [2023-08-25T07:14:49.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:13 driver [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 3932 Aug 25 07:13 go.mod [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 34255 Aug 25 07:13 go.sum [2023-08-25T07:14:49.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:13 snap [2023-08-25T07:14:49.066Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 25 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:14:49.461Z] + 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=02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 --label arch=amd64 --label version=0.0.0 . [2023-08-25T07:14:49.461Z] Sending build context to Docker daemon 10.93MB [2023-08-25T07:14:49.461Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T07:14:49.461Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T07:14:49.461Z] ---> 7c2b97b6072b [2023-08-25T07:14:49.461Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T07:14:49.461Z] ---> Running in b303e88215f1 [2023-08-25T07:14:49.722Z] Removing intermediate container b303e88215f1 [2023-08-25T07:14:49.722Z] ---> 1ddd1ed555eb [2023-08-25T07:14:49.722Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T07:14:49.722Z] ---> Running in c547dbe7ce41 [2023-08-25T07:14:49.722Z] Removing intermediate container c547dbe7ce41 [2023-08-25T07:14:49.722Z] ---> b335bd52d7a2 [2023-08-25T07:14:49.722Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T07:14:49.722Z] ---> Running in 05bcd430406b [2023-08-25T07:14:49.722Z] Removing intermediate container 05bcd430406b [2023-08-25T07:14:49.722Z] ---> 44f7cb9e3bca [2023-08-25T07:14:49.722Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T07:14:49.979Z] ---> Running in 1e392635c378 [2023-08-25T07:14:49.979Z] Removing intermediate container 1e392635c378 [2023-08-25T07:14:49.979Z] ---> a8d95da3b2ff [2023-08-25T07:14:49.979Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T07:14:49.979Z] ---> Running in 4f0adcdd9951 [2023-08-25T07:14:50.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T07:14:50.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T07:14:50.759Z] OK: 269 MiB in 57 packages [2023-08-25T07:14:51.018Z] Removing intermediate container 4f0adcdd9951 [2023-08-25T07:14:51.018Z] ---> 2ce10ce3e0d0 [2023-08-25T07:14:51.018Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-25T07:14:51.018Z] ---> Running in 8d13d0a1779b [2023-08-25T07:14:51.277Z] Removing intermediate container 8d13d0a1779b [2023-08-25T07:14:51.277Z] ---> 0231de18f280 [2023-08-25T07:14:51.277Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-25T07:14:51.277Z] ---> 921843302752 [2023-08-25T07:14:51.277Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T07:14:51.277Z] ---> Running in de65f4e1c20b [2023-08-25T07:14:52.669Z] Removing intermediate container de65f4e1c20b [2023-08-25T07:14:52.669Z] ---> 662fc84a1b3e [2023-08-25T07:14:52.669Z] Step 11/25 : COPY . . [2023-08-25T07:14:52.669Z] ---> d1e1ad2cd65c [2023-08-25T07:14:52.669Z] Step 12/25 : RUN $MAKE [2023-08-25T07:14:52.669Z] ---> Running in 39fb16ab0eac [2023-08-25T07:14:52.669Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-25T07:15:14.636Z] Removing intermediate container 39fb16ab0eac [2023-08-25T07:15:14.636Z] ---> 5c8afbbe1652 [2023-08-25T07:15:14.636Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T07:15:14.636Z] 3.17: Pulling from library/alpine [2023-08-25T07:15:14.636Z] 9398808236ff: Pulling fs layer [2023-08-25T07:15:14.636Z] 9398808236ff: Download complete [2023-08-25T07:15:14.636Z] 9398808236ff: Pull complete [2023-08-25T07:15:14.636Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T07:15:14.636Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T07:15:14.636Z] ---> 1e0b8b5322fc [2023-08-25T07:15:14.636Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T07:15:14.636Z] ---> Running in ecb8c9b7112f [2023-08-25T07:15:14.636Z] Removing intermediate container ecb8c9b7112f [2023-08-25T07:15:14.636Z] ---> a655091e8602 [2023-08-25T07:15:14.636Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-25T07:15:14.636Z] ---> Running in 48e4902adf3a [2023-08-25T07:15:14.636Z] Removing intermediate container 48e4902adf3a [2023-08-25T07:15:14.636Z] ---> 1d6414feb617 [2023-08-25T07:15:14.636Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-25T07:15:14.636Z] ---> Running in d32a0eca7dba [2023-08-25T07:15:14.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T07:15:14.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T07:15:14.636Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T07:15:14.636Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T07:15:14.636Z] OK: 7 MiB in 16 packages [2023-08-25T07:15:14.636Z] Removing intermediate container d32a0eca7dba [2023-08-25T07:15:14.636Z] ---> 5fab76481724 [2023-08-25T07:15:14.636Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-25T07:15:14.636Z] ---> 55cd3abc86a5 [2023-08-25T07:15:14.636Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-25T07:15:14.636Z] ---> 0548fa2d000b [2023-08-25T07:15:14.636Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-25T07:15:14.636Z] ---> 8d5dfb3f5173 [2023-08-25T07:15:14.636Z] Step 20/25 : EXPOSE 59986 [2023-08-25T07:15:14.636Z] ---> Running in 86b7ae89cb4b [2023-08-25T07:15:14.894Z] Removing intermediate container 86b7ae89cb4b [2023-08-25T07:15:14.894Z] ---> d26c008267f3 [2023-08-25T07:15:14.894Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-25T07:15:14.894Z] ---> Running in 9d00d0f8c08a [2023-08-25T07:15:14.894Z] Removing intermediate container 9d00d0f8c08a [2023-08-25T07:15:14.894Z] ---> 853322e99388 [2023-08-25T07:15:14.895Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T07:15:14.895Z] ---> Running in 0b19e298b69b [2023-08-25T07:15:14.895Z] Removing intermediate container 0b19e298b69b [2023-08-25T07:15:14.895Z] ---> 42d05f7c36da [2023-08-25T07:15:14.895Z] Step 23/25 : LABEL arch=amd64 [2023-08-25T07:15:14.895Z] ---> Running in 239278d18024 [2023-08-25T07:15:15.153Z] Removing intermediate container 239278d18024 [2023-08-25T07:15:15.153Z] ---> f12bac98aeb4 [2023-08-25T07:15:15.153Z] Step 24/25 : LABEL git_sha=02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [2023-08-25T07:15:15.153Z] ---> Running in fe15eb0d1100 [2023-08-25T07:15:15.153Z] Removing intermediate container fe15eb0d1100 [2023-08-25T07:15:15.153Z] ---> d9ed05ffe20b [2023-08-25T07:15:15.153Z] Step 25/25 : LABEL version=0.0.0 [2023-08-25T07:15:15.153Z] ---> Running in e963dc06b3c7 [2023-08-25T07:15:15.153Z] Removing intermediate container e963dc06b3c7 [2023-08-25T07:15:15.153Z] ---> aaac0ad3024e [2023-08-25T07:15:15.153Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T07:15:15.153Z] Successfully built aaac0ad3024e [2023-08-25T07:15:15.153Z] 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-08-25T07:15:15.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:15:15.959Z] [2023-08-25T07:15:15.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:15:16.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:15:16.342Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T07:15:16.342Z] 5eb5b503b376: Pulling fs layer [2023-08-25T07:15:16.342Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T07:15:16.342Z] ec43610c2a17: Pulling fs layer [2023-08-25T07:15:16.342Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T07:15:16.342Z] 33b1e0a273af: Pulling fs layer [2023-08-25T07:15:16.342Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T07:15:16.342Z] 2f39f015ded8: Pulling fs layer [2023-08-25T07:15:16.342Z] 3a2ae6a8a46f: Waiting [2023-08-25T07:15:16.342Z] 33b1e0a273af: Waiting [2023-08-25T07:15:16.342Z] 5d3b04190fa2: Waiting [2023-08-25T07:15:16.342Z] 2f39f015ded8: Waiting [2023-08-25T07:15:16.342Z] 5c69ac0246d0: Download complete [2023-08-25T07:15:16.342Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T07:15:16.342Z] 3a2ae6a8a46f: Download complete [2023-08-25T07:15:16.342Z] 33b1e0a273af: Verifying Checksum [2023-08-25T07:15:16.342Z] 33b1e0a273af: Download complete [2023-08-25T07:15:16.342Z] 5d3b04190fa2: Download complete [2023-08-25T07:15:16.342Z] ec43610c2a17: Verifying Checksum [2023-08-25T07:15:16.342Z] ec43610c2a17: Download complete [2023-08-25T07:15:16.601Z] 5eb5b503b376: Verifying Checksum [2023-08-25T07:15:16.601Z] 5eb5b503b376: Download complete [2023-08-25T07:15:17.166Z] 2f39f015ded8: Download complete [2023-08-25T07:15:17.732Z] 5eb5b503b376: Pull complete [2023-08-25T07:15:17.732Z] 5c69ac0246d0: Pull complete [2023-08-25T07:15:18.297Z] ec43610c2a17: Pull complete [2023-08-25T07:15:18.297Z] 3a2ae6a8a46f: Pull complete [2023-08-25T07:15:18.555Z] 33b1e0a273af: Pull complete [2023-08-25T07:15:18.555Z] 5d3b04190fa2: Pull complete [2023-08-25T07:15:24.946Z] 2f39f015ded8: Pull complete [2023-08-25T07:15:24.946Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T07:15:24.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:15:24.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:15:25.172Z] prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container [2023-08-25T07:15:25.213Z] $ 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-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T07:15:28.955Z] $ docker top ec835c15359c0f70a384f87c9b8bd69519196c387dbb78df8cad592f43f95918 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:15:29.391Z] ---> job-cost.sh [2023-08-25T07:15:29.391Z] lf-activate-venv: SKIPPING [2023-08-25T07:15:29.391Z] INFO: No Stack... [2023-08-25T07:15:29.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T07:15:30.219Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T07:15:30.534Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-332/archives/cost.csv [2023-08-25T07:15:30.535Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T07:15:30.574Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] [2023-08-25T07:15:30.579Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] did not exist. Created. [2023-08-25T07:15:30.579Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T07:15:30.973Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T07:15:31.019Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T07:15:31.052Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T07:15:31.141Z] $ docker stop --time=1 ec835c15359c0f70a384f87c9b8bd69519196c387dbb78df8cad592f43f95918 [2023-08-25T07:15:32.294Z] $ docker rm -f --volumes ec835c15359c0f70a384f87c9b8bd69519196c387dbb78df8cad592f43f95918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T07:16:14.491Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4519 in /w/workspace/gexfoundry_device-rest-go_PR-332 [Pipeline] { [Pipeline] ws [2023-08-25T07:16:14.548Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-08-25T07:16:14.629Z] The recommended git tool is: git [2023-08-25T07:16:20.204Z] using credential edgex-jenkins-ssh [2023-08-25T07:16:20.221Z] Cloning the remote Git repository [2023-08-25T07:16:20.275Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-25T07:16:20.386Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-08-25T07:16:20.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-25T07:16:20.550Z] > git --version # timeout=10 [2023-08-25T07:16:20.574Z] > git --version # 'git version 2.25.1' [2023-08-25T07:16:20.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T07:16:20.743Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T07:16:22.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-25T07:16:22.648Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T07:16:24.078Z] Merging remotes/origin/main commit 6f0e88eb43ac42bba557c9333c6d12baa04244ae into PR head commit 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [2023-08-25T07:16:24.375Z] Merge succeeded, producing 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [2023-08-25T07:16:24.376Z] Checking out Revision 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 (PR-332) [2023-08-25T07:16:23.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-25T07:16:23.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-25T07:16:23.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T07:16:23.531Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-25T07:16:24.101Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T07:16:24.181Z] > git checkout -f 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 # timeout=10 [2023-08-25T07:16:24.271Z] > git remote # timeout=10 [2023-08-25T07:16:24.296Z] > git config --get remote.origin.url # timeout=10 [2023-08-25T07:16:24.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T07:16:24.327Z] > git merge 6f0e88eb43ac42bba557c9333c6d12baa04244ae # timeout=10 [2023-08-25T07:16:24.354Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-25T07:16:24.387Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T07:16:24.401Z] > git checkout -f 02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 # timeout=10 [2023-08-25T07:16:27.902Z] Commit message: "build: move SDK to v3.1.0-dev.16" [2023-08-25T07:16:27.955Z] > git --version # timeout=10 [2023-08-25T07:16:27.966Z] > git --version # 'git version 2.25.1' [2023-08-25T07:16:27.983Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T07:16:29.079Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T07:16:29.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T07:16:29.079Z] Dload Upload Total Spent Left Speed [2023-08-25T07:16:29.079Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-08-25T07:16:29.950Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T07:16:30.312Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-08-25T07:16:30.313Z] /etc/docker/daemon.json [2023-08-25T07:16:30.313Z] { [2023-08-25T07:16:30.313Z] "registry-mirrors": [ [2023-08-25T07:16:30.313Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T07:16:30.313Z] ], [2023-08-25T07:16:30.313Z] "bip": "10.250.0.254/24", [2023-08-25T07:16:30.313Z] "hosts": [ [2023-08-25T07:16:30.313Z] "tcp://0.0.0.0:5555", [2023-08-25T07:16:30.313Z] "unix:///var/run/docker.sock" [2023-08-25T07:16:30.313Z] ], [2023-08-25T07:16:30.313Z] "mtu": 1458, [2023-08-25T07:16:30.313Z] "selinux-enabled": true, [2023-08-25T07:16:30.313Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T07:16:30.313Z] } [Pipeline] sh [2023-08-25T07:16:30.671Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T07:16:31.017Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T07:16:49.316Z] provisioning config files... [2023-08-25T07:16:49.342Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5539078374595317585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:16:49.724Z] ---> docker-login.sh [2023-08-25T07:16:49.724Z] nexus3.edgexfoundry.org:10001 [2023-08-25T07:16:49.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:16:50.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:16:50.589Z] Configure a credential helper to remove this warning. See [2023-08-25T07:16:50.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:16:50.589Z] [2023-08-25T07:16:50.589Z] Login Succeeded [2023-08-25T07:16:50.589Z] nexus3.edgexfoundry.org:10002 [2023-08-25T07:16:50.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:16:50.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:16:50.860Z] Configure a credential helper to remove this warning. See [2023-08-25T07:16:50.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:16:50.860Z] [2023-08-25T07:16:50.860Z] Login Succeeded [2023-08-25T07:16:50.860Z] nexus3.edgexfoundry.org:10003 [2023-08-25T07:16:51.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:16:51.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:16:51.130Z] Configure a credential helper to remove this warning. See [2023-08-25T07:16:51.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:16:51.130Z] [2023-08-25T07:16:51.130Z] Login Succeeded [2023-08-25T07:16:51.130Z] nexus3.edgexfoundry.org:10004 [2023-08-25T07:16:51.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:16:51.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:16:51.404Z] Configure a credential helper to remove this warning. See [2023-08-25T07:16:51.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:16:51.404Z] [2023-08-25T07:16:51.404Z] Login Succeeded [2023-08-25T07:16:51.404Z] docker.io [2023-08-25T07:16:51.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T07:16:51.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T07:16:51.940Z] Configure a credential helper to remove this warning. See [2023-08-25T07:16:51.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T07:16:51.940Z] [2023-08-25T07:16:51.940Z] Login Succeeded [2023-08-25T07:16:51.940Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T07:16:51.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T07:16:52.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T07:16:52.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T07:16:52.412Z] ========================================================= [2023-08-25T07:16:52.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T07:16:52.412Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:16:52.907Z] + 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-08-25T07:16:52.908Z] Sending build context to Docker daemon 143.9kB [2023-08-25T07:16:53.180Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T07:16:53.180Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T07:16:53.180Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T07:16:53.180Z] edb6bdbacee9: Pulling fs layer [2023-08-25T07:16:53.180Z] 5f9638ab2659: Pulling fs layer [2023-08-25T07:16:53.180Z] 8d51d6327a98: Pulling fs layer [2023-08-25T07:16:53.180Z] 8b374f2dd631: Pulling fs layer [2023-08-25T07:16:53.180Z] ec14aa9079de: Pulling fs layer [2023-08-25T07:16:53.180Z] 2f466654f4bb: Pulling fs layer [2023-08-25T07:16:53.180Z] 554e91adad29: Pulling fs layer [2023-08-25T07:16:53.180Z] ec14aa9079de: Waiting [2023-08-25T07:16:53.180Z] 2f466654f4bb: Waiting [2023-08-25T07:16:53.180Z] 554e91adad29: Waiting [2023-08-25T07:16:53.540Z] 5f9638ab2659: Verifying Checksum [2023-08-25T07:16:53.540Z] 5f9638ab2659: Download complete [2023-08-25T07:16:53.540Z] 8b374f2dd631: Verifying Checksum [2023-08-25T07:16:53.540Z] 8b374f2dd631: Download complete [2023-08-25T07:16:53.540Z] ec14aa9079de: Verifying Checksum [2023-08-25T07:16:53.540Z] ec14aa9079de: Download complete [2023-08-25T07:16:53.540Z] edb6bdbacee9: Verifying Checksum [2023-08-25T07:16:53.540Z] edb6bdbacee9: Download complete [2023-08-25T07:16:54.532Z] edb6bdbacee9: Pull complete [2023-08-25T07:16:55.127Z] 554e91adad29: Verifying Checksum [2023-08-25T07:16:55.127Z] 554e91adad29: Download complete [2023-08-25T07:16:55.127Z] 5f9638ab2659: Pull complete [2023-08-25T07:16:56.101Z] 2f466654f4bb: Verifying Checksum [2023-08-25T07:16:56.101Z] 2f466654f4bb: Download complete [2023-08-25T07:16:56.101Z] 8d51d6327a98: Verifying Checksum [2023-08-25T07:16:56.101Z] 8d51d6327a98: Download complete [2023-08-25T07:17:08.435Z] 8d51d6327a98: Pull complete [2023-08-25T07:17:08.435Z] 8b374f2dd631: Pull complete [2023-08-25T07:17:08.435Z] ec14aa9079de: Pull complete [2023-08-25T07:17:13.792Z] 2f466654f4bb: Pull complete [2023-08-25T07:17:16.393Z] 554e91adad29: Pull complete [2023-08-25T07:17:16.662Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T07:17:16.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T07:17:16.662Z] ---> 1e15ea492957 [2023-08-25T07:17:16.662Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T07:17:18.635Z] ---> Running in c08a149463ee [2023-08-25T07:17:18.904Z] Removing intermediate container c08a149463ee [2023-08-25T07:17:18.904Z] ---> 96119e0be7b6 [2023-08-25T07:17:18.904Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T07:17:18.904Z] ---> Running in a15c548a37cc [2023-08-25T07:17:19.171Z] Removing intermediate container a15c548a37cc [2023-08-25T07:17:19.171Z] ---> 7c37acb57ced [2023-08-25T07:17:19.171Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T07:17:19.171Z] ---> Running in ff6b32ad6c80 [2023-08-25T07:17:19.437Z] Removing intermediate container ff6b32ad6c80 [2023-08-25T07:17:19.437Z] ---> cd80c25ae6e9 [2023-08-25T07:17:19.437Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T07:17:19.705Z] ---> Running in 91b7a27e8000 [2023-08-25T07:17:19.976Z] Removing intermediate container 91b7a27e8000 [2023-08-25T07:17:19.976Z] ---> fc97988b17b3 [2023-08-25T07:17:19.976Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T07:17:19.976Z] ---> Running in 4d0e33ed92ca [2023-08-25T07:17:21.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T07:17:21.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T07:17:23.068Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T07:17:23.068Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T07:17:23.068Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T07:17:23.068Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T07:17:23.068Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T07:17:23.068Z] OK: 268 MiB in 57 packages [2023-08-25T07:17:24.040Z] Removing intermediate container 4d0e33ed92ca [2023-08-25T07:17:24.040Z] ---> 10d3ec6febfb [2023-08-25T07:17:24.040Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-25T07:17:24.040Z] ---> Running in 3700194fabdf [2023-08-25T07:17:24.312Z] Removing intermediate container 3700194fabdf [2023-08-25T07:17:24.312Z] ---> 5c2ee045d074 [2023-08-25T07:17:24.312Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T07:17:26.898Z] ---> 4f8f6073435c [2023-08-25T07:17:26.898Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T07:17:27.166Z] ---> Running in af759c1e89b4 [2023-08-25T07:18:35.082Z] Removing intermediate container af759c1e89b4 [2023-08-25T07:18:35.082Z] ---> e761cd454399 [2023-08-25T07:18:35.082Z] Step 11/12 : COPY . . [2023-08-25T07:18:35.082Z] ---> 15eb8494a524 [2023-08-25T07:18:35.082Z] Step 12/12 : RUN $MAKE [2023-08-25T07:18:35.082Z] ---> Running in 49ffee025bef [2023-08-25T07:18:35.082Z] noop [2023-08-25T07:18:35.082Z] Removing intermediate container 49ffee025bef [2023-08-25T07:18:35.082Z] ---> 5a7d9ce655e6 [2023-08-25T07:18:35.082Z] Successfully built 5a7d9ce655e6 [2023-08-25T07:18:35.082Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:18:35.573Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T07:18:35.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:18:35.865Z] prd-ubuntu20.04-docker-arm64-4c-16g-4519 does not seem to be running inside a container [2023-08-25T07:18:35.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T07:18:37.188Z] $ docker top 5d0de7b2189fa6fbab4bd9141238069db054694d7ef6e4ad96ffbb59205f99e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:18:38.082Z] + go version [2023-08-25T07:18:38.082Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T07:18:38.118Z] $ docker stop --time=1 5d0de7b2189fa6fbab4bd9141238069db054694d7ef6e4ad96ffbb59205f99e6 [2023-08-25T07:18:39.759Z] $ docker rm -f --volumes 5d0de7b2189fa6fbab4bd9141238069db054694d7ef6e4ad96ffbb59205f99e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:18:40.630Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T07:18:40.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:18:40.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-4519 does not seem to be running inside a container [2023-08-25T07:18:40.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T07:18:42.143Z] $ docker top 2b41acbc9506da38c1a40c45593c25be9ebaf6c08465c95ca5ec12ad181739a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:18:42.694Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-25T07:18:43.087Z] + make test [2023-08-25T07:18:43.087Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T07:19:15.324Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-25T07:21:22.057Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-25T07:21:22.058Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 32.2% of statements [2023-08-25T07:21:22.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T07:21:22.058Z] go vet ./... [2023-08-25T07:21:44.127Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T07:21:44.127Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T07:21:44.127Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T07:21:44.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T07:21:44.197Z] $ docker stop --time=1 2b41acbc9506da38c1a40c45593c25be9ebaf6c08465c95ca5ec12ad181739a7 [2023-08-25T07:21:45.997Z] $ docker rm -f --volumes 2b41acbc9506da38c1a40c45593c25be9ebaf6c08465c95ca5ec12ad181739a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T07:21:47.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T07:21:47.184Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T07:21:47.712Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T07:21:48.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T07:21:48.627Z] + ls -al . [2023-08-25T07:21:48.627Z] total 184 [2023-08-25T07:21:48.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:18 . [2023-08-25T07:21:48.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:16 .. [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 25 07:16 .dockerignore [2023-08-25T07:21:48.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:16 .git [2023-08-25T07:21:48.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:16 .github [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 07:16 .gitignore [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:16 .golangci.yml [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 10409 Aug 25 07:16 Attribution.txt [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 25 07:16 CHANGELOG.md [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 25 07:16 Dockerfile [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:16 GOVERNANCE.md [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 07:16 Jenkinsfile [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:16 LICENSE [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 2031 Aug 25 07:16 Makefile [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 07:16 OWNERS.md [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 25 07:16 README.md [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:13 VERSION [2023-08-25T07:21:48.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:16 bin [2023-08-25T07:21:48.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:16 cmd [2023-08-25T07:21:48.627Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 25 07:21 coverage.out [2023-08-25T07:21:48.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:16 driver [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 3932 Aug 25 07:16 go.mod [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 34255 Aug 25 07:16 go.sum [2023-08-25T07:21:48.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:16 snap [2023-08-25T07:21:48.627Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 25 07:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:21:49.055Z] + 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=02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 --label arch=arm64 --label version=0.0.0 . [2023-08-25T07:21:49.055Z] Sending build context to Docker daemon 159.2kB [2023-08-25T07:21:49.330Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T07:21:49.330Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T07:21:49.330Z] ---> 5a7d9ce655e6 [2023-08-25T07:21:49.330Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T07:21:49.330Z] ---> Running in 1c58281f8991 [2023-08-25T07:21:49.604Z] Removing intermediate container 1c58281f8991 [2023-08-25T07:21:49.604Z] ---> 65e5d59e7cee [2023-08-25T07:21:49.604Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T07:21:49.874Z] ---> Running in aeca6166961a [2023-08-25T07:21:50.145Z] Removing intermediate container aeca6166961a [2023-08-25T07:21:50.145Z] ---> 8a0d0ae3b7dc [2023-08-25T07:21:50.145Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T07:21:50.145Z] ---> Running in 74a674575f43 [2023-08-25T07:21:50.414Z] Removing intermediate container 74a674575f43 [2023-08-25T07:21:50.414Z] ---> b5e632f44506 [2023-08-25T07:21:50.414Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T07:21:50.414Z] ---> Running in d147b93d4032 [2023-08-25T07:21:50.681Z] Removing intermediate container d147b93d4032 [2023-08-25T07:21:50.681Z] ---> a4fb8198a4d6 [2023-08-25T07:21:50.681Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T07:21:50.958Z] ---> Running in 9da97076bf45 [2023-08-25T07:21:51.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T07:21:52.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T07:21:53.485Z] OK: 268 MiB in 57 packages [2023-08-25T07:21:54.071Z] Removing intermediate container 9da97076bf45 [2023-08-25T07:21:54.071Z] ---> 2ba1ff19c111 [2023-08-25T07:21:54.071Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-25T07:21:54.340Z] ---> Running in 8e4d5b3686ac [2023-08-25T07:21:54.610Z] Removing intermediate container 8e4d5b3686ac [2023-08-25T07:21:54.610Z] ---> 07230b55794a [2023-08-25T07:21:54.610Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-25T07:21:57.282Z] ---> c879e60aaed3 [2023-08-25T07:21:57.282Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T07:21:57.282Z] ---> Running in 3659384e537e [2023-08-25T07:21:59.230Z] Removing intermediate container 3659384e537e [2023-08-25T07:21:59.230Z] ---> 922f5c05a201 [2023-08-25T07:21:59.230Z] Step 11/25 : COPY . . [2023-08-25T07:21:59.498Z] ---> 72e0cf736723 [2023-08-25T07:21:59.498Z] Step 12/25 : RUN $MAKE [2023-08-25T07:21:59.498Z] ---> Running in 2e38cb5d796e [2023-08-25T07:22:00.481Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-25T07:24:22.219Z] Removing intermediate container 2e38cb5d796e [2023-08-25T07:24:22.219Z] ---> cc34d8bf032f [2023-08-25T07:24:22.219Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T07:24:22.219Z] 3.17: Pulling from library/alpine [2023-08-25T07:24:22.219Z] 4060ece20d7a: Pulling fs layer [2023-08-25T07:24:22.219Z] 4060ece20d7a: Verifying Checksum [2023-08-25T07:24:22.219Z] 4060ece20d7a: Download complete [2023-08-25T07:24:22.219Z] 4060ece20d7a: Pull complete [2023-08-25T07:24:22.219Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T07:24:22.219Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T07:24:22.219Z] ---> 8650cd65339b [2023-08-25T07:24:22.219Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T07:24:22.219Z] ---> Running in 30e65893ecc9 [2023-08-25T07:24:22.219Z] Removing intermediate container 30e65893ecc9 [2023-08-25T07:24:22.219Z] ---> e135652fd731 [2023-08-25T07:24:22.219Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-25T07:24:22.219Z] ---> Running in f54436a55454 [2023-08-25T07:24:22.219Z] Removing intermediate container f54436a55454 [2023-08-25T07:24:22.219Z] ---> 6d258bfa1ca9 [2023-08-25T07:24:22.219Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-25T07:24:22.219Z] ---> Running in 3fdb727738e0 [2023-08-25T07:24:22.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T07:24:22.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T07:24:22.219Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T07:24:22.219Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T07:24:22.219Z] OK: 8 MiB in 16 packages [2023-08-25T07:24:22.219Z] Removing intermediate container 3fdb727738e0 [2023-08-25T07:24:22.219Z] ---> 9d579b43c37e [2023-08-25T07:24:22.219Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-25T07:24:22.219Z] ---> 418d74ebe73a [2023-08-25T07:24:22.219Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-25T07:24:22.219Z] ---> fe2a8b33cb9d [2023-08-25T07:24:22.219Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-25T07:24:22.219Z] ---> 4f15a7f2e7f9 [2023-08-25T07:24:22.219Z] Step 20/25 : EXPOSE 59986 [2023-08-25T07:24:22.219Z] ---> Running in 3264b96b9a34 [2023-08-25T07:24:22.219Z] Removing intermediate container 3264b96b9a34 [2023-08-25T07:24:22.219Z] ---> c0604b762284 [2023-08-25T07:24:22.219Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-25T07:24:22.219Z] ---> Running in 422729cf367f [2023-08-25T07:24:22.219Z] Removing intermediate container 422729cf367f [2023-08-25T07:24:22.219Z] ---> 11b5286a2025 [2023-08-25T07:24:22.219Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T07:24:22.219Z] ---> Running in 43af335b1eae [2023-08-25T07:24:22.219Z] Removing intermediate container 43af335b1eae [2023-08-25T07:24:22.219Z] ---> a8b50cdd73a9 [2023-08-25T07:24:22.219Z] Step 23/25 : LABEL arch=arm64 [2023-08-25T07:24:22.219Z] ---> Running in 3d69a1c24ad3 [2023-08-25T07:24:22.219Z] Removing intermediate container 3d69a1c24ad3 [2023-08-25T07:24:22.219Z] ---> b3f7760c3614 [2023-08-25T07:24:22.219Z] Step 24/25 : LABEL git_sha=02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [2023-08-25T07:24:22.219Z] ---> Running in 6037ad330c1f [2023-08-25T07:24:22.492Z] Removing intermediate container 6037ad330c1f [2023-08-25T07:24:22.492Z] ---> 765e1cc01393 [2023-08-25T07:24:22.492Z] Step 25/25 : LABEL version=0.0.0 [2023-08-25T07:24:22.764Z] ---> Running in c8434ca2e3ef [2023-08-25T07:24:23.031Z] Removing intermediate container c8434ca2e3ef [2023-08-25T07:24:23.031Z] ---> 5fd464638b1a [2023-08-25T07:24:23.031Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T07:24:23.031Z] Successfully built 5fd464638b1a [2023-08-25T07:24:23.031Z] 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-08-25T07:24:23.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T07:24:23.815Z] [2023-08-25T07:24:23.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:24:24.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T07:24:24.208Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T07:24:24.208Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T07:24:24.208Z] 04944245beec: Pulling fs layer [2023-08-25T07:24:24.208Z] 699f458cf7ca: Pulling fs layer [2023-08-25T07:24:24.208Z] 765212b225bb: Pulling fs layer [2023-08-25T07:24:24.208Z] f23df028b6ca: Pulling fs layer [2023-08-25T07:24:24.208Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T07:24:24.208Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T07:24:24.208Z] 765212b225bb: Waiting [2023-08-25T07:24:24.208Z] f23df028b6ca: Waiting [2023-08-25T07:24:24.208Z] d65c8cfc05b1: Waiting [2023-08-25T07:24:24.208Z] 2437ff75d9bd: Waiting [2023-08-25T07:24:24.476Z] 04944245beec: Verifying Checksum [2023-08-25T07:24:24.476Z] 04944245beec: Download complete [2023-08-25T07:24:24.476Z] 765212b225bb: Verifying Checksum [2023-08-25T07:24:24.476Z] 765212b225bb: Download complete [2023-08-25T07:24:24.476Z] f23df028b6ca: Verifying Checksum [2023-08-25T07:24:24.476Z] f23df028b6ca: Download complete [2023-08-25T07:24:24.476Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T07:24:24.476Z] d65c8cfc05b1: Download complete [2023-08-25T07:24:24.476Z] 699f458cf7ca: Verifying Checksum [2023-08-25T07:24:24.476Z] 699f458cf7ca: Download complete [2023-08-25T07:24:25.065Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T07:24:25.065Z] 8998bd30e6a1: Download complete [2023-08-25T07:24:27.017Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T07:24:27.018Z] 2437ff75d9bd: Download complete [2023-08-25T07:24:28.963Z] 8998bd30e6a1: Pull complete [2023-08-25T07:24:29.233Z] 04944245beec: Pull complete [2023-08-25T07:24:30.646Z] 699f458cf7ca: Pull complete [2023-08-25T07:24:30.916Z] 765212b225bb: Pull complete [2023-08-25T07:24:31.504Z] f23df028b6ca: Pull complete [2023-08-25T07:24:31.771Z] d65c8cfc05b1: Pull complete [2023-08-25T07:24:46.768Z] 2437ff75d9bd: Pull complete [2023-08-25T07:24:46.768Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T07:24:46.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T07:24:46.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:24:47.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-4519 does not seem to be running inside a container [2023-08-25T07:24:47.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-25T07:24:49.544Z] $ docker top 1dc626cc4552a679589304003d0423c98c1644ad5c94c6db3dc2529c4294a695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:24:50.110Z] ---> job-cost.sh [2023-08-25T07:24:50.375Z] lf-activate-venv: SKIPPING [2023-08-25T07:24:50.375Z] INFO: No Stack... [2023-08-25T07:24:50.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T07:24:51.595Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T07:24:51.931Z] + cut -d, -f6+ [2023-08-25T07:24:51.931Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-08-25T07:24:52.026Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] [2023-08-25T07:24:52.030Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] did not exist. Created. [2023-08-25T07:24:52.030Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T07:24:52.436Z] /w/workspace/device-rest-go/1@tmp/durable-c8c29c3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T07:24:52.803Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T07:24:52.838Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T07:24:52.892Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T07:24:52.906Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T07:24:52.983Z] $ docker stop --time=1 1dc626cc4552a679589304003d0423c98c1644ad5c94c6db3dc2529c4294a695 [2023-08-25T07:24:54.441Z] $ docker rm -f --volumes 1dc626cc4552a679589304003d0423c98c1644ad5c94c6db3dc2529c4294a695 [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-08-25T07:24:55.426Z] provisioning config files... [2023-08-25T07:24:55.433Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config13553255945323863864tmp [Pipeline] { [Pipeline] sh [2023-08-25T07:24:55.775Z] + set +x [2023-08-25T07:24:55.775Z] + + curl -s https://codecov.io/bash [2023-08-25T07:24:55.775Z] bash -s -- [2023-08-25T07:24:55.775Z] [2023-08-25T07:24:55.775Z] _____ _ [2023-08-25T07:24:55.775Z] / ____| | | [2023-08-25T07:24:55.775Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T07:24:55.775Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T07:24:55.775Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T07:24:55.775Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T07:24:55.775Z] Bash-1.0.6 [2023-08-25T07:24:55.775Z] [2023-08-25T07:24:55.775Z] [2023-08-25T07:24:55.775Z] ==> git version 2.25.1 found [2023-08-25T07:24:55.775Z] ==> 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-08-25T07:24:55.775Z] Release-Date: 2020-01-08 [2023-08-25T07:24:55.775Z] 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-08-25T07:24:55.775Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T07:24:55.775Z] ==> Jenkins CI detected. [2023-08-25T07:24:55.775Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-332 [2023-08-25T07:24:55.775Z] project root: . [2023-08-25T07:24:55.775Z] --> token set from env [2023-08-25T07:24:55.775Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T07:24:55.775Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T07:24:55.775Z] ==> Python coveragepy not found [2023-08-25T07:24:55.775Z] ==> Searching for coverage reports in: [2023-08-25T07:24:55.775Z] + . [2023-08-25T07:24:55.775Z] -> Found 1 reports [2023-08-25T07:24:55.775Z] ==> Detecting git/mercurial file structure [2023-08-25T07:24:55.775Z] ==> Reading reports [2023-08-25T07:24:55.775Z] + ./coverage.out bytes=14656 [2023-08-25T07:24:55.775Z] ==> Appending adjustments [2023-08-25T07:24:55.775Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T07:24:56.035Z] + Found adjustments [2023-08-25T07:24:56.035Z] ==> Gzipping contents [2023-08-25T07:24:56.035Z] 4.0K /tmp/codecov.IFFVtf.gz [2023-08-25T07:24:56.035Z] ==> Uploading reports [2023-08-25T07:24:56.035Z] url: https://codecov.io [2023-08-25T07:24:56.035Z] query: branch=PR-332&commit=02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-08-25T07:24:56.035Z] -> Pinging Codecov [2023-08-25T07:24:56.035Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-332&commit=02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-08-25T07:24:56.035Z] -> Uploading to [2023-08-25T07:24:56.035Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/4E5D53B4F1F92C436F7061BF334D961C/02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12/bdc01185-dc2a-4b23-80e6-da465860b552.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T072455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d7e18febddc6d43c819f0def225000dee925197c59f3c5a98649a92872bd556 [2023-08-25T07:24:56.035Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T07:24:56.035Z] Dload Upload Total Spent Left Speed [2023-08-25T07:24:56.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 12779 --:--:-- --:--:-- --:--:-- 12779 [2023-08-25T07:24:56.295Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/02bbb8c80e7eb8a2d768bfb5f075ba6a696f6f12 [Pipeline] } [2023-08-25T07:24:56.325Z] 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-08-25T07:24:58.047Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-332/archives ] [2023-08-25T07:24:58.048Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-332/archives [2023-08-25T07:24:58.048Z] total 16 [2023-08-25T07:24:58.048Z] drwxr-xr-x 3 root root 4096 Aug 25 07:15 . [2023-08-25T07:24:58.048Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:15 .. [2023-08-25T07:24:58.048Z] drwxr-xr-x 2 root root 4096 Aug 25 07:15 cost [2023-08-25T07:24:58.048Z] -rw-r--r-- 1 root root 86 Aug 25 07:15 cost.csv [2023-08-25T07:24:58.048Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-332/archives [2023-08-25T07:24:58.048Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-332/archives [2023-08-25T07:24:58.048Z] total 16 [2023-08-25T07:24:58.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:15 . [2023-08-25T07:24:58.048Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:15 .. [2023-08-25T07:24:58.048Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:15 cost [2023-08-25T07:24:58.048Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 25 07:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:24:58.376Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:24:59.262Z] ---> package-listing.sh [2023-08-25T07:24:59.262Z] ++ facter osfamily [2023-08-25T07:24:59.262Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T07:24:59.521Z] + OS_FAMILY=debian [2023-08-25T07:24:59.521Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-332 [2023-08-25T07:24:59.521Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T07:24:59.521Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T07:24:59.521Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T07:24:59.521Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T07:24:59.521Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-332 ']' [2023-08-25T07:24:59.521Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T07:24:59.521Z] + case "${OS_FAMILY}" in [2023-08-25T07:24:59.521Z] + dpkg -l [2023-08-25T07:24:59.521Z] + grep '^ii' [2023-08-25T07:24:59.521Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T07:24:59.521Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T07:24:59.521Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T07:24:59.521Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-332 ']' [2023-08-25T07:24:59.521Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-332/archives/ [2023-08-25T07:24:59.521Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-332/archives/ [Pipeline] echo [2023-08-25T07:24:59.557Z] 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T07:24:59.853Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T07:25:00.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T07:25:00.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T07:25:00.616Z] prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container [2023-08-25T07:25:00.645Z] $ 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-332/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-332 -v /w/workspace/gexfoundry_device-rest-go_PR-332:/w/workspace/gexfoundry_device-rest-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-332@tmp:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T07:25:00.895Z] $ docker top 10276710702b4b612391c4a4dd3746ccd595f30c2f3417b5bc3c4aca2bf7c774 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T07:25:01.281Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T07:25:01.584Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T07:25:01.895Z] + ls /var/log/sa-host [2023-08-25T07:25:01.895Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T07:25:02.025Z] provisioning config files... [2023-08-25T07:25:02.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-332@tmp/config10298175371430788486tmp [Pipeline] { [Pipeline] echo [2023-08-25T07:25:02.085Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:25:02.400Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T07:25:02.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:25:02.816Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T07:25:02.847Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:25:03.158Z] ---> sudo-logs.sh [2023-08-25T07:25:03.158Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T07:25:03.244Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:25:03.558Z] ---> job-cost.sh [2023-08-25T07:25:03.559Z] lf-activate-venv: SKIPPING [2023-08-25T07:25:03.559Z] DEBUG: total: 0.2199999988079071 [2023-08-25T07:25:03.559Z] INFO: Retrieving Stack Cost... [2023-08-25T07:25:03.819Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T07:25:04.389Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T07:25:04.421Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T07:25:04.735Z] ---> logs-deploy.sh [2023-08-25T07:25:04.735Z] lf-activate-venv: SKIPPING [2023-08-25T07:25:04.735Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-332/1 [2023-08-25T07:25:04.735Z] INFO: archiving workspace using pattern(s): [2023-08-25T07:25:05.669Z] Archives upload complete. [2023-08-25T07:25:05.669Z] INFO: archiving logs to Nexus