Pull request #229 updated 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 sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5+885eff3573f731dbb8051040958eb45753ebbb2c (c4b00ac39c276a6f4ed2fc7fbcda321b0077a30d) 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-ssh3620856332355708493.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-ssh15163538976103618636.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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12039909729087398290.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-ssh855931699201044151.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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12907877944546856089.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-205 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # 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/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 885eff3573f731dbb8051040958eb45753ebbb2c into PR head commit 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 Merge succeeded, producing 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 Checking out Revision 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # 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 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # timeout=10 Commit message: "fix: resolved merge conflicts" > git rev-list --no-walk e21347a2f02f7038a796eb9b90da20ac9578294e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-20T04:41:51.512Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-20T04:41:51.577Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-20T04:41:51.591Z] ========================================================= [2022-12-20T04:41:51.591Z] EdgeX Global Pipelines Version Info [2022-12-20T04:41:51.591Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:41:52.299Z] ------------------- [2022-12-20T04:41:52.299Z] stable info: [2022-12-20T04:41:52.299Z] ------------------- [2022-12-20T04:41:52.299Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-20T04:41:52.299Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-20T04:41:52.299Z] Message: update stable to v1.0.244 [2022-12-20T04:41:52.871Z] ------------------- [2022-12-20T04:41:52.871Z] experimental info: [2022-12-20T04:41:52.871Z] ------------------- [2022-12-20T04:41:52.871Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-20T04:41:52.871Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-20T04:41:52.871Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-20T04:41:53.055Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-20T04:41:53.067Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-20T04:41:53.079Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-20T04:41:53.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-20T04:41:53.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-20T04:41:53.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-20T04:41:53.134Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-20T04:41:53.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-20T04:41:53.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-20T04:41:53.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-20T04:41:53.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-20T04:41:53.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-20T04:41:53.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-20T04:41:53.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-20T04:41:53.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-20T04:41:53.260Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-20T04:41:53.269Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-20T04:41:53.277Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-20T04:41:53.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-20T04:41:53.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-20T04:41:53.307Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-20T04:41:53.322Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-20T04:41:53.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-20T04:41:53.342Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-20T04:41:53.353Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-20T04:41:53.365Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-20T04:41:53.383Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-20T04:41:53.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2022-12-20T04:41:53.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2022-12-20T04:41:53.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2022-12-20T04:41:53.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [Pipeline] echo [2022-12-20T04:41:53.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c60b50 [Pipeline] echo [2022-12-20T04:41:53.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-20T04:41:53.512Z] provisioning config files... [2022-12-20T04:41:53.526Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config11469863361190477250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:41:53.826Z] ---> docker-login.sh [2022-12-20T04:41:53.826Z] nexus3.edgexfoundry.org:10001 [2022-12-20T04:41:54.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:41:54.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:41:54.087Z] Configure a credential helper to remove this warning. See [2022-12-20T04:41:54.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:41:54.087Z] [2022-12-20T04:41:54.087Z] Login Succeeded [2022-12-20T04:41:54.087Z] nexus3.edgexfoundry.org:10002 [2022-12-20T04:41:54.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:41:54.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:41:54.087Z] Configure a credential helper to remove this warning. See [2022-12-20T04:41:54.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:41:54.087Z] [2022-12-20T04:41:54.087Z] Login Succeeded [2022-12-20T04:41:54.352Z] nexus3.edgexfoundry.org:10003 [2022-12-20T04:41:54.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:41:54.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:41:54.352Z] Configure a credential helper to remove this warning. See [2022-12-20T04:41:54.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:41:54.352Z] [2022-12-20T04:41:54.352Z] Login Succeeded [2022-12-20T04:41:54.352Z] nexus3.edgexfoundry.org:10004 [2022-12-20T04:41:54.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:41:54.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:41:54.352Z] Configure a credential helper to remove this warning. See [2022-12-20T04:41:54.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:41:54.352Z] [2022-12-20T04:41:54.352Z] Login Succeeded [2022-12-20T04:41:54.352Z] docker.io [2022-12-20T04:41:54.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:41:54.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:41:54.611Z] Configure a credential helper to remove this warning. See [2022-12-20T04:41:54.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:41:54.611Z] [2022-12-20T04:41:54.611Z] Login Succeeded [2022-12-20T04:41:54.871Z] ---> docker-login.sh ends [Pipeline] } [2022-12-20T04:41:54.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-20T04:41:55.263Z] + git rev-list -1 --merges 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5~1..5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [Pipeline] echo [2022-12-20T04:41:55.310Z] -----------> git rev-list -1 --merges 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5~1..5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [2022-12-20T04:41:55.310Z] 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [false] [Pipeline] sh [2022-12-20T04:41:55.600Z] + git log --format=format:%s -1 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [Pipeline] echo [2022-12-20T04:41:55.617Z] ========================================================= [2022-12-20T04:41:55.617Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-20T04:41:55.617Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-20T04:41:55.961Z] + git log --format=format:%s -1 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [Pipeline] echo [2022-12-20T04:41:55.972Z] [semverPrep] GIT_COMMIT: 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5, Commit Message: fix: resolved merge conflicts [Pipeline] echo [2022-12-20T04:41:55.980Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-20T04:41:56.356Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-20T04:41:56.356Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-20T04:41:56.356Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-20T04:41:56.356Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-20T04:41:56.356Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-20T04:41:56.356Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-20T04:41:56.356Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:41:56.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-20T04:41:56.692Z] [2022-12-20T04:41:56.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:41:56.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-20T04:41:56.994Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-20T04:41:56.994Z] b85a868b505f: Pulling fs layer [2022-12-20T04:41:56.994Z] e2be974225ed: Pulling fs layer [2022-12-20T04:41:56.994Z] 339a4e72a1f5: Pulling fs layer [2022-12-20T04:41:56.994Z] 988bab9f4d93: Pulling fs layer [2022-12-20T04:41:56.994Z] 1469e6f7b9e6: Pulling fs layer [2022-12-20T04:41:56.994Z] eaf3925da568: Pulling fs layer [2022-12-20T04:41:56.994Z] bab4dde63d76: Pulling fs layer [2022-12-20T04:41:56.994Z] bde34c3a00c8: Pulling fs layer [2022-12-20T04:41:56.994Z] b352a97aabf1: Pulling fs layer [2022-12-20T04:41:56.994Z] 4872d77fe225: Pulling fs layer [2022-12-20T04:41:56.994Z] 5851b861e8e6: Pulling fs layer [2022-12-20T04:41:56.994Z] 988bab9f4d93: Waiting [2022-12-20T04:41:56.994Z] 1469e6f7b9e6: Waiting [2022-12-20T04:41:56.994Z] bde34c3a00c8: Waiting [2022-12-20T04:41:56.994Z] eaf3925da568: Waiting [2022-12-20T04:41:56.994Z] bab4dde63d76: Waiting [2022-12-20T04:41:56.994Z] 4872d77fe225: Waiting [2022-12-20T04:41:56.994Z] b352a97aabf1: Waiting [2022-12-20T04:41:56.994Z] 5851b861e8e6: Waiting [2022-12-20T04:41:56.994Z] e2be974225ed: Download complete [2022-12-20T04:41:56.994Z] 988bab9f4d93: Verifying Checksum [2022-12-20T04:41:56.994Z] 988bab9f4d93: Download complete [2022-12-20T04:41:57.255Z] 1469e6f7b9e6: Verifying Checksum [2022-12-20T04:41:57.255Z] 1469e6f7b9e6: Download complete [2022-12-20T04:41:57.255Z] eaf3925da568: Verifying Checksum [2022-12-20T04:41:57.255Z] eaf3925da568: Download complete [2022-12-20T04:41:57.255Z] 339a4e72a1f5: Verifying Checksum [2022-12-20T04:41:57.255Z] 339a4e72a1f5: Download complete [2022-12-20T04:41:57.255Z] bde34c3a00c8: Download complete [2022-12-20T04:41:57.255Z] b352a97aabf1: Download complete [2022-12-20T04:41:57.255Z] 4872d77fe225: Verifying Checksum [2022-12-20T04:41:57.255Z] 4872d77fe225: Download complete [2022-12-20T04:41:57.255Z] b85a868b505f: Verifying Checksum [2022-12-20T04:41:57.255Z] b85a868b505f: Download complete [2022-12-20T04:41:57.255Z] 5851b861e8e6: Download complete [2022-12-20T04:41:57.515Z] bab4dde63d76: Verifying Checksum [2022-12-20T04:41:57.515Z] bab4dde63d76: Download complete [2022-12-20T04:41:58.455Z] b85a868b505f: Pull complete [2022-12-20T04:41:58.715Z] e2be974225ed: Pull complete [2022-12-20T04:41:59.290Z] 339a4e72a1f5: Pull complete [2022-12-20T04:41:59.290Z] 988bab9f4d93: Pull complete [2022-12-20T04:41:59.561Z] 1469e6f7b9e6: Pull complete [2022-12-20T04:41:59.823Z] eaf3925da568: Pull complete [2022-12-20T04:42:01.728Z] bab4dde63d76: Pull complete [2022-12-20T04:42:01.728Z] bde34c3a00c8: Pull complete [2022-12-20T04:42:01.728Z] b352a97aabf1: Pull complete [2022-12-20T04:42:01.990Z] 4872d77fe225: Pull complete [2022-12-20T04:42:01.990Z] 5851b861e8e6: Pull complete [2022-12-20T04:42:01.990Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-20T04:42:01.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-20T04:42:01.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:42:02.085Z] prd-ubuntu20.04-docker-8c-8g-205 does not seem to be running inside a container [2022-12-20T04:42:02.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-20T04:42:04.084Z] $ docker top 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 -eo pid,comm [2022-12-20T04:42:04.141Z] 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). [2022-12-20T04:42:04.141Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-20T04:42:04.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-20T04:42:04.174Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-20T04:42:04.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-20T04:42:04.307Z] $ docker exec 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 ssh-agent [2022-12-20T04:42:04.416Z] SSH_AUTH_SOCK=/tmp/ssh-wVNfQKgqlB49/agent.31 [2022-12-20T04:42:04.416Z] SSH_AGENT_PID=37 [2022-12-20T04:42:04.422Z] Running ssh-add (command line suppressed) [2022-12-20T04:42:04.521Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_8870468349626063538.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_8870468349626063538.key) [2022-12-20T04:42:04.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-20T04:42:04.826Z] + git tag --points-at HEAD [Pipeline] } [2022-12-20T04:42:04.841Z] $ docker exec --env ******** --env ******** 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 ssh-agent -k [2022-12-20T04:42:04.969Z] unset SSH_AUTH_SOCK; [2022-12-20T04:42:04.970Z] unset SSH_AGENT_PID; [2022-12-20T04:42:04.970Z] echo Agent pid 37 killed; [2022-12-20T04:42:04.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-20T04:42:05.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-20T04:42:05.018Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-20T04:42:05.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-20T04:42:05.132Z] $ docker exec 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 ssh-agent [2022-12-20T04:42:05.243Z] SSH_AUTH_SOCK=/tmp/ssh-Eswfry0b8HZD/agent.70 [2022-12-20T04:42:05.243Z] SSH_AGENT_PID=77 [2022-12-20T04:42:05.248Z] Running ssh-add (command line suppressed) [2022-12-20T04:42:05.359Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_502738325547617614.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_502738325547617614.key) [2022-12-20T04:42:05.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-20T04:42:05.663Z] + git semver init [2022-12-20T04:42:05.921Z] 2022-12-20 04:42:05,834 [run_init] DEBUG init version:0.0.0 force:False [2022-12-20T04:42:05.921Z] 2022-12-20 04:42:05,835 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-20T04:42:05.921Z] 2022-12-20 04:42:05,835 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-20T04:42:05.921Z] 2022-12-20 04:42:05,835 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,857 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,858 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,861 [execute] INFO git cat-file --batch-check [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,867 [execute] INFO git cat-file --batch [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-20T04:42:07.298Z] 2022-12-20 04:42:06,872 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-20T04:42:07.298Z] 0.0.0 [Pipeline] } [2022-12-20T04:42:07.307Z] $ docker exec --env ******** --env ******** 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 ssh-agent -k [2022-12-20T04:42:07.409Z] unset SSH_AUTH_SOCK; [2022-12-20T04:42:07.409Z] unset SSH_AGENT_PID; [2022-12-20T04:42:07.409Z] echo Agent pid 77 killed; [2022-12-20T04:42:07.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-20T04:42:07.723Z] + git semver [Pipeline] } [2022-12-20T04:42:07.996Z] $ docker stop --time=1 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 [2022-12-20T04:42:09.333Z] $ docker rm -f --volumes 8792095c1315187d80e9f6a315fc1d8051440d225845de55aff6d53de0907724 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-20T04:42:09.682Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-20T04:42:09.901Z] Stashed 1 file(s) [Pipeline] echo [2022-12-20T04:42:09.906Z] [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 [2022-12-20T04:42:10.036Z] provisioning config files... [2022-12-20T04:42:10.047Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config14651834564487910533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:42:10.356Z] ---> docker-login.sh [2022-12-20T04:42:10.356Z] nexus3.edgexfoundry.org:10001 [2022-12-20T04:42:10.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:42:10.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:42:10.356Z] Configure a credential helper to remove this warning. See [2022-12-20T04:42:10.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:42:10.356Z] [2022-12-20T04:42:10.356Z] Login Succeeded [2022-12-20T04:42:10.356Z] nexus3.edgexfoundry.org:10002 [2022-12-20T04:42:10.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:42:10.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:42:10.356Z] Configure a credential helper to remove this warning. See [2022-12-20T04:42:10.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:42:10.356Z] [2022-12-20T04:42:10.356Z] Login Succeeded [2022-12-20T04:42:10.356Z] nexus3.edgexfoundry.org:10003 [2022-12-20T04:42:10.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:42:10.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:42:10.616Z] Configure a credential helper to remove this warning. See [2022-12-20T04:42:10.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:42:10.616Z] [2022-12-20T04:42:10.616Z] Login Succeeded [2022-12-20T04:42:10.616Z] nexus3.edgexfoundry.org:10004 [2022-12-20T04:42:10.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:42:10.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:42:10.616Z] Configure a credential helper to remove this warning. See [2022-12-20T04:42:10.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:42:10.616Z] [2022-12-20T04:42:10.616Z] Login Succeeded [2022-12-20T04:42:10.616Z] docker.io [2022-12-20T04:42:10.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:42:11.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:42:11.143Z] Configure a credential helper to remove this warning. See [2022-12-20T04:42:11.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:42:11.143Z] [2022-12-20T04:42:11.143Z] Login Succeeded [2022-12-20T04:42:11.143Z] ---> docker-login.sh ends [Pipeline] } [2022-12-20T04:42:11.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-20T04:42:11.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T04:42:11.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T04:42:11.257Z] ========================================================= [2022-12-20T04:42:11.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-20T04:42:11.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:42:11.569Z] + 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 . [2022-12-20T04:42:11.569Z] Sending build context to Docker daemon 10.8MB [2022-12-20T04:42:11.569Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T04:42:11.569Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-20T04:42:11.569Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-20T04:42:11.569Z] 213ec9aee27d: Pulling fs layer [2022-12-20T04:42:11.569Z] 4583459ba037: Pulling fs layer [2022-12-20T04:42:11.569Z] 93c1e223e6f2: Pulling fs layer [2022-12-20T04:42:11.569Z] 53926ce57604: Pulling fs layer [2022-12-20T04:42:11.569Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-20T04:42:11.569Z] 22ff95d597cd: Pulling fs layer [2022-12-20T04:42:11.569Z] 12d6caf4c0d1: Pulling fs layer [2022-12-20T04:42:11.569Z] 96b7cbca73a9: Pulling fs layer [2022-12-20T04:42:11.569Z] a7acece74701: Pulling fs layer [2022-12-20T04:42:11.569Z] 96b7cbca73a9: Waiting [2022-12-20T04:42:11.569Z] 21b2b0c7a3f4: Waiting [2022-12-20T04:42:11.569Z] a7acece74701: Waiting [2022-12-20T04:42:11.569Z] 22ff95d597cd: Waiting [2022-12-20T04:42:11.569Z] 12d6caf4c0d1: Waiting [2022-12-20T04:42:11.569Z] 53926ce57604: Waiting [2022-12-20T04:42:11.569Z] 93c1e223e6f2: Verifying Checksum [2022-12-20T04:42:11.569Z] 93c1e223e6f2: Download complete [2022-12-20T04:42:11.829Z] 4583459ba037: Download complete [2022-12-20T04:42:11.829Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-20T04:42:11.829Z] 21b2b0c7a3f4: Download complete [2022-12-20T04:42:11.829Z] 213ec9aee27d: Verifying Checksum [2022-12-20T04:42:11.829Z] 213ec9aee27d: Download complete [2022-12-20T04:42:11.829Z] 22ff95d597cd: Verifying Checksum [2022-12-20T04:42:11.829Z] 22ff95d597cd: Download complete [2022-12-20T04:42:11.829Z] 12d6caf4c0d1: Verifying Checksum [2022-12-20T04:42:11.829Z] 12d6caf4c0d1: Download complete [2022-12-20T04:42:11.829Z] 213ec9aee27d: Pull complete [2022-12-20T04:42:12.092Z] 4583459ba037: Pull complete [2022-12-20T04:42:12.093Z] 93c1e223e6f2: Pull complete [2022-12-20T04:42:12.353Z] a7acece74701: Verifying Checksum [2022-12-20T04:42:12.353Z] a7acece74701: Download complete [2022-12-20T04:42:12.612Z] 96b7cbca73a9: Download complete [2022-12-20T04:42:12.612Z] 53926ce57604: Verifying Checksum [2022-12-20T04:42:12.612Z] 53926ce57604: Download complete [2022-12-20T04:42:16.799Z] 53926ce57604: Pull complete [2022-12-20T04:42:16.799Z] 21b2b0c7a3f4: Pull complete [2022-12-20T04:42:16.799Z] 22ff95d597cd: Pull complete [2022-12-20T04:42:16.799Z] 12d6caf4c0d1: Pull complete [2022-12-20T04:42:18.702Z] 96b7cbca73a9: Pull complete [2022-12-20T04:42:19.636Z] a7acece74701: Pull complete [2022-12-20T04:42:19.636Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-20T04:42:19.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-20T04:42:19.636Z] ---> db6d94c90886 [2022-12-20T04:42:19.636Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-20T04:42:22.937Z] ---> Running in 347203fa7d8b [2022-12-20T04:42:22.937Z] Removing intermediate container 347203fa7d8b [2022-12-20T04:42:22.937Z] ---> 4609f2e04c00 [2022-12-20T04:42:22.937Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T04:42:22.937Z] ---> Running in 78bf64dabc72 [2022-12-20T04:42:22.937Z] Removing intermediate container 78bf64dabc72 [2022-12-20T04:42:22.937Z] ---> 53d828661b23 [2022-12-20T04:42:22.937Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-20T04:42:22.937Z] ---> Running in f3dbdf3d9284 [2022-12-20T04:42:22.937Z] Removing intermediate container f3dbdf3d9284 [2022-12-20T04:42:22.937Z] ---> 0f264b6c2745 [2022-12-20T04:42:22.937Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-20T04:42:22.937Z] ---> Running in 5d662a5f4c1a [2022-12-20T04:42:22.937Z] Removing intermediate container 5d662a5f4c1a [2022-12-20T04:42:22.937Z] ---> 11c36f36864b [2022-12-20T04:42:22.937Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T04:42:22.937Z] ---> Running in 2ff830908a4c [2022-12-20T04:42:23.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-20T04:42:23.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-20T04:42:23.716Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-20T04:42:23.716Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-20T04:42:23.716Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-20T04:42:23.716Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-20T04:42:23.716Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T04:42:23.716Z] OK: 216 MiB in 55 packages [2022-12-20T04:42:24.283Z] Removing intermediate container 2ff830908a4c [2022-12-20T04:42:24.283Z] ---> e61689b24696 [2022-12-20T04:42:24.283Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-20T04:42:24.283Z] ---> Running in d4c5a3c79a4f [2022-12-20T04:42:24.283Z] Removing intermediate container d4c5a3c79a4f [2022-12-20T04:42:24.283Z] ---> 2f0eaaf7d84e [2022-12-20T04:42:24.283Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-20T04:42:24.543Z] ---> 125c10588c75 [2022-12-20T04:42:24.543Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T04:42:24.543Z] ---> Running in d94238e7d74b [2022-12-20T04:42:25.001Z] Still waiting to schedule task [2022-12-20T04:42:25.002Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-20T04:42:51.101Z] Removing intermediate container d94238e7d74b [2022-12-20T04:42:51.101Z] ---> c3ce5ac1821b [2022-12-20T04:42:51.101Z] Step 11/12 : COPY . . [2022-12-20T04:42:51.101Z] ---> db4f279f4aa5 [2022-12-20T04:42:51.101Z] Step 12/12 : RUN $MAKE [2022-12-20T04:42:51.101Z] ---> Running in c80605734f28 [2022-12-20T04:42:51.101Z] noop [2022-12-20T04:42:51.101Z] Removing intermediate container c80605734f28 [2022-12-20T04:42:51.101Z] ---> 389aa53dd32f [2022-12-20T04:42:51.101Z] Successfully built 389aa53dd32f [2022-12-20T04:42:51.101Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:42:51.419Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-20T04:42:51.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:42:51.496Z] prd-ubuntu20.04-docker-8c-8g-205 does not seem to be running inside a container [2022-12-20T04:42:51.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** ci-base-image-x86_64 cat [2022-12-20T04:42:51.889Z] $ docker top b44f35aa0065aaa944ce2bb2520ebf33f92ae56238c0ece7dd998d33f3a3b962 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T04:42:52.240Z] + go version [2022-12-20T04:42:52.241Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-20T04:42:52.255Z] $ docker stop --time=1 b44f35aa0065aaa944ce2bb2520ebf33f92ae56238c0ece7dd998d33f3a3b962 [2022-12-20T04:42:53.541Z] $ docker rm -f --volumes b44f35aa0065aaa944ce2bb2520ebf33f92ae56238c0ece7dd998d33f3a3b962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:42:53.937Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-20T04:42:53.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:42:54.018Z] prd-ubuntu20.04-docker-8c-8g-205 does not seem to be running inside a container [2022-12-20T04:42:54.053Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** ci-base-image-x86_64 cat [2022-12-20T04:42:54.423Z] $ docker top a8c011ada14470b86894bb9e8bf9bc8a5133d1c383f5b7cdcbd2b7d1351a08d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T04:42:54.776Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2022-12-20T04:42:55.082Z] + make test [2022-12-20T04:42:55.082Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-20T04:42:55.342Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-20T04:43:05.335Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-20T04:43:05.336Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 26.8% of statements [2022-12-20T04:43:13.458Z] 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." [2022-12-20T04:43:13.458Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-20T04:43:15.985Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-20T04:43:15.985Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-20T04:43:15.985Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-20T04:43:16.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-20T04:43:16.072Z] $ docker stop --time=1 a8c011ada14470b86894bb9e8bf9bc8a5133d1c383f5b7cdcbd2b7d1351a08d7 [2022-12-20T04:43:17.959Z] $ docker rm -f --volumes a8c011ada14470b86894bb9e8bf9bc8a5133d1c383f5b7cdcbd2b7d1351a08d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-20T04:43:18.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-20T04:43:18.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-20T04:43:18.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-20T04:43:19.241Z] + ls -al . [2022-12-20T04:43:19.241Z] total 200 [2022-12-20T04:43:19.241Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 20 04:42 . [2022-12-20T04:43:19.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 04:41 .. [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 04:41 .dockerignore [2022-12-20T04:43:19.241Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 04:43 .git [2022-12-20T04:43:19.241Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 04:41 .github [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 20 04:41 .gitignore [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 20 04:41 .golangci.yml [2022-12-20T04:43:19.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 04:42 .semver [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 9100 Dec 20 04:41 Attribution.txt [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 13085 Dec 20 04:41 CHANGELOG.md [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 1641 Dec 20 04:41 Dockerfile [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 04:41 GOVERNANCE.md [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 04:41 Jenkinsfile [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 04:41 LICENSE [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 2173 Dec 20 04:41 Makefile [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 04:41 OWNERS.md [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 12657 Dec 20 04:41 README.md [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 04:42 VERSION [2022-12-20T04:43:19.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 04:41 bin [2022-12-20T04:43:19.241Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 04:41 cmd [2022-12-20T04:43:19.241Z] -rw-r--r-- 1 jenkins jenkins 18351 Dec 20 04:43 coverage.out [2022-12-20T04:43:19.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 04:41 driver [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 20 04:41 go.mod [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 20 04:41 go.sum [2022-12-20T04:43:19.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 04:41 snap [2022-12-20T04:43:19.241Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 04:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:43:19.546Z] + 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=5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 --label arch=amd64 --label version=0.0.0 . [2022-12-20T04:43:19.546Z] Sending build context to Docker daemon 10.82MB [2022-12-20T04:43:19.546Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T04:43:19.546Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-20T04:43:19.546Z] ---> 389aa53dd32f [2022-12-20T04:43:19.546Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-12-20T04:43:19.546Z] ---> Running in b5876c4b692e [2022-12-20T04:43:19.805Z] Removing intermediate container b5876c4b692e [2022-12-20T04:43:19.805Z] ---> 57ad258decc6 [2022-12-20T04:43:19.805Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T04:43:19.805Z] ---> Running in 5075b9fe08f0 [2022-12-20T04:43:19.805Z] Removing intermediate container 5075b9fe08f0 [2022-12-20T04:43:19.805Z] ---> 4baf2e6ed5e1 [2022-12-20T04:43:19.805Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-20T04:43:19.805Z] ---> Running in 75b2c42a3db7 [2022-12-20T04:43:20.065Z] Removing intermediate container 75b2c42a3db7 [2022-12-20T04:43:20.065Z] ---> b8275e9c8f0d [2022-12-20T04:43:20.065Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-20T04:43:20.065Z] ---> Running in a8dc63985708 [2022-12-20T04:43:20.065Z] Removing intermediate container a8dc63985708 [2022-12-20T04:43:20.065Z] ---> 2978e686bf31 [2022-12-20T04:43:20.065Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T04:43:20.065Z] ---> Running in 580c4c73c739 [2022-12-20T04:43:20.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-20T04:43:20.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-20T04:43:20.847Z] OK: 216 MiB in 55 packages [2022-12-20T04:43:21.107Z] Removing intermediate container 580c4c73c739 [2022-12-20T04:43:21.107Z] ---> f0300aa85d77 [2022-12-20T04:43:21.107Z] Step 8/25 : WORKDIR /device-rest-go [2022-12-20T04:43:21.107Z] ---> Running in a3d3ab13f17c [2022-12-20T04:43:21.366Z] Removing intermediate container a3d3ab13f17c [2022-12-20T04:43:21.366Z] ---> bb8a18d69ea5 [2022-12-20T04:43:21.366Z] Step 9/25 : COPY go.mod vendor* ./ [2022-12-20T04:43:21.366Z] ---> 755c10db9272 [2022-12-20T04:43:21.366Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T04:43:21.366Z] ---> Running in fe7253bce670 [2022-12-20T04:43:22.306Z] Removing intermediate container fe7253bce670 [2022-12-20T04:43:22.306Z] ---> 9b926d1eab3a [2022-12-20T04:43:22.306Z] Step 11/25 : COPY . . [2022-12-20T04:43:22.563Z] ---> d33abef3289e [2022-12-20T04:43:22.563Z] Step 12/25 : RUN $MAKE [2022-12-20T04:43:22.563Z] ---> Running in 4c91efd30394 [2022-12-20T04:43:22.822Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-12-20T04:43:44.749Z] Removing intermediate container 4c91efd30394 [2022-12-20T04:43:44.749Z] ---> 6eb1c5f643e5 [2022-12-20T04:43:44.749Z] Step 13/25 : FROM alpine:3.16 [2022-12-20T04:43:44.749Z] 3.16: Pulling from library/alpine [2022-12-20T04:43:44.749Z] ca7dd9ec2225: Pulling fs layer [2022-12-20T04:43:44.749Z] ca7dd9ec2225: Verifying Checksum [2022-12-20T04:43:44.749Z] ca7dd9ec2225: Download complete [2022-12-20T04:43:44.749Z] ca7dd9ec2225: Pull complete [2022-12-20T04:43:44.749Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-20T04:43:44.749Z] Status: Downloaded newer image for alpine:3.16 [2022-12-20T04:43:44.749Z] ---> bfe296a52501 [2022-12-20T04:43:44.749Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-20T04:43:44.749Z] ---> Running in 271ffe450774 [2022-12-20T04:43:44.749Z] Removing intermediate container 271ffe450774 [2022-12-20T04:43:44.749Z] ---> dc865ea48a61 [2022-12-20T04:43:44.749Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-12-20T04:43:44.749Z] ---> Running in f645bd43886c [2022-12-20T04:43:44.749Z] Removing intermediate container f645bd43886c [2022-12-20T04:43:44.749Z] ---> c4e590696e2d [2022-12-20T04:43:44.749Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-20T04:43:44.749Z] ---> Running in 57fe009cfc86 [2022-12-20T04:43:44.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-20T04:43:44.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-20T04:43:45.007Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-20T04:43:45.007Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-20T04:43:45.007Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-20T04:43:45.007Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-20T04:43:45.007Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-20T04:43:45.007Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-20T04:43:45.007Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T04:43:45.007Z] OK: 8 MiB in 20 packages [2022-12-20T04:43:45.574Z] Removing intermediate container 57fe009cfc86 [2022-12-20T04:43:45.574Z] ---> faff1b9e0cd3 [2022-12-20T04:43:45.574Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-12-20T04:43:46.208Z] ---> 58d81a37b4fd [2022-12-20T04:43:46.208Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-12-20T04:43:46.208Z] ---> e7fca913c262 [2022-12-20T04:43:46.208Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-12-20T04:43:46.467Z] ---> 0a7350dc57e2 [2022-12-20T04:43:46.467Z] Step 20/25 : EXPOSE 59986 [2022-12-20T04:43:46.467Z] ---> Running in 18260f936f6d [2022-12-20T04:43:46.467Z] Removing intermediate container 18260f936f6d [2022-12-20T04:43:46.467Z] ---> b02014776aef [2022-12-20T04:43:46.467Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-12-20T04:43:46.467Z] ---> Running in 746520a66f15 [2022-12-20T04:43:46.727Z] Removing intermediate container 746520a66f15 [2022-12-20T04:43:46.727Z] ---> feeaa8e20af1 [2022-12-20T04:43:46.727Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-12-20T04:43:46.727Z] ---> Running in 2e32813042d0 [2022-12-20T04:43:46.727Z] Removing intermediate container 2e32813042d0 [2022-12-20T04:43:46.727Z] ---> 48552c29bd4c [2022-12-20T04:43:46.727Z] Step 23/25 : LABEL arch=amd64 [2022-12-20T04:43:46.727Z] ---> Running in 88987d1f4ba9 [2022-12-20T04:43:46.996Z] Removing intermediate container 88987d1f4ba9 [2022-12-20T04:43:46.996Z] ---> d230cfecd291 [2022-12-20T04:43:46.996Z] Step 24/25 : LABEL git_sha=5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [2022-12-20T04:43:46.996Z] ---> Running in 244e2a079f35 [2022-12-20T04:43:46.996Z] Removing intermediate container 244e2a079f35 [2022-12-20T04:43:46.996Z] ---> 5b45bb52cef1 [2022-12-20T04:43:46.996Z] Step 25/25 : LABEL version=0.0.0 [2022-12-20T04:43:46.996Z] ---> Running in 89a14971ce56 [2022-12-20T04:43:46.996Z] Removing intermediate container 89a14971ce56 [2022-12-20T04:43:46.996Z] ---> 68fb2b3684ce [2022-12-20T04:43:46.996Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-20T04:43:46.996Z] Successfully built 68fb2b3684ce [2022-12-20T04:43:47.254Z] 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 [2022-12-20T04:43:47.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T04:43:47.652Z] [2022-12-20T04:43:47.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:43:47.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T04:43:47.950Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-20T04:43:47.950Z] 5eb5b503b376: Pulling fs layer [2022-12-20T04:43:47.950Z] 5c69ac0246d0: Pulling fs layer [2022-12-20T04:43:47.950Z] ec43610c2a17: Pulling fs layer [2022-12-20T04:43:47.950Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-20T04:43:47.950Z] 33b1e0a273af: Pulling fs layer [2022-12-20T04:43:47.950Z] 5d3b04190fa2: Pulling fs layer [2022-12-20T04:43:47.950Z] 2f39f015ded8: Pulling fs layer [2022-12-20T04:43:47.950Z] 3a2ae6a8a46f: Waiting [2022-12-20T04:43:47.950Z] 33b1e0a273af: Waiting [2022-12-20T04:43:47.950Z] 5d3b04190fa2: Waiting [2022-12-20T04:43:47.950Z] 2f39f015ded8: Waiting [2022-12-20T04:43:47.950Z] 5c69ac0246d0: Verifying Checksum [2022-12-20T04:43:47.950Z] 5c69ac0246d0: Download complete [2022-12-20T04:43:47.950Z] 3a2ae6a8a46f: Download complete [2022-12-20T04:43:47.950Z] 33b1e0a273af: Verifying Checksum [2022-12-20T04:43:47.950Z] 33b1e0a273af: Download complete [2022-12-20T04:43:47.950Z] 5d3b04190fa2: Verifying Checksum [2022-12-20T04:43:47.950Z] 5d3b04190fa2: Download complete [2022-12-20T04:43:48.210Z] ec43610c2a17: Verifying Checksum [2022-12-20T04:43:48.210Z] ec43610c2a17: Download complete [2022-12-20T04:43:48.210Z] 5eb5b503b376: Download complete [2022-12-20T04:43:48.777Z] 2f39f015ded8: Download complete [2022-12-20T04:43:49.344Z] 5eb5b503b376: Pull complete [2022-12-20T04:43:49.602Z] 5c69ac0246d0: Pull complete [2022-12-20T04:43:49.860Z] ec43610c2a17: Pull complete [2022-12-20T04:43:50.119Z] 3a2ae6a8a46f: Pull complete [2022-12-20T04:43:50.378Z] 33b1e0a273af: Pull complete [2022-12-20T04:43:50.378Z] 5d3b04190fa2: Pull complete [2022-12-20T04:43:55.667Z] 2f39f015ded8: Pull complete [2022-12-20T04:43:55.667Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-20T04:43:55.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T04:43:55.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:43:55.746Z] prd-ubuntu20.04-docker-8c-8g-205 does not seem to be running inside a container [2022-12-20T04:43:55.775Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 [2022-12-20T04:43:57.749Z] $ docker top 5d2774f17437d347cb1dcfa8815a8db2d533149bf14337f52015bdc05e55fb4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:43:58.132Z] ---> job-cost.sh [2022-12-20T04:43:58.132Z] lf-activate-venv: SKIPPING [2022-12-20T04:43:58.132Z] INFO: No Stack... [2022-12-20T04:43:58.699Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-20T04:43:58.958Z] INFO: Archiving Costs [Pipeline] sh [2022-12-20T04:43:59.244Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2022-12-20T04:43:59.244Z] + cut -d, -f6 [Pipeline] lock [2022-12-20T04:43:59.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] [2022-12-20T04:43:59.264Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] did not exist. Created. [2022-12-20T04:43:59.265Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-20T04:43:59.575Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-20T04:43:59.605Z] Stashed 1 file(s) [Pipeline] } [2022-12-20T04:43:59.611Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-20T04:43:59.630Z] $ docker stop --time=1 5d2774f17437d347cb1dcfa8815a8db2d533149bf14337f52015bdc05e55fb4b [2022-12-20T04:44:00.799Z] $ docker rm -f --volumes 5d2774f17437d347cb1dcfa8815a8db2d533149bf14337f52015bdc05e55fb4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-20T04:44:04.551Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-206 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2022-12-20T04:44:04.562Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2022-12-20T04:44:04.598Z] The recommended git tool is: git [2022-12-20T04:44:09.315Z] using credential edgex-jenkins-ssh [2022-12-20T04:44:09.329Z] Cloning the remote Git repository [2022-12-20T04:44:09.368Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-20T04:44:09.433Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2022-12-20T04:44:09.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-20T04:44:09.575Z] > git --version # timeout=10 [2022-12-20T04:44:09.594Z] > git --version # 'git version 2.25.1' [2022-12-20T04:44:09.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-20T04:44:09.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-20T04:44:11.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-20T04:44:11.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-20T04:44:12.738Z] Merging remotes/origin/main commit 885eff3573f731dbb8051040958eb45753ebbb2c into PR head commit 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [2022-12-20T04:44:12.942Z] Merge succeeded, producing 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [2022-12-20T04:44:12.942Z] Checking out Revision 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 (PR-229) [2022-12-20T04:44:12.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-20T04:44:12.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-20T04:44:12.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-20T04:44:12.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-20T04:44:12.755Z] > git config core.sparsecheckout # timeout=10 [2022-12-20T04:44:12.778Z] > git checkout -f 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # timeout=10 [2022-12-20T04:44:12.849Z] > git remote # timeout=10 [2022-12-20T04:44:12.870Z] > git config --get remote.origin.url # timeout=10 [2022-12-20T04:44:12.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-20T04:44:12.901Z] > git merge 885eff3573f731dbb8051040958eb45753ebbb2c # timeout=10 [2022-12-20T04:44:12.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-20T04:44:12.949Z] > git config core.sparsecheckout # timeout=10 [2022-12-20T04:44:12.961Z] > git checkout -f 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # timeout=10 [2022-12-20T04:44:16.384Z] Commit message: "fix: resolved merge conflicts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-20T04:44:17.191Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-20T04:44:17.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T04:44:17.191Z] Dload Upload Total Spent Left Speed [2022-12-20T04:44:17.191Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2022-12-20T04:44:17.815Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-20T04:44:18.135Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-20T04:44:18.135Z] + sudo tee /etc/docker/daemon.new [2022-12-20T04:44:18.135Z] { [2022-12-20T04:44:18.135Z] "registry-mirrors": [ [2022-12-20T04:44:18.135Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-20T04:44:18.135Z] ], [2022-12-20T04:44:18.135Z] "bip": "10.250.0.254/24", [2022-12-20T04:44:18.135Z] "hosts": [ [2022-12-20T04:44:18.135Z] "tcp://0.0.0.0:5555", [2022-12-20T04:44:18.135Z] "unix:///var/run/docker.sock" [2022-12-20T04:44:18.135Z] ], [2022-12-20T04:44:18.135Z] "mtu": 1458, [2022-12-20T04:44:18.135Z] "selinux-enabled": true, [2022-12-20T04:44:18.135Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-20T04:44:18.135Z] } [Pipeline] sh [2022-12-20T04:44:18.456Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-20T04:44:18.776Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-20T04:44:37.015Z] provisioning config files... [2022-12-20T04:44:37.039Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config11071143383424155005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:44:37.380Z] ---> docker-login.sh [2022-12-20T04:44:37.380Z] nexus3.edgexfoundry.org:10001 [2022-12-20T04:44:37.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:44:37.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:44:37.914Z] Configure a credential helper to remove this warning. See [2022-12-20T04:44:37.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:44:37.914Z] [2022-12-20T04:44:37.914Z] Login Succeeded [2022-12-20T04:44:37.914Z] nexus3.edgexfoundry.org:10002 [2022-12-20T04:44:38.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:44:38.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:44:38.183Z] Configure a credential helper to remove this warning. See [2022-12-20T04:44:38.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:44:38.183Z] [2022-12-20T04:44:38.183Z] Login Succeeded [2022-12-20T04:44:38.183Z] nexus3.edgexfoundry.org:10003 [2022-12-20T04:44:38.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:44:38.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:44:38.717Z] Configure a credential helper to remove this warning. See [2022-12-20T04:44:38.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:44:38.717Z] [2022-12-20T04:44:38.717Z] Login Succeeded [2022-12-20T04:44:38.717Z] nexus3.edgexfoundry.org:10004 [2022-12-20T04:44:38.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:44:38.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:44:38.987Z] Configure a credential helper to remove this warning. See [2022-12-20T04:44:38.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:44:38.987Z] [2022-12-20T04:44:38.987Z] Login Succeeded [2022-12-20T04:44:38.987Z] docker.io [2022-12-20T04:44:39.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T04:44:39.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T04:44:39.521Z] Configure a credential helper to remove this warning. See [2022-12-20T04:44:39.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T04:44:39.521Z] [2022-12-20T04:44:39.521Z] Login Succeeded [2022-12-20T04:44:39.521Z] ---> docker-login.sh ends [Pipeline] } [2022-12-20T04:44:39.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-20T04:44:39.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T04:44:39.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T04:44:39.807Z] ========================================================= [2022-12-20T04:44:39.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-20T04:44:39.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:44:40.156Z] + 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 . [2022-12-20T04:44:40.156Z] Sending build context to Docker daemon 150kB [2022-12-20T04:44:40.425Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T04:44:40.425Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-20T04:44:40.425Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-20T04:44:40.425Z] 9b18e9b68314: Pulling fs layer [2022-12-20T04:44:40.425Z] 35d82f9e3411: Pulling fs layer [2022-12-20T04:44:40.425Z] e16973657156: Pulling fs layer [2022-12-20T04:44:40.425Z] fc693d55d65f: Pulling fs layer [2022-12-20T04:44:40.425Z] 7e9fc2657dce: Pulling fs layer [2022-12-20T04:44:40.699Z] fc693d55d65f: Waiting [2022-12-20T04:44:40.699Z] dda99020689f: Pulling fs layer [2022-12-20T04:44:40.699Z] db1c61fa0a46: Pulling fs layer [2022-12-20T04:44:40.699Z] 891c053d2c06: Pulling fs layer [2022-12-20T04:44:40.699Z] dda99020689f: Waiting [2022-12-20T04:44:40.699Z] db1c61fa0a46: Waiting [2022-12-20T04:44:40.699Z] 891c053d2c06: Waiting [2022-12-20T04:44:40.699Z] 7e9fc2657dce: Waiting [2022-12-20T04:44:40.699Z] e16973657156: Verifying Checksum [2022-12-20T04:44:40.699Z] e16973657156: Download complete [2022-12-20T04:44:40.699Z] 35d82f9e3411: Download complete [2022-12-20T04:44:40.699Z] 7e9fc2657dce: Verifying Checksum [2022-12-20T04:44:40.699Z] 7e9fc2657dce: Download complete [2022-12-20T04:44:40.699Z] 9b18e9b68314: Verifying Checksum [2022-12-20T04:44:40.699Z] 9b18e9b68314: Download complete [2022-12-20T04:44:40.699Z] dda99020689f: Verifying Checksum [2022-12-20T04:44:40.699Z] dda99020689f: Download complete [2022-12-20T04:44:41.671Z] 9b18e9b68314: Pull complete [2022-12-20T04:44:41.671Z] 891c053d2c06: Verifying Checksum [2022-12-20T04:44:41.671Z] 891c053d2c06: Download complete [2022-12-20T04:44:42.267Z] 35d82f9e3411: Pull complete [2022-12-20T04:44:42.543Z] e16973657156: Pull complete [2022-12-20T04:44:43.132Z] db1c61fa0a46: Verifying Checksum [2022-12-20T04:44:43.132Z] db1c61fa0a46: Download complete [2022-12-20T04:44:43.719Z] fc693d55d65f: Verifying Checksum [2022-12-20T04:44:43.719Z] fc693d55d65f: Download complete [2022-12-20T04:44:58.746Z] fc693d55d65f: Pull complete [2022-12-20T04:44:58.746Z] 7e9fc2657dce: Pull complete [2022-12-20T04:44:58.746Z] dda99020689f: Pull complete [2022-12-20T04:45:03.000Z] db1c61fa0a46: Pull complete [2022-12-20T04:45:04.957Z] 891c053d2c06: Pull complete [2022-12-20T04:45:04.957Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-20T04:45:04.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-20T04:45:04.957Z] ---> f96f9c87975a [2022-12-20T04:45:04.957Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-20T04:45:06.907Z] ---> Running in 6ff64a5da072 [2022-12-20T04:45:07.175Z] Removing intermediate container 6ff64a5da072 [2022-12-20T04:45:07.175Z] ---> fdf24beeb95f [2022-12-20T04:45:07.175Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T04:45:07.175Z] ---> Running in ea32665a14f3 [2022-12-20T04:45:07.441Z] Removing intermediate container ea32665a14f3 [2022-12-20T04:45:07.441Z] ---> 5d0f600684b8 [2022-12-20T04:45:07.441Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-20T04:45:07.716Z] ---> Running in 5c572563edf6 [2022-12-20T04:45:07.984Z] Removing intermediate container 5c572563edf6 [2022-12-20T04:45:07.984Z] ---> b850e9212ebf [2022-12-20T04:45:07.984Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-20T04:45:07.985Z] ---> Running in 761f130967e7 [2022-12-20T04:45:08.252Z] Removing intermediate container 761f130967e7 [2022-12-20T04:45:08.252Z] ---> c5c94392c8a7 [2022-12-20T04:45:08.252Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T04:45:08.520Z] ---> Running in 5c5ac08aa19d [2022-12-20T04:45:09.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-20T04:45:09.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-20T04:45:10.709Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-20T04:45:10.709Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-20T04:45:10.978Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-20T04:45:10.978Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-20T04:45:10.978Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T04:45:10.978Z] OK: 226 MiB in 55 packages [2022-12-20T04:45:11.940Z] Removing intermediate container 5c5ac08aa19d [2022-12-20T04:45:11.940Z] ---> d452cefd59de [2022-12-20T04:45:11.940Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-20T04:45:11.940Z] ---> Running in 27290359b82e [2022-12-20T04:45:12.206Z] Removing intermediate container 27290359b82e [2022-12-20T04:45:12.206Z] ---> eb4fd31e0f5b [2022-12-20T04:45:12.206Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-20T04:45:12.795Z] ---> 6014dbd49aa7 [2022-12-20T04:45:12.795Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T04:45:12.795Z] ---> Running in f84f55cfaf22 [2022-12-20T04:46:09.227Z] Removing intermediate container f84f55cfaf22 [2022-12-20T04:46:09.227Z] ---> 4a0670e5f395 [2022-12-20T04:46:09.227Z] Step 11/12 : COPY . . [2022-12-20T04:46:09.227Z] ---> 8b8959e4f9bd [2022-12-20T04:46:09.227Z] Step 12/12 : RUN $MAKE [2022-12-20T04:46:09.227Z] ---> Running in 1d1cf1085de9 [2022-12-20T04:46:09.227Z] noop [2022-12-20T04:46:09.227Z] Removing intermediate container 1d1cf1085de9 [2022-12-20T04:46:09.227Z] ---> c3b2c8c618cc [2022-12-20T04:46:09.227Z] Successfully built c3b2c8c618cc [2022-12-20T04:46:09.227Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:46:09.575Z] + docker inspect -f . ci-base-image-arm64 [2022-12-20T04:46:09.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:46:09.767Z] prd-ubuntu20.04-docker-arm64-4c-16g-206 does not seem to be running inside a container [2022-12-20T04:46:09.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** ci-base-image-arm64 cat [2022-12-20T04:46:11.028Z] $ docker top 7e6b3fa496d8e43d47eeb721b5275f12352cf4ad59e2b5edc8626594aef5843c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T04:46:11.855Z] + go version [2022-12-20T04:46:11.855Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-20T04:46:11.880Z] $ docker stop --time=1 7e6b3fa496d8e43d47eeb721b5275f12352cf4ad59e2b5edc8626594aef5843c [2022-12-20T04:46:13.497Z] $ docker rm -f --volumes 7e6b3fa496d8e43d47eeb721b5275f12352cf4ad59e2b5edc8626594aef5843c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:46:14.037Z] + docker inspect -f . ci-base-image-arm64 [2022-12-20T04:46:14.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:46:14.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-206 does not seem to be running inside a container [2022-12-20T04:46:14.284Z] $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** ci-base-image-arm64 cat [2022-12-20T04:46:15.464Z] $ docker top 2979189523a1bae45b6dd8e8d47fe950fec8e4a10c8bf9e55e9ff01f203304f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T04:46:15.987Z] + git config --global --add safe.directory /w/workspace/device-rest-go/6 [Pipeline] fileExists [Pipeline] sh [2022-12-20T04:46:16.590Z] + make test [2022-12-20T04:46:16.590Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-20T04:46:18.540Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-20T04:47:40.211Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-20T04:47:40.211Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 26.8% of statements [2022-12-20T04:47:40.211Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-20T04:47:40.211Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-20T04:47:58.425Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-20T04:47:58.425Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-20T04:47:58.425Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-20T04:47:58.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-20T04:47:58.463Z] $ docker stop --time=1 2979189523a1bae45b6dd8e8d47fe950fec8e4a10c8bf9e55e9ff01f203304f4 [2022-12-20T04:48:01.712Z] $ docker rm -f --volumes 2979189523a1bae45b6dd8e8d47fe950fec8e4a10c8bf9e55e9ff01f203304f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-20T04:48:02.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-20T04:48:02.668Z] Warning: overwriting stash ‘coverage-report’ [2022-12-20T04:48:03.123Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-20T04:48:03.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-20T04:48:03.846Z] + ls -al . [2022-12-20T04:48:03.846Z] total 196 [2022-12-20T04:48:03.846Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 04:46 . [2022-12-20T04:48:03.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 04:44 .. [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 20 04:44 .dockerignore [2022-12-20T04:48:03.846Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 04:44 .git [2022-12-20T04:48:03.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 04:44 .github [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 20 04:44 .gitignore [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 20 04:44 .golangci.yml [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 9100 Dec 20 04:44 Attribution.txt [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 13085 Dec 20 04:44 CHANGELOG.md [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 1641 Dec 20 04:44 Dockerfile [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 04:44 GOVERNANCE.md [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 20 04:44 Jenkinsfile [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 04:44 LICENSE [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 2173 Dec 20 04:44 Makefile [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 20 04:44 OWNERS.md [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 12657 Dec 20 04:44 README.md [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 04:42 VERSION [2022-12-20T04:48:03.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 04:44 bin [2022-12-20T04:48:03.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 04:44 cmd [2022-12-20T04:48:03.846Z] -rw-r--r-- 1 jenkins jenkins 18351 Dec 20 04:47 coverage.out [2022-12-20T04:48:03.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 04:44 driver [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 20 04:44 go.mod [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 20 04:44 go.sum [2022-12-20T04:48:03.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 04:44 snap [2022-12-20T04:48:03.846Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 20 04:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:48:04.190Z] + 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=5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 --label arch=arm64 --label version=0.0.0 . [2022-12-20T04:48:04.190Z] Sending build context to Docker daemon 169kB [2022-12-20T04:48:04.457Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T04:48:04.457Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-20T04:48:04.457Z] ---> c3b2c8c618cc [2022-12-20T04:48:04.457Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-12-20T04:48:04.457Z] ---> Running in b906dcc4aee0 [2022-12-20T04:48:04.727Z] Removing intermediate container b906dcc4aee0 [2022-12-20T04:48:04.727Z] ---> 1c34041a90b6 [2022-12-20T04:48:04.727Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T04:48:04.727Z] ---> Running in 7e4c3971c442 [2022-12-20T04:48:04.994Z] Removing intermediate container 7e4c3971c442 [2022-12-20T04:48:04.994Z] ---> 643cd8f22764 [2022-12-20T04:48:04.994Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-20T04:48:05.261Z] ---> Running in ca90919be644 [2022-12-20T04:48:05.530Z] Removing intermediate container ca90919be644 [2022-12-20T04:48:05.530Z] ---> aba0be76f12f [2022-12-20T04:48:05.530Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-20T04:48:05.530Z] ---> Running in 1b205c5e8f15 [2022-12-20T04:48:05.799Z] Removing intermediate container 1b205c5e8f15 [2022-12-20T04:48:05.799Z] ---> 669212b941bf [2022-12-20T04:48:05.799Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T04:48:05.799Z] ---> Running in 3623eed94d2e [2022-12-20T04:48:06.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-20T04:48:07.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-20T04:48:08.308Z] OK: 226 MiB in 55 packages [2022-12-20T04:48:09.269Z] Removing intermediate container 3623eed94d2e [2022-12-20T04:48:09.269Z] ---> a0c1512a9e84 [2022-12-20T04:48:09.269Z] Step 8/25 : WORKDIR /device-rest-go [2022-12-20T04:48:09.269Z] ---> Running in 98e583b18495 [2022-12-20T04:48:09.537Z] Removing intermediate container 98e583b18495 [2022-12-20T04:48:09.537Z] ---> 8075f28bc458 [2022-12-20T04:48:09.537Z] Step 9/25 : COPY go.mod vendor* ./ [2022-12-20T04:48:10.119Z] ---> 5e0f7234d986 [2022-12-20T04:48:10.119Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T04:48:10.119Z] ---> Running in f5f9ca0a4705 [2022-12-20T04:48:12.065Z] Removing intermediate container f5f9ca0a4705 [2022-12-20T04:48:12.065Z] ---> acae0105afbf [2022-12-20T04:48:12.065Z] Step 11/25 : COPY . . [2022-12-20T04:48:12.647Z] ---> 4860ffdaa78b [2022-12-20T04:48:12.647Z] Step 12/25 : RUN $MAKE [2022-12-20T04:48:12.918Z] ---> Running in e5486c2ed412 [2022-12-20T04:48:13.890Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-12-20T04:50:35.848Z] Removing intermediate container e5486c2ed412 [2022-12-20T04:50:35.848Z] ---> 6a5b3eea5e05 [2022-12-20T04:50:35.848Z] Step 13/25 : FROM alpine:3.16 [2022-12-20T04:50:36.430Z] 3.16: Pulling from library/alpine [2022-12-20T04:50:36.430Z] 6875df1f5354: Pulling fs layer [2022-12-20T04:50:37.390Z] 6875df1f5354: Verifying Checksum [2022-12-20T04:50:37.390Z] 6875df1f5354: Download complete [2022-12-20T04:50:37.976Z] 6875df1f5354: Pull complete [2022-12-20T04:50:37.976Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-20T04:50:37.976Z] Status: Downloaded newer image for alpine:3.16 [2022-12-20T04:50:37.976Z] ---> 2b4661558fb8 [2022-12-20T04:50:37.976Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-20T04:50:38.242Z] ---> Running in 0030536c487c [2022-12-20T04:50:38.509Z] Removing intermediate container 0030536c487c [2022-12-20T04:50:38.509Z] ---> 1d9df0c6f312 [2022-12-20T04:50:38.509Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-12-20T04:50:38.509Z] ---> Running in d2f51c64204a [2022-12-20T04:50:38.777Z] Removing intermediate container d2f51c64204a [2022-12-20T04:50:38.777Z] ---> 4d6cbd75ee31 [2022-12-20T04:50:38.777Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-20T04:50:38.777Z] ---> Running in e40b1f01011a [2022-12-20T04:50:39.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-20T04:50:40.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-20T04:50:40.969Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-20T04:50:40.969Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-20T04:50:40.969Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-20T04:50:40.969Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-20T04:50:41.239Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-20T04:50:41.239Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-20T04:50:41.239Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T04:50:41.239Z] OK: 8 MiB in 20 packages [2022-12-20T04:50:42.204Z] Removing intermediate container e40b1f01011a [2022-12-20T04:50:42.204Z] ---> 9a1db52bdede [2022-12-20T04:50:42.204Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-12-20T04:50:43.615Z] ---> 35934c866916 [2022-12-20T04:50:43.615Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-12-20T04:50:43.891Z] ---> 62237e3618bf [2022-12-20T04:50:43.891Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-12-20T04:50:44.475Z] ---> a6d2ae901ab4 [2022-12-20T04:50:44.475Z] Step 20/25 : EXPOSE 59986 [2022-12-20T04:50:44.475Z] ---> Running in f2c0e2810539 [2022-12-20T04:50:45.063Z] Removing intermediate container f2c0e2810539 [2022-12-20T04:50:45.063Z] ---> 3066c21f6865 [2022-12-20T04:50:45.063Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-12-20T04:50:45.063Z] ---> Running in 2c4611e887e5 [2022-12-20T04:50:45.330Z] Removing intermediate container 2c4611e887e5 [2022-12-20T04:50:45.330Z] ---> 9353eaee10dc [2022-12-20T04:50:45.330Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-12-20T04:50:45.330Z] ---> Running in 03d039d62501 [2022-12-20T04:50:45.596Z] Removing intermediate container 03d039d62501 [2022-12-20T04:50:45.596Z] ---> 95721e3bf825 [2022-12-20T04:50:45.596Z] Step 23/25 : LABEL arch=arm64 [2022-12-20T04:50:45.596Z] ---> Running in de0418124e38 [2022-12-20T04:50:45.862Z] Removing intermediate container de0418124e38 [2022-12-20T04:50:45.862Z] ---> 6a45218ec42f [2022-12-20T04:50:45.862Z] Step 24/25 : LABEL git_sha=5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [2022-12-20T04:50:45.862Z] ---> Running in f802ef5a349c [2022-12-20T04:50:46.129Z] Removing intermediate container f802ef5a349c [2022-12-20T04:50:46.129Z] ---> 5c91aafdb572 [2022-12-20T04:50:46.129Z] Step 25/25 : LABEL version=0.0.0 [2022-12-20T04:50:46.395Z] ---> Running in f9be02834fcc [2022-12-20T04:50:46.659Z] Removing intermediate container f9be02834fcc [2022-12-20T04:50:46.659Z] ---> 3bc85d2b1c22 [2022-12-20T04:50:46.659Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-20T04:50:46.659Z] Successfully built 3bc85d2b1c22 [2022-12-20T04:50:46.659Z] 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 [2022-12-20T04:50:47.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-20T04:50:47.084Z] [2022-12-20T04:50:47.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:50:47.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-20T04:50:47.411Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-20T04:50:47.411Z] 8998bd30e6a1: Pulling fs layer [2022-12-20T04:50:47.411Z] 04944245beec: Pulling fs layer [2022-12-20T04:50:47.411Z] 699f458cf7ca: Pulling fs layer [2022-12-20T04:50:47.411Z] 765212b225bb: Pulling fs layer [2022-12-20T04:50:47.411Z] f23df028b6ca: Pulling fs layer [2022-12-20T04:50:47.411Z] d65c8cfc05b1: Pulling fs layer [2022-12-20T04:50:47.411Z] 2437ff75d9bd: Pulling fs layer [2022-12-20T04:50:47.411Z] 765212b225bb: Waiting [2022-12-20T04:50:47.411Z] f23df028b6ca: Waiting [2022-12-20T04:50:47.411Z] d65c8cfc05b1: Waiting [2022-12-20T04:50:47.411Z] 2437ff75d9bd: Waiting [2022-12-20T04:50:47.678Z] 04944245beec: Verifying Checksum [2022-12-20T04:50:47.678Z] 04944245beec: Download complete [2022-12-20T04:50:47.678Z] 765212b225bb: Verifying Checksum [2022-12-20T04:50:47.678Z] 765212b225bb: Download complete [2022-12-20T04:50:47.678Z] f23df028b6ca: Verifying Checksum [2022-12-20T04:50:47.678Z] f23df028b6ca: Download complete [2022-12-20T04:50:47.678Z] d65c8cfc05b1: Verifying Checksum [2022-12-20T04:50:47.678Z] d65c8cfc05b1: Download complete [2022-12-20T04:50:47.678Z] 699f458cf7ca: Verifying Checksum [2022-12-20T04:50:47.678Z] 699f458cf7ca: Download complete [2022-12-20T04:50:48.260Z] 8998bd30e6a1: Verifying Checksum [2022-12-20T04:50:48.260Z] 8998bd30e6a1: Download complete [2022-12-20T04:50:50.199Z] 2437ff75d9bd: Verifying Checksum [2022-12-20T04:50:50.199Z] 2437ff75d9bd: Download complete [2022-12-20T04:50:52.136Z] 8998bd30e6a1: Pull complete [2022-12-20T04:50:53.536Z] 04944245beec: Pull complete [2022-12-20T04:50:54.497Z] 699f458cf7ca: Pull complete [2022-12-20T04:50:54.763Z] 765212b225bb: Pull complete [2022-12-20T04:50:55.723Z] f23df028b6ca: Pull complete [2022-12-20T04:50:55.723Z] d65c8cfc05b1: Pull complete [2022-12-20T04:51:11.210Z] 2437ff75d9bd: Pull complete [2022-12-20T04:51:11.211Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-20T04:51:11.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-20T04:51:11.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:51:11.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-206 does not seem to be running inside a container [2022-12-20T04:51:11.469Z] $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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:arm64 cat [2022-12-20T04:51:13.996Z] $ docker top 52709f40e72859d089fe3dff3609bbbfca9177aa884797707e03a75433d1acc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:14.822Z] ---> job-cost.sh [2022-12-20T04:51:14.822Z] lf-activate-venv: SKIPPING [2022-12-20T04:51:14.822Z] INFO: No Stack... [2022-12-20T04:51:15.088Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-20T04:51:16.048Z] INFO: Archiving Costs [Pipeline] sh [2022-12-20T04:51:16.692Z] + cat /w/workspace/device-rest-go/6/archives/cost.csv [2022-12-20T04:51:16.692Z] + cut -d, -f6 [Pipeline] lock [2022-12-20T04:51:16.727Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] [2022-12-20T04:51:16.736Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] did not exist. Created. [2022-12-20T04:51:16.736Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-20T04:51:17.389Z] /w/workspace/device-rest-go/6@tmp/durable-fae96653/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-20T04:51:18.036Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-20T04:51:18.058Z] Warning: overwriting stash ‘stack-cost’ [2022-12-20T04:51:18.098Z] Stashed 1 file(s) [Pipeline] } [2022-12-20T04:51:18.105Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-20T04:51:18.126Z] $ docker stop --time=1 52709f40e72859d089fe3dff3609bbbfca9177aa884797707e03a75433d1acc5 [2022-12-20T04:51:19.663Z] $ docker rm -f --volumes 52709f40e72859d089fe3dff3609bbbfca9177aa884797707e03a75433d1acc5 [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 [2022-12-20T04:51:20.042Z] provisioning config files... [2022-12-20T04:51:20.049Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config518927351066919693tmp [Pipeline] { [Pipeline] sh [2022-12-20T04:51:20.343Z] + set +x [2022-12-20T04:51:20.343Z] + curl -s https://codecov.io/bash [2022-12-20T04:51:20.343Z] + bash -s -- [2022-12-20T04:51:20.343Z] [2022-12-20T04:51:20.343Z] _____ _ [2022-12-20T04:51:20.343Z] / ____| | | [2022-12-20T04:51:20.343Z] | | ___ __| | ___ ___ _____ __ [2022-12-20T04:51:20.343Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-20T04:51:20.343Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-20T04:51:20.343Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-20T04:51:20.343Z] Bash-1.0.6 [2022-12-20T04:51:20.343Z] [2022-12-20T04:51:20.343Z] [2022-12-20T04:51:20.343Z] ==> git version 2.25.1 found [2022-12-20T04:51:20.343Z] ==> 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 [2022-12-20T04:51:20.343Z] Release-Date: 2020-01-08 [2022-12-20T04:51:20.343Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-20T04:51:20.343Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-20T04:51:20.343Z] ==> Jenkins CI detected. [2022-12-20T04:51:20.343Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 [2022-12-20T04:51:20.343Z] project root: . [2022-12-20T04:51:20.343Z] --> token set from env [2022-12-20T04:51:20.343Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-20T04:51:20.343Z] ==> Running gcov in . (disable via -X gcov) [2022-12-20T04:51:20.343Z] ==> Python coveragepy not found [2022-12-20T04:51:20.343Z] ==> Searching for coverage reports in: [2022-12-20T04:51:20.343Z] + . [2022-12-20T04:51:20.343Z] -> Found 1 reports [2022-12-20T04:51:20.343Z] ==> Detecting git/mercurial file structure [2022-12-20T04:51:20.602Z] ==> Reading reports [2022-12-20T04:51:20.602Z] + ./coverage.out bytes=18351 [2022-12-20T04:51:20.602Z] ==> Appending adjustments [2022-12-20T04:51:20.602Z] https://docs.codecov.io/docs/fixing-reports [2022-12-20T04:51:20.602Z] + Found adjustments [2022-12-20T04:51:20.602Z] ==> Gzipping contents [2022-12-20T04:51:20.602Z] 4.0K /tmp/codecov.wF0LBe.gz [2022-12-20T04:51:20.602Z] ==> Uploading reports [2022-12-20T04:51:20.602Z] url: https://codecov.io [2022-12-20T04:51:20.602Z] query: branch=PR-229&commit=5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2022-12-20T04:51:20.602Z] -> Pinging Codecov [2022-12-20T04:51:20.602Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2022-12-20T04:51:20.861Z] -> Uploading to [2022-12-20T04:51:20.861Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-20/4E5D53B4F1F92C436F7061BF334D961C/5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5/8860afd3-f4d8-4904-810a-0d6daaeac4a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221220T045120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b43411baefd9b8ea929fbde04d9d608e6aa2070d3b306da980c0bd61e5774912 [2022-12-20T04:51:20.861Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T04:51:20.861Z] Dload Upload Total Spent Left Speed [2022-12-20T04:51:21.120Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3013 0 0 100 3013 0 14279 --:--:-- --:--:-- --:--:-- 14279 [2022-12-20T04:51:21.120Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [Pipeline] } [2022-12-20T04:51:21.127Z] 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 [2022-12-20T04:51:21.811Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2022-12-20T04:51:21.811Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-20T04:51:21.811Z] total 16 [2022-12-20T04:51:21.811Z] drwxr-xr-x 3 root root 4096 Dec 20 04:43 . [2022-12-20T04:51:21.811Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 04:43 .. [2022-12-20T04:51:21.811Z] drwxr-xr-x 2 root root 4096 Dec 20 04:43 cost [2022-12-20T04:51:21.811Z] -rw-r--r-- 1 root root 86 Dec 20 04:43 cost.csv [2022-12-20T04:51:21.811Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-20T04:51:21.811Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-20T04:51:21.811Z] total 16 [2022-12-20T04:51:21.811Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 04:43 . [2022-12-20T04:51:21.811Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 04:43 .. [2022-12-20T04:51:21.811Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 04:43 cost [2022-12-20T04:51:21.811Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 20 04:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:22.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:22.961Z] ---> package-listing.sh [2022-12-20T04:51:22.961Z] ++ facter osfamily [2022-12-20T04:51:22.961Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-20T04:51:23.221Z] + OS_FAMILY=debian [2022-12-20T04:51:23.221Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2022-12-20T04:51:23.221Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-20T04:51:23.221Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-20T04:51:23.221Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-20T04:51:23.221Z] + PACKAGES=/tmp/packages_start.txt [2022-12-20T04:51:23.221Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-20T04:51:23.221Z] + PACKAGES=/tmp/packages_end.txt [2022-12-20T04:51:23.221Z] + case "${OS_FAMILY}" in [2022-12-20T04:51:23.221Z] + dpkg -l [2022-12-20T04:51:23.221Z] + grep '^ii' [2022-12-20T04:51:23.221Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-20T04:51:23.221Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-20T04:51:23.221Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-20T04:51:23.221Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-20T04:51:23.221Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2022-12-20T04:51:23.221Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2022-12-20T04:51:23.231Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-20T04:51:23.505Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T04:51:24.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T04:51:24.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T04:51:24.122Z] prd-ubuntu20.04-docker-8c-8g-205 does not seem to be running inside a container [2022-12-20T04:51:24.157Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-20T04:51:24.364Z] $ docker top 55b937ca15b59abc9122b4c1df4d7fc9e70428ce4f8d9dbe2de590112fdbebbc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T04:51:24.699Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-20T04:51:24.983Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-20T04:51:25.273Z] + ls /var/log/sa-host [2022-12-20T04:51:25.273Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-20T04:51:25.345Z] provisioning config files... [2022-12-20T04:51:25.355Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config5034587943933138167tmp [Pipeline] { [Pipeline] echo [2022-12-20T04:51:25.366Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:25.648Z] ---> create-netrc.sh [Pipeline] } [2022-12-20T04:51:25.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:25.988Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-20T04:51:25.997Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:26.283Z] ---> sudo-logs.sh [2022-12-20T04:51:26.283Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-20T04:51:26.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:26.596Z] ---> job-cost.sh [2022-12-20T04:51:26.596Z] lf-activate-venv: SKIPPING [2022-12-20T04:51:26.596Z] DEBUG: total: 0.2199999988079071 [2022-12-20T04:51:26.596Z] INFO: Retrieving Stack Cost... [2022-12-20T04:51:27.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-20T04:51:27.729Z] INFO: Archiving Costs [Pipeline] echo [2022-12-20T04:51:27.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T04:51:28.026Z] ---> logs-deploy.sh [2022-12-20T04:51:28.026Z] lf-activate-venv: SKIPPING [2022-12-20T04:51:28.026Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/6 [2022-12-20T04:51:28.026Z] INFO: archiving workspace using pattern(s): [2022-12-20T04:51:28.960Z] Archives upload complete. [2022-12-20T04:51:28.960Z] INFO: archiving logs to Nexus