Branch indexing 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0c8cee599e8840d59a5a88fbbd610b54878ba35e+83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (bfc9c98f99cf2a8e35511731cecba92c1f86377c) 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-ssh5850577353943764343.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17875519677801362691.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15710188293629472326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh319268788626738566.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh100867392062647422.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4261 in /w/workspace/gexfoundry_device-rest-go_PR-241 [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-241 # 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/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 into PR head commit 0c8cee599e8840d59a5a88fbbd610b54878ba35e Merge succeeded, producing c96eec26b44088bf5503a07fdd221e5943c19d2e Checking out Revision c96eec26b44088bf5503a07fdd221e5943c19d2e (PR-241) > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # 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 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c96eec26b44088bf5503a07fdd221e5943c19d2e # timeout=10 Commit message: "Merge commit '83d0d95cb873d118c9d8fcbcde0c6c79336165c6' into HEAD" > git rev-list --no-walk 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-01T15:08:21.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-01T15:08:21.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-01T15:08:21.457Z] ========================================================= [2023-02-01T15:08:21.457Z] EdgeX Global Pipelines Version Info [2023-02-01T15:08:21.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:08:22.545Z] ------------------- [2023-02-01T15:08:22.545Z] stable info: [2023-02-01T15:08:22.545Z] ------------------- [2023-02-01T15:08:22.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-01T15:08:22.545Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T15:08:22.545Z] Message: update stable to v1.0.244 [2023-02-01T15:08:22.805Z] ------------------- [2023-02-01T15:08:22.805Z] experimental info: [2023-02-01T15:08:22.805Z] ------------------- [2023-02-01T15:08:22.805Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-01T15:08:22.805Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T15:08:22.805Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-01T15:08:22.974Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-01T15:08:22.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-01T15:08:23.001Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-01T15:08:23.014Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-01T15:08:23.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-01T15:08:23.040Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-01T15:08:23.051Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-01T15:08:23.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-01T15:08:23.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-01T15:08:23.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-01T15:08:23.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-01T15:08:23.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-01T15:08:23.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-01T15:08:23.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-01T15:08:23.133Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-01T15:08:23.145Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-01T15:08:23.155Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T15:08:23.168Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T15:08:23.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-01T15:08:23.198Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-01T15:08:23.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-01T15:08:23.226Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-01T15:08:23.239Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-01T15:08:23.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-01T15:08:23.262Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-01T15:08:23.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-01T15:08:23.289Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-01T15:08:23.304Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-241 [Pipeline] echo [2023-02-01T15:08:23.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-241 [Pipeline] echo [2023-02-01T15:08:23.330Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-241 [Pipeline] echo [2023-02-01T15:08:23.342Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c96eec26b44088bf5503a07fdd221e5943c19d2e [Pipeline] echo [2023-02-01T15:08:23.355Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c96eec2 [Pipeline] echo [2023-02-01T15:08:23.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T15:08:23.409Z] provisioning config files... [2023-02-01T15:08:23.421Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config18103185967195251439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:08:23.718Z] ---> docker-login.sh [2023-02-01T15:08:23.718Z] nexus3.edgexfoundry.org:10001 [2023-02-01T15:08:23.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:24.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:24.240Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:24.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:24.240Z] [2023-02-01T15:08:24.240Z] Login Succeeded [2023-02-01T15:08:24.240Z] nexus3.edgexfoundry.org:10002 [2023-02-01T15:08:24.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:24.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:24.240Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:24.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:24.240Z] [2023-02-01T15:08:24.240Z] Login Succeeded [2023-02-01T15:08:24.240Z] nexus3.edgexfoundry.org:10003 [2023-02-01T15:08:24.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:24.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:24.500Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:24.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:24.500Z] [2023-02-01T15:08:24.500Z] Login Succeeded [2023-02-01T15:08:24.500Z] nexus3.edgexfoundry.org:10004 [2023-02-01T15:08:24.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:24.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:24.500Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:24.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:24.500Z] [2023-02-01T15:08:24.500Z] Login Succeeded [2023-02-01T15:08:24.500Z] docker.io [2023-02-01T15:08:24.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:24.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:24.762Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:24.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:24.762Z] [2023-02-01T15:08:24.762Z] Login Succeeded [2023-02-01T15:08:24.762Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T15:08:24.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-01T15:08:25.126Z] + git rev-list -1 --merges c96eec26b44088bf5503a07fdd221e5943c19d2e~1..c96eec26b44088bf5503a07fdd221e5943c19d2e [Pipeline] echo [2023-02-01T15:08:25.173Z] -----------> git rev-list -1 --merges c96eec26b44088bf5503a07fdd221e5943c19d2e~1..c96eec26b44088bf5503a07fdd221e5943c19d2e c96eec26b44088bf5503a07fdd221e5943c19d2e [2023-02-01T15:08:25.173Z] c96eec26b44088bf5503a07fdd221e5943c19d2e [false] [Pipeline] sh [2023-02-01T15:08:25.462Z] + git log --format=format:%s -1 c96eec26b44088bf5503a07fdd221e5943c19d2e [Pipeline] echo [2023-02-01T15:08:25.478Z] ========================================================= [2023-02-01T15:08:25.478Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-01T15:08:25.478Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T15:08:25.822Z] + git log --format=format:%s -1 c96eec26b44088bf5503a07fdd221e5943c19d2e [Pipeline] echo [2023-02-01T15:08:25.832Z] [semverPrep] GIT_COMMIT: c96eec26b44088bf5503a07fdd221e5943c19d2e, Commit Message: Merge commit '83d0d95cb873d118c9d8fcbcde0c6c79336165c6' into HEAD [Pipeline] echo [2023-02-01T15:08:25.844Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-01T15:08:26.186Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-01T15:08:26.186Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-01T15:08:26.186Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-01T15:08:26.186Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-01T15:08:26.186Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-01T15:08:26.186Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-01T15:08:26.186Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:08:26.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T15:08:26.526Z] [2023-02-01T15:08:26.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:08:26.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T15:08:28.223Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-01T15:08:28.223Z] b85a868b505f: Pulling fs layer [2023-02-01T15:08:28.223Z] e2be974225ed: Pulling fs layer [2023-02-01T15:08:28.223Z] 339a4e72a1f5: Pulling fs layer [2023-02-01T15:08:28.223Z] 988bab9f4d93: Pulling fs layer [2023-02-01T15:08:28.223Z] 1469e6f7b9e6: Pulling fs layer [2023-02-01T15:08:28.223Z] eaf3925da568: Pulling fs layer [2023-02-01T15:08:28.223Z] bab4dde63d76: Pulling fs layer [2023-02-01T15:08:28.223Z] bde34c3a00c8: Pulling fs layer [2023-02-01T15:08:28.223Z] b352a97aabf1: Pulling fs layer [2023-02-01T15:08:28.223Z] 4872d77fe225: Pulling fs layer [2023-02-01T15:08:28.223Z] 5851b861e8e6: Pulling fs layer [2023-02-01T15:08:28.223Z] 988bab9f4d93: Waiting [2023-02-01T15:08:28.223Z] b352a97aabf1: Waiting [2023-02-01T15:08:28.223Z] 4872d77fe225: Waiting [2023-02-01T15:08:28.223Z] 1469e6f7b9e6: Waiting [2023-02-01T15:08:28.223Z] 5851b861e8e6: Waiting [2023-02-01T15:08:28.223Z] bde34c3a00c8: Waiting [2023-02-01T15:08:28.223Z] bab4dde63d76: Waiting [2023-02-01T15:08:28.223Z] e2be974225ed: Download complete [2023-02-01T15:08:28.223Z] 988bab9f4d93: Download complete [2023-02-01T15:08:28.223Z] 1469e6f7b9e6: Verifying Checksum [2023-02-01T15:08:28.223Z] 1469e6f7b9e6: Download complete [2023-02-01T15:08:28.223Z] 339a4e72a1f5: Verifying Checksum [2023-02-01T15:08:28.223Z] 339a4e72a1f5: Download complete [2023-02-01T15:08:28.486Z] eaf3925da568: Verifying Checksum [2023-02-01T15:08:28.486Z] eaf3925da568: Download complete [2023-02-01T15:08:28.486Z] bde34c3a00c8: Download complete [2023-02-01T15:08:28.486Z] b352a97aabf1: Verifying Checksum [2023-02-01T15:08:28.486Z] b352a97aabf1: Download complete [2023-02-01T15:08:28.486Z] 4872d77fe225: Verifying Checksum [2023-02-01T15:08:28.486Z] 4872d77fe225: Download complete [2023-02-01T15:08:28.486Z] 5851b861e8e6: Download complete [2023-02-01T15:08:28.486Z] b85a868b505f: Verifying Checksum [2023-02-01T15:08:28.486Z] b85a868b505f: Download complete [2023-02-01T15:08:29.055Z] bab4dde63d76: Verifying Checksum [2023-02-01T15:08:29.055Z] bab4dde63d76: Download complete [2023-02-01T15:08:30.957Z] b85a868b505f: Pull complete [2023-02-01T15:08:32.348Z] e2be974225ed: Pull complete [2023-02-01T15:08:33.728Z] 339a4e72a1f5: Pull complete [2023-02-01T15:08:34.297Z] 988bab9f4d93: Pull complete [2023-02-01T15:08:34.556Z] 1469e6f7b9e6: Pull complete [2023-02-01T15:08:34.813Z] eaf3925da568: Pull complete [2023-02-01T15:08:36.752Z] bab4dde63d76: Pull complete [2023-02-01T15:08:36.752Z] bde34c3a00c8: Pull complete [2023-02-01T15:08:36.752Z] b352a97aabf1: Pull complete [2023-02-01T15:08:36.752Z] 4872d77fe225: Pull complete [2023-02-01T15:08:37.011Z] 5851b861e8e6: Pull complete [2023-02-01T15:08:37.011Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-01T15:08:37.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T15:08:37.011Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:08:37.099Z] prd-ubuntu20.04-docker-8c-8g-4261 does not seem to be running inside a container [2023-02-01T15:08:37.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-01T15:08:38.841Z] $ docker top 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef -eo pid,comm [2023-02-01T15:08:38.895Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-01T15:08:38.895Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-01T15:08:38.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T15:08:38.975Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T15:08:39.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T15:08:39.100Z] $ docker exec 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef ssh-agent [2023-02-01T15:08:39.199Z] SSH_AUTH_SOCK=/tmp/ssh-IjhLUr6neXdi/agent.32 [2023-02-01T15:08:39.199Z] SSH_AGENT_PID=38 [2023-02-01T15:08:39.206Z] Running ssh-add (command line suppressed) [2023-02-01T15:08:39.313Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_7123062133165214910.key (/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_7123062133165214910.key) [2023-02-01T15:08:39.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T15:08:39.611Z] + git tag --points-at HEAD [Pipeline] } [2023-02-01T15:08:39.630Z] $ docker exec --env ******** --env ******** 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef ssh-agent -k [2023-02-01T15:08:39.722Z] unset SSH_AUTH_SOCK; [2023-02-01T15:08:39.722Z] unset SSH_AGENT_PID; [2023-02-01T15:08:39.723Z] echo Agent pid 38 killed; [2023-02-01T15:08:39.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-01T15:08:39.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T15:08:39.771Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T15:08:39.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T15:08:39.886Z] $ docker exec 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef ssh-agent [2023-02-01T15:08:40.001Z] SSH_AUTH_SOCK=/tmp/ssh-h46kUQnwm9Pv/agent.70 [2023-02-01T15:08:40.001Z] SSH_AGENT_PID=76 [2023-02-01T15:08:40.006Z] Running ssh-add (command line suppressed) [2023-02-01T15:08:40.109Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_4155086041376716398.key (/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_4155086041376716398.key) [2023-02-01T15:08:40.120Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T15:08:40.409Z] + git semver init [2023-02-01T15:08:40.668Z] 2023-02-01 15:08:40,585 [run_init] DEBUG init version:0.0.0 force:False [2023-02-01T15:08:40.668Z] 2023-02-01 15:08:40,586 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver [2023-02-01T15:08:40.668Z] 2023-02-01 15:08:40,586 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-241/.semver [2023-02-01T15:08:40.668Z] 2023-02-01 15:08:40,586 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-241/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241, universal_newlines=False, shell=None, istream=None) [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,668 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-241/.git/info/exclude [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 with force:False [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,669 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,673 [execute] INFO git cat-file --batch-check [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,679 [execute] INFO git cat-file --batch [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T15:08:42.046Z] 2023-02-01 15:08:41,683 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 [2023-02-01T15:08:42.046Z] 0.0.0 [Pipeline] } [2023-02-01T15:08:42.060Z] $ docker exec --env ******** --env ******** 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef ssh-agent -k [2023-02-01T15:08:42.168Z] unset SSH_AUTH_SOCK; [2023-02-01T15:08:42.168Z] unset SSH_AGENT_PID; [2023-02-01T15:08:42.168Z] echo Agent pid 76 killed; [2023-02-01T15:08:42.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-01T15:08:42.482Z] + git semver [Pipeline] } [2023-02-01T15:08:43.073Z] $ docker stop --time=1 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef [2023-02-01T15:08:44.604Z] $ docker rm -f --volumes 1445c2176fc3274daba430a88d4a3d48c082d7d7b1c493f72da4f7208052fcef [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T15:08:44.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-01T15:08:45.215Z] Stashed 1 file(s) [Pipeline] echo [2023-02-01T15:08:45.219Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T15:08:45.365Z] provisioning config files... [2023-02-01T15:08:45.373Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config17864690338709238705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:08:45.669Z] ---> docker-login.sh [2023-02-01T15:08:45.669Z] nexus3.edgexfoundry.org:10001 [2023-02-01T15:08:45.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:45.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:45.669Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:45.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:45.669Z] [2023-02-01T15:08:45.669Z] Login Succeeded [2023-02-01T15:08:45.669Z] nexus3.edgexfoundry.org:10002 [2023-02-01T15:08:45.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:45.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:45.669Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:45.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:45.669Z] [2023-02-01T15:08:45.669Z] Login Succeeded [2023-02-01T15:08:45.669Z] nexus3.edgexfoundry.org:10003 [2023-02-01T15:08:45.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:45.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:45.928Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:45.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:45.928Z] [2023-02-01T15:08:45.928Z] Login Succeeded [2023-02-01T15:08:45.928Z] nexus3.edgexfoundry.org:10004 [2023-02-01T15:08:45.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:45.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:45.928Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:45.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:45.928Z] [2023-02-01T15:08:45.928Z] Login Succeeded [2023-02-01T15:08:45.928Z] docker.io [2023-02-01T15:08:46.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:08:46.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:08:46.187Z] Configure a credential helper to remove this warning. See [2023-02-01T15:08:46.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:08:46.187Z] [2023-02-01T15:08:46.187Z] Login Succeeded [2023-02-01T15:08:46.447Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T15:08:46.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T15:08:46.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T15:08:46.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T15:08:46.563Z] ========================================================= [2023-02-01T15:08:46.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-01T15:08:46.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:08:46.883Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-01T15:08:46.883Z] Sending build context to Docker daemon 10.82MB [2023-02-01T15:08:46.884Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T15:08:46.884Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-01T15:08:47.146Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-01T15:08:47.146Z] 213ec9aee27d: Pulling fs layer [2023-02-01T15:08:47.146Z] 4583459ba037: Pulling fs layer [2023-02-01T15:08:47.146Z] 93c1e223e6f2: Pulling fs layer [2023-02-01T15:08:47.146Z] 53926ce57604: Pulling fs layer [2023-02-01T15:08:47.146Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-01T15:08:47.146Z] 22ff95d597cd: Pulling fs layer [2023-02-01T15:08:47.146Z] 12d6caf4c0d1: Pulling fs layer [2023-02-01T15:08:47.146Z] 96b7cbca73a9: Pulling fs layer [2023-02-01T15:08:47.146Z] 53926ce57604: Waiting [2023-02-01T15:08:47.146Z] a7acece74701: Pulling fs layer [2023-02-01T15:08:47.146Z] 12d6caf4c0d1: Waiting [2023-02-01T15:08:47.146Z] 22ff95d597cd: Waiting [2023-02-01T15:08:47.146Z] a7acece74701: Waiting [2023-02-01T15:08:47.146Z] 21b2b0c7a3f4: Waiting [2023-02-01T15:08:47.146Z] 96b7cbca73a9: Waiting [2023-02-01T15:08:47.146Z] 93c1e223e6f2: Verifying Checksum [2023-02-01T15:08:47.146Z] 93c1e223e6f2: Download complete [2023-02-01T15:08:47.146Z] 4583459ba037: Verifying Checksum [2023-02-01T15:08:47.146Z] 4583459ba037: Download complete [2023-02-01T15:08:47.146Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-01T15:08:47.146Z] 21b2b0c7a3f4: Download complete [2023-02-01T15:08:47.146Z] 22ff95d597cd: Verifying Checksum [2023-02-01T15:08:47.146Z] 22ff95d597cd: Download complete [2023-02-01T15:08:47.146Z] 213ec9aee27d: Verifying Checksum [2023-02-01T15:08:47.146Z] 213ec9aee27d: Download complete [2023-02-01T15:08:47.146Z] 12d6caf4c0d1: Verifying Checksum [2023-02-01T15:08:47.146Z] 12d6caf4c0d1: Download complete [2023-02-01T15:08:47.415Z] 213ec9aee27d: Pull complete [2023-02-01T15:08:47.700Z] 4583459ba037: Pull complete [2023-02-01T15:08:47.996Z] 93c1e223e6f2: Pull complete [2023-02-01T15:08:48.637Z] 53926ce57604: Verifying Checksum [2023-02-01T15:08:48.637Z] 53926ce57604: Download complete [2023-02-01T15:08:48.637Z] a7acece74701: Download complete [2023-02-01T15:08:48.896Z] 96b7cbca73a9: Verifying Checksum [2023-02-01T15:08:48.896Z] 96b7cbca73a9: Download complete [2023-02-01T15:08:53.084Z] 53926ce57604: Pull complete [2023-02-01T15:08:53.084Z] 21b2b0c7a3f4: Pull complete [2023-02-01T15:08:53.084Z] 22ff95d597cd: Pull complete [2023-02-01T15:08:53.084Z] 12d6caf4c0d1: Pull complete [2023-02-01T15:08:54.991Z] 96b7cbca73a9: Pull complete [2023-02-01T15:08:55.559Z] a7acece74701: Pull complete [2023-02-01T15:08:55.559Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-01T15:08:55.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-01T15:08:55.559Z] ---> db6d94c90886 [2023-02-01T15:08:55.559Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-01T15:09:00.325Z] Still waiting to schedule task [2023-02-01T15:09:00.325Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4262’ is offline [2023-02-01T15:09:03.679Z] ---> Running in f13e25826c5a [2023-02-01T15:09:03.679Z] Removing intermediate container f13e25826c5a [2023-02-01T15:09:03.679Z] ---> d8942b7c4c93 [2023-02-01T15:09:03.679Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-01T15:09:03.679Z] ---> Running in 04a76a99c29b [2023-02-01T15:09:03.679Z] Removing intermediate container 04a76a99c29b [2023-02-01T15:09:03.679Z] ---> 40a87a634ce8 [2023-02-01T15:09:03.679Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-01T15:09:03.679Z] ---> Running in 261b0f85581c [2023-02-01T15:09:04.247Z] Removing intermediate container 261b0f85581c [2023-02-01T15:09:04.247Z] ---> dcfe495909ec [2023-02-01T15:09:04.247Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-01T15:09:04.507Z] ---> Running in b5a13e1cfac7 [2023-02-01T15:09:04.507Z] Removing intermediate container b5a13e1cfac7 [2023-02-01T15:09:04.507Z] ---> 931d111b7795 [2023-02-01T15:09:04.507Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-01T15:09:04.766Z] ---> Running in c276dc6d2345 [2023-02-01T15:09:05.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T15:09:05.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T15:09:05.283Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-01T15:09:05.283Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-01T15:09:05.283Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-01T15:09:05.283Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-01T15:09:05.283Z] Executing busybox-1.35.0-r17.trigger [2023-02-01T15:09:05.283Z] OK: 216 MiB in 55 packages [2023-02-01T15:09:05.850Z] Removing intermediate container c276dc6d2345 [2023-02-01T15:09:05.850Z] ---> 97960338e594 [2023-02-01T15:09:05.850Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-01T15:09:05.850Z] ---> Running in 20dac37b26d6 [2023-02-01T15:09:05.850Z] Removing intermediate container 20dac37b26d6 [2023-02-01T15:09:05.850Z] ---> 219dcf6ba306 [2023-02-01T15:09:05.850Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-01T15:09:06.109Z] ---> 152a1e22b634 [2023-02-01T15:09:06.109Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T15:09:06.109Z] ---> Running in 0c0d6d20c405 [2023-02-01T15:09:44.847Z] Removing intermediate container 0c0d6d20c405 [2023-02-01T15:09:44.847Z] ---> 55f94dd0e2c9 [2023-02-01T15:09:44.847Z] Step 11/12 : COPY . . [2023-02-01T15:09:44.847Z] ---> e37f5538ea86 [2023-02-01T15:09:44.847Z] Step 12/12 : RUN $MAKE [2023-02-01T15:09:44.847Z] ---> Running in ff1faadde2a0 [2023-02-01T15:09:44.847Z] noop [2023-02-01T15:09:44.847Z] Removing intermediate container ff1faadde2a0 [2023-02-01T15:09:44.847Z] ---> 943aa8ea72c1 [2023-02-01T15:09:44.847Z] Successfully built 943aa8ea72c1 [2023-02-01T15:09:44.847Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:09:45.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T15:09:45.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:09:45.244Z] prd-ubuntu20.04-docker-8c-8g-4261 does not seem to be running inside a container [2023-02-01T15:09:45.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T15:09:45.650Z] $ docker top daa6d2ca7e7f8e98f50a04eade028360f3bfeab15eddbd4185560e0709161c0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T15:09:45.995Z] + go version [2023-02-01T15:09:45.995Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-01T15:09:46.007Z] $ docker stop --time=1 daa6d2ca7e7f8e98f50a04eade028360f3bfeab15eddbd4185560e0709161c0c [2023-02-01T15:09:47.263Z] $ docker rm -f --volumes daa6d2ca7e7f8e98f50a04eade028360f3bfeab15eddbd4185560e0709161c0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:09:47.669Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T15:09:47.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:09:47.742Z] prd-ubuntu20.04-docker-8c-8g-4261 does not seem to be running inside a container [2023-02-01T15:09:47.778Z] $ 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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T15:09:48.140Z] $ docker top 0c925dafded991c218771cf914a65ee6779f841bb870b8833d7e164c17c25f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T15:09:48.470Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-241 [Pipeline] fileExists [Pipeline] sh [2023-02-01T15:09:48.768Z] + make test [2023-02-01T15:09:48.768Z] go test ./... -coverprofile=coverage.out ./... [2023-02-01T15:09:49.024Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-01T15:09:58.995Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-01T15:09:58.995Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-01T15:10:07.195Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-01T15:10:07.195Z] go vet ./... [2023-02-01T15:10:09.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T15:10:09.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T15:10:09.937Z] ./bin/test-attribution-txt.sh [2023-02-01T15:10:10.196Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-01T15:10:10.196Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-01T15:10:10.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T15:10:10.229Z] $ docker stop --time=1 0c925dafded991c218771cf914a65ee6779f841bb870b8833d7e164c17c25f2f [2023-02-01T15:10:11.955Z] $ docker rm -f --volumes 0c925dafded991c218771cf914a65ee6779f841bb870b8833d7e164c17c25f2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T15:10:12.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T15:10:12.424Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-01T15:10:12.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T15:10:13.117Z] + ls -al . [2023-02-01T15:10:13.117Z] total 188 [2023-02-01T15:10:13.117Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 1 15:09 . [2023-02-01T15:10:13.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 15:08 .. [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 1 15:08 .dockerignore [2023-02-01T15:10:13.117Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 15:09 .git [2023-02-01T15:10:13.117Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 1 15:08 .github [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 1 15:08 .gitignore [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 1 15:08 .golangci.yml [2023-02-01T15:10:13.117Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 15:08 .semver [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 1 15:08 Attribution.txt [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 1 15:08 CHANGELOG.md [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 1 15:08 Dockerfile [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 15:08 GOVERNANCE.md [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 1 15:08 Jenkinsfile [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 1 15:08 LICENSE [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 1 15:08 Makefile [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 1 15:08 OWNERS.md [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 1 15:08 README.md [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 15:08 VERSION [2023-02-01T15:10:13.117Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 15:08 bin [2023-02-01T15:10:13.117Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 1 15:08 cmd [2023-02-01T15:10:13.117Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 1 15:09 coverage.out [2023-02-01T15:10:13.117Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 15:08 driver [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 3454 Feb 1 15:08 go.mod [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 34856 Feb 1 15:08 go.sum [2023-02-01T15:10:13.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 15:08 snap [2023-02-01T15:10:13.117Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 1 15:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:10:13.420Z] + 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=c96eec26b44088bf5503a07fdd221e5943c19d2e --label arch=amd64 --label version=0.0.0 . [2023-02-01T15:10:13.420Z] Sending build context to Docker daemon 10.84MB [2023-02-01T15:10:13.420Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T15:10:13.420Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-01T15:10:13.420Z] ---> 943aa8ea72c1 [2023-02-01T15:10:13.420Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-01T15:10:13.420Z] ---> Running in fb58a33a61d6 [2023-02-01T15:10:13.680Z] Removing intermediate container fb58a33a61d6 [2023-02-01T15:10:13.680Z] ---> 2e2ccd9510cc [2023-02-01T15:10:13.680Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-01T15:10:13.680Z] ---> Running in 35a94205885e [2023-02-01T15:10:13.680Z] Removing intermediate container 35a94205885e [2023-02-01T15:10:13.680Z] ---> 3c528ccaa7d1 [2023-02-01T15:10:13.681Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-01T15:10:13.681Z] ---> Running in c25641985297 [2023-02-01T15:10:13.681Z] Removing intermediate container c25641985297 [2023-02-01T15:10:13.681Z] ---> 5adbb5f2c8c8 [2023-02-01T15:10:13.681Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-01T15:10:13.681Z] ---> Running in 0b9ebbd834a4 [2023-02-01T15:10:13.939Z] Removing intermediate container 0b9ebbd834a4 [2023-02-01T15:10:13.939Z] ---> ad40c7a6b14b [2023-02-01T15:10:13.939Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-01T15:10:13.939Z] ---> Running in dea99d13611b [2023-02-01T15:10:14.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T15:10:14.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T15:10:14.717Z] OK: 216 MiB in 55 packages [2023-02-01T15:10:14.975Z] Removing intermediate container dea99d13611b [2023-02-01T15:10:14.975Z] ---> b530b9ecee31 [2023-02-01T15:10:14.975Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-01T15:10:14.975Z] ---> Running in a7b7042102d4 [2023-02-01T15:10:14.975Z] Removing intermediate container a7b7042102d4 [2023-02-01T15:10:14.975Z] ---> 0a45a0864bb5 [2023-02-01T15:10:14.975Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-01T15:10:15.235Z] ---> 30d7521b52f2 [2023-02-01T15:10:15.235Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T15:10:15.235Z] ---> Running in 2f2363aaac95 [2023-02-01T15:10:16.176Z] Removing intermediate container 2f2363aaac95 [2023-02-01T15:10:16.176Z] ---> 006f6d3bb4ef [2023-02-01T15:10:16.176Z] Step 11/25 : COPY . . [2023-02-01T15:10:16.176Z] ---> 62e3e5a13402 [2023-02-01T15:10:16.176Z] Step 12/25 : RUN $MAKE [2023-02-01T15:10:16.176Z] ---> Running in 92e6486daa4a [2023-02-01T15:10:16.438Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-01T15:10:34.534Z] Removing intermediate container 92e6486daa4a [2023-02-01T15:10:34.534Z] ---> 6557c7d6bced [2023-02-01T15:10:34.534Z] Step 13/25 : FROM alpine:3.16 [2023-02-01T15:10:34.534Z] 3.16: Pulling from library/alpine [2023-02-01T15:10:34.534Z] ca7dd9ec2225: Pulling fs layer [2023-02-01T15:10:34.534Z] ca7dd9ec2225: Verifying Checksum [2023-02-01T15:10:34.534Z] ca7dd9ec2225: Download complete [2023-02-01T15:10:34.793Z] ca7dd9ec2225: Pull complete [2023-02-01T15:10:34.793Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T15:10:34.793Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T15:10:34.793Z] ---> bfe296a52501 [2023-02-01T15:10:34.793Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T15:10:34.793Z] ---> Running in 7c4d7cb9534f [2023-02-01T15:10:34.793Z] Removing intermediate container 7c4d7cb9534f [2023-02-01T15:10:34.793Z] ---> 1d5b53a1c58f [2023-02-01T15:10:34.793Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-01T15:10:34.793Z] ---> Running in a4da41d0a11a [2023-02-01T15:10:35.055Z] Removing intermediate container a4da41d0a11a [2023-02-01T15:10:35.055Z] ---> ba7b55108508 [2023-02-01T15:10:35.055Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-01T15:10:35.055Z] ---> Running in ae2724712d1a [2023-02-01T15:10:35.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T15:10:35.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T15:10:35.572Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-01T15:10:35.572Z] Executing busybox-1.35.0-r17.trigger [2023-02-01T15:10:35.572Z] OK: 6 MiB in 15 packages [2023-02-01T15:10:36.142Z] Removing intermediate container ae2724712d1a [2023-02-01T15:10:36.142Z] ---> fa266fb69a6c [2023-02-01T15:10:36.142Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-01T15:10:36.401Z] ---> e7b3ceefcfbb [2023-02-01T15:10:36.401Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-01T15:10:36.660Z] ---> 69e1b6b7f490 [2023-02-01T15:10:36.660Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-01T15:10:36.660Z] ---> 3d1dd7fc30c1 [2023-02-01T15:10:36.660Z] Step 20/25 : EXPOSE 59986 [2023-02-01T15:10:36.660Z] ---> Running in 28b5947207b4 [2023-02-01T15:10:36.918Z] Removing intermediate container 28b5947207b4 [2023-02-01T15:10:36.918Z] ---> d992e5558b3e [2023-02-01T15:10:36.918Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-01T15:10:36.918Z] ---> Running in 06a65fdeb593 [2023-02-01T15:10:36.918Z] Removing intermediate container 06a65fdeb593 [2023-02-01T15:10:36.918Z] ---> 523dbe18d6c1 [2023-02-01T15:10:36.918Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-01T15:10:36.918Z] ---> Running in 16af0889c749 [2023-02-01T15:10:36.918Z] Removing intermediate container 16af0889c749 [2023-02-01T15:10:36.918Z] ---> 0ed018a1f1be [2023-02-01T15:10:36.918Z] Step 23/25 : LABEL arch=amd64 [2023-02-01T15:10:36.918Z] ---> Running in 30cefa0d9093 [2023-02-01T15:10:37.175Z] Removing intermediate container 30cefa0d9093 [2023-02-01T15:10:37.175Z] ---> c54312f818cb [2023-02-01T15:10:37.175Z] Step 24/25 : LABEL git_sha=c96eec26b44088bf5503a07fdd221e5943c19d2e [2023-02-01T15:10:37.175Z] ---> Running in adbffe30c3e5 [2023-02-01T15:10:37.175Z] Removing intermediate container adbffe30c3e5 [2023-02-01T15:10:37.175Z] ---> 8d24d8ef43d4 [2023-02-01T15:10:37.175Z] Step 25/25 : LABEL version=0.0.0 [2023-02-01T15:10:37.175Z] ---> Running in 58c0a5beb3b9 [2023-02-01T15:10:37.175Z] Removing intermediate container 58c0a5beb3b9 [2023-02-01T15:10:37.175Z] ---> d33db95c6d67 [2023-02-01T15:10:37.175Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T15:10:37.175Z] Successfully built d33db95c6d67 [2023-02-01T15:10:37.175Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:10:37.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T15:10:37.614Z] [2023-02-01T15:10:37.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:10:37.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T15:10:37.928Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-01T15:10:37.928Z] 5eb5b503b376: Pulling fs layer [2023-02-01T15:10:37.928Z] 5c69ac0246d0: Pulling fs layer [2023-02-01T15:10:37.928Z] ec43610c2a17: Pulling fs layer [2023-02-01T15:10:37.928Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-01T15:10:37.928Z] 33b1e0a273af: Pulling fs layer [2023-02-01T15:10:37.928Z] 5d3b04190fa2: Pulling fs layer [2023-02-01T15:10:37.928Z] 2f39f015ded8: Pulling fs layer [2023-02-01T15:10:37.928Z] 33b1e0a273af: Waiting [2023-02-01T15:10:37.928Z] 5d3b04190fa2: Waiting [2023-02-01T15:10:37.928Z] 2f39f015ded8: Waiting [2023-02-01T15:10:37.928Z] 3a2ae6a8a46f: Waiting [2023-02-01T15:10:37.928Z] 5c69ac0246d0: Verifying Checksum [2023-02-01T15:10:37.928Z] 5c69ac0246d0: Download complete [2023-02-01T15:10:37.928Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-01T15:10:37.928Z] 3a2ae6a8a46f: Download complete [2023-02-01T15:10:38.207Z] ec43610c2a17: Verifying Checksum [2023-02-01T15:10:38.207Z] ec43610c2a17: Download complete [2023-02-01T15:10:38.519Z] 5d3b04190fa2: Download complete [2023-02-01T15:10:38.519Z] 33b1e0a273af: Verifying Checksum [2023-02-01T15:10:38.519Z] 33b1e0a273af: Download complete [2023-02-01T15:10:39.612Z] 5eb5b503b376: Verifying Checksum [2023-02-01T15:10:39.612Z] 5eb5b503b376: Download complete [2023-02-01T15:10:40.745Z] 5eb5b503b376: Pull complete [2023-02-01T15:10:40.745Z] 5c69ac0246d0: Pull complete [2023-02-01T15:10:41.046Z] 2f39f015ded8: Verifying Checksum [2023-02-01T15:10:41.046Z] 2f39f015ded8: Download complete [2023-02-01T15:10:41.307Z] ec43610c2a17: Pull complete [2023-02-01T15:10:41.307Z] 3a2ae6a8a46f: Pull complete [2023-02-01T15:10:41.573Z] 33b1e0a273af: Pull complete [2023-02-01T15:10:41.573Z] 5d3b04190fa2: Pull complete [2023-02-01T15:10:45.765Z] 2f39f015ded8: Pull complete [2023-02-01T15:10:45.765Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-01T15:10:45.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T15:10:45.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:10:45.840Z] prd-ubuntu20.04-docker-8c-8g-4261 does not seem to be running inside a container [2023-02-01T15:10:45.868Z] $ 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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T15:10:47.324Z] $ docker top f55ab0b63a64c9e9302d455f80aeb8ef578f86f4bbd1ce10c79e6fc3eff6f884 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:10:47.691Z] ---> job-cost.sh [2023-02-01T15:10:47.691Z] lf-activate-venv: SKIPPING [2023-02-01T15:10:47.691Z] INFO: No Stack... [2023-02-01T15:10:48.257Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T15:10:48.516Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T15:10:48.806Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-241/archives/cost.csv [2023-02-01T15:10:48.806Z] + cut -d, -f6 [Pipeline] lock [2023-02-01T15:10:48.821Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] [2023-02-01T15:10:48.830Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] did not exist. Created. [2023-02-01T15:10:48.830Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T15:10:49.137Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-01T15:10:49.163Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T15:10:49.171Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T15:10:49.191Z] $ docker stop --time=1 f55ab0b63a64c9e9302d455f80aeb8ef578f86f4bbd1ce10c79e6fc3eff6f884 [2023-02-01T15:10:50.351Z] $ docker rm -f --volumes f55ab0b63a64c9e9302d455f80aeb8ef578f86f4bbd1ce10c79e6fc3eff6f884 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-01T15:11:47.825Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4264 in /w/workspace/gexfoundry_device-rest-go_PR-241 [Pipeline] { [Pipeline] ws [2023-02-01T15:11:47.839Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-02-01T15:11:47.880Z] The recommended git tool is: git [2023-02-01T15:11:54.606Z] using credential edgex-jenkins-ssh [2023-02-01T15:11:54.622Z] Cloning the remote Git repository [2023-02-01T15:11:54.670Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-01T15:11:54.748Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-02-01T15:11:54.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-01T15:11:54.918Z] > git --version # timeout=10 [2023-02-01T15:11:54.943Z] > git --version # 'git version 2.25.1' [2023-02-01T15:11:54.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T15:11:55.007Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T15:11:56.868Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-01T15:11:56.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T15:11:57.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-01T15:11:57.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-01T15:11:57.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T15:11:57.909Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-01T15:11:58.487Z] Merging remotes/origin/main commit 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 into PR head commit 0c8cee599e8840d59a5a88fbbd610b54878ba35e [2023-02-01T15:11:58.730Z] Merge succeeded, producing 894e6003ae1a62a8dd6c537d22dbb8d403253b99 [2023-02-01T15:11:58.730Z] Checking out Revision 894e6003ae1a62a8dd6c537d22dbb8d403253b99 (PR-241) [2023-02-01T15:11:58.505Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T15:11:58.526Z] > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 [2023-02-01T15:11:58.603Z] > git remote # timeout=10 [2023-02-01T15:11:58.621Z] > git config --get remote.origin.url # timeout=10 [2023-02-01T15:11:58.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T15:11:58.649Z] > git merge 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 [2023-02-01T15:11:58.713Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-01T15:11:58.738Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T15:11:58.755Z] > git checkout -f 894e6003ae1a62a8dd6c537d22dbb8d403253b99 # timeout=10 [2023-02-01T15:12:02.290Z] Commit message: "Merge commit '83d0d95cb873d118c9d8fcbcde0c6c79336165c6' into HEAD" [2023-02-01T15:12:02.301Z] > git rev-list --no-walk 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T15:12:03.282Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-01T15:12:03.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T15:12:03.282Z] Dload Upload Total Spent Left Speed [2023-02-01T15:12:03.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-02-01T15:12:04.078Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-01T15:12:04.413Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-01T15:12:04.413Z] + sudo tee /etc/docker/daemon.new [2023-02-01T15:12:04.413Z] { [2023-02-01T15:12:04.413Z] "registry-mirrors": [ [2023-02-01T15:12:04.413Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-01T15:12:04.413Z] ], [2023-02-01T15:12:04.413Z] "bip": "10.250.0.254/24", [2023-02-01T15:12:04.413Z] "hosts": [ [2023-02-01T15:12:04.413Z] "tcp://0.0.0.0:5555", [2023-02-01T15:12:04.413Z] "unix:///var/run/docker.sock" [2023-02-01T15:12:04.413Z] ], [2023-02-01T15:12:04.413Z] "mtu": 1458, [2023-02-01T15:12:04.413Z] "selinux-enabled": true, [2023-02-01T15:12:04.413Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-01T15:12:04.413Z] } [Pipeline] sh [2023-02-01T15:12:04.748Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-01T15:12:05.086Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T15:12:23.370Z] provisioning config files... [2023-02-01T15:12:23.395Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config17575682365725376052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:12:23.746Z] ---> docker-login.sh [2023-02-01T15:12:23.747Z] nexus3.edgexfoundry.org:10001 [2023-02-01T15:12:24.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:12:24.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:12:24.336Z] Configure a credential helper to remove this warning. See [2023-02-01T15:12:24.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:12:24.336Z] [2023-02-01T15:12:24.336Z] Login Succeeded [2023-02-01T15:12:24.336Z] nexus3.edgexfoundry.org:10002 [2023-02-01T15:12:24.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:12:24.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:12:24.606Z] Configure a credential helper to remove this warning. See [2023-02-01T15:12:24.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:12:24.606Z] [2023-02-01T15:12:24.606Z] Login Succeeded [2023-02-01T15:12:24.879Z] nexus3.edgexfoundry.org:10003 [2023-02-01T15:12:24.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:12:25.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:12:25.148Z] Configure a credential helper to remove this warning. See [2023-02-01T15:12:25.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:12:25.148Z] [2023-02-01T15:12:25.148Z] Login Succeeded [2023-02-01T15:12:25.148Z] nexus3.edgexfoundry.org:10004 [2023-02-01T15:12:25.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:12:25.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:12:25.420Z] Configure a credential helper to remove this warning. See [2023-02-01T15:12:25.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:12:25.420Z] [2023-02-01T15:12:25.420Z] Login Succeeded [2023-02-01T15:12:25.420Z] docker.io [2023-02-01T15:12:25.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T15:12:25.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T15:12:25.963Z] Configure a credential helper to remove this warning. See [2023-02-01T15:12:25.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T15:12:25.963Z] [2023-02-01T15:12:25.963Z] Login Succeeded [2023-02-01T15:12:25.963Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T15:12:25.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T15:12:26.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T15:12:26.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T15:12:26.257Z] ========================================================= [2023-02-01T15:12:26.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-01T15:12:26.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:12:26.592Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-01T15:12:26.593Z] Sending build context to Docker daemon 142.3kB [2023-02-01T15:12:26.862Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T15:12:26.862Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-01T15:12:27.136Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-01T15:12:27.136Z] 9b18e9b68314: Pulling fs layer [2023-02-01T15:12:27.136Z] 35d82f9e3411: Pulling fs layer [2023-02-01T15:12:27.136Z] e16973657156: Pulling fs layer [2023-02-01T15:12:27.136Z] fc693d55d65f: Pulling fs layer [2023-02-01T15:12:27.136Z] 7e9fc2657dce: Pulling fs layer [2023-02-01T15:12:27.136Z] dda99020689f: Pulling fs layer [2023-02-01T15:12:27.136Z] db1c61fa0a46: Pulling fs layer [2023-02-01T15:12:27.136Z] 891c053d2c06: Pulling fs layer [2023-02-01T15:12:27.136Z] dda99020689f: Waiting [2023-02-01T15:12:27.136Z] db1c61fa0a46: Waiting [2023-02-01T15:12:27.136Z] fc693d55d65f: Waiting [2023-02-01T15:12:27.136Z] 891c053d2c06: Waiting [2023-02-01T15:12:27.136Z] 7e9fc2657dce: Waiting [2023-02-01T15:12:27.136Z] e16973657156: Verifying Checksum [2023-02-01T15:12:27.136Z] e16973657156: Download complete [2023-02-01T15:12:27.136Z] 35d82f9e3411: Verifying Checksum [2023-02-01T15:12:27.136Z] 35d82f9e3411: Download complete [2023-02-01T15:12:27.136Z] 7e9fc2657dce: Verifying Checksum [2023-02-01T15:12:27.136Z] 7e9fc2657dce: Download complete [2023-02-01T15:12:27.136Z] dda99020689f: Verifying Checksum [2023-02-01T15:12:27.136Z] dda99020689f: Download complete [2023-02-01T15:12:27.136Z] 9b18e9b68314: Verifying Checksum [2023-02-01T15:12:27.136Z] 9b18e9b68314: Download complete [2023-02-01T15:12:28.124Z] 9b18e9b68314: Pull complete [2023-02-01T15:12:28.395Z] 891c053d2c06: Verifying Checksum [2023-02-01T15:12:28.395Z] 891c053d2c06: Download complete [2023-02-01T15:12:28.668Z] 35d82f9e3411: Pull complete [2023-02-01T15:12:28.940Z] e16973657156: Pull complete [2023-02-01T15:12:29.531Z] db1c61fa0a46: Download complete [2023-02-01T15:12:30.127Z] fc693d55d65f: Verifying Checksum [2023-02-01T15:12:30.127Z] fc693d55d65f: Download complete [2023-02-01T15:12:42.453Z] fc693d55d65f: Pull complete [2023-02-01T15:12:42.453Z] 7e9fc2657dce: Pull complete [2023-02-01T15:12:42.453Z] dda99020689f: Pull complete [2023-02-01T15:12:49.132Z] db1c61fa0a46: Pull complete [2023-02-01T15:12:50.562Z] 891c053d2c06: Pull complete [2023-02-01T15:12:50.562Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-01T15:12:50.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-01T15:12:50.562Z] ---> f96f9c87975a [2023-02-01T15:12:50.562Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-01T15:12:52.667Z] ---> Running in ae991082d4c6 [2023-02-01T15:12:52.667Z] Removing intermediate container ae991082d4c6 [2023-02-01T15:12:52.667Z] ---> 88fc3e4471eb [2023-02-01T15:12:52.667Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-01T15:12:52.667Z] ---> Running in e39887be8109 [2023-02-01T15:12:52.939Z] Removing intermediate container e39887be8109 [2023-02-01T15:12:52.939Z] ---> 0cb6b422f2f4 [2023-02-01T15:12:52.939Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-01T15:12:53.207Z] ---> Running in ed8d34d47426 [2023-02-01T15:12:53.478Z] Removing intermediate container ed8d34d47426 [2023-02-01T15:12:53.478Z] ---> 4db7bb3600c9 [2023-02-01T15:12:53.478Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-01T15:12:53.478Z] ---> Running in cfb5600fa21c [2023-02-01T15:12:54.072Z] Removing intermediate container cfb5600fa21c [2023-02-01T15:12:54.072Z] ---> 14ac8209d5e6 [2023-02-01T15:12:54.072Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-01T15:12:54.072Z] ---> Running in d2a7532fc419 [2023-02-01T15:12:55.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T15:12:55.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T15:12:56.604Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-01T15:12:56.604Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-01T15:12:56.604Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-01T15:12:56.604Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-01T15:12:56.604Z] Executing busybox-1.35.0-r17.trigger [2023-02-01T15:12:56.604Z] OK: 226 MiB in 55 packages [2023-02-01T15:12:58.030Z] Removing intermediate container d2a7532fc419 [2023-02-01T15:12:58.030Z] ---> d9c61f964188 [2023-02-01T15:12:58.030Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-01T15:12:58.030Z] ---> Running in ae808e29075a [2023-02-01T15:12:58.310Z] Removing intermediate container ae808e29075a [2023-02-01T15:12:58.310Z] ---> 5ffb91371d0d [2023-02-01T15:12:58.310Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-01T15:12:58.899Z] ---> 07b660996948 [2023-02-01T15:12:58.899Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T15:12:58.899Z] ---> Running in d075287bc5e1 [2023-02-01T15:14:20.550Z] Removing intermediate container d075287bc5e1 [2023-02-01T15:14:20.550Z] ---> 45c2988ebcbf [2023-02-01T15:14:20.550Z] Step 11/12 : COPY . . [2023-02-01T15:14:20.550Z] ---> cd267becb471 [2023-02-01T15:14:20.550Z] Step 12/12 : RUN $MAKE [2023-02-01T15:14:20.550Z] ---> Running in 1f7d34c5ea0c [2023-02-01T15:14:20.550Z] noop [2023-02-01T15:14:20.550Z] Removing intermediate container 1f7d34c5ea0c [2023-02-01T15:14:20.550Z] ---> e64745878b3c [2023-02-01T15:14:20.550Z] Successfully built e64745878b3c [2023-02-01T15:14:20.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:14:20.923Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T15:14:20.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:14:21.146Z] prd-ubuntu20.04-docker-arm64-4c-16g-4264 does not seem to be running inside a container [2023-02-01T15:14:21.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-01T15:14:22.570Z] $ docker top e7e63a9be708a19842a566726040f08383dc5d246bf367c104b35874667d749e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T15:14:23.430Z] + go version [2023-02-01T15:14:23.430Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-01T15:14:23.455Z] $ docker stop --time=1 e7e63a9be708a19842a566726040f08383dc5d246bf367c104b35874667d749e [2023-02-01T15:14:25.142Z] $ docker rm -f --volumes e7e63a9be708a19842a566726040f08383dc5d246bf367c104b35874667d749e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:14:25.699Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T15:14:25.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:14:25.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-4264 does not seem to be running inside a container [2023-02-01T15:14:25.978Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-01T15:14:27.246Z] $ docker top 9b19cdb50036b19be446855448cf50658f2567dbbf25dc1bdcf7ad838b7a8b46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T15:14:28.100Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-01T15:14:28.764Z] + make test [2023-02-01T15:14:28.764Z] go test ./... -coverprofile=coverage.out ./... [2023-02-01T15:14:30.738Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-01T15:16:07.407Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-01T15:16:07.407Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.9% of statements [2023-02-01T15:16:07.407Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-01T15:16:07.407Z] go vet ./... [2023-02-01T15:16:29.509Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T15:16:29.509Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T15:16:29.509Z] ./bin/test-attribution-txt.sh [2023-02-01T15:16:29.509Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-01T15:16:29.509Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-01T15:16:29.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T15:16:29.552Z] $ docker stop --time=1 9b19cdb50036b19be446855448cf50658f2567dbbf25dc1bdcf7ad838b7a8b46 [2023-02-01T15:16:31.372Z] $ docker rm -f --volumes 9b19cdb50036b19be446855448cf50658f2567dbbf25dc1bdcf7ad838b7a8b46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T15:16:32.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T15:16:32.370Z] Warning: overwriting stash ‘coverage-report’ [2023-02-01T15:16:32.858Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T15:16:33.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T15:16:33.567Z] + ls -al . [2023-02-01T15:16:33.567Z] total 184 [2023-02-01T15:16:33.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 15:14 . [2023-02-01T15:16:33.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 15:11 .. [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 1 15:11 .dockerignore [2023-02-01T15:16:33.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 15:11 .git [2023-02-01T15:16:33.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 1 15:11 .github [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 1 15:11 .gitignore [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 1 15:11 .golangci.yml [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 1 15:11 Attribution.txt [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 1 15:11 CHANGELOG.md [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 1 15:11 Dockerfile [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 15:11 GOVERNANCE.md [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 1 15:11 Jenkinsfile [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 1 15:11 LICENSE [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 1 15:11 Makefile [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 1 15:11 OWNERS.md [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 1 15:11 README.md [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 15:08 VERSION [2023-02-01T15:16:33.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 15:11 bin [2023-02-01T15:16:33.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 1 15:11 cmd [2023-02-01T15:16:33.567Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 1 15:15 coverage.out [2023-02-01T15:16:33.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 15:11 driver [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 3454 Feb 1 15:11 go.mod [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 34856 Feb 1 15:11 go.sum [2023-02-01T15:16:33.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 15:11 snap [2023-02-01T15:16:33.567Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 1 15:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:16:33.911Z] + 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=894e6003ae1a62a8dd6c537d22dbb8d403253b99 --label arch=arm64 --label version=0.0.0 . [2023-02-01T15:16:33.911Z] Sending build context to Docker daemon 156.7kB [2023-02-01T15:16:34.178Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T15:16:34.178Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-01T15:16:34.178Z] ---> e64745878b3c [2023-02-01T15:16:34.178Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-01T15:16:34.448Z] ---> Running in 9f54c01fd094 [2023-02-01T15:16:34.715Z] Removing intermediate container 9f54c01fd094 [2023-02-01T15:16:34.715Z] ---> cbae16f8c2b5 [2023-02-01T15:16:34.715Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-01T15:16:34.984Z] ---> Running in 83e7ff011a17 [2023-02-01T15:16:35.258Z] Removing intermediate container 83e7ff011a17 [2023-02-01T15:16:35.258Z] ---> 90ce71c1c73f [2023-02-01T15:16:35.258Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-01T15:16:35.258Z] ---> Running in 065dbf6e295c [2023-02-01T15:16:35.844Z] Removing intermediate container 065dbf6e295c [2023-02-01T15:16:35.844Z] ---> 1775747659a5 [2023-02-01T15:16:35.844Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-01T15:16:35.844Z] ---> Running in b5cdee86e30a [2023-02-01T15:16:36.113Z] Removing intermediate container b5cdee86e30a [2023-02-01T15:16:36.113Z] ---> 2328ad51e0e4 [2023-02-01T15:16:36.113Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-01T15:16:36.113Z] ---> Running in dc01ed744451 [2023-02-01T15:16:37.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T15:16:37.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T15:16:38.755Z] OK: 226 MiB in 55 packages [2023-02-01T15:16:39.871Z] Removing intermediate container dc01ed744451 [2023-02-01T15:16:39.871Z] ---> bd634339fb10 [2023-02-01T15:16:39.871Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-01T15:16:40.163Z] ---> Running in cfd2c88b6aff [2023-02-01T15:16:40.437Z] Removing intermediate container cfd2c88b6aff [2023-02-01T15:16:40.437Z] ---> dbdceb36d967 [2023-02-01T15:16:40.437Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-01T15:16:41.047Z] ---> de33b72496c1 [2023-02-01T15:16:41.047Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T15:16:41.333Z] ---> Running in 5cf23bfe0fbe [2023-02-01T15:16:45.634Z] Removing intermediate container 5cf23bfe0fbe [2023-02-01T15:16:45.634Z] ---> fd8ed81d3f75 [2023-02-01T15:16:45.634Z] Step 11/25 : COPY . . [2023-02-01T15:16:46.601Z] ---> ab6e05e5f85a [2023-02-01T15:16:46.601Z] Step 12/25 : RUN $MAKE [2023-02-01T15:16:46.601Z] ---> Running in ecf4fc298488 [2023-02-01T15:16:47.565Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-01T15:18:54.242Z] Removing intermediate container ecf4fc298488 [2023-02-01T15:18:54.243Z] ---> 8e0af2409e3c [2023-02-01T15:18:54.243Z] Step 13/25 : FROM alpine:3.16 [2023-02-01T15:18:54.243Z] 3.16: Pulling from library/alpine [2023-02-01T15:18:54.243Z] 6875df1f5354: Pulling fs layer [2023-02-01T15:18:54.243Z] 6875df1f5354: Verifying Checksum [2023-02-01T15:18:54.243Z] 6875df1f5354: Download complete [2023-02-01T15:18:54.243Z] 6875df1f5354: Pull complete [2023-02-01T15:18:54.243Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T15:18:54.243Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T15:18:54.243Z] ---> 2b4661558fb8 [2023-02-01T15:18:54.243Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T15:18:54.243Z] ---> Running in 1a80bc426518 [2023-02-01T15:18:54.243Z] Removing intermediate container 1a80bc426518 [2023-02-01T15:18:54.243Z] ---> f004c9a802b8 [2023-02-01T15:18:54.243Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-01T15:18:54.243Z] ---> Running in 1d4c1a91561e [2023-02-01T15:18:54.243Z] Removing intermediate container 1d4c1a91561e [2023-02-01T15:18:54.243Z] ---> 7d01a8b283c4 [2023-02-01T15:18:54.243Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-01T15:18:54.243Z] ---> Running in 7aea58706854 [2023-02-01T15:18:54.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T15:18:54.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T15:18:54.243Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-01T15:18:54.243Z] Executing busybox-1.35.0-r17.trigger [2023-02-01T15:18:54.243Z] OK: 5 MiB in 15 packages [2023-02-01T15:18:54.243Z] Removing intermediate container 7aea58706854 [2023-02-01T15:18:54.243Z] ---> 72e6cef27dda [2023-02-01T15:18:54.243Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-01T15:18:54.510Z] ---> 9390b7e11713 [2023-02-01T15:18:54.510Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-01T15:18:55.100Z] ---> f5086d780bd1 [2023-02-01T15:18:55.100Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-01T15:18:55.368Z] ---> 77c0c277e721 [2023-02-01T15:18:55.368Z] Step 20/25 : EXPOSE 59986 [2023-02-01T15:18:55.636Z] ---> Running in 3849772f857f [2023-02-01T15:18:55.904Z] Removing intermediate container 3849772f857f [2023-02-01T15:18:55.904Z] ---> d4b4ddcb0c84 [2023-02-01T15:18:55.904Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-01T15:18:55.904Z] ---> Running in c681dbaa7b0f [2023-02-01T15:18:56.172Z] Removing intermediate container c681dbaa7b0f [2023-02-01T15:18:56.172Z] ---> cf5b9cda28f6 [2023-02-01T15:18:56.172Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-01T15:18:56.172Z] ---> Running in a9bec45f4c87 [2023-02-01T15:18:56.440Z] Removing intermediate container a9bec45f4c87 [2023-02-01T15:18:56.440Z] ---> ea3a66ac638c [2023-02-01T15:18:56.440Z] Step 23/25 : LABEL arch=arm64 [2023-02-01T15:18:56.719Z] ---> Running in c1174bf8b7ea [2023-02-01T15:18:56.991Z] Removing intermediate container c1174bf8b7ea [2023-02-01T15:18:56.991Z] ---> 70f85f47ca31 [2023-02-01T15:18:56.991Z] Step 24/25 : LABEL git_sha=894e6003ae1a62a8dd6c537d22dbb8d403253b99 [2023-02-01T15:18:56.991Z] ---> Running in 1c508c4cdb11 [2023-02-01T15:18:57.259Z] Removing intermediate container 1c508c4cdb11 [2023-02-01T15:18:57.259Z] ---> 82a4a87504fe [2023-02-01T15:18:57.259Z] Step 25/25 : LABEL version=0.0.0 [2023-02-01T15:18:57.259Z] ---> Running in 9021c917fc32 [2023-02-01T15:18:57.526Z] Removing intermediate container 9021c917fc32 [2023-02-01T15:18:57.526Z] ---> d50e50c46f1d [2023-02-01T15:18:57.526Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T15:18:57.526Z] Successfully built d50e50c46f1d [2023-02-01T15:18:57.526Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:18:57.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T15:18:57.956Z] [2023-02-01T15:18:57.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:18:58.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T15:18:58.292Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-01T15:18:58.292Z] 8998bd30e6a1: Pulling fs layer [2023-02-01T15:18:58.292Z] 04944245beec: Pulling fs layer [2023-02-01T15:18:58.292Z] 699f458cf7ca: Pulling fs layer [2023-02-01T15:18:58.292Z] 765212b225bb: Pulling fs layer [2023-02-01T15:18:58.292Z] f23df028b6ca: Pulling fs layer [2023-02-01T15:18:58.292Z] d65c8cfc05b1: Pulling fs layer [2023-02-01T15:18:58.292Z] 2437ff75d9bd: Pulling fs layer [2023-02-01T15:18:58.292Z] 765212b225bb: Waiting [2023-02-01T15:18:58.292Z] d65c8cfc05b1: Waiting [2023-02-01T15:18:58.292Z] 2437ff75d9bd: Waiting [2023-02-01T15:18:58.564Z] 04944245beec: Verifying Checksum [2023-02-01T15:18:58.564Z] 04944245beec: Download complete [2023-02-01T15:18:58.564Z] 765212b225bb: Verifying Checksum [2023-02-01T15:18:58.564Z] 765212b225bb: Download complete [2023-02-01T15:18:58.834Z] f23df028b6ca: Verifying Checksum [2023-02-01T15:18:58.834Z] f23df028b6ca: Download complete [2023-02-01T15:18:58.834Z] d65c8cfc05b1: Verifying Checksum [2023-02-01T15:18:58.834Z] d65c8cfc05b1: Download complete [2023-02-01T15:18:58.834Z] 699f458cf7ca: Verifying Checksum [2023-02-01T15:18:58.834Z] 699f458cf7ca: Download complete [2023-02-01T15:18:59.105Z] 8998bd30e6a1: Verifying Checksum [2023-02-01T15:18:59.105Z] 8998bd30e6a1: Download complete [2023-02-01T15:19:01.694Z] 2437ff75d9bd: Verifying Checksum [2023-02-01T15:19:01.694Z] 2437ff75d9bd: Download complete [2023-02-01T15:19:03.106Z] 8998bd30e6a1: Pull complete [2023-02-01T15:19:03.689Z] 04944245beec: Pull complete [2023-02-01T15:19:05.099Z] 699f458cf7ca: Pull complete [2023-02-01T15:19:05.099Z] 765212b225bb: Pull complete [2023-02-01T15:19:06.059Z] f23df028b6ca: Pull complete [2023-02-01T15:19:06.059Z] d65c8cfc05b1: Pull complete [2023-02-01T15:19:21.046Z] 2437ff75d9bd: Pull complete [2023-02-01T15:19:21.046Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-01T15:19:21.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T15:19:21.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:19:21.226Z] prd-ubuntu20.04-docker-arm64-4c-16g-4264 does not seem to be running inside a container [2023-02-01T15:19:21.287Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-01T15:19:23.880Z] $ docker top 6ce3b6423f4b16698ee21e4120c7132dd34c862452ae48532f53c8f9aa0e9280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:24.714Z] ---> job-cost.sh [2023-02-01T15:19:24.714Z] lf-activate-venv: SKIPPING [2023-02-01T15:19:24.714Z] INFO: No Stack... [2023-02-01T15:19:25.294Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-01T15:19:25.875Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T15:19:26.198Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-02-01T15:19:26.198Z] + cut -d, -f6 [Pipeline] lock [2023-02-01T15:19:26.525Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] [2023-02-01T15:19:26.530Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] did not exist. Created. [2023-02-01T15:19:26.530Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T15:19:27.173Z] /w/workspace/device-rest-go/2@tmp/durable-af462e0c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-01T15:19:27.503Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-01T15:19:27.518Z] Warning: overwriting stash ‘stack-cost’ [2023-02-01T15:19:27.559Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T15:19:27.568Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-241-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T15:19:27.593Z] $ docker stop --time=1 6ce3b6423f4b16698ee21e4120c7132dd34c862452ae48532f53c8f9aa0e9280 [2023-02-01T15:19:29.091Z] $ docker rm -f --volumes 6ce3b6423f4b16698ee21e4120c7132dd34c862452ae48532f53c8f9aa0e9280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-01T15:19:29.460Z] provisioning config files... [2023-02-01T15:19:29.466Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config12424260328005145767tmp [Pipeline] { [Pipeline] sh [2023-02-01T15:19:29.752Z] + set +x [2023-02-01T15:19:29.752Z] + curl -s https://codecov.io/bash [2023-02-01T15:19:29.752Z] + bash -s -- [2023-02-01T15:19:29.752Z] [2023-02-01T15:19:29.752Z] _____ _ [2023-02-01T15:19:29.752Z] / ____| | | [2023-02-01T15:19:29.752Z] | | ___ __| | ___ ___ _____ __ [2023-02-01T15:19:29.752Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-01T15:19:29.752Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-01T15:19:29.752Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-01T15:19:29.752Z] Bash-1.0.6 [2023-02-01T15:19:29.752Z] [2023-02-01T15:19:29.752Z] [2023-02-01T15:19:29.752Z] ==> git version 2.25.1 found [2023-02-01T15:19:29.752Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-01T15:19:29.752Z] Release-Date: 2020-01-08 [2023-02-01T15:19:29.752Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-01T15:19:29.752Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-01T15:19:29.752Z] ==> Jenkins CI detected. [2023-02-01T15:19:29.752Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-241 [2023-02-01T15:19:29.752Z] project root: . [2023-02-01T15:19:29.752Z] --> token set from env [2023-02-01T15:19:29.752Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-01T15:19:29.752Z] ==> Running gcov in . (disable via -X gcov) [2023-02-01T15:19:29.752Z] ==> Python coveragepy not found [2023-02-01T15:19:29.752Z] ==> Searching for coverage reports in: [2023-02-01T15:19:29.752Z] + . [2023-02-01T15:19:30.011Z] -> Found 1 reports [2023-02-01T15:19:30.011Z] ==> Detecting git/mercurial file structure [2023-02-01T15:19:30.011Z] ==> Reading reports [2023-02-01T15:19:30.011Z] + ./coverage.out bytes=13744 [2023-02-01T15:19:30.011Z] ==> Appending adjustments [2023-02-01T15:19:30.011Z] https://docs.codecov.io/docs/fixing-reports [2023-02-01T15:19:30.011Z] + Found adjustments [2023-02-01T15:19:30.011Z] ==> Gzipping contents [2023-02-01T15:19:30.011Z] 4.0K /tmp/codecov.MXtEhl.gz [2023-02-01T15:19:30.011Z] ==> Uploading reports [2023-02-01T15:19:30.011Z] url: https://codecov.io [2023-02-01T15:19:30.011Z] query: branch=PR-241&commit=c96eec26b44088bf5503a07fdd221e5943c19d2e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-241%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=241&job=&cmd_args= [2023-02-01T15:19:30.011Z] -> Pinging Codecov [2023-02-01T15:19:30.011Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-241&commit=c96eec26b44088bf5503a07fdd221e5943c19d2e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-241%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=241&job=&cmd_args= [2023-02-01T15:19:30.269Z] -> Uploading to [2023-02-01T15:19:30.269Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-01/4E5D53B4F1F92C436F7061BF334D961C/c96eec26b44088bf5503a07fdd221e5943c19d2e/122d84c3-69b8-42e3-b8d2-eedf4a702df3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230201T151930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6bf32f642153db066970ab0c02bf4779790c9974fa818e1d9e86fa49360ee9e [2023-02-01T15:19:30.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T15:19:30.269Z] Dload Upload Total Spent Left Speed [2023-02-01T15:19:30.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 10714 --:--:-- --:--:-- --:--:-- 10668 100 2443 0 0 100 2443 0 9811 --:--:-- --:--:-- --:--:-- 9772 [2023-02-01T15:19:30.528Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c96eec26b44088bf5503a07fdd221e5943c19d2e [Pipeline] } [2023-02-01T15:19:30.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-01T15:19:31.154Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-241/archives ] [2023-02-01T15:19:31.155Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-241/archives [2023-02-01T15:19:31.155Z] total 16 [2023-02-01T15:19:31.155Z] drwxr-xr-x 3 root root 4096 Feb 1 15:10 . [2023-02-01T15:19:31.155Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 15:10 .. [2023-02-01T15:19:31.155Z] drwxr-xr-x 2 root root 4096 Feb 1 15:10 cost [2023-02-01T15:19:31.155Z] -rw-r--r-- 1 root root 86 Feb 1 15:10 cost.csv [2023-02-01T15:19:31.155Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-241/archives [2023-02-01T15:19:31.155Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-241/archives [2023-02-01T15:19:31.155Z] total 16 [2023-02-01T15:19:31.155Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 15:10 . [2023-02-01T15:19:31.155Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 15:10 .. [2023-02-01T15:19:31.155Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 15:10 cost [2023-02-01T15:19:31.155Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 1 15:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:31.445Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:32.308Z] ---> package-listing.sh [2023-02-01T15:19:32.308Z] ++ facter osfamily [2023-02-01T15:19:32.308Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-01T15:19:32.566Z] + OS_FAMILY=debian [2023-02-01T15:19:32.566Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-241 [2023-02-01T15:19:32.566Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-01T15:19:32.566Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-01T15:19:32.566Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-01T15:19:32.566Z] + PACKAGES=/tmp/packages_start.txt [2023-02-01T15:19:32.566Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-241 ']' [2023-02-01T15:19:32.566Z] + PACKAGES=/tmp/packages_end.txt [2023-02-01T15:19:32.566Z] + case "${OS_FAMILY}" in [2023-02-01T15:19:32.566Z] + dpkg -l [2023-02-01T15:19:32.566Z] + grep '^ii' [2023-02-01T15:19:32.566Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-01T15:19:32.566Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-01T15:19:32.566Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-01T15:19:32.566Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-241 ']' [2023-02-01T15:19:32.566Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-241/archives/ [2023-02-01T15:19:32.566Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-241/archives/ [Pipeline] echo [2023-02-01T15:19:32.619Z] 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-241/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-01T15:19:32.897Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T15:19:33.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T15:19:33.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T15:19:33.523Z] prd-ubuntu20.04-docker-8c-8g-4261 does not seem to be running inside a container [2023-02-01T15:19:33.553Z] $ 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-241/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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T15:19:33.776Z] $ docker top ff1ff21c66a2a39aae8070316b4e9c0708a632cc13618246a7278ef56afd83d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T15:19:34.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-01T15:19:34.414Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-01T15:19:34.703Z] + ls /var/log/sa-host [2023-02-01T15:19:34.703Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T15:19:34.772Z] provisioning config files... [2023-02-01T15:19:34.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config15586189871018551823tmp [Pipeline] { [Pipeline] echo [2023-02-01T15:19:34.796Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:35.078Z] ---> create-netrc.sh [Pipeline] } [2023-02-01T15:19:35.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:35.413Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-01T15:19:35.422Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:35.710Z] ---> sudo-logs.sh [2023-02-01T15:19:35.710Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-01T15:19:35.732Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:36.012Z] ---> job-cost.sh [2023-02-01T15:19:36.012Z] lf-activate-venv: SKIPPING [2023-02-01T15:19:36.012Z] DEBUG: total: 0.2199999988079071 [2023-02-01T15:19:36.012Z] INFO: Retrieving Stack Cost... [2023-02-01T15:19:36.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T15:19:36.839Z] INFO: Archiving Costs [Pipeline] echo [2023-02-01T15:19:36.852Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T15:19:37.134Z] ---> logs-deploy.sh [2023-02-01T15:19:37.134Z] lf-activate-venv: SKIPPING [2023-02-01T15:19:37.135Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-241/2 [2023-02-01T15:19:37.135Z] INFO: archiving workspace using pattern(s): [2023-02-01T15:19:38.083Z] Archives upload complete. [2023-02-01T15:19:38.342Z] INFO: archiving logs to Nexus