Pull request #185 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-rest-go Obtained Jenkinsfile from cb582138bc70d2802fb3d94b01a10ce47840d4ce+1b7989097685cbbb7d11325d5e96f20d406e46c7 (1915c10bc127ffd63e37ca4dfa0c1139762778a1) 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-ssh5866237538116487303.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15768748252864932614.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-185/workspace@libs/edgex-global-pipelines/.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-185/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3992512495003802204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh9976134688330779736.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-185/workspace@libs/lf-pipelines/.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-185/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9343091255725960412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [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-41439 in /w/workspace/gexfoundry_device-rest-go_PR-185 [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-185 # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit cb582138bc70d2802fb3d94b01a10ce47840d4ce Merge succeeded, producing cb582138bc70d2802fb3d94b01a10ce47840d4ce Checking out Revision cb582138bc70d2802fb3d94b01a10ce47840d4ce (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb582138bc70d2802fb3d94b01a10ce47840d4ce # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb582138bc70d2802fb3d94b01a10ce47840d4ce # timeout=10 Commit message: "docs: additions to CHANGELOG" > git rev-list --no-walk 7cdae81832caa7ff51aa672536335ab33271aca3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-08T01:18:48.555Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-08T01:18:48.602Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-08T01:18:48.618Z] ========================================================= [2022-05-08T01:18:48.618Z] EdgeX Global Pipelines Version Info [2022-05-08T01:18:48.618Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:18:49.500Z] ------------------- [2022-05-08T01:18:49.500Z] stable info: [2022-05-08T01:18:49.500Z] ------------------- [2022-05-08T01:18:49.500Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-08T01:18:49.500Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-08T01:18:49.500Z] Message: update stable to v1.0.227 [2022-05-08T01:18:50.074Z] ------------------- [2022-05-08T01:18:50.074Z] experimental info: [2022-05-08T01:18:50.074Z] ------------------- [2022-05-08T01:18:50.074Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-08T01:18:50.074Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-08T01:18:50.074Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-08T01:18:50.232Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-08T01:18:50.245Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-08T01:18:50.257Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-08T01:18:50.269Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-08T01:18:50.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-08T01:18:50.296Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-08T01:18:50.315Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-08T01:18:50.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-08T01:18:50.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-08T01:18:50.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-08T01:18:50.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-08T01:18:50.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-08T01:18:50.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-08T01:18:50.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-08T01:18:50.447Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-08T01:18:50.463Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-08T01:18:50.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T01:18:50.492Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T01:18:50.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-08T01:18:50.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-08T01:18:50.547Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-08T01:18:50.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-08T01:18:50.577Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-08T01:18:50.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-08T01:18:50.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-08T01:18:50.621Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-08T01:18:50.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-05-08T01:18:50.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-05-08T01:18:50.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-05-08T01:18:50.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb582138bc70d2802fb3d94b01a10ce47840d4ce [Pipeline] echo [2022-05-08T01:18:50.681Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb58213 [Pipeline] echo [2022-05-08T01:18:50.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T01:18:50.733Z] provisioning config files... [2022-05-08T01:18:50.746Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config1455250795918096645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:18:51.049Z] ---> docker-login.sh [2022-05-08T01:18:51.050Z] nexus3.edgexfoundry.org:10001 [2022-05-08T01:18:51.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:18:51.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:18:51.583Z] Configure a credential helper to remove this warning. See [2022-05-08T01:18:51.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:18:51.583Z] [2022-05-08T01:18:51.583Z] Login Succeeded [2022-05-08T01:18:51.583Z] nexus3.edgexfoundry.org:10002 [2022-05-08T01:18:51.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:18:51.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:18:51.584Z] Configure a credential helper to remove this warning. See [2022-05-08T01:18:51.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:18:51.584Z] [2022-05-08T01:18:51.584Z] Login Succeeded [2022-05-08T01:18:51.584Z] nexus3.edgexfoundry.org:10003 [2022-05-08T01:18:51.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:18:51.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:18:51.844Z] Configure a credential helper to remove this warning. See [2022-05-08T01:18:51.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:18:51.844Z] [2022-05-08T01:18:51.844Z] Login Succeeded [2022-05-08T01:18:51.844Z] nexus3.edgexfoundry.org:10004 [2022-05-08T01:18:51.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:18:51.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:18:51.844Z] Configure a credential helper to remove this warning. See [2022-05-08T01:18:51.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:18:51.844Z] [2022-05-08T01:18:51.844Z] Login Succeeded [2022-05-08T01:18:51.844Z] docker.io [2022-05-08T01:18:52.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:18:52.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:18:52.369Z] Configure a credential helper to remove this warning. See [2022-05-08T01:18:52.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:18:52.369Z] [2022-05-08T01:18:52.369Z] Login Succeeded [2022-05-08T01:18:52.369Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T01:18:52.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-08T01:18:52.753Z] + git rev-list -1 --merges cb582138bc70d2802fb3d94b01a10ce47840d4ce~1..cb582138bc70d2802fb3d94b01a10ce47840d4ce [Pipeline] echo [2022-05-08T01:18:52.786Z] -----------> git rev-list -1 --merges cb582138bc70d2802fb3d94b01a10ce47840d4ce~1..cb582138bc70d2802fb3d94b01a10ce47840d4ce cb582138bc70d2802fb3d94b01a10ce47840d4ce [false] [Pipeline] sh [2022-05-08T01:18:53.076Z] + git log --format=format:%s -1 cb582138bc70d2802fb3d94b01a10ce47840d4ce [Pipeline] echo [2022-05-08T01:18:53.091Z] ========================================================= [2022-05-08T01:18:53.092Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-08T01:18:53.092Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T01:18:53.436Z] + git log --format=format:%s -1 cb582138bc70d2802fb3d94b01a10ce47840d4ce [Pipeline] echo [2022-05-08T01:18:53.448Z] [semverPrep] GIT_COMMIT: cb582138bc70d2802fb3d94b01a10ce47840d4ce, Commit Message: docs: additions to CHANGELOG [Pipeline] echo [2022-05-08T01:18:53.458Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-08T01:18:54.024Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-08T01:18:54.024Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-08T01:18:54.024Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-08T01:18:54.024Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-08T01:18:54.024Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-08T01:18:54.024Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-08T01:18:54.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:18:54.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T01:18:54.383Z] [2022-05-08T01:18:54.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:18:54.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T01:18:54.690Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-08T01:18:54.690Z] 1fe172e4850f: Pulling fs layer [2022-05-08T01:18:54.690Z] caf521ccaac6: Pulling fs layer [2022-05-08T01:18:54.690Z] 3ead6fa29328: Pulling fs layer [2022-05-08T01:18:54.690Z] 5c2a1cbceb83: Pulling fs layer [2022-05-08T01:18:54.690Z] a8d5f1318db7: Pulling fs layer [2022-05-08T01:18:54.690Z] c427282e49a2: Pulling fs layer [2022-05-08T01:18:54.690Z] 1827001aaf11: Pulling fs layer [2022-05-08T01:18:54.690Z] 0714d37db230: Pulling fs layer [2022-05-08T01:18:54.690Z] ac28cf19c067: Pulling fs layer [2022-05-08T01:18:54.690Z] ca983d60f3e2: Pulling fs layer [2022-05-08T01:18:54.690Z] 9f894cec8388: Pulling fs layer [2022-05-08T01:18:54.690Z] 5c2a1cbceb83: Waiting [2022-05-08T01:18:54.690Z] ca983d60f3e2: Waiting [2022-05-08T01:18:54.690Z] 0714d37db230: Waiting [2022-05-08T01:18:54.690Z] 9f894cec8388: Waiting [2022-05-08T01:18:54.690Z] ac28cf19c067: Waiting [2022-05-08T01:18:54.690Z] c427282e49a2: Waiting [2022-05-08T01:18:54.690Z] a8d5f1318db7: Waiting [2022-05-08T01:18:54.690Z] 1827001aaf11: Waiting [2022-05-08T01:18:54.690Z] caf521ccaac6: Verifying Checksum [2022-05-08T01:18:54.690Z] caf521ccaac6: Download complete [2022-05-08T01:18:54.690Z] 5c2a1cbceb83: Verifying Checksum [2022-05-08T01:18:54.690Z] 5c2a1cbceb83: Download complete [2022-05-08T01:18:54.950Z] a8d5f1318db7: Verifying Checksum [2022-05-08T01:18:54.950Z] a8d5f1318db7: Download complete [2022-05-08T01:18:54.950Z] 3ead6fa29328: Verifying Checksum [2022-05-08T01:18:54.950Z] 3ead6fa29328: Download complete [2022-05-08T01:18:54.950Z] c427282e49a2: Download complete [2022-05-08T01:18:54.950Z] 0714d37db230: Download complete [2022-05-08T01:18:54.950Z] ac28cf19c067: Verifying Checksum [2022-05-08T01:18:54.950Z] ac28cf19c067: Download complete [2022-05-08T01:18:54.950Z] ca983d60f3e2: Verifying Checksum [2022-05-08T01:18:54.950Z] ca983d60f3e2: Download complete [2022-05-08T01:18:54.950Z] 9f894cec8388: Download complete [2022-05-08T01:18:54.950Z] 1fe172e4850f: Verifying Checksum [2022-05-08T01:18:54.950Z] 1fe172e4850f: Download complete [2022-05-08T01:18:55.209Z] 1827001aaf11: Verifying Checksum [2022-05-08T01:18:55.209Z] 1827001aaf11: Download complete [2022-05-08T01:18:56.613Z] 1fe172e4850f: Pull complete [2022-05-08T01:18:56.613Z] caf521ccaac6: Pull complete [2022-05-08T01:18:57.192Z] 3ead6fa29328: Pull complete [2022-05-08T01:18:57.455Z] 5c2a1cbceb83: Pull complete [2022-05-08T01:18:57.716Z] a8d5f1318db7: Pull complete [2022-05-08T01:18:57.716Z] c427282e49a2: Pull complete [2022-05-08T01:18:59.628Z] 1827001aaf11: Pull complete [2022-05-08T01:18:59.889Z] 0714d37db230: Pull complete [2022-05-08T01:18:59.889Z] ac28cf19c067: Pull complete [2022-05-08T01:19:00.149Z] ca983d60f3e2: Pull complete [2022-05-08T01:19:00.149Z] 9f894cec8388: Pull complete [2022-05-08T01:19:00.149Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-08T01:19:00.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T01:19:00.149Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-08T01:19:00.228Z] prd-ubuntu20.04-docker-8c-8g-41439 does not seem to be running inside a container [2022-05-08T01:19:00.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-08T01:19:01.938Z] $ docker top 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 -eo pid,comm [2022-05-08T01:19:02.018Z] 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-05-08T01:19:02.018Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-08T01:19:02.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-08T01:19:02.050Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-08T01:19:02.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-08T01:19:02.204Z] $ docker exec 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 ssh-agent [2022-05-08T01:19:02.336Z] SSH_AUTH_SOCK=/tmp/ssh-nBEhQ9zoVbed/agent.33 [2022-05-08T01:19:02.336Z] SSH_AGENT_PID=39 [2022-05-08T01:19:02.347Z] Running ssh-add (command line suppressed) [2022-05-08T01:19:02.481Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_6757027760335755264.key (/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_6757027760335755264.key) [2022-05-08T01:19:02.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-08T01:19:02.792Z] + git tag --points-at HEAD [Pipeline] } [2022-05-08T01:19:02.807Z] $ docker exec --env ******** --env ******** 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 ssh-agent -k [2022-05-08T01:19:02.916Z] unset SSH_AUTH_SOCK; [2022-05-08T01:19:02.916Z] unset SSH_AGENT_PID; [2022-05-08T01:19:02.917Z] echo Agent pid 39 killed; [2022-05-08T01:19:02.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-08T01:19:02.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-08T01:19:02.955Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-08T01:19:03.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-08T01:19:03.089Z] $ docker exec 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 ssh-agent [2022-05-08T01:19:03.224Z] SSH_AUTH_SOCK=/tmp/ssh-1WTuZcC3gOnB/agent.71 [2022-05-08T01:19:03.224Z] SSH_AGENT_PID=77 [2022-05-08T01:19:03.230Z] Running ssh-add (command line suppressed) [2022-05-08T01:19:03.378Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_3159106226787449290.key (/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/private_key_3159106226787449290.key) [2022-05-08T01:19:03.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-08T01:19:03.688Z] + git semver init [2022-05-08T01:19:03.950Z] 2022-05-08 01:19:03,938 [run_init] DEBUG init version:0.0.0 force:False [2022-05-08T01:19:03.950Z] 2022-05-08 01:19:03,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-185/.semver [2022-05-08T01:19:03.950Z] 2022-05-08 01:19:03,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-185/.semver [2022-05-08T01:19:03.950Z] 2022-05-08 01:19:03,940 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-185, universal_newlines=False, shell=None, istream=None) [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,142 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-185/.git/info/exclude [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-185/.semver/PR-185 with force:False [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,143 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-185/.semver/PR-185 [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,149 [execute] INFO git cat-file --batch-check [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,157 [execute] INFO git cat-file --batch [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-05-08T01:19:05.338Z] 2022-05-08 01:19:05,164 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-185/.semver/PR-185 [2022-05-08T01:19:05.338Z] 0.0.0 [Pipeline] } [2022-05-08T01:19:05.352Z] $ docker exec --env ******** --env ******** 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 ssh-agent -k [2022-05-08T01:19:05.477Z] unset SSH_AUTH_SOCK; [2022-05-08T01:19:05.478Z] unset SSH_AGENT_PID; [2022-05-08T01:19:05.478Z] echo Agent pid 77 killed; [2022-05-08T01:19:05.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-08T01:19:05.795Z] + git semver [Pipeline] } [2022-05-08T01:19:06.079Z] $ docker stop --time=1 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 [2022-05-08T01:19:07.397Z] $ docker rm -f 2bf3def2449bd57b5af37fde0a0600308587b0f50201d734cd7a90165a958ca3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T01:19:07.759Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-08T01:19:08.035Z] Stashed 1 file(s) [Pipeline] echo [2022-05-08T01:19:08.039Z] [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-05-08T01:19:08.200Z] provisioning config files... [2022-05-08T01:19:08.211Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config576111916493315478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:19:08.512Z] ---> docker-login.sh [2022-05-08T01:19:08.512Z] nexus3.edgexfoundry.org:10001 [2022-05-08T01:19:08.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:19:08.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:19:08.512Z] Configure a credential helper to remove this warning. See [2022-05-08T01:19:08.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:19:08.512Z] [2022-05-08T01:19:08.512Z] Login Succeeded [2022-05-08T01:19:08.512Z] nexus3.edgexfoundry.org:10002 [2022-05-08T01:19:08.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:19:08.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:19:08.773Z] Configure a credential helper to remove this warning. See [2022-05-08T01:19:08.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:19:08.773Z] [2022-05-08T01:19:08.773Z] Login Succeeded [2022-05-08T01:19:08.773Z] nexus3.edgexfoundry.org:10003 [2022-05-08T01:19:08.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:19:08.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:19:08.773Z] Configure a credential helper to remove this warning. See [2022-05-08T01:19:08.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:19:08.773Z] [2022-05-08T01:19:08.773Z] Login Succeeded [2022-05-08T01:19:08.773Z] nexus3.edgexfoundry.org:10004 [2022-05-08T01:19:09.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:19:09.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:19:09.035Z] Configure a credential helper to remove this warning. See [2022-05-08T01:19:09.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:19:09.035Z] [2022-05-08T01:19:09.035Z] Login Succeeded [2022-05-08T01:19:09.035Z] docker.io [2022-05-08T01:19:09.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:19:09.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:19:09.607Z] Configure a credential helper to remove this warning. See [2022-05-08T01:19:09.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:19:09.607Z] [2022-05-08T01:19:09.607Z] Login Succeeded [2022-05-08T01:19:09.607Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T01:19:09.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-08T01:19:09.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-08T01:19:09.689Z] ========================================================= [2022-05-08T01:19:09.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-08T01:19:09.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:19:09.997Z] + 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-05-08T01:19:09.997Z] Sending build context to Docker daemon 10.62MB [2022-05-08T01:19:09.997Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:19:09.997Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-08T01:19:09.997Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-08T01:19:09.997Z] 59bf1c3509f3: Pulling fs layer [2022-05-08T01:19:09.997Z] 666ba61612fd: Pulling fs layer [2022-05-08T01:19:09.997Z] 8ed8ca486205: Pulling fs layer [2022-05-08T01:19:09.997Z] 4fe6c5a15a65: Pulling fs layer [2022-05-08T01:19:09.997Z] 22a0e8bec74d: Pulling fs layer [2022-05-08T01:19:09.997Z] ca2b28591e48: Pulling fs layer [2022-05-08T01:19:09.997Z] a51346096db8: Pulling fs layer [2022-05-08T01:19:09.997Z] daebc70d1ce1: Pulling fs layer [2022-05-08T01:19:09.997Z] 0e18a0eac166: Pulling fs layer [2022-05-08T01:19:09.997Z] ca2b28591e48: Waiting [2022-05-08T01:19:09.997Z] a51346096db8: Waiting [2022-05-08T01:19:09.997Z] 4fe6c5a15a65: Waiting [2022-05-08T01:19:10.258Z] 8ed8ca486205: Verifying Checksum [2022-05-08T01:19:10.258Z] 8ed8ca486205: Download complete [2022-05-08T01:19:10.258Z] 666ba61612fd: Download complete [2022-05-08T01:19:10.258Z] 22a0e8bec74d: Verifying Checksum [2022-05-08T01:19:10.258Z] 22a0e8bec74d: Download complete [2022-05-08T01:19:10.258Z] ca2b28591e48: Verifying Checksum [2022-05-08T01:19:10.258Z] ca2b28591e48: Download complete [2022-05-08T01:19:10.258Z] a51346096db8: Download complete [2022-05-08T01:19:10.258Z] 59bf1c3509f3: Verifying Checksum [2022-05-08T01:19:10.258Z] 59bf1c3509f3: Download complete [2022-05-08T01:19:10.258Z] daebc70d1ce1: Verifying Checksum [2022-05-08T01:19:10.258Z] daebc70d1ce1: Download complete [2022-05-08T01:19:10.258Z] 59bf1c3509f3: Pull complete [2022-05-08T01:19:10.525Z] 666ba61612fd: Pull complete [2022-05-08T01:19:10.525Z] 8ed8ca486205: Pull complete [2022-05-08T01:19:10.789Z] 0e18a0eac166: Verifying Checksum [2022-05-08T01:19:10.789Z] 0e18a0eac166: Download complete [2022-05-08T01:19:11.049Z] 4fe6c5a15a65: Verifying Checksum [2022-05-08T01:19:11.049Z] 4fe6c5a15a65: Download complete [2022-05-08T01:19:15.270Z] 4fe6c5a15a65: Pull complete [2022-05-08T01:19:15.270Z] 22a0e8bec74d: Pull complete [2022-05-08T01:19:15.270Z] ca2b28591e48: Pull complete [2022-05-08T01:19:15.270Z] a51346096db8: Pull complete [2022-05-08T01:19:15.270Z] daebc70d1ce1: Pull complete [2022-05-08T01:19:17.817Z] 0e18a0eac166: Pull complete [2022-05-08T01:19:17.817Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-08T01:19:17.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-08T01:19:17.817Z] ---> f018257e8ee9 [2022-05-08T01:19:17.817Z] Step 3/12 : ARG MAKE='make build' [2022-05-08T01:19:19.208Z] ---> Running in 3bd6d5dcc7ed [2022-05-08T01:19:19.468Z] Removing intermediate container 3bd6d5dcc7ed [2022-05-08T01:19:19.468Z] ---> 53015db57493 [2022-05-08T01:19:19.468Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T01:19:19.468Z] ---> Running in 4125f3ce4c33 [2022-05-08T01:19:19.468Z] Removing intermediate container 4125f3ce4c33 [2022-05-08T01:19:19.468Z] ---> d3e98672cc5a [2022-05-08T01:19:19.468Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T01:19:19.468Z] ---> Running in 066606c00aa6 [2022-05-08T01:19:19.728Z] Removing intermediate container 066606c00aa6 [2022-05-08T01:19:19.728Z] ---> 50304123907e [2022-05-08T01:19:19.728Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:19:19.728Z] ---> Running in 120c2f487962 [2022-05-08T01:19:20.298Z] Removing intermediate container 120c2f487962 [2022-05-08T01:19:20.298Z] ---> 32a1e29360c6 [2022-05-08T01:19:20.298Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T01:19:20.298Z] ---> Running in e826d040e149 [2022-05-08T01:19:20.560Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-08T01:19:21.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-08T01:19:21.763Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-08T01:19:22.024Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-08T01:19:22.024Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-08T01:19:22.284Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-08T01:19:22.284Z] Executing busybox-1.34.1-r3.trigger [2022-05-08T01:19:22.284Z] OK: 224 MiB in 56 packages [2022-05-08T01:19:22.856Z] Removing intermediate container e826d040e149 [2022-05-08T01:19:22.856Z] ---> 83554e3b242b [2022-05-08T01:19:22.856Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-08T01:19:22.856Z] ---> Running in b5d9040722aa [2022-05-08T01:19:22.856Z] Removing intermediate container b5d9040722aa [2022-05-08T01:19:22.856Z] ---> 27f0d1d3cd39 [2022-05-08T01:19:22.856Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-08T01:19:23.118Z] ---> 9111526d5fe0 [2022-05-08T01:19:23.118Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:19:23.118Z] ---> Running in 3675d6b4191d [2022-05-08T01:19:23.152Z] Still waiting to schedule task [2022-05-08T01:19:23.152Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-08T01:19:38.015Z] Removing intermediate container 3675d6b4191d [2022-05-08T01:19:38.015Z] ---> 00381ec7b2b9 [2022-05-08T01:19:38.015Z] Step 11/12 : COPY . . [2022-05-08T01:19:38.015Z] ---> 366253b4d7e5 [2022-05-08T01:19:38.015Z] Step 12/12 : RUN $MAKE [2022-05-08T01:19:38.015Z] ---> Running in 864ae2e1e654 [2022-05-08T01:19:38.276Z] noop [2022-05-08T01:19:38.536Z] Removing intermediate container 864ae2e1e654 [2022-05-08T01:19:38.536Z] ---> 639851b5fdb2 [2022-05-08T01:19:38.536Z] Successfully built 639851b5fdb2 [2022-05-08T01:19:38.536Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:19:38.836Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-08T01:19:38.836Z] . [Pipeline] withDockerContainer [2022-05-08T01:19:38.944Z] prd-ubuntu20.04-docker-8c-8g-41439 does not seem to be running inside a container [2022-05-08T01:19:39.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-08T01:19:39.448Z] $ docker top 008a566df359f2ac557a8d641575c4f911bbfe1b36d95300b012988315240bbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T01:19:39.807Z] + go version [2022-05-08T01:19:39.807Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-08T01:19:39.827Z] $ docker stop --time=1 008a566df359f2ac557a8d641575c4f911bbfe1b36d95300b012988315240bbf [2022-05-08T01:19:41.133Z] $ docker rm -f 008a566df359f2ac557a8d641575c4f911bbfe1b36d95300b012988315240bbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:19:41.537Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-08T01:19:41.537Z] . [Pipeline] withDockerContainer [2022-05-08T01:19:41.607Z] prd-ubuntu20.04-docker-8c-8g-41439 does not seem to be running inside a container [2022-05-08T01:19:41.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-08T01:19:42.045Z] $ docker top 49cc634854fb78034c36ebab581ad52c753d762d8b84dca7515d8d3f2f6571dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-08T01:19:42.410Z] + make test [2022-05-08T01:19:42.410Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-08T01:19:42.670Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-08T01:19:52.648Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-08T01:19:52.648Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-05-08T01:20:00.777Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-08T01:20:04.075Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-08T01:20:04.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-08T01:20:04.075Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-08T01:20:04.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-08T01:20:04.112Z] $ docker stop --time=1 49cc634854fb78034c36ebab581ad52c753d762d8b84dca7515d8d3f2f6571dc [2022-05-08T01:20:05.998Z] $ docker rm -f 49cc634854fb78034c36ebab581ad52c753d762d8b84dca7515d8d3f2f6571dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T01:20:06.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-08T01:20:06.470Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-08T01:20:07.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-08T01:20:07.379Z] + ls -al . [2022-05-08T01:20:07.379Z] total 172 [2022-05-08T01:20:07.379Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 01:20 . [2022-05-08T01:20:07.379Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:18 .. [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 151 May 8 01:18 .dockerignore [2022-05-08T01:20:07.379Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:19 .git [2022-05-08T01:20:07.379Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:18 .github [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 329 May 8 01:18 .gitignore [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:18 .golangci.yml [2022-05-08T01:20:07.379Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:19 .semver [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 8 01:18 Attribution.txt [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 8 01:18 CHANGELOG.md [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 8 01:18 Dockerfile [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:18 GOVERNANCE.md [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 01:18 Jenkinsfile [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:18 LICENSE [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 8 01:18 Makefile [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 01:18 OWNERS.md [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 8 01:18 README.md [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:19 VERSION [2022-05-08T01:20:07.379Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:18 bin [2022-05-08T01:20:07.379Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:18 cmd [2022-05-08T01:20:07.379Z] -rw-r--r-- 1 jenkins jenkins 9355 May 8 01:19 coverage.out [2022-05-08T01:20:07.379Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:18 driver [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 8 01:18 go.mod [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 8 01:18 go.sum [2022-05-08T01:20:07.379Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:18 snap [2022-05-08T01:20:07.379Z] -rw-rw-r-- 1 jenkins jenkins 713 May 8 01:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:20:07.678Z] + 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=cb582138bc70d2802fb3d94b01a10ce47840d4ce --label arch=amd64 --label version=0.0.0 . [2022-05-08T01:20:07.678Z] Sending build context to Docker daemon 10.63MB [2022-05-08T01:20:07.678Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:20:07.678Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-08T01:20:07.678Z] ---> 639851b5fdb2 [2022-05-08T01:20:07.678Z] Step 3/25 : ARG MAKE='make build' [2022-05-08T01:20:07.678Z] ---> Running in af8e529ecc36 [2022-05-08T01:20:07.938Z] Removing intermediate container af8e529ecc36 [2022-05-08T01:20:07.938Z] ---> 40984d3df3ff [2022-05-08T01:20:07.938Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T01:20:08.199Z] ---> Running in b9a8b5fde2e6 [2022-05-08T01:20:08.199Z] Removing intermediate container b9a8b5fde2e6 [2022-05-08T01:20:08.199Z] ---> d7aa584fb81a [2022-05-08T01:20:08.199Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T01:20:08.199Z] ---> Running in 32cc79e22e34 [2022-05-08T01:20:08.458Z] Removing intermediate container 32cc79e22e34 [2022-05-08T01:20:08.458Z] ---> e20f9c49613d [2022-05-08T01:20:08.458Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:20:08.458Z] ---> Running in 23fbc7bd90f0 [2022-05-08T01:20:09.027Z] Removing intermediate container 23fbc7bd90f0 [2022-05-08T01:20:09.027Z] ---> c763656fd262 [2022-05-08T01:20:09.027Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T01:20:09.027Z] ---> Running in fd5507f07829 [2022-05-08T01:20:09.286Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-08T01:20:10.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-08T01:20:10.486Z] OK: 224 MiB in 56 packages [2022-05-08T01:20:10.748Z] Removing intermediate container fd5507f07829 [2022-05-08T01:20:10.748Z] ---> 79143d4f5953 [2022-05-08T01:20:10.748Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-08T01:20:11.010Z] ---> Running in 637933b0e7c8 [2022-05-08T01:20:11.010Z] Removing intermediate container 637933b0e7c8 [2022-05-08T01:20:11.010Z] ---> a49913db031c [2022-05-08T01:20:11.010Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-08T01:20:11.010Z] ---> 2f237ad342f3 [2022-05-08T01:20:11.010Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:20:11.271Z] ---> Running in e3ba88a6a8b2 [2022-05-08T01:20:11.843Z] Removing intermediate container e3ba88a6a8b2 [2022-05-08T01:20:11.843Z] ---> 53c3bbe5f600 [2022-05-08T01:20:11.843Z] Step 11/25 : COPY . . [2022-05-08T01:20:12.104Z] ---> 81b52ee268be [2022-05-08T01:20:12.104Z] Step 12/25 : RUN $MAKE [2022-05-08T01:20:12.104Z] ---> Running in ef02e23e07c1 [2022-05-08T01:20:12.365Z] 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-05-08T01:20:34.306Z] Removing intermediate container ef02e23e07c1 [2022-05-08T01:20:34.306Z] ---> 9a6a9f61fa55 [2022-05-08T01:20:34.306Z] Step 13/25 : FROM alpine:3.14 [2022-05-08T01:20:34.306Z] 3.14: Pulling from library/alpine [2022-05-08T01:20:34.306Z] 8663204ce13b: Pulling fs layer [2022-05-08T01:20:34.306Z] 8663204ce13b: Download complete [2022-05-08T01:20:34.306Z] 8663204ce13b: Pull complete [2022-05-08T01:20:34.306Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-08T01:20:34.306Z] Status: Downloaded newer image for alpine:3.14 [2022-05-08T01:20:34.306Z] ---> e04c818066af [2022-05-08T01:20:34.306Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-08T01:20:34.306Z] ---> Running in 6b1c8f690a08 [2022-05-08T01:20:34.306Z] Removing intermediate container 6b1c8f690a08 [2022-05-08T01:20:34.306Z] ---> 3d454d8a020b [2022-05-08T01:20:34.306Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-08T01:20:34.306Z] ---> Running in 436cc68825cd [2022-05-08T01:20:34.306Z] Removing intermediate container 436cc68825cd [2022-05-08T01:20:34.306Z] ---> 78eaaa125f18 [2022-05-08T01:20:34.306Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-08T01:20:34.306Z] ---> Running in 201506ce4a8e [2022-05-08T01:20:34.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-08T01:20:34.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-08T01:20:34.307Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-08T01:20:34.307Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-08T01:20:34.307Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-08T01:20:34.307Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-08T01:20:34.307Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-08T01:20:34.307Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-08T01:20:34.307Z] Executing busybox-1.33.1-r7.trigger [2022-05-08T01:20:34.307Z] OK: 8 MiB in 20 packages [2022-05-08T01:20:34.307Z] Removing intermediate container 201506ce4a8e [2022-05-08T01:20:34.307Z] ---> 7939a86e0700 [2022-05-08T01:20:34.307Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-08T01:20:34.878Z] ---> 8ac8e66779f4 [2022-05-08T01:20:34.878Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-08T01:20:35.139Z] ---> af39b4bc7d9c [2022-05-08T01:20:35.139Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-08T01:20:35.399Z] ---> 5de6c9ad1501 [2022-05-08T01:20:35.399Z] Step 20/25 : EXPOSE 59986 [2022-05-08T01:20:35.399Z] ---> Running in 8cedf62680ec [2022-05-08T01:20:35.399Z] Removing intermediate container 8cedf62680ec [2022-05-08T01:20:35.399Z] ---> 61e9402edb56 [2022-05-08T01:20:35.399Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-08T01:20:35.399Z] ---> Running in ff0ae44effb6 [2022-05-08T01:20:35.399Z] Removing intermediate container ff0ae44effb6 [2022-05-08T01:20:35.399Z] ---> a2c731176dab [2022-05-08T01:20:35.399Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-08T01:20:35.659Z] ---> Running in e30b83478a2f [2022-05-08T01:20:35.659Z] Removing intermediate container e30b83478a2f [2022-05-08T01:20:35.659Z] ---> 7d171c88e6d7 [2022-05-08T01:20:35.659Z] Step 23/25 : LABEL arch=amd64 [2022-05-08T01:20:35.659Z] ---> Running in c0e359c82b30 [2022-05-08T01:20:35.659Z] Removing intermediate container c0e359c82b30 [2022-05-08T01:20:35.659Z] ---> 1e7571062c17 [2022-05-08T01:20:35.659Z] Step 24/25 : LABEL git_sha=cb582138bc70d2802fb3d94b01a10ce47840d4ce [2022-05-08T01:20:35.920Z] ---> Running in cd931c155a8c [2022-05-08T01:20:35.920Z] Removing intermediate container cd931c155a8c [2022-05-08T01:20:35.920Z] ---> edf1919c5bdf [2022-05-08T01:20:35.920Z] Step 25/25 : LABEL version=0.0.0 [2022-05-08T01:20:35.920Z] ---> Running in ba33b7d55abb [2022-05-08T01:20:35.920Z] Removing intermediate container ba33b7d55abb [2022-05-08T01:20:35.920Z] ---> 853d37b81610 [2022-05-08T01:20:35.920Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-08T01:20:35.920Z] Successfully built 853d37b81610 [2022-05-08T01:20:35.920Z] Successfully tagged device-rest:latest [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] sh [2022-05-08T01:20:36.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:20:36.352Z] [2022-05-08T01:20:36.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:20:36.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:20:36.661Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-08T01:20:36.661Z] 5eb5b503b376: Pulling fs layer [2022-05-08T01:20:36.661Z] 5c69ac0246d0: Pulling fs layer [2022-05-08T01:20:36.661Z] ec43610c2a17: Pulling fs layer [2022-05-08T01:20:36.661Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-08T01:20:36.661Z] 33b1e0a273af: Pulling fs layer [2022-05-08T01:20:36.661Z] 5d3b04190fa2: Pulling fs layer [2022-05-08T01:20:36.661Z] 2f39f015ded8: Pulling fs layer [2022-05-08T01:20:36.661Z] 5d3b04190fa2: Waiting [2022-05-08T01:20:36.661Z] 2f39f015ded8: Waiting [2022-05-08T01:20:36.661Z] 33b1e0a273af: Waiting [2022-05-08T01:20:36.661Z] 5c69ac0246d0: Download complete [2022-05-08T01:20:36.661Z] 33b1e0a273af: Verifying Checksum [2022-05-08T01:20:36.661Z] 33b1e0a273af: Download complete [2022-05-08T01:20:36.661Z] ec43610c2a17: Verifying Checksum [2022-05-08T01:20:36.661Z] ec43610c2a17: Download complete [2022-05-08T01:20:36.922Z] 5d3b04190fa2: Verifying Checksum [2022-05-08T01:20:36.922Z] 5d3b04190fa2: Download complete [2022-05-08T01:20:36.922Z] 5eb5b503b376: Verifying Checksum [2022-05-08T01:20:36.922Z] 5eb5b503b376: Download complete [2022-05-08T01:20:37.490Z] 2f39f015ded8: Verifying Checksum [2022-05-08T01:20:37.490Z] 2f39f015ded8: Download complete [2022-05-08T01:20:38.065Z] 5eb5b503b376: Pull complete [2022-05-08T01:20:38.324Z] 5c69ac0246d0: Pull complete [2022-05-08T01:20:38.893Z] ec43610c2a17: Pull complete [2022-05-08T01:20:38.893Z] 3a2ae6a8a46f: Pull complete [2022-05-08T01:20:39.153Z] 33b1e0a273af: Pull complete [2022-05-08T01:20:39.153Z] 5d3b04190fa2: Pull complete [2022-05-08T01:20:44.430Z] 2f39f015ded8: Pull complete [2022-05-08T01:20:44.430Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-08T01:20:44.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:20:44.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-08T01:20:44.499Z] prd-ubuntu20.04-docker-8c-8g-41439 does not seem to be running inside a container [2022-05-08T01:20:44.540Z] $ 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-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-08T01:20:46.291Z] $ docker top 051859c0e70f2ee9fa0359c8393e4576fc099faa5e27a9239772dc37ea10c8ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:20:46.677Z] ---> job-cost.sh [2022-05-08T01:20:46.677Z] lf-activate-venv: SKIPPING [2022-05-08T01:20:46.677Z] INFO: No Stack... [2022-05-08T01:20:47.248Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-08T01:20:47.516Z] INFO: Archiving Costs [Pipeline] sh [2022-05-08T01:20:47.941Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-185/archives/cost.csv [2022-05-08T01:20:47.941Z] + cut -d, -f6 [Pipeline] lock [2022-05-08T01:20:47.954Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] [2022-05-08T01:20:47.959Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] did not exist. Created. [2022-05-08T01:20:47.959Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-08T01:20:48.267Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-08T01:20:48.303Z] Stashed 1 file(s) [Pipeline] } [2022-05-08T01:20:48.311Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-08T01:20:48.339Z] $ docker stop --time=1 051859c0e70f2ee9fa0359c8393e4576fc099faa5e27a9239772dc37ea10c8ea [2022-05-08T01:20:49.511Z] $ docker rm -f 051859c0e70f2ee9fa0359c8393e4576fc099faa5e27a9239772dc37ea10c8ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-08T01:21:48.608Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41440 in /w/workspace/gexfoundry_device-rest-go_PR-185 [Pipeline] { [Pipeline] ws [2022-05-08T01:21:48.622Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-05-08T01:21:48.828Z] The recommended git tool is: git [2022-05-08T01:21:55.362Z] using credential edgex-jenkins-ssh [2022-05-08T01:21:55.379Z] Cloning the remote Git repository [2022-05-08T01:21:55.447Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-08T01:21:55.535Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-05-08T01:21:55.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-08T01:21:55.652Z] > git --version # timeout=10 [2022-05-08T01:21:55.755Z] > git --version # 'git version 2.25.1' [2022-05-08T01:21:55.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T01:21:55.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-08T01:21:58.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-08T01:21:58.069Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-08T01:21:58.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-08T01:21:58.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-08T01:21:58.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T01:21:58.167Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-08T01:21:58.744Z] Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit cb582138bc70d2802fb3d94b01a10ce47840d4ce [2022-05-08T01:21:58.964Z] Merge succeeded, producing cb582138bc70d2802fb3d94b01a10ce47840d4ce [2022-05-08T01:21:58.964Z] Checking out Revision cb582138bc70d2802fb3d94b01a10ce47840d4ce (PR-185) [2022-05-08T01:21:58.770Z] > git config core.sparsecheckout # timeout=10 [2022-05-08T01:21:58.797Z] > git checkout -f cb582138bc70d2802fb3d94b01a10ce47840d4ce # timeout=10 [2022-05-08T01:21:58.880Z] > git remote # timeout=10 [2022-05-08T01:21:58.896Z] > git config --get remote.origin.url # timeout=10 [2022-05-08T01:21:58.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T01:21:58.923Z] > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [2022-05-08T01:21:58.950Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-08T01:21:58.978Z] > git config core.sparsecheckout # timeout=10 [2022-05-08T01:21:58.997Z] > git checkout -f cb582138bc70d2802fb3d94b01a10ce47840d4ce # timeout=10 [2022-05-08T01:22:03.218Z] Commit message: "docs: additions to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T01:22:04.141Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-08T01:22:04.141Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-08T01:22:04.141Z] Dload Upload Total Spent Left Speed [2022-05-08T01:22:04.141Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 125k 0 --:--:-- --:--:-- --:--:-- 125k [Pipeline] sh [2022-05-08T01:22:04.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-08T01:22:05.032Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-08T01:22:05.032Z] sudo tee /etc/docker/daemon.new [2022-05-08T01:22:05.032Z] { [2022-05-08T01:22:05.032Z] "registry-mirrors": [ [2022-05-08T01:22:05.032Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-08T01:22:05.032Z] ], [2022-05-08T01:22:05.032Z] "bip": "10.250.0.254/24", [2022-05-08T01:22:05.032Z] "hosts": [ [2022-05-08T01:22:05.032Z] "tcp://0.0.0.0:5555", [2022-05-08T01:22:05.032Z] "unix:///var/run/docker.sock" [2022-05-08T01:22:05.032Z] ], [2022-05-08T01:22:05.032Z] "mtu": 1458, [2022-05-08T01:22:05.032Z] "selinux-enabled": true, [2022-05-08T01:22:05.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-08T01:22:05.032Z] } [Pipeline] sh [2022-05-08T01:22:05.389Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-08T01:22:05.753Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T01:22:24.183Z] provisioning config files... [2022-05-08T01:22:24.210Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7920575270326001816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:22:24.586Z] ---> docker-login.sh [2022-05-08T01:22:24.587Z] nexus3.edgexfoundry.org:10001 [2022-05-08T01:22:25.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:22:25.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:22:25.461Z] Configure a credential helper to remove this warning. See [2022-05-08T01:22:25.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:22:25.461Z] [2022-05-08T01:22:25.461Z] Login Succeeded [2022-05-08T01:22:25.461Z] nexus3.edgexfoundry.org:10002 [2022-05-08T01:22:26.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:22:26.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:22:26.059Z] Configure a credential helper to remove this warning. See [2022-05-08T01:22:26.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:22:26.059Z] [2022-05-08T01:22:26.059Z] Login Succeeded [2022-05-08T01:22:26.059Z] nexus3.edgexfoundry.org:10003 [2022-05-08T01:22:26.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:22:26.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:22:26.608Z] Configure a credential helper to remove this warning. See [2022-05-08T01:22:26.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:22:26.608Z] [2022-05-08T01:22:26.608Z] Login Succeeded [2022-05-08T01:22:26.608Z] nexus3.edgexfoundry.org:10004 [2022-05-08T01:22:26.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:22:26.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:22:26.885Z] Configure a credential helper to remove this warning. See [2022-05-08T01:22:26.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:22:26.885Z] [2022-05-08T01:22:26.885Z] Login Succeeded [2022-05-08T01:22:26.885Z] docker.io [2022-05-08T01:22:27.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:22:27.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:22:27.757Z] Configure a credential helper to remove this warning. See [2022-05-08T01:22:27.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:22:27.757Z] [2022-05-08T01:22:27.757Z] Login Succeeded [2022-05-08T01:22:27.757Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T01:22:27.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-08T01:22:28.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-08T01:22:28.348Z] ========================================================= [2022-05-08T01:22:28.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-08T01:22:28.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:22:28.709Z] + 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-05-08T01:22:28.709Z] Sending build context to Docker daemon 128.5kB [2022-05-08T01:22:28.982Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:22:28.982Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-08T01:22:29.263Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-08T01:22:29.263Z] 9b3977197b4f: Pulling fs layer [2022-05-08T01:22:29.263Z] 1a89e8eeedd5: Pulling fs layer [2022-05-08T01:22:29.263Z] 94645a83ff95: Pulling fs layer [2022-05-08T01:22:29.263Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-08T01:22:29.263Z] 0c92f367c5e7: Pulling fs layer [2022-05-08T01:22:29.263Z] 3096ccb668a1: Pulling fs layer [2022-05-08T01:22:29.263Z] e8cf19c19ddd: Pulling fs layer [2022-05-08T01:22:29.263Z] a4caa8a26152: Pulling fs layer [2022-05-08T01:22:29.263Z] 3f3a8bcf1eab: Waiting [2022-05-08T01:22:29.263Z] 0c92f367c5e7: Waiting [2022-05-08T01:22:29.263Z] e8cf19c19ddd: Waiting [2022-05-08T01:22:29.263Z] a4caa8a26152: Waiting [2022-05-08T01:22:29.263Z] 94645a83ff95: Verifying Checksum [2022-05-08T01:22:29.263Z] 94645a83ff95: Download complete [2022-05-08T01:22:29.263Z] 1a89e8eeedd5: Verifying Checksum [2022-05-08T01:22:29.263Z] 1a89e8eeedd5: Download complete [2022-05-08T01:22:29.263Z] 0c92f367c5e7: Download complete [2022-05-08T01:22:29.263Z] 3096ccb668a1: Verifying Checksum [2022-05-08T01:22:29.263Z] 3096ccb668a1: Download complete [2022-05-08T01:22:29.263Z] 9b3977197b4f: Verifying Checksum [2022-05-08T01:22:29.263Z] e8cf19c19ddd: Verifying Checksum [2022-05-08T01:22:29.263Z] e8cf19c19ddd: Download complete [2022-05-08T01:22:30.255Z] 9b3977197b4f: Pull complete [2022-05-08T01:22:30.876Z] 1a89e8eeedd5: Pull complete [2022-05-08T01:22:31.155Z] 94645a83ff95: Pull complete [2022-05-08T01:22:31.429Z] a4caa8a26152: Verifying Checksum [2022-05-08T01:22:31.429Z] a4caa8a26152: Download complete [2022-05-08T01:22:32.038Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-08T01:22:32.038Z] 3f3a8bcf1eab: Download complete [2022-05-08T01:22:44.444Z] 3f3a8bcf1eab: Pull complete [2022-05-08T01:22:44.445Z] 0c92f367c5e7: Pull complete [2022-05-08T01:22:44.445Z] 3096ccb668a1: Pull complete [2022-05-08T01:22:44.445Z] e8cf19c19ddd: Pull complete [2022-05-08T01:22:51.178Z] a4caa8a26152: Pull complete [2022-05-08T01:22:51.178Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-08T01:22:51.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-08T01:22:51.178Z] ---> 725f1c02e7f9 [2022-05-08T01:22:51.178Z] Step 3/12 : ARG MAKE='make build' [2022-05-08T01:22:51.459Z] ---> Running in 92994a9a8a33 [2022-05-08T01:22:51.737Z] Removing intermediate container 92994a9a8a33 [2022-05-08T01:22:51.737Z] ---> 7ddf95e1d6ee [2022-05-08T01:22:51.737Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T01:22:51.737Z] ---> Running in b125a651a3dd [2022-05-08T01:22:52.012Z] Removing intermediate container b125a651a3dd [2022-05-08T01:22:52.012Z] ---> 50130983ef17 [2022-05-08T01:22:52.012Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T01:22:52.287Z] ---> Running in 8fa7976d6d49 [2022-05-08T01:22:52.561Z] Removing intermediate container 8fa7976d6d49 [2022-05-08T01:22:52.561Z] ---> b846df665079 [2022-05-08T01:22:52.561Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:22:52.561Z] ---> Running in 74cacf2b78e2 [2022-05-08T01:22:54.546Z] Removing intermediate container 74cacf2b78e2 [2022-05-08T01:22:54.546Z] ---> c19b68f6c672 [2022-05-08T01:22:54.546Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T01:22:54.546Z] ---> Running in 3ba81b2dc9ff [2022-05-08T01:22:56.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-08T01:22:57.516Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-08T01:22:58.498Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-08T01:22:58.498Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-08T01:22:58.498Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-08T01:22:58.776Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-08T01:22:58.776Z] Executing busybox-1.34.1-r3.trigger [2022-05-08T01:22:58.776Z] OK: 224 MiB in 56 packages [2022-05-08T01:22:59.775Z] Removing intermediate container 3ba81b2dc9ff [2022-05-08T01:22:59.775Z] ---> 804075fa6595 [2022-05-08T01:22:59.775Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-08T01:23:00.052Z] ---> Running in aad91d88d3ca [2022-05-08T01:23:00.329Z] Removing intermediate container aad91d88d3ca [2022-05-08T01:23:00.329Z] ---> 9f9a2d212b52 [2022-05-08T01:23:00.329Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-08T01:23:00.928Z] ---> 9bc5745e18cf [2022-05-08T01:23:00.928Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:23:00.928Z] ---> Running in 3482e2a6ce52 [2022-05-08T01:23:47.939Z] Removing intermediate container 3482e2a6ce52 [2022-05-08T01:23:47.939Z] ---> 4024d4ad217d [2022-05-08T01:23:47.939Z] Step 11/12 : COPY . . [2022-05-08T01:23:47.939Z] ---> 6866e301658c [2022-05-08T01:23:47.939Z] Step 12/12 : RUN $MAKE [2022-05-08T01:23:47.939Z] ---> Running in 1ac6219cb924 [2022-05-08T01:23:47.939Z] noop [2022-05-08T01:23:47.939Z] Removing intermediate container 1ac6219cb924 [2022-05-08T01:23:47.939Z] ---> 93083965ab51 [2022-05-08T01:23:47.939Z] Successfully built 93083965ab51 [2022-05-08T01:23:47.939Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:23:48.284Z] + docker inspect -f . ci-base-image-arm64 [2022-05-08T01:23:48.284Z] . [Pipeline] withDockerContainer [2022-05-08T01:23:48.523Z] prd-ubuntu20.04-docker-arm64-4c-16g-41440 does not seem to be running inside a container [2022-05-08T01:23:48.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-08T01:23:49.857Z] $ docker top 64ca584a95e0e02cd2404046961e92674dec9990abf0803beeb4527cd9f47644 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T01:23:50.745Z] + go version [2022-05-08T01:23:50.745Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-08T01:23:50.780Z] $ docker stop --time=1 64ca584a95e0e02cd2404046961e92674dec9990abf0803beeb4527cd9f47644 [2022-05-08T01:23:52.403Z] $ docker rm -f 64ca584a95e0e02cd2404046961e92674dec9990abf0803beeb4527cd9f47644 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:23:52.994Z] + docker inspect -f . ci-base-image-arm64 [2022-05-08T01:23:52.994Z] . [Pipeline] withDockerContainer [2022-05-08T01:23:53.222Z] prd-ubuntu20.04-docker-arm64-4c-16g-41440 does not seem to be running inside a container [2022-05-08T01:23:53.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-08T01:23:54.562Z] $ docker top 0a6346f5c80484a4aacd55f248450ab38fc6aacd76ab2d82b4952aec81b829fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-08T01:23:55.465Z] + make test [2022-05-08T01:23:55.465Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-08T01:23:56.906Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-08T01:25:33.783Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-08T01:25:33.783Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-05-08T01:25:33.783Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-08T01:25:33.783Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-08T01:25:48.907Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-08T01:25:48.907Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-08T01:25:48.907Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-08T01:25:52.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-08T01:25:52.345Z] $ docker stop --time=1 0a6346f5c80484a4aacd55f248450ab38fc6aacd76ab2d82b4952aec81b829fe [2022-05-08T01:25:54.061Z] $ docker rm -f 0a6346f5c80484a4aacd55f248450ab38fc6aacd76ab2d82b4952aec81b829fe [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T01:25:55.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-08T01:25:55.085Z] Warning: overwriting stash ‘coverage-report’ [2022-05-08T01:25:55.601Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T01:25:56.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-08T01:25:56.349Z] + ls -al . [2022-05-08T01:25:56.350Z] total 168 [2022-05-08T01:25:56.350Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:25 . [2022-05-08T01:25:56.350Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:21 .. [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 151 May 8 01:21 .dockerignore [2022-05-08T01:25:56.350Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:22 .git [2022-05-08T01:25:56.350Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:21 .github [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 329 May 8 01:21 .gitignore [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:21 .golangci.yml [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 8 01:21 Attribution.txt [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 8 01:21 CHANGELOG.md [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 8 01:21 Dockerfile [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:21 GOVERNANCE.md [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 01:21 Jenkinsfile [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:21 LICENSE [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 8 01:21 Makefile [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 01:21 OWNERS.md [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 8 01:21 README.md [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:19 VERSION [2022-05-08T01:25:56.350Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:21 bin [2022-05-08T01:25:56.350Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:21 cmd [2022-05-08T01:25:56.350Z] -rw-r--r-- 1 jenkins jenkins 9355 May 8 01:25 coverage.out [2022-05-08T01:25:56.350Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:21 driver [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 8 01:21 go.mod [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 8 01:21 go.sum [2022-05-08T01:25:56.350Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:21 snap [2022-05-08T01:25:56.350Z] -rw-rw-r-- 1 jenkins jenkins 713 May 8 01:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:25:56.701Z] + 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=cb582138bc70d2802fb3d94b01a10ce47840d4ce --label arch=arm64 --label version=0.0.0 . [2022-05-08T01:25:56.701Z] Sending build context to Docker daemon 138.8kB [2022-05-08T01:25:56.976Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:25:56.976Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-08T01:25:56.976Z] ---> 93083965ab51 [2022-05-08T01:25:56.976Z] Step 3/25 : ARG MAKE='make build' [2022-05-08T01:25:57.250Z] ---> Running in 4308c64fdfd5 [2022-05-08T01:25:57.523Z] Removing intermediate container 4308c64fdfd5 [2022-05-08T01:25:57.523Z] ---> 94fba07516d2 [2022-05-08T01:25:57.523Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-08T01:25:57.523Z] ---> Running in 49478d630280 [2022-05-08T01:25:57.799Z] Removing intermediate container 49478d630280 [2022-05-08T01:25:57.799Z] ---> b299035ec30c [2022-05-08T01:25:57.799Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-08T01:25:58.079Z] ---> Running in ba323edfdd86 [2022-05-08T01:25:58.358Z] Removing intermediate container ba323edfdd86 [2022-05-08T01:25:58.358Z] ---> ddef968a8404 [2022-05-08T01:25:58.358Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:25:58.358Z] ---> Running in 75f0c42340dd [2022-05-08T01:26:00.346Z] Removing intermediate container 75f0c42340dd [2022-05-08T01:26:00.346Z] ---> 4f011d413f93 [2022-05-08T01:26:00.346Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-08T01:26:00.346Z] ---> Running in 05b1189edfad [2022-05-08T01:26:00.949Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-08T01:26:01.933Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-08T01:26:02.918Z] OK: 224 MiB in 56 packages [2022-05-08T01:26:03.898Z] Removing intermediate container 05b1189edfad [2022-05-08T01:26:03.898Z] ---> 20fdcb23d954 [2022-05-08T01:26:03.898Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-08T01:26:03.898Z] ---> Running in 9fa747f7f7eb [2022-05-08T01:26:04.173Z] Removing intermediate container 9fa747f7f7eb [2022-05-08T01:26:04.173Z] ---> bcc3eb90c0b8 [2022-05-08T01:26:04.173Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-08T01:26:04.769Z] ---> faa5b0c6428f [2022-05-08T01:26:04.769Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:26:04.769Z] ---> Running in 3e61ea88fe6e [2022-05-08T01:26:06.748Z] Removing intermediate container 3e61ea88fe6e [2022-05-08T01:26:06.748Z] ---> b5b173933d59 [2022-05-08T01:26:06.748Z] Step 11/25 : COPY . . [2022-05-08T01:26:07.345Z] ---> e98f7fa5b04f [2022-05-08T01:26:07.345Z] Step 12/25 : RUN $MAKE [2022-05-08T01:26:07.345Z] ---> Running in 741f5ce3671c [2022-05-08T01:26:08.320Z] 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-05-08T01:28:15.221Z] Removing intermediate container 741f5ce3671c [2022-05-08T01:28:15.221Z] ---> 0a3e13815851 [2022-05-08T01:28:15.221Z] Step 13/25 : FROM alpine:3.14 [2022-05-08T01:28:15.221Z] 3.14: Pulling from library/alpine [2022-05-08T01:28:15.221Z] 455c02918c45: Pulling fs layer [2022-05-08T01:28:15.221Z] 455c02918c45: Download complete [2022-05-08T01:28:15.221Z] 455c02918c45: Pull complete [2022-05-08T01:28:15.221Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-08T01:28:15.221Z] Status: Downloaded newer image for alpine:3.14 [2022-05-08T01:28:15.221Z] ---> ac73e934f311 [2022-05-08T01:28:15.221Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-08T01:28:15.221Z] ---> Running in ad0f7c230ee7 [2022-05-08T01:28:15.221Z] Removing intermediate container ad0f7c230ee7 [2022-05-08T01:28:15.221Z] ---> 2496979e5ab9 [2022-05-08T01:28:15.221Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-08T01:28:15.221Z] ---> Running in 7390121a9c36 [2022-05-08T01:28:15.823Z] Removing intermediate container 7390121a9c36 [2022-05-08T01:28:15.823Z] ---> 153220c241c6 [2022-05-08T01:28:15.823Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-08T01:28:15.823Z] ---> Running in 8adcbceb39dd [2022-05-08T01:28:16.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-08T01:28:17.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-08T01:28:18.066Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-08T01:28:18.066Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-08T01:28:18.066Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-08T01:28:18.066Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-08T01:28:18.066Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-08T01:28:18.066Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-08T01:28:18.066Z] Executing busybox-1.33.1-r7.trigger [2022-05-08T01:28:18.066Z] OK: 8 MiB in 20 packages [2022-05-08T01:28:19.056Z] Removing intermediate container 8adcbceb39dd [2022-05-08T01:28:19.056Z] ---> 4e919e53497b [2022-05-08T01:28:19.056Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-08T01:28:20.487Z] ---> 0ede5ee4f969 [2022-05-08T01:28:20.487Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-08T01:28:21.084Z] ---> e5c9434b1dc4 [2022-05-08T01:28:21.084Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-08T01:28:21.687Z] ---> 7d931b8f43df [2022-05-08T01:28:21.687Z] Step 20/25 : EXPOSE 59986 [2022-05-08T01:28:21.687Z] ---> Running in df48d5d0abbb [2022-05-08T01:28:21.964Z] Removing intermediate container df48d5d0abbb [2022-05-08T01:28:21.964Z] ---> f39b3e6d122d [2022-05-08T01:28:21.964Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-08T01:28:21.964Z] ---> Running in cf9f57fbe567 [2022-05-08T01:28:22.239Z] Removing intermediate container cf9f57fbe567 [2022-05-08T01:28:22.239Z] ---> f2c8bdf76283 [2022-05-08T01:28:22.239Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-08T01:28:22.239Z] ---> Running in 8e07531f961a [2022-05-08T01:28:22.844Z] Removing intermediate container 8e07531f961a [2022-05-08T01:28:22.844Z] ---> 931a91274f65 [2022-05-08T01:28:22.844Z] Step 23/25 : LABEL arch=arm64 [2022-05-08T01:28:22.844Z] ---> Running in f8354defea50 [2022-05-08T01:28:23.116Z] Removing intermediate container f8354defea50 [2022-05-08T01:28:23.116Z] ---> 44387fce88a9 [2022-05-08T01:28:23.116Z] Step 24/25 : LABEL git_sha=cb582138bc70d2802fb3d94b01a10ce47840d4ce [2022-05-08T01:28:23.116Z] ---> Running in 2f1c3fdde20a [2022-05-08T01:28:23.391Z] Removing intermediate container 2f1c3fdde20a [2022-05-08T01:28:23.391Z] ---> ab1ba9b95695 [2022-05-08T01:28:23.391Z] Step 25/25 : LABEL version=0.0.0 [2022-05-08T01:28:23.391Z] ---> Running in 40fcda787fb4 [2022-05-08T01:28:23.992Z] Removing intermediate container 40fcda787fb4 [2022-05-08T01:28:23.992Z] ---> 8e9584835e1f [2022-05-08T01:28:23.992Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-08T01:28:23.992Z] Successfully built 8e9584835e1f [2022-05-08T01:28:23.992Z] Successfully tagged device-rest-arm64:latest [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] sh [2022-05-08T01:28:24.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T01:28:24.453Z] [2022-05-08T01:28:24.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:28:24.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T01:28:25.083Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-08T01:28:25.083Z] 8998bd30e6a1: Pulling fs layer [2022-05-08T01:28:25.083Z] 04944245beec: Pulling fs layer [2022-05-08T01:28:25.083Z] 699f458cf7ca: Pulling fs layer [2022-05-08T01:28:25.083Z] 765212b225bb: Pulling fs layer [2022-05-08T01:28:25.083Z] f23df028b6ca: Pulling fs layer [2022-05-08T01:28:25.083Z] d65c8cfc05b1: Pulling fs layer [2022-05-08T01:28:25.083Z] 2437ff75d9bd: Pulling fs layer [2022-05-08T01:28:25.083Z] d65c8cfc05b1: Waiting [2022-05-08T01:28:25.083Z] 2437ff75d9bd: Waiting [2022-05-08T01:28:25.083Z] 765212b225bb: Waiting [2022-05-08T01:28:25.083Z] f23df028b6ca: Waiting [2022-05-08T01:28:25.083Z] 04944245beec: Verifying Checksum [2022-05-08T01:28:25.083Z] 04944245beec: Download complete [2022-05-08T01:28:25.083Z] 765212b225bb: Verifying Checksum [2022-05-08T01:28:25.083Z] 765212b225bb: Download complete [2022-05-08T01:28:25.083Z] f23df028b6ca: Verifying Checksum [2022-05-08T01:28:25.083Z] f23df028b6ca: Download complete [2022-05-08T01:28:25.083Z] d65c8cfc05b1: Verifying Checksum [2022-05-08T01:28:25.083Z] d65c8cfc05b1: Download complete [2022-05-08T01:28:25.358Z] 699f458cf7ca: Verifying Checksum [2022-05-08T01:28:25.358Z] 699f458cf7ca: Download complete [2022-05-08T01:28:25.630Z] 8998bd30e6a1: Verifying Checksum [2022-05-08T01:28:25.630Z] 8998bd30e6a1: Download complete [2022-05-08T01:28:28.261Z] 2437ff75d9bd: Verifying Checksum [2022-05-08T01:28:28.261Z] 2437ff75d9bd: Download complete [2022-05-08T01:28:29.695Z] 8998bd30e6a1: Pull complete [2022-05-08T01:28:30.309Z] 04944245beec: Pull complete [2022-05-08T01:28:31.744Z] 699f458cf7ca: Pull complete [2022-05-08T01:28:32.018Z] 765212b225bb: Pull complete [2022-05-08T01:28:32.616Z] f23df028b6ca: Pull complete [2022-05-08T01:28:32.896Z] d65c8cfc05b1: Pull complete [2022-05-08T01:28:47.980Z] 2437ff75d9bd: Pull complete [2022-05-08T01:28:47.980Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-08T01:28:47.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T01:28:47.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-08T01:28:48.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-41440 does not seem to be running inside a container [2022-05-08T01:28:48.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-08T01:28:50.902Z] $ docker top caa5de4f8095d0cfbc2d048acc937cb6e223ebb4332dc0a4d57d4d069de45c5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:28:51.798Z] ---> job-cost.sh [2022-05-08T01:28:51.798Z] lf-activate-venv: SKIPPING [2022-05-08T01:28:51.798Z] INFO: No Stack... [2022-05-08T01:28:52.393Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-08T01:28:52.990Z] INFO: Archiving Costs [Pipeline] sh [2022-05-08T01:28:53.664Z] + + catcut /w/workspace/device-rest-go/2/archives/cost.csv [2022-05-08T01:28:53.664Z] -d, -f6 [Pipeline] lock [2022-05-08T01:28:53.734Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] [2022-05-08T01:28:53.742Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] did not exist. Created. [2022-05-08T01:28:53.742Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-08T01:28:54.432Z] /w/workspace/device-rest-go/2@tmp/durable-2f8d52d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-08T01:28:55.121Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-08T01:28:55.148Z] Warning: overwriting stash ‘stack-cost’ [2022-05-08T01:28:55.206Z] Stashed 1 file(s) [Pipeline] } [2022-05-08T01:28:55.214Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-185-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-08T01:28:55.248Z] $ docker stop --time=1 caa5de4f8095d0cfbc2d048acc937cb6e223ebb4332dc0a4d57d4d069de45c5d [2022-05-08T01:28:56.795Z] $ docker rm -f caa5de4f8095d0cfbc2d048acc937cb6e223ebb4332dc0a4d57d4d069de45c5d [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-05-08T01:28:57.236Z] provisioning config files... [2022-05-08T01:28:57.243Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config8494072249757345826tmp [Pipeline] { [Pipeline] sh [2022-05-08T01:28:57.545Z] + set +x [2022-05-08T01:28:57.545Z] + curl -s https://codecov.io/bash [2022-05-08T01:28:57.545Z] + bash -s -- [2022-05-08T01:28:57.545Z] [2022-05-08T01:28:57.545Z] _____ _ [2022-05-08T01:28:57.545Z] / ____| | | [2022-05-08T01:28:57.545Z] | | ___ __| | ___ ___ _____ __ [2022-05-08T01:28:57.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-08T01:28:57.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-08T01:28:57.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-08T01:28:57.545Z] Bash-1.0.6 [2022-05-08T01:28:57.545Z] [2022-05-08T01:28:57.545Z] [2022-05-08T01:28:57.545Z] ==> git version 2.25.1 found [2022-05-08T01:28:57.545Z] ==> 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-05-08T01:28:57.545Z] Release-Date: 2020-01-08 [2022-05-08T01:28:57.545Z] 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-05-08T01:28:57.545Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-08T01:28:57.545Z] ==> Jenkins CI detected. [2022-05-08T01:28:57.545Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-185 [2022-05-08T01:28:57.545Z] project root: . [2022-05-08T01:28:57.545Z] --> token set from env [2022-05-08T01:28:57.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-08T01:28:57.545Z] ==> Running gcov in . (disable via -X gcov) [2022-05-08T01:28:57.545Z] ==> Python coveragepy not found [2022-05-08T01:28:57.545Z] ==> Searching for coverage reports in: [2022-05-08T01:28:57.545Z] + . [2022-05-08T01:28:57.545Z] -> Found 1 reports [2022-05-08T01:28:57.545Z] ==> Detecting git/mercurial file structure [2022-05-08T01:28:57.545Z] ==> Reading reports [2022-05-08T01:28:57.545Z] + ./coverage.out bytes=9355 [2022-05-08T01:28:57.545Z] ==> Appending adjustments [2022-05-08T01:28:57.545Z] https://docs.codecov.io/docs/fixing-reports [2022-05-08T01:28:57.545Z] + Found adjustments [2022-05-08T01:28:57.806Z] ==> Gzipping contents [2022-05-08T01:28:57.806Z] 4.0K /tmp/codecov.G4gBZl.gz [2022-05-08T01:28:57.806Z] ==> Uploading reports [2022-05-08T01:28:57.806Z] url: https://codecov.io [2022-05-08T01:28:57.806Z] query: branch=PR-185&commit=cb582138bc70d2802fb3d94b01a10ce47840d4ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-185%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-05-08T01:28:57.806Z] -> Pinging Codecov [2022-05-08T01:28:57.806Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-185&commit=cb582138bc70d2802fb3d94b01a10ce47840d4ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-185%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-05-08T01:28:58.067Z] -> Uploading to [2022-05-08T01:28:58.067Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-08/4E5D53B4F1F92C436F7061BF334D961C/cb582138bc70d2802fb3d94b01a10ce47840d4ce/646dce4c-48b6-4e5d-8abe-c7e7923c6cf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T012857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6103a9a53fce259f947df286988ac400824b45d19d16d77970e8ac050c25ae62 [2022-05-08T01:28:58.067Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-08T01:28:58.067Z] Dload Upload Total Spent Left Speed [2022-05-08T01:28:58.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8518 --:--:-- --:--:-- --:--:-- 8518 [2022-05-08T01:28:58.328Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cb582138bc70d2802fb3d94b01a10ce47840d4ce [Pipeline] } [2022-05-08T01:28:58.336Z] 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-05-08T01:28:59.033Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-185/archives ] [2022-05-08T01:28:59.033Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-185/archives [2022-05-08T01:28:59.033Z] total 16 [2022-05-08T01:28:59.033Z] drwxr-xr-x 3 root root 4096 May 8 01:20 . [2022-05-08T01:28:59.033Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 01:20 .. [2022-05-08T01:28:59.033Z] drwxr-xr-x 2 root root 4096 May 8 01:20 cost [2022-05-08T01:28:59.033Z] -rw-r--r-- 1 root root 85 May 8 01:20 cost.csv [2022-05-08T01:28:59.033Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-185/archives [2022-05-08T01:28:59.034Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-185/archives [2022-05-08T01:28:59.034Z] total 16 [2022-05-08T01:28:59.034Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:20 . [2022-05-08T01:28:59.034Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 01:20 .. [2022-05-08T01:28:59.034Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 01:20 cost [2022-05-08T01:28:59.034Z] -rw-r--r-- 1 jenkins jenkins 85 May 8 01:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:28:59.329Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:29:00.193Z] ---> package-listing.sh [2022-05-08T01:29:00.193Z] ++ facter osfamily [2022-05-08T01:29:00.193Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-08T01:29:00.453Z] + OS_FAMILY=debian [2022-05-08T01:29:00.453Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-185 [2022-05-08T01:29:00.453Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-08T01:29:00.453Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-08T01:29:00.454Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-08T01:29:00.454Z] + PACKAGES=/tmp/packages_start.txt [2022-05-08T01:29:00.454Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-185 ']' [2022-05-08T01:29:00.454Z] + PACKAGES=/tmp/packages_end.txt [2022-05-08T01:29:00.454Z] + case "${OS_FAMILY}" in [2022-05-08T01:29:00.454Z] + dpkg -l [2022-05-08T01:29:00.454Z] + grep '^ii' [2022-05-08T01:29:00.454Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-08T01:29:00.454Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-08T01:29:00.454Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-08T01:29:00.454Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-185 ']' [2022-05-08T01:29:00.454Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-185/archives/ [2022-05-08T01:29:00.454Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-185/archives/ [Pipeline] echo [2022-05-08T01:29:00.466Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-08T01:29:00.748Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:29:01.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:29:01.310Z] . [Pipeline] withDockerContainer [2022-05-08T01:29:01.385Z] prd-ubuntu20.04-docker-8c-8g-41439 does not seem to be running inside a container [2022-05-08T01:29:01.429Z] $ 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-185/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-185 -v /w/workspace/gexfoundry_device-rest-go_PR-185:/w/workspace/gexfoundry_device-rest-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-185@tmp:/w/workspace/gexfoundry_device-rest-go_PR-185@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-05-08T01:29:01.661Z] $ docker top 3e5023f5453d60ac2d510d45458cac4f7bcb12972bf6e4c824d97149e0c5e17f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T01:29:02.023Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-08T01:29:02.316Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-08T01:29:02.606Z] + ls /var/log/sa-host [2022-05-08T01:29:02.607Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T01:29:02.696Z] provisioning config files... [2022-05-08T01:29:02.704Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-185@tmp/config6492478124755994213tmp [Pipeline] { [Pipeline] echo [2022-05-08T01:29:02.718Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:29:03.002Z] ---> create-netrc.sh [Pipeline] } [2022-05-08T01:29:03.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:29:03.344Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-08T01:29:03.353Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:29:03.641Z] ---> sudo-logs.sh [2022-05-08T01:29:03.641Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-08T01:29:03.672Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:29:03.956Z] ---> job-cost.sh [2022-05-08T01:29:03.956Z] lf-activate-venv: SKIPPING [2022-05-08T01:29:03.956Z] DEBUG: total: 0.2199999988079071 [2022-05-08T01:29:03.956Z] INFO: Retrieving Stack Cost... [2022-05-08T01:29:04.525Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-08T01:29:04.785Z] INFO: Archiving Costs [Pipeline] echo [2022-05-08T01:29:04.802Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:29:05.088Z] ---> logs-deploy.sh [2022-05-08T01:29:05.088Z] lf-activate-venv: SKIPPING [2022-05-08T01:29:05.088Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-185/2 [2022-05-08T01:29:05.088Z] INFO: archiving workspace using pattern(s): [2022-05-08T01:29:06.029Z] Archives upload complete. [2022-05-08T01:29:06.029Z] INFO: archiving logs to Nexus