Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 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-ssh68234120165235270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh17910454198671235959.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15458379178119107293.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16091961291088016900.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh348395884951719073.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19366’ Running on prd-ubuntu20.04-docker-8c-8g-19372 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 Commit message: "Merge pull request #205 from lenny-intel/Go1.18" > git rev-list --no-walk 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T21:50:32.917Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T21:50:32.960Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T21:50:32.977Z] ========================================================= [2022-07-11T21:50:32.977Z] EdgeX Global Pipelines Version Info [2022-07-11T21:50:32.977Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:50:33.726Z] ------------------- [2022-07-11T21:50:33.726Z] stable info: [2022-07-11T21:50:33.726Z] ------------------- [2022-07-11T21:50:33.726Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T21:50:33.726Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-11T21:50:33.726Z] Message: update stable to v1.0.237 [2022-07-11T21:50:34.305Z] ------------------- [2022-07-11T21:50:34.305Z] experimental info: [2022-07-11T21:50:34.305Z] ------------------- [2022-07-11T21:50:34.305Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-11T21:50:34.305Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-11T21:50:34.305Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T21:50:34.493Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-11T21:50:34.504Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-11T21:50:34.515Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T21:50:34.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T21:50:34.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T21:50:34.552Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-11T21:50:34.566Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T21:50:34.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T21:50:34.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T21:50:34.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T21:50:34.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T21:50:34.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-11T21:50:34.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T21:50:34.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T21:50:34.667Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T21:50:34.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T21:50:34.684Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T21:50:34.700Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T21:50:34.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T21:50:34.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T21:50:34.739Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T21:50:34.752Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T21:50:34.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T21:50:34.780Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T21:50:34.797Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T21:50:34.809Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T21:50:34.824Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T21:50:34.834Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-11T21:50:34.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-11T21:50:34.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-11T21:50:34.868Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T21:50:34.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 328f14c [Pipeline] echo [2022-07-11T21:50:34.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T21:50:34.939Z] provisioning config files... [2022-07-11T21:50:34.953Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7895188840485436604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:50:35.263Z] ---> docker-login.sh [2022-07-11T21:50:35.263Z] nexus3.edgexfoundry.org:10001 [2022-07-11T21:50:35.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:35.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:35.526Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:35.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:35.526Z] [2022-07-11T21:50:35.526Z] Login Succeeded [2022-07-11T21:50:35.526Z] nexus3.edgexfoundry.org:10002 [2022-07-11T21:50:35.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:35.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:35.787Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:35.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:35.787Z] [2022-07-11T21:50:35.787Z] Login Succeeded [2022-07-11T21:50:35.787Z] nexus3.edgexfoundry.org:10003 [2022-07-11T21:50:35.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:36.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:36.050Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:36.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:36.050Z] [2022-07-11T21:50:36.050Z] Login Succeeded [2022-07-11T21:50:36.050Z] nexus3.edgexfoundry.org:10004 [2022-07-11T21:50:36.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:36.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:36.050Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:36.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:36.050Z] [2022-07-11T21:50:36.050Z] Login Succeeded [2022-07-11T21:50:36.050Z] docker.io [2022-07-11T21:50:36.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:36.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:36.623Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:36.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:36.623Z] [2022-07-11T21:50:36.623Z] Login Succeeded [2022-07-11T21:50:36.623Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T21:50:36.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T21:50:37.006Z] + git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T21:50:37.034Z] -----------> git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T21:50:37.034Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [false] [Pipeline] sh [2022-07-11T21:50:37.327Z] + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T21:50:37.343Z] ========================================================= [2022-07-11T21:50:37.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T21:50:37.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T21:50:37.680Z] + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T21:50:37.693Z] [semverPrep] GIT_COMMIT: 328f14cd4e0e2f12280e28257e4d0d1118a94cd7, Commit Message: Merge pull request #205 from lenny-intel/Go1.18 [Pipeline] echo [2022-07-11T21:50:37.702Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T21:50:38.059Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T21:50:38.059Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T21:50:38.059Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T21:50:38.059Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T21:50:38.059Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T21:50:38.059Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T21:50:38.059Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:50:38.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T21:50:38.413Z] [2022-07-11T21:50:38.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:50:38.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T21:50:38.721Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T21:50:38.721Z] b85a868b505f: Pulling fs layer [2022-07-11T21:50:38.721Z] e2be974225ed: Pulling fs layer [2022-07-11T21:50:38.721Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T21:50:38.721Z] 988bab9f4d93: Pulling fs layer [2022-07-11T21:50:38.721Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T21:50:38.721Z] eaf3925da568: Pulling fs layer [2022-07-11T21:50:38.721Z] bab4dde63d76: Pulling fs layer [2022-07-11T21:50:38.721Z] bde34c3a00c8: Pulling fs layer [2022-07-11T21:50:38.721Z] b352a97aabf1: Pulling fs layer [2022-07-11T21:50:38.721Z] 4872d77fe225: Pulling fs layer [2022-07-11T21:50:38.721Z] 5851b861e8e6: Pulling fs layer [2022-07-11T21:50:38.721Z] bab4dde63d76: Waiting [2022-07-11T21:50:38.721Z] 4872d77fe225: Waiting [2022-07-11T21:50:38.721Z] 5851b861e8e6: Waiting [2022-07-11T21:50:38.721Z] bde34c3a00c8: Waiting [2022-07-11T21:50:38.721Z] 988bab9f4d93: Waiting [2022-07-11T21:50:38.721Z] 1469e6f7b9e6: Waiting [2022-07-11T21:50:38.721Z] eaf3925da568: Waiting [2022-07-11T21:50:38.721Z] b352a97aabf1: Waiting [2022-07-11T21:50:38.721Z] e2be974225ed: Download complete [2022-07-11T21:50:38.721Z] 988bab9f4d93: Download complete [2022-07-11T21:50:38.982Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T21:50:38.982Z] 1469e6f7b9e6: Download complete [2022-07-11T21:50:38.982Z] eaf3925da568: Verifying Checksum [2022-07-11T21:50:38.982Z] eaf3925da568: Download complete [2022-07-11T21:50:38.982Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T21:50:38.982Z] 339a4e72a1f5: Download complete [2022-07-11T21:50:38.982Z] bde34c3a00c8: Verifying Checksum [2022-07-11T21:50:38.982Z] bde34c3a00c8: Download complete [2022-07-11T21:50:38.982Z] b352a97aabf1: Download complete [2022-07-11T21:50:38.982Z] 4872d77fe225: Verifying Checksum [2022-07-11T21:50:38.982Z] 4872d77fe225: Download complete [2022-07-11T21:50:38.982Z] 5851b861e8e6: Verifying Checksum [2022-07-11T21:50:38.982Z] 5851b861e8e6: Download complete [2022-07-11T21:50:38.982Z] b85a868b505f: Verifying Checksum [2022-07-11T21:50:38.982Z] b85a868b505f: Download complete [2022-07-11T21:50:39.241Z] bab4dde63d76: Verifying Checksum [2022-07-11T21:50:39.241Z] bab4dde63d76: Download complete [2022-07-11T21:50:40.623Z] b85a868b505f: Pull complete [2022-07-11T21:50:40.623Z] e2be974225ed: Pull complete [2022-07-11T21:50:41.566Z] 339a4e72a1f5: Pull complete [2022-07-11T21:50:41.566Z] 988bab9f4d93: Pull complete [2022-07-11T21:50:41.827Z] 1469e6f7b9e6: Pull complete [2022-07-11T21:50:42.087Z] eaf3925da568: Pull complete [2022-07-11T21:50:43.989Z] bab4dde63d76: Pull complete [2022-07-11T21:50:44.250Z] bde34c3a00c8: Pull complete [2022-07-11T21:50:44.250Z] b352a97aabf1: Pull complete [2022-07-11T21:50:44.514Z] 4872d77fe225: Pull complete [2022-07-11T21:50:44.514Z] 5851b861e8e6: Pull complete [2022-07-11T21:50:44.514Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T21:50:44.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T21:50:44.514Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:50:44.614Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T21:50:44.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T21:50:46.123Z] $ docker top 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 -eo pid,comm [2022-07-11T21:50:46.217Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-11T21:50:46.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T21:50:46.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T21:50:46.253Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T21:50:46.389Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T21:50:46.385Z] $ docker exec 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent [2022-07-11T21:50:46.521Z] SSH_AUTH_SOCK=/tmp/ssh-cX32ozlaIJbc/agent.33 [2022-07-11T21:50:46.521Z] SSH_AGENT_PID=39 [2022-07-11T21:50:46.529Z] Running ssh-add (command line suppressed) [2022-07-11T21:50:46.650Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6326594770785058538.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6326594770785058538.key) [2022-07-11T21:50:46.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T21:50:46.968Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T21:50:46.974Z] $ docker exec --env ******** --env ******** 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent -k [2022-07-11T21:50:47.097Z] unset SSH_AUTH_SOCK; [2022-07-11T21:50:47.097Z] unset SSH_AGENT_PID; [2022-07-11T21:50:47.098Z] echo Agent pid 39 killed; [2022-07-11T21:50:47.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-07-11T21:50:47.133Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.1-dev.8' [Pipeline] sshagent [2022-07-11T21:50:47.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T21:50:47.147Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T21:50:47.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T21:50:47.283Z] $ docker exec 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent [2022-07-11T21:50:47.423Z] SSH_AUTH_SOCK=/tmp/ssh-66BH5OZld5ja/agent.72 [2022-07-11T21:50:47.423Z] SSH_AGENT_PID=78 [2022-07-11T21:50:47.431Z] Running ssh-add (command line suppressed) [2022-07-11T21:50:47.551Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2933528012761330779.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2933528012761330779.key) [2022-07-11T21:50:47.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T21:50:47.874Z] + git semver init [2022-07-11T21:50:48.135Z] 2022-07-11 21:50:48,064 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T21:50:48.135Z] 2022-07-11 21:50:48,064 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-11T21:50:48.135Z] 2022-07-11 21:50:48,065 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-11T21:50:48.135Z] 2022-07-11 21:50:48,065 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-11T21:50:49.080Z] 2022-07-11 21:50:48,958 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-07-11T21:50:49.080Z] 2022-07-11 21:50:48,959 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-07-11T21:50:49.080Z] 2022-07-11 21:50:48,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-11T21:50:49.080Z] 2022-07-11 21:50:48,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-11T21:50:49.080Z] 2.2.1-dev.9 [Pipeline] } [2022-07-11T21:50:49.086Z] $ docker exec --env ******** --env ******** 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent -k [2022-07-11T21:50:49.203Z] unset SSH_AUTH_SOCK; [2022-07-11T21:50:49.203Z] unset SSH_AGENT_PID; [2022-07-11T21:50:49.203Z] echo Agent pid 78 killed; [2022-07-11T21:50:49.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T21:50:49.522Z] + git semver [Pipeline] } [2022-07-11T21:50:49.789Z] $ docker stop --time=1 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 [2022-07-11T21:50:51.112Z] $ docker rm -f 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T21:50:51.482Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T21:50:51.754Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T21:50:51.756Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T21:50:51.900Z] provisioning config files... [2022-07-11T21:50:51.909Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7064139576738959576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:50:52.207Z] ---> docker-login.sh [2022-07-11T21:50:52.207Z] nexus3.edgexfoundry.org:10001 [2022-07-11T21:50:52.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:52.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:52.207Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:52.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:52.207Z] [2022-07-11T21:50:52.207Z] Login Succeeded [2022-07-11T21:50:52.207Z] nexus3.edgexfoundry.org:10002 [2022-07-11T21:50:52.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:52.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:52.468Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:52.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:52.468Z] [2022-07-11T21:50:52.468Z] Login Succeeded [2022-07-11T21:50:52.468Z] nexus3.edgexfoundry.org:10003 [2022-07-11T21:50:52.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:52.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:52.468Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:52.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:52.468Z] [2022-07-11T21:50:52.468Z] Login Succeeded [2022-07-11T21:50:52.468Z] nexus3.edgexfoundry.org:10004 [2022-07-11T21:50:52.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:52.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:52.728Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:52.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:52.728Z] [2022-07-11T21:50:52.728Z] Login Succeeded [2022-07-11T21:50:52.728Z] docker.io [2022-07-11T21:50:52.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:50:52.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:50:52.988Z] Configure a credential helper to remove this warning. See [2022-07-11T21:50:52.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:50:52.988Z] [2022-07-11T21:50:53.249Z] Login Succeeded [2022-07-11T21:50:53.249Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T21:50:53.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T21:50:53.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:50:53.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:50:53.348Z] ========================================================= [2022-07-11T21:50:53.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-11T21:50:53.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:50:53.662Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T21:50:53.663Z] Sending build context to Docker daemon 10.68MB [2022-07-11T21:50:53.663Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T21:50:53.663Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T21:50:53.663Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T21:50:53.663Z] 2408cc74d12b: Pulling fs layer [2022-07-11T21:50:53.663Z] ea60b727a1ce: Pulling fs layer [2022-07-11T21:50:53.663Z] 30c4a7721957: Pulling fs layer [2022-07-11T21:50:53.663Z] 370296b7ddb6: Pulling fs layer [2022-07-11T21:50:53.663Z] 7c6cee850709: Pulling fs layer [2022-07-11T21:50:53.663Z] 39a5fcdaea64: Pulling fs layer [2022-07-11T21:50:53.663Z] d94ebbe4e438: Pulling fs layer [2022-07-11T21:50:53.663Z] bcfd1f05c69d: Pulling fs layer [2022-07-11T21:50:53.663Z] 59ccb84bbe0f: Pulling fs layer [2022-07-11T21:50:53.663Z] 370296b7ddb6: Waiting [2022-07-11T21:50:53.663Z] 7c6cee850709: Waiting [2022-07-11T21:50:53.663Z] 39a5fcdaea64: Waiting [2022-07-11T21:50:53.663Z] d94ebbe4e438: Waiting [2022-07-11T21:50:53.663Z] bcfd1f05c69d: Waiting [2022-07-11T21:50:53.663Z] 59ccb84bbe0f: Waiting [2022-07-11T21:50:53.930Z] 30c4a7721957: Verifying Checksum [2022-07-11T21:50:53.930Z] 30c4a7721957: Download complete [2022-07-11T21:50:53.930Z] ea60b727a1ce: Verifying Checksum [2022-07-11T21:50:53.930Z] ea60b727a1ce: Download complete [2022-07-11T21:50:53.930Z] 7c6cee850709: Download complete [2022-07-11T21:50:53.930Z] 39a5fcdaea64: Download complete [2022-07-11T21:50:53.930Z] 2408cc74d12b: Verifying Checksum [2022-07-11T21:50:53.930Z] 2408cc74d12b: Download complete [2022-07-11T21:50:53.930Z] d94ebbe4e438: Download complete [2022-07-11T21:50:53.930Z] 2408cc74d12b: Pull complete [2022-07-11T21:50:54.214Z] ea60b727a1ce: Pull complete [2022-07-11T21:50:54.214Z] 30c4a7721957: Pull complete [2022-07-11T21:50:55.251Z] 59ccb84bbe0f: Verifying Checksum [2022-07-11T21:50:55.251Z] 59ccb84bbe0f: Download complete [2022-07-11T21:50:55.540Z] 370296b7ddb6: Verifying Checksum [2022-07-11T21:50:55.540Z] 370296b7ddb6: Download complete [2022-07-11T21:50:55.816Z] bcfd1f05c69d: Verifying Checksum [2022-07-11T21:50:55.816Z] bcfd1f05c69d: Download complete [2022-07-11T21:51:00.051Z] 370296b7ddb6: Pull complete [2022-07-11T21:51:00.051Z] 7c6cee850709: Pull complete [2022-07-11T21:51:00.051Z] 39a5fcdaea64: Pull complete [2022-07-11T21:51:00.051Z] d94ebbe4e438: Pull complete [2022-07-11T21:51:02.596Z] bcfd1f05c69d: Pull complete [2022-07-11T21:51:03.164Z] 59ccb84bbe0f: Pull complete [2022-07-11T21:51:03.164Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-11T21:51:03.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-11T21:51:03.164Z] ---> a4fb48ad2a94 [2022-07-11T21:51:03.164Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T21:51:05.085Z] ---> Running in 9e3b2f4a8718 [2022-07-11T21:51:05.085Z] Removing intermediate container 9e3b2f4a8718 [2022-07-11T21:51:05.085Z] ---> f8259ce1f598 [2022-07-11T21:51:05.085Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T21:51:05.348Z] ---> Running in 051d453dea24 [2022-07-11T21:51:05.348Z] Removing intermediate container 051d453dea24 [2022-07-11T21:51:05.348Z] ---> 414e15b89bc4 [2022-07-11T21:51:05.348Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T21:51:05.348Z] ---> Running in 4f3b67822561 [2022-07-11T21:51:05.348Z] Removing intermediate container 4f3b67822561 [2022-07-11T21:51:05.348Z] ---> 6ff7c3673f90 [2022-07-11T21:51:05.348Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:51:05.609Z] ---> Running in 659fe9e96f9b [2022-07-11T21:51:06.180Z] Removing intermediate container 659fe9e96f9b [2022-07-11T21:51:06.180Z] ---> 435bed712b44 [2022-07-11T21:51:06.180Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T21:51:06.180Z] ---> Running in 84f3ef64b7a0 [2022-07-11T21:51:06.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T21:51:06.855Z] Still waiting to schedule task [2022-07-11T21:51:06.856Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-19367’ is offline [2022-07-11T21:51:07.385Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T21:51:07.647Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T21:51:07.647Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T21:51:07.647Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T21:51:07.910Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T21:51:07.910Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T21:51:07.910Z] OK: 216 MiB in 55 packages [2022-07-11T21:51:08.482Z] Removing intermediate container 84f3ef64b7a0 [2022-07-11T21:51:08.482Z] ---> 5ed521a2fa59 [2022-07-11T21:51:08.482Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-11T21:51:08.482Z] ---> Running in 614a21bf0e28 [2022-07-11T21:51:08.482Z] Removing intermediate container 614a21bf0e28 [2022-07-11T21:51:08.482Z] ---> ba962a3dc61f [2022-07-11T21:51:08.482Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T21:51:08.742Z] ---> 7a7ec392db7f [2022-07-11T21:51:08.742Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T21:51:08.742Z] ---> Running in 8e7890c29c5e [2022-07-11T21:51:23.654Z] Removing intermediate container 8e7890c29c5e [2022-07-11T21:51:23.655Z] ---> d75f16ccff5b [2022-07-11T21:51:23.655Z] Step 11/12 : COPY . . [2022-07-11T21:51:23.655Z] ---> f40315227634 [2022-07-11T21:51:23.655Z] Step 12/12 : RUN $MAKE [2022-07-11T21:51:23.655Z] ---> Running in 6e8a022e42da [2022-07-11T21:51:23.916Z] noop [2022-07-11T21:51:24.175Z] Removing intermediate container 6e8a022e42da [2022-07-11T21:51:24.175Z] ---> fbcae3faecf3 [2022-07-11T21:51:24.175Z] Successfully built fbcae3faecf3 [2022-07-11T21:51:24.175Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:51:24.504Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T21:51:24.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:51:24.592Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T21:51:24.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2022-07-11T21:51:25.121Z] $ docker top e65593d0c7db83598f719f77d1e46d3ab845ac946f4e1ef2c21e22ee742c63f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:51:25.480Z] + go version [2022-07-11T21:51:25.480Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-11T21:51:25.500Z] $ docker stop --time=1 e65593d0c7db83598f719f77d1e46d3ab845ac946f4e1ef2c21e22ee742c63f9 [2022-07-11T21:51:26.813Z] $ docker rm -f e65593d0c7db83598f719f77d1e46d3ab845ac946f4e1ef2c21e22ee742c63f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:51:27.240Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T21:51:27.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:51:27.336Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T21:51:27.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2022-07-11T21:51:27.755Z] $ docker top cf11dfa8efd9ae23355f1557f1360071e4ffdd2bfa8bebb536cc1c5d2af8460e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:51:28.108Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-07-11T21:51:28.408Z] + make test [2022-07-11T21:51:28.408Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T21:51:28.668Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-11T21:51:36.801Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-11T21:51:37.060Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-07-11T21:51:43.683Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-11T21:51:43.683Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T21:51:46.217Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T21:51:46.217Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T21:51:46.217Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T21:51:46.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T21:51:46.510Z] $ docker stop --time=1 cf11dfa8efd9ae23355f1557f1360071e4ffdd2bfa8bebb536cc1c5d2af8460e [2022-07-11T21:51:48.283Z] $ docker rm -f cf11dfa8efd9ae23355f1557f1360071e4ffdd2bfa8bebb536cc1c5d2af8460e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T21:51:48.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T21:51:48.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T21:51:49.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T21:51:49.480Z] + ls -al . [2022-07-11T21:51:49.480Z] total 172 [2022-07-11T21:51:49.480Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 21:51 . [2022-07-11T21:51:49.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:50 .. [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 21:50 .dockerignore [2022-07-11T21:51:49.480Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:51 .git [2022-07-11T21:51:49.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:50 .github [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 21:50 .gitignore [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 21:50 .golangci.yml [2022-07-11T21:51:49.480Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 21:50 .semver [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 21:50 Attribution.txt [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 21:50 CHANGELOG.md [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 21:50 Dockerfile [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 21:50 GOVERNANCE.md [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 21:50 Jenkinsfile [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 21:50 LICENSE [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 21:50 Makefile [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 21:50 OWNERS.md [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 21:50 README.md [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 21:50 VERSION [2022-07-11T21:51:49.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:50 bin [2022-07-11T21:51:49.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:50 cmd [2022-07-11T21:51:49.480Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 21:51 coverage.out [2022-07-11T21:51:49.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:50 driver [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 21:50 go.mod [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 21:50 go.sum [2022-07-11T21:51:49.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:50 snap [2022-07-11T21:51:49.480Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:51:49.792Z] + 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=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 --label arch=amd64 --label version=2.2.1-dev.9 . [2022-07-11T21:51:49.792Z] Sending build context to Docker daemon 10.69MB [2022-07-11T21:51:49.792Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T21:51:49.792Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-11T21:51:49.792Z] ---> fbcae3faecf3 [2022-07-11T21:51:49.792Z] Step 3/25 : ARG MAKE='make build' [2022-07-11T21:51:49.792Z] ---> Running in c42f0c8629b3 [2022-07-11T21:51:50.051Z] Removing intermediate container c42f0c8629b3 [2022-07-11T21:51:50.051Z] ---> c4216a4b79ad [2022-07-11T21:51:50.051Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T21:51:50.051Z] ---> Running in 276da698e16b [2022-07-11T21:51:50.051Z] Removing intermediate container 276da698e16b [2022-07-11T21:51:50.051Z] ---> 11f25927ec38 [2022-07-11T21:51:50.051Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T21:51:50.051Z] ---> Running in 7ee67be3e9f3 [2022-07-11T21:51:50.311Z] Removing intermediate container 7ee67be3e9f3 [2022-07-11T21:51:50.311Z] ---> 63a3b8513385 [2022-07-11T21:51:50.311Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:51:50.311Z] ---> Running in 70d4537308e3 [2022-07-11T21:51:50.882Z] Removing intermediate container 70d4537308e3 [2022-07-11T21:51:50.882Z] ---> 264d97cb49f0 [2022-07-11T21:51:50.882Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T21:51:50.882Z] ---> Running in 6f4edf571d28 [2022-07-11T21:51:51.142Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T21:51:52.085Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T21:51:52.345Z] OK: 216 MiB in 55 packages [2022-07-11T21:51:52.605Z] Removing intermediate container 6f4edf571d28 [2022-07-11T21:51:52.605Z] ---> 13cd9ababd7d [2022-07-11T21:51:52.605Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-11T21:51:52.605Z] ---> Running in 17fe7c8f3a70 [2022-07-11T21:51:52.865Z] Removing intermediate container 17fe7c8f3a70 [2022-07-11T21:51:52.865Z] ---> 9bb036c56340 [2022-07-11T21:51:52.865Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-11T21:51:52.865Z] ---> 2eff521adac4 [2022-07-11T21:51:52.865Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T21:51:52.865Z] ---> Running in ee17c3e3eb59 [2022-07-11T21:51:53.812Z] Removing intermediate container ee17c3e3eb59 [2022-07-11T21:51:53.812Z] ---> 4940fe90d7e6 [2022-07-11T21:51:53.812Z] Step 11/25 : COPY . . [2022-07-11T21:51:53.812Z] ---> 9ef16388e3d2 [2022-07-11T21:51:53.812Z] Step 12/25 : RUN $MAKE [2022-07-11T21:51:54.071Z] ---> Running in 7e0f7fdb5dc4 [2022-07-11T21:51:54.330Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-11T21:52:16.274Z] Removing intermediate container 7e0f7fdb5dc4 [2022-07-11T21:52:16.274Z] ---> fada6cc10a0a [2022-07-11T21:52:16.274Z] Step 13/25 : FROM alpine:3.16 [2022-07-11T21:52:16.274Z] 3.16: Pulling from library/alpine [2022-07-11T21:52:16.274Z] 2408cc74d12b: Already exists [2022-07-11T21:52:16.274Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T21:52:16.274Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T21:52:16.274Z] ---> e66264b98777 [2022-07-11T21:52:16.274Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T21:52:16.274Z] ---> Running in 7db4528743aa [2022-07-11T21:52:16.274Z] Removing intermediate container 7db4528743aa [2022-07-11T21:52:16.274Z] ---> e2d36c958f88 [2022-07-11T21:52:16.274Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-11T21:52:16.274Z] ---> Running in d8c8ece8b941 [2022-07-11T21:52:16.274Z] Removing intermediate container d8c8ece8b941 [2022-07-11T21:52:16.274Z] ---> f5a717b2cd8e [2022-07-11T21:52:16.274Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T21:52:16.274Z] ---> Running in a429c4978812 [2022-07-11T21:52:16.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T21:52:16.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T21:52:16.274Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T21:52:16.274Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T21:52:16.274Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T21:52:16.274Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T21:52:16.274Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T21:52:16.274Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T21:52:16.274Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T21:52:16.274Z] OK: 8 MiB in 20 packages [2022-07-11T21:52:16.274Z] Removing intermediate container a429c4978812 [2022-07-11T21:52:16.274Z] ---> e75effb05a0b [2022-07-11T21:52:16.274Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-11T21:52:16.274Z] ---> ae49ceab7af6 [2022-07-11T21:52:16.274Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-11T21:52:16.539Z] ---> 96c3c4c20c64 [2022-07-11T21:52:16.539Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-11T21:52:16.539Z] ---> 7de283ef8139 [2022-07-11T21:52:16.539Z] Step 20/25 : EXPOSE 59986 [2022-07-11T21:52:16.539Z] ---> Running in 68ac54ebbb97 [2022-07-11T21:52:16.799Z] Removing intermediate container 68ac54ebbb97 [2022-07-11T21:52:16.799Z] ---> b0b6826e456c [2022-07-11T21:52:16.799Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-11T21:52:16.799Z] ---> Running in 059237956f3e [2022-07-11T21:52:16.799Z] Removing intermediate container 059237956f3e [2022-07-11T21:52:16.799Z] ---> 8327ee73b4c5 [2022-07-11T21:52:16.799Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T21:52:16.799Z] ---> Running in c55377a75fc2 [2022-07-11T21:52:17.058Z] Removing intermediate container c55377a75fc2 [2022-07-11T21:52:17.058Z] ---> 8bd67ceab493 [2022-07-11T21:52:17.058Z] Step 23/25 : LABEL arch=amd64 [2022-07-11T21:52:17.058Z] ---> Running in caff60643408 [2022-07-11T21:52:17.058Z] Removing intermediate container caff60643408 [2022-07-11T21:52:17.058Z] ---> 7c767e978411 [2022-07-11T21:52:17.058Z] Step 24/25 : LABEL git_sha=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T21:52:17.058Z] ---> Running in b67978bfade7 [2022-07-11T21:52:17.318Z] Removing intermediate container b67978bfade7 [2022-07-11T21:52:17.318Z] ---> 829417e7ad6d [2022-07-11T21:52:17.318Z] Step 25/25 : LABEL version=2.2.1-dev.9 [2022-07-11T21:52:17.318Z] ---> Running in b879cb5a07f0 [2022-07-11T21:52:17.318Z] Removing intermediate container b879cb5a07f0 [2022-07-11T21:52:17.318Z] ---> 76afc019c07c [2022-07-11T21:52:17.318Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T21:52:17.318Z] Successfully built 76afc019c07c [2022-07-11T21:52:17.318Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T21:52:17.419Z] provisioning config files... [2022-07-11T21:52:17.428Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2622523454849399545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:52:17.728Z] ---> docker-login.sh [2022-07-11T21:52:17.728Z] nexus3.edgexfoundry.org:10001 [2022-07-11T21:52:17.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:52:17.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:52:17.728Z] Configure a credential helper to remove this warning. See [2022-07-11T21:52:17.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:52:17.728Z] [2022-07-11T21:52:17.728Z] Login Succeeded [2022-07-11T21:52:17.728Z] nexus3.edgexfoundry.org:10002 [2022-07-11T21:52:17.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:52:17.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:52:17.989Z] Configure a credential helper to remove this warning. See [2022-07-11T21:52:17.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:52:17.989Z] [2022-07-11T21:52:17.989Z] Login Succeeded [2022-07-11T21:52:17.989Z] nexus3.edgexfoundry.org:10003 [2022-07-11T21:52:17.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:52:17.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:52:17.989Z] Configure a credential helper to remove this warning. See [2022-07-11T21:52:17.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:52:17.989Z] [2022-07-11T21:52:17.989Z] Login Succeeded [2022-07-11T21:52:17.989Z] nexus3.edgexfoundry.org:10004 [2022-07-11T21:52:17.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:52:18.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:52:18.248Z] Configure a credential helper to remove this warning. See [2022-07-11T21:52:18.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:52:18.248Z] [2022-07-11T21:52:18.248Z] Login Succeeded [2022-07-11T21:52:18.248Z] docker.io [2022-07-11T21:52:18.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:52:18.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:52:18.508Z] Configure a credential helper to remove this warning. See [2022-07-11T21:52:18.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:52:18.508Z] [2022-07-11T21:52:18.508Z] Login Succeeded [2022-07-11T21:52:18.508Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T21:52:18.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T21:52:18.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:52:18.578Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-07-11T21:52:18.578Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T21:52:18.578Z] latest [2022-07-11T21:52:18.578Z] 2.2.1-dev.9 [2022-07-11T21:52:18.578Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T21:52:18.578Z] main [2022-07-11T21:52:18.578Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:18.906Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:19.215Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T21:52:19.215Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-11T21:52:19.215Z] 121f2dbd1e0c: Preparing [2022-07-11T21:52:19.215Z] 11c30ef57e0a: Preparing [2022-07-11T21:52:19.215Z] f9825e399aaa: Preparing [2022-07-11T21:52:19.215Z] 6c51cece54d8: Preparing [2022-07-11T21:52:19.215Z] 24302eb7d908: Preparing [2022-07-11T21:52:19.215Z] 24302eb7d908: Layer already exists [2022-07-11T21:52:19.215Z] 11c30ef57e0a: Pushed [2022-07-11T21:52:19.215Z] 121f2dbd1e0c: Pushed [2022-07-11T21:52:19.473Z] 6c51cece54d8: Pushed [2022-07-11T21:52:22.008Z] f9825e399aaa: Pushed [2022-07-11T21:52:22.008Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:22.328Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:22.643Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-07-11T21:52:22.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-11T21:52:22.643Z] 121f2dbd1e0c: Preparing [2022-07-11T21:52:22.643Z] 11c30ef57e0a: Preparing [2022-07-11T21:52:22.643Z] f9825e399aaa: Preparing [2022-07-11T21:52:22.643Z] 6c51cece54d8: Preparing [2022-07-11T21:52:22.643Z] 24302eb7d908: Preparing [2022-07-11T21:52:22.643Z] 11c30ef57e0a: Layer already exists [2022-07-11T21:52:22.643Z] 24302eb7d908: Layer already exists [2022-07-11T21:52:22.643Z] 121f2dbd1e0c: Layer already exists [2022-07-11T21:52:22.643Z] 6c51cece54d8: Layer already exists [2022-07-11T21:52:22.643Z] f9825e399aaa: Layer already exists [2022-07-11T21:52:22.643Z] latest: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:22.955Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:23.263Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [2022-07-11T21:52:23.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-11T21:52:23.263Z] 121f2dbd1e0c: Preparing [2022-07-11T21:52:23.263Z] 11c30ef57e0a: Preparing [2022-07-11T21:52:23.263Z] f9825e399aaa: Preparing [2022-07-11T21:52:23.263Z] 6c51cece54d8: Preparing [2022-07-11T21:52:23.263Z] 24302eb7d908: Preparing [2022-07-11T21:52:23.263Z] f9825e399aaa: Layer already exists [2022-07-11T21:52:23.263Z] 121f2dbd1e0c: Layer already exists [2022-07-11T21:52:23.263Z] 6c51cece54d8: Layer already exists [2022-07-11T21:52:23.263Z] 24302eb7d908: Layer already exists [2022-07-11T21:52:23.263Z] 11c30ef57e0a: Layer already exists [2022-07-11T21:52:23.263Z] 2.2.1-dev.9: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:23.584Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:23.943Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T21:52:23.943Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-11T21:52:23.943Z] 121f2dbd1e0c: Preparing [2022-07-11T21:52:23.943Z] 11c30ef57e0a: Preparing [2022-07-11T21:52:23.943Z] f9825e399aaa: Preparing [2022-07-11T21:52:23.943Z] 6c51cece54d8: Preparing [2022-07-11T21:52:23.943Z] 24302eb7d908: Preparing [2022-07-11T21:52:23.943Z] 121f2dbd1e0c: Layer already exists [2022-07-11T21:52:23.943Z] 11c30ef57e0a: Layer already exists [2022-07-11T21:52:23.943Z] 24302eb7d908: Layer already exists [2022-07-11T21:52:23.943Z] f9825e399aaa: Layer already exists [2022-07-11T21:52:23.943Z] 6c51cece54d8: Layer already exists [2022-07-11T21:52:23.943Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:24.327Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:24.659Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-07-11T21:52:24.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-11T21:52:24.659Z] 121f2dbd1e0c: Preparing [2022-07-11T21:52:24.659Z] 11c30ef57e0a: Preparing [2022-07-11T21:52:24.659Z] f9825e399aaa: Preparing [2022-07-11T21:52:24.659Z] 6c51cece54d8: Preparing [2022-07-11T21:52:24.659Z] 24302eb7d908: Preparing [2022-07-11T21:52:24.659Z] 121f2dbd1e0c: Layer already exists [2022-07-11T21:52:24.659Z] f9825e399aaa: Layer already exists [2022-07-11T21:52:24.659Z] 11c30ef57e0a: Layer already exists [2022-07-11T21:52:24.659Z] 24302eb7d908: Layer already exists [2022-07-11T21:52:24.659Z] 6c51cece54d8: Layer already exists [2022-07-11T21:52:24.659Z] main: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T21:52:24.723Z] ===================================================== [Pipeline] echo [2022-07-11T21:52:24.732Z] taggedImages: [2022-07-11T21:52:24.732Z] - nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T21:52:24.732Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-07-11T21:52:24.732Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [2022-07-11T21:52:24.732Z] - nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T21:52:24.732Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:25.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T21:52:25.125Z] [2022-07-11T21:52:25.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:52:25.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T21:52:25.441Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T21:52:25.441Z] 5eb5b503b376: Pulling fs layer [2022-07-11T21:52:25.441Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T21:52:25.441Z] ec43610c2a17: Pulling fs layer [2022-07-11T21:52:25.441Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T21:52:25.441Z] 33b1e0a273af: Pulling fs layer [2022-07-11T21:52:25.441Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T21:52:25.441Z] 2f39f015ded8: Pulling fs layer [2022-07-11T21:52:25.441Z] 3a2ae6a8a46f: Waiting [2022-07-11T21:52:25.441Z] 5d3b04190fa2: Waiting [2022-07-11T21:52:25.441Z] 33b1e0a273af: Waiting [2022-07-11T21:52:25.441Z] 5c69ac0246d0: Verifying Checksum [2022-07-11T21:52:25.441Z] 5c69ac0246d0: Download complete [2022-07-11T21:52:25.441Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T21:52:25.441Z] 3a2ae6a8a46f: Download complete [2022-07-11T21:52:25.441Z] 33b1e0a273af: Verifying Checksum [2022-07-11T21:52:25.441Z] 33b1e0a273af: Download complete [2022-07-11T21:52:25.441Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T21:52:25.441Z] 5d3b04190fa2: Download complete [2022-07-11T21:52:25.441Z] ec43610c2a17: Verifying Checksum [2022-07-11T21:52:25.441Z] ec43610c2a17: Download complete [2022-07-11T21:52:25.700Z] 5eb5b503b376: Verifying Checksum [2022-07-11T21:52:25.700Z] 5eb5b503b376: Download complete [2022-07-11T21:52:26.267Z] 2f39f015ded8: Download complete [2022-07-11T21:52:26.836Z] 5eb5b503b376: Pull complete [2022-07-11T21:52:26.836Z] 5c69ac0246d0: Pull complete [2022-07-11T21:52:27.405Z] ec43610c2a17: Pull complete [2022-07-11T21:52:27.405Z] 3a2ae6a8a46f: Pull complete [2022-07-11T21:52:27.665Z] 33b1e0a273af: Pull complete [2022-07-11T21:52:27.665Z] 5d3b04190fa2: Pull complete [2022-07-11T21:52:31.861Z] 2f39f015ded8: Pull complete [2022-07-11T21:52:31.861Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T21:52:31.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T21:52:31.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:52:31.959Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T21:52:31.997Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools-log-publisher:latest cat [2022-07-11T21:52:34.281Z] $ docker top 7fb2c4686267e51fdf6556f4f682e7221ca4b59b758d4b8918778068ab299b01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:52:34.669Z] ---> job-cost.sh [2022-07-11T21:52:34.669Z] lf-activate-venv: SKIPPING [2022-07-11T21:52:34.669Z] INFO: No Stack... [2022-07-11T21:52:34.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T21:52:35.501Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T21:52:35.792Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-07-11T21:52:35.792Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T21:52:35.807Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [2022-07-11T21:52:35.817Z] Resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] did not exist. Created. [2022-07-11T21:52:35.817Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T21:52:36.127Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T21:52:36.153Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T21:52:36.159Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T21:52:36.189Z] $ docker stop --time=1 7fb2c4686267e51fdf6556f4f682e7221ca4b59b758d4b8918778068ab299b01 [2022-07-11T21:52:37.378Z] $ docker rm -f 7fb2c4686267e51fdf6556f4f682e7221ca4b59b758d4b8918778068ab299b01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T21:54:30.181Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19385 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-07-11T21:54:30.192Z] Running in /w/workspace/device-rest-go/51 [Pipeline] { [Pipeline] checkout [2022-07-11T21:54:30.241Z] The recommended git tool is: git [2022-07-11T21:54:39.725Z] using credential edgex-jenkins-ssh [2022-07-11T21:54:39.749Z] Cloning the remote Git repository [2022-07-11T21:54:39.881Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T21:54:39.996Z] > git init /w/workspace/device-rest-go/51 # timeout=10 [2022-07-11T21:54:40.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T21:54:40.104Z] > git --version # timeout=10 [2022-07-11T21:54:40.150Z] > git --version # 'git version 2.25.1' [2022-07-11T21:54:40.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T21:54:40.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T21:54:42.287Z] Avoid second fetch [2022-07-11T21:54:42.288Z] Checking out Revision 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (main) [2022-07-11T21:54:42.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-11T21:54:42.268Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T21:54:42.319Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T21:54:42.342Z] > git checkout -f 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [2022-07-11T21:54:47.073Z] Commit message: "Merge pull request #205 from lenny-intel/Go1.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T21:54:47.947Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T21:54:47.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T21:54:47.947Z] Dload Upload Total Spent Left Speed [2022-07-11T21:54:47.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 181k 0 --:--:-- --:--:-- --:--:-- 181k [Pipeline] sh [2022-07-11T21:54:48.715Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T21:54:49.072Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-07-11T21:54:49.072Z] [2022-07-11T21:54:49.072Z] { [2022-07-11T21:54:49.072Z] "registry-mirrors": [ [2022-07-11T21:54:49.072Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T21:54:49.072Z] ], [2022-07-11T21:54:49.072Z] "bip": "10.250.0.254/24", [2022-07-11T21:54:49.072Z] "hosts": [ [2022-07-11T21:54:49.072Z] "tcp://0.0.0.0:5555", [2022-07-11T21:54:49.072Z] "unix:///var/run/docker.sock" [2022-07-11T21:54:49.072Z] ], [2022-07-11T21:54:49.072Z] "mtu": 1458, [2022-07-11T21:54:49.072Z] "selinux-enabled": true, [2022-07-11T21:54:49.072Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T21:54:49.072Z] } [Pipeline] sh [2022-07-11T21:54:49.513Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T21:54:49.887Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T21:55:08.256Z] provisioning config files... [2022-07-11T21:55:08.285Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config5780080309883839789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:55:08.859Z] ---> docker-login.sh [2022-07-11T21:55:08.859Z] nexus3.edgexfoundry.org:10001 [2022-07-11T21:55:09.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:55:09.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:55:09.740Z] Configure a credential helper to remove this warning. See [2022-07-11T21:55:09.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:55:09.740Z] [2022-07-11T21:55:09.740Z] Login Succeeded [2022-07-11T21:55:09.740Z] nexus3.edgexfoundry.org:10002 [2022-07-11T21:55:10.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:55:10.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:55:10.352Z] Configure a credential helper to remove this warning. See [2022-07-11T21:55:10.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:55:10.352Z] [2022-07-11T21:55:10.352Z] Login Succeeded [2022-07-11T21:55:10.352Z] nexus3.edgexfoundry.org:10003 [2022-07-11T21:55:10.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:55:10.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:55:10.963Z] Configure a credential helper to remove this warning. See [2022-07-11T21:55:10.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:55:10.963Z] [2022-07-11T21:55:10.963Z] Login Succeeded [2022-07-11T21:55:10.963Z] nexus3.edgexfoundry.org:10004 [2022-07-11T21:55:11.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:55:11.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:55:11.572Z] Configure a credential helper to remove this warning. See [2022-07-11T21:55:11.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:55:11.572Z] [2022-07-11T21:55:11.572Z] Login Succeeded [2022-07-11T21:55:11.572Z] docker.io [2022-07-11T21:55:11.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:55:12.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:55:12.450Z] Configure a credential helper to remove this warning. See [2022-07-11T21:55:12.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:55:12.450Z] [2022-07-11T21:55:12.450Z] Login Succeeded [2022-07-11T21:55:12.450Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T21:55:12.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T21:55:12.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:55:12.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:55:12.834Z] ========================================================= [2022-07-11T21:55:12.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-11T21:55:12.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:55:13.212Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T21:55:13.212Z] Sending build context to Docker daemon 126.5kB [2022-07-11T21:55:13.488Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T21:55:13.488Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T21:55:13.769Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T21:55:13.769Z] b3c136eddcbf: Pulling fs layer [2022-07-11T21:55:13.769Z] c0a3192eca97: Pulling fs layer [2022-07-11T21:55:13.769Z] a050256f5b6f: Pulling fs layer [2022-07-11T21:55:13.769Z] 656be50a0ddc: Pulling fs layer [2022-07-11T21:55:13.769Z] 2bbca73fdf42: Pulling fs layer [2022-07-11T21:55:13.769Z] 46d945488cbd: Pulling fs layer [2022-07-11T21:55:13.769Z] 8a5474983e97: Pulling fs layer [2022-07-11T21:55:13.769Z] 329c88fbcd65: Pulling fs layer [2022-07-11T21:55:13.769Z] 656be50a0ddc: Waiting [2022-07-11T21:55:13.769Z] 2bbca73fdf42: Waiting [2022-07-11T21:55:13.769Z] 46d945488cbd: Waiting [2022-07-11T21:55:13.769Z] 8a5474983e97: Waiting [2022-07-11T21:55:13.769Z] 329c88fbcd65: Waiting [2022-07-11T21:55:13.769Z] a050256f5b6f: Verifying Checksum [2022-07-11T21:55:13.769Z] a050256f5b6f: Download complete [2022-07-11T21:55:13.769Z] c0a3192eca97: Verifying Checksum [2022-07-11T21:55:13.769Z] c0a3192eca97: Download complete [2022-07-11T21:55:13.769Z] 2bbca73fdf42: Verifying Checksum [2022-07-11T21:55:13.769Z] 2bbca73fdf42: Download complete [2022-07-11T21:55:13.769Z] 46d945488cbd: Verifying Checksum [2022-07-11T21:55:13.769Z] 46d945488cbd: Download complete [2022-07-11T21:55:13.769Z] b3c136eddcbf: Verifying Checksum [2022-07-11T21:55:13.769Z] b3c136eddcbf: Download complete [2022-07-11T21:55:14.777Z] b3c136eddcbf: Pull complete [2022-07-11T21:55:15.066Z] 329c88fbcd65: Verifying Checksum [2022-07-11T21:55:15.066Z] 329c88fbcd65: Download complete [2022-07-11T21:55:15.671Z] c0a3192eca97: Pull complete [2022-07-11T21:55:15.953Z] a050256f5b6f: Pull complete [2022-07-11T21:55:16.228Z] 8a5474983e97: Verifying Checksum [2022-07-11T21:55:16.228Z] 8a5474983e97: Download complete [2022-07-11T21:55:16.825Z] 656be50a0ddc: Verifying Checksum [2022-07-11T21:55:16.825Z] 656be50a0ddc: Download complete [2022-07-11T21:55:31.953Z] 656be50a0ddc: Pull complete [2022-07-11T21:55:31.953Z] 2bbca73fdf42: Pull complete [2022-07-11T21:55:31.953Z] 46d945488cbd: Pull complete [2022-07-11T21:55:37.385Z] 8a5474983e97: Pull complete [2022-07-11T21:55:40.027Z] 329c88fbcd65: Pull complete [2022-07-11T21:55:40.027Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-11T21:55:40.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-11T21:55:40.027Z] ---> ff4287adb874 [2022-07-11T21:55:40.027Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T21:55:42.059Z] ---> Running in 1360b11bff32 [2022-07-11T21:55:43.499Z] Removing intermediate container 1360b11bff32 [2022-07-11T21:55:43.499Z] ---> 4a658c00e172 [2022-07-11T21:55:43.499Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T21:55:43.499Z] ---> Running in 8813e0647f93 [2022-07-11T21:55:43.773Z] Removing intermediate container 8813e0647f93 [2022-07-11T21:55:43.773Z] ---> 14429350ca32 [2022-07-11T21:55:43.773Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T21:55:43.773Z] ---> Running in 205b2a598d59 [2022-07-11T21:55:44.374Z] Removing intermediate container 205b2a598d59 [2022-07-11T21:55:44.374Z] ---> b3f233446f99 [2022-07-11T21:55:44.374Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:55:44.374Z] ---> Running in 090d61ec9a17 [2022-07-11T21:55:46.373Z] Removing intermediate container 090d61ec9a17 [2022-07-11T21:55:46.373Z] ---> 90555411f902 [2022-07-11T21:55:46.373Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T21:55:46.373Z] ---> Running in 019babd099e8 [2022-07-11T21:55:47.817Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T21:55:48.414Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T21:55:49.865Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T21:55:49.865Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T21:55:50.147Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T21:55:50.424Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T21:55:50.424Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T21:55:50.424Z] OK: 226 MiB in 55 packages [2022-07-11T21:55:51.409Z] Removing intermediate container 019babd099e8 [2022-07-11T21:55:51.409Z] ---> 98cdd68300e4 [2022-07-11T21:55:51.409Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-11T21:55:51.684Z] ---> Running in 18938a61dda1 [2022-07-11T21:55:51.961Z] Removing intermediate container 18938a61dda1 [2022-07-11T21:55:51.961Z] ---> eb65ba64905e [2022-07-11T21:55:51.961Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T21:55:52.564Z] ---> e03c4fa147da [2022-07-11T21:55:52.565Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T21:55:52.840Z] ---> Running in 5a18366c27bc [2022-07-11T21:56:39.864Z] Removing intermediate container 5a18366c27bc [2022-07-11T21:56:39.864Z] ---> 15aae3d83c54 [2022-07-11T21:56:39.864Z] Step 11/12 : COPY . . [2022-07-11T21:56:39.864Z] ---> 1d9265428874 [2022-07-11T21:56:39.864Z] Step 12/12 : RUN $MAKE [2022-07-11T21:56:39.864Z] ---> Running in b8502fe9ac7f [2022-07-11T21:56:40.469Z] noop [2022-07-11T21:56:41.067Z] Removing intermediate container b8502fe9ac7f [2022-07-11T21:56:41.067Z] ---> a270f0504aae [2022-07-11T21:56:41.067Z] Successfully built a270f0504aae [2022-07-11T21:56:41.067Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:56:41.712Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T21:56:41.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:56:41.970Z] prd-ubuntu20.04-docker-arm64-4c-16g-19385 does not seem to be running inside a container [2022-07-11T21:56:42.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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 ******** ci-base-image-arm64 cat [2022-07-11T21:56:43.430Z] $ docker top c10f57aa8ccc95e8511958ffe9047f3fc0bfc8281caa33f3af0f7bb0ecc2bd9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:56:44.377Z] + go version [2022-07-11T21:56:44.377Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-11T21:56:44.411Z] $ docker stop --time=1 c10f57aa8ccc95e8511958ffe9047f3fc0bfc8281caa33f3af0f7bb0ecc2bd9f [2022-07-11T21:56:46.071Z] $ docker rm -f c10f57aa8ccc95e8511958ffe9047f3fc0bfc8281caa33f3af0f7bb0ecc2bd9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:56:46.689Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T21:56:46.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:56:46.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-19385 does not seem to be running inside a container [2022-07-11T21:56:47.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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 ******** ci-base-image-arm64 cat [2022-07-11T21:56:48.421Z] $ docker top 81110050245f1d0155a1d50580fd887574037911dbb831fa15b13d9ed29d5d8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:56:49.328Z] + git config --global --add safe.directory /w/workspace/device-rest-go/51 [Pipeline] fileExists [Pipeline] sh [2022-07-11T21:56:49.996Z] + make test [2022-07-11T21:56:49.996Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T21:56:51.439Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-11T21:58:28.365Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-11T21:58:32.714Z] ok github.com/edgexfoundry/device-rest-go/driver 0.087s coverage: 55.2% of statements [2022-07-11T21:58:33.321Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T21:58:33.321Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T21:59:00.243Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T21:59:00.243Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T21:59:00.243Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T21:59:00.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T21:59:00.289Z] $ docker stop --time=1 81110050245f1d0155a1d50580fd887574037911dbb831fa15b13d9ed29d5d8f [2022-07-11T21:59:02.283Z] $ docker rm -f 81110050245f1d0155a1d50580fd887574037911dbb831fa15b13d9ed29d5d8f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T21:59:03.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T21:59:03.500Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T21:59:04.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T21:59:04.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T21:59:05.095Z] + ls -al . [2022-07-11T21:59:05.095Z] total 168 [2022-07-11T21:59:05.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:56 . [2022-07-11T21:59:05.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:54 .. [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 21:54 .dockerignore [2022-07-11T21:59:05.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:54 .git [2022-07-11T21:59:05.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:54 .github [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 21:54 .gitignore [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 21:54 .golangci.yml [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 21:54 Attribution.txt [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 21:54 CHANGELOG.md [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 21:54 Dockerfile [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 21:54 GOVERNANCE.md [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 21:54 Jenkinsfile [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 21:54 LICENSE [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 21:54 Makefile [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 21:54 OWNERS.md [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 21:54 README.md [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 21:50 VERSION [2022-07-11T21:59:05.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:54 bin [2022-07-11T21:59:05.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:54 cmd [2022-07-11T21:59:05.095Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 21:58 coverage.out [2022-07-11T21:59:05.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:54 driver [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 21:54 go.mod [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 21:54 go.sum [2022-07-11T21:59:05.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:54 snap [2022-07-11T21:59:05.095Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 21:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:59:05.457Z] + 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=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 --label arch=arm64 --label version=2.2.1-dev.9 . [2022-07-11T21:59:05.457Z] Sending build context to Docker daemon 136.7kB [2022-07-11T21:59:05.735Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T21:59:05.735Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-11T21:59:05.735Z] ---> a270f0504aae [2022-07-11T21:59:05.735Z] Step 3/25 : ARG MAKE='make build' [2022-07-11T21:59:06.010Z] ---> Running in 73295f48704d [2022-07-11T21:59:06.291Z] Removing intermediate container 73295f48704d [2022-07-11T21:59:06.291Z] ---> 0ea22486de18 [2022-07-11T21:59:06.291Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T21:59:06.291Z] ---> Running in fddd71c6fb1d [2022-07-11T21:59:06.887Z] Removing intermediate container fddd71c6fb1d [2022-07-11T21:59:06.887Z] ---> 96da610d0821 [2022-07-11T21:59:06.887Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T21:59:06.887Z] ---> Running in 31bd3fcb9ca9 [2022-07-11T21:59:07.162Z] Removing intermediate container 31bd3fcb9ca9 [2022-07-11T21:59:07.162Z] ---> 4ce32cf40fd9 [2022-07-11T21:59:07.162Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:59:07.439Z] ---> Running in 935ffa0af3a5 [2022-07-11T21:59:09.417Z] Removing intermediate container 935ffa0af3a5 [2022-07-11T21:59:09.417Z] ---> 991c3b6b8e7e [2022-07-11T21:59:09.417Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T21:59:09.417Z] ---> Running in 57cbdc29b148 [2022-07-11T21:59:10.401Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T21:59:11.387Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T21:59:12.828Z] OK: 226 MiB in 55 packages [2022-07-11T21:59:13.428Z] Removing intermediate container 57cbdc29b148 [2022-07-11T21:59:13.428Z] ---> 2ff3bee6128b [2022-07-11T21:59:13.428Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-11T21:59:13.702Z] ---> Running in cc75fa9de65f [2022-07-11T21:59:13.977Z] Removing intermediate container cc75fa9de65f [2022-07-11T21:59:13.977Z] ---> 34ac71bd5568 [2022-07-11T21:59:13.977Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-11T21:59:14.601Z] ---> af2d8b4e27b0 [2022-07-11T21:59:14.601Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T21:59:14.601Z] ---> Running in d55742cfbb43 [2022-07-11T21:59:17.247Z] Removing intermediate container d55742cfbb43 [2022-07-11T21:59:17.247Z] ---> 42f9a7a09142 [2022-07-11T21:59:17.247Z] Step 11/25 : COPY . . [2022-07-11T21:59:17.530Z] ---> a27211eed435 [2022-07-11T21:59:17.530Z] Step 12/25 : RUN $MAKE [2022-07-11T21:59:17.530Z] ---> Running in 27710d4fc7f3 [2022-07-11T21:59:18.965Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-11T22:02:11.083Z] Removing intermediate container 27710d4fc7f3 [2022-07-11T22:02:11.083Z] ---> 061851c31b5e [2022-07-11T22:02:11.083Z] Step 13/25 : FROM alpine:3.16 [2022-07-11T22:02:11.083Z] 3.16: Pulling from library/alpine [2022-07-11T22:02:11.083Z] b3c136eddcbf: Already exists [2022-07-11T22:02:11.083Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T22:02:11.083Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T22:02:11.083Z] ---> 6e30ab57aeee [2022-07-11T22:02:11.083Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T22:02:11.083Z] ---> Running in 1cca79109fef [2022-07-11T22:02:11.083Z] Removing intermediate container 1cca79109fef [2022-07-11T22:02:11.083Z] ---> ee1a195440dd [2022-07-11T22:02:11.083Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-11T22:02:11.083Z] ---> Running in dd896809db72 [2022-07-11T22:02:11.083Z] Removing intermediate container dd896809db72 [2022-07-11T22:02:11.083Z] ---> f990d9ce9d2e [2022-07-11T22:02:11.083Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T22:02:11.083Z] ---> Running in b54bf5449ae8 [2022-07-11T22:02:11.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T22:02:11.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T22:02:11.083Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T22:02:11.083Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T22:02:11.083Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T22:02:11.083Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T22:02:11.083Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T22:02:11.083Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T22:02:11.083Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T22:02:11.083Z] OK: 8 MiB in 20 packages [2022-07-11T22:02:11.083Z] Removing intermediate container b54bf5449ae8 [2022-07-11T22:02:11.083Z] ---> 686f96762ee0 [2022-07-11T22:02:11.083Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-11T22:02:11.083Z] ---> 3a7d99a21b4d [2022-07-11T22:02:11.083Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-11T22:02:11.083Z] ---> 808caed04ff9 [2022-07-11T22:02:11.083Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-11T22:02:11.083Z] ---> 771ca1be15fb [2022-07-11T22:02:11.083Z] Step 20/25 : EXPOSE 59986 [2022-07-11T22:02:11.083Z] ---> Running in 299a67efee8c [2022-07-11T22:02:11.083Z] Removing intermediate container 299a67efee8c [2022-07-11T22:02:11.083Z] ---> 3e658fbc814e [2022-07-11T22:02:11.083Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-11T22:02:11.083Z] ---> Running in 69e09008ffa3 [2022-07-11T22:02:11.083Z] Removing intermediate container 69e09008ffa3 [2022-07-11T22:02:11.083Z] ---> b99ce3d0e5b0 [2022-07-11T22:02:11.083Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T22:02:11.083Z] ---> Running in f1c7ec72029d [2022-07-11T22:02:11.083Z] Removing intermediate container f1c7ec72029d [2022-07-11T22:02:11.083Z] ---> 41c216ef6b13 [2022-07-11T22:02:11.083Z] Step 23/25 : LABEL arch=arm64 [2022-07-11T22:02:11.083Z] ---> Running in c97a96d0d40a [2022-07-11T22:02:11.083Z] Removing intermediate container c97a96d0d40a [2022-07-11T22:02:11.083Z] ---> 26fef393e9ff [2022-07-11T22:02:11.083Z] Step 24/25 : LABEL git_sha=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T22:02:11.083Z] ---> Running in c1275b182cb5 [2022-07-11T22:02:11.083Z] Removing intermediate container c1275b182cb5 [2022-07-11T22:02:11.083Z] ---> 41c6b7fd9426 [2022-07-11T22:02:11.083Z] Step 25/25 : LABEL version=2.2.1-dev.9 [2022-07-11T22:02:11.083Z] ---> Running in 2df70a730965 [2022-07-11T22:02:11.083Z] Removing intermediate container 2df70a730965 [2022-07-11T22:02:11.083Z] ---> a451fe45a523 [2022-07-11T22:02:11.083Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T22:02:11.083Z] Successfully built a451fe45a523 [2022-07-11T22:02:11.083Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T22:02:11.183Z] provisioning config files... [2022-07-11T22:02:11.202Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config436225076807998194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:02:11.654Z] ---> docker-login.sh [2022-07-11T22:02:11.654Z] nexus3.edgexfoundry.org:10001 [2022-07-11T22:02:11.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:02:11.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:02:11.930Z] Configure a credential helper to remove this warning. See [2022-07-11T22:02:11.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:02:11.930Z] [2022-07-11T22:02:11.930Z] Login Succeeded [2022-07-11T22:02:11.930Z] nexus3.edgexfoundry.org:10002 [2022-07-11T22:02:12.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:02:12.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:02:12.544Z] Configure a credential helper to remove this warning. See [2022-07-11T22:02:12.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:02:12.544Z] [2022-07-11T22:02:12.544Z] Login Succeeded [2022-07-11T22:02:12.544Z] nexus3.edgexfoundry.org:10003 [2022-07-11T22:02:12.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:02:13.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:02:13.105Z] Configure a credential helper to remove this warning. See [2022-07-11T22:02:13.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:02:13.105Z] [2022-07-11T22:02:13.105Z] Login Succeeded [2022-07-11T22:02:13.105Z] nexus3.edgexfoundry.org:10004 [2022-07-11T22:02:13.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:02:13.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:02:13.377Z] Configure a credential helper to remove this warning. See [2022-07-11T22:02:13.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:02:13.377Z] [2022-07-11T22:02:13.377Z] Login Succeeded [2022-07-11T22:02:13.377Z] docker.io [2022-07-11T22:02:13.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:02:14.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:02:14.248Z] Configure a credential helper to remove this warning. See [2022-07-11T22:02:14.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:02:14.248Z] [2022-07-11T22:02:14.248Z] Login Succeeded [2022-07-11T22:02:14.248Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T22:02:14.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T22:02:14.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T22:02:14.345Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-07-11T22:02:14.345Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T22:02:14.345Z] latest [2022-07-11T22:02:14.345Z] 2.2.1-dev.9 [2022-07-11T22:02:14.345Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T22:02:14.345Z] main [2022-07-11T22:02:14.345Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:14.739Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:15.108Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T22:02:15.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T22:02:15.108Z] a7626a0d4f19: Preparing [2022-07-11T22:02:15.108Z] 136055887aa6: Preparing [2022-07-11T22:02:15.108Z] 54dd9bf46d02: Preparing [2022-07-11T22:02:15.108Z] fa2076aae2ed: Preparing [2022-07-11T22:02:15.108Z] dd565ff850e7: Preparing [2022-07-11T22:02:15.108Z] dd565ff850e7: Layer already exists [2022-07-11T22:02:15.381Z] a7626a0d4f19: Pushed [2022-07-11T22:02:15.381Z] 136055887aa6: Pushed [2022-07-11T22:02:15.976Z] fa2076aae2ed: Pushed [2022-07-11T22:02:21.365Z] 54dd9bf46d02: Pushed [2022-07-11T22:02:21.365Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:21.747Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:22.125Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-11T22:02:22.125Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T22:02:22.125Z] a7626a0d4f19: Preparing [2022-07-11T22:02:22.125Z] 136055887aa6: Preparing [2022-07-11T22:02:22.125Z] 54dd9bf46d02: Preparing [2022-07-11T22:02:22.125Z] fa2076aae2ed: Preparing [2022-07-11T22:02:22.125Z] dd565ff850e7: Preparing [2022-07-11T22:02:22.125Z] a7626a0d4f19: Layer already exists [2022-07-11T22:02:22.125Z] 136055887aa6: Layer already exists [2022-07-11T22:02:22.125Z] 54dd9bf46d02: Layer already exists [2022-07-11T22:02:22.125Z] dd565ff850e7: Layer already exists [2022-07-11T22:02:22.125Z] fa2076aae2ed: Layer already exists [2022-07-11T22:02:22.399Z] latest: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:22.775Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:23.141Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [2022-07-11T22:02:23.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T22:02:23.141Z] a7626a0d4f19: Preparing [2022-07-11T22:02:23.141Z] 136055887aa6: Preparing [2022-07-11T22:02:23.141Z] 54dd9bf46d02: Preparing [2022-07-11T22:02:23.141Z] fa2076aae2ed: Preparing [2022-07-11T22:02:23.141Z] dd565ff850e7: Preparing [2022-07-11T22:02:23.141Z] 136055887aa6: Layer already exists [2022-07-11T22:02:23.141Z] a7626a0d4f19: Layer already exists [2022-07-11T22:02:23.141Z] 54dd9bf46d02: Layer already exists [2022-07-11T22:02:23.141Z] dd565ff850e7: Layer already exists [2022-07-11T22:02:23.141Z] fa2076aae2ed: Layer already exists [2022-07-11T22:02:23.414Z] 2.2.1-dev.9: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:23.787Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:24.147Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T22:02:24.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T22:02:24.147Z] a7626a0d4f19: Preparing [2022-07-11T22:02:24.147Z] 136055887aa6: Preparing [2022-07-11T22:02:24.147Z] 54dd9bf46d02: Preparing [2022-07-11T22:02:24.147Z] fa2076aae2ed: Preparing [2022-07-11T22:02:24.147Z] dd565ff850e7: Preparing [2022-07-11T22:02:24.147Z] fa2076aae2ed: Layer already exists [2022-07-11T22:02:24.147Z] a7626a0d4f19: Layer already exists [2022-07-11T22:02:24.147Z] 54dd9bf46d02: Layer already exists [2022-07-11T22:02:24.147Z] 136055887aa6: Layer already exists [2022-07-11T22:02:24.147Z] dd565ff850e7: Layer already exists [2022-07-11T22:02:24.420Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:24.793Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:25.162Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-07-11T22:02:25.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T22:02:25.162Z] a7626a0d4f19: Preparing [2022-07-11T22:02:25.162Z] 136055887aa6: Preparing [2022-07-11T22:02:25.162Z] 54dd9bf46d02: Preparing [2022-07-11T22:02:25.162Z] fa2076aae2ed: Preparing [2022-07-11T22:02:25.162Z] dd565ff850e7: Preparing [2022-07-11T22:02:25.162Z] dd565ff850e7: Layer already exists [2022-07-11T22:02:25.162Z] fa2076aae2ed: Layer already exists [2022-07-11T22:02:25.162Z] a7626a0d4f19: Layer already exists [2022-07-11T22:02:25.162Z] 136055887aa6: Layer already exists [2022-07-11T22:02:25.162Z] 54dd9bf46d02: Layer already exists [2022-07-11T22:02:25.437Z] main: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T22:02:25.491Z] ===================================================== [Pipeline] echo [2022-07-11T22:02:25.498Z] taggedImages: [2022-07-11T22:02:25.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T22:02:25.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-11T22:02:25.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [2022-07-11T22:02:25.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T22:02:25.498Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:25.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T22:02:25.873Z] [2022-07-11T22:02:25.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:02:26.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T22:02:26.507Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T22:02:26.507Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T22:02:26.507Z] 04944245beec: Pulling fs layer [2022-07-11T22:02:26.507Z] 699f458cf7ca: Pulling fs layer [2022-07-11T22:02:26.507Z] 765212b225bb: Pulling fs layer [2022-07-11T22:02:26.507Z] f23df028b6ca: Pulling fs layer [2022-07-11T22:02:26.507Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T22:02:26.507Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T22:02:26.507Z] f23df028b6ca: Waiting [2022-07-11T22:02:26.507Z] d65c8cfc05b1: Waiting [2022-07-11T22:02:26.507Z] 2437ff75d9bd: Waiting [2022-07-11T22:02:26.507Z] 765212b225bb: Waiting [2022-07-11T22:02:26.507Z] 04944245beec: Verifying Checksum [2022-07-11T22:02:26.507Z] 04944245beec: Download complete [2022-07-11T22:02:26.507Z] 765212b225bb: Verifying Checksum [2022-07-11T22:02:26.507Z] 765212b225bb: Download complete [2022-07-11T22:02:26.507Z] f23df028b6ca: Verifying Checksum [2022-07-11T22:02:26.507Z] f23df028b6ca: Download complete [2022-07-11T22:02:26.784Z] d65c8cfc05b1: Download complete [2022-07-11T22:02:26.785Z] 699f458cf7ca: Verifying Checksum [2022-07-11T22:02:26.785Z] 699f458cf7ca: Download complete [2022-07-11T22:02:27.061Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T22:02:27.061Z] 8998bd30e6a1: Download complete [2022-07-11T22:02:29.692Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T22:02:29.692Z] 2437ff75d9bd: Download complete [2022-07-11T22:02:31.673Z] 8998bd30e6a1: Pull complete [2022-07-11T22:02:32.268Z] 04944245beec: Pull complete [2022-07-11T22:02:33.710Z] 699f458cf7ca: Pull complete [2022-07-11T22:02:33.986Z] 765212b225bb: Pull complete [2022-07-11T22:02:34.967Z] f23df028b6ca: Pull complete [2022-07-11T22:02:35.245Z] d65c8cfc05b1: Pull complete [2022-07-11T22:02:50.344Z] 2437ff75d9bd: Pull complete [2022-07-11T22:02:50.344Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T22:02:50.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T22:02:50.344Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:02:50.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-19385 does not seem to be running inside a container [2022-07-11T22:02:50.730Z] $ 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/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T22:02:53.553Z] $ docker top ecaaeedf78e5719829630783dd9c6a84fa088da288d23738608075f3dd73c9ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:02:54.465Z] ---> job-cost.sh [2022-07-11T22:02:54.465Z] lf-activate-venv: SKIPPING [2022-07-11T22:02:54.465Z] INFO: No Stack... [2022-07-11T22:02:54.739Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T22:02:55.715Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T22:02:56.379Z] + cut -d, -f6 [2022-07-11T22:02:56.379Z] + cat /w/workspace/device-rest-go/51/archives/cost.csv [Pipeline] lock [2022-07-11T22:02:56.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [2022-07-11T22:02:56.417Z] Resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] did not exist. Created. [2022-07-11T22:02:56.417Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T22:02:57.098Z] /w/workspace/device-rest-go/51@tmp/durable-88589695/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T22:02:57.787Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T22:02:57.807Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T22:02:57.856Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T22:02:57.862Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T22:02:57.888Z] $ docker stop --time=1 ecaaeedf78e5719829630783dd9c6a84fa088da288d23738608075f3dd73c9ab [2022-07-11T22:02:59.448Z] $ docker rm -f ecaaeedf78e5719829630783dd9c6a84fa088da288d23738608075f3dd73c9ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-11T22:02:59.900Z] provisioning config files... [2022-07-11T22:02:59.908Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2253472099341528729tmp [Pipeline] { [Pipeline] sh [2022-07-11T22:03:00.204Z] + set +x [2022-07-11T22:03:00.204Z] + curl -s https://codecov.io/bash [2022-07-11T22:03:00.204Z] + bash -s -- [2022-07-11T22:03:00.204Z] [2022-07-11T22:03:00.204Z] _____ _ [2022-07-11T22:03:00.204Z] / ____| | | [2022-07-11T22:03:00.204Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T22:03:00.204Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T22:03:00.204Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T22:03:00.204Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T22:03:00.204Z] Bash-1.0.6 [2022-07-11T22:03:00.204Z] [2022-07-11T22:03:00.204Z] [2022-07-11T22:03:00.204Z] ==> git version 2.25.1 found [2022-07-11T22:03:00.204Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-11T22:03:00.204Z] Release-Date: 2020-01-08 [2022-07-11T22:03:00.204Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-11T22:03:00.204Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T22:03:00.204Z] ==> Jenkins CI detected. [2022-07-11T22:03:00.204Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-07-11T22:03:00.204Z] project root: . [2022-07-11T22:03:00.204Z] --> token set from env [2022-07-11T22:03:00.204Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T22:03:00.204Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T22:03:00.204Z] ==> Python coveragepy not found [2022-07-11T22:03:00.204Z] ==> Searching for coverage reports in: [2022-07-11T22:03:00.204Z] + . [2022-07-11T22:03:00.204Z] -> Found 1 reports [2022-07-11T22:03:00.204Z] ==> Detecting git/mercurial file structure [2022-07-11T22:03:00.204Z] ==> Reading reports [2022-07-11T22:03:00.204Z] + ./coverage.out bytes=9355 [2022-07-11T22:03:00.204Z] ==> Appending adjustments [2022-07-11T22:03:00.204Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T22:03:00.464Z] + Found adjustments [2022-07-11T22:03:00.464Z] ==> Gzipping contents [2022-07-11T22:03:00.464Z] 4.0K /tmp/codecov.cme3dR.gz [2022-07-11T22:03:00.464Z] ==> Uploading reports [2022-07-11T22:03:00.464Z] url: https://codecov.io [2022-07-11T22:03:00.464Z] query: branch=main&commit=328f14cd4e0e2f12280e28257e4d0d1118a94cd7&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-11T22:03:00.464Z] -> Pinging Codecov [2022-07-11T22:03:00.464Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=328f14cd4e0e2f12280e28257e4d0d1118a94cd7&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-11T22:03:00.726Z] -> Uploading to [2022-07-11T22:03:00.726Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/4E5D53B4F1F92C436F7061BF334D961C/328f14cd4e0e2f12280e28257e4d0d1118a94cd7/67ac17a0-e264-46b5-b509-1bb7e62d248d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T220300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cb25dbf8f9ac28ddbd3a8545e18d79d263ec136d2f49d5470d0efcae9d0a7be [2022-07-11T22:03:00.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T22:03:00.726Z] Dload Upload Total Spent Left Speed [2022-07-11T22:03:00.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7402 --:--:-- --:--:-- --:--:-- 7402 [2022-07-11T22:03:00.986Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [2022-07-11T22:03:00.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-11T22:03:01.092Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-11T22:03:01.105Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:01.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T22:03:01.416Z] [2022-07-11T22:03:01.416Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:01.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T22:03:01.725Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-11T22:03:01.725Z] df9b9388f04a: Pulling fs layer [2022-07-11T22:03:01.725Z] 52dc419b0ee2: Pulling fs layer [2022-07-11T22:03:01.725Z] 25bc292e5bac: Pulling fs layer [2022-07-11T22:03:01.725Z] 114826534d7a: Pulling fs layer [2022-07-11T22:03:01.725Z] 4657fd5d0bcf: Pulling fs layer [2022-07-11T22:03:01.725Z] 6ad1cebc031e: Pulling fs layer [2022-07-11T22:03:01.725Z] 8a3aa393b2d8: Pulling fs layer [2022-07-11T22:03:01.725Z] 4657fd5d0bcf: Waiting [2022-07-11T22:03:01.725Z] 6ad1cebc031e: Waiting [2022-07-11T22:03:01.725Z] 8a3aa393b2d8: Waiting [2022-07-11T22:03:01.725Z] 114826534d7a: Waiting [2022-07-11T22:03:01.725Z] 25bc292e5bac: Download complete [2022-07-11T22:03:01.725Z] 52dc419b0ee2: Download complete [2022-07-11T22:03:01.725Z] 4657fd5d0bcf: Download complete [2022-07-11T22:03:01.725Z] df9b9388f04a: Download complete [2022-07-11T22:03:01.994Z] df9b9388f04a: Pull complete [2022-07-11T22:03:01.994Z] 6ad1cebc031e: Verifying Checksum [2022-07-11T22:03:01.994Z] 6ad1cebc031e: Download complete [2022-07-11T22:03:01.994Z] 52dc419b0ee2: Pull complete [2022-07-11T22:03:01.994Z] 25bc292e5bac: Pull complete [2022-07-11T22:03:02.574Z] 114826534d7a: Verifying Checksum [2022-07-11T22:03:02.574Z] 114826534d7a: Download complete [2022-07-11T22:03:02.834Z] 8a3aa393b2d8: Verifying Checksum [2022-07-11T22:03:02.834Z] 8a3aa393b2d8: Download complete [2022-07-11T22:03:06.135Z] 114826534d7a: Pull complete [2022-07-11T22:03:06.135Z] 4657fd5d0bcf: Pull complete [2022-07-11T22:03:06.395Z] 6ad1cebc031e: Pull complete [2022-07-11T22:03:09.690Z] 8a3aa393b2d8: Pull complete [2022-07-11T22:03:09.690Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-11T22:03:09.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T22:03:09.690Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:03:09.786Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T22:03:09.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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/edgex-snyk-go:1.410.4 cat [2022-07-11T22:03:11.964Z] $ docker top 3090817cc4d29b352a0cc1f49a74fd04dd6a8d7ce59fdeee7c16df847ec0a43e -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-11T22:03:12.021Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-07-11T22:03:12.372Z] + set -o pipefail [2022-07-11T22:03:12.372Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-07-11T22:03:17.666Z] [2022-07-11T22:03:17.666Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-07-11T22:03:17.666Z] [2022-07-11T22:03:17.666Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f539e7a2-6d9e-4462-8e16-a9355f7e724f [2022-07-11T22:03:17.666Z] [2022-07-11T22:03:17.667Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-11T22:03:17.667Z] [2022-07-11T22:03:17.667Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-11T22:03:17.667Z] [2022-07-11T22:03:17.667Z] [2022-07-11T22:03:17.667Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-11T22:03:17.667Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-11T22:03:17.692Z] $ docker stop --time=1 3090817cc4d29b352a0cc1f49a74fd04dd6a8d7ce59fdeee7c16df847ec0a43e [2022-07-11T22:03:19.998Z] $ docker rm -f 3090817cc4d29b352a0cc1f49a74fd04dd6a8d7ce59fdeee7c16df847ec0a43e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T22:03:20.671Z] + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] sh [2022-07-11T22:03:20.968Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T22:03:20.968Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:21.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T22:03:21.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:03:21.350Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T22:03:21.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T22:03:21.877Z] $ docker top 17c84646701314e40d4168c4963637ecf07f1ed3325dacbf81e32520de503dc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T22:03:21.951Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T22:03:22.245Z] + git semver [Pipeline] } [2022-07-11T22:03:22.532Z] $ docker stop --time=1 17c84646701314e40d4168c4963637ecf07f1ed3325dacbf81e32520de503dc8 [2022-07-11T22:03:23.875Z] $ docker rm -f 17c84646701314e40d4168c4963637ecf07f1ed3325dacbf81e32520de503dc8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:24.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T22:03:24.247Z] [2022-07-11T22:03:24.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:24.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T22:03:24.551Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-11T22:03:24.551Z] ab5ef0e58194: Pulling fs layer [2022-07-11T22:03:24.551Z] 9712f1f96733: Pulling fs layer [2022-07-11T22:03:24.551Z] 63f879dbbcfc: Pulling fs layer [2022-07-11T22:03:24.551Z] 0d9ebad4ef96: Pulling fs layer [2022-07-11T22:03:24.551Z] e9a5061849ea: Pulling fs layer [2022-07-11T22:03:24.551Z] d747dcd14b5f: Pulling fs layer [2022-07-11T22:03:24.551Z] 2de7ff778b66: Pulling fs layer [2022-07-11T22:03:24.551Z] e9a5061849ea: Waiting [2022-07-11T22:03:24.551Z] d747dcd14b5f: Waiting [2022-07-11T22:03:24.551Z] 2de7ff778b66: Waiting [2022-07-11T22:03:24.551Z] 0d9ebad4ef96: Waiting [2022-07-11T22:03:24.551Z] 9712f1f96733: Download complete [2022-07-11T22:03:25.139Z] 63f879dbbcfc: Verifying Checksum [2022-07-11T22:03:25.139Z] 63f879dbbcfc: Download complete [2022-07-11T22:03:25.139Z] 0d9ebad4ef96: Verifying Checksum [2022-07-11T22:03:25.139Z] 0d9ebad4ef96: Download complete [2022-07-11T22:03:25.139Z] e9a5061849ea: Verifying Checksum [2022-07-11T22:03:25.139Z] e9a5061849ea: Download complete [2022-07-11T22:03:25.139Z] d747dcd14b5f: Verifying Checksum [2022-07-11T22:03:25.139Z] d747dcd14b5f: Download complete [2022-07-11T22:03:25.139Z] ab5ef0e58194: Verifying Checksum [2022-07-11T22:03:25.139Z] ab5ef0e58194: Download complete [2022-07-11T22:03:25.399Z] 2de7ff778b66: Verifying Checksum [2022-07-11T22:03:25.399Z] 2de7ff778b66: Download complete [2022-07-11T22:03:27.937Z] ab5ef0e58194: Pull complete [2022-07-11T22:03:27.937Z] 9712f1f96733: Pull complete [2022-07-11T22:03:28.874Z] 63f879dbbcfc: Pull complete [2022-07-11T22:03:33.065Z] 0d9ebad4ef96: Pull complete [2022-07-11T22:03:33.065Z] e9a5061849ea: Pull complete [2022-07-11T22:03:33.065Z] d747dcd14b5f: Pull complete [2022-07-11T22:03:34.445Z] 2de7ff778b66: Pull complete [2022-07-11T22:03:34.445Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-11T22:03:34.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T22:03:34.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:03:34.536Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T22:03:34.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-11T22:03:36.755Z] $ docker top 4efca6d616c3a2301453ef894c5002d4c516978ec5ae45f50f0107536d3c10d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-11T22:03:36.818Z] provisioning config files... [2022-07-11T22:03:36.826Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8931364649268214080tmp [2022-07-11T22:03:36.836Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config562126027692285005tmp [2022-07-11T22:03:36.845Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3837418025105659189tmp [Pipeline] { [Pipeline] echo [2022-07-11T22:03:36.861Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:37.144Z] ---> sigul-configuration.sh [2022-07-11T22:03:37.144Z] gpg: directory `/root/.gnupg' created [2022-07-11T22:03:37.144Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-11T22:03:37.144Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-11T22:03:37.144Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-11T22:03:37.144Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-11T22:03:37.144Z] gpg: CAST5 encrypted data [2022-07-11T22:03:37.144Z] gpg: encrypted with 1 passphrase [2022-07-11T22:03:37.144Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-11T22:03:37.429Z] + mkdir /home/jenkins [2022-07-11T22:03:37.429Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-11T22:03:37.718Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-07-11T22:03:37.727Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:38.014Z] ---> sigul-install.sh [2022-07-11T22:03:38.014Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-11T22:03:38.302Z] + git tag --list [2022-07-11T22:03:38.303Z] v1.0.0 [2022-07-11T22:03:38.303Z] v1.1.0 [2022-07-11T22:03:38.303Z] v1.1.1 [2022-07-11T22:03:38.303Z] v1.1.2 [2022-07-11T22:03:38.303Z] v1.2.0 [2022-07-11T22:03:38.303Z] v1.2.1 [2022-07-11T22:03:38.303Z] v2.0.0 [2022-07-11T22:03:38.303Z] v2.1.0 [2022-07-11T22:03:38.303Z] v2.1.1 [2022-07-11T22:03:38.303Z] v2.1.1-dev.1 [2022-07-11T22:03:38.303Z] v2.1.1-dev.2 [2022-07-11T22:03:38.303Z] v2.1.1-dev.3 [2022-07-11T22:03:38.303Z] v2.2.0 [2022-07-11T22:03:38.303Z] v2.2.1-dev.1 [2022-07-11T22:03:38.303Z] v2.2.1-dev.2 [2022-07-11T22:03:38.303Z] v2.2.1-dev.3 [2022-07-11T22:03:38.303Z] v2.2.1-dev.4 [2022-07-11T22:03:38.303Z] v2.2.1-dev.5 [2022-07-11T22:03:38.303Z] v2.2.1-dev.6 [2022-07-11T22:03:38.303Z] v2.2.1-dev.7 [2022-07-11T22:03:38.303Z] v2.2.1-dev.8 [Pipeline] sh [2022-07-11T22:03:38.590Z] + lftools sign git-tag v2.2.1-dev.9 [2022-07-11T22:03:39.159Z] Signing Git tag with Sigul... [2022-07-11T22:03:39.159Z] Signing v2.2.1-dev.9 [2022-07-11T22:03:39.159Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.2.1-dev.9'], return code 1, stdout , stderr [Pipeline] echo [2022-07-11T22:03:39.168Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:39.452Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-11T22:03:39.459Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-11T22:03:39.496Z] $ docker stop --time=1 4efca6d616c3a2301453ef894c5002d4c516978ec5ae45f50f0107536d3c10d7 [2022-07-11T22:03:40.800Z] $ docker rm -f 4efca6d616c3a2301453ef894c5002d4c516978ec5ae45f50f0107536d3c10d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-11T22:03:41.203Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T22:03:41.203Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:41.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T22:03:41.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:03:41.588Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T22:03:41.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T22:03:42.074Z] $ docker top 9e0d3d9ddc49c38ec7b97f97f3c019a9dae1f9477a3159605d33206ce8655560 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T22:03:42.143Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T22:03:42.434Z] + git semver [Pipeline] } [2022-07-11T22:03:42.721Z] $ docker stop --time=1 9e0d3d9ddc49c38ec7b97f97f3c019a9dae1f9477a3159605d33206ce8655560 [2022-07-11T22:03:44.025Z] $ docker rm -f 9e0d3d9ddc49c38ec7b97f97f3c019a9dae1f9477a3159605d33206ce8655560 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T22:03:44.375Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T22:03:44.375Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:44.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T22:03:44.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:03:44.757Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T22:03:44.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T22:03:45.246Z] $ docker top 83e22ebfd438ab3d46580053adae02258a305c9fa9aa7d73023726b77271767a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T22:03:45.315Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T22:03:45.604Z] + git semver [Pipeline] } [2022-07-11T22:03:45.903Z] $ docker stop --time=1 83e22ebfd438ab3d46580053adae02258a305c9fa9aa7d73023726b77271767a [2022-07-11T22:03:47.181Z] $ docker rm -f 83e22ebfd438ab3d46580053adae02258a305c9fa9aa7d73023726b77271767a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-11T22:03:47.698Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-07-11T22:03:47.698Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-11T22:03:47.698Z] total 16 [2022-07-11T22:03:47.698Z] drwxr-xr-x 3 root root 4096 Jul 11 21:52 . [2022-07-11T22:03:47.698Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:03 .. [2022-07-11T22:03:47.698Z] drwxr-xr-x 2 root root 4096 Jul 11 21:52 cost [2022-07-11T22:03:47.698Z] -rw-r--r-- 1 root root 84 Jul 11 21:52 cost.csv [2022-07-11T22:03:47.698Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-11T22:03:47.698Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-11T22:03:47.698Z] total 16 [2022-07-11T22:03:47.698Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 21:52 . [2022-07-11T22:03:47.698Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:03 .. [2022-07-11T22:03:47.698Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 21:52 cost [2022-07-11T22:03:47.698Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 11 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:47.989Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:48.852Z] ---> package-listing.sh [2022-07-11T22:03:48.852Z] ++ facter osfamily [2022-07-11T22:03:48.852Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T22:03:49.112Z] + OS_FAMILY=debian [2022-07-11T22:03:49.112Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-07-11T22:03:49.112Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T22:03:49.112Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T22:03:49.112Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T22:03:49.112Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T22:03:49.112Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-11T22:03:49.112Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T22:03:49.112Z] + case "${OS_FAMILY}" in [2022-07-11T22:03:49.112Z] + dpkg -l [2022-07-11T22:03:49.112Z] + grep '^ii' [2022-07-11T22:03:49.112Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T22:03:49.112Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T22:03:49.112Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T22:03:49.112Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-11T22:03:49.112Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-07-11T22:03:49.112Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-07-11T22:03:49.124Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T22:03:49.400Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:03:49.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T22:03:49.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:03:50.050Z] prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container [2022-07-11T22:03:50.099Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T22:03:50.373Z] $ docker top 54ec7c5a390419d72de989cb99030e75b6ab55548c3e0200cdb5f7deddd94db4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T22:03:50.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T22:03:51.019Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T22:03:51.305Z] + ls /var/log/sa-host [2022-07-11T22:03:51.305Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T22:03:51.371Z] provisioning config files... [2022-07-11T22:03:51.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4803445107557171561tmp [Pipeline] { [Pipeline] echo [2022-07-11T22:03:51.394Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:51.676Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T22:03:51.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:52.008Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T22:03:52.017Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:52.303Z] ---> sudo-logs.sh [2022-07-11T22:03:52.303Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T22:03:52.321Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:52.604Z] ---> job-cost.sh [2022-07-11T22:03:52.604Z] lf-activate-venv: SKIPPING [2022-07-11T22:03:52.604Z] DEBUG: total: 0.2199999988079071 [2022-07-11T22:03:52.604Z] INFO: Retrieving Stack Cost... [2022-07-11T22:03:52.863Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T22:03:53.436Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T22:03:53.448Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:03:53.732Z] ---> logs-deploy.sh [2022-07-11T22:03:53.732Z] lf-activate-venv: SKIPPING [2022-07-11T22:03:53.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/51 [2022-07-11T22:03:53.732Z] INFO: archiving workspace using pattern(s): [2022-07-11T22:03:54.669Z] Archives upload complete. [2022-07-11T22:03:54.669Z] INFO: archiving logs to Nexus