cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 970cf146fa6a294cb89ac37a37482cebec6dc33c+1b7989097685cbbb7d11325d5e96f20d406e46c7 (57db7947a0418bbf432b2f9bb2c8440640a8b1a2) 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-ssh12303070698215193035.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-ssh17855285275469124516.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-187/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-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17212295235282524694.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-ssh5200865494499311501.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-187/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-187/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12511127806858937005.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-44804 in /w/workspace/gexfoundry_device-rest-go_PR-187 [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-187 # 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 970cf146fa6a294cb89ac37a37482cebec6dc33c > 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/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) > 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 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T00:38:06.986Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T00:38:07.052Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T00:38:07.076Z] ========================================================= [2022-05-10T00:38:07.076Z] EdgeX Global Pipelines Version Info [2022-05-10T00:38:07.076Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:38:07.866Z] ------------------- [2022-05-10T00:38:07.866Z] stable info: [2022-05-10T00:38:07.866Z] ------------------- [2022-05-10T00:38:07.866Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T00:38:07.866Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T00:38:07.866Z] Message: update stable to v1.0.227 [2022-05-10T00:38:08.440Z] ------------------- [2022-05-10T00:38:08.440Z] experimental info: [2022-05-10T00:38:08.440Z] ------------------- [2022-05-10T00:38:08.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T00:38:08.440Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T00:38:08.440Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T00:38:08.576Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-10T00:38:08.589Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-10T00:38:08.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T00:38:08.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T00:38:08.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T00:38:08.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T00:38:08.657Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T00:38:08.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T00:38:08.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T00:38:08.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T00:38:08.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T00:38:08.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-10T00:38:08.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T00:38:08.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T00:38:08.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T00:38:08.791Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T00:38:08.812Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T00:38:08.833Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T00:38:08.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T00:38:08.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T00:38:08.889Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T00:38:08.906Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T00:38:08.917Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T00:38:08.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T00:38:08.944Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T00:38:08.959Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T00:38:08.972Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2022-05-10T00:38:08.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2022-05-10T00:38:08.999Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2022-05-10T00:38:09.014Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-10T00:38:09.029Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 970cf14 [Pipeline] echo [2022-05-10T00:38:09.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T00:38:09.093Z] provisioning config files... [2022-05-10T00:38:09.113Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config7679442407225697054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:38:09.442Z] ---> docker-login.sh [2022-05-10T00:38:09.442Z] nexus3.edgexfoundry.org:10001 [2022-05-10T00:38:09.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:09.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:09.708Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:09.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:09.708Z] [2022-05-10T00:38:09.708Z] Login Succeeded [2022-05-10T00:38:09.708Z] nexus3.edgexfoundry.org:10002 [2022-05-10T00:38:09.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:09.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:09.967Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:09.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:09.967Z] [2022-05-10T00:38:09.967Z] Login Succeeded [2022-05-10T00:38:09.967Z] nexus3.edgexfoundry.org:10003 [2022-05-10T00:38:09.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:10.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:10.229Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:10.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:10.229Z] [2022-05-10T00:38:10.229Z] Login Succeeded [2022-05-10T00:38:10.229Z] nexus3.edgexfoundry.org:10004 [2022-05-10T00:38:10.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:10.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:10.229Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:10.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:10.229Z] [2022-05-10T00:38:10.229Z] Login Succeeded [2022-05-10T00:38:10.229Z] docker.io [2022-05-10T00:38:10.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:10.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:10.753Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:10.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:10.753Z] [2022-05-10T00:38:10.753Z] Login Succeeded [2022-05-10T00:38:10.753Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T00:38:10.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T00:38:11.177Z] + git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-10T00:38:11.317Z] -----------> git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c 970cf146fa6a294cb89ac37a37482cebec6dc33c [false] [Pipeline] sh [2022-05-10T00:38:11.615Z] + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-10T00:38:11.642Z] ========================================================= [2022-05-10T00:38:11.642Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T00:38:11.642Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T00:38:12.007Z] + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-10T00:38:12.022Z] [semverPrep] GIT_COMMIT: 970cf146fa6a294cb89ac37a37482cebec6dc33c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-05-10T00:38:12.035Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T00:38:12.494Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T00:38:12.494Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T00:38:12.494Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T00:38:12.494Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T00:38:12.494Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T00:38:12.494Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T00:38:12.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:38:12.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T00:38:12.946Z] [2022-05-10T00:38:12.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:38:13.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T00:38:13.257Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T00:38:13.257Z] 1fe172e4850f: Pulling fs layer [2022-05-10T00:38:13.257Z] caf521ccaac6: Pulling fs layer [2022-05-10T00:38:13.257Z] 3ead6fa29328: Pulling fs layer [2022-05-10T00:38:13.257Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T00:38:13.257Z] a8d5f1318db7: Pulling fs layer [2022-05-10T00:38:13.257Z] c427282e49a2: Pulling fs layer [2022-05-10T00:38:13.257Z] 1827001aaf11: Pulling fs layer [2022-05-10T00:38:13.257Z] 0714d37db230: Pulling fs layer [2022-05-10T00:38:13.257Z] ac28cf19c067: Pulling fs layer [2022-05-10T00:38:13.257Z] ca983d60f3e2: Pulling fs layer [2022-05-10T00:38:13.257Z] 9f894cec8388: Pulling fs layer [2022-05-10T00:38:13.257Z] a8d5f1318db7: Waiting [2022-05-10T00:38:13.257Z] c427282e49a2: Waiting [2022-05-10T00:38:13.257Z] 1827001aaf11: Waiting [2022-05-10T00:38:13.257Z] 0714d37db230: Waiting [2022-05-10T00:38:13.257Z] 9f894cec8388: Waiting [2022-05-10T00:38:13.257Z] ac28cf19c067: Waiting [2022-05-10T00:38:13.257Z] 5c2a1cbceb83: Waiting [2022-05-10T00:38:13.257Z] caf521ccaac6: Download complete [2022-05-10T00:38:13.522Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T00:38:13.522Z] 5c2a1cbceb83: Download complete [2022-05-10T00:38:13.522Z] a8d5f1318db7: Verifying Checksum [2022-05-10T00:38:13.522Z] a8d5f1318db7: Download complete [2022-05-10T00:38:13.522Z] 3ead6fa29328: Verifying Checksum [2022-05-10T00:38:13.522Z] 3ead6fa29328: Download complete [2022-05-10T00:38:13.522Z] c427282e49a2: Download complete [2022-05-10T00:38:13.522Z] 0714d37db230: Download complete [2022-05-10T00:38:13.522Z] ac28cf19c067: Verifying Checksum [2022-05-10T00:38:13.522Z] ac28cf19c067: Download complete [2022-05-10T00:38:13.522Z] ca983d60f3e2: Verifying Checksum [2022-05-10T00:38:13.522Z] ca983d60f3e2: Download complete [2022-05-10T00:38:13.522Z] 9f894cec8388: Verifying Checksum [2022-05-10T00:38:13.522Z] 9f894cec8388: Download complete [2022-05-10T00:38:13.522Z] 1fe172e4850f: Verifying Checksum [2022-05-10T00:38:13.522Z] 1fe172e4850f: Download complete [2022-05-10T00:38:14.093Z] 1827001aaf11: Verifying Checksum [2022-05-10T00:38:14.093Z] 1827001aaf11: Download complete [2022-05-10T00:38:14.664Z] 1fe172e4850f: Pull complete [2022-05-10T00:38:14.933Z] caf521ccaac6: Pull complete [2022-05-10T00:38:15.510Z] 3ead6fa29328: Pull complete [2022-05-10T00:38:15.771Z] 5c2a1cbceb83: Pull complete [2022-05-10T00:38:16.357Z] a8d5f1318db7: Pull complete [2022-05-10T00:38:16.618Z] c427282e49a2: Pull complete [2022-05-10T00:38:18.526Z] 1827001aaf11: Pull complete [2022-05-10T00:38:18.526Z] 0714d37db230: Pull complete [2022-05-10T00:38:18.526Z] ac28cf19c067: Pull complete [2022-05-10T00:38:18.526Z] ca983d60f3e2: Pull complete [2022-05-10T00:38:18.526Z] 9f894cec8388: Pull complete [2022-05-10T00:38:18.526Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T00:38:18.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T00:38:18.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T00:38:18.601Z] prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container [2022-05-10T00:38:18.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T00:38:20.838Z] $ docker top 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 -eo pid,comm [2022-05-10T00:38:20.912Z] 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-10T00:38:20.912Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T00:38:20.954Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T00:38:20.954Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T00:38:21.069Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T00:38:21.079Z] $ docker exec 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent [2022-05-10T00:38:21.207Z] SSH_AUTH_SOCK=/tmp/ssh-toBaADp6qonH/agent.33 [2022-05-10T00:38:21.207Z] SSH_AGENT_PID=40 [2022-05-10T00:38:21.219Z] Running ssh-add (command line suppressed) [2022-05-10T00:38:21.337Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2914255387704022650.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2914255387704022650.key) [2022-05-10T00:38:21.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T00:38:21.638Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T00:38:21.663Z] $ docker exec --env ******** --env ******** 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent -k [2022-05-10T00:38:21.772Z] unset SSH_AUTH_SOCK; [2022-05-10T00:38:21.773Z] unset SSH_AGENT_PID; [2022-05-10T00:38:21.773Z] echo Agent pid 40 killed; [2022-05-10T00:38:21.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T00:38:21.808Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T00:38:21.808Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T00:38:21.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T00:38:21.931Z] $ docker exec 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent [2022-05-10T00:38:22.042Z] SSH_AUTH_SOCK=/tmp/ssh-gfIiNxSUDikZ/agent.75 [2022-05-10T00:38:22.042Z] SSH_AGENT_PID=81 [2022-05-10T00:38:22.047Z] Running ssh-add (command line suppressed) [2022-05-10T00:38:22.169Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_4981049507051046400.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_4981049507051046400.key) [2022-05-10T00:38:22.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T00:38:22.466Z] + git semver init [2022-05-10T00:38:22.725Z] 2022-05-10 00:38:22,664 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T00:38:22.725Z] 2022-05-10 00:38:22,665 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver [2022-05-10T00:38:22.725Z] 2022-05-10 00:38:22,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-187/.semver [2022-05-10T00:38:22.725Z] 2022-05-10 00:38:22,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-187/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187, universal_newlines=False, shell=None, istream=None) [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,651 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.git/info/exclude [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,652 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 with force:False [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,652 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,657 [execute] INFO git cat-file --batch-check [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,664 [execute] INFO git cat-file --batch [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T00:38:23.668Z] 2022-05-10 00:38:23,673 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 [2022-05-10T00:38:23.668Z] 0.0.0 [Pipeline] } [2022-05-10T00:38:23.957Z] $ docker exec --env ******** --env ******** 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 ssh-agent -k [2022-05-10T00:38:24.072Z] unset SSH_AUTH_SOCK; [2022-05-10T00:38:24.072Z] unset SSH_AGENT_PID; [2022-05-10T00:38:24.072Z] echo Agent pid 81 killed; [2022-05-10T00:38:24.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T00:38:24.401Z] + git semver [Pipeline] } [2022-05-10T00:38:24.684Z] $ docker stop --time=1 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 [2022-05-10T00:38:26.220Z] $ docker rm -f 3ad91e2848790d9ff1ef58bbcc02f8edb5053f463d1f5cdc4d182f1ed9fbf482 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T00:38:26.578Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T00:38:26.944Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T00:38:26.949Z] [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-10T00:38:27.110Z] provisioning config files... [2022-05-10T00:38:27.121Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config5023300761134145174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:38:27.423Z] ---> docker-login.sh [2022-05-10T00:38:27.423Z] nexus3.edgexfoundry.org:10001 [2022-05-10T00:38:27.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:27.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:27.423Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:27.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:27.423Z] [2022-05-10T00:38:27.423Z] Login Succeeded [2022-05-10T00:38:27.423Z] nexus3.edgexfoundry.org:10002 [2022-05-10T00:38:27.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:27.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:27.685Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:27.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:27.685Z] [2022-05-10T00:38:27.685Z] Login Succeeded [2022-05-10T00:38:27.685Z] nexus3.edgexfoundry.org:10003 [2022-05-10T00:38:27.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:27.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:27.685Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:27.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:27.685Z] [2022-05-10T00:38:27.685Z] Login Succeeded [2022-05-10T00:38:27.685Z] nexus3.edgexfoundry.org:10004 [2022-05-10T00:38:27.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:27.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:27.947Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:27.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:27.947Z] [2022-05-10T00:38:27.947Z] Login Succeeded [2022-05-10T00:38:27.947Z] docker.io [2022-05-10T00:38:27.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:38:28.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:38:28.208Z] Configure a credential helper to remove this warning. See [2022-05-10T00:38:28.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:38:28.208Z] [2022-05-10T00:38:28.208Z] Login Succeeded [2022-05-10T00:38:28.208Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T00:38:28.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T00:38:28.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T00:38:28.300Z] ========================================================= [2022-05-10T00:38:28.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T00:38:28.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:38:28.605Z] + 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-10T00:38:28.605Z] Sending build context to Docker daemon 10.62MB [2022-05-10T00:38:28.605Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T00:38:28.605Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T00:38:28.605Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T00:38:28.605Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T00:38:28.605Z] 666ba61612fd: Pulling fs layer [2022-05-10T00:38:28.605Z] 8ed8ca486205: Pulling fs layer [2022-05-10T00:38:28.605Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T00:38:28.605Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T00:38:28.605Z] ca2b28591e48: Pulling fs layer [2022-05-10T00:38:28.605Z] a51346096db8: Pulling fs layer [2022-05-10T00:38:28.605Z] daebc70d1ce1: Pulling fs layer [2022-05-10T00:38:28.605Z] 0e18a0eac166: Pulling fs layer [2022-05-10T00:38:28.605Z] a51346096db8: Waiting [2022-05-10T00:38:28.605Z] ca2b28591e48: Waiting [2022-05-10T00:38:28.605Z] daebc70d1ce1: Waiting [2022-05-10T00:38:28.605Z] 0e18a0eac166: Waiting [2022-05-10T00:38:28.605Z] 4fe6c5a15a65: Waiting [2022-05-10T00:38:28.605Z] 8ed8ca486205: Verifying Checksum [2022-05-10T00:38:28.605Z] 8ed8ca486205: Download complete [2022-05-10T00:38:28.868Z] 666ba61612fd: Verifying Checksum [2022-05-10T00:38:28.868Z] 666ba61612fd: Download complete [2022-05-10T00:38:28.868Z] 22a0e8bec74d: Download complete [2022-05-10T00:38:28.868Z] ca2b28591e48: Verifying Checksum [2022-05-10T00:38:28.868Z] ca2b28591e48: Download complete [2022-05-10T00:38:28.868Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T00:38:28.868Z] a51346096db8: Verifying Checksum [2022-05-10T00:38:28.868Z] a51346096db8: Download complete [2022-05-10T00:38:28.868Z] daebc70d1ce1: Verifying Checksum [2022-05-10T00:38:28.868Z] daebc70d1ce1: Download complete [2022-05-10T00:38:28.868Z] 59bf1c3509f3: Pull complete [2022-05-10T00:38:29.133Z] 666ba61612fd: Pull complete [2022-05-10T00:38:29.133Z] 8ed8ca486205: Pull complete [2022-05-10T00:38:29.706Z] 0e18a0eac166: Verifying Checksum [2022-05-10T00:38:29.706Z] 0e18a0eac166: Download complete [2022-05-10T00:38:29.706Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T00:38:29.706Z] 4fe6c5a15a65: Download complete [2022-05-10T00:38:33.009Z] 4fe6c5a15a65: Pull complete [2022-05-10T00:38:33.009Z] 22a0e8bec74d: Pull complete [2022-05-10T00:38:33.275Z] ca2b28591e48: Pull complete [2022-05-10T00:38:33.275Z] a51346096db8: Pull complete [2022-05-10T00:38:33.275Z] daebc70d1ce1: Pull complete [2022-05-10T00:38:35.828Z] 0e18a0eac166: Pull complete [2022-05-10T00:38:35.828Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T00:38:35.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T00:38:35.828Z] ---> f018257e8ee9 [2022-05-10T00:38:35.828Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T00:38:37.738Z] ---> Running in 9c42a49f47da [2022-05-10T00:38:37.738Z] Removing intermediate container 9c42a49f47da [2022-05-10T00:38:37.738Z] ---> d90abd3a4e6e [2022-05-10T00:38:37.738Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T00:38:37.738Z] ---> Running in 503b04d8ecf1 [2022-05-10T00:38:37.998Z] Removing intermediate container 503b04d8ecf1 [2022-05-10T00:38:37.998Z] ---> 029ff86a4a6d [2022-05-10T00:38:37.998Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T00:38:37.998Z] ---> Running in fe16974cbe8a [2022-05-10T00:38:37.998Z] Removing intermediate container fe16974cbe8a [2022-05-10T00:38:37.998Z] ---> b855481adc89 [2022-05-10T00:38:37.998Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T00:38:37.998Z] ---> Running in 8352c2dcd6b6 [2022-05-10T00:38:38.939Z] Removing intermediate container 8352c2dcd6b6 [2022-05-10T00:38:38.939Z] ---> 53afa059d87d [2022-05-10T00:38:38.939Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T00:38:38.939Z] ---> Running in 865a441f930d [2022-05-10T00:38:38.939Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T00:38:39.884Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T00:38:40.457Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T00:38:40.457Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T00:38:40.457Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T00:38:40.719Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T00:38:40.719Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T00:38:40.719Z] OK: 224 MiB in 56 packages [2022-05-10T00:38:41.310Z] Removing intermediate container 865a441f930d [2022-05-10T00:38:41.310Z] ---> fb40361428c9 [2022-05-10T00:38:41.310Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T00:38:41.310Z] ---> Running in 4158c1c12710 [2022-05-10T00:38:41.310Z] Removing intermediate container 4158c1c12710 [2022-05-10T00:38:41.310Z] ---> e4fc23b4d063 [2022-05-10T00:38:41.310Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T00:38:41.310Z] ---> c1b838f26304 [2022-05-10T00:38:41.310Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T00:38:41.572Z] ---> Running in 075cce505428 [2022-05-10T00:38:42.064Z] Still waiting to schedule task [2022-05-10T00:38:42.064Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-44801’ [2022-05-10T00:38:59.727Z] Removing intermediate container 075cce505428 [2022-05-10T00:38:59.727Z] ---> 2c954f69a719 [2022-05-10T00:38:59.727Z] Step 11/12 : COPY . . [2022-05-10T00:38:59.727Z] ---> ca0b522c8ef0 [2022-05-10T00:38:59.727Z] Step 12/12 : RUN $MAKE [2022-05-10T00:38:59.727Z] ---> Running in 6c79a06eaa62 [2022-05-10T00:38:59.727Z] noop [2022-05-10T00:38:59.727Z] Removing intermediate container 6c79a06eaa62 [2022-05-10T00:38:59.727Z] ---> 8997004135cb [2022-05-10T00:38:59.727Z] Successfully built 8997004135cb [2022-05-10T00:38:59.727Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:39:00.037Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T00:39:00.037Z] . [Pipeline] withDockerContainer [2022-05-10T00:39:00.115Z] prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container [2022-05-10T00:39:00.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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 ******** ci-base-image-x86_64 cat [2022-05-10T00:39:00.611Z] $ docker top d59846868464b2684bf96f9f35884780a4ebd43046e353e35ab329d9ab2b0b8d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T00:39:00.971Z] + go version [2022-05-10T00:39:00.971Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T00:39:00.991Z] $ docker stop --time=1 d59846868464b2684bf96f9f35884780a4ebd43046e353e35ab329d9ab2b0b8d [2022-05-10T00:39:02.302Z] $ docker rm -f d59846868464b2684bf96f9f35884780a4ebd43046e353e35ab329d9ab2b0b8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:39:02.716Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T00:39:02.716Z] . [Pipeline] withDockerContainer [2022-05-10T00:39:02.790Z] prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container [2022-05-10T00:39:02.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@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 ******** ci-base-image-x86_64 cat [2022-05-10T00:39:03.298Z] $ docker top f7af3d235f235da1598d89f41111ff623be17664088277cf80f76a1b23a31902 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T00:39:03.689Z] + make test [2022-05-10T00:39:03.689Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T00:39:03.978Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T00:39:13.981Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T00:39:13.981Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-10T00:39:20.564Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T00:39:23.863Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T00:39:23.863Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T00:39:23.863Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T00:39:24.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T00:39:24.469Z] $ docker stop --time=1 f7af3d235f235da1598d89f41111ff623be17664088277cf80f76a1b23a31902 [2022-05-10T00:39:26.207Z] $ docker rm -f f7af3d235f235da1598d89f41111ff623be17664088277cf80f76a1b23a31902 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T00:39:26.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T00:39:26.694Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T00:39:27.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T00:39:27.684Z] + ls -al . [2022-05-10T00:39:27.684Z] total 168 [2022-05-10T00:39:27.684Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 00:39 . [2022-05-10T00:39:27.684Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:38 .. [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 00:38 .dockerignore [2022-05-10T00:39:27.684Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:38 .git [2022-05-10T00:39:27.684Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:38 .github [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 00:38 .gitignore [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:38 .golangci.yml [2022-05-10T00:39:27.684Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:38 .semver [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 00:38 Attribution.txt [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 10 00:38 CHANGELOG.md [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 00:38 Dockerfile [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:38 GOVERNANCE.md [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:38 Jenkinsfile [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:38 LICENSE [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 00:38 Makefile [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 00:38 OWNERS.md [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 00:38 README.md [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 00:38 VERSION [2022-05-10T00:39:27.684Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:38 bin [2022-05-10T00:39:27.684Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:38 cmd [2022-05-10T00:39:27.684Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 00:39 coverage.out [2022-05-10T00:39:27.684Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:38 driver [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 00:38 go.mod [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 00:38 go.sum [2022-05-10T00:39:27.684Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:38 snap [2022-05-10T00:39:27.684Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 00:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:39:27.997Z] + 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=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=amd64 --label version=0.0.0 . [2022-05-10T00:39:27.997Z] Sending build context to Docker daemon 10.63MB [2022-05-10T00:39:27.997Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T00:39:27.997Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T00:39:27.997Z] ---> 8997004135cb [2022-05-10T00:39:27.997Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T00:39:28.262Z] ---> Running in 402de067f31f [2022-05-10T00:39:28.262Z] Removing intermediate container 402de067f31f [2022-05-10T00:39:28.262Z] ---> 66ef4f41b012 [2022-05-10T00:39:28.262Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T00:39:28.262Z] ---> Running in 3f90cb49ceac [2022-05-10T00:39:28.523Z] Removing intermediate container 3f90cb49ceac [2022-05-10T00:39:28.523Z] ---> 55952d2603cf [2022-05-10T00:39:28.523Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T00:39:28.523Z] ---> Running in 2b9996b0f154 [2022-05-10T00:39:28.783Z] Removing intermediate container 2b9996b0f154 [2022-05-10T00:39:28.783Z] ---> 7ebba8f1579d [2022-05-10T00:39:28.783Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T00:39:28.783Z] ---> Running in fd7e45acf5ed [2022-05-10T00:39:29.352Z] Removing intermediate container fd7e45acf5ed [2022-05-10T00:39:29.352Z] ---> 6ea287072235 [2022-05-10T00:39:29.352Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T00:39:29.352Z] ---> Running in 63c0e40b6bd7 [2022-05-10T00:39:29.613Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T00:39:30.559Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T00:39:30.821Z] OK: 224 MiB in 56 packages [2022-05-10T00:39:31.082Z] Removing intermediate container 63c0e40b6bd7 [2022-05-10T00:39:31.082Z] ---> bc92f98bcee4 [2022-05-10T00:39:31.082Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T00:39:31.082Z] ---> Running in 9b1ba937e21d [2022-05-10T00:39:31.344Z] Removing intermediate container 9b1ba937e21d [2022-05-10T00:39:31.344Z] ---> 87859a8f4bd3 [2022-05-10T00:39:31.344Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T00:39:31.604Z] ---> 8bbafdbfe8cd [2022-05-10T00:39:31.604Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T00:39:31.604Z] ---> Running in b6061e0560d1 [2022-05-10T00:39:32.174Z] Removing intermediate container b6061e0560d1 [2022-05-10T00:39:32.175Z] ---> bb7d17145c14 [2022-05-10T00:39:32.175Z] Step 11/25 : COPY . . [2022-05-10T00:39:32.751Z] ---> 55657f8fbdef [2022-05-10T00:39:32.751Z] Step 12/25 : RUN $MAKE [2022-05-10T00:39:32.751Z] ---> Running in d148fa6d9a37 [2022-05-10T00:39:33.014Z] 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-10T00:39:54.972Z] Removing intermediate container d148fa6d9a37 [2022-05-10T00:39:54.972Z] ---> c47f17a3e41e [2022-05-10T00:39:54.972Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T00:39:54.972Z] 3.14: Pulling from library/alpine [2022-05-10T00:39:54.972Z] 8663204ce13b: Pulling fs layer [2022-05-10T00:39:54.972Z] error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652146193-r2glCQ7HgbM0KAYOZpNeaittc7Y%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:39:55.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T00:39:55.352Z] [2022-05-10T00:39:55.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:39:55.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T00:39:55.664Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T00:39:55.664Z] 5eb5b503b376: Pulling fs layer [2022-05-10T00:39:55.664Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T00:39:55.664Z] ec43610c2a17: Pulling fs layer [2022-05-10T00:39:55.664Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T00:39:55.664Z] 33b1e0a273af: Pulling fs layer [2022-05-10T00:39:55.664Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T00:39:55.664Z] 2f39f015ded8: Pulling fs layer [2022-05-10T00:39:55.664Z] 3a2ae6a8a46f: Waiting [2022-05-10T00:39:55.664Z] 33b1e0a273af: Waiting [2022-05-10T00:39:55.664Z] 5d3b04190fa2: Waiting [2022-05-10T00:39:55.664Z] 2f39f015ded8: Waiting [2022-05-10T00:39:55.664Z] 5c69ac0246d0: Download complete [2022-05-10T00:39:55.664Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T00:39:55.664Z] 3a2ae6a8a46f: Download complete [2022-05-10T00:39:55.925Z] 33b1e0a273af: Verifying Checksum [2022-05-10T00:39:55.925Z] 33b1e0a273af: Download complete [2022-05-10T00:39:55.925Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T00:39:55.925Z] 5d3b04190fa2: Download complete [2022-05-10T00:39:55.925Z] ec43610c2a17: Verifying Checksum [2022-05-10T00:39:55.925Z] ec43610c2a17: Download complete [2022-05-10T00:39:55.925Z] 5eb5b503b376: Verifying Checksum [2022-05-10T00:39:55.925Z] 5eb5b503b376: Download complete [2022-05-10T00:39:56.494Z] 2f39f015ded8: Verifying Checksum [2022-05-10T00:39:56.494Z] 2f39f015ded8: Download complete [2022-05-10T00:39:57.440Z] 5eb5b503b376: Pull complete [2022-05-10T00:39:57.440Z] 5c69ac0246d0: Pull complete [2022-05-10T00:39:58.009Z] ec43610c2a17: Pull complete [2022-05-10T00:39:58.009Z] 3a2ae6a8a46f: Pull complete [2022-05-10T00:39:58.269Z] 33b1e0a273af: Pull complete [2022-05-10T00:39:58.269Z] 5d3b04190fa2: Pull complete [2022-05-10T00:40:02.468Z] 2f39f015ded8: Pull complete [2022-05-10T00:40:02.729Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T00:40:02.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T00:40:02.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T00:40:02.791Z] prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container [2022-05-10T00:40:02.834Z] $ 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-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T00:40:05.564Z] $ docker top 3eea81305c13a14552000bf07577daa1534c4790caccd5c6bf06b183428ed17d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:40:05.993Z] ---> job-cost.sh [2022-05-10T00:40:05.993Z] lf-activate-venv: SKIPPING [2022-05-10T00:40:05.993Z] INFO: No Stack... [2022-05-10T00:40:06.574Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T00:40:06.836Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T00:40:07.128Z] + + catcut /w/workspace/gexfoundry_device-rest-go_PR-187/archives/cost.csv -d, [2022-05-10T00:40:07.128Z] -f6 [Pipeline] lock [2022-05-10T00:40:07.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [2022-05-10T00:40:07.150Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] did not exist. Created. [2022-05-10T00:40:07.151Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T00:40:07.452Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T00:40:07.487Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T00:40:07.493Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T00:40:07.518Z] $ docker stop --time=1 3eea81305c13a14552000bf07577daa1534c4790caccd5c6bf06b183428ed17d [2022-05-10T00:40:08.681Z] $ docker rm -f 3eea81305c13a14552000bf07577daa1534c4790caccd5c6bf06b183428ed17d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T00:40:08.801Z] Failed in branch amd64 [2022-05-10T00:42:23.048Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44805 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] ws [2022-05-10T00:42:23.061Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-05-10T00:42:23.404Z] The recommended git tool is: git [2022-05-10T00:42:29.830Z] using credential edgex-jenkins-ssh [2022-05-10T00:42:29.849Z] Cloning the remote Git repository [2022-05-10T00:42:29.907Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T00:42:29.991Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-05-10T00:42:30.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T00:42:30.078Z] > git --version # timeout=10 [2022-05-10T00:42:30.096Z] > git --version # 'git version 2.25.1' [2022-05-10T00:42:30.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T00:42:30.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T00:42:32.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T00:42:32.121Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T00:42:32.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T00:42:32.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T00:42:32.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T00:42:32.261Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T00:42:32.746Z] Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c [2022-05-10T00:42:33.023Z] Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c [2022-05-10T00:42:33.023Z] Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) [2022-05-10T00:42:32.799Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T00:42:32.823Z] > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [2022-05-10T00:42:32.916Z] > git remote # timeout=10 [2022-05-10T00:42:32.941Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T00:42:32.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T00:42:32.979Z] > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [2022-05-10T00:42:33.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T00:42:33.032Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T00:42:33.056Z] > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [2022-05-10T00:42:37.427Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T00:42:38.416Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T00:42:38.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T00:42:38.416Z] Dload Upload Total Spent Left Speed [2022-05-10T00:42:38.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh [2022-05-10T00:42:38.973Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T00:42:39.336Z] + sudo tee /etc/docker/daemon.new [2022-05-10T00:42:39.336Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T00:42:39.336Z] { [2022-05-10T00:42:39.336Z] "registry-mirrors": [ [2022-05-10T00:42:39.336Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T00:42:39.337Z] ], [2022-05-10T00:42:39.337Z] "bip": "10.250.0.254/24", [2022-05-10T00:42:39.337Z] "hosts": [ [2022-05-10T00:42:39.337Z] "tcp://0.0.0.0:5555", [2022-05-10T00:42:39.337Z] "unix:///var/run/docker.sock" [2022-05-10T00:42:39.337Z] ], [2022-05-10T00:42:39.337Z] "mtu": 1458, [2022-05-10T00:42:39.337Z] "selinux-enabled": true, [2022-05-10T00:42:39.337Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T00:42:39.337Z] } [Pipeline] sh [2022-05-10T00:42:39.691Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T00:42:40.048Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T00:42:58.426Z] provisioning config files... [2022-05-10T00:42:58.478Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2288175823711079833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:42:58.877Z] ---> docker-login.sh [2022-05-10T00:42:58.877Z] nexus3.edgexfoundry.org:10001 [2022-05-10T00:42:59.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:43:00.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:43:00.102Z] Configure a credential helper to remove this warning. See [2022-05-10T00:43:00.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:43:00.102Z] [2022-05-10T00:43:00.102Z] Login Succeeded [2022-05-10T00:43:00.102Z] nexus3.edgexfoundry.org:10002 [2022-05-10T00:43:00.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:43:00.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:43:00.386Z] Configure a credential helper to remove this warning. See [2022-05-10T00:43:00.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:43:00.386Z] [2022-05-10T00:43:00.386Z] Login Succeeded [2022-05-10T00:43:00.386Z] nexus3.edgexfoundry.org:10003 [2022-05-10T00:43:00.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:43:00.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:43:00.994Z] Configure a credential helper to remove this warning. See [2022-05-10T00:43:00.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:43:00.994Z] [2022-05-10T00:43:00.994Z] Login Succeeded [2022-05-10T00:43:00.994Z] nexus3.edgexfoundry.org:10004 [2022-05-10T00:43:01.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:43:01.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:43:01.550Z] Configure a credential helper to remove this warning. See [2022-05-10T00:43:01.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:43:01.550Z] [2022-05-10T00:43:01.550Z] Login Succeeded [2022-05-10T00:43:01.550Z] docker.io [2022-05-10T00:43:01.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T00:43:02.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T00:43:02.424Z] Configure a credential helper to remove this warning. See [2022-05-10T00:43:02.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T00:43:02.424Z] [2022-05-10T00:43:02.424Z] Login Succeeded [2022-05-10T00:43:02.424Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T00:43:02.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T00:43:03.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T00:43:03.076Z] ========================================================= [2022-05-10T00:43:03.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T00:43:03.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:43:03.448Z] + 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-10T00:43:03.448Z] Sending build context to Docker daemon 124.4kB [2022-05-10T00:43:03.728Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T00:43:03.728Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T00:43:04.008Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T00:43:04.008Z] 9b3977197b4f: Pulling fs layer [2022-05-10T00:43:04.008Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T00:43:04.008Z] 94645a83ff95: Pulling fs layer [2022-05-10T00:43:04.008Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T00:43:04.008Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T00:43:04.008Z] 3096ccb668a1: Pulling fs layer [2022-05-10T00:43:04.008Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T00:43:04.008Z] a4caa8a26152: Pulling fs layer [2022-05-10T00:43:04.008Z] 3f3a8bcf1eab: Waiting [2022-05-10T00:43:04.008Z] 0c92f367c5e7: Waiting [2022-05-10T00:43:04.008Z] 3096ccb668a1: Waiting [2022-05-10T00:43:04.008Z] e8cf19c19ddd: Waiting [2022-05-10T00:43:04.008Z] a4caa8a26152: Waiting [2022-05-10T00:43:04.008Z] 94645a83ff95: Verifying Checksum [2022-05-10T00:43:04.008Z] 94645a83ff95: Download complete [2022-05-10T00:43:04.008Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T00:43:04.008Z] 1a89e8eeedd5: Download complete [2022-05-10T00:43:04.008Z] 0c92f367c5e7: Download complete [2022-05-10T00:43:04.008Z] 3096ccb668a1: Verifying Checksum [2022-05-10T00:43:04.008Z] 3096ccb668a1: Download complete [2022-05-10T00:43:04.008Z] 9b3977197b4f: Download complete [2022-05-10T00:43:04.008Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T00:43:04.008Z] e8cf19c19ddd: Download complete [2022-05-10T00:43:05.008Z] 9b3977197b4f: Pull complete [2022-05-10T00:43:05.609Z] 1a89e8eeedd5: Pull complete [2022-05-10T00:43:05.889Z] 94645a83ff95: Pull complete [2022-05-10T00:43:06.169Z] a4caa8a26152: Verifying Checksum [2022-05-10T00:43:06.169Z] a4caa8a26152: Download complete [2022-05-10T00:43:06.768Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T00:43:06.768Z] 3f3a8bcf1eab: Download complete [2022-05-10T00:43:19.214Z] 3f3a8bcf1eab: Pull complete [2022-05-10T00:43:19.818Z] 0c92f367c5e7: Pull complete [2022-05-10T00:43:20.095Z] 3096ccb668a1: Pull complete [2022-05-10T00:43:20.375Z] e8cf19c19ddd: Pull complete [2022-05-10T00:43:27.153Z] a4caa8a26152: Pull complete [2022-05-10T00:43:27.153Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T00:43:27.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T00:43:27.153Z] ---> 725f1c02e7f9 [2022-05-10T00:43:27.153Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T00:43:28.175Z] ---> Running in d295e9d02aff [2022-05-10T00:43:28.457Z] Removing intermediate container d295e9d02aff [2022-05-10T00:43:28.457Z] ---> 29670386fc89 [2022-05-10T00:43:28.457Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T00:43:28.736Z] ---> Running in 591ddcccb4e3 [2022-05-10T00:43:30.180Z] Removing intermediate container 591ddcccb4e3 [2022-05-10T00:43:30.180Z] ---> 53da4199e033 [2022-05-10T00:43:30.180Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T00:43:30.180Z] ---> Running in 603899d82cd0 [2022-05-10T00:43:30.459Z] Removing intermediate container 603899d82cd0 [2022-05-10T00:43:30.459Z] ---> da817adc2488 [2022-05-10T00:43:30.459Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T00:43:30.741Z] ---> Running in a6df4060b044 [2022-05-10T00:43:32.725Z] Removing intermediate container a6df4060b044 [2022-05-10T00:43:32.725Z] ---> 16722d65a67e [2022-05-10T00:43:32.725Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T00:43:32.725Z] ---> Running in b63a99f7f1ac [2022-05-10T00:43:33.712Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T00:43:34.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T00:43:35.678Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T00:43:35.953Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T00:43:35.953Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T00:43:36.236Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T00:43:36.236Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T00:43:36.236Z] OK: 224 MiB in 56 packages [2022-05-10T00:43:37.248Z] Removing intermediate container b63a99f7f1ac [2022-05-10T00:43:37.248Z] ---> 78e831e70476 [2022-05-10T00:43:37.248Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T00:43:37.530Z] ---> Running in 91a6554b9efe [2022-05-10T00:43:37.807Z] Removing intermediate container 91a6554b9efe [2022-05-10T00:43:37.807Z] ---> 6e1c605a9487 [2022-05-10T00:43:37.807Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T00:43:38.418Z] ---> 3d24f1e5bda8 [2022-05-10T00:43:38.418Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T00:43:38.418Z] ---> Running in 73bb4fac75ba [2022-05-10T00:44:35.039Z] Removing intermediate container 73bb4fac75ba [2022-05-10T00:44:35.039Z] ---> e781e4378c0f [2022-05-10T00:44:35.039Z] Step 11/12 : COPY . . [2022-05-10T00:44:35.039Z] ---> 21de73192a51 [2022-05-10T00:44:35.039Z] Step 12/12 : RUN $MAKE [2022-05-10T00:44:35.039Z] ---> Running in 6f521c61c60c [2022-05-10T00:44:35.039Z] noop [2022-05-10T00:44:35.039Z] Removing intermediate container 6f521c61c60c [2022-05-10T00:44:35.039Z] ---> e3733a0913eb [2022-05-10T00:44:35.039Z] Successfully built e3733a0913eb [2022-05-10T00:44:35.039Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:44:35.400Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T00:44:35.400Z] . [Pipeline] withDockerContainer [2022-05-10T00:44:35.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-44805 does not seem to be running inside a container [2022-05-10T00:44:35.747Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-10T00:44:37.043Z] $ docker top 107c51d968896fdbba0622d0891db1c68ebf2e3e9133cfab2f4d3e982d016aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T00:44:38.024Z] + go version [2022-05-10T00:44:38.024Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T00:44:38.059Z] $ docker stop --time=1 107c51d968896fdbba0622d0891db1c68ebf2e3e9133cfab2f4d3e982d016aa2 [2022-05-10T00:44:39.746Z] $ docker rm -f 107c51d968896fdbba0622d0891db1c68ebf2e3e9133cfab2f4d3e982d016aa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:44:40.427Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T00:44:40.427Z] . [Pipeline] withDockerContainer [2022-05-10T00:44:40.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-44805 does not seem to be running inside a container [2022-05-10T00:44:40.784Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-10T00:44:42.175Z] $ docker top 9aa1d0e7bd418f697962711363176d10a125a0ed909125a8d76f418bb430a138 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T00:44:43.143Z] + make test [2022-05-10T00:44:43.143Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T00:44:45.143Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T00:46:22.057Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T00:46:22.058Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements [2022-05-10T00:46:22.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T00:46:22.058Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T00:46:44.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T00:46:44.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T00:46:44.300Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T00:46:45.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T00:46:45.778Z] $ docker stop --time=1 9aa1d0e7bd418f697962711363176d10a125a0ed909125a8d76f418bb430a138 [2022-05-10T00:46:47.640Z] $ docker rm -f 9aa1d0e7bd418f697962711363176d10a125a0ed909125a8d76f418bb430a138 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T00:46:48.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T00:46:48.736Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T00:46:49.263Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T00:46:49.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T00:46:50.021Z] + ls -al . [2022-05-10T00:46:50.021Z] total 164 [2022-05-10T00:46:50.021Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:46 . [2022-05-10T00:46:50.021Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:42 .. [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 00:42 .dockerignore [2022-05-10T00:46:50.021Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:42 .git [2022-05-10T00:46:50.021Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:42 .github [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 00:42 .gitignore [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:42 .golangci.yml [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 00:42 Attribution.txt [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 10 00:42 CHANGELOG.md [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 00:42 Dockerfile [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:42 GOVERNANCE.md [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:42 Jenkinsfile [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:42 LICENSE [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 00:42 Makefile [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 00:42 OWNERS.md [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 00:42 README.md [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 00:38 VERSION [2022-05-10T00:46:50.021Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:42 bin [2022-05-10T00:46:50.021Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:42 cmd [2022-05-10T00:46:50.021Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 00:46 coverage.out [2022-05-10T00:46:50.021Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:42 driver [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 00:42 go.mod [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 00:42 go.sum [2022-05-10T00:46:50.021Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:42 snap [2022-05-10T00:46:50.021Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 00:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:46:50.374Z] + 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=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=arm64 --label version=0.0.0 . [2022-05-10T00:46:50.374Z] Sending build context to Docker daemon 134.7kB [2022-05-10T00:46:50.652Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T00:46:50.652Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T00:46:50.652Z] ---> e3733a0913eb [2022-05-10T00:46:50.652Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T00:46:50.929Z] ---> Running in 5e0e7d1710e7 [2022-05-10T00:46:51.204Z] Removing intermediate container 5e0e7d1710e7 [2022-05-10T00:46:51.204Z] ---> f5fb8efacf51 [2022-05-10T00:46:51.204Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T00:46:51.204Z] ---> Running in a43325ce079a [2022-05-10T00:46:51.801Z] Removing intermediate container a43325ce079a [2022-05-10T00:46:51.801Z] ---> 88108f426d43 [2022-05-10T00:46:51.801Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T00:46:51.801Z] ---> Running in 00ae2c8245e1 [2022-05-10T00:46:52.078Z] Removing intermediate container 00ae2c8245e1 [2022-05-10T00:46:52.078Z] ---> 2ac91f2e32f0 [2022-05-10T00:46:52.078Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T00:46:52.362Z] ---> Running in 95d656d2fc67 [2022-05-10T00:46:54.367Z] Removing intermediate container 95d656d2fc67 [2022-05-10T00:46:54.367Z] ---> d6c0d488aff2 [2022-05-10T00:46:54.367Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T00:46:54.367Z] ---> Running in 5ae46ce694cb [2022-05-10T00:46:55.365Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T00:46:56.364Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T00:46:57.354Z] OK: 224 MiB in 56 packages [2022-05-10T00:46:58.343Z] Removing intermediate container 5ae46ce694cb [2022-05-10T00:46:58.343Z] ---> 1a87ad553dca [2022-05-10T00:46:58.343Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T00:46:58.343Z] ---> Running in 4b2e4b092a5b [2022-05-10T00:46:58.618Z] Removing intermediate container 4b2e4b092a5b [2022-05-10T00:46:58.618Z] ---> 382176dd938b [2022-05-10T00:46:58.618Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T00:46:59.602Z] ---> 09e212f1e744 [2022-05-10T00:46:59.603Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T00:46:59.603Z] ---> Running in 923080d6642d [2022-05-10T00:47:02.289Z] Removing intermediate container 923080d6642d [2022-05-10T00:47:02.289Z] ---> ac38ddb7c515 [2022-05-10T00:47:02.289Z] Step 11/25 : COPY . . [2022-05-10T00:47:02.888Z] ---> 2a9eee5f1bbf [2022-05-10T00:47:02.888Z] Step 12/25 : RUN $MAKE [2022-05-10T00:47:02.888Z] ---> Running in da73360168e7 [2022-05-10T00:47:03.874Z] 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-10T00:49:25.847Z] Removing intermediate container da73360168e7 [2022-05-10T00:49:25.847Z] ---> 1b40f02bfaa3 [2022-05-10T00:49:25.847Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T00:49:25.847Z] 3.14: Pulling from library/alpine [2022-05-10T00:49:25.847Z] 455c02918c45: Pulling fs layer [2022-05-10T00:49:25.847Z] 455c02918c45: Verifying Checksum [2022-05-10T00:49:25.847Z] 455c02918c45: Download complete [2022-05-10T00:49:25.847Z] 455c02918c45: Pull complete [2022-05-10T00:49:25.847Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T00:49:25.847Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T00:49:25.847Z] ---> ac73e934f311 [2022-05-10T00:49:25.847Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T00:49:25.847Z] ---> Running in 0fe481779394 [2022-05-10T00:49:25.847Z] Removing intermediate container 0fe481779394 [2022-05-10T00:49:25.847Z] ---> 4a50458adb19 [2022-05-10T00:49:25.847Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T00:49:25.847Z] ---> Running in dcb45e8ba6b5 [2022-05-10T00:49:25.847Z] Removing intermediate container dcb45e8ba6b5 [2022-05-10T00:49:25.847Z] ---> d771890c42a5 [2022-05-10T00:49:25.847Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T00:49:25.847Z] ---> Running in 99926a0d4d64 [2022-05-10T00:49:25.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T00:49:25.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T00:49:25.847Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T00:49:25.847Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T00:49:25.847Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T00:49:25.847Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T00:49:25.847Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T00:49:25.847Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T00:49:25.847Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T00:49:25.847Z] OK: 8 MiB in 20 packages [2022-05-10T00:49:25.847Z] Removing intermediate container 99926a0d4d64 [2022-05-10T00:49:25.847Z] ---> 5a8bced220bb [2022-05-10T00:49:25.847Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T00:49:25.847Z] ---> 4f1ab4e16de2 [2022-05-10T00:49:25.847Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T00:49:25.847Z] ---> 73092ab1c302 [2022-05-10T00:49:25.847Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T00:49:25.847Z] ---> f697c1bbe965 [2022-05-10T00:49:25.847Z] Step 20/25 : EXPOSE 59986 [2022-05-10T00:49:25.847Z] ---> Running in 2aef3e9a7e20 [2022-05-10T00:49:25.847Z] Removing intermediate container 2aef3e9a7e20 [2022-05-10T00:49:25.847Z] ---> 486da92c9574 [2022-05-10T00:49:25.847Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T00:49:25.847Z] ---> Running in 98612a14ea56 [2022-05-10T00:49:26.461Z] Removing intermediate container 98612a14ea56 [2022-05-10T00:49:26.461Z] ---> dd55fdbdfd3f [2022-05-10T00:49:26.461Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T00:49:26.461Z] ---> Running in d5b8a6888582 [2022-05-10T00:49:26.735Z] Removing intermediate container d5b8a6888582 [2022-05-10T00:49:26.735Z] ---> 046c7ce9d486 [2022-05-10T00:49:26.735Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T00:49:26.735Z] ---> Running in f513b2f93a22 [2022-05-10T00:49:27.019Z] Removing intermediate container f513b2f93a22 [2022-05-10T00:49:27.019Z] ---> bbab5e58fb87 [2022-05-10T00:49:27.019Z] Step 24/25 : LABEL git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c [2022-05-10T00:49:27.294Z] ---> Running in f5b29ec97ca0 [2022-05-10T00:49:27.570Z] Removing intermediate container f5b29ec97ca0 [2022-05-10T00:49:27.570Z] ---> 4285b7663c13 [2022-05-10T00:49:27.570Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T00:49:27.570Z] ---> Running in 19b731dde245 [2022-05-10T00:49:27.844Z] Removing intermediate container 19b731dde245 [2022-05-10T00:49:27.844Z] ---> 0dc803ce9548 [2022-05-10T00:49:27.844Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T00:49:27.844Z] Successfully built 0dc803ce9548 [2022-05-10T00:49:27.844Z] 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-10T00:49:28.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T00:49:28.614Z] [2022-05-10T00:49:28.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:49:28.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T00:49:29.244Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T00:49:29.244Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T00:49:29.244Z] 04944245beec: Pulling fs layer [2022-05-10T00:49:29.244Z] 699f458cf7ca: Pulling fs layer [2022-05-10T00:49:29.244Z] 765212b225bb: Pulling fs layer [2022-05-10T00:49:29.244Z] f23df028b6ca: Pulling fs layer [2022-05-10T00:49:29.244Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T00:49:29.244Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T00:49:29.244Z] 765212b225bb: Waiting [2022-05-10T00:49:29.244Z] f23df028b6ca: Waiting [2022-05-10T00:49:29.244Z] d65c8cfc05b1: Waiting [2022-05-10T00:49:29.244Z] 2437ff75d9bd: Waiting [2022-05-10T00:49:29.244Z] 04944245beec: Verifying Checksum [2022-05-10T00:49:29.244Z] 04944245beec: Download complete [2022-05-10T00:49:29.244Z] 765212b225bb: Verifying Checksum [2022-05-10T00:49:29.244Z] 765212b225bb: Download complete [2022-05-10T00:49:29.244Z] f23df028b6ca: Download complete [2022-05-10T00:49:29.244Z] d65c8cfc05b1: Download complete [2022-05-10T00:49:29.521Z] 699f458cf7ca: Verifying Checksum [2022-05-10T00:49:29.521Z] 699f458cf7ca: Download complete [2022-05-10T00:49:29.797Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T00:49:29.797Z] 8998bd30e6a1: Download complete [2022-05-10T00:49:32.425Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T00:49:32.425Z] 2437ff75d9bd: Download complete [2022-05-10T00:49:33.865Z] 8998bd30e6a1: Pull complete [2022-05-10T00:49:34.463Z] 04944245beec: Pull complete [2022-05-10T00:49:35.905Z] 699f458cf7ca: Pull complete [2022-05-10T00:49:36.181Z] 765212b225bb: Pull complete [2022-05-10T00:49:37.166Z] f23df028b6ca: Pull complete [2022-05-10T00:49:37.440Z] d65c8cfc05b1: Pull complete [2022-05-10T00:49:52.545Z] 2437ff75d9bd: Pull complete [2022-05-10T00:49:52.545Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T00:49:52.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T00:49:52.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T00:49:52.814Z] prd-ubuntu20.04-docker-arm64-4c-16g-44805 does not seem to be running inside a container [2022-05-10T00:49:52.917Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T00:49:55.712Z] $ docker top 35935de0a92936e0af3bb234e141f4c51ebf9ed61d553d93ef456e981c8fb5ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:49:56.693Z] ---> job-cost.sh [2022-05-10T00:49:56.694Z] lf-activate-venv: SKIPPING [2022-05-10T00:49:56.694Z] INFO: No Stack... [2022-05-10T00:49:57.287Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T00:49:57.881Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T00:49:58.545Z] + + cut -d, -f6 [2022-05-10T00:49:58.545Z] cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2022-05-10T00:49:58.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [2022-05-10T00:49:58.582Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] did not exist. Created. [2022-05-10T00:49:58.582Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T00:49:59.258Z] /w/workspace/device-rest-go/2@tmp/durable-4f387427/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T00:49:59.936Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T00:49:59.957Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T00:50:00.003Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T00:50:00.009Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T00:50:00.026Z] $ docker stop --time=1 35935de0a92936e0af3bb234e141f4c51ebf9ed61d553d93ef456e981c8fb5ee [2022-05-10T00:50:01.572Z] $ docker rm -f 35935de0a92936e0af3bb234e141f4c51ebf9ed61d553d93ef456e981c8fb5ee [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-10T00:50:02.688Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-187/archives ] [2022-05-10T00:50:02.688Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives [2022-05-10T00:50:02.688Z] total 16 [2022-05-10T00:50:02.688Z] drwxr-xr-x 3 root root 4096 May 10 00:40 . [2022-05-10T00:50:02.688Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:40 .. [2022-05-10T00:50:02.688Z] drwxr-xr-x 2 root root 4096 May 10 00:40 cost [2022-05-10T00:50:02.688Z] -rw-r--r-- 1 root root 85 May 10 00:40 cost.csv [2022-05-10T00:50:02.688Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-187/archives [2022-05-10T00:50:02.688Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives [2022-05-10T00:50:02.688Z] total 16 [2022-05-10T00:50:02.688Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:40 . [2022-05-10T00:50:02.688Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:40 .. [2022-05-10T00:50:02.688Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 00:40 cost [2022-05-10T00:50:02.688Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 00:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:02.987Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:03.855Z] ---> package-listing.sh [2022-05-10T00:50:03.856Z] ++ facter osfamily [2022-05-10T00:50:03.856Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T00:50:04.123Z] + OS_FAMILY=debian [2022-05-10T00:50:04.123Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-187 [2022-05-10T00:50:04.123Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T00:50:04.123Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T00:50:04.123Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T00:50:04.123Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T00:50:04.123Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' [2022-05-10T00:50:04.123Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T00:50:04.123Z] + case "${OS_FAMILY}" in [2022-05-10T00:50:04.123Z] + dpkg -l [2022-05-10T00:50:04.123Z] + grep '^ii' [2022-05-10T00:50:04.123Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T00:50:04.123Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T00:50:04.123Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T00:50:04.123Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' [2022-05-10T00:50:04.123Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [2022-05-10T00:50:04.123Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [Pipeline] echo [2022-05-10T00:50:04.142Z] 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T00:50:04.430Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T00:50:04.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T00:50:04.991Z] . [Pipeline] withDockerContainer [2022-05-10T00:50:05.060Z] prd-ubuntu20.04-docker-8c-8g-44804 does not seem to be running inside a container [2022-05-10T00:50:05.101Z] $ 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-187/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-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T00:50:05.334Z] $ docker top 008b0fd421883c7d66c67f0024b4440ff539a8a1cf58be1b7df47b04d3ce5d58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T00:50:05.695Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T00:50:05.990Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T00:50:06.287Z] + ls /var/log/sa-host [2022-05-10T00:50:06.287Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T00:50:06.537Z] provisioning config files... [2022-05-10T00:50:06.547Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config7620831495605793165tmp [Pipeline] { [Pipeline] echo [2022-05-10T00:50:06.564Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:06.849Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T00:50:06.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:07.209Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T00:50:07.222Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:07.515Z] ---> sudo-logs.sh [2022-05-10T00:50:07.515Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T00:50:07.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:07.822Z] ---> job-cost.sh [2022-05-10T00:50:07.822Z] lf-activate-venv: SKIPPING [2022-05-10T00:50:07.822Z] DEBUG: total: 0.2199999988079071 [2022-05-10T00:50:07.822Z] INFO: Retrieving Stack Cost... [2022-05-10T00:50:08.084Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T00:50:08.656Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T00:50:08.676Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T00:50:08.966Z] ---> logs-deploy.sh [2022-05-10T00:50:08.966Z] lf-activate-venv: SKIPPING [2022-05-10T00:50:08.966Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-187/2 [2022-05-10T00:50:08.966Z] INFO: archiving workspace using pattern(s): [2022-05-10T00:50:09.915Z] Archives upload complete. [2022-05-10T00:50:09.915Z] INFO: archiving logs to Nexus