Pull request #204 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae5d4addc5192118c6d8030eceebce9039fedc35+deaabcb9638c408d38a62ca07687bca64c62376f (e50d480078f3ef490f6c71ece9c63a33c97e7c00) 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-ssh861588559125526795.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14192467355057498094.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16400304387266528748.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16378196862628421714.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17122976026393871177.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17135 in /w/workspace/gexfoundry_device-rest-go_PR-204 [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-204 # 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 Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit ae5d4addc5192118c6d8030eceebce9039fedc35 Merge succeeded, producing ae5d4addc5192118c6d8030eceebce9039fedc35 Checking out Revision ae5d4addc5192118c6d8030eceebce9039fedc35 (PR-204) > 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/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # 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 deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T10:34:10.160Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk e3f3354419243f8059a7090215226b4496d03362 # timeout=10 [2022-07-07T10:34:10.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T10:34:10.230Z] ========================================================= [2022-07-07T10:34:10.230Z] EdgeX Global Pipelines Version Info [2022-07-07T10:34:10.230Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:34:10.986Z] ------------------- [2022-07-07T10:34:10.986Z] stable info: [2022-07-07T10:34:10.986Z] ------------------- [2022-07-07T10:34:10.986Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T10:34:10.986Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T10:34:10.986Z] Message: update stable to v1.0.234 [2022-07-07T10:34:11.559Z] ------------------- [2022-07-07T10:34:11.559Z] experimental info: [2022-07-07T10:34:11.559Z] ------------------- [2022-07-07T10:34:11.559Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T10:34:11.559Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T10:34:11.559Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T10:34:11.739Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-07T10:34:11.748Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-07T10:34:11.763Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T10:34:11.783Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T10:34:11.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T10:34:11.800Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T10:34:11.808Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T10:34:11.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T10:34:11.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T10:34:11.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T10:34:11.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T10:34:11.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-07T10:34:11.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T10:34:11.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T10:34:11.909Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T10:34:11.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T10:34:11.938Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T10:34:11.949Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T10:34:11.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T10:34:11.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T10:34:11.983Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T10:34:11.997Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T10:34:12.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T10:34:12.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T10:34:12.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T10:34:12.049Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T10:34:12.060Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T10:34:12.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2022-07-07T10:34:12.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2022-07-07T10:34:12.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2022-07-07T10:34:12.108Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo [2022-07-07T10:34:12.130Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae5d4ad [Pipeline] echo [2022-07-07T10:34:12.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:34:12.175Z] provisioning config files... [2022-07-07T10:34:12.188Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config1484377092793694558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:34:12.493Z] ---> docker-login.sh [2022-07-07T10:34:12.493Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:34:12.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:12.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:12.754Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:12.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:12.754Z] [2022-07-07T10:34:12.754Z] Login Succeeded [2022-07-07T10:34:12.754Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:34:13.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:13.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:13.016Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:13.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:13.016Z] [2022-07-07T10:34:13.016Z] Login Succeeded [2022-07-07T10:34:13.016Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:34:13.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:13.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:13.016Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:13.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:13.016Z] [2022-07-07T10:34:13.016Z] Login Succeeded [2022-07-07T10:34:13.016Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:34:13.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:13.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:13.276Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:13.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:13.276Z] [2022-07-07T10:34:13.276Z] Login Succeeded [2022-07-07T10:34:13.276Z] docker.io [2022-07-07T10:34:13.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:13.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:13.538Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:13.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:13.538Z] [2022-07-07T10:34:13.538Z] Login Succeeded [2022-07-07T10:34:13.538Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:34:13.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T10:34:13.915Z] + git rev-list -1 --merges ae5d4addc5192118c6d8030eceebce9039fedc35~1..ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo [2022-07-07T10:34:13.953Z] -----------> git rev-list -1 --merges ae5d4addc5192118c6d8030eceebce9039fedc35~1..ae5d4addc5192118c6d8030eceebce9039fedc35 ae5d4addc5192118c6d8030eceebce9039fedc35 [false] [Pipeline] sh [2022-07-07T10:34:14.247Z] + git log --format=format:%s -1 ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo [2022-07-07T10:34:14.266Z] ========================================================= [2022-07-07T10:34:14.266Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T10:34:14.266Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:34:14.603Z] + git log --format=format:%s -1 ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo [2022-07-07T10:34:14.616Z] [semverPrep] GIT_COMMIT: ae5d4addc5192118c6d8030eceebce9039fedc35, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo [2022-07-07T10:34:14.625Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T10:34:14.971Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T10:34:14.971Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T10:34:14.971Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T10:34:14.971Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T10:34:14.971Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T10:34:14.971Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T10:34:14.971Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:34:15.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:34:15.333Z] [2022-07-07T10:34:15.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:34:15.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:34:15.637Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T10:34:15.637Z] 42c077c10790: Pulling fs layer [2022-07-07T10:34:15.637Z] f63e77b7563a: Pulling fs layer [2022-07-07T10:34:15.637Z] bd5fdadae976: Pulling fs layer [2022-07-07T10:34:15.637Z] 205491f53016: Pulling fs layer [2022-07-07T10:34:15.637Z] df18705c85c3: Pulling fs layer [2022-07-07T10:34:15.637Z] bdb3f477010e: Pulling fs layer [2022-07-07T10:34:15.637Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T10:34:15.637Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T10:34:15.637Z] bdb8f0575790: Pulling fs layer [2022-07-07T10:34:15.637Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T10:34:15.637Z] 2343380bae48: Pulling fs layer [2022-07-07T10:34:15.637Z] c8a8fc8e1c8f: Waiting [2022-07-07T10:34:15.637Z] 2c6e9b1d212d: Waiting [2022-07-07T10:34:15.637Z] bdb8f0575790: Waiting [2022-07-07T10:34:15.637Z] 386e3cb2ff24: Waiting [2022-07-07T10:34:15.637Z] 2343380bae48: Waiting [2022-07-07T10:34:15.637Z] 205491f53016: Waiting [2022-07-07T10:34:15.637Z] df18705c85c3: Waiting [2022-07-07T10:34:15.637Z] bdb3f477010e: Waiting [2022-07-07T10:34:15.637Z] f63e77b7563a: Download complete [2022-07-07T10:34:15.637Z] 205491f53016: Verifying Checksum [2022-07-07T10:34:15.637Z] 205491f53016: Download complete [2022-07-07T10:34:15.900Z] df18705c85c3: Verifying Checksum [2022-07-07T10:34:15.900Z] df18705c85c3: Download complete [2022-07-07T10:34:15.900Z] bdb3f477010e: Verifying Checksum [2022-07-07T10:34:15.900Z] bdb3f477010e: Download complete [2022-07-07T10:34:15.900Z] bd5fdadae976: Verifying Checksum [2022-07-07T10:34:15.900Z] bd5fdadae976: Download complete [2022-07-07T10:34:15.900Z] bdb8f0575790: Download complete [2022-07-07T10:34:15.900Z] 386e3cb2ff24: Verifying Checksum [2022-07-07T10:34:15.900Z] 386e3cb2ff24: Download complete [2022-07-07T10:34:15.900Z] 2343380bae48: Verifying Checksum [2022-07-07T10:34:15.900Z] 2343380bae48: Download complete [2022-07-07T10:34:15.900Z] 42c077c10790: Verifying Checksum [2022-07-07T10:34:15.900Z] 42c077c10790: Download complete [2022-07-07T10:34:16.161Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-07T10:34:16.161Z] c8a8fc8e1c8f: Download complete [2022-07-07T10:34:17.544Z] 42c077c10790: Pull complete [2022-07-07T10:34:17.544Z] f63e77b7563a: Pull complete [2022-07-07T10:34:17.804Z] bd5fdadae976: Pull complete [2022-07-07T10:34:17.804Z] 205491f53016: Pull complete [2022-07-07T10:34:18.376Z] df18705c85c3: Pull complete [2022-07-07T10:34:18.376Z] bdb3f477010e: Pull complete [2022-07-07T10:34:20.289Z] c8a8fc8e1c8f: Pull complete [2022-07-07T10:34:20.289Z] 2c6e9b1d212d: Pull complete [2022-07-07T10:34:20.289Z] bdb8f0575790: Pull complete [2022-07-07T10:34:20.551Z] 386e3cb2ff24: Pull complete [2022-07-07T10:34:20.551Z] 2343380bae48: Pull complete [2022-07-07T10:34:20.551Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T10:34:20.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:34:20.551Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:34:20.643Z] prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container [2022-07-07T10:34:20.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-07T10:34:22.477Z] $ docker top a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 -eo pid,comm [2022-07-07T10:34:22.543Z] 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-07-07T10:34:22.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T10:34:22.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T10:34:22.581Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T10:34:22.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T10:34:22.727Z] $ docker exec a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent [2022-07-07T10:34:22.855Z] SSH_AUTH_SOCK=/tmp/ssh-C3P2c4VNCcrz/agent.36 [2022-07-07T10:34:22.855Z] SSH_AGENT_PID=42 [2022-07-07T10:34:22.861Z] Running ssh-add (command line suppressed) [2022-07-07T10:34:23.007Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_4668227460991366938.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_4668227460991366938.key) [2022-07-07T10:34:23.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T10:34:23.312Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T10:34:23.329Z] $ docker exec --env ******** --env ******** a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent -k [2022-07-07T10:34:23.444Z] unset SSH_AUTH_SOCK; [2022-07-07T10:34:23.444Z] unset SSH_AGENT_PID; [2022-07-07T10:34:23.444Z] echo Agent pid 42 killed; [2022-07-07T10:34:23.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T10:34:23.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T10:34:23.476Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T10:34:23.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T10:34:23.588Z] $ docker exec a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent [2022-07-07T10:34:23.708Z] SSH_AUTH_SOCK=/tmp/ssh-gn6gyg8TJD5U/agent.74 [2022-07-07T10:34:23.708Z] SSH_AGENT_PID=80 [2022-07-07T10:34:23.714Z] Running ssh-add (command line suppressed) [2022-07-07T10:34:23.843Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_6810838375783021744.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_6810838375783021744.key) [2022-07-07T10:34:23.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T10:34:24.143Z] + git semver init [2022-07-07T10:34:24.403Z] 2022-07-07 10:34:24,332 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T10:34:24.403Z] 2022-07-07 10:34:24,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver [2022-07-07T10:34:24.403Z] 2022-07-07 10:34:24,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-204/.semver [2022-07-07T10:34:24.403Z] 2022-07-07 10:34:24,334 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-204/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204, universal_newlines=False, shell=None, istream=None) [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,227 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.git/info/exclude [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 with force:False [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,228 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,232 [execute] INFO git cat-file --batch-check [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,239 [execute] INFO git cat-file --batch [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T10:34:25.346Z] 2022-07-07 10:34:25,244 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 [2022-07-07T10:34:25.346Z] 0.0.0 [Pipeline] } [2022-07-07T10:34:25.360Z] $ docker exec --env ******** --env ******** a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent -k [2022-07-07T10:34:25.459Z] unset SSH_AUTH_SOCK; [2022-07-07T10:34:25.459Z] unset SSH_AGENT_PID; [2022-07-07T10:34:25.459Z] echo Agent pid 80 killed; [2022-07-07T10:34:25.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T10:34:25.771Z] + git semver [Pipeline] } [2022-07-07T10:34:26.051Z] $ docker stop --time=1 a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 [2022-07-07T10:34:27.406Z] $ docker rm -f a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:34:27.751Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T10:34:28.001Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T10:34:28.004Z] [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-07-07T10:34:28.148Z] provisioning config files... [2022-07-07T10:34:28.159Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config5813593040651648389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:34:28.476Z] ---> docker-login.sh [2022-07-07T10:34:28.476Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:34:28.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:28.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:28.476Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:28.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:28.476Z] [2022-07-07T10:34:28.476Z] Login Succeeded [2022-07-07T10:34:28.476Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:34:28.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:28.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:28.736Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:28.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:28.736Z] [2022-07-07T10:34:28.736Z] Login Succeeded [2022-07-07T10:34:28.736Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:34:28.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:28.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:28.736Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:28.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:28.736Z] [2022-07-07T10:34:28.736Z] Login Succeeded [2022-07-07T10:34:28.736Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:34:28.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:28.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:28.996Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:28.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:28.996Z] [2022-07-07T10:34:28.996Z] Login Succeeded [2022-07-07T10:34:28.996Z] docker.io [2022-07-07T10:34:28.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:34:29.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:34:29.256Z] Configure a credential helper to remove this warning. See [2022-07-07T10:34:29.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:34:29.256Z] [2022-07-07T10:34:29.256Z] Login Succeeded [2022-07-07T10:34:29.256Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:34:29.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T10:34:29.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:34:29.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:34:29.350Z] ========================================================= [2022-07-07T10:34:29.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T10:34:29.350Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:34:29.682Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T10:34:29.682Z] Sending build context to Docker daemon 10.68MB [2022-07-07T10:34:29.682Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:34:29.682Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T10:34:29.682Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T10:34:29.682Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T10:34:29.682Z] 666ba61612fd: Pulling fs layer [2022-07-07T10:34:29.682Z] 8ed8ca486205: Pulling fs layer [2022-07-07T10:34:29.682Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T10:34:29.682Z] c516ae0d96e1: Pulling fs layer [2022-07-07T10:34:29.682Z] 684cea983483: Pulling fs layer [2022-07-07T10:34:29.682Z] dd3240ac7de5: Pulling fs layer [2022-07-07T10:34:29.682Z] b1e948a4e11c: Pulling fs layer [2022-07-07T10:34:29.682Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T10:34:29.682Z] 646ad004c059: Pulling fs layer [2022-07-07T10:34:29.682Z] cc1cd167ecdc: Waiting [2022-07-07T10:34:29.682Z] c516ae0d96e1: Waiting [2022-07-07T10:34:29.682Z] a8fd76ee1af6: Waiting [2022-07-07T10:34:29.682Z] 684cea983483: Waiting [2022-07-07T10:34:29.682Z] dd3240ac7de5: Waiting [2022-07-07T10:34:29.682Z] 646ad004c059: Waiting [2022-07-07T10:34:29.682Z] b1e948a4e11c: Waiting [2022-07-07T10:34:29.682Z] 8ed8ca486205: Download complete [2022-07-07T10:34:29.682Z] 666ba61612fd: Download complete [2022-07-07T10:34:29.682Z] c516ae0d96e1: Download complete [2022-07-07T10:34:29.682Z] 684cea983483: Verifying Checksum [2022-07-07T10:34:29.682Z] 684cea983483: Download complete [2022-07-07T10:34:29.943Z] dd3240ac7de5: Verifying Checksum [2022-07-07T10:34:29.943Z] dd3240ac7de5: Download complete [2022-07-07T10:34:29.943Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T10:34:29.943Z] 59bf1c3509f3: Download complete [2022-07-07T10:34:29.943Z] b1e948a4e11c: Verifying Checksum [2022-07-07T10:34:29.943Z] b1e948a4e11c: Download complete [2022-07-07T10:34:29.943Z] 59bf1c3509f3: Pull complete [2022-07-07T10:34:30.204Z] 666ba61612fd: Pull complete [2022-07-07T10:34:30.204Z] 8ed8ca486205: Pull complete [2022-07-07T10:34:30.468Z] 646ad004c059: Verifying Checksum [2022-07-07T10:34:30.468Z] 646ad004c059: Download complete [2022-07-07T10:34:30.468Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T10:34:30.468Z] a8fd76ee1af6: Download complete [2022-07-07T10:34:30.727Z] cc1cd167ecdc: Verifying Checksum [2022-07-07T10:34:30.727Z] cc1cd167ecdc: Download complete [2022-07-07T10:34:34.917Z] cc1cd167ecdc: Pull complete [2022-07-07T10:34:34.917Z] c516ae0d96e1: Pull complete [2022-07-07T10:34:34.917Z] 684cea983483: Pull complete [2022-07-07T10:34:34.917Z] dd3240ac7de5: Pull complete [2022-07-07T10:34:34.917Z] b1e948a4e11c: Pull complete [2022-07-07T10:34:36.828Z] a8fd76ee1af6: Pull complete [2022-07-07T10:34:37.405Z] 646ad004c059: Pull complete [2022-07-07T10:34:37.667Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T10:34:37.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T10:34:37.667Z] ---> 8f69c11f6b0c [2022-07-07T10:34:37.667Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T10:34:39.601Z] ---> Running in e1275742efe1 [2022-07-07T10:34:39.601Z] Removing intermediate container e1275742efe1 [2022-07-07T10:34:39.601Z] ---> 9d5854272502 [2022-07-07T10:34:39.601Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:34:39.601Z] ---> Running in 580ff40226cf [2022-07-07T10:34:39.601Z] Removing intermediate container 580ff40226cf [2022-07-07T10:34:39.601Z] ---> 85e396723e89 [2022-07-07T10:34:39.601Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:34:39.601Z] ---> Running in 31fe76a72d28 [2022-07-07T10:34:39.861Z] Removing intermediate container 31fe76a72d28 [2022-07-07T10:34:39.861Z] ---> 4643f5110253 [2022-07-07T10:34:39.861Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:34:39.861Z] ---> Running in 97ede913e39e [2022-07-07T10:34:40.431Z] Removing intermediate container 97ede913e39e [2022-07-07T10:34:40.431Z] ---> 494fea8e0a98 [2022-07-07T10:34:40.431Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:34:40.431Z] ---> Running in 0614fe50cb1c [2022-07-07T10:34:40.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:34:41.637Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:34:41.898Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T10:34:41.898Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T10:34:42.160Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T10:34:42.160Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T10:34:42.160Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T10:34:42.419Z] OK: 224 MiB in 56 packages [2022-07-07T10:34:42.679Z] Removing intermediate container 0614fe50cb1c [2022-07-07T10:34:42.679Z] ---> 1c8aea8fc37f [2022-07-07T10:34:42.679Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T10:34:42.679Z] ---> Running in ea6b74d0326a [2022-07-07T10:34:42.939Z] Removing intermediate container ea6b74d0326a [2022-07-07T10:34:42.939Z] ---> 9ce8c0ac5824 [2022-07-07T10:34:42.939Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T10:34:42.939Z] ---> bfcaf66999b3 [2022-07-07T10:34:42.939Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:34:42.939Z] ---> Running in f5916901bb07 [2022-07-07T10:34:43.105Z] Still waiting to schedule task [2022-07-07T10:34:43.106Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17134’ [2022-07-07T10:34:57.841Z] Removing intermediate container f5916901bb07 [2022-07-07T10:34:57.841Z] ---> 69fa3200134c [2022-07-07T10:34:57.841Z] Step 11/12 : COPY . . [2022-07-07T10:34:58.100Z] ---> 5fb5ed5de2ea [2022-07-07T10:34:58.100Z] Step 12/12 : RUN $MAKE [2022-07-07T10:34:58.100Z] ---> Running in 55edef86eb4f [2022-07-07T10:34:58.360Z] noop [2022-07-07T10:34:58.622Z] Removing intermediate container 55edef86eb4f [2022-07-07T10:34:58.622Z] ---> f765c3e0e940 [2022-07-07T10:34:58.622Z] Successfully built f765c3e0e940 [2022-07-07T10:34:58.884Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:34:59.208Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T10:34:59.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:34:59.296Z] prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container [2022-07-07T10:34:59.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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 ******** ci-base-image-x86_64 cat [2022-07-07T10:34:59.704Z] $ docker top 0767b8399e8a08082306a248166b2622941fbc57098826905fbca0c83fb4ca3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:35:00.072Z] + go version [2022-07-07T10:35:00.072Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T10:35:00.090Z] $ docker stop --time=1 0767b8399e8a08082306a248166b2622941fbc57098826905fbca0c83fb4ca3a [2022-07-07T10:35:01.423Z] $ docker rm -f 0767b8399e8a08082306a248166b2622941fbc57098826905fbca0c83fb4ca3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:35:01.843Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T10:35:01.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:35:01.940Z] prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container [2022-07-07T10:35:02.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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 ******** ci-base-image-x86_64 cat [2022-07-07T10:35:02.436Z] $ docker top 1abf867ef2263b280dc7a2f5fc4850d9e60ae62caad110db74a1e4b587a63e45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T10:35:02.816Z] + make test [2022-07-07T10:35:02.816Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T10:35:03.075Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T10:35:13.059Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T10:35:13.059Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-07-07T10:35:21.198Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T10:35:23.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T10:35:23.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T10:35:23.735Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T10:35:24.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T10:35:24.025Z] $ docker stop --time=1 1abf867ef2263b280dc7a2f5fc4850d9e60ae62caad110db74a1e4b587a63e45 [2022-07-07T10:35:25.902Z] $ docker rm -f 1abf867ef2263b280dc7a2f5fc4850d9e60ae62caad110db74a1e4b587a63e45 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:35:26.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T10:35:26.365Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T10:35:26.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T10:35:27.074Z] + ls -al . [2022-07-07T10:35:27.074Z] total 172 [2022-07-07T10:35:27.074Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 10:35 . [2022-07-07T10:35:27.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:34 .. [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:34 .dockerignore [2022-07-07T10:35:27.074Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:34 .git [2022-07-07T10:35:27.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:34 .github [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:34 .gitignore [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:34 .golangci.yml [2022-07-07T10:35:27.074Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:34 .semver [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:34 Attribution.txt [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:34 CHANGELOG.md [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:34 Dockerfile [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:34 GOVERNANCE.md [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:34 Jenkinsfile [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:34 LICENSE [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:34 Makefile [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:34 OWNERS.md [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:34 README.md [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:34 VERSION [2022-07-07T10:35:27.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:34 bin [2022-07-07T10:35:27.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:34 cmd [2022-07-07T10:35:27.074Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:35 coverage.out [2022-07-07T10:35:27.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:34 driver [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:34 go.mod [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 36371 Jul 7 10:34 go.sum [2022-07-07T10:35:27.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:34 snap [2022-07-07T10:35:27.074Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:35:27.412Z] + 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=ae5d4addc5192118c6d8030eceebce9039fedc35 --label arch=amd64 --label version=0.0.0 . [2022-07-07T10:35:27.412Z] Sending build context to Docker daemon 10.69MB [2022-07-07T10:35:27.412Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:35:27.412Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T10:35:27.412Z] ---> f765c3e0e940 [2022-07-07T10:35:27.412Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T10:35:27.672Z] ---> Running in 06ea7f60147e [2022-07-07T10:35:27.672Z] Removing intermediate container 06ea7f60147e [2022-07-07T10:35:27.672Z] ---> ae86603163dc [2022-07-07T10:35:27.672Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:35:27.672Z] ---> Running in 68fb5353aa0b [2022-07-07T10:35:27.672Z] Removing intermediate container 68fb5353aa0b [2022-07-07T10:35:27.672Z] ---> 7fee5c2c339b [2022-07-07T10:35:27.672Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:35:27.931Z] ---> Running in d827d1f1fe19 [2022-07-07T10:35:27.931Z] Removing intermediate container d827d1f1fe19 [2022-07-07T10:35:27.931Z] ---> c83eca80bcc7 [2022-07-07T10:35:27.931Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:35:27.931Z] ---> Running in bb28e1a447c2 [2022-07-07T10:35:28.509Z] Removing intermediate container bb28e1a447c2 [2022-07-07T10:35:28.509Z] ---> 949884c6fc3c [2022-07-07T10:35:28.509Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:35:28.769Z] ---> Running in 7ad2fe84b889 [2022-07-07T10:35:29.029Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:35:29.972Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:35:30.232Z] OK: 224 MiB in 56 packages [2022-07-07T10:35:30.493Z] Removing intermediate container 7ad2fe84b889 [2022-07-07T10:35:30.493Z] ---> 0bc4f5c065e3 [2022-07-07T10:35:30.493Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T10:35:30.493Z] ---> Running in cae461f6ad75 [2022-07-07T10:35:30.493Z] Removing intermediate container cae461f6ad75 [2022-07-07T10:35:30.493Z] ---> 5b201e2ce885 [2022-07-07T10:35:30.493Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T10:35:30.753Z] ---> 10d22f507bf1 [2022-07-07T10:35:30.753Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:35:30.753Z] ---> Running in 03ac26b8335e [2022-07-07T10:35:31.326Z] Removing intermediate container 03ac26b8335e [2022-07-07T10:35:31.326Z] ---> 0e93e770f882 [2022-07-07T10:35:31.326Z] Step 11/25 : COPY . . [2022-07-07T10:35:31.898Z] ---> f76cf8a72672 [2022-07-07T10:35:31.898Z] Step 12/25 : RUN $MAKE [2022-07-07T10:35:31.898Z] ---> Running in d26d3f0eda14 [2022-07-07T10:35:32.161Z] CGO_ENABLED=1 GO111MODULE=on go build -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-07-07T10:35:54.108Z] Removing intermediate container d26d3f0eda14 [2022-07-07T10:35:54.108Z] ---> 87a846af721b [2022-07-07T10:35:54.108Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T10:35:54.108Z] 3.14: Pulling from library/alpine [2022-07-07T10:35:54.108Z] 8663204ce13b: Pulling fs layer [2022-07-07T10:35:54.108Z] 8663204ce13b: Verifying Checksum [2022-07-07T10:35:54.108Z] 8663204ce13b: Download complete [2022-07-07T10:35:54.108Z] 8663204ce13b: Pull complete [2022-07-07T10:35:54.108Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T10:35:54.108Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T10:35:54.108Z] ---> e04c818066af [2022-07-07T10:35:54.108Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T10:35:54.108Z] ---> Running in d86b2cc7fe5b [2022-07-07T10:35:54.108Z] Removing intermediate container d86b2cc7fe5b [2022-07-07T10:35:54.108Z] ---> 4398b6782306 [2022-07-07T10:35:54.108Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T10:35:54.108Z] ---> Running in c1c6698e5427 [2022-07-07T10:35:54.108Z] Removing intermediate container c1c6698e5427 [2022-07-07T10:35:54.108Z] ---> fe24e080f962 [2022-07-07T10:35:54.108Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T10:35:54.108Z] ---> Running in b0a132164030 [2022-07-07T10:35:54.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:35:54.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:35:54.108Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T10:35:54.108Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T10:35:54.108Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T10:35:54.108Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T10:35:54.108Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T10:35:54.108Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T10:35:54.108Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T10:35:54.108Z] OK: 8 MiB in 20 packages [2022-07-07T10:35:54.108Z] Removing intermediate container b0a132164030 [2022-07-07T10:35:54.108Z] ---> 8ed59aefcb6d [2022-07-07T10:35:54.108Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T10:35:54.678Z] ---> 4d27d507867d [2022-07-07T10:35:54.678Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T10:35:54.678Z] ---> 8ed28ab99da0 [2022-07-07T10:35:54.678Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T10:35:54.938Z] ---> a713b4af4ce2 [2022-07-07T10:35:54.938Z] Step 20/25 : EXPOSE 59986 [2022-07-07T10:35:54.938Z] ---> Running in 84fe92cabf15 [2022-07-07T10:35:55.198Z] Removing intermediate container 84fe92cabf15 [2022-07-07T10:35:55.198Z] ---> 3d5a8eb9b73d [2022-07-07T10:35:55.198Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T10:35:55.198Z] ---> Running in cd413a2200b1 [2022-07-07T10:35:55.198Z] Removing intermediate container cd413a2200b1 [2022-07-07T10:35:55.198Z] ---> 09c16d88ad21 [2022-07-07T10:35:55.198Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T10:35:55.198Z] ---> Running in 1916d13e8b3a [2022-07-07T10:35:55.459Z] Removing intermediate container 1916d13e8b3a [2022-07-07T10:35:55.459Z] ---> 64aea2b1cd6f [2022-07-07T10:35:55.459Z] Step 23/25 : LABEL arch=amd64 [2022-07-07T10:35:55.459Z] ---> Running in 4187dccd1e46 [2022-07-07T10:35:55.459Z] Removing intermediate container 4187dccd1e46 [2022-07-07T10:35:55.459Z] ---> c537a65d6bd6 [2022-07-07T10:35:55.459Z] Step 24/25 : LABEL git_sha=ae5d4addc5192118c6d8030eceebce9039fedc35 [2022-07-07T10:35:55.720Z] ---> Running in 079f18eeb0ea [2022-07-07T10:35:55.720Z] Removing intermediate container 079f18eeb0ea [2022-07-07T10:35:55.720Z] ---> e870f03025e9 [2022-07-07T10:35:55.720Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T10:35:55.720Z] ---> Running in 5dd023044f4d [2022-07-07T10:35:55.720Z] Removing intermediate container 5dd023044f4d [2022-07-07T10:35:55.720Z] ---> b4a2debb88a6 [2022-07-07T10:35:55.720Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T10:35:55.720Z] Successfully built b4a2debb88a6 [2022-07-07T10:35:55.720Z] 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-07-07T10:35:56.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:35:56.166Z] [2022-07-07T10:35:56.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:35:56.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:35:56.473Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T10:35:56.473Z] 5eb5b503b376: Pulling fs layer [2022-07-07T10:35:56.473Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T10:35:56.473Z] ec43610c2a17: Pulling fs layer [2022-07-07T10:35:56.473Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T10:35:56.473Z] 33b1e0a273af: Pulling fs layer [2022-07-07T10:35:56.473Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T10:35:56.473Z] 2f39f015ded8: Pulling fs layer [2022-07-07T10:35:56.473Z] 33b1e0a273af: Waiting [2022-07-07T10:35:56.473Z] 5d3b04190fa2: Waiting [2022-07-07T10:35:56.473Z] 2f39f015ded8: Waiting [2022-07-07T10:35:56.473Z] 3a2ae6a8a46f: Waiting [2022-07-07T10:35:56.473Z] 5c69ac0246d0: Verifying Checksum [2022-07-07T10:35:56.473Z] 5c69ac0246d0: Download complete [2022-07-07T10:35:56.735Z] 33b1e0a273af: Verifying Checksum [2022-07-07T10:35:56.735Z] 33b1e0a273af: Download complete [2022-07-07T10:35:56.735Z] 5d3b04190fa2: Verifying Checksum [2022-07-07T10:35:56.735Z] 5d3b04190fa2: Download complete [2022-07-07T10:35:56.735Z] ec43610c2a17: Download complete [2022-07-07T10:35:56.735Z] 5eb5b503b376: Verifying Checksum [2022-07-07T10:35:56.735Z] 5eb5b503b376: Download complete [2022-07-07T10:35:57.303Z] 2f39f015ded8: Download complete [2022-07-07T10:35:58.243Z] 5eb5b503b376: Pull complete [2022-07-07T10:35:58.243Z] 5c69ac0246d0: Pull complete [2022-07-07T10:35:58.813Z] ec43610c2a17: Pull complete [2022-07-07T10:35:58.813Z] 3a2ae6a8a46f: Pull complete [2022-07-07T10:35:59.072Z] 33b1e0a273af: Pull complete [2022-07-07T10:35:59.072Z] 5d3b04190fa2: Pull complete [2022-07-07T10:36:04.354Z] 2f39f015ded8: Pull complete [2022-07-07T10:36:04.354Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T10:36:04.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:36:04.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:36:04.452Z] prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container [2022-07-07T10:36:04.494Z] $ 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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T10:36:06.635Z] $ docker top dcfbcfb9e0774b72cfad2623490927820a65ee7d92bf1a8265f27fc66c177e74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:36:07.025Z] ---> job-cost.sh [2022-07-07T10:36:07.025Z] lf-activate-venv: SKIPPING [2022-07-07T10:36:07.025Z] INFO: No Stack... [2022-07-07T10:36:07.286Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T10:36:07.856Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T10:36:08.145Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-204/archives/cost.csv [2022-07-07T10:36:08.145Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T10:36:08.158Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [2022-07-07T10:36:08.166Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] did not exist. Created. [2022-07-07T10:36:08.166Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T10:36:08.475Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T10:36:08.506Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T10:36:08.512Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T10:36:08.538Z] $ docker stop --time=1 dcfbcfb9e0774b72cfad2623490927820a65ee7d92bf1a8265f27fc66c177e74 [2022-07-07T10:36:09.724Z] $ docker rm -f dcfbcfb9e0774b72cfad2623490927820a65ee7d92bf1a8265f27fc66c177e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T10:37:24.192Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17136 in /w/workspace/gexfoundry_device-rest-go_PR-204 [Pipeline] { [Pipeline] ws [2022-07-07T10:37:24.206Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-07-07T10:37:24.245Z] The recommended git tool is: git [2022-07-07T10:37:29.956Z] using credential edgex-jenkins-ssh [2022-07-07T10:37:29.976Z] Cloning the remote Git repository [2022-07-07T10:37:30.042Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T10:37:30.128Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-07-07T10:37:30.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T10:37:30.229Z] > git --version # timeout=10 [2022-07-07T10:37:30.249Z] > git --version # 'git version 2.25.1' [2022-07-07T10:37:30.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:37:30.389Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T10:37:32.742Z] Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit ae5d4addc5192118c6d8030eceebce9039fedc35 [2022-07-07T10:37:32.988Z] Merge succeeded, producing ae5d4addc5192118c6d8030eceebce9039fedc35 [2022-07-07T10:37:32.989Z] Checking out Revision ae5d4addc5192118c6d8030eceebce9039fedc35 (PR-204) [2022-07-07T10:37:32.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T10:37:32.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T10:37:32.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T10:37:32.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T10:37:32.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:37:32.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T10:37:32.765Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T10:37:32.781Z] > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 [2022-07-07T10:37:32.872Z] > git remote # timeout=10 [2022-07-07T10:37:32.899Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T10:37:32.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:37:32.938Z] > git merge deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 [2022-07-07T10:37:32.969Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T10:37:32.999Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T10:37:33.024Z] > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 [2022-07-07T10:37:37.305Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:37:38.331Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T10:37:38.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T10:37:38.331Z] Dload Upload Total Spent Left Speed [2022-07-07T10:37:38.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2022-07-07T10:37:39.203Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T10:37:39.554Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-07-07T10:37:39.554Z] [2022-07-07T10:37:39.554Z] { [2022-07-07T10:37:39.554Z] "registry-mirrors": [ [2022-07-07T10:37:39.554Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T10:37:39.554Z] ], [2022-07-07T10:37:39.554Z] "bip": "10.250.0.254/24", [2022-07-07T10:37:39.554Z] "hosts": [ [2022-07-07T10:37:39.554Z] "tcp://0.0.0.0:5555", [2022-07-07T10:37:39.554Z] "unix:///var/run/docker.sock" [2022-07-07T10:37:39.554Z] ], [2022-07-07T10:37:39.554Z] "mtu": 1458, [2022-07-07T10:37:39.554Z] "selinux-enabled": true, [2022-07-07T10:37:39.554Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T10:37:39.554Z] } [Pipeline] sh [2022-07-07T10:37:39.909Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T10:37:40.252Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:37:58.622Z] provisioning config files... [2022-07-07T10:37:58.647Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6842179741074399244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:37:59.143Z] ---> docker-login.sh [2022-07-07T10:37:59.143Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:37:59.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:38:00.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:38:00.338Z] Configure a credential helper to remove this warning. See [2022-07-07T10:38:00.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:38:00.338Z] [2022-07-07T10:38:00.338Z] Login Succeeded [2022-07-07T10:38:00.338Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:38:00.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:38:00.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:38:00.612Z] Configure a credential helper to remove this warning. See [2022-07-07T10:38:00.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:38:00.612Z] [2022-07-07T10:38:00.612Z] Login Succeeded [2022-07-07T10:38:00.612Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:38:01.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:38:01.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:38:01.213Z] Configure a credential helper to remove this warning. See [2022-07-07T10:38:01.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:38:01.213Z] [2022-07-07T10:38:01.213Z] Login Succeeded [2022-07-07T10:38:01.213Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:38:01.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:38:01.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:38:01.767Z] Configure a credential helper to remove this warning. See [2022-07-07T10:38:01.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:38:01.767Z] [2022-07-07T10:38:01.767Z] Login Succeeded [2022-07-07T10:38:01.767Z] docker.io [2022-07-07T10:38:02.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:38:02.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:38:02.321Z] Configure a credential helper to remove this warning. See [2022-07-07T10:38:02.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:38:02.321Z] [2022-07-07T10:38:02.321Z] Login Succeeded [2022-07-07T10:38:02.321Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:38:02.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T10:38:02.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:38:02.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:38:02.635Z] ========================================================= [2022-07-07T10:38:02.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T10:38:02.635Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:38:03.001Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T10:38:03.001Z] Sending build context to Docker daemon 127kB [2022-07-07T10:38:03.274Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:38:03.274Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T10:38:03.547Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T10:38:03.547Z] 9b3977197b4f: Pulling fs layer [2022-07-07T10:38:03.547Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T10:38:03.547Z] 94645a83ff95: Pulling fs layer [2022-07-07T10:38:03.547Z] e6fb740bc735: Pulling fs layer [2022-07-07T10:38:03.547Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T10:38:03.547Z] 355e64cbe906: Pulling fs layer [2022-07-07T10:38:03.547Z] 63ab81a10011: Pulling fs layer [2022-07-07T10:38:03.547Z] 555d1d1c4555: Pulling fs layer [2022-07-07T10:38:03.547Z] 7d9057610161: Pulling fs layer [2022-07-07T10:38:03.547Z] 355e64cbe906: Waiting [2022-07-07T10:38:03.547Z] 63ab81a10011: Waiting [2022-07-07T10:38:03.547Z] 555d1d1c4555: Waiting [2022-07-07T10:38:03.547Z] 7d9057610161: Waiting [2022-07-07T10:38:03.547Z] e6fb740bc735: Waiting [2022-07-07T10:38:03.547Z] 3a77bd46dcc9: Waiting [2022-07-07T10:38:03.547Z] 94645a83ff95: Verifying Checksum [2022-07-07T10:38:03.547Z] 94645a83ff95: Download complete [2022-07-07T10:38:03.547Z] 1a89e8eeedd5: Download complete [2022-07-07T10:38:03.547Z] 3a77bd46dcc9: Verifying Checksum [2022-07-07T10:38:03.547Z] 3a77bd46dcc9: Download complete [2022-07-07T10:38:03.547Z] 355e64cbe906: Download complete [2022-07-07T10:38:03.547Z] 9b3977197b4f: Verifying Checksum [2022-07-07T10:38:03.547Z] 9b3977197b4f: Download complete [2022-07-07T10:38:03.547Z] 63ab81a10011: Verifying Checksum [2022-07-07T10:38:03.547Z] 63ab81a10011: Download complete [2022-07-07T10:38:04.544Z] 9b3977197b4f: Pull complete [2022-07-07T10:38:04.544Z] 7d9057610161: Verifying Checksum [2022-07-07T10:38:04.544Z] 7d9057610161: Download complete [2022-07-07T10:38:05.147Z] 1a89e8eeedd5: Pull complete [2022-07-07T10:38:05.425Z] 94645a83ff95: Pull complete [2022-07-07T10:38:05.700Z] 555d1d1c4555: Verifying Checksum [2022-07-07T10:38:05.700Z] 555d1d1c4555: Download complete [2022-07-07T10:38:06.307Z] e6fb740bc735: Verifying Checksum [2022-07-07T10:38:06.307Z] e6fb740bc735: Download complete [2022-07-07T10:38:18.702Z] e6fb740bc735: Pull complete [2022-07-07T10:38:18.702Z] 3a77bd46dcc9: Pull complete [2022-07-07T10:38:18.702Z] 355e64cbe906: Pull complete [2022-07-07T10:38:18.702Z] 63ab81a10011: Pull complete [2022-07-07T10:38:24.124Z] 555d1d1c4555: Pull complete [2022-07-07T10:38:25.112Z] 7d9057610161: Pull complete [2022-07-07T10:38:25.112Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T10:38:25.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T10:38:25.112Z] ---> 819e984ddca1 [2022-07-07T10:38:25.112Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T10:38:27.082Z] ---> Running in d8804406dd08 [2022-07-07T10:38:27.354Z] Removing intermediate container d8804406dd08 [2022-07-07T10:38:27.354Z] ---> b78c44bb951f [2022-07-07T10:38:27.354Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:38:27.354Z] ---> Running in 36504693b2a8 [2022-07-07T10:38:27.632Z] Removing intermediate container 36504693b2a8 [2022-07-07T10:38:27.632Z] ---> 824a52d0ad4f [2022-07-07T10:38:27.632Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:38:27.908Z] ---> Running in e9e2a588010b [2022-07-07T10:38:28.183Z] Removing intermediate container e9e2a588010b [2022-07-07T10:38:28.183Z] ---> 4348935a06e5 [2022-07-07T10:38:28.183Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:38:28.460Z] ---> Running in 5224b7ca71df [2022-07-07T10:38:30.429Z] Removing intermediate container 5224b7ca71df [2022-07-07T10:38:30.429Z] ---> 1df540df01ae [2022-07-07T10:38:30.429Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:38:30.703Z] ---> Running in 3ec14ae74b50 [2022-07-07T10:38:31.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:38:32.274Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:38:33.249Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T10:38:33.249Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T10:38:33.249Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T10:38:33.524Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T10:38:33.796Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T10:38:33.796Z] OK: 224 MiB in 56 packages [2022-07-07T10:38:34.772Z] Removing intermediate container 3ec14ae74b50 [2022-07-07T10:38:34.772Z] ---> 187fd65a8dc3 [2022-07-07T10:38:34.772Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T10:38:34.772Z] ---> Running in c492447410d3 [2022-07-07T10:38:35.046Z] Removing intermediate container c492447410d3 [2022-07-07T10:38:35.046Z] ---> 8e925c182cfc [2022-07-07T10:38:35.046Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T10:38:35.640Z] ---> 0ab8ee02dbd4 [2022-07-07T10:38:35.640Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:38:35.640Z] ---> Running in cbc4af2a4b75 [2022-07-07T10:39:22.670Z] Removing intermediate container cbc4af2a4b75 [2022-07-07T10:39:22.670Z] ---> ebd30bdfaceb [2022-07-07T10:39:22.670Z] Step 11/12 : COPY . . [2022-07-07T10:39:22.670Z] ---> 753abbd2c4f0 [2022-07-07T10:39:22.670Z] Step 12/12 : RUN $MAKE [2022-07-07T10:39:22.670Z] ---> Running in 20d2b839aa87 [2022-07-07T10:39:22.670Z] noop [2022-07-07T10:39:23.268Z] Removing intermediate container 20d2b839aa87 [2022-07-07T10:39:23.268Z] ---> 866e6ec55d98 [2022-07-07T10:39:23.268Z] Successfully built 866e6ec55d98 [2022-07-07T10:39:23.268Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:39:23.632Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T10:39:23.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:39:23.871Z] prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container [2022-07-07T10:39:23.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2022-07-07T10:39:25.171Z] $ docker top ed5549a26ba2b34c71b0d5566abfdade5eac0b843a2dcff4273bef2433471c50 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:39:26.054Z] + go version [2022-07-07T10:39:26.054Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T10:39:26.081Z] $ docker stop --time=1 ed5549a26ba2b34c71b0d5566abfdade5eac0b843a2dcff4273bef2433471c50 [2022-07-07T10:39:27.732Z] $ docker rm -f ed5549a26ba2b34c71b0d5566abfdade5eac0b843a2dcff4273bef2433471c50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:39:28.325Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T10:39:28.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:39:28.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container [2022-07-07T10:39:28.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2022-07-07T10:39:29.861Z] $ docker top 444d44834efd95b957bd12d088199bd1bda378a00936696a1f8efa3ca7555d70 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T10:39:30.753Z] + make test [2022-07-07T10:39:30.754Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T10:39:32.191Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T10:40:54.057Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T10:40:54.057Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements [2022-07-07T10:40:54.057Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T10:40:54.057Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T10:41:20.893Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T10:41:20.893Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T10:41:20.893Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T10:41:22.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T10:41:22.911Z] $ docker stop --time=1 444d44834efd95b957bd12d088199bd1bda378a00936696a1f8efa3ca7555d70 [2022-07-07T10:41:24.721Z] $ docker rm -f 444d44834efd95b957bd12d088199bd1bda378a00936696a1f8efa3ca7555d70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:41:25.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T10:41:25.797Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T10:41:26.457Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:41:26.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T10:41:27.218Z] + ls -al . [2022-07-07T10:41:27.218Z] total 168 [2022-07-07T10:41:27.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:41 . [2022-07-07T10:41:27.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:37 .. [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:37 .dockerignore [2022-07-07T10:41:27.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:37 .git [2022-07-07T10:41:27.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:37 .github [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:37 .gitignore [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:37 .golangci.yml [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:37 Attribution.txt [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:37 CHANGELOG.md [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:37 Dockerfile [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:37 GOVERNANCE.md [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:37 Jenkinsfile [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:37 LICENSE [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:37 Makefile [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:37 OWNERS.md [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:37 README.md [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:34 VERSION [2022-07-07T10:41:27.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:37 bin [2022-07-07T10:41:27.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:37 cmd [2022-07-07T10:41:27.218Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:40 coverage.out [2022-07-07T10:41:27.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:37 driver [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:37 go.mod [2022-07-07T10:41:27.218Z] -rw-rw-r-- 1 jenkins jenkins 36371 Jul 7 10:37 go.sum [2022-07-07T10:41:27.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:37 snap [2022-07-07T10:41:27.219Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:41:27.575Z] + 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=ae5d4addc5192118c6d8030eceebce9039fedc35 --label arch=arm64 --label version=0.0.0 . [2022-07-07T10:41:27.575Z] Sending build context to Docker daemon 137.2kB [2022-07-07T10:41:27.850Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:41:27.850Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T10:41:27.850Z] ---> 866e6ec55d98 [2022-07-07T10:41:27.850Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T10:41:27.850Z] ---> Running in a4f6823c699b [2022-07-07T10:41:28.464Z] Removing intermediate container a4f6823c699b [2022-07-07T10:41:28.464Z] ---> 1ce19ff2c71c [2022-07-07T10:41:28.464Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:41:28.464Z] ---> Running in f74bcf1f9b2e [2022-07-07T10:41:28.740Z] Removing intermediate container f74bcf1f9b2e [2022-07-07T10:41:28.740Z] ---> dc74bb84534d [2022-07-07T10:41:28.740Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:41:28.740Z] ---> Running in a63a355030cf [2022-07-07T10:41:29.023Z] Removing intermediate container a63a355030cf [2022-07-07T10:41:29.023Z] ---> 24700c1c4842 [2022-07-07T10:41:29.023Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:41:29.299Z] ---> Running in f9a4f92b9af6 [2022-07-07T10:41:30.735Z] Removing intermediate container f9a4f92b9af6 [2022-07-07T10:41:30.735Z] ---> 9ff194a65232 [2022-07-07T10:41:30.735Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:41:31.015Z] ---> Running in f9f5beb81122 [2022-07-07T10:41:32.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:41:32.992Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:41:33.979Z] OK: 224 MiB in 56 packages [2022-07-07T10:41:34.978Z] Removing intermediate container f9f5beb81122 [2022-07-07T10:41:34.978Z] ---> 03c8276587b7 [2022-07-07T10:41:34.979Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T10:41:34.979Z] ---> Running in 9c224cfcf8eb [2022-07-07T10:41:35.254Z] Removing intermediate container 9c224cfcf8eb [2022-07-07T10:41:35.254Z] ---> d1a26c7be5ef [2022-07-07T10:41:35.254Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T10:41:35.858Z] ---> 0374f9d313b8 [2022-07-07T10:41:35.858Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:41:35.858Z] ---> Running in 1aeaf5ede14c [2022-07-07T10:41:37.870Z] Removing intermediate container 1aeaf5ede14c [2022-07-07T10:41:37.870Z] ---> 2493d2485864 [2022-07-07T10:41:37.870Z] Step 11/25 : COPY . . [2022-07-07T10:41:38.473Z] ---> a9de57f37ac5 [2022-07-07T10:41:38.473Z] Step 12/25 : RUN $MAKE [2022-07-07T10:41:38.473Z] ---> Running in 7816cd5ff4b6 [2022-07-07T10:41:39.455Z] CGO_ENABLED=1 GO111MODULE=on go build -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-07-07T10:43:46.309Z] Removing intermediate container 7816cd5ff4b6 [2022-07-07T10:43:46.309Z] ---> f97434c14bc8 [2022-07-07T10:43:46.309Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T10:43:46.309Z] 3.14: Pulling from library/alpine [2022-07-07T10:43:46.309Z] 455c02918c45: Pulling fs layer [2022-07-07T10:43:46.309Z] 455c02918c45: Verifying Checksum [2022-07-07T10:43:46.309Z] 455c02918c45: Download complete [2022-07-07T10:43:46.309Z] 455c02918c45: Pull complete [2022-07-07T10:43:46.309Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T10:43:46.309Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T10:43:46.309Z] ---> ac73e934f311 [2022-07-07T10:43:46.309Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T10:43:46.309Z] ---> Running in 3f0c94a283aa [2022-07-07T10:43:46.309Z] Removing intermediate container 3f0c94a283aa [2022-07-07T10:43:46.309Z] ---> d59bdc610c32 [2022-07-07T10:43:46.309Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T10:43:46.309Z] ---> Running in 9cc661fb59a8 [2022-07-07T10:43:46.309Z] Removing intermediate container 9cc661fb59a8 [2022-07-07T10:43:46.309Z] ---> 2a9f53e72a89 [2022-07-07T10:43:46.309Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T10:43:46.309Z] ---> Running in 3a98573a2e5d [2022-07-07T10:43:46.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:43:46.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:43:46.309Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T10:43:46.309Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T10:43:46.309Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T10:43:46.309Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T10:43:46.309Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T10:43:46.309Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T10:43:46.309Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T10:43:46.309Z] OK: 8 MiB in 20 packages [2022-07-07T10:43:46.309Z] Removing intermediate container 3a98573a2e5d [2022-07-07T10:43:46.309Z] ---> 02356dd6d67e [2022-07-07T10:43:46.309Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T10:43:46.309Z] ---> 2706635ca3de [2022-07-07T10:43:46.309Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T10:43:46.309Z] ---> 94a69764540a [2022-07-07T10:43:46.309Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T10:43:46.309Z] ---> 7b1ffd5401a7 [2022-07-07T10:43:46.309Z] Step 20/25 : EXPOSE 59986 [2022-07-07T10:43:46.309Z] ---> Running in 2fcf0f917a34 [2022-07-07T10:43:46.309Z] Removing intermediate container 2fcf0f917a34 [2022-07-07T10:43:46.309Z] ---> f497fee10dea [2022-07-07T10:43:46.309Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T10:43:46.309Z] ---> Running in c04bdd7b16c1 [2022-07-07T10:43:46.309Z] Removing intermediate container c04bdd7b16c1 [2022-07-07T10:43:46.309Z] ---> b2ffafa90a8d [2022-07-07T10:43:46.309Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T10:43:46.309Z] ---> Running in f5bb1f778ceb [2022-07-07T10:43:46.309Z] Removing intermediate container f5bb1f778ceb [2022-07-07T10:43:46.309Z] ---> 18b21f337496 [2022-07-07T10:43:46.309Z] Step 23/25 : LABEL arch=arm64 [2022-07-07T10:43:46.309Z] ---> Running in 6c6f98e04a74 [2022-07-07T10:43:46.309Z] Removing intermediate container 6c6f98e04a74 [2022-07-07T10:43:46.309Z] ---> e07f16a5aa4b [2022-07-07T10:43:46.309Z] Step 24/25 : LABEL git_sha=ae5d4addc5192118c6d8030eceebce9039fedc35 [2022-07-07T10:43:46.309Z] ---> Running in 6b152f575d6f [2022-07-07T10:43:46.309Z] Removing intermediate container 6b152f575d6f [2022-07-07T10:43:46.309Z] ---> 99c11110eed4 [2022-07-07T10:43:46.309Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T10:43:46.309Z] ---> Running in 7ac7600f2543 [2022-07-07T10:43:46.309Z] Removing intermediate container 7ac7600f2543 [2022-07-07T10:43:46.309Z] ---> 4933ed8663ea [2022-07-07T10:43:46.309Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T10:43:46.309Z] Successfully built 4933ed8663ea [2022-07-07T10:43:46.309Z] 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-07-07T10:43:46.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:43:46.769Z] [2022-07-07T10:43:46.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:43:47.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:43:47.391Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T10:43:47.391Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T10:43:47.391Z] 04944245beec: Pulling fs layer [2022-07-07T10:43:47.391Z] 699f458cf7ca: Pulling fs layer [2022-07-07T10:43:47.391Z] 765212b225bb: Pulling fs layer [2022-07-07T10:43:47.391Z] f23df028b6ca: Pulling fs layer [2022-07-07T10:43:47.391Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T10:43:47.391Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T10:43:47.391Z] 765212b225bb: Waiting [2022-07-07T10:43:47.391Z] f23df028b6ca: Waiting [2022-07-07T10:43:47.391Z] d65c8cfc05b1: Waiting [2022-07-07T10:43:47.391Z] 2437ff75d9bd: Waiting [2022-07-07T10:43:47.391Z] 04944245beec: Verifying Checksum [2022-07-07T10:43:47.391Z] 04944245beec: Download complete [2022-07-07T10:43:47.391Z] 765212b225bb: Verifying Checksum [2022-07-07T10:43:47.391Z] 765212b225bb: Download complete [2022-07-07T10:43:47.391Z] f23df028b6ca: Download complete [2022-07-07T10:43:47.391Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T10:43:47.391Z] d65c8cfc05b1: Download complete [2022-07-07T10:43:47.666Z] 699f458cf7ca: Verifying Checksum [2022-07-07T10:43:47.666Z] 699f458cf7ca: Download complete [2022-07-07T10:43:47.941Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T10:43:47.941Z] 8998bd30e6a1: Download complete [2022-07-07T10:43:50.563Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T10:43:50.564Z] 2437ff75d9bd: Download complete [2022-07-07T10:43:52.002Z] 8998bd30e6a1: Pull complete [2022-07-07T10:43:52.599Z] 04944245beec: Pull complete [2022-07-07T10:43:54.039Z] 699f458cf7ca: Pull complete [2022-07-07T10:43:54.039Z] 765212b225bb: Pull complete [2022-07-07T10:43:55.036Z] f23df028b6ca: Pull complete [2022-07-07T10:43:55.036Z] d65c8cfc05b1: Pull complete [2022-07-07T10:44:10.104Z] 2437ff75d9bd: Pull complete [2022-07-07T10:44:10.104Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T10:44:10.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:44:10.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:44:10.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container [2022-07-07T10:44:10.442Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T10:44:12.941Z] $ docker top 9e1b581ae8cdd0df2e7b691e6eb620034319091090b0dd099f9bd3b31ec690ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:13.847Z] ---> job-cost.sh [2022-07-07T10:44:13.847Z] lf-activate-venv: SKIPPING [2022-07-07T10:44:13.847Z] INFO: No Stack... [2022-07-07T10:44:14.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T10:44:15.098Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T10:44:15.762Z] + cut -d, -f6 [2022-07-07T10:44:15.762Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock [2022-07-07T10:44:15.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [2022-07-07T10:44:15.835Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] did not exist. Created. [2022-07-07T10:44:15.835Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T10:44:16.605Z] /w/workspace/device-rest-go/3@tmp/durable-d2ae1445/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T10:44:17.308Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T10:44:17.330Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T10:44:17.370Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T10:44:17.376Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T10:44:17.399Z] $ docker stop --time=1 9e1b581ae8cdd0df2e7b691e6eb620034319091090b0dd099f9bd3b31ec690ba [2022-07-07T10:44:18.910Z] $ docker rm -f 9e1b581ae8cdd0df2e7b691e6eb620034319091090b0dd099f9bd3b31ec690ba [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-07-07T10:44:19.323Z] provisioning config files... [2022-07-07T10:44:19.339Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config7406731810668834467tmp [Pipeline] { [Pipeline] sh [2022-07-07T10:44:19.646Z] + set +x [2022-07-07T10:44:19.646Z] + curl -s https://codecov.io/bash [2022-07-07T10:44:19.646Z] + bash -s -- [2022-07-07T10:44:19.646Z] [2022-07-07T10:44:19.646Z] _____ _ [2022-07-07T10:44:19.646Z] / ____| | | [2022-07-07T10:44:19.646Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T10:44:19.646Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T10:44:19.646Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T10:44:19.646Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T10:44:19.646Z] Bash-1.0.6 [2022-07-07T10:44:19.646Z] [2022-07-07T10:44:19.646Z] [2022-07-07T10:44:19.646Z] ==> git version 2.25.1 found [2022-07-07T10:44:19.646Z] ==> 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-07-07T10:44:19.646Z] Release-Date: 2020-01-08 [2022-07-07T10:44:19.646Z] 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-07-07T10:44:19.646Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T10:44:19.646Z] ==> Jenkins CI detected. [2022-07-07T10:44:19.646Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-204 [2022-07-07T10:44:19.646Z] project root: . [2022-07-07T10:44:19.646Z] --> token set from env [2022-07-07T10:44:19.646Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T10:44:19.646Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T10:44:19.646Z] ==> Python coveragepy not found [2022-07-07T10:44:19.646Z] ==> Searching for coverage reports in: [2022-07-07T10:44:19.646Z] + . [2022-07-07T10:44:19.646Z] -> Found 1 reports [2022-07-07T10:44:19.646Z] ==> Detecting git/mercurial file structure [2022-07-07T10:44:19.646Z] ==> Reading reports [2022-07-07T10:44:19.646Z] + ./coverage.out bytes=9355 [2022-07-07T10:44:19.646Z] ==> Appending adjustments [2022-07-07T10:44:19.646Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T10:44:19.646Z] + Found adjustments [2022-07-07T10:44:19.646Z] ==> Gzipping contents [2022-07-07T10:44:19.905Z] 4.0K /tmp/codecov.a2kJQm.gz [2022-07-07T10:44:19.905Z] ==> Uploading reports [2022-07-07T10:44:19.905Z] url: https://codecov.io [2022-07-07T10:44:19.905Z] query: branch=PR-204&commit=ae5d4addc5192118c6d8030eceebce9039fedc35&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-07-07T10:44:19.905Z] -> Pinging Codecov [2022-07-07T10:44:19.905Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-204&commit=ae5d4addc5192118c6d8030eceebce9039fedc35&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-07-07T10:44:19.905Z] -> Uploading to [2022-07-07T10:44:19.905Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/ae5d4addc5192118c6d8030eceebce9039fedc35/39fab827-d3ba-4b2c-9f15-ee47dd151b71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T104419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=384a61491d9a1e439361d2d4b238adc2105dd922c2e250e80fe9a6643e9530c7 [2022-07-07T10:44:19.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T10:44:19.905Z] Dload Upload Total Spent Left Speed [2022-07-07T10:44:20.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7869 --:--:-- --:--:-- --:--:-- 7834 100 1747 0 0 100 1747 0 7434 --:--:-- --:--:-- --:--:-- 7402 [2022-07-07T10:44:20.165Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] } [2022-07-07T10:44:20.174Z] 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-07-07T10:44:20.841Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-204/archives ] [2022-07-07T10:44:20.841Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-07T10:44:20.841Z] total 16 [2022-07-07T10:44:20.841Z] drwxr-xr-x 3 root root 4096 Jul 7 10:36 . [2022-07-07T10:44:20.841Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:36 .. [2022-07-07T10:44:20.841Z] drwxr-xr-x 2 root root 4096 Jul 7 10:36 cost [2022-07-07T10:44:20.841Z] -rw-r--r-- 1 root root 85 Jul 7 10:36 cost.csv [2022-07-07T10:44:20.841Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-07T10:44:20.841Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-07T10:44:20.841Z] total 16 [2022-07-07T10:44:20.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:36 . [2022-07-07T10:44:20.841Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:36 .. [2022-07-07T10:44:20.841Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 10:36 cost [2022-07-07T10:44:20.841Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 7 10:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:21.135Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:22.010Z] ---> package-listing.sh [2022-07-07T10:44:22.011Z] ++ facter osfamily [2022-07-07T10:44:22.011Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T10:44:22.271Z] + OS_FAMILY=debian [2022-07-07T10:44:22.272Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-204 [2022-07-07T10:44:22.272Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T10:44:22.272Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T10:44:22.272Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T10:44:22.272Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T10:44:22.272Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' [2022-07-07T10:44:22.272Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T10:44:22.272Z] + case "${OS_FAMILY}" in [2022-07-07T10:44:22.272Z] + dpkg -l [2022-07-07T10:44:22.272Z] + grep '^ii' [2022-07-07T10:44:22.272Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T10:44:22.272Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T10:44:22.272Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T10:44:22.272Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' [2022-07-07T10:44:22.272Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [2022-07-07T10:44:22.272Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [Pipeline] echo [2022-07-07T10:44:22.283Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T10:44:22.563Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:44:23.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:44:23.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:44:23.224Z] prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container [2022-07-07T10:44:23.263Z] $ 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-204/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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T10:44:23.485Z] $ docker top afc68116a29e9c372029d0531c2844b8017b256608a02f20f0f3bb6f6f26c508 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:44:23.838Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T10:44:24.129Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T10:44:24.417Z] + ls /var/log/sa-host [2022-07-07T10:44:24.417Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:44:24.485Z] provisioning config files... [2022-07-07T10:44:24.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config5207295815788105113tmp [Pipeline] { [Pipeline] echo [2022-07-07T10:44:24.510Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:24.792Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T10:44:24.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:25.122Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T10:44:25.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:25.420Z] ---> sudo-logs.sh [2022-07-07T10:44:25.420Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T10:44:25.442Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:25.731Z] ---> job-cost.sh [2022-07-07T10:44:25.731Z] lf-activate-venv: SKIPPING [2022-07-07T10:44:25.731Z] DEBUG: total: 0.2199999988079071 [2022-07-07T10:44:25.731Z] INFO: Retrieving Stack Cost... [2022-07-07T10:44:25.992Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T10:44:26.562Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T10:44:26.575Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:44:26.864Z] ---> logs-deploy.sh [2022-07-07T10:44:26.864Z] lf-activate-venv: SKIPPING [2022-07-07T10:44:26.864Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-204/3 [2022-07-07T10:44:26.864Z] INFO: archiving workspace using pattern(s): [2022-07-07T10:44:27.804Z] Archives upload complete. [2022-07-07T10:44:27.804Z] INFO: archiving logs to Nexus